CN106131751B - Audio-frequency processing method and audio output device - Google Patents

Audio-frequency processing method and audio output device Download PDF

Info

Publication number
CN106131751B
CN106131751B CN201610793371.9A CN201610793371A CN106131751B CN 106131751 B CN106131751 B CN 106131751B CN 201610793371 A CN201610793371 A CN 201610793371A CN 106131751 B CN106131751 B CN 106131751B
Authority
CN
China
Prior art keywords
audio
audio data
frequency
domain
module
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
CN201610793371.9A
Other languages
Chinese (zh)
Other versions
CN106131751A (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.)
XIAMEN NEWSOUND TECHNOLOGY Co.,Ltd.
Yu Shihu
Original Assignee
Shenzhen Mai Jitong 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 Shenzhen Mai Jitong Technology Co Ltd filed Critical Shenzhen Mai Jitong Technology Co Ltd
Priority to CN201610793371.9A priority Critical patent/CN106131751B/en
Publication of CN106131751A publication Critical patent/CN106131751A/en
Application granted granted Critical
Publication of CN106131751B publication Critical patent/CN106131751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention provides a kind of audio-frequency processing methods, are applied in audio output device, the method comprising the steps of: obtaining the first audio data in an audio offer device;Obtain the second audio data of the audio output device ambient enviroment;According to the second audio data, the volume output of first audio data is adjusted;And export first audio data or the first audio data adjusted.The embodiment of the present invention can be exported according to the volume that ambient enviroment adjusts the first audio data in real time.

Description

Audio-frequency processing method and audio output device
Technical field
The present embodiments relate to a kind of Audiotechnica more particularly to a kind of audio signal processing technique and a kind of audio output Device.
Background technique
With the development of smart machine and audio-visual equipment and perfect, the handheld device with audio playing function is increasingly It is more, Source Music, MP3, PDA, mobile phone, tablet computer, hearing aid and assisting hearing equipment etc..User fills usually using audio output It sets to listen to the audio-frequency information in these handheld devices, such as listens to music or broadcast program.
So, user may often be perplexed by external environment when listening to music or broadcast program.For example, it may be possible to because Music or broadcasted content can be heard for the noisy of external environment, or to solve this problem and the volume of handheld device is defeated It is transferred to out very greatly, and leads to generate ear prolonged damage (if the ear of user is exposed to more than loudness not for a long time In the environment of suitable grade (Loudness Discomfort Level, LDL), the hearing of the user can be damaged).
Therefore, it is necessary to a kind of technology be provided, to solve the problems, such as that volume exports in various varying environments.
Summary of the invention
In view of the foregoing, it is necessary to a kind of audio-frequency processing method be provided, sound can be adjusted according to ambient enviroment in real time The volume of frequency evidence exports, to guarantee that user can effectively listen to music or broadcast program, while using field in different Suitable volume output is adjusted in scape and environment to protect hearing.
In view of the foregoing, it there is a need to provide a kind of audio output device, can be adjusted in real time according to ambient enviroment The volume of audio data exports.
The embodiment of the invention provides a kind of audio-frequency processing methods, are applied in audio output device, and this method includes step It is rapid: the first audio data in an audio offer device is provided;Obtain the second sound of the audio output device ambient enviroment Frequency evidence;According to the second audio data, the volume output of first audio data is adjusted;And output first audio Data or the first audio data adjusted.
The embodiment of the invention also provides a kind of audio output device, including first obtains module, second obtains module, the One processing module and the first output module.Wherein, the first acquisition module is used to obtain the first sound in an audio offer device Frequency evidence;Second acquisition module is used to obtain the second audio data of the audio output device ambient enviroment;First processing mould Block is used to adjust the volume output of first audio data according to the second audio data;First output module is for defeated First audio data or the first audio data adjusted out.
Audio-frequency processing method described in the embodiment of the present invention and audio output device compared with the existing technology can in real time The second audio data of ambient enviroment is obtained, and adjusts region audio data according to the audio frequency parameter of the second audio data Volume output, to guarantee that the volume for being input to human ear is within the scope of human ear comfort level.It allows users to all kinds of In environment, volume or broadcast program can be effectively listened to, and avoids generating injury to ear too loudly.
Detailed description of the invention
Fig. 1 is the running environment schematic diagram of the audio output device of the embodiment of the present invention.
Fig. 2 is the functional block diagram of the audio output device of the embodiment of the present invention.
Fig. 3 is the sub-function module schematic diagram of the Second processing module of Fig. 2 in one embodiment.
The audio signal that the frequency-region signal processing module that Fig. 4 is Fig. 3 carries out AGC in one embodiment flows to schematic diagram.
Fig. 5 is the flow diagram of the audio-frequency processing method of the embodiment of the present invention.
Fig. 6 is the flow diagram of the audio-frequency processing method of another embodiment of the present invention.
Fig. 7 is the flow diagram of the audio-frequency processing method of another embodiment of the present invention.
Main element symbol description
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The embodiment of the present invention is intended to provide a kind of audio output device 2, which can be with external rings instantly Border is reference, to handle audio data, and exports the audio signal to match with external environment instantly into loudspeaker 40, or Directly control the output power of loudspeaker 40.For example, the audio output device 2 can turn down volume output in quiet environment; In a noisy environment, then volume output can correspondingly be turned up.
Fig. 1 is the running environment schematic diagram of the audio output device 2 of the embodiment of the present invention.In embodiments of the present invention, sound Frequency output device 2 is connected to audio and provides device 4.
The audio output device 2 can be wired earphone, wireless headset or the virtual implementing helmet with ear-phone function (Virtual Reality, VR) or other headset equipments, such as instantly popular bluetooth hearing aid.The audio provides device 4 can be audio reproducing apparatus, wireless signal playing device, view machine, mobile phone, tablet computer, kneetop computer etc..
The audio output device 2 can obtain audio data from internal source of sound, be also possible to obtain audio from exterior volume Data.In Fig. 1, audio output device 2 is a wired earphone, mainly provides in device 4 from external audio and obtains sound Frequency evidence.The audio output device 2 includes at least one first Audio Input Modules (not shown) and at least one second audio Input module (not shown).First Audio Input Modules can be wired or wireless audio signal transmission connector, such as from Audio provides in device 4 and obtains the first audio data.Second Audio Input Modules can be voice collection device, such as microphone or Microphone array, for obtaining second audio data from ambient enviroment.
Referring to Fig. 2, being the functional block diagram of the audio output device 2 of the embodiment of the present invention.Audio output dress Setting 2 includes audio system 10, memory 20, processor 30 and loudspeaker 40.Audio system 10 runs on audio output device 2 In.
The audio system 10 includes first obtaining module 102, second and obtaining module 104, first processing module 106, the One output module 108, Second processing module 110, synthesis module 112, the second output module 114, passback module 116, volume are defeated Detection module 118 and protective module 120 out, wherein Second processing module 110 includes analog/digital conversion module 110A, impact letter Number detection module 110B, time domain to frequency domain conversion module 110C, frequency-region signal processing module 110D, gain weighting block 110E, Frequency domain is to time domain conversion module 110F and D A switch module 110G.The module 102-120 has been configured to one or more Processor (the present embodiment is processor 30) executes, to complete the embodiment of the present invention.The so-called module of the embodiment of the present invention has been At the computer program code segments of a specific function.Memory 20 is for storing the data such as the program code of audio system 10.
First obtains the first audio data in one audio offer device 4 of the acquisition of module 102.In the present embodiment, One acquisition module 102, which is provided in device 4 by the first Audio Input Modules from audio, obtains the first audio data.First audio Data can be the contents such as music, broadcast program, call.
Second obtains the second audio data that module 104 obtains 2 ambient enviroment of audio output device.In the present embodiment, Second, which obtains module 104, obtains second audio data by the second Audio Input Modules.Specifically, the second acquisition module 104 can To acquire the second audio data of ambient enviroment by one or more microphones.The queue of multichannel first in, first out can also be passed through Channel (First Input First Output, FIFO) arranges the second audio data acquired from multiple microphones Team, and execute pre action, such as can by multiplexer, programmable preamplifier, low pass antialiasing filter into Row processing.
First processing module 106 adjusts the volume output of first audio data according to the second audio data.
In the present embodiment, first processing module 106 can detect the average energy of second audio data whithin a period of time Value, and exported according to the average energy value to adjust the volume of the first audio data.
The volume output for adjusting the first audio data, can be there are many adjustment mode.Adjustment mode one) adjustment loudspeaker Output power, so that the average energy value for the volume that the first audio data is exported by loudspeaker 40 is slightly larger than second audio data The average energy value;Adjustment mode two) the first audio data of adjustment, i.e., signal is carried out to the first audio data and zoomed in or out, First audio data adjusted is transmitted to loudspeaker;Adjustment mode three) adjustment audio provide device 4 original sound volume it is defeated Out.
For example, when the average energy value of second audio data whithin a period of time is E1(dB), and first audio data The average energy value is E2(dB), then adjust the first audio data volume export so that the volume of the first audio data export put down Equal energy value becomes E3(dB), E3=E1+15(±3)dB.It is found that the adjustment operation of first processing module 106 ensure that loudspeaker 40 wave volumes exported can allow user to listen to music or broadcast program without being perplexed by external environment just, It will not be exported because of the volume of loudspeaker excessively high and hearing impairment is caused (only in more noisy environment, to be likely to interim The volume output of the first audio data is dramatically increased).
First output module 108 exports first audio data or the first frequency evidence adjusted.In the present embodiment, If first processing module 106 uses adjustment modes one) or adjustment modes three), the first output module 108 ifs, exports the first sound Frequency is according to loudspeaker 40;If first processing module 106 uses adjustment modes two), the first output module 108 ifs, exports quilt First audio data adjusted of first processing module 106 is to loudspeaker 40.Certainly, if audio output device 2 will also be to institute It states the first audio data or when the first audio data adjusted does further audio processing, the first output module 108 then will First audio data or the first audio data adjusted are output in next module, related synthesis mould as follows Block 112.
In a preferred embodiment, audio output device 2 further includes Second processing module 110, synthesis module 112 and Two output modules 114.For the sound (second audio data) of ambient enviroment after treatment, to be transmitted to by loudspeaker 40 Human ear, it is seamless that environment microphone and the music of broadcasting are engaged togather.To provide the user with optimal audio experience.So that User is listening to music or when broadcast program, moreover it is possible to understand and perception around environmental aspect, thus avoid and it is external completely every From and lead to danger, for example, user using In-Ear audio output device when listening to music on road take a walk or cycle when, If be isolated completely with the external world, safety accident will be easy to cause.In consideration of it, this preferred embodiment aims to solve the problem that this problem, it is While user provides music or broadcast program, moreover it is possible to the sound of ambient enviroment after treatment is provided for user, such as people Talk voice, blast of whistle etc..Since the sound of ambient enviroment is to be re-fed into loudspeaker 40 after treatment, so will not mistake Big interference user listens to music or broadcast program.Wherein, Second processing module 110 is to the second audio data (that is, surrounding The sound of environment) tranquilization processing is carried out, to obtain third audio data.Synthesis module 112 by the third audio data with First audio data or the first audio data adjusted of first output module 112 output are synthesized, to obtain the Four audio datas.Second output module 114 exports the 4th audio data into loudspeaker 40.4th audio data is i.e. mixed The sound of music and ambient enviroment is closed.
It should be noted that the audio system 10 can also include a selecting module, by soft-key button or hard key come Start the selecting module, is directly exported the first audio data or the first audio output adjusted to loudspeaker 40 with selection In, or the 4th audio data exported into loudspeaker 40.
In a preferred embodiment, as shown in figure 3, Second processing module 110 includes analog/digital conversion module 110A, impact Property signal detection module 110B, time domain to frequency domain conversion module 110C, frequency-region signal processing module 110D, gain weighting block 110E, frequency domain to time domain conversion module 110F and D A switch module 110G.
Analog/digital conversion module 110A obtains second audio data from the second acquisition module 104, by the second audio number According to digitized processing is carried out, to obtain the second audio data of digital signal.It should be noted that the analog/digital conversion module 110A is capable of providing configurable sample frequency, and the delay in each channel FIFO of control.
The second audio data of the digital signal can enter impact signal detection module 110B and time domain to frequency simultaneously Domain conversion module 110C.
Impact signal detection module 110B carries out impact signal detection to the second audio data of the digital signal, with Obtain the impact signal characteristic value in the second audio data of the digital signal.It should be noted that the digital signal Second audio data is time-domain signal, and impact signal detection module 110B is mainly carried out in time domain, using impact signal and Voice signal temporal signatures the similarities and differences, so as to detect the appearance of impact signal.The main feature utilized has: 1) rushing Hitting property signal is fast in the speed that time domain occurs, the feature increased sharply suddenly with energy;2) frequency spectrum of impact signal is broader, With similar white noise character, and voice signal then has harmonic components, and is concentrated mainly on low frequency part;3) impact is believed Number there is no fundamental frequency, and voice signal has fundamental frequency.To sum up, impact signal detection module 110B can pass through above-mentioned spy Levy the impact signal in detection second audio data.The impact signal can be the second input module (microphone) from week Blast of whistle that collarette border is got etc. and generate signal.
Time domain carries out time domain to frequency domain for the second audio data to the digital signal to frequency domain conversion module 110C Conversion, to obtain the first frequency-domain audio signals corresponding with the second audio data of the digital signal.In the present embodiment, when Domain to frequency domain conversion module 110D can pass through Fast Fourier Transform (FFT) (Fsst Fourier Transformation, FFT) will The second audio data of digital signal is converted into the first frequency-domain audio signals FFTR1
Frequency-region signal handles mould 110D to the first frequency-domain audio signals FFTR1Frequency-division section carry out notch processing and/or from Dynamic gain control, to obtain the second frequency-domain audio signals FFTR2.In the present embodiment, it can be composed by Meier (Mel) by first Frequency-domain audio signals FFTR1It is merged into multiple frequency ranges, so as to carry out subsequent processing using masking effect.In the present embodiment In, so-called notch processing, which refers to, presets a cutoff frequency (e.g., 110dB), to the first frequency-domain audio signals FFTR1In surpass The ingredient for crossing cutoff frequency is inhibited, is filtered;Automatic growth control (Automatic Generation Control, AGC) Including positive AGC and reversed AGC, dynamic adjusts the first frequency-domain audio signals FFTR1Volume, the part high to volume presses down System, the part low to volume carries out dynamic range diffusion and compensation, so that volume maintains human ear comfort level range always Within.In the present embodiment, frequency-region signal processing module 110D may include dynamic range diffusion module, can in full frequency band and The dynamic range diffusion of multichannel, for amplifying small-signal and inhibiting impact signal.Fig. 4 is frequency-region signal processing module The audio signal that 110D carries out AGC flows to figure.
Gain weighting block 110E is handled frequency-region signal processing module 110D according to the impact signal characteristic value The the second frequency-domain audio signals FFT arrivedR2Gain weighting is carried out, to obtain third frequency-domain audio signals FFTR3
Frequency domain is to time domain conversion module 110F to the third frequency-domain audio signals FFTR3Frequency domain to time domain is carried out to convert, with Generate time-domain audio signal IFFT corresponding with third frequency-domain audio signalsR1.In the present embodiment, frequency domain is to time domain conversion module 110F can use inverse fast Fourier transform (Inverse Fast Fourier Transformation, IFFT).
The simulated processing time-domain audio signal IFFT of D/A block conversion module 110GR1, obtain the third audio data.
By the module 110A-110G in Second processing module 110, it is known that, Second processing module 110 obtains mould to second The second audio data that block 104 obtains carries out tranquilization processing, is acquired with realizing to specific targeted voice signal, is inhibited simultaneously Noise (such as ambient noise, impact noise).So that user also has preferable perception when listening to music, to the external world.
In a preferred embodiment, audio output device 2 further includes passback module 116, which returns institute Relevant parameter to the audio for stating second audio data or the second audio data provides device 4, so that audio provides 4, device Show that one group of configuration parameter, the configuration parameter are used according to the relevant parameter of the second audio data or the second audio data The volume output of device 4 or audio output device 2, such as following specific example are provided in adjustment audio.
In the first example, after audio output device 2 analyzes the scene of ambient enviroment by second audio data, can lead to Bosom friend's frequency provides device 4, which, which provides device 4, to show that one group of configuration parameter is defeated to adjust original audio according to concrete scene Out, or send include the configuration parameter DSP order to the processor 30 in audio output device 2, carry out control processor 30 Carry out the parameter configuration of audio output.
In the second example, after audio output device 2 analyzes the scene of ambient enviroment by second audio data, can lead to Bosom friend's frequency provides device 4, which, which provides device 4, can be uploaded to cloud, and cloud carries out big data analysis and provides optimization Parameter configuration feeds back to audio and provides device 4, and audio provides device 4 and can be adjusted certainly according to the configuration parameter that the cloud is fed back The original audio of body exports, or send include the configuration parameter DSP order to the processor 30 in audio output device 2, Carry out the parameter configuration that control processor 30 carries out audio output.
In third example, audio output device 2 returns second audio data to audio and provides device 4, which provides After device 4 analyzes the second audio data, original audio output can be adjusted based on the analysis results, or sending includes that this is matched The DSP order of parameter is set to the processor 30 in audio output device 2, the parameter for carrying out the progress audio output of control processor 30 is matched It sets.
In the fourth example, audio output device 2 returns second audio data to audio and provides device 4, which provides The second audio data is uploaded to cloud by device 4, by cloud combine big data analysis and provide optimization parameter configuration it is anti- Audio of feeding provides device 4, and audio provides the original sound that device 4 can adjust itself according to the configuration parameter that the cloud is fed back Frequency exports, or send include the configuration parameter DSP order to the processor 30 in audio output device 2, to control processing The parameter configuration of the progress audio output of device 30.
In a preferred embodiment, audio output device 2 further includes volume output detection module 118 and protective module 120. Volume output detection module 118 detects the volume output of first audio data.Protective module 120 is big when volume output In a preset threshold and when continuing for some time, then turns down the volume output of first audio data or issue the sense of hearing or view Feel information warning.So-called sense of hearing information warning can be exported directly via loudspeaker 40 to human ear, and the visual alarm information can To provide warning by the indicator light flashing on audio output device 2, the display screen on device 4 can also be provided via audio Show the information warning.
Referring to Fig. 5, being the flow diagram of the audio-frequency processing method of the embodiment of the present invention.The audio-frequency processing method Executing subject can be the audio output device 2 of modules composition as shown in Figure 2, be also possible to support any of this method Other devices.In addition, the flow chart in this method embodiment is defined without in the sequence for executing step.
One step 202, acquisition audio provide the first audio data in device.
In the present embodiment, it can be provided in device by wired or wireless interface from the audio and obtain the first audio number According to first audio data is the main source of sound that user needs to listen to music or broadcast program, which can be Call voice, music, broadcasted content etc..
Step 204, the second audio data for obtaining the audio output device ambient enviroment.
In the present embodiment, audio output device can collect by microphone or microphone array from ambient enviroment Two audio datas, which may include the sound of any source of sound in ambient enviroment, such as talk sound, the steam whistle of people Sound etc..
Step 206, according to the second audio data, adjust the volume output of first audio data.
In the present embodiment, audio output device can first calculate the average energy value of second audio data, and flat according to this Equal energy value exports to adjust the volume of the first audio data.It such as adjusts the output power of the loudspeaker of audio output device, adjust Whole first audio data (signal zooms in or out), or adjustment audio provide the original sound volume output of device.
Step 208 exports first audio data or the first audio data adjusted.
In the present embodiment, if audio output device adjusts the output power of its loudspeaker or adjustment audio provides device First audio data is then directly output to loudspeaker without carrying out signal processing to the first audio data by original sound volume output. If audio output device adjusts the first audio data (carry out signal and zoom in or out processing), by first audio adjusted Data are exported to loudspeaker.
It is found that the average energy value for the sound that loudspeaker plays should be within the scope of human ear comfort level, i.e. the loudspeaker The sound of broadcasting allows user to listen to music or broadcast program without being perplexed by external environment just, will not be because of sound It measures excessively high and leads to hearing impairment.
It should be noted that if audio output device will also be to first audio data or the first audio adjusted When data do further audio processing, audio output device is then by first audio data or the first audio number adjusted According to being output in next processing step.
It in a preferred embodiment, after step 204, further include a passback step: passback second audio The relevant parameter of data or the second audio data to the audio provides device, so that the audio provides device according to institute The relevant parameter for stating second audio data or the second audio data obtains one group of configuration parameter, and the configuration parameter is for adjusting The whole audio provides the volume output of device or the audio output device.
Referring to Fig. 6, being flow diagram of the another embodiment of the present invention to audio-frequency processing method.
One step 302, acquisition audio provide the first audio data in device.
Step 304, the second audio data for obtaining the audio output device ambient enviroment.
Step 306, according to the second audio data, adjust the volume output of first audio data.
Step 308 carries out tranquilization processing to the second audio data, to obtain third audio data.
In the present embodiment, a variety of methods can be used by carrying out tranquilization processing to the second audio data, be mentioned below For a kind of processing method, by reference.
Step 308 includes multiple sub-step 308A-308G, specific as follows:
Step 308A, the second audio data obtained in step 304 is subjected to digitized processing, to obtain digital letter Number second audio data;
Step 308B, impact signal detection is carried out to the second audio data of the digital signal, to obtain the number Impact signal characteristic value in the second audio data of signal;
Step 308C, time domain to frequency domain is carried out to the second audio data of the digital signal to convert, with obtain with it is described Corresponding first frequency-domain audio signals of the second audio data of digital signal;
Step 308D, notch processing and/or automatic growth control are carried out to the first frequency-domain audio signals frequency-division section, with Obtain the second frequency-domain audio signals;
Step 308E, according to the impact signal characteristic value, gain weighting is carried out to second frequency-domain audio signals, To obtain third frequency-domain audio signals;
Step 308F, it carries out frequency domain to time domain to the third frequency-domain audio signals to convert, to obtain corresponding time domain sound Frequency signal;
Step 306G, the simulated processing third frequency-domain audio signals obtain after frequency domain to time domain conversion when Domain audio signal (step 308F), to obtain the third audio data.
Step 310 exports first audio data or the first audio data adjusted.
Step 312, by the third audio data and first audio data that is exported in step 310 or adjusted First audio data is synthesized, to obtain the 4th audio data.
Step 314, output the 4th audio data.
Referring to Fig. 7, being flow diagram of the another embodiment of the present invention to audio-frequency processing method.
One step 402, acquisition audio provide the first audio data in device.
Step 404, the second audio data for obtaining the audio output device ambient enviroment.
Step 406, according to the second audio data, adjust the volume output of first audio data.
Step 408 carries out tranquilization processing to the second audio data, to obtain third audio data.
Step 410 exports first audio data or the first audio data adjusted.
Step 412, by the third audio data and first audio data or the first audio data adjusted into Row synthesis, to obtain the 4th audio data.
Step 414, output the 4th audio data.
The volume output of step 416, the first audio data of detection or the 4th audio data.This method embodiment is to detect For the volume output of four audio datas, it is illustrated.
Step 418 judges whether the volume output is greater than a preset threshold and continues for some time.If so, into Enter step 420, otherwise enters step 416.
Step 420, the volume output for turning down the 4th audio data issue information warning.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (2)

1. a kind of audio-frequency processing method is applied in audio output device, which is characterized in that the method comprising the steps of:
The first audio data in an audio offer device is provided;
Obtain the second audio data of the audio output device ambient enviroment;
According to the second audio data, the volume output of first audio data is adjusted;And
Export first audio data or the first audio data adjusted;
After the step of obtaining the second audio data of the audio output device ambient enviroment, further includes:
Tranquilization processing is carried out to the second audio data, to obtain third audio data;
The third audio data and first audio data or the first audio data adjusted are synthesized, to obtain 4th audio data;And
Export the 4th audio data;
The step of tranquilization processing is carried out to the second audio data, comprising:
The second audio data is subjected to digitized processing, to obtain the second audio data of digital signal;
Impact signal detection is carried out to the second audio data of the digital signal, to obtain the second audio of the digital signal Impact signal characteristic value in data;
It carries out time domain to frequency domain to the second audio data of the digital signal to convert, to obtain second with the digital signal Corresponding first frequency-domain audio signals of audio data;
Notch processing and/or automatic growth control are carried out to the first frequency-domain audio signals frequency-division section, to obtain the second frequency domain Audio signal;
According to the impact signal characteristic value, gain weighting is carried out to second frequency-domain audio signals, to obtain third frequency Domain audio signal;
It carries out frequency domain to time domain to the third frequency-domain audio signals to convert, to obtain corresponding time-domain audio signal;And
The simulated processing third frequency-domain audio signals carry out the time-domain audio signal obtained after frequency domain to time domain conversion, with Obtain the third audio data;
After the step of obtaining the second audio data of the audio output device ambient enviroment, further includes:
Relevant parameter to the audio for returning the second audio data or the second audio data provides device, with toilet Audio offer device is provided, one group of configuration ginseng is obtained according to the relevant parameter of the second audio data or the second audio data Number, the configuration parameter are used to adjust the audio and provide the volume output of device or the audio output device.
2. a kind of audio output device, which is characterized in that the audio output device includes:
First obtains module, for obtaining the first audio data in an audio offer device;
Second obtains module, for obtaining the second audio data of the audio output device ambient enviroment;
First processing module, for adjusting the volume output of first audio data according to the second audio data;And
First output module, for exporting first audio data or the first audio data adjusted;
The audio output device further include:
Second processing module, for carrying out tranquilization processing to the second audio data, to obtain third audio data;
Synthesis module, for by the third audio data and first audio data or the first audio data adjusted into Row synthesis, to obtain the 4th audio data;And
Second output module, for exporting the third audio data;
The Second processing module include analog/digital conversion module, impact signal detection module, time domain to frequency domain conversion module, Frequency-region signal processing module, gain weighting block, frequency domain to time domain conversion module and D A switch module:
The analog/digital conversion module, for the second audio data to be carried out digitized processing, to obtain the of digital signal Two audio datas;
The impact signal detection module carries out impact signal detection for the second audio data to the digital signal, To obtain the impact signal characteristic value in the second audio data of the digital signal;
The time domain carries out time domain to frequency domain for the second audio data to the digital signal and turns to frequency domain conversion module It changes, to obtain the first frequency-domain audio signals corresponding with the second audio data of the digital signal;
The frequency-region signal processing module, for the first frequency-domain audio signals frequency-division section progress notch processing and/or certainly Dynamic gain control, to obtain the second frequency-domain audio signals;
The gain weighting block, for being carried out to second frequency-domain audio signals according to the impact signal characteristic value Gain weighting, to obtain third frequency-domain audio signals;
The frequency domain is converted, to obtain to time domain conversion module for carrying out frequency domain to time domain to the third frequency-domain audio signals To corresponding time-domain audio signal;And
The D A switch module carries out frequency domain to time domain for the simulated processing third frequency-domain audio signals and converts it The time-domain audio signal obtained afterwards, to obtain the third audio data;
The audio output device further includes passback module, is used for:
Relevant parameter to the audio for returning the second audio data or the second audio data provides device, with toilet Audio offer device is provided, one group of configuration ginseng is obtained according to the relevant parameter of the second audio data or the second audio data Number, the configuration parameter are used to adjust the audio and provide the volume output of device or the audio output device;
The audio output device further includes volume output detection module and protective module:
The volume exports detection module, and the volume for detecting first audio data or the 4th audio data exports;And
The protective module, for when volume output is greater than a preset threshold and continues for some time, then turning down institute It states the volume output of the first audio data or the 4th audio data or issues information warning.
CN201610793371.9A 2016-08-31 2016-08-31 Audio-frequency processing method and audio output device Active CN106131751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610793371.9A CN106131751B (en) 2016-08-31 2016-08-31 Audio-frequency processing method and audio output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610793371.9A CN106131751B (en) 2016-08-31 2016-08-31 Audio-frequency processing method and audio output device

Publications (2)

Publication Number Publication Date
CN106131751A CN106131751A (en) 2016-11-16
CN106131751B true CN106131751B (en) 2019-09-13

Family

ID=57271759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610793371.9A Active CN106131751B (en) 2016-08-31 2016-08-31 Audio-frequency processing method and audio output device

Country Status (1)

Country Link
CN (1) CN106131751B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322848A (en) * 2017-01-16 2018-07-24 塞舌尔商元鼎音讯股份有限公司 The method of sound adjusting apparatus and its sound adjustment with hearing protection function
CN110891235B (en) * 2019-12-26 2021-05-04 惠州市锦好医疗科技股份有限公司 Finger-knocking body detection method for behind-the-ear hearing aid
CN113763972A (en) * 2020-06-02 2021-12-07 中国移动通信集团终端有限公司 Method, device and equipment for adjusting audio parameters and computer storage medium
CN114125639A (en) * 2021-12-06 2022-03-01 维沃移动通信有限公司 Audio signal processing method and device and electronic equipment
CN116895284B (en) * 2023-09-06 2024-01-23 广州声博士声学技术有限公司 Adaptive sound masking method, apparatus, device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707613A (en) * 2005-05-27 2005-12-14 曲哲 Collecting apparatus and method for noise insulation audio frequency
CN2927502Y (en) * 2006-06-28 2007-07-25 天津三星电子有限公司 Device for automatically adjusting audio-frequency and volume by environmental noise
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN105262452A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method and apparatus for adjusting volume, and terminal
CN105376689A (en) * 2015-10-13 2016-03-02 广东欧珀移动通信有限公司 Self-adaptive audio playing control method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8718305B2 (en) * 2007-06-28 2014-05-06 Personics Holdings, LLC. Method and device for background mitigation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707613A (en) * 2005-05-27 2005-12-14 曲哲 Collecting apparatus and method for noise insulation audio frequency
CN2927502Y (en) * 2006-06-28 2007-07-25 天津三星电子有限公司 Device for automatically adjusting audio-frequency and volume by environmental noise
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN105376689A (en) * 2015-10-13 2016-03-02 广东欧珀移动通信有限公司 Self-adaptive audio playing control method and system
CN105262452A (en) * 2015-10-29 2016-01-20 小米科技有限责任公司 Method and apparatus for adjusting volume, and terminal

Also Published As

Publication number Publication date
CN106131751A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131751B (en) Audio-frequency processing method and audio output device
EP2873251B1 (en) An audio signal output device and method of processing an audio signal
CN108028974B (en) Multi-source audio amplification and ear protection device
US9508335B2 (en) Active noise control and customized audio system
CN101227759B (en) Earphone device with automatic volume control function
US9653062B2 (en) Method, system and item
CN104883636B (en) Bionical hearing headset
US10171923B2 (en) Binaural hearing system and method
US10582288B2 (en) Sports headphone with situational awareness
JP2015129931A (en) Earplug for selectively providing sound to user
TW201043045A (en) Acoustic in-ear detection for earpiece
EP3980994A1 (en) Sound modification based on frequency composition
CN102421049B (en) Audio signal processing system and audiometric curve adjustment unit thereof
TWI738409B (en) Directivity hearing-aid device and method thereof
TW201123929A (en) Automatic tunable earphone and method
CN104038860A (en) Non-removable close-distance voice listening method and headset
CN217904640U (en) Bone conduction earphone
GB2521553A (en) Method and system
CN115580678A (en) Data processing method, device and equipment
CN109925122A (en) A kind of hearing recovering aid system and recovery training method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200331

Address after: 361100 1st and 2nd floor, No.13, Xiangyue Road, industrial zone, torch high tech Zone (Xiang'an), Xiamen, Fujian Province

Co-patentee after: Yu Shihu

Patentee after: XIAMEN NEWSOUND TECHNOLOGY Co.,Ltd.

Address before: 518000, building three, No. 182, Lan Lan Road, South Bay Street, Longgang District, Guangdong, Shenzhen province 33B10

Patentee before: SHENZHEN MAIHEAR TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right