WO2023070792A1 - Volume balancing method and device for talk-on doorbell, and readable storage medium - Google Patents
Volume balancing method and device for talk-on doorbell, and readable storage medium Download PDFInfo
- Publication number
- WO2023070792A1 WO2023070792A1 PCT/CN2021/132597 CN2021132597W WO2023070792A1 WO 2023070792 A1 WO2023070792 A1 WO 2023070792A1 CN 2021132597 W CN2021132597 W CN 2021132597W WO 2023070792 A1 WO2023070792 A1 WO 2023070792A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- volume
- volume value
- audio signal
- value
- average
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000005236 sound signal Effects 0.000 claims abstract description 178
- 238000012360 testing method Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0316—Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
- G10L21/0324—Details of processing therefor
- G10L21/034—Automatic adjustment
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
- H03G3/30—Automatic control in amplifiers having semiconductor devices
- H03G3/3005—Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers
Definitions
- the present application relates to the technical field of audio processing, in particular to a volume equalization method, device and readable storage medium of a talking doorbell.
- Talking doorbell is a doorbell product that can talk. Users make voice calls inside and outside the house through the microphone and speaker fixed on the doorbell. Usually, the volume value of the audio signal is increased uniformly with a fixed gain to ensure the transmission of the sound signal. However, due to It is impossible to limit the distance between the sound source and the microphone, the volume of the sound source, the processing of the sound source by the input side of the sound source, etc., so that we cannot guarantee the volume value of the input audio.
- the volume of the input audio cannot be estimated, if the fixed gain is large , when the volume of the input audio itself is high, the volume may be too high, which will not only affect the normal hearing effect and cause noise, distortion, etc., but may also cause hardware loss and shorten the service life of the hardware device, but if the fixed gain is small , for the case where the volume of the input audio itself is low, the receiver may not be able to hear the specific information of the voice clearly, and cannot accurately convey the voice information, that is, the volume after the gain adjustment is unbalanced.
- the main purpose of this application is to provide a volume equalization method, device and readable storage medium of a talking doorbell, aiming to solve the technical problem of unbalanced volume after gain adjustment in the prior art.
- the present application provides a volume equalization method of a talking doorbell
- the volume equalization method of the talking doorbell includes:
- the initial volume value is adjusted according to the volume gain to obtain a first balanced volume value corresponding to the audio signal.
- the present application also provides a volume equalization device for a talking doorbell, which includes:
- An audio signal acquisition module configured to acquire an audio signal and an initial volume value of the audio signal
- a sample audio signal acquisition module configured to acquire a sample audio signal and an average volume value of the sample audio signal from the audio signal
- a volume interval determination module configured to determine the preset volume interval to which the average volume value belongs
- a volume gain determination module configured to determine the volume gain corresponding to the average volume value according to the preset volume interval
- a volume equalization module configured to adjust the initial volume value according to the volume gain to obtain a first equalized volume value corresponding to the audio signal.
- the present application also provides a volume equalization device for a talking doorbell, which includes a processor and a volume equalization device for a talking doorbell that is stored in the processor and can run on the processor. program, wherein, when the volume equalization program of the talking doorbell is executed by the processor, the steps of the above-mentioned volume equalization method for the talking doorbell are realized.
- the present application also provides a readable storage medium, on which a program for realizing the volume equalization method of the talking doorbell is stored, and the program for realizing the volume equalizing method of the talking doorbell is executed by a processor to realize the following: The steps of the volume equalization method of the above-mentioned talking doorbell.
- the present application provides a volume equalization method, device and readable storage medium of a call-type doorbell.
- the initial volume value of the sample audio signal and the average volume value of the sample audio signal are obtained from the audio signal to realize the determination of a representative sample audio signal, by determining the preset volume to which the average volume value belongs interval, the volume gain corresponding to the average volume value is determined according to the preset volume interval, and different volume gains are determined for sample audio signals belonging to different volume intervals, and the initial volume value is adjusted according to the volume gain , the first equalized volume value corresponding to the audio signal is obtained, and the volume gain determined by the average volume value of the sample audio signal is used to balance and adjust the initial volume value of the entire audio signal, and then the volume gain of the sample audio signal is realized.
- the volume value determines the volume gain required for the volume value of the overall audio signal, overcomes the technical problem that the volume value of the output audio may be unbalanced due to the difference in the source of the fixed gain, and realizes the automatic volume of audio signals with different volume values balanced.
- Fig. 1 is the schematic flow chart of an embodiment of the volume equalization method of the application's talking doorbell
- Fig. 2 is the schematic flow chart of another embodiment of the volume equalization method of the talking doorbell of the present application
- FIG. 3 is a schematic diagram of the device structure of the hardware operating environment involved in the volume equalization of the talking doorbell in the embodiment of the present application.
- the volume equalization method of the talking doorbell is mainly used in the short conversation talking doorbell that uses the speaker to play and the microphone to receive.
- the distance between the person and the microphone and the volume of the sound may be different, but the volume of the voice in the same conversation is usually relatively stable. Therefore, the volume value of the representative target audio signal represents the volume value of the entire audio, and according to the The volume value is used as the reference to adjust the gain of the entire audio volume value.
- the implementation process is simple and fast, does not rely on hardware, does not require new accessories, devices, etc., and can effectively balance the volume values of different sizes before outputting.
- the embodiment of the present application provides a volume equalization method for a talking doorbell.
- the volume equalizing method for a talking doorbell includes:
- Step S10 acquiring an audio signal and an initial volume value of the audio signal
- sound is a wave generated by the vibration of an object, and this wave can be transformed into a time-continuous voltage wave, and the change law of this voltage wave and its corresponding original wave is Consistent, so the sound signal can be simulated by this voltage wave.
- This simulated sound signal is the audio signal.
- the audio signal is the information carrier of the voltage wave wavelength and intensity change.
- the sound signal is simulated by the recording device It is converted into an electrical signal, that is, an audio signal, and then the audio signal is transmitted to the speaker, and then the speaker vibrates to generate sound, the audio signal can be converted into sound, and then the sound is transferred from one audio device to another.
- the volume equalization method of the talking doorbell in this embodiment can be used to convert the voice signal received by the own microphone of the talking doorbell into an audio signal and then process it, and can also process other audio signals received by the own speaker of the talking doorbell.
- the audio signal transmitted by the audio equipment is processed; the volume is also called sound intensity or loudness, which refers to the subjective feeling of the human ear on the strength of the sound heard.
- the objective evaluation scale is the amplitude of the sound. The larger the amplitude, the stronger the intensity. Higher, the louder the sound, the greater the volume; the volume value is a value used to quantify the volume, which can be represented by sound pressure level, sound intensity level, loudness value or amplitude value, etc., this embodiment does not be restricted.
- the audio signal is obtained, and the amplitude of each audio sample of the audio signal is obtained, and the amplitude is used as the initial volume value of the audio signal, or the amplitude is calculated and converted into a sound pressure level, a sound intensity level or a loudness level , the sound pressure level, sound intensity level or loudness level is used as the initial volume value of the audio signal.
- the initial audio signal generated by the recording device can be processed.
- the initial volume value is the volume value of the audio signal obtained from the signal transmission process, which can be the original volume value received by the recording device, or It is the volume value of the recording device after processing such as gain, filtering, modification or superposition, or the volume value after encoding and compression processing, or the volume value of the audio output device after processing such as gain, filtering, modification and/or superposition value, etc., which are not limited in this embodiment.
- Step S20 acquiring a sample audio signal and an average volume value of the sample audio signal from the audio signal
- the sample audio signal is obtained from the audio signal according to the preset number and time period of the sample audio signal, and the volume value of each sample data is obtained according to the sample data of the sample audio signal, and then Calculate the average volume value of all target audio signals, wherein the number and time period of the sample audio signal can be determined by experience, common sense and/or test results, etc., the number is at least one, and the length of the time period of each sample audio signal It can be the same or different. The earlier the start time of the time period, the earlier the receiver receives the volume gain, the shorter the delay during the call, the faster and timely the information transmission, and the specific time to obtain the sample audio signal.
- the method can be to acquire a preset number of sample audio signals from a preset time period, or start to acquire a preset time length of sample audio signals from a certain moment, or start to acquire samples of the same or different preset time lengths from multiple times Audio signal (for example: acquire any three audio signals with a length of 1ms from 0ms to 5ms; 1s to 1s+1ms, 1s+1ms to 1s+4ms, 1s+6ms to 1s+8ms and 1s+9ms to 1s+ 11ms four-segment audio signal; start to acquire 8ms audio signal from the 2s, etc.).
- Audio signal for example: acquire any three audio signals with a length of 1ms from 0ms to 5ms; 1s to 1s+1ms, 1s+1ms to 1s+4ms, 1s+6ms to 1s+8ms and 1s+9ms to 1s+ 11ms four-segment audio signal; start to
- the overall volume value of the audio signal can be obtained from the samples effectively and quickly, so that the volume gain can be obtained quickly and accurately, and the speed and accuracy of volume equalization can be improved.
- it can reduce the amount of computation and save costs, and is more suitable for the hardware conditions of a relatively small device such as a talking doorbell; compared to receiving the entire After a segment of audio signal, the volume interval is divided and the volume gain is adjusted according to the average volume value of the entire segment of the audio signal, which can determine the volume gain more quickly, thereby reducing the delay phenomenon, and is more suitable for communication products such as communication doorbells.
- Requirements for immediacy of transmission compared to adjusting the volume values of all sizes to the same volume value, it can maintain the original volume difference of the audio, retain the dynamic characteristics of the sound, and is more suitable for talking doorbells
- the owner can identify the visitor by voice.
- the step of obtaining the sample audio signal and the average volume value of the sample audio signal from the audio signal it further includes:
- Step A10 judging whether the average volume value belongs to the preset noise volume value range
- the volume value range greater than the lower limit value or smaller than the upper limit value is used as the noise volume value range, If the average volume value is within any volume value range of the two volume value ranges, it belongs to the noise volume value range, wherein, it should be noted that the noise interferes with the expression of voice information in normal calls. Sounds include ambient sounds with low volume, interference sounds from irregular signals, and sounds that are too loud and endanger human health. Therefore, a lower upper limit can be set. If the volume is lower than this upper limit The value may cause inaudible specific voice information. At the same time, set a higher lower limit value. If the volume value is higher than this lower limit value, it may cause noise, distortion, etc.
- the noise volume value range includes values below this upper limit.
- the volume value range of the value and the volume value range higher than this lower limit (such as: less than 20 decibels or greater than or equal to 80 decibels)
- the setting of the noise volume value range upper limit and lower limit value can be based on big data statistics, actual Tests, hardware loss, or user-defined data can be set.
- Step A20 if the average volume value does not belong to the preset noise volume value range, perform the step of: determining the preset volume interval to which the average volume value belongs;
- the average volume value does not belong to the preset noise volume value range, it means that the sample audio signal is not a noise signal and can be used to represent the audio signal, and then perform the next step: A preset volume interval to which the average volume value belongs is determined.
- Step A30 if the average volume value belongs to the preset noise volume value range, then use the sample audio signal as a noise audio signal, and return to the step of: obtaining a sample audio signal from the audio signal and the sample audio signal the average volume value of .
- the average volume value belongs to the preset noise volume value range, it means that the sample audio signal is a noise signal, and cannot be used to represent the audio signal, so it is necessary to return to the execution step: A sample audio signal and an average volume value of the sample audio signal are obtained from the audio signal.
- the step of using the sample audio signal as a noise audio signal it further includes:
- Step A31 obtaining the noise initial volume value of the noise audio signal
- the initial noise volume value is the volume value obtained from the noise audio samples of the noise audio signal. It is easy to understand that a section of noise audio signal includes one or more noise audio samples, each Noise audio samples may have the same or different volume values.
- Step A32 generating a first volume gain of the noise initial volume value
- the adjusted volume value or volume value range (such as: the lower limit of the human hearing threshold, the range that does not affect other sound information accepted by the human ear, etc.)
- the volume value or range of volume values can be set according to big data statistics, actual tests, hardware loss, or user-defined data. It is easy to understand that if the initial volume value of the noise is different, the first volume gain generated will be different. .
- Step A33 adjusting the initial noise volume value according to the first volume gain to obtain a second balanced volume value corresponding to the noise audio signal.
- each noise initial volume value is adjusted to a preset adjusted volume value or volume value range (such as: human hearing threshold The lower limit value of the noise audio signal, the range that does not affect the acceptance of other sound information by the human ear, etc.), to obtain the second equalized volume value corresponding to the noise audio signal.
- a preset adjusted volume value or volume value range such as: human hearing threshold The lower limit value of the noise audio signal, the range that does not affect the acceptance of other sound information by the human ear, etc.
- the audio signal to be processed is a noise signal, it has no practical meaning and will interfere with the expression of voice information in a normal conversation, so the initial volume values of noises of different sizes can be adjusted to the same volume value or volume Value range, in order to eliminate or reduce its interference to the expression of voice information in normal conversations.
- the first sample audio signal of a preset time length is acquired, and the average volume value is calculated, when the average volume value belongs to the preset noise volume value range , reducing the ratio of the acquired initial noise volume value of the first sample audio signal to the lower limit of normal human hearing to the lower limit of normal human hearing, and Starting from a moment, the second sample audio signal with a preset time length is continuously intercepted, and the average volume value is calculated, and the noise volume value range is determined until the Nth sample audio signal whose average volume value is not within the preset noise volume value range is obtained , using the Nth sample audio signal as the final sample audio signal.
- the range of the noise volume value by determining the range of the noise volume value, it is possible to eliminate the interference that the acquired sample audio signal is a noise signal, increase the representativeness of the sample audio signal, and reduce the influence of the noise signal on volume gain adjustment.
- Step S30 determining the preset volume interval to which the average volume value belongs
- the preset volume range is based on the division of volume values based on the human hearing range, comfortable hearing range, volume level, hardware loss and volume relationship, and/or distortion phenomena.
- the obtained volume value range is used to formulate different targeted volume adjustment methods for different preset volume ranges, so that the volume can be balanced, for example: low volume range less than or equal to 40 decibels, medium volume greater than 40 decibels and less than 75 decibels interval, and a high volume interval greater than or equal to 75 decibels; an appropriate volume interval of greater than or equal to 40 decibels and less than or equal to 75 decibels, and an effective volume interval of less than 40 decibels or greater than 75 decibels, etc.
- volume intervals and volume value ranges corresponding to each volume interval are preset, and the preset volume interval to which the average volume value belongs is determined according to the volume value range in which the average volume value is located.
- the step of determining the preset volume interval to which the average volume value belongs includes:
- Step B10 judging whether the average volume value is within a preset appropriate volume value range
- the appropriate volume value range is a volume value range that can accurately convey the information expressed by the sound and is within the comfortable hearing range, which can be calculated according to big data statistics, actual Test, hardware loss, or user-defined data, etc., to pre-set the appropriate volume value range
- the appropriate volume value range is a continuous volume value range, wherein the minimum volume value is the lower limit of the appropriate volume value range value, and the maximum volume value is the upper limit value of the appropriate volume value range.
- a personalized suitable volume value range is generated according to the customized data
- the personalized suitable volume value range is used as a preset suitable volume value range. Due to differences in the hearing of different people, the appropriate volume range for different users may be different, so you can obtain custom data set by the user according to your own situation, for example: by playing standard audio with different volume levels for the user to choose, and then obtain The volume of the standard audio selected by the user is taken as the custom data; after a section of standard audio is played according to the preset volume value, the user is allowed to adjust the volume, and then the volume finally adjusted by the user is used as the custom data; The upper limit value and the lower limit value (such as: decibel value, the percentage of the maximum volume value, etc.) of the personalized suitable volume value range input according to one's own needs, and the described personalized suitable volume value range is used as the self-defined data.
- the upper limit value and the lower limit value such as: decibel value, the percentage of the maximum volume value, etc.
- Step B20 if the average volume value is within the preset appropriate volume value range, then the average volume value belongs to the appropriate volume range;
- Step B30 if the average volume value is not within the preset appropriate volume value range, then the average volume value belongs to the effective volume interval.
- the average volume value is at If the appropriate volume value range is preset, it is judged that the average volume value belongs to the appropriate volume range; if the average volume value is less than or equal to the lower limit value of the appropriate volume value range, or greater than or equal to the lower limit value of the appropriate volume value range upper limit value, if the average volume value is not within the preset appropriate volume value range, then it is determined that the average volume value belongs to an effective volume interval, wherein the effective volume interval includes an upper limit greater than or equal to the appropriate volume value range.
- the volume value range of the limit value and the volume value range less than or equal to the lower limit value of the appropriate volume value range are two discontinuous volume value ranges. It should be noted that the average volume value is equal to the appropriate volume value In the case of the upper limit or lower limit of the value range, it may be preset whether the average volume value belongs to or does not belong to the appropriate volume value range.
- Step S40 determine the volume gain corresponding to the average volume value
- the gain generally refers to the degree of increase in current, voltage or power of components, circuits, equipment or systems
- the volume gain refers to the degree of increase in volume, including positive gain , negative gain and/or constant gain, etc.
- the volume gain can be a numerical value, function or volume adjustment method, etc.
- the volume gain corresponding to the average volume value is determined according to the preset volume interval to which the average volume value belongs and the mapping relationship between the preset volume interval and the volume gain.
- Step S50 adjusting the initial volume value according to the volume gain to obtain a first balanced volume value corresponding to the audio signal.
- the initial volume value is adjusted according to the volume gain to obtain the first balanced volume value after gain adjustment, and finally the uniform volume gain obtained by the average volume value of the sample audio signal is realized.
- Adjusting all the initial volume values of the entire audio signal, compared to adjusting all initial volume values to the same volume value, can also maintain the original volume difference of the audio, retain the dynamic characteristics of the sound, and make the information transmission more acurrate.
- the step of adjusting the initial volume value according to the volume gain to obtain a first balanced volume value corresponding to the audio signal includes:
- Step C10 adjusting the initial volume value according to the volume gain to obtain an intermediate volume value
- the initial volume value is adjusted according to the volume gain to obtain an intermediate volume value after gain adjustment.
- Step C20 detecting whether the intermediate volume value belongs to the preset noise volume value range
- the volume value range greater than the lower limit value or smaller than the upper limit value is used as the noise volume value range, If the average volume value is within any volume value range of the two volume value ranges, it belongs to the noise volume value range, wherein, it should be noted that the noise interferes with the expression of voice information in normal calls. Sounds include ambient sounds with low volume, interference sounds from irregular signals, and sounds that are too loud and endanger human health. Therefore, a lower upper limit can be set. If the volume is lower than this upper limit The value may cause inaudible specific voice information. At the same time, set a higher lower limit value.
- the noise volume value range includes values below this upper limit.
- the volume value range of the value and the volume value range higher than this lower limit (such as: less than 20 decibels or greater than or equal to 80 decibels, etc.), the setting of the noise volume value range upper limit and lower limit value can be based on big data statistics, Actual test, hardware loss, or user-defined data can be set.
- Step C30 if the intermediate volume value belongs to the preset noise volume value range, generating a fourth volume gain for the intermediate volume value
- the intermediate volume value belongs to the preset noise volume value range
- the audio signal corresponding to the intermediate volume value is a noise signal
- the adjusted volume value or volume value range is preset. (such as: the lower limit of the human hearing threshold, the range that does not affect the acceptance of other sound information by the human ear and/or the preset appropriate volume value range, etc.)
- the ratio, difference or functional relationship of the value range (such as: upper limit value, lower limit value or intermediate value, etc.) is used as the fourth volume gain, wherein, the adjusted volume value or volume value range is based on big data statistics, The actual test, hardware loss, user-defined data or appropriate volume value range are pre-set.
- the validity of the noise signal can be further judged. If the noise signal is invalid signal, the adjusted volume value or volume value range is pre-set according to big data statistics, actual tests, hardware loss, or user-defined data (such as: the lower limit of the human hearing threshold and/or does not affect other sounds information is accepted by the human ear, etc.), if the noise is an effective signal, the ratio, difference or functional relationship between the intermediate volume value and the preset appropriate volume value or the preset appropriate volume value range is used as the fourth Volume gain, wherein the validity judgment method includes voice recognition and preset effective volume value range, etc.
- Step C40 adjusting the intermediate volume value according to the fourth volume gain to obtain a third balanced volume value
- the intermediate volume value is adjusted to a preset adjusted volume value or volume value range (such as: the lower limit value of the human hearing threshold, which does not affect other The range that the sound information is accepted by the human ear and/or the preset appropriate volume value range, etc.) to obtain the third balanced volume value.
- a preset adjusted volume value or volume value range such as: the lower limit value of the human hearing threshold, which does not affect other The range that the sound information is accepted by the human ear and/or the preset appropriate volume value range, etc.
- Step D50 if the intermediate volume value does not belong to the preset noise volume value range, then use the intermediate volume value as the first equalized volume value.
- the intermediate volume value does not belong to the preset noise volume value range, it means that the audio signal corresponding to the intermediate volume value is not a noise signal, and the intermediate volume value is taken as the first An equalization volume value.
- the uniform volume gain obtained by the average volume value of the sample audio signal is used to adjust all the volume of the entire audio signal.
- the initial volume value does not require volume gain calculation and special processing for the initial volume value of each frame, and the volume gain adjustment can be performed simply and quickly.
- the adjusted volume value may not belong to the Special circumstances of the preset noise volume value range, for example, a sudden increase in sound due to shock during a call, a sudden honking of a nearby vehicle during a call, or an unrelated communication between the person on the call and other people around him during the call, etc. , so after the adjustment is completed, perform noise volume detection and noise volume adjustment again to ensure that the first equalized volume value after volume equalization is in a more appropriate volume range, improving the accuracy of voice information transmission and receiving voice information people's hearing comfort.
- the present application provides a volume equalization method, device and readable storage medium of a call-type doorbell.
- the initial volume value of the sample audio signal and the average volume value of the sample audio signal are obtained from the audio signal to realize the determination of a representative sample audio signal, by determining the preset volume to which the average volume value belongs interval, the volume gain corresponding to the average volume value is determined according to the preset volume interval, and different volume gains are determined for sample audio signals belonging to different volume intervals, and the initial volume value is adjusted according to the volume gain , the first equalized volume value corresponding to the audio signal is obtained, and the volume gain determined by the average volume value of the sample audio signal is used to balance and adjust the initial volume value of the entire audio signal, and then the volume gain of the sample audio signal is realized.
- the volume value determines the volume gain required for the volume value of the overall audio signal, overcomes the technical problem that the volume value of the output audio may be unbalanced due to the difference in the source of the fixed gain, and realizes the automatic volume of audio signals with different volume values balanced.
- the preset volume interval includes an effective volume interval and an appropriate volume interval
- the appropriate volume range is a range of volume values that can more accurately convey the information expressed by the sound and is within the comfortable hearing range, which can be calculated according to large data statistics and actual tests. , hardware loss, or user-defined data to pre-set the appropriate volume value range, and the effective volume range is a volume value range outside the volume value range of the appropriate volume range.
- the step of determining the volume gain corresponding to the average volume value according to the preset volume interval includes:
- Step S41 if the preset volume range is the effective volume range, then determine a second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume value belonging to the appropriate volume range;
- the characteristic volume value is within the volume value range of the appropriate volume interval, and is used to represent certain characteristic numerical values of the appropriate volume interval, for example: the upper limit value , lower limit, median or third value, etc.
- the preset volume interval includes an effective volume interval and an appropriate volume interval, and if the preset volume interval is the effective volume interval, according to the average volume value and the characteristic volume value of the appropriate volume interval Difference, ratio, sum value or functional relationship, etc., to determine the second volume gain corresponding to the average volume value, for example: the difference between the average volume value and the upper limit value of the appropriate volume range, the average volume value The ratio of the median value of the appropriate volume range or the half of the sum of the average volume value and the lower limit of the appropriate volume value, etc.
- the step of determining the second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume values belonging to the appropriate volume range includes:
- Step S411 obtaining the median value of the appropriate volume range as the characteristic volume value
- the median value of the appropriate volume range is a value obtained by dividing the sum of the upper limit value of the appropriate volume range plus the lower limit value of the appropriate volume range by 2.
- the median value of the appropriate volume interval is calculated according to the upper limit value and the lower limit value of the appropriate volume interval, and the median value is used as the characteristic volume value, wherein, since the appropriate volume interval is previously Therefore, the median value of the appropriate volume interval can also be predetermined according to the preset volume value range of the appropriate volume interval.
- Step S412 Determine a second volume gain corresponding to the average volume value according to the ratio of the average volume value to the median value.
- the ratio of the average volume value to the median value is used as the multiple relationship between the volume after gain adjustment and the volume before gain adjustment, and the specific ratio obtained by converting the ratio or the ratio
- the volume value is used as the second volume gain corresponding to the average volume value.
- the median value of the appropriate volume range is used as the standard, which can ensure the equalized volume to the greatest extent.
- the first balanced volume value is in an appropriate volume range, which improves the accuracy of voice information transmission and the auditory comfort of the person receiving the voice information.
- Step S42 if the preset volume range is an appropriate volume range, then determine a third volume gain corresponding to the average volume value.
- the preset volume interval is an appropriate volume interval, it means that the average volume value itself is an appropriate volume value, and there is no need to adjust the volume gain, then the average volume value is determined.
- value corresponding to the third volume gain, the third volume gain is a constant gain, which is used to keep the volume value before and after the gain adjustment unchanged.
- volume intervals through the setting of volume intervals, different gain adjustments are realized for volume values belonging to different volume intervals. It is not necessary to perform unnecessary gain adjustments for volume values that are appropriate in size.
- the value is adaptively adjusted according to the difference between its volume value and the appropriate volume range, thereby solving the technical problem of unbalanced volume value of the output audio caused by the volume value of the fixed gain due to the difference in the volume value of the sound source, and realizing the control of all audio signals in the entire audio segment. Automatic equalization of the initial volume value.
- An embodiment of the present application provides a volume equalization device for a talking doorbell, and the volume equalizing device for a talking doorbell includes:
- An audio signal acquisition module configured to acquire an audio signal and an initial volume value of the audio signal
- a sample audio signal acquisition module configured to acquire a sample audio signal and an average volume value of the sample audio signal from the audio signal
- a volume interval determination module configured to determine the preset volume interval to which the average volume value belongs
- a volume gain determination module configured to generate a volume gain corresponding to an average volume value according to the preset volume interval
- a volume equalization module configured to adjust the initial volume value according to the volume gain to obtain a first equalized volume value corresponding to the audio signal.
- sample audio signal acquisition module is also used for:
- the average volume value belongs to the preset noise volume value range, then use the sample audio signal as a noise audio signal, and return to the execution step: obtain the sample audio signal and the average volume of the sample audio signal from the audio signal value.
- sample audio signal acquisition module is also used for:
- the initial noise volume value is adjusted according to the first volume gain to obtain a second balanced volume value corresponding to the noise audio signal.
- the volume gain determination module is also used for:
- the preset volume interval is an effective volume interval, determining a second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume value belonging to the appropriate volume interval;
- the preset volume range is an appropriate volume range, then determine a third volume gain corresponding to the average volume value.
- the volume gain determination module is also used for:
- a second volume gain corresponding to the average volume value is determined according to a ratio of the average volume value to the median value.
- the volume range determination module is also used for:
- the average volume value belongs to an appropriate volume range
- the average volume value belongs to an effective volume interval.
- volume equalization module is also used for:
- the intermediate volume value does not belong to the preset noise volume value range, the intermediate volume value is used as the first balanced volume value.
- An embodiment of the present application provides a volume equalization device for a talking doorbell.
- the volume equalizing device for a talking doorbell includes a processor and a volume of the talking doorbell that is stored in the processor and can run on the processor.
- An equalization program wherein, when the volume equalization program of the talking doorbell is executed by the processor, the method for volume equalization of the talking doorbell in the first embodiment is realized.
- the volume equalization device of the talking doorbell of the present application may include: a processor 1001 such as a CPU, a speaker 1004 , a user interface 1003 , a memory 1005 , a microphone 1006 , and a communication bus 1002 .
- the communication bus 1002 is used to realize connection and communication between these components.
- the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
- the speaker 1004 is used to play sound signals.
- the microphone 1006 is used to receive signals from the speaker and voice signals triggered by the user.
- the terminal may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
- sensors such as light sensors, motion sensors and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight.
- the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile terminals (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
- the volume equalization device of the talking doorbell provided by the present application adopts the volume equalization method of the talking doorbell in the first embodiment above, and solves the technical problem of unbalanced audio volume after gain adjustment in the prior art.
- the beneficial effect of the volume equalization device of the talking doorbell provided by the embodiment of the present application is the same as that of the volume equalizing method of the talking doorbell provided in the first embodiment above, and the volume equalization of the talking doorbell
- Other technical features in the device are the same as those disclosed by the method in the previous embodiment, and will not be repeated here.
- terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
- This embodiment provides a computer-readable storage medium, which has computer-readable program instructions stored thereon, and the computer-readable program instructions are used to implement the volume equalization method for a talking doorbell in the first embodiment above.
- the computer-readable storage medium provided in the embodiment of the present application may be, for example, a USB flash drive, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable Programmable read-only memory
- CD-ROM portable compact disk read-only memory
- magnetic storage device magnetic storage device, or any suitable combination of the above.
- the computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, system or device.
- Program code embodied on a computer readable storage medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
- the above-mentioned computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
- the above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires the audio signal and the initial volume value of the audio signal; from the audio signal Acquiring a sample audio signal and an average volume value of the sample audio signal; determining a preset volume interval to which the average volume value belongs; determining a volume gain corresponding to the average volume value according to the preset volume interval; according to the The volume gain adjusts the initial volume value to obtain a first balanced volume value corresponding to the audio signal.
- Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
- modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
- the computer-readable storage medium provided by the present application stores computer-readable program instructions for implementing the volume equalization method of the above-mentioned talking doorbell, which solves the technical problem of unbalanced audio volume after gain adjustment in the prior art.
- the beneficial effect of the computer-readable storage medium provided by the embodiment of the present application is the same as the beneficial effect of the volume equalization method for the talking doorbell provided by the first embodiment above, and will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
A volume balancing method, apparatus and device for a talk-on doorbell, and a readable storage medium. The method comprises: acquiring an audio signal and an initial volume value of the audio signal (S10); acquiring a sample audio signal and an average volume value of the sample audio signal from the audio signal (S20); determining a preset volume interval to which the average volume value belongs (S30); determining, according to the preset volume interval, a volume gain corresponding to the average volume value (S40); and adjusting the initial volume value according to the volume gain to obtain a first balanced volume value corresponding to the audio signal (S50). The method solves the technical problem in the prior art of volume imbalance after gain adjustment.
Description
本申请要求于2021年10月26日提交中国专利局、申请号为202111250855.6、发明名称为“通话式门铃的音量均衡方法、设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111250855.6 and the title of the invention "Volume Equalization Method, Device and Readable Storage Medium for Talking Doorbell" submitted to the China Patent Office on October 26, 2021, the entire content of which Incorporated in this application by reference.
本申请涉及音频处理技术领域,尤其涉及一种通话式门铃的音量均衡方法、设备和可读存储介质。The present application relates to the technical field of audio processing, in particular to a volume equalization method, device and readable storage medium of a talking doorbell.
通话式门铃作为一款可通话的门铃产品,用户通过固定在门铃上的麦克风和扬声器进行屋内屋外的语音通话,通常会采用固定增益统一增加音频信号的音量值以确保声音信号的传递,但由于无法限制音源与麦克风的距离、音源的音量大小、音源的输入方对音源的处理等,使得我们无法保证输入音频的音量值大小,在无法预估输入音频的音量大小时,若固定增益较大,对于输入音频本身音量较大时,可能出现音量过高的情况,不仅会影响正常听觉效果出现嘈杂、失真等情况,还可能造成硬件损耗,缩短硬件设备的使用寿命,但若固定增益较小,对于输入音频本身音量较小的情况,可能出现接收方听不清语音的具体信息,无法准确传达语音信息,即增益调整后的音量不均衡。Talking doorbell is a doorbell product that can talk. Users make voice calls inside and outside the house through the microphone and speaker fixed on the doorbell. Usually, the volume value of the audio signal is increased uniformly with a fixed gain to ensure the transmission of the sound signal. However, due to It is impossible to limit the distance between the sound source and the microphone, the volume of the sound source, the processing of the sound source by the input side of the sound source, etc., so that we cannot guarantee the volume value of the input audio. When the volume of the input audio cannot be estimated, if the fixed gain is large , when the volume of the input audio itself is high, the volume may be too high, which will not only affect the normal hearing effect and cause noise, distortion, etc., but may also cause hardware loss and shorten the service life of the hardware device, but if the fixed gain is small , for the case where the volume of the input audio itself is low, the receiver may not be able to hear the specific information of the voice clearly, and cannot accurately convey the voice information, that is, the volume after the gain adjustment is unbalanced.
发明内容Contents of the invention
本申请的主要目的在于提供一种通话式门铃的音量均衡方法、设备和可读存储介质,旨在解决现有技术中增益调整后的音量不均衡的技术问题。The main purpose of this application is to provide a volume equalization method, device and readable storage medium of a talking doorbell, aiming to solve the technical problem of unbalanced volume after gain adjustment in the prior art.
为实现上述目的,本申请提供一种通话式门铃的音量均衡方法,所述通话式门铃的音量均衡方法包括:In order to achieve the above purpose, the present application provides a volume equalization method of a talking doorbell, the volume equalization method of the talking doorbell includes:
获取音频信号以及所述音频信号的初始音量值;Obtain an audio signal and an initial volume value of the audio signal;
从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;obtaining a sample audio signal and an average volume value of the sample audio signal from the audio signal;
确定所述平均音量值所属的预设音量区间;determining a preset volume interval to which the average volume value belongs;
根据所述预设音量区间,确定所述平均音量值对应的音量增益;determining a volume gain corresponding to the average volume value according to the preset volume interval;
根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。The initial volume value is adjusted according to the volume gain to obtain a first balanced volume value corresponding to the audio signal.
本申请还提供一种通话式门铃的音量均衡装置,所述通话式门铃的音量均衡装置包括:The present application also provides a volume equalization device for a talking doorbell, which includes:
音频信号获取模块,用于获取音频信号以及所述音频信号的初始音量值;An audio signal acquisition module, configured to acquire an audio signal and an initial volume value of the audio signal;
样本音频信号获取模块,用于从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;A sample audio signal acquisition module, configured to acquire a sample audio signal and an average volume value of the sample audio signal from the audio signal;
音量区间确定模块,用于确定所述平均音量值所属的预设音量区间;A volume interval determination module, configured to determine the preset volume interval to which the average volume value belongs;
音量增益确定模块,用于根据所述预设音量区间,确定所述平均音量值对应的音量增益;A volume gain determination module, configured to determine the volume gain corresponding to the average volume value according to the preset volume interval;
音量均衡模块,用于根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。A volume equalization module, configured to adjust the initial volume value according to the volume gain to obtain a first equalized volume value corresponding to the audio signal.
本申请还提供一种通话式门铃的音量均衡设备,所述通话式门铃的音量均衡设备包括处理器以及存储在所述处理器内并可在所述处理器上运行的通话式门铃的音量均衡程序,其中,所述通话式门铃的音量均衡程序被所述处理器执行时实现如上述的通话式门铃的音量均衡方法的步骤。The present application also provides a volume equalization device for a talking doorbell, which includes a processor and a volume equalization device for a talking doorbell that is stored in the processor and can run on the processor. program, wherein, when the volume equalization program of the talking doorbell is executed by the processor, the steps of the above-mentioned volume equalization method for the talking doorbell are realized.
本申请还提供一种可读存储介质,所述可读存储介质上存储有实现通话式门铃的音量均衡方法的程序,所述实现通话式门铃的音量均衡方法的程序被处理器执行以实现如上述通话式门铃的音量均衡方法的步骤。The present application also provides a readable storage medium, on which a program for realizing the volume equalization method of the talking doorbell is stored, and the program for realizing the volume equalizing method of the talking doorbell is executed by a processor to realize the following: The steps of the volume equalization method of the above-mentioned talking doorbell.
本申请提供了一种通话式门铃的通话式门铃的音量均衡方法、设备和可读存储介质,相比于现有技术中采用固定增益放大声音信号,本申请通过获取音频信号以及所述音频信号的初始音量值,从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值,实现了具有代表性的样本音频信号的确定,通过确定所述平均音量值所属的预设音量区间,根据所述预设音量区间确定所述平均音量值对应的音量增益,实现了对所属的音量区间不同的样本音频信号确定不同的音量增益,通过根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值,实现了以样本音频信号的平均音量值确定的音量增益对整段音频信号的初始音量值大小进行均衡调整,进而实现了以样本音频信号 的音量值大小确定整体音频信号的音量值所需的音量增益,克服了固定增益由于音源差异可能出现的输出音频的音量值不均衡的技术问题,实现了对不同音量值大小的音频信号的自动音量均衡。The present application provides a volume equalization method, device and readable storage medium of a call-type doorbell. The initial volume value of the sample audio signal and the average volume value of the sample audio signal are obtained from the audio signal to realize the determination of a representative sample audio signal, by determining the preset volume to which the average volume value belongs interval, the volume gain corresponding to the average volume value is determined according to the preset volume interval, and different volume gains are determined for sample audio signals belonging to different volume intervals, and the initial volume value is adjusted according to the volume gain , the first equalized volume value corresponding to the audio signal is obtained, and the volume gain determined by the average volume value of the sample audio signal is used to balance and adjust the initial volume value of the entire audio signal, and then the volume gain of the sample audio signal is realized. The volume value determines the volume gain required for the volume value of the overall audio signal, overcomes the technical problem that the volume value of the output audio may be unbalanced due to the difference in the source of the fixed gain, and realizes the automatic volume of audio signals with different volume values balanced.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only The accompanying drawings are a part of this application. For those skilled in the art, other drawings can be obtained according to the provided drawings without creative work.
图1为本申请通话式门铃的音量均衡方法的一实施例的流程示意图;Fig. 1 is the schematic flow chart of an embodiment of the volume equalization method of the application's talking doorbell;
图2为本申请通话式门铃的音量均衡方法的另一实施例的流程示意图;Fig. 2 is the schematic flow chart of another embodiment of the volume equalization method of the talking doorbell of the present application;
图3为本申请实施例中通话式门铃的音量均衡涉及的硬件运行环境的设备结构示意图。FIG. 3 is a schematic diagram of the device structure of the hardware operating environment involved in the volume equalization of the talking doorbell in the embodiment of the present application.
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functions and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
通话式门铃的音量均衡方法主要用于使用扬声器播放及麦克风接收的短对话通话式门铃中,在通话式门铃的使用场景中,由于对话时间较短,目的性较明确,虽然不同对话中不同的人离麦克风的距离和声音的大小可能不同,但在同一段对话中的声音音量大小通常比较稳定,因此,以具有代表性的目标音频信号的音量值代表整段音频的音量值,并根据该音量值的大小为基准对整段音频的音量值进行增益调整,实施过程简单、快速,不依靠硬件,无需新增配件、装置等,又可以使不同大小的音量值得到有效均衡后再输出。The volume equalization method of the talking doorbell is mainly used in the short conversation talking doorbell that uses the speaker to play and the microphone to receive. The distance between the person and the microphone and the volume of the sound may be different, but the volume of the voice in the same conversation is usually relatively stable. Therefore, the volume value of the representative target audio signal represents the volume value of the entire audio, and according to the The volume value is used as the reference to adjust the gain of the entire audio volume value. The implementation process is simple and fast, does not rely on hardware, does not require new accessories, devices, etc., and can effectively balance the volume values of different sizes before outputting.
本申请实施例提供一种通话式门铃的音量均衡方法,在本申请通话式门铃的音量均衡方法的第一实施例中,参照图1,所述通话式门铃的音量均衡方法包括:The embodiment of the present application provides a volume equalization method for a talking doorbell. In the first embodiment of the volume equalization method for a talking doorbell in the present application, referring to FIG. 1 , the volume equalizing method for a talking doorbell includes:
步骤S10,获取音频信号以及所述音频信号的初始音量值;Step S10, acquiring an audio signal and an initial volume value of the audio signal;
在本实施例中,需要说明的是,声音是物体振动产生的一种波,这种波可以通过转化变为时间上连续的电压波,而这种电压波与其对应的原始波的变化规律是一致的,因此可 以通过这种电压波来模拟声音信号,这种被模拟的声音信号即为音频信号,音频信号是电压波的波长、强度变化的信息载体,通过录音设备模拟声音信号将声音信号转换成电信号,即音频信号,再通过将音频信号传送到扬声器,再由扬声器振动产生声音,即可将音频信号转化为声音,进而完成声音从一个音频设备到另一个音频设备的传递过程,本实施例中的通话式门铃的音量均衡方法可以用于对通话式门铃自有的麦克风接收的语音信号转化为音频信号后进行处理,也可以对通话式门铃的自有的扬声器接收到的其他音频设备传递的音频信号进行处理;音量又称音强或响度,是指人耳对所听到的声音大小强弱的主观感受,其客观评价尺度是声音的振幅大小,振幅越大,强度越高,声音越响,音量则越大;音量值是用来对音量大小进行量化的取值,可以以声压级、声强级、响度值或振幅值等来表示,对此本实施例不加以限制。In this embodiment, it should be noted that sound is a wave generated by the vibration of an object, and this wave can be transformed into a time-continuous voltage wave, and the change law of this voltage wave and its corresponding original wave is Consistent, so the sound signal can be simulated by this voltage wave. This simulated sound signal is the audio signal. The audio signal is the information carrier of the voltage wave wavelength and intensity change. The sound signal is simulated by the recording device It is converted into an electrical signal, that is, an audio signal, and then the audio signal is transmitted to the speaker, and then the speaker vibrates to generate sound, the audio signal can be converted into sound, and then the sound is transferred from one audio device to another. The volume equalization method of the talking doorbell in this embodiment can be used to convert the voice signal received by the own microphone of the talking doorbell into an audio signal and then process it, and can also process other audio signals received by the own speaker of the talking doorbell. The audio signal transmitted by the audio equipment is processed; the volume is also called sound intensity or loudness, which refers to the subjective feeling of the human ear on the strength of the sound heard. The objective evaluation scale is the amplitude of the sound. The larger the amplitude, the stronger the intensity. Higher, the louder the sound, the greater the volume; the volume value is a value used to quantify the volume, which can be represented by sound pressure level, sound intensity level, loudness value or amplitude value, etc., this embodiment does not be restricted.
具体地,获取音频信号,并获取所述音频信号的每个音频采样的振幅,将振幅作为所述音频信号的初始音量值,或对振幅进行计算转换成声压级、声强级或响度级,将所述声压级、声强级或响度级作为所述音频信号的初始音量值,需要说明的是,在本实施例获取音频信号之前,录音设备、音频输出设备、编码解码过程等均可以对录音设备生成的初始音频信号进行处理,容易理解的是,初始音量值是从信号传递过程中获取到的音频信号的音量值,其可以是录音设备接收到的原始的音量值,也可以是录音设备经过增益、过滤、修饰或叠加等处理后的音量值,也可以是编码压缩处理后的音量值,也可以是音频输出设备经过增益、过滤、修饰和/或叠加等处理后的音量值等,本实施例对此不加以限制。Specifically, the audio signal is obtained, and the amplitude of each audio sample of the audio signal is obtained, and the amplitude is used as the initial volume value of the audio signal, or the amplitude is calculated and converted into a sound pressure level, a sound intensity level or a loudness level , the sound pressure level, sound intensity level or loudness level is used as the initial volume value of the audio signal. The initial audio signal generated by the recording device can be processed. It is easy to understand that the initial volume value is the volume value of the audio signal obtained from the signal transmission process, which can be the original volume value received by the recording device, or It is the volume value of the recording device after processing such as gain, filtering, modification or superposition, or the volume value after encoding and compression processing, or the volume value of the audio output device after processing such as gain, filtering, modification and/or superposition value, etc., which are not limited in this embodiment.
步骤S20,从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;Step S20, acquiring a sample audio signal and an average volume value of the sample audio signal from the audio signal;
在本实施例中,具体地,根据预先设定的样本音频信号的数量及时间段从所述音频信号中获取样本音频信号,根据样本音频信号的采样数据得到每个采样数据的音量值,进而计算全部目标音频信号的平均音量值,其中,所述样本音频信号的数量及时间段可以通过经验、常识和/或测试结果等确定,数量为至少一个,每段样本音频信号的时间段的长度可以相同或不相同,时间段的开始时间越早,接收方接收到音量增益后的时间则越早,通话过程中产生的延时越短,信息传递更快速和及时,获取样本音频信号的具体方式可以为从预设的时间段获取预设数量的样本音频信号,或从某一时刻开始获取预设时间长度的样本音频信号,或从多个时刻开始获取相同或不同预设时间长度的样本音频信号(例如:获取0ms至5ms的任意三段时间段长度为1ms的音频信号;1s至1s+1ms、1s+1ms至1s+4ms、1s+6ms至1s+8ms和1s+9ms至1s+11ms的四段音频信号;从第2s开始获取8ms的音频信号等)。In this embodiment, specifically, the sample audio signal is obtained from the audio signal according to the preset number and time period of the sample audio signal, and the volume value of each sample data is obtained according to the sample data of the sample audio signal, and then Calculate the average volume value of all target audio signals, wherein the number and time period of the sample audio signal can be determined by experience, common sense and/or test results, etc., the number is at least one, and the length of the time period of each sample audio signal It can be the same or different. The earlier the start time of the time period, the earlier the receiver receives the volume gain, the shorter the delay during the call, the faster and timely the information transmission, and the specific time to obtain the sample audio signal. The method can be to acquire a preset number of sample audio signals from a preset time period, or start to acquire a preset time length of sample audio signals from a certain moment, or start to acquire samples of the same or different preset time lengths from multiple times Audio signal (for example: acquire any three audio signals with a length of 1ms from 0ms to 5ms; 1s to 1s+1ms, 1s+1ms to 1s+4ms, 1s+6ms to 1s+8ms and 1s+9ms to 1s+ 11ms four-segment audio signal; start to acquire 8ms audio signal from the 2s, etc.).
在本实施例中,通过以样本代替整体的方式,可以有效且快速地从样本中获取到音频信号整体的音量值大小,从而可以快速且准确地得到音量增益,提高音量均衡的速度和准确性,相比于对每一个采样数据进行音量区间划分并进行音量增益调整,可以减少运算量,节约成本,且更适合通话式门铃这种较为小型的装置设备的硬件条件;相比于接收到整段音频信号后根据整段音频信号的平均音量值进行音量区间划分并进行音量增益调整,可以更快速地确定音量增益,从而减少延时现象,且更适合通话式门铃这种通话式产品的信息传递的即时性的要求;相比于将所有大小的音量值都调整到一个相同的音量值大小,可以保持音频原有的音量大小差异性,保留了声音的动态特征,且更适合通话式门铃的这种使用场景,主人可以通过声音对访客进行鉴别。In this embodiment, by replacing the whole with samples, the overall volume value of the audio signal can be obtained from the samples effectively and quickly, so that the volume gain can be obtained quickly and accurately, and the speed and accuracy of volume equalization can be improved. , compared to dividing the volume interval and adjusting the volume gain for each sampled data, it can reduce the amount of computation and save costs, and is more suitable for the hardware conditions of a relatively small device such as a talking doorbell; compared to receiving the entire After a segment of audio signal, the volume interval is divided and the volume gain is adjusted according to the average volume value of the entire segment of the audio signal, which can determine the volume gain more quickly, thereby reducing the delay phenomenon, and is more suitable for communication products such as communication doorbells. Requirements for immediacy of transmission; compared to adjusting the volume values of all sizes to the same volume value, it can maintain the original volume difference of the audio, retain the dynamic characteristics of the sound, and is more suitable for talking doorbells In this usage scenario, the owner can identify the visitor by voice.
优选地,所述从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值的步骤之后,还包括:Preferably, after the step of obtaining the sample audio signal and the average volume value of the sample audio signal from the audio signal, it further includes:
步骤A10,判断所述平均音量值是否属于预设噪声音量值范围;Step A10, judging whether the average volume value belongs to the preset noise volume value range;
在本实施例中,具体地,根据预先设定噪声音量值范围的上限值和下限值,将大于所述下限值或者小于所述上限值的音量值范围作为噪声音量值范围,若所述平均音量值在这两个音量值范围中的任一个音量值范围内,都属于噪声音量值范围,其中,需要说明的是,噪声是干扰到正常通话中语音信息表达的不需要的声音,包括音量较小的环境音、不规则信号产生的干扰音和音量过强而危害人体健康的声音等,因此可以设置一个较低的上限值,若低于这一上限值的音量值可能造成听不清具体的语音信息,同时设置一个较高的下限值,若高于这一下限值的音量值可能造成嘈杂、失真等现象,噪声音量值范围包括低于这一上限值的音量值范围和高于这一下限值的音量值范围(如:小于20分贝或大于等于80分贝),噪声音量值范围上限值和下限值的设定可以根据大数据统计、实际测试、硬件损耗情况或用户自定义数据等进行设定。In this embodiment, specifically, according to the upper limit and lower limit of the preset noise volume value range, the volume value range greater than the lower limit value or smaller than the upper limit value is used as the noise volume value range, If the average volume value is within any volume value range of the two volume value ranges, it belongs to the noise volume value range, wherein, it should be noted that the noise interferes with the expression of voice information in normal calls. Sounds include ambient sounds with low volume, interference sounds from irregular signals, and sounds that are too loud and endanger human health. Therefore, a lower upper limit can be set. If the volume is lower than this upper limit The value may cause inaudible specific voice information. At the same time, set a higher lower limit value. If the volume value is higher than this lower limit value, it may cause noise, distortion, etc. The noise volume value range includes values below this upper limit. The volume value range of the value and the volume value range higher than this lower limit (such as: less than 20 decibels or greater than or equal to 80 decibels), the setting of the noise volume value range upper limit and lower limit value can be based on big data statistics, actual Tests, hardware loss, or user-defined data can be set.
步骤A20,若所述平均音量值不属于预设噪声音量值范围,则执行步骤:确定所述平均音量值所属的预设音量区间;Step A20, if the average volume value does not belong to the preset noise volume value range, perform the step of: determining the preset volume interval to which the average volume value belongs;
在本实施例中,具体地,若所述平均音量值不属于预设噪声音量值范围,则说明所述样本音频信号不是噪声信号,可以用于代表所述音频信号,则执行下一步骤:确定所述平均音量值所属的预设音量区间。In this embodiment, specifically, if the average volume value does not belong to the preset noise volume value range, it means that the sample audio signal is not a noise signal and can be used to represent the audio signal, and then perform the next step: A preset volume interval to which the average volume value belongs is determined.
步骤A30,若所述平均音量值属于预设噪声音量值范围,则将所述样本音频信号作为噪声音频信号,并返回执行步骤:从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值。Step A30, if the average volume value belongs to the preset noise volume value range, then use the sample audio signal as a noise audio signal, and return to the step of: obtaining a sample audio signal from the audio signal and the sample audio signal the average volume value of .
在本实施例中,具体地,若所述平均音量值属于预设噪声音量值范围,则说明所述样本音频信号是噪声信号,则不能用于代表所述音频信号,因此需要返回执行步骤:从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值。In this embodiment, specifically, if the average volume value belongs to the preset noise volume value range, it means that the sample audio signal is a noise signal, and cannot be used to represent the audio signal, so it is necessary to return to the execution step: A sample audio signal and an average volume value of the sample audio signal are obtained from the audio signal.
优选地,所述将所述样本音频信号作为噪声音频信号的步骤之后,还包括:Preferably, after the step of using the sample audio signal as a noise audio signal, it further includes:
步骤A31,获取所述噪声音频信号的噪声初始音量值;Step A31, obtaining the noise initial volume value of the noise audio signal;
在本实施例中,需要说明的是,噪声初始音量值是根据噪声音频信号的噪声音频采样得到的音量值,容易理解的是,一段噪声音频信号中包括一个或多个噪声音频采样,每个噪声音频采样的音量值可能相同或不同。In this embodiment, it should be noted that the initial noise volume value is the volume value obtained from the noise audio samples of the noise audio signal. It is easy to understand that a section of noise audio signal includes one or more noise audio samples, each Noise audio samples may have the same or different volume values.
步骤A32,生成所述噪声初始音量值的第一音量增益;Step A32, generating a first volume gain of the noise initial volume value;
在本实施例中,具体地,预先设定调整后的音量值或音量值范围(如:人耳听觉阈值的下限值、不影响其他声音信息被人耳所接受的范围等),根据噪声初始音量值与调整后的音量值或音量值范围中的特征值(如:上限值、下限值、中间值等)的比值、差值或函数关系作为第一音量增益,其中,调整后的音量值或音量值范围可以根据大数据统计、实际测试、硬件损耗情况或用户自定义数据等进行设定,容易理解的是,若噪声初始音量值不同,则生成的第一音量增益则不同。In this embodiment, specifically, the adjusted volume value or volume value range (such as: the lower limit of the human hearing threshold, the range that does not affect other sound information accepted by the human ear, etc.) The ratio, difference or functional relationship between the initial volume value and the adjusted volume value or the characteristic value (such as: upper limit value, lower limit value, middle value, etc.) in the volume value range as the first volume gain, wherein, after adjustment The volume value or range of volume values can be set according to big data statistics, actual tests, hardware loss, or user-defined data. It is easy to understand that if the initial volume value of the noise is different, the first volume gain generated will be different. .
步骤A33,根据所述第一音量增益调整所述噪声初始音量值,得到所述噪声音频信号对应的第二均衡音量值。Step A33, adjusting the initial noise volume value according to the first volume gain to obtain a second balanced volume value corresponding to the noise audio signal.
在本实施例中,具体地,根据每个噪声初始音量值对应生成的音量增益将每个噪声初始音量值调整到预先设定的调整后的音量值或音量值范围(如:人耳听觉阈值的下限值、不影响其他声音信息被人耳所接受的范围等),得到所述噪声音频信号对应的第二均衡音量值。In this embodiment, specifically, each noise initial volume value is adjusted to a preset adjusted volume value or volume value range (such as: human hearing threshold The lower limit value of the noise audio signal, the range that does not affect the acceptance of other sound information by the human ear, etc.), to obtain the second equalized volume value corresponding to the noise audio signal.
在本实施例中,由于待处理的音频信号是噪声信号,本身是没有实际意义且会干扰到正常通话中语音信息表达,因此可以将不同大小的噪声初始音量值调整到相同的音量值或音量值范围,以排除或降低其对正常通话中语音信息表达的干扰。In this embodiment, since the audio signal to be processed is a noise signal, it has no practical meaning and will interfere with the expression of voice information in a normal conversation, so the initial volume values of noises of different sizes can be adjusted to the same volume value or volume Value range, in order to eliminate or reduce its interference to the expression of voice information in normal conversations.
其中,在一种可实施的方式中,从第0秒开始,获取预设时间长度的第一样本音频信号,并计算平均音量值,当所述平均音量值属于预设噪声音量值范围时,将获取到的第一样本音频信号的噪声初始音量值与人耳正常听力下限值的比值减小到人耳正常听力下限值,并从截取到的第一样本音频信号的最后一个时刻开始,重新连续截取预设时间长度的第二样本音频信号,并计算平均音量值,进行噪声音量值范围判定,直至获取到平均音量值不在预设噪声音量值范围的第N样本音频信号,将所述第N样本音频信号作为最终确定 的样本音频信号。Wherein, in an implementable manner, starting from the 0th second, the first sample audio signal of a preset time length is acquired, and the average volume value is calculated, when the average volume value belongs to the preset noise volume value range , reducing the ratio of the acquired initial noise volume value of the first sample audio signal to the lower limit of normal human hearing to the lower limit of normal human hearing, and Starting from a moment, the second sample audio signal with a preset time length is continuously intercepted, and the average volume value is calculated, and the noise volume value range is determined until the Nth sample audio signal whose average volume value is not within the preset noise volume value range is obtained , using the Nth sample audio signal as the final sample audio signal.
在本实施例中,通过噪声音量值范围的判定,可以排除掉获取到样本音频信号为噪声信号的干扰,增加样本音频信号的代表性,减少噪声信号对音量增益调整的影响。In this embodiment, by determining the range of the noise volume value, it is possible to eliminate the interference that the acquired sample audio signal is a noise signal, increase the representativeness of the sample audio signal, and reduce the influence of the noise signal on volume gain adjustment.
步骤S30,确定所述平均音量值所属的预设音量区间;Step S30, determining the preset volume interval to which the average volume value belongs;
在本实施例中,需要说明的是,所述预设音量区间是根据人耳听力范围、舒适的听力范围、音量大小分级、硬件损耗与音量的关系和/或失真现象等对音量值进行划分得到的音量值范围,以针对不同的预设音量区间制定不同的针对性的音量调整方法,使音量达到均衡,例如:小于等于40分贝的低音量区间、大于40分贝且小于75分贝的中音量区间、以及大于等于75分贝的高音量区间;大于等于40分贝且小于等于75分贝的合适音量区间,以及小于40分贝或大于75分贝的有效音量区间等。In this embodiment, it should be noted that the preset volume range is based on the division of volume values based on the human hearing range, comfortable hearing range, volume level, hardware loss and volume relationship, and/or distortion phenomena. The obtained volume value range is used to formulate different targeted volume adjustment methods for different preset volume ranges, so that the volume can be balanced, for example: low volume range less than or equal to 40 decibels, medium volume greater than 40 decibels and less than 75 decibels interval, and a high volume interval greater than or equal to 75 decibels; an appropriate volume interval of greater than or equal to 40 decibels and less than or equal to 75 decibels, and an effective volume interval of less than 40 decibels or greater than 75 decibels, etc.
具体地,预先设定不同的音量区间以及每个音量区间对应的音量值范围,根据平均音量值所在的音量值范围确定其所属的预设音量区间。Specifically, different volume intervals and volume value ranges corresponding to each volume interval are preset, and the preset volume interval to which the average volume value belongs is determined according to the volume value range in which the average volume value is located.
优选地,所述确定所述平均音量值所属的预设音量区间的步骤包括:Preferably, the step of determining the preset volume interval to which the average volume value belongs includes:
步骤B10,判断所述平均音量值是否处于预设合适音量值范围;Step B10, judging whether the average volume value is within a preset appropriate volume value range;
在本实施例中,需要说明的是,所述合适音量值范围为可以较准确地传递声音所表达的信息且在令人舒适的听力范围之内的音量值范围,可以根据大数据统计、实际测试、硬件损耗情况或用户自定义数据等进行合适音量值范围的预先设定,所述合适音量值范围为一段连续的音量值范围,其中最小的音量值为所述合适音量值范围的下限值,最大的音量值为所述合适音量值范围的上限值。In this embodiment, it should be noted that the appropriate volume value range is a volume value range that can accurately convey the information expressed by the sound and is within the comfortable hearing range, which can be calculated according to big data statistics, actual Test, hardware loss, or user-defined data, etc., to pre-set the appropriate volume value range, the appropriate volume value range is a continuous volume value range, wherein the minimum volume value is the lower limit of the appropriate volume value range value, and the maximum volume value is the upper limit value of the appropriate volume value range.
具体地,将平均音量值与所述预设合适音量值范围的上限值和下限值进行比较,判断所述平均音量值是否大于或等于所述下限值且小于或等于所述上限值。Specifically, comparing the average volume value with the upper limit value and the lower limit value of the preset suitable volume value range, and judging whether the average volume value is greater than or equal to the lower limit value and less than or equal to the upper limit value value.
其中,在一种可实施的方式中,获取用户输入的自定义数据,根据所述自定义数据生成个性化合适音量值范围,将所述个性化合适音量值范围作为预设合适音量值范围。由于不同的人的听觉存在差异,因此不同用户的合适音量区间可能不同,因此可以获取用户根据自身情况设定的自定义数据,例如:通过播放不同音量大小的标准音频供用户选择,进而将获取到的用户选择的标准音频的音量大小作为所述自定义数据;根据预设音量值播放一段标准音频后让用户进行音量调整,进而将用户最终调整的音量大小作为所述自定义数据;获取用户根据自身需求输入的个性化合适音量值范围的上限值和下限值(如:分贝值、最大音量值的百分比等),并将所述个性化合适音量值范围作为所述自定义数据。Wherein, in a practicable manner, user-defined data inputted by the user is acquired, a personalized suitable volume value range is generated according to the customized data, and the personalized suitable volume value range is used as a preset suitable volume value range. Due to differences in the hearing of different people, the appropriate volume range for different users may be different, so you can obtain custom data set by the user according to your own situation, for example: by playing standard audio with different volume levels for the user to choose, and then obtain The volume of the standard audio selected by the user is taken as the custom data; after a section of standard audio is played according to the preset volume value, the user is allowed to adjust the volume, and then the volume finally adjusted by the user is used as the custom data; The upper limit value and the lower limit value (such as: decibel value, the percentage of the maximum volume value, etc.) of the personalized suitable volume value range input according to one's own needs, and the described personalized suitable volume value range is used as the self-defined data.
步骤B20,若所述平均音量值处于预设合适音量值范围,则所述平均音量值属于所述 合适音量区间;Step B20, if the average volume value is within the preset appropriate volume value range, then the average volume value belongs to the appropriate volume range;
步骤B30,若所述平均音量值不处于预设合适音量值范围,则所述平均音量值属于所述有效音量区间。Step B30, if the average volume value is not within the preset appropriate volume value range, then the average volume value belongs to the effective volume interval.
在本实施例中,具体地,若所述平均音量值大于或等于所述合适音量值范围的下限值且小于或等于所述合适音量值范围的上限值,则所述平均音量值处于预设合适音量值范围,则判断所述平均音量值属于合适音量区间;若所述平均音量值小于或等于所述合适音量值范围的下限值,或大于或等于所述合适音量值范围的上限值,则所述平均音量值不处于预设合适音量值范围,则判断所述平均音量值属于有效音量区间,其中,所述有效音量区间包括大于或等于所述合适音量值范围的上限值的音量值范围以及小于或等于所述合适音量值范围的下限值的音量值范围,是两个不连续的音量值范围,需要说明的是,所述平均音量值等于所述合适音量值范围的上限值或下限值的情况,可预先设定所述平均音量值属于或不属于所述合适音量值范围。In this embodiment, specifically, if the average volume value is greater than or equal to the lower limit value of the appropriate volume value range and less than or equal to the upper limit value of the appropriate volume value range, the average volume value is at If the appropriate volume value range is preset, it is judged that the average volume value belongs to the appropriate volume range; if the average volume value is less than or equal to the lower limit value of the appropriate volume value range, or greater than or equal to the lower limit value of the appropriate volume value range upper limit value, if the average volume value is not within the preset appropriate volume value range, then it is determined that the average volume value belongs to an effective volume interval, wherein the effective volume interval includes an upper limit greater than or equal to the appropriate volume value range. The volume value range of the limit value and the volume value range less than or equal to the lower limit value of the appropriate volume value range are two discontinuous volume value ranges. It should be noted that the average volume value is equal to the appropriate volume value In the case of the upper limit or lower limit of the value range, it may be preset whether the average volume value belongs to or does not belong to the appropriate volume value range.
步骤S40,根据所述预设音量区间,确定所述平均音量值对应的音量增益;Step S40, according to the preset volume range, determine the volume gain corresponding to the average volume value;
在本实施例中,需要说明的是,增益一般指对元器件、电路、设备或系统,其电流、电压或功率增加的程度,所述音量增益则是对音量大小增加的程度,包括正增益、负增益和/或不变增益等,正增益表示对音量进行增大调整,负增益表示对音量进行减小调整,不变增益表示保持原音量大小不变,所述音量增益可以是数值、函数或音量调整方法等。In this embodiment, it should be noted that the gain generally refers to the degree of increase in current, voltage or power of components, circuits, equipment or systems, and the volume gain refers to the degree of increase in volume, including positive gain , negative gain and/or constant gain, etc. Positive gain means to increase and adjust the volume, negative gain means to decrease and adjust the volume, and constant gain means to keep the original volume unchanged. The volume gain can be a numerical value, function or volume adjustment method, etc.
具体地,根据平均音量值所属的预设音量区间以及预设音量区间与音量增益的映射关系,确定所述平均音量值对应的音量增益。Specifically, the volume gain corresponding to the average volume value is determined according to the preset volume interval to which the average volume value belongs and the mapping relationship between the preset volume interval and the volume gain.
步骤S50,根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。Step S50, adjusting the initial volume value according to the volume gain to obtain a first balanced volume value corresponding to the audio signal.
本申请实施例中,具体地,根据所述音量增益调整所述初始音量值,得到增益调整后的第一均衡音量值,最终实现了以样本音频信号的平均音量值得到的统一的音量增益来调整整段音频信号的全部初始音量值,相比于将全部初始音量值调整到一个相同的音量值大小,还可以保持音频原有的音量大小差异性,保留了声音的动态特征,使信息传递更准确。In the embodiment of the present application, specifically, the initial volume value is adjusted according to the volume gain to obtain the first balanced volume value after gain adjustment, and finally the uniform volume gain obtained by the average volume value of the sample audio signal is realized. Adjusting all the initial volume values of the entire audio signal, compared to adjusting all initial volume values to the same volume value, can also maintain the original volume difference of the audio, retain the dynamic characteristics of the sound, and make the information transmission more acurrate.
优选地,所述根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值的步骤包括:Preferably, the step of adjusting the initial volume value according to the volume gain to obtain a first balanced volume value corresponding to the audio signal includes:
步骤C10,根据所述音量增益调整所述初始音量值,得到中间音量值;Step C10, adjusting the initial volume value according to the volume gain to obtain an intermediate volume value;
本申请实施例中,具体地,根据所述音量增益调整所述初始音量值,得到增益调整后的中间音量值。In this embodiment of the present application, specifically, the initial volume value is adjusted according to the volume gain to obtain an intermediate volume value after gain adjustment.
步骤C20,检测所述中间音量值是否属于预设噪声音量值范围;Step C20, detecting whether the intermediate volume value belongs to the preset noise volume value range;
本申请实施例中,具体地,根据预先设定噪声音量值范围的上限值和下限值,将大于所述下限值或者小于所述上限值的音量值范围作为噪声音量值范围,若所述平均音量值在这两个音量值范围中的任一个音量值范围内,都属于噪声音量值范围,其中,需要说明的是,噪声是干扰到正常通话中语音信息表达的不需要的声音,包括音量较小的环境音、不规则信号产生的干扰音和音量过强而危害人体健康的声音等,因此可以设置一个较低的上限值,若低于这一上限值的音量值可能造成听不清具体的语音信息,同时设置一个较高的下限值,若高于这一下限值的音量值可能造成嘈杂、失真等现象,噪声音量值范围包括低于这一上限值的音量值范围和高于这一下限值的音量值范围(如:小于20分贝或大于等于80分贝等),噪声音量值范围上限值和下限值的设定可以根据大数据统计、实际测试、硬件损耗情况或用户自定义数据等进行设定。In the embodiment of the present application, specifically, according to the upper limit value and the lower limit value of the preset noise volume value range, the volume value range greater than the lower limit value or smaller than the upper limit value is used as the noise volume value range, If the average volume value is within any volume value range of the two volume value ranges, it belongs to the noise volume value range, wherein, it should be noted that the noise interferes with the expression of voice information in normal calls. Sounds include ambient sounds with low volume, interference sounds from irregular signals, and sounds that are too loud and endanger human health. Therefore, a lower upper limit can be set. If the volume is lower than this upper limit The value may cause inaudible specific voice information. At the same time, set a higher lower limit value. If the volume value is higher than this lower limit value, it may cause noise, distortion, etc. The noise volume value range includes values below this upper limit. The volume value range of the value and the volume value range higher than this lower limit (such as: less than 20 decibels or greater than or equal to 80 decibels, etc.), the setting of the noise volume value range upper limit and lower limit value can be based on big data statistics, Actual test, hardware loss, or user-defined data can be set.
步骤C30,若所述中间音量值属于预设噪声音量值范围,则生成所述中间音量值的第四音量增益;Step C30, if the intermediate volume value belongs to the preset noise volume value range, generating a fourth volume gain for the intermediate volume value;
本申请实施例中,具体地,若所述中间音量值属于预设噪声音量值范围,则说明所述中间音量值对应的音频信号是噪声信号,预先设定调整后的音量值或音量值范围(如:人耳听觉阈值的下限值、不影响其他声音信息被人耳所接受的范围和/或预设合适音量值范围等),根据所述中间音量值与调整后的音量值或音量值范围(如:上限值、下限值或中间值等)的比值、差值或函数关系作为第四音量增益,其中,所述调整后的音量值或音量值范围是根据大数据统计、实际测试、硬件损耗情况、用户自定义数据或合适音量值范围等进行预先设定,在一种可实施的方式中,可以进一步对所述噪声信号进行有效性判断,若所述噪声信号为无效信号,则根据大数据统计、实际测试、硬件损耗情况或用户自定义数据等预先设定调整后的音量值或音量值范围(如:人耳听觉阈值的下限值和/或不影响其他声音信息被人耳所接受的范围等),若所述噪声为有效信号,则将所述中间音量值与预设合适音量值或预设合适音量值范围的比值、差值或函数关系作为第四音量增益,其中所述有效性判断的方法包括声音识别和预设有效音量值范围等。In the embodiment of the present application, specifically, if the intermediate volume value belongs to the preset noise volume value range, it means that the audio signal corresponding to the intermediate volume value is a noise signal, and the adjusted volume value or volume value range is preset. (such as: the lower limit of the human hearing threshold, the range that does not affect the acceptance of other sound information by the human ear and/or the preset appropriate volume value range, etc.), according to the intermediate volume value and the adjusted volume value or volume The ratio, difference or functional relationship of the value range (such as: upper limit value, lower limit value or intermediate value, etc.) is used as the fourth volume gain, wherein, the adjusted volume value or volume value range is based on big data statistics, The actual test, hardware loss, user-defined data or appropriate volume value range are pre-set. In an implementable manner, the validity of the noise signal can be further judged. If the noise signal is invalid signal, the adjusted volume value or volume value range is pre-set according to big data statistics, actual tests, hardware loss, or user-defined data (such as: the lower limit of the human hearing threshold and/or does not affect other sounds information is accepted by the human ear, etc.), if the noise is an effective signal, the ratio, difference or functional relationship between the intermediate volume value and the preset appropriate volume value or the preset appropriate volume value range is used as the fourth Volume gain, wherein the validity judgment method includes voice recognition and preset effective volume value range, etc.
步骤C40,根据所述第四音量增益调整所述中间音量值,得到第三均衡音量值;Step C40, adjusting the intermediate volume value according to the fourth volume gain to obtain a third balanced volume value;
在本实施例中,具体地,根据第四音量增益将所述中间音量值调整到预先设定的调整后的音量值或音量值范围(如:人耳听觉阈值的下限值、不影响其他声音信息被人耳所接受的范围和/或预设合适音量值范围等),得到第三均衡音量值。In this embodiment, specifically, according to the fourth volume gain, the intermediate volume value is adjusted to a preset adjusted volume value or volume value range (such as: the lower limit value of the human hearing threshold, which does not affect other The range that the sound information is accepted by the human ear and/or the preset appropriate volume value range, etc.) to obtain the third balanced volume value.
步骤D50,若所述中间音量值不属于预设噪声音量值范围,则将所述中间音量值作为 所述第一均衡音量值。Step D50, if the intermediate volume value does not belong to the preset noise volume value range, then use the intermediate volume value as the first equalized volume value.
在本实施例中,具体地,若所述中间音量值不属于预设噪声音量值范围,则说明所述中间音量值对应的音频信号不是噪声信号,则将所述中间音量值作为所述第一均衡音量值。In this embodiment, specifically, if the intermediate volume value does not belong to the preset noise volume value range, it means that the audio signal corresponding to the intermediate volume value is not a noise signal, and the intermediate volume value is taken as the first An equalization volume value.
在本实施例中,虽然在通话式门铃的使用场景中,同一段对话中的声音音量大小通常比较稳定,以样本音频信号的平均音量值得到的统一的音量增益来调整整段音频信号的全部初始音量值,不需要对每一帧初始音量值进行音量增益计算和特殊化处理,可以简单快速地进行音量增益调整,但由于音源和外界环境的不可控性,可能出现调整后的音量值属于预设噪声音量值范围的特殊情况,例如,在通话过程中受到惊吓导致声音突增、在通话过程中附近车辆突然鸣喇叭或在通话过程中通话的人与身边其他人进行无关通话的交流等,因此在调整完成后,再进行一次噪声音量检测和噪声音量调整,以最大限度的保证音量均衡后的第一均衡音量值处于更合适音量区间,提高了语音信息传达的准确性和接收语音信息的人的听觉舒适度。In this embodiment, although in the usage scenario of the talking doorbell, the volume of the sound in the same conversation is usually relatively stable, the uniform volume gain obtained by the average volume value of the sample audio signal is used to adjust all the volume of the entire audio signal. The initial volume value does not require volume gain calculation and special processing for the initial volume value of each frame, and the volume gain adjustment can be performed simply and quickly. However, due to the uncontrollability of the sound source and the external environment, the adjusted volume value may not belong to the Special circumstances of the preset noise volume value range, for example, a sudden increase in sound due to shock during a call, a sudden honking of a nearby vehicle during a call, or an unrelated communication between the person on the call and other people around him during the call, etc. , so after the adjustment is completed, perform noise volume detection and noise volume adjustment again to ensure that the first equalized volume value after volume equalization is in a more appropriate volume range, improving the accuracy of voice information transmission and receiving voice information people's hearing comfort.
本申请提供了一种通话式门铃的通话式门铃的音量均衡方法、设备和可读存储介质,相比于现有技术中采用固定增益放大声音信号,本申请通过获取音频信号以及所述音频信号的初始音量值,从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值,实现了具有代表性的样本音频信号的确定,通过确定所述平均音量值所属的预设音量区间,根据所述预设音量区间确定所述平均音量值对应的音量增益,实现了对所属的音量区间不同的样本音频信号确定不同的音量增益,通过根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值,实现了以样本音频信号的平均音量值确定的音量增益对整段音频信号的初始音量值大小进行均衡调整,进而实现了以样本音频信号的音量值大小确定整体音频信号的音量值所需的音量增益,克服了固定增益由于音源差异可能出现的输出音频的音量值不均衡的技术问题,实现了对不同音量值大小的音频信号的自动音量均衡。The present application provides a volume equalization method, device and readable storage medium of a call-type doorbell. The initial volume value of the sample audio signal and the average volume value of the sample audio signal are obtained from the audio signal to realize the determination of a representative sample audio signal, by determining the preset volume to which the average volume value belongs interval, the volume gain corresponding to the average volume value is determined according to the preset volume interval, and different volume gains are determined for sample audio signals belonging to different volume intervals, and the initial volume value is adjusted according to the volume gain , the first equalized volume value corresponding to the audio signal is obtained, and the volume gain determined by the average volume value of the sample audio signal is used to balance and adjust the initial volume value of the entire audio signal, and then the volume gain of the sample audio signal is realized. The volume value determines the volume gain required for the volume value of the overall audio signal, overcomes the technical problem that the volume value of the output audio may be unbalanced due to the difference in the source of the fixed gain, and realizes the automatic volume of audio signals with different volume values balanced.
进一步地,参照图2,基于本申请第一实施例,在本申请另一实施例中,与上述实施例一相同或相似的内容,可以参考上文介绍,后续不再赘述。在此基础上,所述预设音量区间包括有效音量区间和合适音量区间,Further, referring to FIG. 2 , based on the first embodiment of the present application, in another embodiment of the present application, for the same or similar content as the first embodiment above, reference may be made to the introduction above, and details will not be repeated hereafter. On this basis, the preset volume interval includes an effective volume interval and an appropriate volume interval,
在本实施例中,需要说明的是,所述合适音量区间为可以较准确地传递声音所表达的信息且在令人舒适的听力范围之内的音量值范围,可以根据大数据统计、实际测试、硬件 损耗情况或用户自定义数据等进行合适音量值范围的预先设定,所述有效音量区间为合适音量区间的音量值范围之外的音量值范围。In this embodiment, it should be noted that the appropriate volume range is a range of volume values that can more accurately convey the information expressed by the sound and is within the comfortable hearing range, which can be calculated according to large data statistics and actual tests. , hardware loss, or user-defined data to pre-set the appropriate volume value range, and the effective volume range is a volume value range outside the volume value range of the appropriate volume range.
所述根据所述预设音量区间,确定所述平均音量值对应的音量增益的步骤包括:The step of determining the volume gain corresponding to the average volume value according to the preset volume interval includes:
步骤S41,若所述预设音量区间为所述有效音量区间,则根据所述平均音量值与属于所述合适音量区间的特征音量值,确定所述平均音量值对应的第二音量增益;Step S41, if the preset volume range is the effective volume range, then determine a second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume value belonging to the appropriate volume range;
在本实施例中,需要说明的是,所述特征音量值是在合适音量区间的音量值范围内,用于代表合适音量区间的某些有特点的数值大小的音量值,例如:上限值、下限值、中位值或三分之一值等。In this embodiment, it should be noted that the characteristic volume value is within the volume value range of the appropriate volume interval, and is used to represent certain characteristic numerical values of the appropriate volume interval, for example: the upper limit value , lower limit, median or third value, etc.
具体地,所述预设音量区间包括有效音量区间和合适音量区间,若所述预设音量区间为所述有效音量区间,则根据所述平均音量值与所述合适音量区间的特征音量值的差值、比值、和值或函数关系等,确定所述平均音量值对应的第二音量增益,例如:所述平均音量值与所述合适音量区间上限值的差值、所述平均音量值与所述合适音量区间中位值的比值或所述平均音量值与所述合适音量值下限值的和的一半等。Specifically, the preset volume interval includes an effective volume interval and an appropriate volume interval, and if the preset volume interval is the effective volume interval, according to the average volume value and the characteristic volume value of the appropriate volume interval Difference, ratio, sum value or functional relationship, etc., to determine the second volume gain corresponding to the average volume value, for example: the difference between the average volume value and the upper limit value of the appropriate volume range, the average volume value The ratio of the median value of the appropriate volume range or the half of the sum of the average volume value and the lower limit of the appropriate volume value, etc.
优选地,所述根据所述平均音量值与属于所述合适音量区间的特征音量值,确定所述平均音量值对应的第二音量增益的步骤包括:Preferably, the step of determining the second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume values belonging to the appropriate volume range includes:
步骤S411,获取所述合适音量区间的中位值作为所述特征音量值;Step S411, obtaining the median value of the appropriate volume range as the characteristic volume value;
在本实施例中,需要说明的是,所述合适音量区间的中位值是将合适音量区间的上限值加上合适音量区间的下限值的和除以2得到的值。In this embodiment, it should be noted that the median value of the appropriate volume range is a value obtained by dividing the sum of the upper limit value of the appropriate volume range plus the lower limit value of the appropriate volume range by 2.
具体地,根据所述合适音量区间的上限值和下限值计算得到所述合适音量区间的中位值,将所述中位值作为所述特征音量值,其中,由于合适音量区间为预先设定的,因此所述合适音量区间的中位值也是可以根据预先设定的合适音量区间的音量值范围预先确定的。Specifically, the median value of the appropriate volume interval is calculated according to the upper limit value and the lower limit value of the appropriate volume interval, and the median value is used as the characteristic volume value, wherein, since the appropriate volume interval is previously Therefore, the median value of the appropriate volume interval can also be predetermined according to the preset volume value range of the appropriate volume interval.
步骤S412,根据所述平均音量值与所述中位值的比值,确定所述平均音量值对应的第二音量增益。Step S412: Determine a second volume gain corresponding to the average volume value according to the ratio of the average volume value to the median value.
在本实施例中,具体地,将所述平均音量值与所述中位值的比值作为增益调整后的音量与增益调整前的音量的倍数关系,将所述比值或比值转换得到的具体的音量值作为所述平均音量值对应的第二音量增益。In this embodiment, specifically, the ratio of the average volume value to the median value is used as the multiple relationship between the volume after gain adjustment and the volume before gain adjustment, and the specific ratio obtained by converting the ratio or the ratio The volume value is used as the second volume gain corresponding to the average volume value.
在本实施例中,在以样本音频信号的平均音量值代表整段音频信号的整体音量值确定音量增益的方法中,以合适音量区间的中位值为标准,能够最大限度的保证均衡后的第一均衡音量值处于合适音量区间,提高了语音信息传达的准确性和接收语音信息的人的听觉 舒适度。In this embodiment, in the method of determining the volume gain by using the average volume value of the sample audio signal to represent the overall volume value of the entire audio signal, the median value of the appropriate volume range is used as the standard, which can ensure the equalized volume to the greatest extent. The first balanced volume value is in an appropriate volume range, which improves the accuracy of voice information transmission and the auditory comfort of the person receiving the voice information.
步骤S42,若所述预设音量区间为合适音量区间,则确定所述平均音量值对应的第三音量增益。Step S42, if the preset volume range is an appropriate volume range, then determine a third volume gain corresponding to the average volume value.
在本实施例中,具体地,若所述预设音量区间为合适音量区间,则说明所述平均音量值本身就是合适的音量值大小,不需要再进行音量增益调整,则确定所述平均音量值对应的第三音量增益,所述第三音量增益为不变增益,用于保持增益调整前后的音量值大小不变。In this embodiment, specifically, if the preset volume interval is an appropriate volume interval, it means that the average volume value itself is an appropriate volume value, and there is no need to adjust the volume gain, then the average volume value is determined. value corresponding to the third volume gain, the third volume gain is a constant gain, which is used to keep the volume value before and after the gain adjustment unchanged.
在本实施例中,通过音量区间的设定,实现了对属于不同音量区间的音量值进行不同的增益调整,对本身大小合适的音量值无需再进行不必要的增益调整,对需要调整的音量值根据其音量值大小与合适音量区间的差异进行适应性调整,进而解决了固定增益由于音源音量值大小不同导致的输出音频的音量值不均衡的技术问题,实现了对整段音频全部音频信号的初始音量值大小的自动均衡。In this embodiment, through the setting of volume intervals, different gain adjustments are realized for volume values belonging to different volume intervals. It is not necessary to perform unnecessary gain adjustments for volume values that are appropriate in size. The value is adaptively adjusted according to the difference between its volume value and the appropriate volume range, thereby solving the technical problem of unbalanced volume value of the output audio caused by the volume value of the fixed gain due to the difference in the volume value of the sound source, and realizing the control of all audio signals in the entire audio segment. Automatic equalization of the initial volume value.
本申请实施例提供一种通话式门铃的音量均衡装置,所述通话式门铃的音量均衡装置包括:An embodiment of the present application provides a volume equalization device for a talking doorbell, and the volume equalizing device for a talking doorbell includes:
音频信号获取模块,用于获取音频信号以及所述音频信号的初始音量值;An audio signal acquisition module, configured to acquire an audio signal and an initial volume value of the audio signal;
样本音频信号获取模块,用于从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;A sample audio signal acquisition module, configured to acquire a sample audio signal and an average volume value of the sample audio signal from the audio signal;
音量区间确定模块,用于确定所述平均音量值所属的预设音量区间;A volume interval determination module, configured to determine the preset volume interval to which the average volume value belongs;
音量增益确定模块,用于根据所述预设音量区间,生成平均音量值对应的音量增益;A volume gain determination module, configured to generate a volume gain corresponding to an average volume value according to the preset volume interval;
音量均衡模块,用于根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。A volume equalization module, configured to adjust the initial volume value according to the volume gain to obtain a first equalized volume value corresponding to the audio signal.
可选地,所述样本音频信号获取模块还用于:Optionally, the sample audio signal acquisition module is also used for:
判断所述平均音量值是否属于预设噪声音量值范围;judging whether the average volume value belongs to the preset noise volume value range;
若所述平均音量值不属于预设噪声音量值范围,则执行步骤:确定所述平均音量值所属的预设音量区间;If the average volume value does not belong to the preset noise volume value range, the step of: determining the preset volume interval to which the average volume value belongs;
若所述平均音量值属于预设噪声音量值范围,则将所述样本音频信号作为噪声音频信号,并返回执行步骤:从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值。If the average volume value belongs to the preset noise volume value range, then use the sample audio signal as a noise audio signal, and return to the execution step: obtain the sample audio signal and the average volume of the sample audio signal from the audio signal value.
可选地,所述所述样本音频信号获取模块还用于:Optionally, the sample audio signal acquisition module is also used for:
获取所述噪声音频信号的噪声初始音量值;Acquiring the noise initial volume value of the noise audio signal;
生成所述噪声初始音量值的第一音量增益;generating a first volume gain of the initial volume value of the noise;
根据所述第一音量增益调整所述噪声初始音量值,得到所述噪声音频信号对应的第二均衡音量值。The initial noise volume value is adjusted according to the first volume gain to obtain a second balanced volume value corresponding to the noise audio signal.
可选地,所述音量增益确定模块还用于:Optionally, the volume gain determination module is also used for:
若所述预设音量区间为有效音量区间,则根据所述平均音量值与属于所述合适音量区间的特征音量值,确定所述平均音量值对应的第二音量增益;If the preset volume interval is an effective volume interval, determining a second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume value belonging to the appropriate volume interval;
若所述预设音量区间为合适音量区间,则确定所述平均音量值对应的第三音量增益。If the preset volume range is an appropriate volume range, then determine a third volume gain corresponding to the average volume value.
可选地,所述音量增益确定模块还用于:Optionally, the volume gain determination module is also used for:
获取所述合适音量区间的中位值作为所述特征音量值;Obtaining the median value of the appropriate volume interval as the characteristic volume value;
根据所述平均音量值与所述中位值的比值,确定所述平均音量值对应的第二音量增益。A second volume gain corresponding to the average volume value is determined according to a ratio of the average volume value to the median value.
可选地,所述音量区间确定模块还用于:Optionally, the volume range determination module is also used for:
判断所述平均音量值是否处于预设合适音量值范围;judging whether the average volume value is within a preset appropriate volume value range;
若所述平均音量值处于预设合适音量值范围,则所述平均音量值属于合适音量区间;If the average volume value is within a preset range of appropriate volume values, then the average volume value belongs to an appropriate volume range;
若所述平均音量值不处于预设合适音量值范围,则所述平均音量值属于有效音量区间。If the average volume value is not within the preset appropriate volume value range, the average volume value belongs to an effective volume interval.
可选地,所述音量均衡模块还用于:Optionally, the volume equalization module is also used for:
根据所述音量增益调整所述初始音量值,得到中间音量值;adjusting the initial volume value according to the volume gain to obtain an intermediate volume value;
检测所述中间音量值是否属于预设噪声音量值范围;Detecting whether the intermediate volume value belongs to a preset noise volume value range;
若所述中间音量值属于预设噪声音量值范围,则生成所述中间音量值的第四音量增益;If the intermediate volume value belongs to the preset noise volume value range, generating a fourth volume gain for the intermediate volume value;
根据所述第四音量增益调整所述中间音量值,得到第三均衡音量值;adjusting the intermediate volume value according to the fourth volume gain to obtain a third balanced volume value;
若所述中间音量值不属于预设噪声音量值范围,则将所述中间音量值作为所述第一均衡音量值。If the intermediate volume value does not belong to the preset noise volume value range, the intermediate volume value is used as the first balanced volume value.
本申请实施例提供一种通话式门铃的音量均衡设备,所述通话式门铃的音量均衡设备包括处理器以及存储在所述处理器内并可在所述处理器上运行的通话式门铃的音量均衡程序,其中,所述通话式门铃的音量均衡程序被所述处理器执行时实现上述实施例一中的通话式门铃的音量均衡方法。An embodiment of the present application provides a volume equalization device for a talking doorbell. The volume equalizing device for a talking doorbell includes a processor and a volume of the talking doorbell that is stored in the processor and can run on the processor. An equalization program, wherein, when the volume equalization program of the talking doorbell is executed by the processor, the method for volume equalization of the talking doorbell in the first embodiment is realized.
下面参考图2,本申请的通话式门铃的音量均衡设备可以包括:处理器1001,例如CPU,喇叭1004,用户接口1003,存储器1005,麦克风1006,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。喇叭1004用于播放声音信号。麦克风1006用于接收喇叭发出的信号以及用户触发的语音信号等。Referring to FIG. 2 , the volume equalization device of the talking doorbell of the present application may include: a processor 1001 such as a CPU, a speaker 1004 , a user interface 1003 , a memory 1005 , a microphone 1006 , and a communication bus 1002 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 . The speaker 1004 is used to play sound signals. The microphone 1006 is used to receive signals from the speaker and voice signals triggered by the user.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile terminals (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
本申请提供的通话式门铃的音量均衡设备,采用上述实施例一中的通话式门铃的音量均衡方法,解决了现有技术中增益调整后的音频音量不均衡的技术问题。与现有技术相比,本申请实施例提供的通话式门铃的音量均衡设备的有益效果与上述实施例一提供的通话式门铃的音量均衡方法的有益效果相同,且该通话式门铃的音量均衡设备中的其他技术特征与上一实施例方法公开的特征相同,在此不做赘述。The volume equalization device of the talking doorbell provided by the present application adopts the volume equalization method of the talking doorbell in the first embodiment above, and solves the technical problem of unbalanced audio volume after gain adjustment in the prior art. Compared with the prior art, the beneficial effect of the volume equalization device of the talking doorbell provided by the embodiment of the present application is the same as that of the volume equalizing method of the talking doorbell provided in the first embodiment above, and the volume equalization of the talking doorbell Other technical features in the device are the same as those disclosed by the method in the previous embodiment, and will not be repeated here.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.
本实施例提供一种计算机可读存储介质,具有存储在其上的计算机可读程序指令,计算机可读程序指令用于执行上述实施例一中的通话式门铃的音量均衡方法。This embodiment provides a computer-readable storage medium, which has computer-readable program instructions stored thereon, and the computer-readable program instructions are used to implement the volume equalization method for a talking doorbell in the first embodiment above.
本申请实施例提供的计算机可读存储介质例如可以是U盘,但不限于电、磁、光、电磁、红外线、或半导体的系统、系统或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、系统或者器件使用或者与其结合使用。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。The computer-readable storage medium provided in the embodiment of the present application may be, for example, a USB flash drive, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, system or device. Program code embodied on a computer readable storage medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
上述计算机可读存储介质可以是电子设备中所包含的;也可以是单独存在,而未装配入电子设备中。The above-mentioned computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被电子设备执行时,使得电子设备:获取音频信号以及所述音频信号的初始音量值;从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;确定所述平均音量值所属的预设音量区间;根据所述预设音量区间,确定所述平均音量值对应的音量增益;根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires the audio signal and the initial volume value of the audio signal; from the audio signal Acquiring a sample audio signal and an average volume value of the sample audio signal; determining a preset volume interval to which the average volume value belongs; determining a volume gain corresponding to the average volume value according to the preset volume interval; according to the The volume gain adjusts the initial volume value to obtain a first balanced volume value corresponding to the audio signal.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。 也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。The modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
本申请提供的计算机可读存储介质,存储有用于执行上述通话式门铃的音量均衡方法的计算机可读程序指令,解决了现有技术中增益调整后的音频音量不均衡的技术问题。与现有技术相比,本申请实施例提供的计算机可读存储介质的有益效果与上述实施例一提供的通话式门铃的音量均衡方法的有益效果相同,在此不做赘述。The computer-readable storage medium provided by the present application stores computer-readable program instructions for implementing the volume equalization method of the above-mentioned talking doorbell, which solves the technical problem of unbalanced audio volume after gain adjustment in the prior art. Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by the embodiment of the present application is the same as the beneficial effect of the volume equalization method for the talking doorbell provided by the first embodiment above, and will not be repeated here.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利处理范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent processing scope of the present application in the same way.
Claims (10)
- 一种通话式门铃的音量均衡方法,其特征在于,所述通话式门铃的音量均衡方法包括:A volume equalization method of a talking doorbell, characterized in that the volume equalization method of the talking doorbell comprises:获取音频信号以及所述音频信号的初始音量值;Obtain an audio signal and an initial volume value of the audio signal;从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;obtaining a sample audio signal and an average volume value of the sample audio signal from the audio signal;确定所述平均音量值所属的预设音量区间;determining a preset volume interval to which the average volume value belongs;根据所述预设音量区间,确定所述平均音量值对应的音量增益;determining a volume gain corresponding to the average volume value according to the preset volume interval;根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。The initial volume value is adjusted according to the volume gain to obtain a first balanced volume value corresponding to the audio signal.
- 如权利要求1所述的通话式门铃的音量均衡方法,其特征在于,所述从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值的步骤之后,还包括:The volume equalization method of the talking doorbell according to claim 1, wherein after the step of obtaining the sample audio signal and the average volume value of the sample audio signal from the audio signal, further comprising:判断所述平均音量值是否属于预设噪声音量值范围;judging whether the average volume value belongs to the preset noise volume value range;若所述平均音量值不属于预设噪声音量值范围,则执行步骤:确定所述平均音量值所属的预设音量区间;If the average volume value does not belong to the preset noise volume value range, the step of: determining the preset volume interval to which the average volume value belongs;若所述平均音量值属于预设噪声音量值范围,则将所述样本音频信号作为噪声音频信号,并返回执行步骤:从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值。If the average volume value belongs to the preset noise volume value range, then use the sample audio signal as a noise audio signal, and return to the execution step: obtain the sample audio signal and the average volume of the sample audio signal from the audio signal value.
- 如权利要求2所述的通话式门铃的音量均衡方法,其特征在于,所述将所述样本音频信号作为噪声音频信号的步骤之后,还包括:The volume equalization method of a talking doorbell according to claim 2, wherein, after the step of using the sample audio signal as a noise audio signal, further comprising:获取所述噪声音频信号的噪声初始音量值;Acquiring the noise initial volume value of the noise audio signal;生成所述噪声初始音量值的第一音量增益;generating a first volume gain of the initial volume value of the noise;根据所述第一音量增益调整所述噪声初始音量值,得到所述噪声音频信号对应的第二均衡音量值。The initial noise volume value is adjusted according to the first volume gain to obtain a second balanced volume value corresponding to the noise audio signal.
- 如权利要求1所述的通话式门铃的音量均衡方法,其特征在于,所述预设音量区间包括有效音量区间和合适音量区间,所述确定所述平均音量值所属的预设音量区间的步骤包括:The volume equalization method of a talking doorbell according to claim 1, wherein the preset volume interval includes an effective volume interval and an appropriate volume interval, and the step of determining the preset volume interval to which the average volume value belongs include:判断所述平均音量值是否处于预设合适音量值范围;judging whether the average volume value is within a preset appropriate volume value range;若所述平均音量值处于预设合适音量值范围,则所述平均音量值属于所述合适音量区 间;If the average volume value is within the preset appropriate volume value range, then the average volume value belongs to the appropriate volume range;若所述平均音量值不处于预设合适音量值范围,则所述平均音量值属于所述有效音量区间。If the average volume value is not within the preset appropriate volume value range, the average volume value belongs to the effective volume range.
- 如权利要求4所述的通话式门铃的音量均衡方法,其特征在于,所述根据所述预设音量区间,确定所述平均音量值对应的音量增益的步骤包括:The volume equalization method of a talking doorbell according to claim 4, wherein the step of determining the volume gain corresponding to the average volume value according to the preset volume interval comprises:若所述预设音量区间为所述有效音量区间,则根据所述平均音量值与属于所述合适音量区间的特征音量值,确定所述平均音量值对应的第二音量增益;If the preset volume interval is the effective volume interval, determining a second volume gain corresponding to the average volume value according to the average volume value and the characteristic volume value belonging to the appropriate volume interval;若所述预设音量区间为所述合适音量区间,则确定所述平均音量值对应的第三音量增益。If the preset volume interval is the appropriate volume interval, then determine a third volume gain corresponding to the average volume value.
- 如权利要求5所述的通话式门铃的音量均衡方法,其特征在于,所述根据所述平均音量值与属于所述合适音量区间的特征音量值,确定所述平均音量值对应的第二音量增益的步骤包括:The volume equalization method for a talking doorbell according to claim 5, wherein the second volume corresponding to the average volume value is determined according to the average volume value and the characteristic volume value belonging to the appropriate volume interval Gain steps include:获取所述合适音量区间的中位值作为所述特征音量值;Obtaining the median value of the appropriate volume interval as the characteristic volume value;根据所述平均音量值与所述中位值的比值,确定所述平均音量值对应的第二音量增益。A second volume gain corresponding to the average volume value is determined according to a ratio of the average volume value to the median value.
- 如权利要求1所述的通话式门铃的音量均衡方法,其特征在于,所述根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值的步骤包括:The volume equalization method of a talking doorbell according to claim 1, wherein the step of adjusting the initial volume value according to the volume gain to obtain the first equalized volume value corresponding to the audio signal comprises:根据所述音量增益调整所述初始音量值,得到中间音量值;adjusting the initial volume value according to the volume gain to obtain an intermediate volume value;检测所述中间音量值是否属于预设噪声音量值范围;Detecting whether the intermediate volume value belongs to a preset noise volume value range;若所述中间音量值属于预设噪声音量值范围,则生成所述中间音量值的第四音量增益;If the intermediate volume value belongs to the preset noise volume value range, generating a fourth volume gain for the intermediate volume value;根据所述第四音量增益调整所述中间音量值,得到第三均衡音量值;adjusting the intermediate volume value according to the fourth volume gain to obtain a third balanced volume value;若所述中间音量值不属于预设噪声音量值范围,则将所述中间音量值作为所述第一均衡音量值。If the intermediate volume value does not belong to the preset noise volume value range, the intermediate volume value is used as the first balanced volume value.
- 一种通话式门铃的音量均衡装置,其特征在于,所述通话式门铃的音量均衡装置包括:A volume equalizing device for a talking doorbell, characterized in that the volume equalizing device for a talking doorbell comprises:音频信号获取模块,用于获取音频信号以及所述音频信号的初始音量值;An audio signal acquisition module, configured to acquire an audio signal and an initial volume value of the audio signal;样本音频信号获取模块,用于从所述音频信号中获取样本音频信号以及所述样本音频信号的平均音量值;A sample audio signal acquisition module, configured to acquire a sample audio signal and an average volume value of the sample audio signal from the audio signal;音量区间确定模块,用于确定所述平均音量值所属的预设音量区间;A volume interval determination module, configured to determine the preset volume interval to which the average volume value belongs;音量增益确定模块,用于根据所述预设音量区间,确定所述平均音量值对应的音量增益;A volume gain determination module, configured to determine the volume gain corresponding to the average volume value according to the preset volume interval;音量均衡模块,用于根据所述音量增益调整所述初始音量值,得到所述音频信号对应的第一均衡音量值。A volume equalization module, configured to adjust the initial volume value according to the volume gain to obtain a first equalized volume value corresponding to the audio signal.
- 一种通话式门铃的音量均衡设备,其特征在于,所述通话式门铃的音量均衡设备包括处理器以及存储在所述处理器内并可在所述处理器上运行的通话式门铃的音量均衡程序,其中,所述通话式门铃的音量均衡程序被所述处理器执行时实现如上权利要求1至7中任一项所述的通话式门铃的音量均衡方法的步骤。A volume equalizing device for a talking doorbell, characterized in that the volume equalizing device for a talking doorbell includes a processor and a volume equalizing device for a talking doorbell that is stored in the processor and can run on the processor. program, wherein, when the volume equalization program of the talking doorbell is executed by the processor, the steps of the volume equalization method for the talking doorbell as described in any one of claims 1 to 7 are realized.
- 一种可读存储介质,其特征在于,所述可读存储介质上存储有实现通话式门铃的音量均衡方法的程序,所述实现通话式门铃的音量均衡方法的程序被处理器执行以实现如权利要求1至7中任一项所述通话式门铃的音量均衡方法的步骤。A readable storage medium, characterized in that, the readable storage medium stores a program for realizing the volume equalization method of the talking doorbell, and the program for realizing the volume equalization method of the talking doorbell is executed by a processor to realize the following: The steps of the volume equalization method of the talking doorbell described in any one of claims 1 to 7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111250855.6 | 2021-10-26 | ||
CN202111250855.6A CN113963716A (en) | 2021-10-26 | 2021-10-26 | Volume balancing method, device and equipment for talking doorbell and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023070792A1 true WO2023070792A1 (en) | 2023-05-04 |
Family
ID=79467337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/132597 WO2023070792A1 (en) | 2021-10-26 | 2021-11-24 | Volume balancing method and device for talk-on doorbell, and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113963716A (en) |
WO (1) | WO2023070792A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114550393A (en) * | 2022-02-23 | 2022-05-27 | 潍坊歌尔电子有限公司 | Doorbell control method, electronic device and readable storage medium |
CN114708853A (en) * | 2022-03-18 | 2022-07-05 | 歌尔股份有限公司 | Interactive system |
CN114679658A (en) * | 2022-03-23 | 2022-06-28 | 深圳市大十科技有限公司 | Dynamic bass compensation system and method for audio device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885711A (en) * | 2005-06-24 | 2006-12-27 | 腾讯科技(深圳)有限公司 | Volume control method and system |
CN205541185U (en) * | 2016-04-28 | 2016-08-31 | 歌尔声学股份有限公司 | Automatic adjust doorbell of volume |
CN108986830A (en) * | 2018-08-28 | 2018-12-11 | 安徽淘云科技有限公司 | A kind of audio corpus screening technique and device |
CN109217834A (en) * | 2018-10-19 | 2019-01-15 | 歌尔科技有限公司 | Gain adjusting method, audio frequency apparatus and readable storage medium storing program for executing |
CN109996143A (en) * | 2019-03-07 | 2019-07-09 | 上海蔚来汽车有限公司 | Volume adjusting method, device, system and audio-frequence player device and vehicle |
US10466959B1 (en) * | 2018-03-20 | 2019-11-05 | Amazon Technologies, Inc. | Automatic volume leveler |
CN111986696A (en) * | 2020-08-27 | 2020-11-24 | 湖南融视文化创意有限公司 | Method for efficiently processing song volume balance |
-
2021
- 2021-10-26 CN CN202111250855.6A patent/CN113963716A/en active Pending
- 2021-11-24 WO PCT/CN2021/132597 patent/WO2023070792A1/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885711A (en) * | 2005-06-24 | 2006-12-27 | 腾讯科技(深圳)有限公司 | Volume control method and system |
CN205541185U (en) * | 2016-04-28 | 2016-08-31 | 歌尔声学股份有限公司 | Automatic adjust doorbell of volume |
US10466959B1 (en) * | 2018-03-20 | 2019-11-05 | Amazon Technologies, Inc. | Automatic volume leveler |
CN108986830A (en) * | 2018-08-28 | 2018-12-11 | 安徽淘云科技有限公司 | A kind of audio corpus screening technique and device |
CN109217834A (en) * | 2018-10-19 | 2019-01-15 | 歌尔科技有限公司 | Gain adjusting method, audio frequency apparatus and readable storage medium storing program for executing |
CN109996143A (en) * | 2019-03-07 | 2019-07-09 | 上海蔚来汽车有限公司 | Volume adjusting method, device, system and audio-frequence player device and vehicle |
CN111986696A (en) * | 2020-08-27 | 2020-11-24 | 湖南融视文化创意有限公司 | Method for efficiently processing song volume balance |
Also Published As
Publication number | Publication date |
---|---|
CN113963716A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023070792A1 (en) | Volume balancing method and device for talk-on doorbell, and readable storage medium | |
US10880647B2 (en) | Active acoustic filter with location-based filter characteristics | |
WO2018059030A1 (en) | Volume adjustment method and terminal | |
WO2017215657A1 (en) | Sound effect processing method, and terminal device | |
CN112954115B (en) | Volume adjusting method and device, electronic equipment and storage medium | |
US10461712B1 (en) | Automatic volume leveling | |
WO2019033987A1 (en) | Prompting method and apparatus, storage medium, and terminal | |
WO2019033438A1 (en) | Audio signal adjustment method and device, storage medium, and terminal | |
CN111508510B (en) | Audio processing method and device, storage medium and electronic equipment | |
US12069451B2 (en) | User hearing protection method, apparatus, and electronic device | |
CN107465824B (en) | Volume adjusting method and device, mobile terminal and storage medium | |
CN107526570B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
US11822854B2 (en) | Automatic volume adjustment method and apparatus, medium, and device | |
WO2019033942A1 (en) | Volume adjustment method and apparatus, terminal device, and storage medium | |
CN111462764A (en) | Audio encoding method, apparatus, computer-readable storage medium and device | |
GB2533579A (en) | An intelligent volume control interface | |
KR20190012003A (en) | Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics | |
CN107506168B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN107483734B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
WO2019033941A1 (en) | Volume adjustment method and apparatus, terminal device, and storage medium | |
WO2024131371A1 (en) | Voice processing method and apparatus, and electronic device | |
CN114902560B (en) | Apparatus and method for automatic volume control with ambient noise compensation | |
TW202226230A (en) | Method to mute and unmute a microphone signal | |
CN116193311A (en) | Sound quality optimization method of wireless earphone, related equipment, medium and program product | |
WO2022199354A1 (en) | Call volume adjustment method and apparatus, and terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21962136 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |