WO2014094496A1 - Audio output adjustment method and system thereof - Google Patents
Audio output adjustment method and system thereof Download PDFInfo
- Publication number
- WO2014094496A1 WO2014094496A1 PCT/CN2013/085759 CN2013085759W WO2014094496A1 WO 2014094496 A1 WO2014094496 A1 WO 2014094496A1 CN 2013085759 W CN2013085759 W CN 2013085759W WO 2014094496 A1 WO2014094496 A1 WO 2014094496A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frequency
- volume
- ambient sound
- output audio
- sub
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04S—STEREOPHONIC SYSTEMS
- H04S7/00—Indicating arrangements; Control arrangements, e.g. balance control
- H04S7/30—Control circuits for electronic adaptation of the sound field
- H04S7/307—Frequency adjustment, e.g. tone control
Definitions
- the present invention relates to the technical field of audio adjustment, and more particularly to an output audio adjustment method, and an output audio adjustment system.
- the sound frequency of the ambient sound is higher than the sound frequency of the output audio itself, and the sound of the high frequency is sharper than the sound of the lower frequency.
- the human ear is more sensitive to sharp sounds than to low-pitched sounds, even if the volume of the output audio is adjusted to be higher than the ambient sound, only ambient noise may be heard, and the content of the output audio may not be heard clearly.
- an object of the present invention is to provide an output audio adjustment method and system thereof, which can automatically adjust output audio according to environmental noise, so that the user can listen as clearly as possible in various use environments. Output the content of the audio.
- An output audio adjustment method includes the following steps:
- the frequency of the output audio is increased.
- An output audio adjustment system includes:
- a frequency acquisition module configured to acquire a frequency of a current ambient sound and a frequency of the currently output audio
- a frequency discriminating module configured to determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold
- a frequency adjustment module configured to increase a frequency of the output audio when the determination result is less than the preset threshold.
- the frequency of the current ambient sound and the frequency of the output audio are obtained by real-time detection, and the frequency magnitudes of the two are compared, when the difference between the output audio and the frequency of the ambient sound is less than
- the threshold is preset, the frequency of the output audio is increased, so that the user can clearly hear the content of the output audio under different environmental sounds.
- FIG. 1 is a schematic flow chart of a first embodiment of an output audio adjustment method according to the present invention
- FIG. 2 is a schematic flow chart of a second embodiment of an output audio adjustment method according to the present invention.
- FIG. 3 is a schematic structural view of a first embodiment of an output audio adjustment system of the present invention.
- FIG. 4 is a schematic structural view of a second embodiment of the output audio adjustment system of the present invention.
- FIG. 1 is a schematic flow chart of a first embodiment of an output audio adjustment method according to the present invention.
- the output audio adjustment method includes the following steps:
- the frequency and volume of the ambient sound can be measured in real time by a sound sensor.
- the frequency and volume of the output audio can be measured in real time by the sound sensor, or can be obtained by reading relevant parameters of the output audio in the audio and video data.
- the frequency of the ambient sound may be determined by any of the following methods, but is not limited to the following manners:
- the first way is: obtaining the frequency of the ambient sound having the highest frequency as the frequency of the current ambient sound; in the present mode, the highest frequency ambient sound component is used as the frequency of the current ambient sound, and the highest frequency can be prevented.
- the ambient sound interferes with the output audio, maximizing the frequency difference between the output audio and the ambient sound, making the output audio more prominent.
- the second way is to obtain the frequency average of all ambient sounds as the frequency of the current ambient sound; wherein the frequency average of the ambient sounds is the frequency average of the components of all the different frequencies included in the ambient sound.
- the component having a large volume has a large influence on the operation result f, and thus is calculated by this method.
- the frequency of the current ambient sound obtained can best reflect the influence of the frequency of the ambient sound on the listening of the output audio.
- step S102 the frequency of the output audio is compared with the frequency of the acquired ambient sound, and the difference is calculated to determine whether the difference is less than a preset threshold.
- the preset threshold should be the minimum allowed between the frequency of the output audio and the frequency of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
- step S103 needs to be performed to automatically adjust the frequency of the output audio; otherwise, the frequency of the output audio itself is already high enough, and step S103 is not required, and the process returns to step S101 and S102: Re-acquire the frequency of the ambient sound and the output audio for comparison.
- step S103 the frequency of the output audio is adjusted.
- the frequency of the output audio is adjusted.
- the frequency of the output audio can be increased by a preset value, or by several times.
- the frequency of the output audio is adjusted according to the frequency of the ambient sound and a preset optimal frequency difference, wherein the preset optimal frequency difference may be according to different needs.
- the specific setting is preferably a difference in sound frequency that optimizes the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on an optimal auditory effect empirical knowledge base table. While adjusting the frequency of the output audio, one of the following methods may be adopted, but is not limited to the following methods:
- the first method is to directly adjust the frequency of the output audio to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference;
- the second method is: determining whether the sum of the frequency of the ambient sound and the preset optimal frequency difference is greater than a preset frequency maximum; if the frequency is greater than the maximum value, adjusting the frequency of the output audio Up to the frequency maximum; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
- the above two methods can maintain the difference in sound frequency of the human ear hearing effect between the frequency of the output audio and the frequency of the ambient sound, so that the user can better listen to the content of the output audio.
- the second method sets the maximum value of the frequency, and when the ambient audio frequency is too high, the frequency of the output audio is no longer unrestricted, and the frequency of the output audio is prevented from becoming too harsh, which is more suitable for the general user. Listen to the request.
- one of the plurality of sub-audies included in the output audio may be selected as a reference, thereby including all of the output audio
- the frequency of the sub audio is adjusted.
- the following methods can be used:
- the output audio adjusting method of the present invention can determine and automatically adjust the sound frequency of the output audio according to the sound frequency of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound of the audio and video, thereby obtaining a better hearing effect.
- FIG. 2 is a schematic flow chart of a second embodiment of the output audio adjustment method of the present invention.
- S105 Determine whether a difference between the output audio and a volume value of the ambient sound is less than a preset threshold.
- the volume of the ambient sound may be determined by any one of the following methods, but is not limited to the following manner:
- the first way is to obtain the volume value of the ambient sound having the highest frequency as the volume value of the current ambient sound. Taking the highest-level ambient sound component as the volume of the current ambient sound, the ambient sound with the highest volume can be prevented from interfering with the output audio, and the volume difference between the output audio and the ambient sound is maximized, so that the output audio is more prominent. .
- the second way is to obtain the volume average of all ambient sounds as the volume value of the current ambient sound.
- the volume average of the ambient sound is the volume average of the components of all the different frequencies included in the ambient sound.
- the component having a high frequency has a large influence on the operation result a, and thus is calculated by this method.
- the volume of the current ambient sound obtained can best reflect the effect of the volume of the ambient sound on the listening of the output audio.
- step S105 the volume of the output audio is compared with the frequency of the acquired ambient sound, and the difference is calculated to determine whether the difference is less than a preset threshold.
- the preset threshold should be the minimum allowed between the volume of the output audio and the volume of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
- step S106 needs to be performed to automatically adjust the volume of the output audio; otherwise, the volume of the output audio itself is already high enough, and step S106 need not be performed, and the process returns to step S104 and S105, reacquire the volume of the ambient sound and the output audio for comparison.
- step S106 the volume of the output audio is adjusted.
- the volume of the output audio can be increased by a preset value, or by several times.
- the volume of the output audio is adjusted according to the volume of the ambient sound and a preset optimal volume difference, wherein the preset optimal volume difference may be according to different needs.
- the specific setting is preferably a volume difference that optimizes the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on an optimal auditory effect experience knowledge base table. Then, when adjusting the volume of the output audio, one of the following methods may be adopted, but is not limited to the following methods:
- the first method is to directly adjust the volume of the output audio to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference;
- the second method is: determining whether the sum of the volume of the ambient sound and the preset optimal volume difference is greater than a preset volume maximum; if greater than the volume maximum, adjusting the volume of the output audio Up to the volume maximum; otherwise, the volume of the output audio is adjusted to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference.
- the above two methods can maintain the difference of the sound volume of the ear hearing effect between the volume of the output audio and the volume of the ambient sound, so that the user can better listen to the content of the output audio.
- the second method sets the maximum value of the volume, and when the volume of the ambient sound is too high, the volume of the output audio is no longer increased without limit, and the volume of the output audio is prevented from being too high and becomes harsh, which is more suitable for the general user. Listening requirements.
- the output audio adjusting method of the present invention can determine and automatically adjust the sound frequency of the output audio and the volume of the sound according to the sound frequency and volume of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound frequency and volume of the audio and video. Get better hearing results.
- FIG. 3 is a schematic structural diagram of a first embodiment of an output audio adjustment system according to the present invention.
- the output audio adjustment system includes:
- the frequency obtaining module 11 is configured to acquire a frequency of the current ambient sound and a frequency of the currently output audio
- the frequency discriminating module 12 is configured to determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold
- the frequency adjustment module 13 is configured to increase the frequency of the output audio when the determination result is less than the preset threshold.
- the frequency acquisition module 11 can measure the frequency and volume of the ambient sound in real time by controlling the sound sensor.
- the frequency and volume of the output audio can be measured in real time by the sound sensor, or can be obtained by reading relevant parameters of the output audio in the audio and video data.
- the frequency acquisition module includes any one of the following sub-modules:
- a highest frequency acquisition submodule for obtaining a frequency of an ambient sound having the highest frequency as a frequency of the current ambient sound
- An average frequency acquisition sub-module configured to obtain a frequency average of all ambient sounds as a frequency of the current ambient sound
- the frequency of the ambient sound m is the number of sub-environment sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and the Am volume is the volume of the mth sub-ambient sound.
- the highest frequency acquisition sub-module uses the highest-frequency ambient sound component as the frequency of the current ambient sound, which can prevent the ambient sound of the highest frequency from listening to the output audio, and maximize the frequency of the output audio and the ambient sound. The difference makes the output audio more prominent.
- the average frequency acquisition sub-module acquires a frequency average of the ambient sounds, that is, a frequency average of components of all the different frequencies included in the ambient sound.
- the frequency operation acquisition sub-module takes into account the influence of the volume and the frequency of each component of all the different frequencies included in the ambient sound, and the component with a large volume has a greater influence on the operation result f, so the calculation is obtained by this method.
- the frequency of the current ambient sound most accurately reflects the effect of the frequency of the ambient sound on the listening of the output audio.
- the frequency discriminating module 12 compares the frequency of the output audio with the frequency of the acquired ambient sound, calculates a difference thereof, and determines whether the difference is less than a preset threshold.
- the preset threshold should be the minimum allowed between the frequency of the output audio and the frequency of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
- the difference is less than the preset threshold, indicating that the frequency of the output audio is too low, the frequency of the output audio needs to be automatically adjusted; otherwise, the frequency of the output audio itself is already high enough that no adjustment is needed.
- the frequency adjustment module 13 adjusts the frequency of the output audio.
- There are various ways to increase the frequency of the output audio for example, setting a frequency modulator on an output channel of the output audio to increase the output frequency.
- the frequency of the output audio can be increased by a preset value, or by several times.
- the frequency adjustment module 13 adjusts the frequency of the output audio according to the frequency of the ambient sound and a preset optimal frequency difference, wherein the preset optimal frequency difference
- the value can be specifically set according to different needs, and is preferably a difference in sound frequency that makes the human auditory effect optimal, and can be determined by referring to a well-known physiological knowledge setting or based on the best auditory effect experience knowledge base table.
- the frequency adjustment module 13 includes any one of the following sub-modules:
- a first frequency adjustment submodule configured to adjust a frequency of the output audio to be equal to a sum of a frequency equal to the ambient sound and a preset optimal frequency difference
- a second frequency adjustment submodule configured to determine whether a sum of a frequency of the ambient sound and a preset optimal frequency difference is greater than a preset frequency maximum; if the frequency is greater than the maximum value, the output audio is The frequency is adjusted to be equal to the maximum value of the frequency; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
- the first and second frequency adjustment sub-modules can maintain a difference in sound frequency between the frequency of the output audio and the frequency of the ambient sound, so that the user can better listen to the output audio. content.
- the second frequency adjustment sub-module sets the frequency maximum value, and when the ambient audio frequency is too high, the frequency of the output audio is no longer unrestricted, and the frequency of the output audio is prevented from becoming too high and becomes harsh. Meet the general user's listening requirements.
- one of the plurality of sub-audies included in the output audio may be selected as a reference, so that the frequency of all the sub-audines included in the output audio Make adjustments. then:
- the first and second frequency adjustment submodules when the frequency of the output audio is adjusted to be equal to a sum of a frequency of the ambient sound and a preset optimal frequency difference, the output audio includes The frequency of the highest frequency sub-audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference; acquiring the frequency adjustment amplitude of the sub-audio having the highest frequency; adjusting the amplitude adjustment according to the frequency Describe the frequency of all sub-audines included in the output audio;
- the second frequency adjustment submodule adjusts a frequency of the sub audio having the highest frequency included in the output audio to be equal to the maximum value of the frequency when the frequency of the output audio is adjusted to be equal to the maximum value of the frequency Obtaining a frequency adjustment amplitude of the sub-audio having the highest frequency; adjusting a frequency of all sub-audines included in the output audio according to the frequency adjustment amplitude.
- the output audio adjustment system of the present invention can determine and automatically adjust the sound frequency of the output audio according to the sound frequency of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound of the audio and video to obtain a better audible effect.
- FIG. 4 is a schematic structural diagram of a second embodiment of the output audio adjustment system of the present invention.
- the volume obtaining module 14 is configured to acquire a volume value of the current ambient sound and a volume value of the currently output audio;
- the volume discriminating module 15 is configured to determine whether a difference between the volume of the output audio and the volume of the ambient sound is less than a preset threshold
- the volume adjustment module 16 is configured to increase the volume of the output audio when the determination result is less than the preset threshold.
- the volume acquisition module 14 includes any one of the following sub-modules:
- the highest volume acquisition sub-module is configured to obtain the volume value of the ambient sound with the highest volume as the volume of the current ambient sound
- the average volume acquisition sub-module is configured to obtain the volume average of all ambient sounds as the volume of the current ambient sound
- the highest volume acquisition sub-module uses the highest-level ambient sound component as the volume of the current ambient sound, which can prevent the ambient sound of the highest volume from interfering with the output audio, and maximally increase the volume of the output audio and the ambient sound. The difference makes the output audio more prominent.
- the average volume acquisition sub-module acquires a volume average of the ambient sound, that is, a volume average of components of all the different frequencies included in the ambient sound.
- the volume operation acquisition sub-module takes into account the influence of the volume and the frequency of each component of all the different frequencies included in the environmental sound, and the component with a large frequency has a large influence on the operation result a, so that the calculation is obtained by this method.
- the volume of the current ambient sound most accurately reflects the effect of the volume of the ambient sound on the listening of the output audio.
- the volume discriminating module 15 compares the volume of the output audio with the volume of the acquired ambient sound, calculates a difference thereof, and determines whether the difference is less than a preset threshold.
- the preset threshold should be the minimum allowed between the frequency of the output audio and the volume of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
- the volume of the output audio needs to be automatically adjusted; otherwise, the volume of the output audio itself is already high enough that no adjustment is needed.
- the volume adjustment module 16 adjusts the volume of the output audio.
- There are various ways to increase the volume of the output audio for example, setting a power amplifier on an output channel of the output audio to increase the power amplification factor of the output audio.
- the volume of the output audio can be increased by a preset value, or by several times.
- the volume adjustment module 16 adjusts the volume of the output audio according to the volume of the ambient sound and a preset optimal volume difference, wherein the preset optimal volume difference
- the value can be specifically set according to different needs, and is preferably a sound volume difference that is optimal for the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on the best auditory effect experience knowledge base table.
- the volume adjustment module 16 includes any one of the following sub-modules:
- a first volume adjustment submodule configured to adjust a volume of the output audio to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference
- a second volume adjustment submodule configured to determine whether a sum of a volume of the ambient sound and a preset optimal volume difference is greater than a preset volume maximum; if greater than the volume maximum, the output audio The volume is adjusted to be equal to the volume maximum; otherwise, the volume of the output audio is adjusted to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference.
- the first and second volume adjustment sub-modules can maintain a volume difference between the volume of the output audio and the volume of the ambient sound, so that the user can better listen to the content of the output audio. .
- the second volume adjustment sub-module sets the volume maximum value, and when the ambient sound volume is too high, the volume of the output audio is no longer increased without limit, and the volume of the output audio is prevented from becoming too high and becomes harsh. Meet the general user's listening requirements.
- one of the plurality of sub-audies included in the output audio may be selected as a reference, so that the volume of all the sub-audines included in the output audio is Make adjustments. then:
- the first and second volume adjustment submodules when the volume of the output audio is adjusted to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference, the output audio includes And adjusting a volume of the sub-audio of the highest volume to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference; acquiring a volume adjustment range of the sub-audio having the highest volume; and adjusting the amplitude according to the volume adjustment range Describe the volume of all sub-audines included in the output audio;
- the second volume adjustment submodule adjusts a volume of the sub audio having the highest volume included in the output audio to be equal to the volume maximum when the volume of the output audio is adjusted to be equal to the volume maximum Obtaining a volume adjustment amplitude of the sub-audio having the highest volume; adjusting a volume of all sub-audines included in the output audio according to the volume adjustment amplitude.
- the output audio adjustment system of the present invention can determine and automatically adjust the sound frequency and volume of the output audio according to the sound frequency and volume of the ambient sound in which the viewer is located, so that the user can obtain better sound without manually adjusting the sound of the audio and video. Hearing effect.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
Abstract
An audio output adjustment method and system thereof, the method comprising the following steps: acquiring the frequency of a current environmental sound and the frequency of a current audio output (S101); determining whether the difference between the frequencies of the audio output and the environmental sound is less than a preset threshold (S102); and if yes, then increasing the frequency of the audio output (S103). The audio output adjustment method and system thereof can automatically adjust an audio output according to environmental noise, such that a user can listen to the content of the audio output as clearly as possible in various kinds of environments without manually adjusting the audio output during audio/video play.
Description
【技术领域】[Technical Field]
本发明涉及音频调节的技术领域,特别是涉及一种输出音频调节方法,以及一种输出音频调节系统。The present invention relates to the technical field of audio adjustment, and more particularly to an output audio adjustment method, and an output audio adjustment system.
【背景技术】【Background technique】
在音视频播放过程中,常常会碰到周围的环境中存在大量噪音的情形,当环境噪音较大时,常常需要手动来将音频输出的音量调大,以便在较高的环境噪音下仍能够清晰地听到播放的音频内容。In the process of audio and video playback, there are often situations where there is a lot of noise in the surrounding environment. When the ambient noise is large, it is often necessary to manually increase the volume of the audio output so that it can still be under high ambient noise. Listen clearly to the audio content being played.
然而,依靠手动来调整音量大小对于使用者来说并不方便,并且,在一些使用场合,由于环境音的声音频率高于输出音频本身的声音频率,而频率高的声音比频率低的声音尖锐,而人耳对于尖锐的声音比对于低沉的声音敏感,那么即使把输出音频的音量调得比环境音高,也可能只听到环境噪音,而无法听清楚输出音频的内容。However, relying on manual adjustment of the volume is not convenient for the user, and in some applications, the sound frequency of the ambient sound is higher than the sound frequency of the output audio itself, and the sound of the high frequency is sharper than the sound of the lower frequency. While the human ear is more sensitive to sharp sounds than to low-pitched sounds, even if the volume of the output audio is adjusted to be higher than the ambient sound, only ambient noise may be heard, and the content of the output audio may not be heard clearly.
【发明内容】[Summary of the Invention]
针对上述背景技术中存在的问题,本发明的目的在于提供一种输出音频调节方法及其系统,能够根据环境噪音自动调节输出音频,使用户在各种使用环境中都能够尽可能清晰地收听到输出音频的内容。In view of the problems in the above background art, an object of the present invention is to provide an output audio adjustment method and system thereof, which can automatically adjust output audio according to environmental noise, so that the user can listen as clearly as possible in various use environments. Output the content of the audio.
一种输出音频调节方法,包括以下步骤:An output audio adjustment method includes the following steps:
获取当前环境音的频率以及当前输出音频的频率;Obtain the frequency of the current ambient sound and the frequency of the currently output audio;
判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;Determining whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold;
如果小于所述预设阈值,则提高所述输出音频的频率。If less than the preset threshold, the frequency of the output audio is increased.
一种输出音频调节系统,包括:An output audio adjustment system includes:
频率获取模块,用于获取当前环境音的频率以及当前输出音频的频率;a frequency acquisition module, configured to acquire a frequency of a current ambient sound and a frequency of the currently output audio;
频率判别模块,用于判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;a frequency discriminating module, configured to determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold;
频率调节模块,用于在判断结果为小于所述预设阈值时,提高所述输出音频的频率。And a frequency adjustment module, configured to increase a frequency of the output audio when the determination result is less than the preset threshold.
本发明的输出音频调节方法及其系统中,通过实时检测获取当前环境音的频率以及输出音频的频率,比较二者的频率大小,当所述输出音频与所述环境音的频率的差值小于预设阈值时,提高所述输出音频的频率,使用户能够在不同的环境音下都能够清晰地听到输出音频的内容。In the output audio adjusting method and system thereof of the present invention, the frequency of the current ambient sound and the frequency of the output audio are obtained by real-time detection, and the frequency magnitudes of the two are compared, when the difference between the output audio and the frequency of the ambient sound is less than When the threshold is preset, the frequency of the output audio is increased, so that the user can clearly hear the content of the output audio under different environmental sounds.
【附图说明】[Description of the Drawings]
图1是本发明输出音频调节方法第一实施方式的流程示意图;1 is a schematic flow chart of a first embodiment of an output audio adjustment method according to the present invention;
图2是本发明输出音频调节方法第二实施方式的流程示意图;2 is a schematic flow chart of a second embodiment of an output audio adjustment method according to the present invention;
图3是本发明输出音频调节系统第一实施方式的结构示意图;3 is a schematic structural view of a first embodiment of an output audio adjustment system of the present invention;
图4是本发明输出音频调节系统第二实施方式的结构示意图。4 is a schematic structural view of a second embodiment of the output audio adjustment system of the present invention.
【具体实施方式】 【detailed description】
请参阅图1,图1是本发明输出音频调节方法第一实施方式的流程示意图。Please refer to FIG. 1. FIG. 1 is a schematic flow chart of a first embodiment of an output audio adjustment method according to the present invention.
所述输出音频调节方法包括以下步骤:The output audio adjustment method includes the following steps:
S101,获取当前环境音的频率以及当前输出音频的频率;S101. Acquire a frequency of a current ambient sound and a frequency of the currently output audio.
S102,判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;S102. Determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold.
S103,如果小于所述预设阈值,则提高所述输出音频的频率。S103. If the preset threshold is less than, increase the frequency of the output audio.
其中,对于步骤S101,所述环境音的频率和音量可以通过声音传感器实时测得。所述输出音频的频率和音量可以通过声音传感器测得实时测得,也可以通过读取音视频数据中对输出音频的相关参数获得。Wherein, for step S101, the frequency and volume of the ambient sound can be measured in real time by a sound sensor. The frequency and volume of the output audio can be measured in real time by the sound sensor, or can be obtained by reading relevant parameters of the output audio in the audio and video data.
特别地,由于所述环境音中可能包括有多种不同频率的噪音,因此可采取以下方式中的任意一种确定所述环境音的频率,但不限于以下方式:In particular, since the ambient sound may include a plurality of different frequency noises, the frequency of the ambient sound may be determined by any of the following methods, but is not limited to the following manners:
第一种方式为:获取具有最高频率的环境音的频率作为当前环境音的频率;在本方式中,以频率最高的环境音分量作为所述当前环境音的频率,可以防止所述频率最高的环境音对输出音频的收听干扰,最大限度地提高输出音频与环境音的频率差异,使输出音频更突出。The first way is: obtaining the frequency of the ambient sound having the highest frequency as the frequency of the current ambient sound; in the present mode, the highest frequency ambient sound component is used as the frequency of the current ambient sound, and the highest frequency can be prevented. The ambient sound interferes with the output audio, maximizing the frequency difference between the output audio and the ambient sound, making the output audio more prominent.
第二种方式为:获取所有环境音的频率平均值作为当前环境音的频率;其中,所述环境音的频率平均值即所述环境音所包含的所有不同频率的分量的频率平均值。The second way is to obtain the frequency average of all ambient sounds as the frequency of the current ambient sound; wherein the frequency average of the ambient sounds is the frequency average of the components of all the different frequencies included in the ambient sound.
第三种方式为:分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的频率:f=(F1*A1/(A1+A2+...+Am)+
F2*A2/(A1+A2+...+Am)+...+
Fm*Am/(A1+A2+...+Am))/m;其中,f为计算的当前环境音的频率,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。The third way is: separately obtaining the frequency and volume of the sub-environment sounds of all the different frequencies included in the environmental sound, and calculating the frequency of the current environmental sound according to the following formula: f=(F1*A1/(A1+A2+... +Am)+
F2*A2/(A1+A2+...+Am)+...+
Fm*Am/(A1+A2+...+Am))/m; where f is the calculated frequency of the current ambient sound, m is the number of sub-environment sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound , Am volume is the volume of the mth sub-ambient sound.
在上述第三种方式中,考虑到了所述环境音包含的所有不同频率的各个分量的音量以及频率大小的影响,音量大的分量对运算结果f的影响也较大,因此通过这种方式计算获得的当前环境音的频率最能真实反映环境音的频率对输出音频的收听造成的影响。In the above third mode, considering the influence of the volume and the frequency of each component of all the different frequencies included in the environmental sound, the component having a large volume has a large influence on the operation result f, and thus is calculated by this method. The frequency of the current ambient sound obtained can best reflect the influence of the frequency of the ambient sound on the listening of the output audio.
在步骤S102中,将所述输出音频的频率与获取到的环境音的频率比较,计算其差值,判断所述差值是否小于预设阈值。所述预设阈值应为输出音频的频率与环境音的频率之间允许的最小值,根据需要可以将所述预设阈值设置成正数或者负数。In step S102, the frequency of the output audio is compared with the frequency of the acquired ambient sound, and the difference is calculated to determine whether the difference is less than a preset threshold. The preset threshold should be the minimum allowed between the frequency of the output audio and the frequency of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
如果所述差值小于预设阈值,表明输出音频的频率过低,需要执行步骤S103自动调整输出音频的频率;否则,输出音频的频率本身已经够高,就无需执行步骤S103,返回步骤S101和S102,重新获取环境音和输出音频的频率进行比较。If the difference is less than the preset threshold, indicating that the frequency of the output audio is too low, step S103 needs to be performed to automatically adjust the frequency of the output audio; otherwise, the frequency of the output audio itself is already high enough, and step S103 is not required, and the process returns to step S101 and S102: Re-acquire the frequency of the ambient sound and the output audio for comparison.
在步骤S103中,对所述输出音频的频率进行调整。提高所述输出音频的频率的方式可以有多种,例如,对所述输出音频的输出通道上的频率调制器进行设置,使输出频率提高。在频率调整时,可以将所述输出音频的频率提高一个预设值,或者提高若干倍。In step S103, the frequency of the output audio is adjusted. There are various ways to increase the frequency of the output audio, for example, setting a frequency modulator on an output channel of the output audio to increase the output frequency. At the time of frequency adjustment, the frequency of the output audio can be increased by a preset value, or by several times.
在一个优选实施例中,根据所述环境音的频率和预设的最佳频率差值对所述输出音频的频率进行调整,其中,所述预设的最佳频率差值可以根据不同的需要具体设定,优选为使人耳听觉效果最佳的声音频率差异,并可以参考公知的生理学知识设定,或者根据最佳听觉效果经验知识库表来判断。而在调节所述输出音频的频率时,可以采取以下方法之一,但不限于以下方法:In a preferred embodiment, the frequency of the output audio is adjusted according to the frequency of the ambient sound and a preset optimal frequency difference, wherein the preset optimal frequency difference may be according to different needs. The specific setting is preferably a difference in sound frequency that optimizes the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on an optimal auditory effect empirical knowledge base table. While adjusting the frequency of the output audio, one of the following methods may be adopted, but is not limited to the following methods:
第一种方法为直接将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;The first method is to directly adjust the frequency of the output audio to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference;
第二种方法为:判断所述环境音的频率和预设的最佳频率差值之和是否大于预设的频率最大值;如果大于所述频率最大值,则将所述输出音频的频率调节到等于所述频率最大值;否则,将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和。The second method is: determining whether the sum of the frequency of the ambient sound and the preset optimal frequency difference is greater than a preset frequency maximum; if the frequency is greater than the maximum value, adjusting the frequency of the output audio Up to the frequency maximum; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
上述两种方式可以使输出音频的频率和环境音的频率之间保持人耳听觉效果最佳的声音频率差异,令使用者可以更好地收听到所述输出音频的内容。第二种方法通过设定所述频率最大值,在环境音频率超高的时候,不再无限制地提高输出音频的频率,防止输出音频的频率过高而变得刺耳,更符合一般用户的收听要求。The above two methods can maintain the difference in sound frequency of the human ear hearing effect between the frequency of the output audio and the frequency of the ambient sound, so that the user can better listen to the content of the output audio. The second method sets the maximum value of the frequency, and when the ambient audio frequency is too high, the frequency of the output audio is no longer unrestricted, and the frequency of the output audio is prevented from becoming too harsh, which is more suitable for the general user. Listen to the request.
特别地,在采取上述方法,将调节所述输出音频的频率时,可以在所述输出音频包含的多个子音频中,选取其中一个子音频分量作为参考,从而对所述输出音频所包含的所有子音频的频率进行调整。具体可采用以下方式:In particular, when the above method is adopted, when the frequency of the output audio is adjusted, one of the plurality of sub-audies included in the output audio may be selected as a reference, thereby including all of the output audio The frequency of the sub audio is adjusted. Specifically, the following methods can be used:
在将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和时,将所述输出音频所包含的具有最高频率的子音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;获取所述具有最高频率的子音频的频率调节幅度;根据所述频率调节幅度调节所述输出音频所包含的所有子音频的频率;Adjusting a frequency of the output audio to a sum equal to a frequency of the ambient sound and a preset optimal frequency difference, adjusting a frequency of the sub-audio having the highest frequency included in the output audio to be equal to Determining a frequency of the ambient sound and a preset optimal frequency difference; acquiring a frequency adjustment amplitude of the sub-audio having the highest frequency; adjusting a frequency of all sub-audines included in the output audio according to the frequency adjustment amplitude ;
在将所述输出音频的频率调节到等于所述频率最大值时,将所述输出音频所包含的具有最高频率的子音频的频率调节到等于所述频率最大值;获取所述具有最高频率的子音频的频率调节幅度;根据所述频率调节幅度调节所述输出音频所包含的所有子音频的频率。Adjusting a frequency of the sub-audio having the highest frequency included in the output audio to be equal to the frequency maximum when the frequency of the output audio is adjusted to be equal to the maximum value of the frequency; acquiring the highest frequency Frequency adjustment amplitude of the sub audio; adjusting the frequency of all sub audios included in the output audio according to the frequency adjustment amplitude.
本发明的输出音频调节方法可以根据观众所处的环境音的声音频率来确定并自动地调整输出音频的声音频率大小,使得用户无需手工调节音视频的声音,而得到更好的听觉效果。The output audio adjusting method of the present invention can determine and automatically adjust the sound frequency of the output audio according to the sound frequency of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound of the audio and video, thereby obtaining a better hearing effect.
请参阅图2,图2是本发明输出音频调节方法第二实施方式的流程示意图。Please refer to FIG. 2. FIG. 2 is a schematic flow chart of a second embodiment of the output audio adjustment method of the present invention.
所述第二实施方式的输出音频调节方法与所述第一实施方式的区别主要在于,进一步包括以下步骤:The output audio adjustment method of the second embodiment differs from the first embodiment mainly in that it further includes the following steps:
S104,获取当前环境音的音量值以及当前输出音频的音量值;S104. Acquire a volume value of the current ambient sound and a volume value of the currently output audio.
S105,判断所述输出音频与所述环境音的音量值的差值是否小于预设阈值;S105. Determine whether a difference between the output audio and a volume value of the ambient sound is less than a preset threshold.
S106,如果小于所述预设阈值,则提高所述输出音频的音量。S106. If the preset threshold is less than, increase the volume of the output audio.
其中,对于步骤S104,可采取以下方式中的任意一种确定所述环境音的音量,但不限于以下方式:In the step S104, the volume of the ambient sound may be determined by any one of the following methods, but is not limited to the following manner:
第一种方式为:获取具有最高频率的环境音的音量值作为当前环境音的音量值。以音量最高的环境音分量作为所述当前环境音的音量,可以防止所述音量最高的环境音对输出音频的收听干扰,最大限度地提高输出音频与环境音的音量差异,使输出音频更突出。The first way is to obtain the volume value of the ambient sound having the highest frequency as the volume value of the current ambient sound. Taking the highest-level ambient sound component as the volume of the current ambient sound, the ambient sound with the highest volume can be prevented from interfering with the output audio, and the volume difference between the output audio and the ambient sound is maximized, so that the output audio is more prominent. .
第二种方式为:获取所有环境音的音量平均值作为当前环境音的音量值。其中,所述环境音的音量平均值即所述环境音所包含的所有不同频率的分量的音量平均值。The second way is to obtain the volume average of all ambient sounds as the volume value of the current ambient sound. Wherein, the volume average of the ambient sound is the volume average of the components of all the different frequencies included in the ambient sound.
第三种方式为:分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的音量值:a=(A1*F1/(F1+F2+...+Fm)+
A2*F2/(F1+F2+...+Fm)+...+
Am*Fm/(F1+F2+...+Fm))/m;其中,a为计算的当前环境音的音量值,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。The third way is: separately obtaining the frequency and volume of the sub-environment sounds of all the different frequencies included in the ambient sound, and calculating the volume value of the current ambient sound according to the following formula: a=(A1*F1/..F1+F2+.. .+Fm)+
A2*F2/(F1+F2+...+Fm)+...+
Am*Fm/(F1+F2+...+Fm))/m; where a is the calculated volume value of the current ambient sound, m is the number of sub-environment sounds of different frequencies; Fm is the mth sub-ambient sound Frequency, Am volume is the volume of the mth sub-ambient sound.
在上述第三种方式中,考虑到了所述环境音包含的所有不同频率的各个分量的音量以及频率大小的影响,频率高的分量对运算结果a的影响也较大,因此通过这种方式计算获得的当前环境音的音量最能真实反映环境音的音量对输出音频的收听造成的影响。In the above third mode, considering the influence of the volume and the frequency of each component of all the different frequencies included in the environmental sound, the component having a high frequency has a large influence on the operation result a, and thus is calculated by this method. The volume of the current ambient sound obtained can best reflect the effect of the volume of the ambient sound on the listening of the output audio.
在步骤S105中,将所述输出音频的音量与获取到的环境音的频率比较,计算其差值,判断所述差值是否小于预设阈值。所述预设阈值应为输出音频的音量与环境音的音量之间允许的最小值,根据需要可以将所述预设阈值设置成正数或者负数。In step S105, the volume of the output audio is compared with the frequency of the acquired ambient sound, and the difference is calculated to determine whether the difference is less than a preset threshold. The preset threshold should be the minimum allowed between the volume of the output audio and the volume of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
如果所述差值小于预设阈值,表明输出音频的音量过低,需要执行步骤S106自动调整输出音频的音量;否则,输出音频的音量本身已经够高,就无需执行步骤S106,返回步骤S104和S105,重新获取环境音和输出音频的音量进行比较。If the difference is less than the preset threshold, indicating that the volume of the output audio is too low, step S106 needs to be performed to automatically adjust the volume of the output audio; otherwise, the volume of the output audio itself is already high enough, and step S106 need not be performed, and the process returns to step S104 and S105, reacquire the volume of the ambient sound and the output audio for comparison.
在步骤S106中,对所述输出音频的音量进行调整。提高所述输出音频音量的方式可以有多种,例如,对所述输出音频的输出通道上的功率放大器进行设置,提高对输出频率的放大倍数。在音量调整时,可以将所述输出音频的音量提高一个预设值,或者提高若干倍。In step S106, the volume of the output audio is adjusted. There are various ways to increase the volume of the output audio, for example, setting a power amplifier on an output channel of the output audio to increase the amplification factor of the output frequency. When the volume is adjusted, the volume of the output audio can be increased by a preset value, or by several times.
在一个优选实施例中,根据所述环境音的音量和预设的最佳音量差值对所述输出音频的音量进行调整,其中,所述预设的最佳音量差值可以根据不同的需要具体设定,优选为使人耳听觉效果最佳的音量差异,并可以参考公知的生理学知识设定,或者根据最佳听觉效果经验知识库表来判断。则在调节所述输出音频的音量时,可以采取以下方法之一,但不限于以下方法:In a preferred embodiment, the volume of the output audio is adjusted according to the volume of the ambient sound and a preset optimal volume difference, wherein the preset optimal volume difference may be according to different needs. The specific setting is preferably a volume difference that optimizes the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on an optimal auditory effect experience knowledge base table. Then, when adjusting the volume of the output audio, one of the following methods may be adopted, but is not limited to the following methods:
第一种方法为直接将所述输出音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和;The first method is to directly adjust the volume of the output audio to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference;
第二种方法为:判断所述环境音的音量和预设的最佳音量差值之和是否大于预设的音量最大值;如果大于所述音量最大值,则将所述输出音频的音量调节到等于所述音量最大值;否则,将所述输出音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和。The second method is: determining whether the sum of the volume of the ambient sound and the preset optimal volume difference is greater than a preset volume maximum; if greater than the volume maximum, adjusting the volume of the output audio Up to the volume maximum; otherwise, the volume of the output audio is adjusted to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference.
上述两种方式可以使输出音频的音量和环境音的音量之间保持人耳听觉效果最佳的声音音量差异,令使用者可以更好地收听到所述输出音频的内容。第二种方法通过设定所述音量最大值,在环境音的音量超高的时候,不再无限制地提高输出音频的音量,防止输出音频的音量过高而变得刺耳,更符合一般用户的收听要求。The above two methods can maintain the difference of the sound volume of the ear hearing effect between the volume of the output audio and the volume of the ambient sound, so that the user can better listen to the content of the output audio. The second method sets the maximum value of the volume, and when the volume of the ambient sound is too high, the volume of the output audio is no longer increased without limit, and the volume of the output audio is prevented from being too high and becomes harsh, which is more suitable for the general user. Listening requirements.
本发明的输出音频调节方法可以根据观众所处的环境音的声音频率以及音量来确定并自动地调整输出音频的声音频率以及音量的大小,使得用户无需手工调节音视频的声音频率和音量,而得到更好的听觉效果。The output audio adjusting method of the present invention can determine and automatically adjust the sound frequency of the output audio and the volume of the sound according to the sound frequency and volume of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound frequency and volume of the audio and video. Get better hearing results.
请参阅图3,图3是本发明输出音频调节系统第一实施方式的结构示意图。Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a first embodiment of an output audio adjustment system according to the present invention.
所述输出音频调节系统包括:The output audio adjustment system includes:
频率获取模块11,用于获取当前环境音的频率以及当前输出音频的频率;The frequency obtaining module 11 is configured to acquire a frequency of the current ambient sound and a frequency of the currently output audio;
频率判别模块12,用于判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;The frequency discriminating module 12 is configured to determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold;
频率调节模块13,用于在判断结果为小于所述预设阈值时,提高所述输出音频的频率。The frequency adjustment module 13 is configured to increase the frequency of the output audio when the determination result is less than the preset threshold.
其中,所述频率获取模块11可以通过控制声音传感器实时测得所述环境音的频率和音量。而对所述输出音频的频率和音量,则可以通过声音传感器测得实时测得,也可以通过读取音视频数据中对输出音频的相关参数获得。The frequency acquisition module 11 can measure the frequency and volume of the ambient sound in real time by controlling the sound sensor. The frequency and volume of the output audio can be measured in real time by the sound sensor, or can be obtained by reading relevant parameters of the output audio in the audio and video data.
由于所述环境音中可能包括有多种不同频率的噪音,因此所述频率获取模块包括以下任意一个子模块:Since the ambient sound may include a plurality of different frequency noises, the frequency acquisition module includes any one of the following sub-modules:
最高频率获取子模块,用于获取具有最高频率的环境音的频率作为当前环境音的频率;a highest frequency acquisition submodule for obtaining a frequency of an ambient sound having the highest frequency as a frequency of the current ambient sound;
平均频率获取子模块,用于获取所有环境音的频率平均值作为当前环境音的频率;An average frequency acquisition sub-module, configured to obtain a frequency average of all ambient sounds as a frequency of the current ambient sound;
频率运算获取子模块,用于分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的频率:f=(F1*A1/(A1+A2+...+Am)+F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m;其中,f为计算的当前环境音的频率,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。The frequency operation acquisition sub-module is configured to separately acquire the frequency and volume of the sub-environment sounds of all the different frequencies included in the ambient sound, and calculate the frequency of the current environmental sound according to the following formula: f=(F1*A1/.(A1+A2+. ..+Am)+F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m; where f is the current calculation The frequency of the ambient sound, m is the number of sub-environment sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and the Am volume is the volume of the mth sub-ambient sound.
所述最高频率获取子模块以频率最高的环境音分量作为所述当前环境音的频率,可以防止所述频率最高的环境音对输出音频的收听干扰,最大限度地提高输出音频与环境音的频率差异,使输出音频更突出。The highest frequency acquisition sub-module uses the highest-frequency ambient sound component as the frequency of the current ambient sound, which can prevent the ambient sound of the highest frequency from listening to the output audio, and maximize the frequency of the output audio and the ambient sound. The difference makes the output audio more prominent.
所述平均频率获取子模块获取所述环境音的频率平均值即所述环境音所包含的所有不同频率的分量的频率平均值。The average frequency acquisition sub-module acquires a frequency average of the ambient sounds, that is, a frequency average of components of all the different frequencies included in the ambient sound.
所述频率运算获取子模块考虑到了所述环境音包含的所有不同频率的各个分量的音量以及频率大小的影响,音量大的分量对运算结果f的影响也较大,因此通过这种方式计算获得的当前环境音的频率最能真实反映环境音的频率对输出音频的收听造成的影响。The frequency operation acquisition sub-module takes into account the influence of the volume and the frequency of each component of all the different frequencies included in the ambient sound, and the component with a large volume has a greater influence on the operation result f, so the calculation is obtained by this method. The frequency of the current ambient sound most accurately reflects the effect of the frequency of the ambient sound on the listening of the output audio.
所述频率判别模块12将所述输出音频的频率与获取到的环境音的频率比较,计算其差值,判断所述差值是否小于预设阈值。所述预设阈值应为输出音频的频率与环境音的频率之间允许的最小值,根据需要可以将所述预设阈值设置成正数或者负数。The frequency discriminating module 12 compares the frequency of the output audio with the frequency of the acquired ambient sound, calculates a difference thereof, and determines whether the difference is less than a preset threshold. The preset threshold should be the minimum allowed between the frequency of the output audio and the frequency of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
如果所述差值小于预设阈值,表明输出音频的频率过低,需要自动调整输出音频的频率;否则,输出音频的频率本身已经够高,就无需调节。If the difference is less than the preset threshold, indicating that the frequency of the output audio is too low, the frequency of the output audio needs to be automatically adjusted; otherwise, the frequency of the output audio itself is already high enough that no adjustment is needed.
所述频率调节模块13对所述输出音频的频率进行调整。提高所述输出音频的频率的方式可以有多种,例如,对所述输出音频的输出通道上的频率调制器进行设置,使输出频率提高。在频率调整时,可以将所述输出音频的频率提高一个预设值,或者提高若干倍。The frequency adjustment module 13 adjusts the frequency of the output audio. There are various ways to increase the frequency of the output audio, for example, setting a frequency modulator on an output channel of the output audio to increase the output frequency. At the time of frequency adjustment, the frequency of the output audio can be increased by a preset value, or by several times.
在一个优选实施例中,所述频率调节模块13根据所述环境音的频率和预设的最佳频率差值对所述输出音频的频率进行调整,其中,所述预设的最佳频率差值可以根据不同的需要具体设定,优选为使人耳听觉效果最佳的声音频率差异,并可以参考公知的生理学知识设定,或者根据最佳听觉效果经验知识库表来判断。In a preferred embodiment, the frequency adjustment module 13 adjusts the frequency of the output audio according to the frequency of the ambient sound and a preset optimal frequency difference, wherein the preset optimal frequency difference The value can be specifically set according to different needs, and is preferably a difference in sound frequency that makes the human auditory effect optimal, and can be determined by referring to a well-known physiological knowledge setting or based on the best auditory effect experience knowledge base table.
所述频率调节模块13包括以下任意一个子模块:The frequency adjustment module 13 includes any one of the following sub-modules:
第一频率调节子模块,用于将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;a first frequency adjustment submodule, configured to adjust a frequency of the output audio to be equal to a sum of a frequency equal to the ambient sound and a preset optimal frequency difference;
第二频率调节子模块,用于判断所述环境音的频率和预设的最佳频率差值之和是否大于预设的频率最大值;如果大于所述频率最大值,则将所述输出音频的频率调节到等于所述频率最大值;否则,将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和。a second frequency adjustment submodule, configured to determine whether a sum of a frequency of the ambient sound and a preset optimal frequency difference is greater than a preset frequency maximum; if the frequency is greater than the maximum value, the output audio is The frequency is adjusted to be equal to the maximum value of the frequency; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
所述第一、第二频率调节子模块可以使输出音频的频率和环境音的频率之间保持人耳听觉效果最佳的声音频率差异,令使用者可以更好地收听到所述输出音频的内容。所述第二频率调节子模块通过设定所述频率最大值,在环境音频率超高的时候,不再无限制地提高输出音频的频率,防止输出音频的频率过高而变得刺耳,更符合一般用户的收听要求。The first and second frequency adjustment sub-modules can maintain a difference in sound frequency between the frequency of the output audio and the frequency of the ambient sound, so that the user can better listen to the output audio. content. The second frequency adjustment sub-module sets the frequency maximum value, and when the ambient audio frequency is too high, the frequency of the output audio is no longer unrestricted, and the frequency of the output audio is prevented from becoming too high and becomes harsh. Meet the general user's listening requirements.
特别地,在将调节所述输出音频的频率时,可以在所述输出音频包含的多个子音频中,选取其中一个子音频分量作为参考,从而对所述输出音频所包含的所有子音频的频率进行调整。则:In particular, when the frequency of the output audio is to be adjusted, one of the plurality of sub-audies included in the output audio may be selected as a reference, so that the frequency of all the sub-audines included in the output audio Make adjustments. then:
所述第一、第二频率调节子模块在将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和时,将所述输出音频所包含的具有最高频率的子音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;获取所述具有最高频率的子音频的频率调节幅度;根据所述频率调节幅度调节所述输出音频所包含的所有子音频的频率;The first and second frequency adjustment submodules, when the frequency of the output audio is adjusted to be equal to a sum of a frequency of the ambient sound and a preset optimal frequency difference, the output audio includes The frequency of the highest frequency sub-audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference; acquiring the frequency adjustment amplitude of the sub-audio having the highest frequency; adjusting the amplitude adjustment according to the frequency Describe the frequency of all sub-audines included in the output audio;
所述第二频率调节子模块在将所述输出音频的频率调节到等于所述频率最大值时,将所述输出音频所包含的具有最高频率的子音频的频率调节到等于所述频率最大值;获取所述具有最高频率的子音频的频率调节幅度;根据所述频率调节幅度调节所述输出音频所包含的所有子音频的频率。The second frequency adjustment submodule adjusts a frequency of the sub audio having the highest frequency included in the output audio to be equal to the maximum value of the frequency when the frequency of the output audio is adjusted to be equal to the maximum value of the frequency Obtaining a frequency adjustment amplitude of the sub-audio having the highest frequency; adjusting a frequency of all sub-audines included in the output audio according to the frequency adjustment amplitude.
本发明的输出音频调节系统可以根据观众所处的环境音的声音频率来确定并自动地调整输出音频的声音频率大小,使得用户无需手工调节音视频的声音,而得到更好的听觉效果。The output audio adjustment system of the present invention can determine and automatically adjust the sound frequency of the output audio according to the sound frequency of the ambient sound in which the viewer is located, so that the user does not need to manually adjust the sound of the audio and video to obtain a better audible effect.
请参阅图4,图4是本发明输出音频调节系统第二实施方式的结构示意图。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a second embodiment of the output audio adjustment system of the present invention.
所述第二实施方式的输出音频调节系统与所述第一实施方式的区别主要在于,进一步包括:The output audio adjustment system of the second embodiment differs from the first embodiment mainly in that it further includes:
音量获取模块14,用于获取当前环境音的音量值以及当前输出音频的音量值;The volume obtaining module 14 is configured to acquire a volume value of the current ambient sound and a volume value of the currently output audio;
音量判别模块15,用于判断所述输出音频与所述环境音的音量值的差值是否小于预设阈值;The volume discriminating module 15 is configured to determine whether a difference between the volume of the output audio and the volume of the ambient sound is less than a preset threshold;
音量调节模块16,用于在判断结果为小于所述预设阈值时,提高所述输出音频的音量。The volume adjustment module 16 is configured to increase the volume of the output audio when the determination result is less than the preset threshold.
所述音量获取模块14包括以下任意一个子模块:The volume acquisition module 14 includes any one of the following sub-modules:
最高音量获取子模块,用于获取音量最大的环境音的音量值作为当前环境音的音量;The highest volume acquisition sub-module is configured to obtain the volume value of the ambient sound with the highest volume as the volume of the current ambient sound;
平均音量获取子模块,用于获取所有环境音的音量平均值作为当前环境音的音量;The average volume acquisition sub-module is configured to obtain the volume average of all ambient sounds as the volume of the current ambient sound;
音量运算获取子模块,用于分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的音量值:a=(A1*F1/(F1+F2+...+Fm)+
A2*F2/(F1+F2+...+Fm)+...+
Am*Fm/(F1+F2+...+Fm))/m;其中,a为计算的当前环境音的音量值,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。The volume operation acquisition sub-module is configured to respectively acquire the frequency and volume of the sub-environment sounds of all the different frequencies included in the ambient sound, and calculate the volume value of the current ambient sound according to the following formula: a=(A1*F1/(F1+F2+) ...+Fm)+
A2*F2/(F1+F2+...+Fm)+...+
Am*Fm/(F1+F2+...+Fm))/m; where a is the calculated volume value of the current ambient sound, m is the number of sub-environment sounds of different frequencies; Fm is the mth sub-ambient sound Frequency, Am volume is the volume of the mth sub-ambient sound.
所述最高音量获取子模块以音量最高的环境音分量作为所述当前环境音的音量,可以防止所述音量最高的环境音对输出音频的收听干扰,最大限度地提高输出音频与环境音的音量差异,使输出音频更突出。The highest volume acquisition sub-module uses the highest-level ambient sound component as the volume of the current ambient sound, which can prevent the ambient sound of the highest volume from interfering with the output audio, and maximally increase the volume of the output audio and the ambient sound. The difference makes the output audio more prominent.
所述平均音量获取子模块获取所述环境音的音量平均值即所述环境音所包含的所有不同频率的分量的音量平均值。The average volume acquisition sub-module acquires a volume average of the ambient sound, that is, a volume average of components of all the different frequencies included in the ambient sound.
所述音量运算获取子模块考虑到了所述环境音包含的所有不同频率的各个分量的音量以及频率大小的影响,频率大的分量对运算结果a的影响也较大,因此通过这种方式计算获得的当前环境音的音量最能真实反映环境音的音量对输出音频的收听造成的影响。The volume operation acquisition sub-module takes into account the influence of the volume and the frequency of each component of all the different frequencies included in the environmental sound, and the component with a large frequency has a large influence on the operation result a, so that the calculation is obtained by this method. The volume of the current ambient sound most accurately reflects the effect of the volume of the ambient sound on the listening of the output audio.
所述音量判别模块15将所述输出音频的音量与获取到的环境音的音量比较,计算其差值,判断所述差值是否小于预设阈值。所述预设阈值应为输出音频的频率与环境音的音量之间允许的最小值,根据需要可以将所述预设阈值设置成正数或者负数。The volume discriminating module 15 compares the volume of the output audio with the volume of the acquired ambient sound, calculates a difference thereof, and determines whether the difference is less than a preset threshold. The preset threshold should be the minimum allowed between the frequency of the output audio and the volume of the ambient sound, and the preset threshold can be set to a positive or negative number as needed.
如果所述差值小于预设阈值,表明输出音频的音量过低,需要自动调整输出音频的音量;否则,输出音频的音量本身已经够高,就无需调节。If the difference is less than the preset threshold, indicating that the volume of the output audio is too low, the volume of the output audio needs to be automatically adjusted; otherwise, the volume of the output audio itself is already high enough that no adjustment is needed.
所述音量调节模块16对所述输出音频的音量进行调整。提高所述输出音频的音量的方式可以有多种,例如,对所述输出音频的输出通道上的功率放大器进行设置,提高对所述输出音频的功率放大倍数。在音量调整时,可以将所述输出音频的音量提高一个预设值,或者提高若干倍。The volume adjustment module 16 adjusts the volume of the output audio. There are various ways to increase the volume of the output audio, for example, setting a power amplifier on an output channel of the output audio to increase the power amplification factor of the output audio. When the volume is adjusted, the volume of the output audio can be increased by a preset value, or by several times.
在一个优选实施例中,所述音量调节模块16根据所述环境音的音量和预设的最佳音量差值对所述输出音频的音量进行调整,其中,所述预设的最佳音量差值可以根据不同的需要具体设定,优选为使人耳听觉效果最佳的声音音量差异,并可以参考公知的生理学知识设定,或者根据最佳听觉效果经验知识库表来判断。In a preferred embodiment, the volume adjustment module 16 adjusts the volume of the output audio according to the volume of the ambient sound and a preset optimal volume difference, wherein the preset optimal volume difference The value can be specifically set according to different needs, and is preferably a sound volume difference that is optimal for the human auditory effect, and can be determined by referring to a well-known physiological knowledge setting or based on the best auditory effect experience knowledge base table.
所述音量调节模块16包括以下任意一个子模块:The volume adjustment module 16 includes any one of the following sub-modules:
第一音量调节子模块,用于将所述输出音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和;a first volume adjustment submodule, configured to adjust a volume of the output audio to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference;
第二音量调节子模块,用于判断所述环境音的音量和预设的最佳音量差值之和是否大于预设的音量最大值;如果大于所述音量最大值,则将所述输出音频的音量调节到等于所述音量最大值;否则,将所述输出音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和。a second volume adjustment submodule, configured to determine whether a sum of a volume of the ambient sound and a preset optimal volume difference is greater than a preset volume maximum; if greater than the volume maximum, the output audio The volume is adjusted to be equal to the volume maximum; otherwise, the volume of the output audio is adjusted to be equal to the sum of the volume of the ambient sound and the preset optimal volume difference.
所述第一、第二音量调节子模块可以使输出音频的音量和环境音的音量之间保持人耳听觉效果最佳的音量差异,令使用者可以更好地收听到所述输出音频的内容。所述第二音量调节子模块通过设定所述音量最大值,在环境音音量超高的时候,不再无限制地提高输出音频的音量,防止输出音频的音量过高而变得刺耳,更符合一般用户的收听要求。The first and second volume adjustment sub-modules can maintain a volume difference between the volume of the output audio and the volume of the ambient sound, so that the user can better listen to the content of the output audio. . The second volume adjustment sub-module sets the volume maximum value, and when the ambient sound volume is too high, the volume of the output audio is no longer increased without limit, and the volume of the output audio is prevented from becoming too high and becomes harsh. Meet the general user's listening requirements.
特别地,在将调节所述输出音频的音量时,可以在所述输出音频包含的多个子音频中,选取其中一个子音频分量作为参考,从而对所述输出音频所包含的所有子音频的音量进行调整。则:In particular, when the volume of the output audio is to be adjusted, one of the plurality of sub-audies included in the output audio may be selected as a reference, so that the volume of all the sub-audines included in the output audio is Make adjustments. then:
所述第一、第二音量调节子模块在将所述输出音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和时,将所述输出音频所包含的具有最高音量的子音频的音量调节到等于所述环境音的音量和预设的最佳音量差值之和;获取所述具有最高音量的子音频的音量调节幅度;根据所述音量调节幅度调节所述输出音频所包含的所有子音频的音量;The first and second volume adjustment submodules, when the volume of the output audio is adjusted to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference, the output audio includes And adjusting a volume of the sub-audio of the highest volume to be equal to a sum of a volume of the ambient sound and a preset optimal volume difference; acquiring a volume adjustment range of the sub-audio having the highest volume; and adjusting the amplitude according to the volume adjustment range Describe the volume of all sub-audines included in the output audio;
所述第二音量调节子模块在将所述输出音频的音量调节到等于所述音量最大值时,将所述输出音频所包含的具有最高音量的子音频的音量调节到等于所述音量最大值;获取所述具有最高音量的子音频的音量调节幅度;根据所述音量调节幅度调节所述输出音频所包含的所有子音频的音量。The second volume adjustment submodule adjusts a volume of the sub audio having the highest volume included in the output audio to be equal to the volume maximum when the volume of the output audio is adjusted to be equal to the volume maximum Obtaining a volume adjustment amplitude of the sub-audio having the highest volume; adjusting a volume of all sub-audines included in the output audio according to the volume adjustment amplitude.
本发明的输出音频调节系统可以根据观众所处的环境音的声音频率和音量来确定并自动地调整输出音频的声音频率和音量大小,使得用户无需手工调节音视频的声音,而得到更好的听觉效果。The output audio adjustment system of the present invention can determine and automatically adjust the sound frequency and volume of the output audio according to the sound frequency and volume of the ambient sound in which the viewer is located, so that the user can obtain better sound without manually adjusting the sound of the audio and video. Hearing effect.
本领域普通技术人员可以理解实现上述实施方式中的全部或部分流程以及对应的系统,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各实施方式的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only
Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the processes and corresponding systems in the above embodiments can be implemented by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. The program, when executed, may include the processes of the various embodiments described above. The storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only)
Memory, ROM) or Random Access Memory (RAM).
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.
Claims (10)
- 一种输出音频调节方法,其特征在于,包括以下步骤:An output audio adjustment method, comprising the steps of:获取当前环境音的频率以及当前输出音频的频率;Obtain the frequency of the current ambient sound and the frequency of the currently output audio;判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;Determining whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold;如果小于所述预设阈值,则提高所述输出音频的频率。If less than the preset threshold, the frequency of the output audio is increased.
- 如权利要求1所述的输出音频调节方法,其特征在于,通过以下任意一种方式获取当前环境音的频率:The output audio adjustment method according to claim 1, wherein the frequency of the current ambient sound is obtained by any one of the following methods:获取具有最高频率的环境音的频率作为当前环境音的频率;Obtaining the frequency of the ambient sound having the highest frequency as the frequency of the current ambient sound;或者,获取所有环境音的频率平均值作为当前环境音的频率;Or, obtain the average frequency of all ambient sounds as the frequency of the current ambient sound;或者,分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的频率:f=(F1*A1/(A1+A2+...+Am)+F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m;其中,f为计算的当前环境音的频率,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。Or, respectively, acquiring the frequency and volume of the sub-ambient sounds of all the different frequencies included in the environmental sound, and calculating the frequency of the current environmental sound according to the following formula: f=(F1*A1/(A1+A2+...+Am)+ F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m; where f is the calculated frequency of the current ambient sound, m The number of sub-ambient sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and the Am volume is the volume of the mth sub-ambient sound.
- 如权利要求1所述的输出音频调节方法,其特征在于,通过以下任意一种方式提高所述输出音频的频率:The output audio adjusting method according to claim 1, wherein the frequency of the output audio is increased by any one of the following methods:将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;Adjusting a frequency of the output audio to be equal to a sum of a frequency of the ambient sound and a preset optimal frequency difference;或者,or,判断所述环境音的频率和预设的最佳频率差值之和是否大于预设的频率最大值;如果大于所述频率最大值,则将所述输出音频的频率调节到等于所述频率最大值;否则,将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和。Determining whether a sum of a frequency of the ambient sound and a preset optimal frequency difference is greater than a preset frequency maximum; if greater than the frequency maximum, adjusting a frequency of the output audio to be equal to the maximum frequency Value; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
- 如权利要求1至3中任意一项所述的输出音频调节方法,其特征在于,进一步包括以下步骤:The output audio adjustment method according to any one of claims 1 to 3, further comprising the steps of:获取当前环境音的音量值以及当前输出音频的音量值;Obtaining the volume value of the current ambient sound and the volume value of the currently output audio;判断所述输出音频与所述环境音的音量值的差值是否小于预设阈值;Determining whether a difference between the output audio and the volume value of the ambient sound is less than a preset threshold;如果小于所述预设阈值,则根据所述环境音的音量值和预设的最佳音量差值调节所述输出音频的音量。If it is less than the preset threshold, the volume of the output audio is adjusted according to the volume value of the ambient sound and a preset optimal volume difference.
- 如权利要求4所述的输出音频调节方法,其特征在于,通过以下任意一种方式获取当前环境音的音量值:The output audio adjustment method according to claim 4, wherein the volume value of the current ambient sound is obtained by any one of the following methods:获取具有最高音量的环境音的音量值作为当前环境音的音量值;Obtaining the volume value of the ambient sound having the highest volume as the volume value of the current ambient sound;或者,获取所有环境音的音量平均值作为当前环境音的音量值;Or, obtain the volume average of all ambient sounds as the volume value of the current ambient sound;或者,分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的音量值:a=(A1*F1/(F1+F2+...+Fm)+A2*F2/(F1+F2+...+Fm)+...+Am*Fm/(F1+F2+...+Fm))/m;其中,a为计算的当前环境音的音量值,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。Alternatively, respectively acquiring the frequency and volume of the sub-ambient sounds of all the different frequencies included in the environmental sound, and calculating the volume value of the current environmental sound according to the following formula: a=(A1*F1/(F1+F2+...+Fm) +A2*F2/(F1+F2+...+Fm)+...+Am*Fm/(F1+F2+...+Fm))/m; where a is the calculated volume value of the current ambient sound m is the number of sub-environment sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and Am volume is the volume of the mth sub-ambient sound.
- 一种输出音频调节系统,其特征在于,包括:An output audio adjustment system, comprising:频率获取模块,用于获取当前环境音的频率以及当前输出音频的频率;a frequency acquisition module, configured to acquire a frequency of a current ambient sound and a frequency of the currently output audio;频率判别模块,用于判断所述输出音频与所述环境音的频率的差值是否小于预设阈值;a frequency discriminating module, configured to determine whether a difference between the output audio and the frequency of the ambient sound is less than a preset threshold;频率调节模块,用于在判断结果为小于所述预设阈值时,提高所述输出音频的频率。And a frequency adjustment module, configured to increase a frequency of the output audio when the determination result is less than the preset threshold.
- 如权利要求6所述的输出音频调节系统,其特征在于,所述频率获取模块包括以下任意一个子模块:The output audio adjustment system of claim 6 wherein said frequency acquisition module comprises any one of the following sub-modules:最高频率获取子模块,用于获取具有最高频率的环境音的频率作为当前环境音的频率;a highest frequency acquisition submodule for obtaining a frequency of an ambient sound having the highest frequency as a frequency of the current ambient sound;平均频率获取子模块,用于获取所有环境音的频率平均值作为当前环境音的频率;An average frequency acquisition sub-module, configured to obtain a frequency average of all ambient sounds as a frequency of the current ambient sound;或者,频率运算获取子模块,用于分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的频率:f=(F1*A1/(A1+A2+...+Am)+F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m;其中,f为计算的当前环境音的频率,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。Alternatively, the frequency operation acquisition sub-module is configured to separately acquire the frequency and volume of the sub-environment sounds of all the different frequencies included in the ambient sound, and calculate the frequency of the current environmental sound according to the following formula: f=(F1*A1/(A1+) A2+...+Am)+F2*A2/(A1+A2+...+Am)+...+Fm*Am/(A1+A2+...+Am))/m; where f is the calculation The frequency of the current ambient sound, m is the number of sub-environment sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and the Am volume is the volume of the mth sub-ambient sound.
- 如权利要求6所述的输出音频调节系统,其特征在于,所述频率调节模块包括以下任意一个子模块:The output audio adjustment system of claim 6 wherein said frequency adjustment module comprises any one of the following sub-modules:第一频率调节子模块,用于将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和;a first frequency adjustment submodule, configured to adjust a frequency of the output audio to be equal to a sum of a frequency equal to the ambient sound and a preset optimal frequency difference;或者,第二频率调节子模块,用于判断所述环境音的频率和预设的最佳频率差值之和是否大于预设的频率最大值;如果大于所述频率最大值,则将所述输出音频的频率调节到等于所述频率最大值;否则,将所述输出音频的频率调节到等于所述环境音的频率和预设的最佳频率差值之和。Or a second frequency adjustment submodule, configured to determine whether a sum of a frequency of the ambient sound and a preset optimal frequency difference is greater than a preset frequency maximum value; if greater than the frequency maximum value, The frequency of the output audio is adjusted to be equal to the maximum value of the frequency; otherwise, the frequency of the output audio is adjusted to be equal to the sum of the frequency of the ambient sound and the preset optimal frequency difference.
- 如权利要求6至8中任意一项所述的输出音频调节系统,其特征在于,进一步包括:The output audio adjustment system according to any one of claims 6 to 8, further comprising:音量获取模块,用于获取当前环境音的音量值以及当前输出音频的音量值;a volume obtaining module, configured to acquire a volume value of the current ambient sound and a volume value of the currently output audio;音量判别模块,用于判断所述输出音频与所述环境音的音量值的差值是否小于预设阈值;a volume discriminating module, configured to determine whether a difference between the volume of the output audio and the volume of the ambient sound is less than a preset threshold;音量调节模块,用于在判断结果为小于所述预设阈值时,根据所述环境音的音量值和预设的最佳音量差值调节所述输出音频的音量。And a volume adjustment module, configured to adjust a volume of the output audio according to a volume value of the ambient sound and a preset optimal volume difference when the determination result is less than the preset threshold.
- 如权利要求9所述的输出音频调节系统,其特征在于,所述音量获取模块包括以下任意一个子模块:The output audio adjustment system of claim 9, wherein the volume acquisition module comprises any one of the following sub-modules:最高音量获取子模块,用于获取音量最大的环境音的音量值作为当前环境音的音量值;The highest volume acquisition sub-module is configured to obtain the volume value of the ambient sound with the highest volume as the volume value of the current ambient sound;平均音量获取子模块,用于获取所有环境音的音量平均值作为当前环境音的音量值;An average volume acquisition sub-module, configured to obtain a volume average of all ambient sounds as a volume value of the current ambient sound;或者,音量运算获取子模块,用于分别获取所述环境音包含的所有不同频率的子环境音的频率和音量,根据以下公式计算当前环境音的音量值:a=(A1*F1/(F1+F2+...+Fm)+A2*F2/(F1+F2+...+Fm)+...+Am*Fm/(F1+F2+...+Fm))/m;其中,a为计算的当前环境音的音量值,m为不同频率的子环境音的数量;Fm为第m个子环境音的频率,Am音量为第m个子环境音的音量。Alternatively, the volume operation acquisition sub-module is configured to separately acquire the frequency and volume of the sub-environment sounds of all the different frequencies included in the environmental sound, and calculate the volume value of the current environmental sound according to the following formula: a=(A1*F1/(F1) +F2+...+Fm)+A2*F2/(F1+F2+...+Fm)+...+Am*Fm/(F1+F2+...+Fm))/m; where a is The calculated volume value of the current ambient sound, m is the number of sub-ambient sounds of different frequencies; Fm is the frequency of the mth sub-ambient sound, and the Am volume is the volume of the mth sub-ambient sound.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210563052.0 | 2012-12-22 | ||
CN201210563052.0A CN103152668B (en) | 2012-12-22 | 2012-12-22 | Adjusting method of output audio and system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014094496A1 true WO2014094496A1 (en) | 2014-06-26 |
Family
ID=48550494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/085759 WO2014094496A1 (en) | 2012-12-22 | 2013-10-23 | Audio output adjustment method and system thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103152668B (en) |
WO (1) | WO2014094496A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106168681A (en) * | 2016-07-15 | 2016-11-30 | 柳州国淘科技有限公司 | A kind of metal detector with regulation warning volume |
CN109195068A (en) * | 2018-09-09 | 2019-01-11 | 昊智信息技术(深圳)有限公司 | Audio-frequency processing method, device and audio frequency apparatus |
CN114885256A (en) * | 2022-05-13 | 2022-08-09 | 福建慧捷通科技有限公司 | Method for automatically adjusting broadcast volume according to use environment and payment collection cloud sound box |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152668B (en) * | 2012-12-22 | 2015-03-11 | 深圳先进技术研究院 | Adjusting method of output audio and system thereof |
KR20140086265A (en) * | 2012-12-28 | 2014-07-08 | 전자부품연구원 | Audio Clear Control Method and Audio output System using the same |
CN104468930B (en) * | 2013-09-17 | 2018-08-31 | 南京中兴软件有限责任公司 | A kind of playback loudness method of adjustment and device |
CN105281693A (en) * | 2014-06-26 | 2016-01-27 | 美的集团股份有限公司 | Voice playing method and system |
CN105469806B (en) * | 2014-09-12 | 2020-02-21 | 联想(北京)有限公司 | Sound processing method, device and system |
CN105764002B (en) * | 2014-12-17 | 2019-10-01 | 南宁富桂精密工业有限公司 | Audio signal processing circuit |
CN105991810A (en) * | 2015-04-16 | 2016-10-05 | 乐视移动智能信息技术(北京)有限公司 | Volume adjustment method, volume adjustment device and mobile terminal |
CN105592195B (en) * | 2016-01-20 | 2019-01-22 | 努比亚技术有限公司 | Volume adaptive regulation method and device |
CN106226825A (en) * | 2016-07-15 | 2016-12-14 | 柳州国淘科技有限公司 | A kind of metal detecting device |
CN105974482A (en) * | 2016-07-15 | 2016-09-28 | 柳州国淘科技有限公司 | Metal detector with additional function |
CN106339198B (en) * | 2016-08-19 | 2020-05-08 | 惠州Tcl移动通信有限公司 | Method and system for automatically adjusting volume of electronic equipment through environment volume |
CN106411434A (en) * | 2016-09-28 | 2017-02-15 | 上海斐讯数据通信技术有限公司 | Broadcasting method and device and FM radio |
CN107124149B (en) * | 2017-05-05 | 2020-12-01 | 北京小鱼在家科技有限公司 | Volume adjustment method, device and equipment |
CN107547732A (en) * | 2017-07-05 | 2018-01-05 | 宇龙计算机通信科技(深圳)有限公司 | A kind of media play volume adjusting method, device, terminal and storage medium |
CN109429142B (en) * | 2017-08-30 | 2021-05-25 | 上海三菱电梯有限公司 | Voice broadcasting system |
CN110570875A (en) * | 2018-06-05 | 2019-12-13 | 塞舌尔商元鼎音讯股份有限公司 | Method for detecting environmental noise to change playing voice frequency and voice playing device |
CN110648686B (en) * | 2018-06-27 | 2023-06-23 | 达发科技股份有限公司 | Method for adjusting voice frequency and sound playing device thereof |
CN113053404A (en) * | 2021-03-22 | 2021-06-29 | 三一重机有限公司 | Method and device for interaction between inside and outside of cab |
CN113721882B (en) * | 2021-08-31 | 2024-08-30 | 广州朗国电子科技股份有限公司 | Advertisement sound playing control method, system, terminal and readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030179887A1 (en) * | 2002-03-19 | 2003-09-25 | Thomas Cronin | Automatic adjustments of audio alert characteristics of an alert device using ambient noise levels |
CN101325406A (en) * | 2008-07-09 | 2008-12-17 | 深圳华为通信技术有限公司 | Method and apparatus for automatically adjusting sound volume |
TW200910901A (en) * | 2007-08-28 | 2009-03-01 | Micro Star Int Co Ltd | Adjusting device and method of notification sound according to the environment |
CN101997498A (en) * | 2009-08-27 | 2011-03-30 | 北京宏景捷讯网络技术股份有限公司 | Volume adjusting method and device |
CN103152668A (en) * | 2012-12-22 | 2013-06-12 | 深圳先进技术研究院 | Adjusting method of output audio and system thereof |
-
2012
- 2012-12-22 CN CN201210563052.0A patent/CN103152668B/en active Active
-
2013
- 2013-10-23 WO PCT/CN2013/085759 patent/WO2014094496A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030179887A1 (en) * | 2002-03-19 | 2003-09-25 | Thomas Cronin | Automatic adjustments of audio alert characteristics of an alert device using ambient noise levels |
TW200910901A (en) * | 2007-08-28 | 2009-03-01 | Micro Star Int Co Ltd | Adjusting device and method of notification sound according to the environment |
CN101325406A (en) * | 2008-07-09 | 2008-12-17 | 深圳华为通信技术有限公司 | Method and apparatus for automatically adjusting sound volume |
CN101997498A (en) * | 2009-08-27 | 2011-03-30 | 北京宏景捷讯网络技术股份有限公司 | Volume adjusting method and device |
CN103152668A (en) * | 2012-12-22 | 2013-06-12 | 深圳先进技术研究院 | Adjusting method of output audio and system thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106168681A (en) * | 2016-07-15 | 2016-11-30 | 柳州国淘科技有限公司 | A kind of metal detector with regulation warning volume |
CN109195068A (en) * | 2018-09-09 | 2019-01-11 | 昊智信息技术(深圳)有限公司 | Audio-frequency processing method, device and audio frequency apparatus |
CN114885256A (en) * | 2022-05-13 | 2022-08-09 | 福建慧捷通科技有限公司 | Method for automatically adjusting broadcast volume according to use environment and payment collection cloud sound box |
Also Published As
Publication number | Publication date |
---|---|
CN103152668B (en) | 2015-03-11 |
CN103152668A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014094496A1 (en) | Audio output adjustment method and system thereof | |
US10356535B2 (en) | Method and system for self-managed sound enhancement | |
US9782131B2 (en) | Method and system for self-managed sound enhancement | |
US9138178B2 (en) | Method and system for self-managed sound enhancement | |
US7564979B2 (en) | Listener specific audio reproduction system | |
US8917894B2 (en) | Method and device for acute sound detection and reproduction | |
WO2014048175A1 (en) | Hearing-aid and anti-noise method and apparatus for bluetooth earphone | |
WO2016127528A1 (en) | Low-power-consumption in-ear active noise reduction music earphone and noise reduction method | |
WO2019009562A1 (en) | Sound output apparatus and signal processing method thereof | |
WO2020009267A1 (en) | Ear hook type hearing aid using rit | |
KR20140006394A (en) | Noise reduction processing device of earphone and headphone. | |
TW202041044A (en) | Audio adjustment method and associated audio adjustment device for active noise cancellation | |
KR20120102561A (en) | Hearing aid masking apparatus and method against environmental noise | |
TWM635174U (en) | Hearing compensation device and hearing apparatus with the hearing compensation device | |
CN106491140A (en) | A kind of hearing test system and method | |
WO2021010781A1 (en) | Personalized headphone equalization | |
WO2007017809A1 (en) | A device for and a method of processing audio data | |
Hoshina et al. | Effects of an active noise control technology applied to earphones on preferred listening levels in noisy environments | |
US11853642B2 (en) | Method and system for adaptive volume control | |
TWI837867B (en) | Sound compensation method and head-mounted apparatus | |
WO2023048499A1 (en) | Method and electronic device for personalized audio enhancement | |
KR101020266B1 (en) | Method for controlling sound volume considering individual auditory capacity characteristic and speaker transmission characteristic and apparatus for controlling sound volume using this | |
CN106888418A (en) | A kind of method for controlling volume and device | |
TW202243494A (en) | Configuration method and system of bone conduction hearing aid device | |
WO2019047055A1 (en) | Downlink voice anti-noise test system and method for communication terminal |
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: 13863818 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205DATED 16/10/2015) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13863818 Country of ref document: EP Kind code of ref document: A1 |