CN110996166B - Audio control method and device - Google Patents

Audio control method and device Download PDF

Info

Publication number
CN110996166B
CN110996166B CN201911308618.3A CN201911308618A CN110996166B CN 110996166 B CN110996166 B CN 110996166B CN 201911308618 A CN201911308618 A CN 201911308618A CN 110996166 B CN110996166 B CN 110996166B
Authority
CN
China
Prior art keywords
module
time interval
timing
playing
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911308618.3A
Other languages
Chinese (zh)
Other versions
CN110996166A (en
Inventor
曾健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
De Acoustics Technology Co ltd
Original Assignee
De Acoustics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by De Acoustics Technology Co ltd filed Critical De Acoustics Technology Co ltd
Priority to CN201911308618.3A priority Critical patent/CN110996166B/en
Publication of CN110996166A publication Critical patent/CN110996166A/en
Application granted granted Critical
Publication of CN110996166B publication Critical patent/CN110996166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • H04N5/602Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals for digital sound signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Receiver Circuits (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention belongs to the technical field of audio control, and provides an audio control method and an audio control device, wherein the method comprises the following steps: setting two time intervals and three volume levels; detecting whether a signal is input; when a new signal is detected to be input, recording the current signal input time point and starting timing at the current time point until the next signal is input; comparing the timing time with a first time interval and a second time interval respectively to determine the playing volume level; playing according to different volume levels; the device comprises: the device comprises a detection module, a processing module, a timing module control module and a playing module, wherein the detection module is connected with the processing module, the processing module is respectively connected with the control module and the timing module, and the control module is connected with the playing module. The audio control method and the audio control device have the function of automatically adjusting the playing volume of the audio equipment, and avoid influencing the normal work and rest of other personnel.

Description

Audio control method and device
Technical Field
The invention relates to the technical field of audio control, in particular to an audio control method and device.
Background
With the development of information and network technologies, audio devices are more and more widely used, for example, broadcasting, sound and microphones are applied to teaching, entertainment and daily life by using their sound amplification effects, so as to achieve better audio transmission effects.
However, the existing audio equipment cannot automatically adjust the playing volume of the audio according to the current use condition of the equipment, and when a user leaves or does not use the audio equipment for a long time, the audio equipment still plays with the original volume, which affects the normal work and rest of other nearby people.
Disclosure of Invention
Aiming at the defects in the prior art, the audio control method and the audio control device provided by the invention have the function of automatically adjusting the playing volume of the audio equipment, and avoid influencing the normal work and rest of other personnel.
In order to solve the technical problems, the invention provides the following technical scheme:
an audio control method comprising the steps of:
s01: two time intervals are set: a first time interval and a second time interval, the first time interval being less than the second time interval; three volume levels are set: a first volume level, a second volume level, and a third volume level, the first volume level being higher than the second volume level, the second volume level being higher than the third volume level.
S02: detecting whether a signal is input;
s03: when a new signal is detected to be input, recording the current signal input time point and starting timing at the current time point until the next signal is input;
s04: comparing the timing time with the first time interval and the second time interval respectively to determine the playing volume level: judging the time interval is smaller than the first time interval, and judging the volume level as a first volume level; judging the timing time to be greater than the first time interval and less than the second time interval, and judging the timing time to be a second volume level; judging that the timing time is greater than the second time interval and judging that the timing time is the third volume level;
s05: playing according to different volume levels.
Further, the signal in the step S02 includes an audio signal and a video signal.
An audio control device comprises a detection module, a processing module, a timing module control module and a playing module, wherein the detection module is connected with the processing module, the processing module is respectively connected with the control module and the timing module, the control module is connected with the playing module,
the detection module is used for detecting whether a signal is input or not and sending the input signal to the processing module;
the timing module is used for recording the current signal input time point and starting timing until the next signal is input, and feeding back the timing time to the processing module;
the processing module is used for setting a first time interval, a second time interval, a first volume level, a second volume level and a third volume level, receiving an input signal, sending an input time point of the input signal to the timing module, judging the playing volume of the playing module according to comparison between the timing time of the timing module and the first time interval and the second time interval, and sending the playing volume to the control module;
the control module is used for receiving the judgment result of the processing module and sending a corresponding control instruction to the playing module according to the judgment result;
the playing module is used for playing according to the control instruction of the control module.
Further, the detection module comprises an audio detection module and a video detection module, and the audio detection module is used for detecting an audio signal; the video detection module is used for detecting a video signal.
Further, the first time interval and the second time interval are respectively two different thresholds of a time interval between the arrival of the current input signal and the arrival of the next input signal; the first volume level corresponds to the maximum volume of the playing module, the third volume level corresponds to the minimum volume of the playing module, and the playing volume corresponding to the second volume level is between the maximum volume and the minimum volume of the playing module.
Furthermore, the audio detection module is a microphone, and the video detection module is a camera.
According to the technical scheme, the invention has the beneficial effects that: whether a signal is input or not is detected, when a new signal is input, the input time point of the new signal is recorded and timing is started, the signal is stopped until the next signal is input, the timing time is recorded as the current timing time, the current timing time is compared with a preset first time interval and a preset second time interval, the playing volume level of the audio equipment is determined, the playing volume of the audio equipment is automatically adjusted according to the use frequency of a user, and the influence on normal work and rest of other personnel is avoided.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flow chart of the present invention;
fig. 2 is a schematic structural diagram of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Referring to fig. 1, the audio control method and apparatus provided in this embodiment include the following steps:
an audio control method comprising the steps of:
s01: two time intervals are set: a first time interval and a second time interval, the first time interval being less than the second time interval; three volume levels are set: a first volume level, a second volume level, and a third volume level, the first volume level being higher than the second volume level, the second volume level being higher than the third volume level.
S02: detecting whether a signal is input;
s03: when a new signal is detected to be input, recording the current signal input time point and starting timing at the current time point until the next signal is input;
s04: comparing the timing time with a first time interval and a second time interval respectively to determine the playing volume level: judging the time interval is smaller than the first time interval, and judging the volume level as a first volume level; judging the timing time to be greater than the first time interval and less than the second time interval, and judging the timing time to be a second volume level; judging that the timing time is greater than the second time interval and judging that the timing time is the third volume level;
s05: playing according to different volume levels.
In actual use, whether a signal is input or not is detected, when a new signal is input, the input time point of the new signal is recorded and timing is started, the signal is stopped when the next signal is input and is recorded as the timing time, the timing time is compared with a preset first time interval and a preset second time interval, the playing volume level of the audio equipment is determined, the playing volume of the audio equipment is automatically adjusted according to the use frequency of a user, and the influence on normal work and rest of other people is avoided.
In this embodiment, the signal in step S02 includes an audio signal and a video signal, and the detection module detects the audio signal and the video signal of the user at the same time, so that the detection result is more accurate.
Referring to fig. 2, an audio control device comprises a detection module, a processing module, a timing module, a control module and a playing module, wherein the detection module is connected with the processing module, the processing module is respectively connected with the control module and the timing module, the control module is connected with the playing module,
the detection module is used for detecting whether a signal is input or not and sending the input signal to the processing module;
the timing module is used for recording the current signal input time point and starting timing until the next signal is input, and feeding back the timing time to the processing module;
the processing module is used for setting a first time interval, a second time interval, a first volume level, a second volume level and a third volume level, receiving an input signal, sending an input time point of the input signal to the timing module, judging the playing volume of the playing module according to comparison between the timing time of the timing module and the first time interval and the second time interval, and sending the playing volume to the control module;
the control module is used for receiving the judgment result of the processing module and sending a corresponding control instruction to the playing module according to the judgment result;
the playing module is used for playing according to the control instruction of the control module.
In actual use, the detection module detects whether an input signal exists, when a new signal is input, the timing module records the input time point of the new signal and starts timing, the timing is stopped until the next signal is input, the timing time is recorded as the timing time, the processing module compares the timing time with a preset first time interval and a preset second time interval to determine the playing volume level of the audio equipment, and the control module controls the playing module to play according to the first volume level, the second volume level or the third volume level to realize the adjustment of the playing volume of the audio equipment.
In this embodiment, the detection module includes an audio detection module and a video detection module, and the audio detection module is configured to detect an audio signal of a user; the video detection module is used for detecting a video signal of a user, so that whether the user is nearby or using the audio equipment is convenient to detect.
In this embodiment, the first time interval and the second time interval are two different thresholds of a time interval between arrival of the current input signal and arrival of the next input signal respectively; the first volume level corresponds to the maximum volume of the playing module, the third volume level corresponds to the minimum volume of the playing module, and the playing volume corresponding to the second volume level is between the maximum volume and the minimum volume of the playing module.
In practical use, the first time interval may be set to be a shorter time interval as required, and the second time interval may be set to be a longer time interval as required, for example, the first time interval is set to be 10 minutes, the second time interval is set to be 30 minutes, when the current timing time of the signal input is less than 10 minutes, the audio device plays at the maximum volume, and when the current timing time of the signal input is greater than 10 minutes and less than 30 minutes, the playing volume of the audio device is between the maximum volume and the minimum volume, and the current timing time of the signal input is greater than 30 minutes and plays at the lowest volume.
In this embodiment, the audio detection module is a microphone, and is convenient for collect audio signals, the video detection module is a camera, and is convenient for collect video signals.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (5)

1. An audio control method, comprising the steps of:
s01: two time intervals are set: a first time interval and a second time interval, the first time interval being less than the second time interval; three volume levels are set: a first volume level, a second volume level, and a third volume level, the first volume level being higher than the second volume level, the second volume level being higher than the third volume level;
s02: detecting whether a signal is input;
s03: when a new signal is detected to be input, recording the current signal input time point and starting timing at the current time point until the next signal is input;
s04: comparing the timing time with the first time interval and the second time interval respectively to determine the playing volume level: judging the time interval is smaller than the first time interval, and judging the volume level as a first volume level; judging the timing time to be greater than the first time interval and less than the second time interval, and judging the timing time to be a second volume level; judging that the timing time is greater than the second time interval and judging that the timing time is the third volume level;
s05: playing according to different volume levels.
2. The audio control method according to claim 1, wherein the signal in step S02 includes an audio signal and a video signal.
3. An audio control device is characterized by comprising a detection module, a processing module, a timing module control module and a playing module, wherein the detection module is connected with the processing module, the processing module is respectively connected with the control module and the timing module, the control module is connected with the playing module,
the detection module is used for detecting whether a signal is input or not and sending the input signal to the processing module;
the timing module is used for recording the current signal input time point and starting timing, stopping timing until the next signal is input, and feeding back the timing time to the processing module;
the processing module is used for setting a first time interval, a second time interval, a first volume level, a second volume level and a third volume level, receiving an input signal, sending an input time point of the input signal to the timing module, judging the playing volume of the playing module according to comparison between the timing time of the timing module and the first time interval and the second time interval, and sending the playing volume to the control module; the processing module determining a playback level of the volume using the method of claim 1 in step S04;
the control module is used for receiving the judgment result of the processing module and sending a corresponding control instruction to the playing module according to the judgment result;
the playing module is used for playing according to the control instruction of the control module;
the first time interval and the second time interval are respectively two different thresholds of the time interval between the arrival of the current input signal and the arrival of the next input signal; the first volume level corresponds to the maximum volume of the playing module, the third volume level corresponds to the minimum volume of the playing module, and the playing volume corresponding to the second volume level is between the maximum volume and the minimum volume of the playing module.
4. The audio control device according to claim 3, wherein the detection module comprises an audio detection module and a video detection module, the audio detection module is configured to detect an audio signal; the video detection module is used for detecting a video signal.
5. The audio control apparatus according to claim 4, wherein the audio detection module is a microphone, and the video detection module is a camera.
CN201911308618.3A 2019-12-18 2019-12-18 Audio control method and device Active CN110996166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911308618.3A CN110996166B (en) 2019-12-18 2019-12-18 Audio control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911308618.3A CN110996166B (en) 2019-12-18 2019-12-18 Audio control method and device

Publications (2)

Publication Number Publication Date
CN110996166A CN110996166A (en) 2020-04-10
CN110996166B true CN110996166B (en) 2022-05-17

Family

ID=70095441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911308618.3A Active CN110996166B (en) 2019-12-18 2019-12-18 Audio control method and device

Country Status (1)

Country Link
CN (1) CN110996166B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment
CN102800341A (en) * 2012-07-02 2012-11-28 宇龙计算机通信科技(深圳)有限公司 Terminal and multimedia playing method thereof
CN105959794A (en) * 2016-05-05 2016-09-21 Tcl海外电子(惠州)有限公司 Video terminal volume adjusting method and device
CN106686257A (en) * 2017-03-10 2017-05-17 广东欧珀移动通信有限公司 Control method and device of mobile terminal and mobile terminal
CN109218535A (en) * 2018-10-24 2019-01-15 Oppo广东移动通信有限公司 Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN110491419A (en) * 2019-08-26 2019-11-22 广东小天才科技有限公司 A kind of control method for playing back, system and terminal device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3236819B2 (en) * 1998-06-18 2001-12-10 富士通テン株式会社 Volume control device for audio equipment
JP4779960B2 (en) * 2006-12-20 2011-09-28 ヤマハ株式会社 Volume control device and program
CN101051822A (en) * 2007-03-23 2007-10-10 炬力集成电路设计有限公司 Method for automatic control and regulating broadcast volume
US20100074450A1 (en) * 2008-09-23 2010-03-25 Shiun-Chih Liao System for adjusting playing volume automatically and method for the same
US9214913B2 (en) * 2012-11-16 2015-12-15 Gn Netcom A/S Communication device with motion dependent auto volume control
CN105824609A (en) * 2015-07-29 2016-08-03 维沃移动通信有限公司 Setting method for play parameters and electronic equipment
JP6597045B2 (en) * 2015-08-19 2019-10-30 ヤマハ株式会社 AUDIO SYSTEM, AUDIO DEVICE, CONTROL TERMINAL DEVICE, PROGRAM, AND PARAMETER CONTROL DEVICE
TWM533386U (en) * 2016-08-16 2016-12-01 Unlimiter Mfa Co Ltd Electronic device capable of automatically adjusting volume
CN107766028A (en) * 2016-08-19 2018-03-06 深圳市三诺数字科技有限公司 A kind of method for controlling volume and device
CN106774939B (en) * 2017-01-17 2019-11-12 深圳市景创科技电子有限公司 A kind of earpiece volume adjusting method and earphone
CN107885479A (en) * 2017-10-10 2018-04-06 深圳市金立通信设备有限公司 A kind of method for regulation of sound volume, terminal device and computer-readable medium
CN109240637B (en) * 2018-08-21 2022-02-01 中国联合网络通信集团有限公司 Volume adjustment processing method, device, equipment and storage medium
CN109445743A (en) * 2018-11-09 2019-03-08 苏州诚满信息技术有限公司 A kind of sound volume regulating system based on user's attention rate

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment
CN102800341A (en) * 2012-07-02 2012-11-28 宇龙计算机通信科技(深圳)有限公司 Terminal and multimedia playing method thereof
CN105959794A (en) * 2016-05-05 2016-09-21 Tcl海外电子(惠州)有限公司 Video terminal volume adjusting method and device
CN106686257A (en) * 2017-03-10 2017-05-17 广东欧珀移动通信有限公司 Control method and device of mobile terminal and mobile terminal
CN109218535A (en) * 2018-10-24 2019-01-15 Oppo广东移动通信有限公司 Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN110491419A (en) * 2019-08-26 2019-11-22 广东小天才科技有限公司 A kind of control method for playing back, system and terminal device

Also Published As

Publication number Publication date
CN110996166A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US11704397B2 (en) Detection of replay attack
CN113709614B (en) Volume adjustment method and device and computer readable storage medium
KR101455710B1 (en) Method and apparatus for audio intelligibility enhancement and computing apparatus
BE1007355A3 (en) Voice signal circuit discrimination and an audio device with such circuit.
US8611548B2 (en) Noise analysis and extraction systems and methods
US20080043996A1 (en) Systems And Arrangements For Controlling Audio Levels Based On User Selectable Parameters
US9794451B2 (en) Cloud server, control equipment and method for audio and video synchronization
KR0120112B1 (en) Automatic equalizer
US8786659B2 (en) Device, method and computer program product for responding to media conference deficiencies
CN106303816B (en) Information control method and electronic equipment
US20110002481A1 (en) Audio signal amplitude adjusting device and method
CN108134973B (en) Output volume control method and sound box
CN110996166B (en) Audio control method and device
CN109495635A (en) Volume adjusting method and device
CN108260065B (en) Television loudspeaker playing function online detection method and device
MXPA02001647A (en) Method and apparatus for providing adaptive horizontal sync detection.
CN111726730A (en) Sound playing device and method for adjusting output sound
US6775462B1 (en) Tone-controlled video muting
CN114866944A (en) Multi-channel audio output abnormity positioning test method and system
CN110012408B (en) Howling detection method and device
JP2018148539A (en) Information processing apparatus, control method of the same, and control program
TW202232470A (en) Audio signal processing method, device and electronic apparatus
CN114520948A (en) Howling detection method, howling detection device, terminal and storage medium
JP2822713B2 (en) Sound pickup device
US20190012135A1 (en) Automatic playback time adjustment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant