CN112019973B - Sound adjustment method and sound adjustment device implementing the method - Google Patents

Sound adjustment method and sound adjustment device implementing the method Download PDF

Info

Publication number
CN112019973B
CN112019973B CN201910465125.4A CN201910465125A CN112019973B CN 112019973 B CN112019973 B CN 112019973B CN 201910465125 A CN201910465125 A CN 201910465125A CN 112019973 B CN112019973 B CN 112019973B
Authority
CN
China
Prior art keywords
level value
sound
pressure level
sound pressure
adjusted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910465125.4A
Other languages
Chinese (zh)
Other versions
CN112019973A (en
Inventor
吴柏叡
杨国屏
赵冠力
李建颖
张维麟
萧凯元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dafa Technology Co ltd
Original Assignee
Pixart Imaging Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN201910465125.4A priority Critical patent/CN112019973B/en
Publication of CN112019973A publication Critical patent/CN112019973A/en
Application granted granted Critical
Publication of CN112019973B publication Critical patent/CN112019973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

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

一种声音调整方法及执行该方法的声音调整装置,声音调整方法包括下列步骤:取得声音信号,其中声音信号包括多个频段,各频段具有对应的原始声压水准值;将各频段的原始声压水准值分别转换成为对应的响度水准值;将各响度水准值调整一预设响度水准值,以取得各频段的调整后响度水准值;将各调整后响度水准值分别转换成为对应的调整后声压水准值;根据各频段的原始声压水准值及各调整后声压水准值,以计算取得各频段的目标声压水准值;使各频段的原始声压水准值调整各目标声压水准值,以得到一调整声音信号;输出该调整声音信号。

Figure 201910465125

A sound adjustment method and a sound adjustment device for executing the method, the sound adjustment method includes the following steps: obtaining a sound signal, wherein the sound signal includes a plurality of frequency bands, each frequency band has a corresponding original sound pressure level value; The pressure level value is respectively converted into the corresponding loudness level value; each loudness level value is adjusted to a preset loudness level value to obtain the adjusted loudness level value of each frequency band; each adjusted loudness level value is respectively converted into the corresponding adjusted loudness level value Sound pressure level value; According to the original sound pressure level value of each frequency band and the adjusted sound pressure level value, the target sound pressure level value of each frequency band is calculated and obtained; the original sound pressure level value of each frequency band is used to adjust each target sound pressure level. value to obtain an adjustment sound signal; output the adjustment sound signal.

Figure 201910465125

Description

声音调整方法及执行该方法的声音调整装置Sound adjustment method and sound adjustment device implementing the method

技术领域technical field

本发明涉及一种声音调整方法及执行该方法的声音调整装置,特别涉及一种可根据响度水准值的调整而自动调整声压水准值的声音调整方法及执行该方法的声音调整装置。The present invention relates to a sound adjustment method and a sound adjustment device implementing the method, in particular to a sound adjustment method capable of automatically adjusting the sound pressure level value according to the adjustment of the loudness level value, and a sound adjustment device implementing the method.

背景技术Background technique

现在人经常使用耳机来聆听音乐,以达到较佳的听觉效果。但耳机对使用者的听力影响较大,若持续过大的音量就容易造成听力的受损,也因此现今已经发展出一种自动控制音量的方式。然而,目前对于耳机音量的自动控制都是直接就声音的声压水准值一律作相同的调整,但声压水准值大小并不代表使用者实际的听觉感受,以此作为音量调整的基础并不能符合使用者实际听觉状况。Nowadays, people often use headphones to listen to music in order to achieve a better hearing effect. However, the earphone has a great influence on the hearing of the user, and if the volume is continuously too high, it is easy to cause damage to the hearing. Therefore, a method for automatically controlling the volume has been developed. However, the current automatic control of the headphone volume directly adjusts the sound pressure level of the sound in the same way, but the sound pressure level does not represent the actual hearing experience of the user. In line with the user's actual hearing conditions.

因此,有必要发明一种新的具听力保护功能的声音调整装置及其声音调整方法,以解决现有技术的缺失。Therefore, it is necessary to invent a new sound adjustment device with hearing protection function and a sound adjustment method thereof to solve the deficiencies of the prior art.

发明内容SUMMARY OF THE INVENTION

本发明的主要目的在于提供一种藉由响度水准值的调整而自动调整声压水准值的声音调整方法。The main purpose of the present invention is to provide a sound adjustment method for automatically adjusting the sound pressure level by adjusting the loudness level.

本发明的另一主要目的在于提供一种执行上述方法的声音调整装置。Another main object of the present invention is to provide a sound adjustment device for implementing the above method.

为达成上述的目的,本发明的声音调整方法用于一声音调整装置,藉以调整声音信号。本发明的声音调整方法包括下列步骤:取得声音信号,其中声音信号包括多个频段,各频段具有对应的原始声压水准值;将各频段的原始声压水准值分别转换成为对应的响度水准值;将各响度水准值调整一预设响度水准值,以取得各频段的调整后响度水准值;将各调整后响度水准值分别转换成为对应的调整后声压水准值;根据各频段的原始声压水准值及各调整后声压水准值,以计算取得各频段的目标声压水准值;使各频段的原始声压水准值调整各目标声压水准值,以得到一调整声音信号;输出该调整声音信号。In order to achieve the above-mentioned object, the sound adjustment method of the present invention is used in a sound adjustment device to adjust the sound signal. The sound adjustment method of the present invention comprises the following steps: obtaining a sound signal, wherein the sound signal includes a plurality of frequency bands, and each frequency band has a corresponding original sound pressure level value; and converting the original sound pressure level value of each frequency band into a corresponding loudness level value respectively ; Adjust each loudness level value to a preset loudness level value to obtain the adjusted loudness level value of each frequency band; convert each adjusted loudness level value into the corresponding adjusted sound pressure level value; The sound pressure level value and each adjusted sound pressure level value are calculated to obtain the target sound pressure level value of each frequency band; the original sound pressure level value of each frequency band is adjusted to each target sound pressure level value to obtain an adjusted sound signal; output the Adjust the sound signal.

本发明的声音调整装置用以调整声音信号,包括有输入端、处理单元及输出端。输入端用以取得声音信号,其中声音信号包括多个频段,各频段具有对应的原始声压水准值。处理单元与输入端电性连接,处理单元包括第一转换模块、响度调整模块、第二转换模块、计算模块及声强调整模块。第一转换模块用以将各频段的原始声压水准值分别转换成为对应的响度水准值。响度调整模块用以将各响度水准值调整一预设响度水准值,以取得各频段的调整后响度水准值。第二转换模块用以将各调整后响度水准值分别转换成为对应的调整后声压水准值。计算模块用以根据各频段的原始声压水准值及各调整后声压水准值,以计算取得各频段的目标声压水准值。声强调整模块用以使各频段的原始声压水准值调整各目标声压水准值,以得到调整声音信号。输出端电性连接处理单元,输出端用以输出该调整声音信号。The sound adjusting device of the present invention is used for adjusting the sound signal, and includes an input end, a processing unit and an output end. The input end is used to obtain a sound signal, wherein the sound signal includes a plurality of frequency bands, and each frequency band has a corresponding original sound pressure level value. The processing unit is electrically connected with the input end, and the processing unit includes a first conversion module, a loudness adjustment module, a second conversion module, a calculation module and a sound intensity adjustment module. The first conversion module is used for converting the original sound pressure level values of each frequency band into corresponding loudness level values respectively. The loudness adjustment module is used for adjusting each loudness level value to a preset loudness level value, so as to obtain the adjusted loudness level value of each frequency band. The second conversion module is used for converting each adjusted loudness level value into a corresponding adjusted sound pressure level value. The calculation module is used for calculating and obtaining the target sound pressure level value of each frequency band according to the original sound pressure level value of each frequency band and each adjusted sound pressure level value. The sound intensity adjustment module is used for adjusting the original sound pressure level value of each frequency band to adjust each target sound pressure level value, so as to obtain an adjusted sound signal. The output end is electrically connected to the processing unit, and the output end is used for outputting the adjusted sound signal.

以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention is described in detail below with reference to the accompanying drawings and specific embodiments, but is not intended to limit the present invention.

附图说明Description of drawings

图1本发明的声音调整装置的一实施例的装置架构图;1 is a device architecture diagram of an embodiment of the sound adjustment device of the present invention;

图2本发明的声音调整方法的一实施例的步骤流程图;2 is a flow chart of steps of an embodiment of the sound adjustment method of the present invention;

图3表示声音信号不同频段的音量示意图;Fig. 3 shows the volume schematic diagram of different frequency bands of the sound signal;

图4表示声压水准值与响度水准值间的转换的示意图。FIG. 4 is a schematic diagram showing the conversion between sound pressure level values and loudness level values.

其中,附图标记where the reference number

声音调整装置1 输入端10Sound adjustment device 1 Input 10

处理单元20 检测模块21Processing unit 20 Detection module 21

第一转换模块22 响度调整模块23First conversion module 22 Loudness adjustment module 23

第二转换模块24 计算模块25second conversion module 24 calculation module 25

声强调整模块26 输出端30Sound intensity adjustment module 26 Output end 30

调整声音信号80 声音信号90Adjust sound signal 80 Sound signal 90

声音产生装置100 扬声装置200Sound generating device 100 Speaker device 200

具体实施方式Detailed ways

为能更了解本发明的技术内容,特举较佳具体实施例说明如下。In order to better understand the technical content of the present invention, preferred specific embodiments are given and described as follows.

以下请先参考图1本发明的声音调整装置的一实施例的装置架构图。In the following, please refer to FIG. 1 which is an apparatus structure diagram of an embodiment of the sound adjustment apparatus of the present invention.

如图1所示,本发明的声音调整装置1具有听力保护的功能,用以在一扬声装置200播放的声音音量及累积时间达于一设定条件时,调整一声音产生装置100所产生的声音信号的声压水准值,并由扬声装置200根据声压水准值被调整后的声音信号发出声音,以避免使用者听力受损。除此之外,本发明的声音调整装置1也可根据由使用者输入的声音调整指令来调整声音信号的声压水准值。在具体实施例中,声音产生装置100可为音响、电视机或手机等会产生声音信号的装置,而扬声装置200可为耳机或喇叭,但本发明不以上述列举的装置为限。此外,在具体实施例中,声音调整装置1可为一颗微处理器芯片,设置于声音产生装置100上,并以有线或无线方式与扬声装置200连接通讯,但本发明不以此为限。在其他实施例中,声音调整装置1也可设置在扬声装置200上,而以有线或无线方式与声音产生装置100连接通讯。As shown in FIG. 1 , the sound adjusting device 1 of the present invention has the function of hearing protection, and is used to adjust the sound volume and the accumulated time of the sound played by a speaker device 200 reach a set condition, to adjust the sound generated by a sound generating device 100 The sound pressure level value of the sound signal, and the speaker device 200 emits sound according to the sound pressure level value adjusted sound signal, so as to avoid hearing damage of the user. Besides, the sound adjustment device 1 of the present invention can also adjust the sound pressure level value of the sound signal according to the sound adjustment command input by the user. In a specific embodiment, the sound generating device 100 may be a device capable of generating sound signals, such as a stereo, a television or a mobile phone, and the speaker device 200 may be an earphone or a speaker, but the invention is not limited to the above-mentioned devices. In addition, in the specific embodiment, the sound adjustment device 1 can be a microprocessor chip, which is disposed on the sound generating device 100 and is connected and communicated with the speaker device 200 in a wired or wireless manner, but this is not the case in the present invention limit. In other embodiments, the sound adjustment device 1 can also be disposed on the speaker device 200 to communicate with the sound generation device 100 in a wired or wireless manner.

如图1所示,在本发明的一实施例中,声音调整装置1包括输入端10、处理单元20及输出端30。As shown in FIG. 1 , in an embodiment of the present invention, the sound adjustment device 1 includes an input end 10 , a processing unit 20 and an output end 30 .

在本发明的一实施例中,输入端10与声音产生装置100连接通讯,以取得该声音产生装置100所产生的声音信号90。此声音信号90包括多个频段,各个不同频段具有各自的原始声压水准值。In an embodiment of the present invention, the input terminal 10 is connected and communicated with the sound generating device 100 to obtain the sound signal 90 generated by the sound generating device 100 . The sound signal 90 includes a plurality of frequency bands, and each of the different frequency bands has its own original sound pressure level value.

在本发明的一实施例中,处理单元20与输入端10电性连接。处理单元20包括检测模块21、第一转换模块22、响度调整模块23、第二转换模块24、计算模块25及声强调整模块26。需注意的是,上述模块除可配置为硬件装置、软件程序、固件或其组合外,亦可藉电路回路或其他适当型式配置;并且,各个模块除可以单独的型式配置外,亦可以结合的型式配置。一个较佳实施例是各模块皆为软件程序储存于储存单元(图未示)中,藉由处理单元20执行各模块以达成本发明的功能。此外,本实施方式仅例示本发明的较佳实施例,为避免赘述,并未详加记载所有可能的变化组合。然而,本领域的通常知识者应可理解,上述各模块或元件未必皆为必要。且为实施本发明,亦可能包含其他较细节的现有模块或元件。各模块或元件皆可能视需求加以省略或修改,且任两模块间未必不存在其他模块或元件。In an embodiment of the present invention, the processing unit 20 is electrically connected to the input terminal 10 . The processing unit 20 includes a detection module 21 , a first conversion module 22 , a loudness adjustment module 23 , a second conversion module 24 , a calculation module 25 and a sound intensity adjustment module 26 . It should be noted that the above modules can be configured as hardware devices, software programs, firmware or their combinations, but also by circuit loops or other suitable types; and each module can be configured in a separate type, and can also be combined. Type configuration. In a preferred embodiment, each module is a software program stored in a storage unit (not shown), and each module is executed by the processing unit 20 to achieve the functions of the present invention. In addition, this embodiment only illustrates a preferred embodiment of the present invention, and to avoid repetition, all possible variations and combinations are not described in detail. However, those skilled in the art should understand that the above modules or elements are not necessarily all necessary. In order to implement the present invention, other more detailed existing modules or elements may also be included. Each module or element may be omitted or modified as required, and there may not be other modules or elements between any two modules.

在本发明的一实施例中,检测模块21用以检测扬声装置200先前播放的声音音量及累积时间是否超过一设定条件,或是否接收到一声音调整指令。当检测模块21检测到扬声装置200先前播放的声音音量及累积时间已经超过该设定条件,例如扬声装置200先前播放85~87分贝声音的时间已经累积达288秒时,或者接收到由使用者通过输入界面输入的声音调整指令时,处理单元20便会开始对接收到的声音信号90以下述的方式进行声压水准值的调整。In an embodiment of the present invention, the detection module 21 is used to detect whether the volume and accumulated time of the sound played by the speaker device 200 previously exceed a set condition, or whether a sound adjustment command is received. When the detection module 21 detects that the volume and accumulated time of the sound previously played by the speaker device 200 have exceeded the set condition, for example, when the time that the speaker device 200 previously played the sound of 85-87 decibels has accumulated for 288 seconds, or receives a When the user inputs the sound adjustment instruction through the input interface, the processing unit 20 will start to adjust the sound pressure level value of the received sound signal 90 in the following manner.

在本发明的一实施例中,第一转换模块22根据一等响曲线(equal-loudnesscontours)而将声音信号90的各频段的原始声压水准值分别转换成为对应的响度水准值。所谓「声压水准(Sound Pressure Level,SPL)」是表示声音强度的客观物理量,单位为分贝(dB)。「响度水准(loudness level)」则是表示声音强度的主观心理量,单位为phons。在具体实施例中,声音调整装置1可事先储存一标准的等响曲线,例如弗莱彻-蒙森曲线,但不以此为限。In an embodiment of the present invention, the first conversion module 22 converts the original sound pressure level values of each frequency band of the sound signal 90 into corresponding loudness level values according to equal-loudness contours. The so-called "Sound Pressure Level (SPL)" is an objective physical quantity that expresses the intensity of sound, and the unit is decibel (dB). The "loudness level" is a subjective psychological quantity that expresses the intensity of the sound, and the unit is phons. In a specific embodiment, the sound adjustment device 1 may store a standard equal-loudness curve, such as a Fletcher-Monsen curve, in advance, but it is not limited thereto.

在本发明的一实施例中,响度调整模块23用以将各该响度水准值调整一预设响度水准值,以取得声音信号90的各频段的调整后响度水准值。在具体实施例中,若调整是根据扬声装置200先前播放的声音音量及累积时间超过设定条件而执行时,则预设响度水准值是根据扬声装置200先前播放声音的音量及累积时间来决定。关于预设响度水准值与扬声装置200先前播放声音的音量及累积时间的关系,在以下会有更详细的说明,在此暂不予赘述。另外,若调整是根据接收到的声音调整指令而执行时,则预设响度水准值为事先设定好的固定值,例如15phons。In an embodiment of the present invention, the loudness adjustment module 23 is configured to adjust each of the loudness level values by a preset loudness level value, so as to obtain the adjusted loudness level value of each frequency band of the sound signal 90 . In a specific embodiment, if the adjustment is performed according to the volume and accumulation time of the sound previously played by the speaker device 200 exceeding the set condition, the preset loudness level value is based on the volume and accumulation time of the sound previously played by the speaker device 200 to decide. The relationship between the preset loudness level value and the volume and accumulation time of the sound previously played by the speaker device 200 will be described in more detail below, and will not be repeated here for the time being. In addition, if the adjustment is performed according to the received sound adjustment instruction, the preset loudness level value is a preset fixed value, such as 15 phons.

在本发明的一实施例中,第二转换模块24用以将各该调整后响度水准值分别转换成为对应的一调整后声压水准值。同样地,在此的调整后响度水准值与调整后声压水准值间的转换,也是根据前面提到的等响曲线来进行,但不以此为限。In an embodiment of the present invention, the second conversion module 24 is configured to convert each of the adjusted loudness level values into a corresponding adjusted sound pressure level value, respectively. Similarly, the conversion between the adjusted loudness level value and the adjusted sound pressure level value here is also performed according to the aforementioned equal-loudness curve, but is not limited thereto.

在本发明的一实施例中,计算模块25用以根据声音信号90的各频段的原始声压水准值及各调整后声压水准值,以计算取得声音信号90的各频段的目标声压水准值。举例来说,假设声音信号90在1000赫兹频段的原始声压水准值为90分贝,而声音信号90在1000赫兹频段的调整后声压水准值为75分贝,则计算模块25即会以调整后声压水准值75分贝减去原始声压水准值90分贝,以得到-15分贝的目标声压水准值。In an embodiment of the present invention, the calculation module 25 is configured to calculate and obtain the target sound pressure level of each frequency band of the sound signal 90 according to the original sound pressure level value and each adjusted sound pressure level value of each frequency band of the sound signal 90 . value. For example, assuming that the original sound pressure level of the sound signal 90 in the 1000 Hz frequency band is 90 decibels, and the adjusted sound pressure level of the sound signal 90 in the 1000 Hz frequency band is 75 decibels, the calculation module 25 will use the adjusted sound pressure level. The sound pressure level value of 75 dB is subtracted from the original sound pressure level value of 90 dB to obtain the target sound pressure level value of -15 dB.

在本发明的一实施例中,声强调整模块26用以使声音信号90的各频段的原始声压水准值调整各目标声压水准值,以得到一调整声音信号80。举例而言,假设声音信号90在1000赫兹频段的原始声压水准值为90分贝,而计算取得的目标声压水准值为-15分贝,则调整声音信号80在1000赫兹频段的声压水准值为75分贝,即等于原始声压水准值为90分贝加上目标声压水准值为-15分贝。In an embodiment of the present invention, the sound intensity adjustment module 26 is used for adjusting the target sound pressure level with the original sound pressure level of each frequency band of the sound signal 90 to obtain an adjusted sound signal 80 . For example, assuming that the original sound pressure level value of the sound signal 90 in the 1000 Hz frequency band is 90 dB, and the target sound pressure level value obtained by calculation is -15 dB, then adjust the sound pressure level value of the sound signal 80 in the 1000 Hz frequency band. is 75 decibels, which is equal to the original sound pressure level of 90 decibels plus the target sound pressure level of -15 decibels.

在本发明的一实施例中,输出端30与处理单元20电性连接,并与扬声装置200以有线或无线方式与连接通讯。输出端30用以输出调整声音信号80。In an embodiment of the present invention, the output end 30 is electrically connected to the processing unit 20 and communicates with the speaker device 200 in a wired or wireless manner. The output terminal 30 is used for outputting the adjusted sound signal 80 .

接着,请一并参考图1至图4,其中图2本发明的声音调整方法的一实施例的步骤流程图,以下将配合图1、图3及图4,以说明图2中所示的各步骤。此处需注意的是,以下虽以上述声音调整装置1为例说明本发明的声音调整方法,但本发明的声音调整方法并不以使用在上述相同结构的声音调整装置1为限。Next, please refer to FIG. 1 to FIG. 4 together, in which FIG. 2 is a flow chart of the steps of an embodiment of the sound adjustment method of the present invention. each step. It should be noted here that although the above-mentioned sound adjustment device 1 is used as an example to describe the sound adjustment method of the present invention, the sound adjustment method of the present invention is not limited to the sound adjustment device 1 having the same structure as described above.

首先,进行步骤S1:取得声音信号。First, step S1 is performed: the audio signal is acquired.

输入端10利用有线或是无线方式连接于声音产生装置100,以取得声音产生装置100所产生的声音信号90。其中声音信号90包括多个频段,且各频段都有对应的原始声压水准值。以图3所示为例,多个频段可包含100赫兹、1000赫兹及10000赫兹三个频段,其中100赫兹频段的原始声压水准值为100分贝,1000赫兹频段的原始声压水准值为90分贝,10000赫兹频段的原始声压水准值为80分贝,但本发明不以此为限。The input end 10 is connected to the sound generating device 100 by wire or wirelessly, so as to obtain the sound signal 90 generated by the sound generating device 100 . The sound signal 90 includes multiple frequency bands, and each frequency band has a corresponding original sound pressure level value. Taking the example shown in Figure 3, the multiple frequency bands can include three frequency bands: 100 Hz, 1000 Hz and 10000 Hz. The original sound pressure level of the 100 Hz band is 100 dB, and the original sound pressure level of the 1000 Hz band is 90. The original sound pressure level value of the 10000 Hz frequency band is 80 decibels, but the present invention is not limited to this.

进行步骤S2:检测扬声装置先前播放的声音音量及累积时间是否超过设定条件,或是否接收到声音调整指令。Go to step S2: Detect whether the volume and accumulated time of the sound played by the speaker device previously exceed the set condition, or whether a sound adjustment instruction is received.

处理单元20的检测模块21会检测扬声装置200先前播放的声音音量及累积时间是否超过设定条件,或检测是否接收到由使用者输入的声音调整指令。若扬声装置200先前播放的声音音量及累积时间未超过设定条件且处理单元20也未接收到声音调整指令时,则不做声音信号调整,直接出该声音信号90(即执行步骤S9)。当检测模块21检测到扬声装置200先前播放的声音音量及累积时间已经超过该设定条件,例如扬声装置200先前播放85~87分贝声音的时间已经累积达288秒时,或者接收到由使用者通过输入界面输入的声音调整指令时,处理单元20便会开始对声音信号90以下述步骤S3至S7的方式进行声压水准值的调整。也就是说,本发明的声音调整方法可应用于为保护使用者听力而执行的音量调降,或使用者自主控制调升或调降播放音量两种情况。The detection module 21 of the processing unit 20 detects whether the volume and accumulated time of the sound previously played by the speaker device 200 exceed the set conditions, or detects whether a sound adjustment command input by the user is received. If the volume and accumulated time of the sound previously played by the speaker device 200 do not exceed the set conditions and the processing unit 20 has not received the sound adjustment instruction, the sound signal will not be adjusted, and the sound signal 90 will be output directly (ie, step S9 is executed). . When the detection module 21 detects that the volume and accumulated time of the sound previously played by the speaker device 200 have exceeded the set condition, for example, when the time that the speaker device 200 previously played the sound of 85-87 decibels has accumulated for 288 seconds, or receives a When the user inputs a sound adjustment instruction through the input interface, the processing unit 20 will start to adjust the sound pressure level value of the sound signal 90 in the manner of the following steps S3 to S7. That is to say, the sound adjustment method of the present invention can be applied to the volume reduction performed to protect the user's hearing, or the user's autonomous control to increase or decrease the playback volume.

进行步骤S3:将声音信号的各频段的原始声压水准值分别转换成为对应的响度水准值。Go to step S3: Convert the original sound pressure level values of each frequency band of the sound signal into corresponding loudness level values respectively.

当检测到扬声装置200先前播放的声音音量及累积时间超过设定条件,或有检测到声音调整指令时,第一转换模块22会根据一等响曲线(equal-loudness contours)而将声音信号90的各频段的原始声压水准值分别转换成为对应的响度水准值,该等响曲线例如可为弗莱彻-蒙森曲线,可被事先储存于声音调整装置1内。举前揭例子为例,如图4所示,100赫兹频段的原始声压水准值为100分贝,转换成为对应的响度水准值为91(phons),1000赫兹频段的原始声压水准值为90分贝,转换成为对应的响度水准值为90(phons),10000赫兹频段的原始声压水准值为80分贝,转换成为对应的响度水准值为67(phons)。When it is detected that the volume and accumulated time of the sound previously played by the speaker device 200 exceed the set conditions, or a sound adjustment command is detected, the first conversion module 22 will convert the sound signal according to equal-loudness contours The original sound pressure level values of each frequency band of 90 are respectively converted into corresponding loudness level values. The loudness curves can be, for example, Fletcher-Monsen curves, which can be stored in the sound adjustment device 1 in advance. Taking the previous example as an example, as shown in Figure 4, the original sound pressure level value of the 100 Hz frequency band is 100 decibels, which is converted into a corresponding loudness level value of 91 (phons), and the original sound pressure level value of the 1000 Hz frequency band is 90. The decibel is converted into the corresponding loudness level value of 90 (phons), and the original sound pressure level value of the 10000 Hz frequency band is 80 decibels, which is converted into the corresponding loudness level value of 67 (phons).

进行步骤S4:将各响度水准值调整一预设响度水准值,以取得声音信号的各频段的调整后响度水准值。Go to step S4 : adjust each loudness level value to a preset loudness level value to obtain the adjusted loudness level value of each frequency band of the sound signal.

在完成步骤S3后,接着响度调整模块23会将于步骤S3中转换取得的各响度水准值调整一预设响度水准值,以取得声音信号90的各频段的调整后响度水准值。以图4所示为例,预设响度水准值为-15(phons),因此,100赫兹频段的调整后响度水准值为76(phons),1000赫兹频段的调整后响度水准值为75(phons),10000赫兹频段的调整后响度水准值为52(phons)。需注意的是,在具体实施例中,若调整是根据扬声装置200先前播放的声音音量及累积时间超过设定条件而执行时,本发明的预设响度水准值可根据扬声装置200先前播放声音的音量及累积时间来决定,并非唯一值,预设响度水准值与扬声装置200先前播放声音的音量及累积时间具体的对应关系可如下表所示,但不以此为限。After step S3 is completed, the loudness adjustment module 23 then adjusts each loudness level value converted in step S3 to a preset loudness level value to obtain the adjusted loudness level value of each frequency band of the sound signal 90 . Taking Figure 4 as an example, the preset loudness level is -15 (phons), therefore, the adjusted loudness level of the 100 Hz band is 76 (phons), and the adjusted loudness level of the 1000 Hz band is 75 (phons). ), the adjusted loudness level for the 10000 Hz band is 52 (phons). It should be noted that, in the specific embodiment, if the adjustment is performed according to the volume of the sound played by the speaker device 200 previously and the accumulated time exceeds the set condition, the preset loudness level value of the present invention may be based on the previous volume of the speaker device 200. The volume and accumulation time of the playing sound are determined, and are not unique values. The specific corresponding relationship between the preset loudness level value and the volume and accumulation time of the previously played sound of the speaker device 200 can be shown in the following table, but is not limited thereto.

Figure BDA0002079195810000061
Figure BDA0002079195810000061

Figure BDA0002079195810000071
Figure BDA0002079195810000071

由上表可知,在所举例子中,假设扬声装置200先前播放85~87分贝声音的时间已经累积达288秒时,响度调整模块23即会调降5(phons)的响度水准值(即预设响度水准值为-5(phons));当扬声装置200先前播放85~87分贝声音的时间已经累积达504秒时,响度调整模块23即会调降15(phons)的响度水准值(即预设响度水准值为-15(phons))。又当扬声装置200先前播放94~96分贝声音的时间已经累积达63秒时,响度调整模块23也会调降15(phons)的响度水准值(即预设响度水准值为-15(phons))。另外,若调整是根据接收到的声音调整指令而执行时,则预设响度水准值为事先设定好的固定值。举例来说,假设100赫兹频段的响度水准值为91(phons),若接收到使用者输入的声音调整指令为音量调升指令时,则响度调整模块23会调升15(phons)的响度水准值(即预设响度水准值为15(phons)),以取得该频段的调整后响度水准值为106(phons)。It can be seen from the above table that, in the example given, it is assumed that the loudness adjustment module 23 will reduce the loudness level value by 5 (phons) when the time that the speaker device 200 has previously played the sound of 85-87 decibels has accumulated for 288 seconds (that is, The preset loudness level is -5 (phons); when the loudspeaker device 200 has previously played a sound of 85-87 decibels for 504 seconds, the loudness adjustment module 23 will decrease the loudness level by 15 (phons). (That is, the preset loudness level value is -15 (phons)). Furthermore, when the time that the speaker device 200 previously played the sound of 94 to 96 decibels has accumulated for 63 seconds, the loudness adjustment module 23 will also reduce the loudness level value by 15 (phons) (that is, the preset loudness level value is -15 (phons). )). In addition, if the adjustment is performed according to the received sound adjustment instruction, the preset loudness level value is a preset fixed value. For example, assuming that the loudness level of the 100 Hz frequency band is 91 (phons), if the sound adjustment command input by the user is a volume up command, the loudness adjustment module 23 will increase the loudness level by 15 (phons) value (that is, the preset loudness level value is 15 (phons)), to obtain the adjusted loudness level value of this frequency band is 106 (phons).

进行步骤S5:将各调整后响度水准值分别转换成为对应的调整后声压水准值。Go to step S5 : convert each adjusted loudness level value into a corresponding adjusted sound pressure level value.

步骤S4完成后,第二转换模块24会依据等响曲线再将各调整后响度水准值分别转换成为对应的调整后声压水准值。以图4所示为例,100赫兹频段的调整后响度水准值为76(phons),转换成为对应的调整后声压水准值为90分贝;1000赫兹频段的调整后响度水准值为75(phons),转换成为对应的调整后声压水准值为75分贝;10000赫兹频段的调整后响度水准值为52(phons),转换成为对应的调整后声压水准值为66分贝。After step S4 is completed, the second conversion module 24 will convert each adjusted loudness level value into a corresponding adjusted sound pressure level value according to the equal loudness curve. Taking Figure 4 as an example, the adjusted loudness level value of the 100 Hz frequency band is 76 (phons), which is converted into a corresponding adjusted sound pressure level value of 90 decibels; the adjusted loudness level value of the 1000 Hz frequency band is 75 (phons). ), which is converted into a corresponding adjusted sound pressure level of 75 decibels; the adjusted loudness level of 10,000 Hz frequency band is 52 (phons), which is converted into a corresponding adjusted sound pressure level of 66 decibels.

进行步骤S6:根据各频段的原始声压水准值及各调整后声压水准值,以计算取得各频段的目标声压水准值。Go to step S6: Calculate and obtain the target sound pressure level value of each frequency band according to the original sound pressure level value of each frequency band and each adjusted sound pressure level value.

在取得调整后声压水准值后,接着计算模块25即会根据各频段的原始声压水准值及调整后声压水准值,以计算取得各频段的目标声压水准值。以前揭例子为例,100赫兹频段的原始声压水准值为100分贝,调整后声压水准值为90分贝,则计算模块25会以90分贝与100分贝的差值-10分贝作为目标声压水准值,亦即目标声压水准值等于调整后声压水准值减去原始声压水准值;1000赫兹频段的原始声压水准值为90分贝,调整后声压水准值为75分贝,得到的目标声压水准值则为-15分贝;10000赫兹频段的原始声压水准值为80分贝,调整后声压水准值为66分贝,得到的目标声压水准值则为-14分贝。After obtaining the adjusted sound pressure level value, the calculation module 25 then calculates and obtains the target sound pressure level value of each frequency band according to the original sound pressure level value of each frequency band and the adjusted sound pressure level value. Taking the previous example as an example, the original sound pressure level in the 100 Hz frequency band is 100 decibels, and the adjusted sound pressure level is 90 decibels, then the calculation module 25 will use the difference between 90 decibels and 100 decibels -10 decibels as the target sound pressure The level value, that is, the target sound pressure level value is equal to the adjusted sound pressure level value minus the original sound pressure level value; the original sound pressure level value of the 1000 Hz frequency band is 90 decibels, and the adjusted sound pressure level value is 75 decibels. The target sound pressure level value is -15 decibels; the original sound pressure level value of the 10000 Hz frequency band is 80 decibels, the adjusted sound pressure level value is 66 decibels, and the obtained target sound pressure level value is -14 decibels.

进行步骤S7:使各频段的原始声压水准值调整各目标声压水准值,以得到调整声音信号。Go to step S7: adjust the original sound pressure level value of each frequency band to each target sound pressure level value, so as to obtain an adjusted sound signal.

当取得目标声压水准值后,声强调整模块26会将各频段的原始声压水准值加上各频段应调整的目标声压水准值,以得到调整声音信号80。以上述例子为例,即调整声音信号80包括有100赫兹频段、1000赫兹频段及10000赫兹频段,而各频段的声压水准值依序分别为90分贝、75分贝及66分贝。After obtaining the target sound pressure level value, the sound intensity adjustment module 26 adds the original sound pressure level value of each frequency band to the target sound pressure level value to be adjusted in each frequency band to obtain the adjusted sound signal 80 . Taking the above example as an example, the adjusted sound signal 80 includes a 100 Hz frequency band, a 1000 Hz frequency band and a 10000 Hz frequency band, and the sound pressure levels of the frequency bands are respectively 90 dB, 75 dB and 66 dB in sequence.

最后,进行步骤S8:输出该调整声音信号。Finally, step S8 is performed: the adjustment sound signal is output.

最后输出端14用以输出该调整声音信号80给扬声装置200。The final output terminal 14 is used for outputting the adjusted sound signal 80 to the speaker device 200 .

经由前揭说明可知,本发明的声音调整装置1可利用分别调整声音不同频段的声压水准值,达到更佳的听力保护效果,并且由于调降的基础是根据调降后的响度水准值转换而来,因此可以It can be seen from the foregoing description that the sound adjustment device 1 of the present invention can adjust the sound pressure level values of different frequency bands of the sound respectively, so as to achieve a better hearing protection effect, and since the basis of the adjustment is to convert according to the reduced loudness level value. come, so you can

需注意的是,上述实施方式仅例示本发明的较佳实施例,为避免赘述,并未详加记载所有可能的变化组合。然而,本领域的通常知识者应可理解,上述各模块或元件未必皆为必要。且为实施本发明,亦可能包含其他较细节的现有模块或元件。各模块或元件皆可能视需求加以省略或修改,且任两模块间未必不存在其他模块或元件。It should be noted that the above-mentioned embodiments merely illustrate the preferred embodiments of the present invention, and to avoid repetition, all possible variations and combinations are not described in detail. However, those skilled in the art should understand that the above modules or elements are not necessarily all necessary. In order to implement the present invention, other more detailed existing modules or elements may also be included. Each module or element may be omitted or modified as required, and there may not be other modules or elements between any two modules.

当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Of course, the present invention can also have other various embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and modifications according to the present invention, but these corresponding Changes and deformations should belong to the protection scope of the appended claims of the present invention.

Claims (4)

1.一种声音调整方法,用于一声音调整装置以调整一声音信号,其特征在于,该方法包括下列步骤:取得该声音信号,该声音信号包括多个频段,各该频段具有一原始声压水准值;1. A sound adjustment method for a sound adjustment device to adjust a sound signal, wherein the method comprises the steps of: obtaining the sound signal, the sound signal comprising a plurality of frequency bands, each of the frequency bands having an original sound pressure level value; 将各该频段的原始声压水准值分别转换成为对应的一响度水准值;Convert the original sound pressure level value of each frequency band into a corresponding loudness level value; 将各该响度水准值调整一预设响度水准值,以取得各该频段的一调整后响度水准值;adjusting each of the loudness level values to a preset loudness level value to obtain an adjusted loudness level value for each of the frequency bands; 将各该调整后响度水准值分别转换成为对应的一调整后声压水准值;converting each adjusted loudness level value into a corresponding adjusted sound pressure level value; 根据各该频段的原始声压水准值及各该调整后声压水准值,以计算取得各该频段的一目标声压水准值;According to the original sound pressure level value of each frequency band and the adjusted sound pressure level value, obtain a target sound pressure level value of each frequency band; 使各该频段的原始声压水准值调整各该目标声压水准值,以得到一调整声音信号;输出该调整声音信号;以及adjusting the target sound pressure level values from the original sound pressure level values of the frequency bands to obtain an adjusted sound signal; outputting the adjusted sound signal; and 检测一扬声装置先前播放的声音音量及累积时间是否超过一设定条件,Detecting whether the volume and accumulated time of the sound previously played by a speaker device exceed a set condition, 该预设响度水准值根据该扬声装置先前播放的声音音量及累积时间来决定,在播放的声音音量为相同的条件下,当累积时间越长,增加该目标声压水准值的调降程度,且越大的声音音量则越短的累积时间就会达到该目标声压水准值的相同调降程度。The preset loudness level value is determined according to the volume of the sound previously played by the speaker device and the accumulated time. Under the condition that the volume of the sound played is the same, when the accumulated time is longer, the reduction degree of the target sound pressure level value is increased. , and the larger the sound volume, the shorter the accumulation time will achieve the same reduction degree of the target sound pressure level value. 2.根据权利要求1所述的方法,其特征在于,将各该频段的原始声压水准值分别转换成为对应的该响度水准值以及将各该调整后响度水准值分别转换成为对应的该调整后声压水准值依据一等响曲线来进行转换。2 . The method according to claim 1 , wherein the original sound pressure level values of each frequency band are respectively converted into the corresponding loudness level values and the adjusted loudness level values are respectively converted into the corresponding adjusted loudness level values. 3 . The rear sound pressure level value is converted according to the first class loudness curve. 3.一种声音调整装置,用以调整一声音信号,其特征在于,该声音调整装置包括:3. A sound adjustment device for adjusting a sound signal, wherein the sound adjustment device comprises: 一输入端,用以取得该声音信号,该声音信号包括多个频段,各该频段具有一原始声压水准值;an input terminal for obtaining the sound signal, the sound signal includes a plurality of frequency bands, and each of the frequency bands has an original sound pressure level value; 一处理单元,与该输入端电性连接,该处理单元包括:a processing unit electrically connected to the input end, the processing unit comprising: 一第一转换模块,用以将各该频段的原始声压水准值分别转换成为对应的一响度水准值;a first conversion module, for converting the original sound pressure level value of each frequency band into a corresponding loudness level value; 一响度调整模块,用以将各该响度水准值调整一预设响度水准值,以取得各该频段的一调整后响度水准值;a loudness adjustment module for adjusting each of the loudness level values to a preset loudness level value to obtain an adjusted loudness level value for each of the frequency bands; 一第二转换模块,用以将各该调整后响度水准值分别转换成为对应的一调整后声压水准值;a second conversion module for converting each adjusted loudness level value into a corresponding adjusted sound pressure level value; 一计算模块,用以根据各该频段的原始声压水准值及各该调整后声压水准值,以计算取得各该频段的一目标声压水准值;以及a calculation module for obtaining a target sound pressure level of each frequency band according to the original sound pressure level value of each frequency band and each of the adjusted sound pressure level values; and 一声强调整模块,用以使各该频段的原始声压水准值调整各该目标声压水准值,以得到一调整声音信号;The sound intensity adjustment module is used for adjusting the target sound pressure level values of the original sound pressure level values of the frequency bands to obtain an adjusted sound signal; 一输出端,电性连接该处理单元,用以输出该调整声音信号;以及an output terminal electrically connected to the processing unit for outputting the adjusted sound signal; and 一检测模块,用以检测一扬声装置先前播放的声音音量及累积时间是否超过一设定条件;a detection module for detecting whether the volume and accumulated time of the sound previously played by a speaker device exceed a set condition; 该预设响度水准值根据该扬声装置先前播放的声音音量及累积时间来决定,在播放的声音音量为相同的条件下,当累积时间越长,增加该目标声压水准值的调降程度,且越大的声音音量则越短的累积时间就会达到该目标声压水准值的相同调降程度。The preset loudness level value is determined according to the volume of the sound previously played by the speaker device and the accumulated time. Under the condition that the volume of the sound played is the same, when the accumulated time is longer, the reduction degree of the target sound pressure level value is increased. , and the larger the sound volume, the shorter the accumulation time will achieve the same reduction degree of the target sound pressure level value. 4.根据权利要求3所述的声音调整装置,其特征在于,该第一转换模块根据一等响曲线而将各该频段的原始声压水准值分别转换成为对应的该响度水准值;该第二转换模块根据该等响曲线而将各该调整后响度水准值分别转换成为对应的该调整后声压水准值。4 . The sound adjustment device according to claim 3 , wherein the first conversion module converts the original sound pressure level value of each frequency band into the corresponding loudness level value according to the first-order loudness curve; The second conversion module converts each of the adjusted loudness level values into corresponding adjusted sound pressure level values according to the loudness curves.
CN201910465125.4A 2019-05-30 2019-05-30 Sound adjustment method and sound adjustment device implementing the method Active CN112019973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465125.4A CN112019973B (en) 2019-05-30 2019-05-30 Sound adjustment method and sound adjustment device implementing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465125.4A CN112019973B (en) 2019-05-30 2019-05-30 Sound adjustment method and sound adjustment device implementing the method

Publications (2)

Publication Number Publication Date
CN112019973A CN112019973A (en) 2020-12-01
CN112019973B true CN112019973B (en) 2022-04-26

Family

ID=73501873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465125.4A Active CN112019973B (en) 2019-05-30 2019-05-30 Sound adjustment method and sound adjustment device implementing the method

Country Status (1)

Country Link
CN (1) CN112019973B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501233A (en) * 2022-01-30 2022-05-13 联想(北京)有限公司 Signal processing method and device and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026362B (en) * 2006-02-18 2011-09-28 鸿富锦精密工业(深圳)有限公司 Hearing protection system, method and sound output device
CN101060313B (en) * 2006-04-19 2012-06-20 鸿富锦精密工业(深圳)有限公司 Hearing protection method and sound output device
CN101060724A (en) * 2007-04-25 2007-10-24 比特联创电子(北京)有限公司 A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method
CN102572646B (en) * 2011-12-31 2014-10-15 广东步步高电子工业有限公司 Denoising method and device implemented in state of listening to music by using headset
CN102915741A (en) * 2012-10-29 2013-02-06 上海大学 Equal loudness contour based method for automatically recovering tone of voice signal according to volume adjustment
CN103841241B (en) * 2012-11-21 2017-02-08 联想(北京)有限公司 Volume adjusting method and apparatus
CN105554674A (en) * 2015-12-28 2016-05-04 努比亚技术有限公司 Microphone calibration method, device and mobile terminal
CN107783751A (en) * 2016-08-24 2018-03-09 塞舌尔商元鼎音讯股份有限公司 Can auto-control volume electronic installation
CN108322848A (en) * 2017-01-16 2018-07-24 塞舌尔商元鼎音讯股份有限公司 The method of sound adjusting apparatus and its sound adjustment with hearing protection function
CN106878806A (en) * 2017-03-09 2017-06-20 深圳创维-Rgb电子有限公司 Audio method of adjustment, device and television set
CN108737929A (en) * 2017-04-25 2018-11-02 塞舌尔商元鼎音讯股份有限公司 The automatic method and electronic device for downgrading volume
CN109658942B (en) * 2018-12-27 2021-04-30 腾讯音乐娱乐科技(深圳)有限公司 Audio data processing method and device and related equipment

Also Published As

Publication number Publication date
CN112019973A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
JP5704470B2 (en) Audio intelligibility increasing method and apparatus and computer apparatus
CN103152668A (en) Adjusting method of output audio and system thereof
EP3038255B1 (en) An intelligent volume control interface
CN114979363A (en) Volume adjusting method and device, electronic equipment and storage medium
US11070914B2 (en) Controller and control method
US10020003B2 (en) Voice signal processing apparatus and voice signal processing method
US11277689B2 (en) Apparatus and method for optimizing sound quality of a generated audible signal
US10109293B2 (en) Voice signal processing apparatus and voice signal processing method
CN109814833B (en) Real-time control frequency response output device and application method thereof
CN112019973B (en) Sound adjustment method and sound adjustment device implementing the method
US10915294B2 (en) Sound adjustment method for hearing protection and sound adjustment device performing the same
US20130177173A1 (en) System and Method for Controlling Volume in Audio/Listening Devices
WO2017143713A1 (en) Headset having automatic volume adjustment function and automatic volume adjustment method therefor
TWI501657B (en) Electronic audio device
KR101439332B1 (en) Adaptive power control apparatus and power control method using the same
CN107404625B (en) Sound effect processing method and device of terminal
US11955939B2 (en) Control device, control method, and recording medium
JP6314662B2 (en) Audio signal processing apparatus and program thereof
TWI505680B (en) TV volume adjustment system and its volume adjustment method
JP4803193B2 (en) Audio signal gain control apparatus and gain control method
US10218328B2 (en) Audio processing apparatus for generating audio signals for monitoring from audio signals for recording and method of controlling same
JP2000134051A (en) Compressor
EP2605403A2 (en) Sound output device and method of adjusting sound volume
US20180192193A1 (en) Sound adjustment device for hearing protection and sound adjustment method thereof
JP6143624B2 (en) Speaker switching device and audio equipment

Legal Events

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

Effective date of registration: 20220824

Address after: 5th floor, 6-5 TuXing Road, Hsinchu Science Park, Taiwan, China

Patentee after: Dafa Technology Co.,Ltd.

Address before: Taiwan, Hsinchu, China Science and Industry Park, Hsinchu County, 5 innovation road, No. 5 Building

Patentee before: PixArt Imaging Inc.

TR01 Transfer of patent right