[go: up one dir, main page]

CN103188585B - Audio adjustment device and adjustment method thereof - Google Patents

Audio adjustment device and adjustment method thereof Download PDF

Info

Publication number
CN103188585B
CN103188585B CN201110459090.7A CN201110459090A CN103188585B CN 103188585 B CN103188585 B CN 103188585B CN 201110459090 A CN201110459090 A CN 201110459090A CN 103188585 B CN103188585 B CN 103188585B
Authority
CN
China
Prior art keywords
audio
warning
indication
sample
event
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.)
Expired - Fee Related
Application number
CN201110459090.7A
Other languages
Chinese (zh)
Other versions
CN103188585A (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.)
Top Victory Investments Ltd
Original Assignee
Top Victory Investments Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Top Victory Investments Ltd filed Critical Top Victory Investments Ltd
Priority to CN201110459090.7A priority Critical patent/CN103188585B/en
Publication of CN103188585A publication Critical patent/CN103188585A/en
Application granted granted Critical
Publication of CN103188585B publication Critical patent/CN103188585B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic System (AREA)

Abstract

一种音频调整装置,包含一个存储器及一个处理器。该存储器用于储存一个先前输入音频样本。该处理器电连接于该存储器用于接收一个目前输入音频样本,且接收一个与环境声音相关的环境音频样本,并根据该存储器所储存的该先前输入音频样本及该环境音频样本,得到一个音频失真样本,且根据该音频失真样本及该目前输入音频样本,得到一个已处理音频样本。

An audio adjustment device includes a memory and a processor. The memory is used to store a previously input audio sample. The processor is electrically connected to the memory to receive a current input audio sample and an ambient audio sample related to ambient sound, and obtains an audio distortion sample according to the previously input audio sample and the ambient audio sample stored in the memory, and obtains a processed audio sample according to the audio distortion sample and the currently input audio sample.

Description

音频调整装置及其调整方法Audio adjustment device and adjustment method thereof

技术领域 technical field

本发明涉及一种音频调整装置及其调整方法,特别是涉及一种可自动相对降低杂音的音频调整装置及其调整方法。The invention relates to an audio frequency adjustment device and an adjustment method thereof, in particular to an audio frequency adjustment device and an adjustment method thereof which can automatically and relatively reduce noise.

背景技术 Background technique

目前一般的电视、音响等装置所输出的音频的大小都必须经由使用者自行调整,而无法根据环境背景噪音的强弱自动调整至人耳可清楚聆听的最佳音量;此外,这些装置也缺乏辨识周围环境所发生的特定事件的功能,容易造成用户因聆听音乐或是观看电视过于投入而忽略周围环境发生的重要的特定事件。At present, the audio volume output by general televisions, stereos and other devices must be adjusted by the user, and cannot be automatically adjusted to the best volume that can be clearly heard by the human ear according to the strength of the ambient background noise; in addition, these devices also lack The function of identifying specific events occurring in the surrounding environment may easily cause the user to ignore the important specific events occurring in the surrounding environment due to being too involved in listening to music or watching TV.

发明内容 Contents of the invention

本发明的目的在于提供一种可自动相对降低杂音的音频调整装置。The purpose of the present invention is to provide an audio adjustment device that can automatically and relatively reduce noise.

本发明音频调整装置,包含一个存储器及一个处理器。该存储器用于储存一个先前输入音频样本。该处理器电连接于该存储器,用于接收一个目前输入音频样本,且接收一个与环境声音相关的环境音频样本,并根据该存储器所储存的该先前输入音频样本及该环境音频样本,得到一个音频失真样本,且根据该音频失真样本及该目前输入音频样本,得到一个已处理音频样本。The audio adjusting device of the present invention includes a memory and a processor. This memory is used to store a previous input audio sample. The processor is electrically connected to the memory, and is used to receive a current input audio sample, and receive an environmental audio sample related to environmental sound, and obtain a An audio distortion sample, and a processed audio sample is obtained according to the audio distortion sample and the current input audio sample.

该处理器还根据一个辨识指示判断是否需辨识一个特定事件,并在判断出该辨识指示设定为需辨识该特定事件时,根据一个预设时段内的至少一个音频失真样本辨识该特定事件是否发生。The processor also judges whether a specific event needs to be recognized according to a recognition indication, and when it is determined that the recognition indication is set to recognize the specific event, recognizes whether the specific event is based on at least one audio distortion sample within a predetermined period of time occur.

该处理器还在辨识出该特定事件发生时,设定一个事件持续指示及一个事件发生指示,并根据该事件持续指示及一个警示指示决定是否将该警示指示设定为需警示。The processor also sets an event continuation indication and an event occurrence indication when recognizing that the specific event occurs, and determines whether to set the warning indication as a warning according to the event continuation indication and a warning indication.

该处理器还根据一个警示关闭指示判断是否需停止警示,并在判断出需停止警示时,将该警示指示设定为不需警示。The processor also judges whether to stop the warning according to a warning off indication, and sets the warning indication as no warning when it is judged that the warning needs to be stopped.

该音频调整装置还包含一个电连接于该处理器的警示器,该警示器用于接收该警示指示,并在该警示指示设定为需警示时发出警示,而在该警示指示设定为不需警示时停止发出警示。The audio adjustment device also includes a warning device electrically connected to the processor, the warning device is used to receive the warning indication, and when the warning indication is set to be alerted, an alert is issued, and when the warning indication is set to be not required Stop alerting when alerted.

该处理器还在将该警示指示设定为需警示时,缩减该已调整的目前音频样本的大小,以作为得到该已处理音频样本的参考。The processor also reduces the size of the adjusted current audio sample as a reference for obtaining the processed audio sample when the alert indicator is set to be alerted.

该处理器是根据该音频失真样本的大小调整该目前输入音频样本,以得到该已处理音频样本。The processor adjusts the current input audio sample according to the size of the audio distorted sample to obtain the processed audio sample.

该处理器是将该环境音频样本减去该存储器所储存的该先前输入音频样本,以得到该音频失真样本,并根据一个增益调整该目前输入音频样本的大小再减去该音频失真样本,以得到该已处理音频样本。The processor subtracts the previous input audio sample stored in the memory from the ambient audio sample to obtain the audio distortion sample, and adjusts the size of the current input audio sample according to a gain and then subtracts the audio distortion sample to obtain the audio distortion sample. The processed audio sample is obtained.

本发明的另一目的在于提供一种可自动相对降低杂音的音频调整方法。Another object of the present invention is to provide an audio adjustment method that can automatically and relatively reduce noise.

本发明所述音频调整方法运用于一种音频调整系统,该音频调整系统包括一个存储器、一个音频撷取器、一个处理器、一个输出级及一个扬声器。该存储器储存一个先前输入音频样本,该音频撷取器撷取环境声音,以得到一个环境音频样本,该输出级根据一个已处理音频样本,得到一个输出音频样本,该扬声器播放该输出音频样本。该音频调整方法由该处理器执行,且包含以下步骤:The audio adjustment method of the present invention is applied to an audio adjustment system, and the audio adjustment system includes a memory, an audio extractor, a processor, an output stage and a speaker. The memory stores a previous input audio sample, the audio extractor extracts ambient sound to obtain an ambient audio sample, the output stage obtains an output audio sample according to a processed audio sample, and the speaker plays the output audio sample. The audio adjustment method is executed by the processor, and includes the following steps:

(A)接收一个目前输入音频样本;(A) receiving a current input audio sample;

(B)接收该环境音频样本;(B) receiving the ambient audio sample;

(C)根据该存储器所储存的该先前输入音频样本及该环境音频样本,得到一个音频失真样本;及(C) obtaining an audio distortion sample based on the previous input audio sample and the ambient audio sample stored in the memory; and

(D)根据该音频失真样本及该目前输入音频样本,得到该已处理音频样本。(D) Obtaining the processed audio sample according to the audio distortion sample and the current input audio sample.

该步骤(D)包括以下子步骤:This step (D) includes the following sub-steps:

(D1)根据该音频失真样本的大小调整该目前输入音频样本的大小;及(D1) adjusting the size of the current input audio sample according to the size of the audio distortion sample; and

(D2)根据该已调整的目前输入音频样本,得到该已处理音频样本。(D2) Obtain the processed audio sample according to the adjusted current input audio sample.

该步骤(D)包括以下子步骤:This step (D) includes the following sub-steps:

(D1)根据一个增益调整该目前输入音频样本的大小;及(D1) adjusting the size of the current input audio sample according to a gain; and

(D2)根据该已调整的目前输入音频样本及该音频失真样本,得到该已处理音频样本。(D2) Obtain the processed audio sample according to the adjusted current input audio sample and the audio distortion sample.

该音频调整方法还包含设定一个警示指示的一个步骤(E),且该步骤(E)包括在子步骤(D1)之后的以下子步骤:The audio adjustment method also includes a step (E) of setting a warning indication, and the step (E) includes the following sub-steps after the sub-step (D1):

(E1)根据一个辨识指示判断是否需辨识一个特定事件,若是,则跳到子步骤(E2),若否,则跳到子步骤(D2);(E1) Judging whether a specific event needs to be identified according to an identification instruction, if yes, then skip to sub-step (E2), if not, then skip to sub-step (D2);

(E2)根据一个预设时段内的至少一个音频失真样本辨识该特定事件是否发生,若是,则跳到子步骤(E3),若否,则跳到子步骤(E6);(E2) Identify whether the specific event occurs according to at least one audio distortion sample within a preset period, if so, skip to sub-step (E3), if not, skip to sub-step (E6);

(E3)设定一个事件持续指示及一个事件发生指示,且是先将该事件持续指示设定为相同于该事件发生指示,然后将该事件发生指示设定为是;(E3) Setting an event continuation indication and an event occurrence indication, and first setting the event continuation indication to be the same as the event occurrence indication, and then setting the event occurrence indication to yes;

(E4)根据该事件持续指示及该警示指示,判断一个第一条件及一个第二条件中的一者是否成立,若是,则跳到子步骤(E5),若否,则跳到子步骤(D2),且该第一条件为该事件持续指示被设定为否,该第二条件为该事件持续指示被设定为是及该警示指示被设定为需警示;(E4) According to the event continuation indication and the warning indication, it is judged whether one of a first condition and a second condition is established, if so, then skip to substep (E5), if not, then skip to substep ( D2), and the first condition is that the event continuation indication is set to No, the second condition is that the event continuation indication is set to Yes and the warning indication is set to be alerted;

(E5)将该警示指示设定为需警示,并缩减该已调整的目前输入音频样本的大小,且根据该已缩减的目前输入音频样本得到该已处理音频样本,并跳到子步骤(E7);(E5) Set the warning indication to be alerted, and reduce the size of the adjusted current input audio sample, and obtain the processed audio sample according to the reduced current input audio sample, and skip to the sub-step (E7 );

(E6)设定该事件持续指示、该事件发生指示、该警示指示及一个警示关闭指示,且将该事件持续指示、该事件发生指示及该警示关闭指示都设定为否,而将该警示指示设定为不需警示,并跳到子步骤(D2);(E6) Set the event continuation indication, the event occurrence indication, the warning indication and a warning closing indication, and set the event continuation indication, the event occurrence indication and the warning closing indication to no, and the warning Indicate that no warning is required, and skip to sub-step (D2);

该步骤(E)还包括在子步骤(D2)及(E5)之后的以下子步骤:This step (E) also includes the following substeps after substeps (D2) and (E5):

(E7)根据该警示关闭指示判断是否需停止警示,若是,则跳到子步骤(E8),若否,则跳到步骤(A);及(E7) Judging whether to stop the warning according to the warning closing instruction, if yes, then skip to sub-step (E8), if not, then skip to step (A); and

(E8)将该警示指示设定为不需警示。(E8) Setting the warning indication as no warning is required.

该音频调整方法还包含设定一个警示指示的一个步骤(E),且该步骤(E)包括在子步骤(D1)之后的以下子步骤:The audio adjustment method also includes a step (E) of setting a warning indication, and the step (E) includes the following sub-steps after the sub-step (D1):

(E1)根据一个辨识指示判断是否需辨识一个特定事件,若是,则跳到子步骤(E2),若否,则跳到子步骤(D2);(E1) Judging whether a specific event needs to be identified according to an identification instruction, if yes, then skip to sub-step (E2), if not, then skip to sub-step (D2);

(E2)根据该一个预设时段内的至少一个该音频失真样本辨识该特定事件是否发生,若是,则跳到子步骤(E3),若否,则跳到子步骤(E6);(E2) Identify whether the specific event occurs according to at least one of the audio distortion samples within the preset time period, if so, skip to sub-step (E3), if not, skip to sub-step (E6);

(E3)设定一个事件持续指示及一个事件发生指示,且是先将该事件持续指示设定为相同于该事件发生指示,然后将该事件发生指示设定为是;(E3) Setting an event continuation indication and an event occurrence indication, and first setting the event continuation indication to be the same as the event occurrence indication, and then setting the event occurrence indication to yes;

(E4)根据该事件持续指示及该警示指示,判断一个第一条件及一个第二条件中的一者是否成立,若是,则跳到子步骤(E5),若否,则跳到子步骤(D2),且该第一条件为该事件持续指示被设定为否,该第二条件为该事件持续指示被设定为是,及该警示指示被设定为需警示;(E4) According to the event continuation indication and the warning indication, it is judged whether one of a first condition and a second condition is established, if so, then skip to substep (E5), if not, then skip to substep ( D2), and the first condition is that the event continuation indication is set to No, the second condition is that the event continuation indication is set to Yes, and the warning indication is set to be alerted;

(E5)将该警示指示设定为需警示;(E5) Setting the warning indication as requiring a warning;

(E6)设定该事件持续指示、该事件发生指示、该警示指示及一个警示关闭指示,且将该事件持续指示、该事件发生指示及该警示关闭指示都设定为否,而将该警示指示设定为不需警示,并跳到子步骤(D2);(E6) Set the event continuation indication, the event occurrence indication, the warning indication and a warning closing indication, and set the event continuation indication, the event occurrence indication and the warning closing indication to no, and the warning Indicate that no warning is required, and skip to sub-step (D2);

该步骤(E)还包括在子步骤(D2)之后的以下子步骤:This step (E) also includes the following substeps after the substep (D2):

(E7)根据该警示关闭指示判断是否需停止警示,若是,则跳到子步骤(E8),若否,则跳到步骤(A);及(E7) Judging whether to stop the warning according to the warning closing instruction, if yes, then skip to sub-step (E8), if not, then skip to step (A); and

(E8)将该警示指示设定为不需警示。(E8) Setting the warning indication as no warning is required.

本发明的有益的效果在于:借由得到与环境声音相关的该音频失真样本,并根据该音频失真样本进行处理,可以自动相对降低杂音。The beneficial effect of the present invention is that by obtaining the audio distortion samples related to the ambient sound and processing according to the audio distortion samples, the noise can be relatively automatically reduced.

附图说明 Description of drawings

图1是一个方块图,说明本发明音频调整装置的第一至第三较佳实施例;FIG. 1 is a block diagram illustrating first to third preferred embodiments of the audio adjusting device of the present invention;

图2是一个流程图,说明该第一较佳实施例所执行的音频调整方法;Fig. 2 is a flowchart illustrating the audio adjustment method performed by the first preferred embodiment;

图3是一个流程图,说明该第二较佳实施例所执行的音频调整方法;Fig. 3 is a flowchart illustrating the audio adjustment method performed by the second preferred embodiment;

图4是一个流程图,说明该第三较佳实施例所执行的音频调整方法;Fig. 4 is a flowchart illustrating the audio adjustment method performed by the third preferred embodiment;

图5是一个方块图,说明本发明音频调整装置的第四及第五较佳实施例;FIG. 5 is a block diagram illustrating fourth and fifth preferred embodiments of the audio adjusting device of the present invention;

图6是一个流程图,说明该第四较佳实施例所执行的音频调整方法;及Fig. 6 is a flowchart illustrating the audio adjustment method performed by the fourth preferred embodiment; and

图7是一个流程图,说明该第五较佳实施例所执行的音频调整方法。FIG. 7 is a flowchart illustrating the audio adjustment method performed by the fifth preferred embodiment.

具体实施方式 detailed description

下面结合附图及实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

参阅图1,本发明音频调整装置1的第一较佳实施例适用于电连接于一个音频撷取器2及一个扬声器3,以形成一个音频调整系统。该音频调整装置1包含一个存储器11、一个电连接于该存储器11及该音频撷取器2的处理器12,及一个电连接于该处理器12及该扬声器3的输出级13。该音频撷取器2(例如一个麦克风)用于撷取环境声音,以得到一个环境音频样本。该存储器11具有无交集的一个第一存储空间111及一个第二存储空间112,该第一存储空间111用于储存至少一个输入音频样本,该第二存储空间112用于储存至少一个音频失真样本。该输出级13用于接收一个数字的已处理音频样本,并将该已处理音频样本进行数字至模拟转换,以得到一个模拟的输出音频样本。该扬声器3用于播放该输出音频样本。Referring to FIG. 1 , the first preferred embodiment of the audio adjusting device 1 of the present invention is suitable for being electrically connected to an audio extractor 2 and a speaker 3 to form an audio adjusting system. The audio adjustment device 1 includes a memory 11 , a processor 12 electrically connected to the memory 11 and the audio extractor 2 , and an output stage 13 electrically connected to the processor 12 and the speaker 3 . The audio extractor 2 (such as a microphone) is used to capture ambient sound to obtain an ambient audio sample. The memory 11 has a first storage space 111 and a second storage space 112 without intersection, the first storage space 111 is used to store at least one input audio sample, and the second storage space 112 is used to store at least one audio distortion sample . The output stage 13 is used to receive a digital processed audio sample and perform digital-to-analog conversion on the processed audio sample to obtain an analog output audio sample. The speaker 3 is used to play the output audio sample.

参阅图1及图2,该处理器12用于执行一种音频调整方法。该音频调整方法包含以下步骤21~24。Referring to FIG. 1 and FIG. 2 , the processor 12 is used to execute an audio adjustment method. The audio adjustment method includes the following steps 21-24.

步骤21:该处理器12接收一个目前输入音频样本A(t),并将该目前输入音频样本A(t)储存在该存储器11的该第一存储空间111中。值得注意的是,在步骤21之前,该存储器11的该第一存储空间111已存有该目前输入音频样本A(t)的前一个输入音频样本A(t-Δt),以下称为先前输入音频样本A(t-Δt)。Step 21: The processor 12 receives a current input audio sample A(t), and stores the current input audio sample A(t) in the first storage space 111 of the memory 11 . It is worth noting that before step 21, the first storage space 111 of the memory 11 has already stored the previous input audio sample A(t-Δt) of the current input audio sample A(t), hereinafter referred to as the previous input Audio sample A(t-Δt).

步骤22:该处理器12接收来自该音频撷取器2的该环境音频样本B(t-Δt)。Step 22: The processor 12 receives the ambient audio sample B(t−Δt) from the audio extractor 2 .

步骤23:该处理器12根据该存储器11所储存的该先前输入音频样本A(t-Δt)及步骤22中所得到的该环境音频样本B(t-Δt),得到一个音频失真样本f(t-Δt),并将该音频失真样本f(t-Δt)储存于该存储器11的该第二存储空间112中。Step 23: The processor 12 obtains an audio distortion sample f( t−Δt), and store the audio distortion sample f(t−Δt) in the second storage space 112 of the memory 11 .

在本实施例中,该处理器12是将该环境音频样本B(t-Δt)减去该存储器11所储存的该先前输入音频样本A(t-Δt),以得到该音频失真样本f(t-Δt),也就是说f(t-Δt)=B(t-Δt)-A(t-Δt)。In this embodiment, the processor 12 subtracts the previous input audio sample A(t-Δt) stored in the memory 11 from the ambient audio sample B(t-Δt) to obtain the audio distortion sample f( t-Δt), that is to say f(t-Δt)=B(t-Δt)-A(t-Δt).

步骤24:该处理器12根据该存储器11所储存的该音频失真样本f(t-Δt)的大小调整及更新该存储器11所储存的该目前输入音频样本A(t)的大小,并根据该存储器11所储存的该已调整的目前输入音频样本A(t)得到该已处理音频样本A’(t)。接着跳到步骤21。Step 24: The processor 12 adjusts and updates the size of the current input audio sample A(t) stored in the memory 11 according to the size of the audio distortion sample f(t-Δt) stored in the memory 11, and according to the The adjusted current input audio sample A(t) stored in the memory 11 obtains the processed audio sample A'(t). Then skip to step 21.

在本实施例中,该处理器12是将该存储器11所储存的该已调整的目前输入音频样本A(t)当作该已处理音频样本A’(t),也就是说A’(t)=A(t)。另外,该处理器12是在该音频失真样本f(t-Δt)的大小偏大时,将该存储器11所储存的该目前输入音频样本A(t)的大小调大,而在该音频失真样本f(t-Δt)的大小偏小时,将该存储器11所储存的该目前输入音频样本A(t)的大小调小,以维持一个固定的讯噪比(SignaltoNoiseRatio,SNR),因此,在环境越吵杂使得该音频失真样本f(t-Δt)的大小越大时,该扬声器3播放出的音量也随之提高,而在环境越安静使得该音频失真样本f(t-Δt)的大小越小时,该扬声器3播放出的音量也随之降低,如此,就可以免除用户需自行调整音量的麻烦。再者,该处理器12可限制该存储器11所储存的该已调整的目前输入音频样本A(t)的大小不超过一预设的上限值,例如为85dB,因而限制该扬声器3播放出的音量不会超过85dB,以避免使用者的听力受损或该音频调整装置因输出功率过高而受损。In this embodiment, the processor 12 regards the adjusted current input audio sample A(t) stored in the memory 11 as the processed audio sample A'(t), that is to say, A'(t )=A(t). In addition, the processor 12 increases the size of the current input audio sample A(t) stored in the memory 11 when the size of the audio distortion sample f(t-Δt) is too large. If the size of the sample f(t-Δt) is too small, the size of the current input audio sample A(t) stored in the memory 11 is reduced to maintain a fixed signal-to-noise ratio (Signal to Noise Ratio, SNR). Therefore, in When the environment is noisier and the size of the audio distortion sample f(t-Δt) is larger, the volume played by the speaker 3 is also increased, and the quieter the environment makes the audio distortion sample f(t-Δt) The smaller the size, the lower the volume played by the speaker 3 , so that the user can avoid the trouble of adjusting the volume by himself. Furthermore, the processor 12 can limit the size of the adjusted current input audio sample A(t) stored in the memory 11 to not exceed a preset upper limit, for example, 85dB, thus limiting the loudspeaker 3 to play The volume of the device will not exceed 85dB to avoid damage to the user's hearing or the audio adjustment device due to excessive output power.

参阅图1及图3,本发明音频调整装置1的第二较佳实施例与该第一较佳实施例相似,不同之处在于该处理器12所执行的该音频调整方法包含以下步骤31~43。1 and 3, the second preferred embodiment of the audio adjustment device 1 of the present invention is similar to the first preferred embodiment, the difference is that the audio adjustment method executed by the processor 12 includes the following steps 31- 43.

步骤31:该处理器12接收该目前输入音频样本A(t),并将该目前输入音频样本A(t)储存在该存储器11的该第一存储空间111中。值得注意的是,在步骤31之前,该存储器11的该第一存储空间111已存有该目前输入音频样本A(t)的前一个输入音频样本A(t-Δt),以下称为先前输入音频样本A(t-Δt)。Step 31: The processor 12 receives the current input audio sample A(t), and stores the current input audio sample A(t) in the first storage space 111 of the memory 11 . It should be noted that, before step 31, the first storage space 111 of the memory 11 has stored the previous input audio sample A(t-Δt) of the current input audio sample A(t), hereinafter referred to as the previous input Audio sample A(t-Δt).

步骤32:该处理器12接收来自该音频撷取器2的该环境音频样本B(t-Δt)。Step 32: The processor 12 receives the ambient audio sample B(t−Δt) from the audio extractor 2 .

步骤33:该处理器12根据该存储器11所储存的该先前输入音频样本A(t-Δt)及步骤32中所得到的该环境音频样本B(t-Δt),得到该音频失真样本f(t-Δt),例如f(t-Δt)=B(t-Δt)-A(t-Δt),并将该音频失真样本f(t-Δt)储存于该存储器11的该第二存储空间112中。Step 33: The processor 12 obtains the audio distortion sample f( t-Δt), such as f(t-Δt)=B(t-Δt)-A(t-Δt), and store the audio distortion sample f(t-Δt) in the second storage space of the memory 11 112 in.

步骤34:该处理器12根据该存储器11所储存的该音频失真样本f(t-Δt)的大小调整及更新该存储器11所储存的该目前输入音频样本A(t)的大小,例如在该音频失真样本f(t-Δt)的大小偏大时,将该存储器11所储存的该目前输入音频样本A(t)的大小调大,而在该音频失真样本f(t-Δt)的大小较小时,将该存储器11所储存的该目前输入音频样本A(t)的大小调小,以维持固定的讯噪比,且限制该存储器11所储存的该已调整的目前输入音频样本A(t)的大小不超过预设的上限值。Step 34: The processor 12 adjusts and updates the size of the current input audio sample A(t) stored in the memory 11 according to the size of the audio distortion sample f(t-Δt) stored in the memory 11, for example, in the When the size of the audio distortion sample f(t-Δt) is too large, the size of the current input audio sample A(t) stored in the memory 11 is increased, and the size of the audio distortion sample f(t-Δt) When it is smaller, the size of the current input audio sample A(t) stored in the memory 11 is reduced to maintain a fixed signal-to-noise ratio, and the adjusted current input audio sample A(t) stored in the memory 11 is limited. t) does not exceed a preset upper limit.

步骤35:该处理器12根据一个辨识指示判断是否需辨识一个特定事件(例如婴儿哭闹、病患呻吟呼救、电话铃响或门铃响等),若是,则跳到步骤36,若否,则跳到步骤41。该辨识指示由使用者设定。Step 35: The processor 12 judges whether a specific event needs to be recognized (such as a baby crying, a patient groaning for help, a phone ringing or a doorbell ringing, etc.) according to a recognition instruction, and if so, jump to step 36; if not, then Skip to step 41. The identification indication is set by the user.

步骤36:该处理器12根据该存储器11所储存的一个预设时段内的至少一个音频失真样本f(t-n×Δt),n=1,,...,N,N≥1,辨识该特定事件是否发生,若是,则跳到步骤37,若否,则跳到步骤40。值得注意的是,如果音频失真样本的数量足够多,则特定事件判断准确率相对较高。Step 36: The processor 12 identifies the specific audio distortion sample f(t-n×Δt) according to at least one audio distortion sample f(t-n×Δt) within a preset period stored in the memory 11, n=1,,...,N, N≥1 Whether the event occurs, if so, then jump to step 37, if not, then jump to step 40. It is worth noting that if the number of audio distortion samples is large enough, the accuracy of specific event judgment is relatively high.

步骤37:该处理器12设定一个事件持续指示及一个事件发生指示。该事件持续指示可被设定为「是」(表示该特定事件持续发生)或「否」(表示该特定事件没有持续发生),且其初始值为「否」。该事件发生指示可被设定为「是」(表示该特定事件发生)或「否」(表示该特定事件没有发生),且其初始值为「否」。在步骤37中,该处理器12先将该事件持续指示设定为相同于该事件发生指示,然后将该事件发生指示设定为「是」。Step 37: The processor 12 sets an event continuation indicator and an event occurrence indicator. The event continuation indication can be set to "yes" (indicating that the specific event continues to occur) or "no" (indicating that the specific event does not continue to occur), and its initial value is "no". The event occurrence indication can be set as "yes" (indicating that the specific event occurred) or "no" (indicating that the specific event did not occur), and its initial value is "no". In step 37, the processor 12 first sets the event continuation indication to be the same as the event occurrence indication, and then sets the event occurrence indication to "Yes".

步骤38:该处理器12根据该事件持续指示及一个警示指示,判断一个第一条件及一个第二条件中的一者是否成立,若是,则跳到步骤39,若否,则跳到步骤41。该警示指示可被设定为需警示或不需警示,且其初始值为不需警示。第一条件为该事件持续指示被设定为「否」。第二条件为该事件持续指示被设定为「是」及该警示指示被设定为需警示。Step 38: The processor 12 judges whether one of a first condition and a second condition is established according to the event continuation indication and a warning indication, if yes, then jump to step 39, if not, then jump to step 41 . The warning indication can be set as needing warning or not needing warning, and its initial value is not needing warning. The first condition is that the event continuation indication is set to "No". The second condition is that the event continuation indication is set to "Yes" and the warning indication is set to be alerted.

步骤39:该处理器12将该警示指示设定为需警示,并缩减及更新该存储器11所储存的该已调整的目前输入音频样本A(t)的大小,并根据该存储器11所储存的该已缩减的目前输入音频样本A(t)得到该已处理音频样本A’(t),例如A’(t)=A(t),以降低该扬声器3播放出的音量,甚至是静音,从而使用者可较容易地察觉到该特定事件的发生。接着跳到步骤42。Step 39: The processor 12 sets the warning indication to be a warning, and reduces and updates the size of the adjusted current input audio sample A(t) stored in the memory 11, and according to the size of the current input audio sample A(t) stored in the memory 11, The reduced current input audio sample A(t) obtains the processed audio sample A'(t), such as A'(t)=A(t), to reduce the volume played by the speaker 3, or even mute, Therefore, the user can easily perceive the occurrence of the specific event. Then skip to step 42.

步骤40:该处理器12设定该事件持续指示、该事件发生指示、该警示指示及一个警示关闭指示。该警示关闭指示可由使用者设定为「是」(表示需停止警示)或由该处理器12设定为「否」(表示不需停止警示),且其初始值为「否」。在步骤40中,该处理器12将该事件持续指示、该事件发生指示及该警示关闭指示都设定为「否」,而将该警示指示设定为不需警示。Step 40: The processor 12 sets the event continuation indicator, the event occurrence indicator, the alert indicator and an alert off indicator. The warning off indication can be set to "Yes" by the user (indicating that the warning needs to be stopped) or set to "No" (indicating that the warning does not need to be stopped) by the processor 12, and its initial value is "No". In step 40, the processor 12 sets the event continuation indication, the event occurrence indication and the warning off indication to "No", and sets the warning indication to no warning.

步骤41:该处理器12根据该存储器11所储存的该已调整的目前输入音频样本A(t)得到该已处理音频样本A’(t),例如A’(t)=A(t),使得该扬声器3播放出的音量不受特定事件是否发生而影响。Step 41: The processor 12 obtains the processed audio sample A'(t) according to the adjusted current input audio sample A(t) stored in the memory 11, for example, A'(t)=A(t), The volume played by the speaker 3 is not affected by whether a specific event occurs.

步骤42:该处理器12根据该警示关闭指示判断是否需停止警示,若是,则跳到步骤43,若否,则跳到步骤31。Step 42: The processor 12 judges whether to stop the warning according to the warning off instruction, if yes, go to step 43, if not, go to step 31.

步骤43:该处理器12将该警示指示设定为不需警示。接着跳到步骤31。Step 43: The processor 12 sets the warning indication as no warning. Then skip to step 31.

在本实施例中,借由步骤38,可以使得在该特定事件持续发生且使用者选择停止警示的情况下,执行步骤41~43,从而不会再度发出警示。In this embodiment, by means of step 38 , when the specific event continues to occur and the user chooses to stop the warning, steps 41 - 43 are executed, so that the warning will not be issued again.

参阅图1及图4,本发明音频调整装置1的第三较佳实施例与该第二较佳实施例相似,不同之处在于该处理器12所执行的该音频调整方法的步骤34’及步骤41’。Referring to Fig. 1 and Fig. 4, the third preferred embodiment of the audio adjustment device 1 of the present invention is similar to the second preferred embodiment, the difference lies in the step 34' and the step 34' of the audio adjustment method performed by the processor 12 Step 41'.

步骤34’:该处理器12根据一个增益调整及更新该存储器11所储存的该目前输入音频样本A(t)的大小,其中,该增益可以是一个由使用者设定的设定值,或是该音频调整装置1内设的一个默认值。Step 34': The processor 12 adjusts and updates the size of the current input audio sample A(t) stored in the memory 11 according to a gain, wherein the gain can be a setting value set by the user, or is a default value set in the audio adjustment device 1 .

步骤41’:该处理器12根据该存储器11所储存的该已调整的目前输入音频样本A(t)及该音频失真样本f(t-Δt)得到该已处理音频样本A’(t)。Step 41': The processor 12 obtains the processed audio sample A'(t) according to the adjusted current input audio sample A(t) and the audio distortion sample f(t-Δt) stored in the memory 11.

在本实施例中,是将该存储器11所储存的该已调整的目前输入音频样本A(t)减去该音频失真样本f(t-Δt),以得到该已处理音频样本A’(t),也就是说A’(t)=A(t)-f(t-Δt)。In this embodiment, the audio distortion sample f(t-Δt) is subtracted from the adjusted current input audio sample A(t) stored in the memory 11 to obtain the processed audio sample A'(t ), that is to say A'(t)=A(t)-f(t-Δt).

值得注意的是,在第一及第二较佳实施例中,该处理器12在环境吵杂使得该音频失真样本f(t-Δt)的大小偏大时,将该存储器11所储存的该目前输入音频样本A(t)调大而得到该已处理音频样本A’(t),使得该扬声器3播放出的音量也随之提高,因此杂音就相对降低了,而在第三较佳实施例中,该处理器12将该存储器11所储存的该已调整的目前输入音频样本A(t)减去该音频失真样本f(t-Δt)而得到该已处理音频样本A’(t),使得该扬声器3播放出的声音能抵消杂音,因此杂音就相对降低了。It should be noted that, in the first and second preferred embodiments, when the environment is noisy and the size of the audio distortion sample f(t-Δt) is too large, the processor 12 will store the At present, the input audio sample A (t) is increased to obtain the processed audio sample A' (t), so that the volume played by the speaker 3 is also increased, so the noise is relatively reduced, and in the third preferred implementation In an example, the processor 12 subtracts the audio distortion sample f(t-Δt) from the adjusted current input audio sample A(t) stored in the memory 11 to obtain the processed audio sample A'(t) , so that the sound played by the loudspeaker 3 can offset the noise, so the noise is relatively reduced.

参阅图5与图6,本发明音频调整装置1’的第四较佳实施例与该第一较佳实施例相似,不同之处在于:(1)该音频调整装置1’还包括一电连接于该处理器12的警示器14,该警示器14(例如屏幕、灯号或震动器等)用于接收一个警示指示,并在该警示指示设定为需警示时发出警示(例如屏幕显示讯息、灯号闪烁或震动器震动等),而在该警示指示设定为不需警示时停止发出警示,该警示指示的初始值为不需警示;(2)该处理器12所执行的该音频调整方法包含以下步骤61~73。Referring to Fig. 5 and Fig. 6, the fourth preferred embodiment of the audio adjusting device 1' of the present invention is similar to the first preferred embodiment, except that: (1) the audio adjusting device 1' also includes an electrical connection In the warning device 14 of the processor 12, the warning device 14 (such as a screen, a lamp or a vibrator, etc.) is used to receive a warning indication, and to send a warning when the warning indication is set to require a warning (such as a screen display message , light flashing or vibrator vibration, etc.), and when the warning indication is set to no warning, the warning is stopped, and the initial value of the warning indication is no warning; (2) the audio frequency executed by the processor 12 The adjustment method includes the following steps 61-73.

步骤61:该处理器12接收该目前输入音频样本A(t),并将该目前输入音频样本A(t)储存在该存储器11的该第一存储空间111中。值得注意的是,在步骤61之前,该存储器11的该第一存储空间111已存有该目前输入音频样本A(t)的前一个输入音频样本A(t-Δt),以下称为先前输入音频样本A(t-Δt)。Step 61 : The processor 12 receives the current input audio sample A(t), and stores the current input audio sample A(t) in the first storage space 111 of the memory 11 . It is worth noting that before step 61, the first storage space 111 of the memory 11 has already stored the previous input audio sample A(t-Δt) of the current input audio sample A(t), hereinafter referred to as the previous input Audio sample A(t-Δt).

步骤62:该处理器12接收来自该音频撷取器2的该环境音频样本B(t-Δt)。Step 62: The processor 12 receives the ambient audio sample B(t−Δt) from the audio extractor 2 .

步骤63:该处理器12根据该存储器11所储存的该先前输入音频样本A(t-Δt)及步骤62中所得到的该环境音频样本B(t-Δt),得到该音频失真样本f(t-Δt),例如f(t-Δt)=B(t-Δt)-A(t-Δt),并将该音频失真样本f(t-Δt)储存于该存储器11的该第二存储空间112中。Step 63: The processor 12 obtains the audio distortion sample f( t-Δt), such as f(t-Δt)=B(t-Δt)-A(t-Δt), and store the audio distortion sample f(t-Δt) in the second storage space of the memory 11 112 in.

步骤64:该处理器12根据该存储器11所储存的该音频失真样本f(t-Δt)的大小调整及更新该存储器11所储存的该目前输入音频样本A(t)的大小,例如在该音频失真样本f(t-Δt)的大小偏大时,将该存储器11所储存的该目前输入音频样本A(t)的大小调大,而在该音频失真样本f(t-Δt)的大小偏小时,将该存储器11所储存的该目前输入音频样本A(t)的大小调小,以维持该固定的讯噪比,且限制该存储器11所储存的该已调整的目前输入音频样本A(t)的大小不超过该预设的上限值。Step 64: The processor 12 adjusts and updates the size of the current input audio sample A(t) stored in the memory 11 according to the size of the audio distortion sample f(t-Δt) stored in the memory 11, for example, in the When the size of the audio distortion sample f(t-Δt) is too large, the size of the current input audio sample A(t) stored in the memory 11 is increased, and the size of the audio distortion sample f(t-Δt) If it is too small, the size of the current input audio sample A(t) stored in the memory 11 is reduced to maintain the fixed signal-to-noise ratio, and limit the adjusted current input audio sample A stored in the memory 11 The size of (t) does not exceed the preset upper limit.

步骤65:该处理器12根据一个辨识指示判断是否需辨识一个特定事件(例如婴儿哭闹、病患呻吟呼救、电话铃响或门铃响等),若是,则跳到步骤66,若否,则跳到步骤71。该辨识指示由使用者设定。Step 65: The processor 12 judges whether a specific event needs to be recognized according to a recognition instruction (such as a baby crying, a patient moaning for help, a telephone ringing or a doorbell ringing, etc.), if so, jump to step 66, if not, then Skip to step 71. The identification indication is set by the user.

步骤66:该处理器12根据该存储器11所储存的一个预设时段内的至少一个音频失真样本f(t-n×Δt),n=1,,...,N,N≥1,辨识该特定事件是否发生,若是,则跳到步骤67,若否,则跳到步骤70。值得注意的是,如果音频失真样本的数量足够多,则特定事件判断准确率相对较高。Step 66: The processor 12 identifies the specific audio distortion sample f(t-n×Δt) within a preset period of time stored in the memory 11, n=1, . . . , N, N≥1 Whether the event occurs, if so, then jump to step 67, if not, then jump to step 70. It is worth noting that if the number of audio distortion samples is large enough, the accuracy of specific event judgment is relatively high.

步骤67:该处理器12设定一个事件持续指示及一个事件发生指示。该事件持续指示可被设定为「是」(表示该特定事件持续发生)或「否」(表示该特定事件没有持续发生),且其初始值为「否」。该事件发生指示可被设定为「是」(表示该特定事件发生)或「否」(表示该特定事件没有发生),且其初始值为「否」。在步骤67中,该处理器12先将该事件持续指示设定为相同于该事件发生指示,然后将该事件发生指示设定为「是」。Step 67: The processor 12 sets an event continuation indicator and an event occurrence indicator. The event continuation indication can be set to "yes" (indicating that the specific event continues to occur) or "no" (indicating that the specific event does not continue to occur), and its initial value is "no". The event occurrence indication can be set as "yes" (indicating that the specific event occurred) or "no" (indicating that the specific event did not occur), and its initial value is "no". In step 67, the processor 12 first sets the event continuation indication to be the same as the event occurrence indication, and then sets the event occurrence indication to "Yes".

步骤68:该处理器12根据该事件持续指示及该警示指示,判断一个第一条件及一个第二条件中的一者是否成立,若是,则跳到步骤69,若否,则跳到步骤71。第一条件为该事件持续指示被设定为「否」。第二条件为该事件持续指示被设定为「是」及该警示指示被设定为需警示。Step 68: The processor 12 judges whether one of a first condition and a second condition is established according to the event continuation indication and the warning indication, if yes, then go to step 69, if not, then go to step 71 . The first condition is that the event continuation indication is set to "No". The second condition is that the event continuation indication is set to "Yes" and the warning indication is set to be alerted.

步骤69:该处理器12将该警示指示设定为需警示,使得该警示器14发出警示,以通知使用者该特定事件的发生。接着跳到步骤71。Step 69: The processor 12 sets the warning indication as warning, so that the warning device 14 sends out a warning to inform the user of the occurrence of the specific event. Then skip to step 71.

步骤70:该处理器12设定该事件持续指示、该事件发生指示、该警示指示及一个警示关闭指示。该警示关闭指示可由使用者设定为「是」(表示需停止警示)或由该处理器12设定为「否」(表示不需停止警示),且其初始值为「否」。在步骤70中,该处理器12将该事件持续指示、该事件发生指示及该警示关闭指示都设定为「否」,而将该警示指示设定为不需警示。Step 70: The processor 12 sets the event continuation indicator, the event occurrence indicator, the alert indicator and an alert off indicator. The warning off indication can be set to "Yes" by the user (indicating that the warning needs to be stopped) or set to "No" (indicating that the warning does not need to be stopped) by the processor 12, and its initial value is "No". In step 70, the processor 12 sets the event continuation indication, the event occurrence indication and the warning off indication to "No", and sets the warning indication to no warning.

步骤71:该处理器12根据该存储器11所储存的该已调整的目前输入音频样本A(t),得到该已处理音频样本A’(t),例如A’(t)=A(t)。Step 71: The processor 12 obtains the processed audio sample A'(t) according to the adjusted current input audio sample A(t) stored in the memory 11, for example, A'(t)=A(t) .

步骤72:该处理器12根据该警示关闭指示判断是否需停止警示,若是,则跳到步骤73,若否,则跳到步骤61。Step 72: The processor 12 judges whether to stop the warning according to the warning closing instruction, if yes, go to step 73, if not, go to step 61.

步骤73:该处理器12将该警示指示设定为不需警示,使得该警示器14停止发出警示。接着跳到步骤61。Step 73: The processor 12 sets the warning indication as no warning, so that the warning device 14 stops giving warning. Then skip to step 61.

参阅图5及图7,本发明音频调整装置1’的第五较佳实施例与该第四较佳实施例相似,不同之处在于该处理器12所执行的该音频调整方法的步骤64’及步骤71’。Referring to Fig. 5 and Fig. 7, the fifth preferred embodiment of the audio adjustment device 1' of the present invention is similar to the fourth preferred embodiment, the difference lies in the step 64' of the audio adjustment method executed by the processor 12 and step 71'.

步骤64’:该处理器12根据一个增益调整及更新该存储器11所储存的该目前输入音频样本A(t)的大小,其中,该增益可以是一由使用者设定的设定值,或是该音频调整装置1内设的一个默认值。Step 64': the processor 12 adjusts and updates the size of the current input audio sample A(t) stored in the memory 11 according to a gain, wherein the gain can be a set value set by the user, or is a default value set in the audio adjustment device 1 .

步骤71’:该处理器12根据该存储器11所储存的该已调整的目前输入音频样本A(t)及该音频失真样本f(t-Δt)得到该已处理音频样本A’(t),例如A’(t)=A(t)-f(t-Δt)。Step 71': the processor 12 obtains the processed audio sample A'(t) according to the adjusted current input audio sample A(t) and the audio distortion sample f(t-Δt) stored in the memory 11, For example, A'(t)=A(t)-f(t-Δt).

归纳上述,在第一、第二及第四较佳实施例中,该处理器12在环境吵杂使得该音频失真样本f(t-Δt)的大小偏大时,将该存储器11所储存的该目前输入音频样本A(t)调大而得到该已处理音频样本A’(t),使得该扬声器3播放出的音量也随之提高,因此杂音就相对降低了,而在第三及第五较佳实施例中,该处理器12将该存储器11所储存的该已调整的目前输入音频样本A(t)减去该音频失真样本f(t-Δt)而得到该已处理音频样本A’(t),使得该扬声器3播放出的声音能抵消杂音,因此杂音就相对降低了。To sum up the above, in the first, second and fourth preferred embodiments, the processor 12 stores the audio distortion sample f(t-Δt) in the memory 11 when the environment is noisy and the size of the audio distortion sample f(t-Δt) is too large The current input audio sample A(t) is increased to obtain the processed audio sample A'(t), so that the volume played by the speaker 3 is also increased, so the noise is relatively reduced. In five preferred embodiments, the processor 12 subtracts the audio distortion sample f(t-Δt) from the adjusted current input audio sample A(t) stored in the memory 11 to obtain the processed audio sample A '(t), so that the sound played by the speaker 3 can offset the noise, so the noise is relatively reduced.

另外,在第二至第五较佳实施例中,该音频调整装置1、1’还具有辨识特定事件的功能,且在第二及第三较佳实施例中,是以降低音量的方式让用户较容易察觉到该特定事件的发生,而在第四及第五较佳实施例中,是以提醒的方式通知使用者该特定事件的发生。In addition, in the second to fifth preferred embodiments, the audio adjustment device 1, 1' also has the function of identifying a specific event, and in the second and third preferred embodiments, the audio adjustment device 1, 1' also has the function of reducing the volume. It is easier for the user to notice the occurrence of the specific event, and in the fourth and fifth preferred embodiments, the user is notified of the occurrence of the specific event in the form of a reminder.

值得注意的是,在第一至第五较佳实施例中,该音频撷取器2是外接于该音频调整装置1、1’,且是以有线方式与该处理器12进行通讯,但在另一实施例中,该音频撷取器2可以是以无线方式与该处理器12进行通讯,而在又一实施例中,该音频撷取器2可以是内建于该音频调整装置1、1’。另外,在第一至第五较佳实施例中,该音频调整装置1、1’是应用于单声道的音频调整系统,也就是只有一个扬声器,但本领域中具有通常知识者经由以上说明可以推知该音频调整装置1、1’应用于多声道的音频调整系统时该如何修改,因此将不多加说明。It should be noted that, in the first to fifth preferred embodiments, the audio extractor 2 is externally connected to the audio adjustment device 1, 1', and communicates with the processor 12 in a wired manner, but in In another embodiment, the audio extractor 2 can communicate with the processor 12 in a wireless manner, and in yet another embodiment, the audio extractor 2 can be built in the audio adjustment device 1, 1'. In addition, in the first to fifth preferred embodiments, the audio adjustment device 1, 1' is applied to a monophonic audio adjustment system, that is, there is only one loudspeaker. It can be deduced how to modify the audio adjustment device 1, 1' when it is applied to a multi-channel audio adjustment system, so no further description will be given.

Claims (13)

1. an audio frequency adjusting device, comprises a memory and a processor, it is characterized in that:
This memory previously inputted audio sample for storing one;
This processor is electrically connected on this memory, audio sample is inputted at present for receiving one, and the environment audio sample that reception one is relevant to ambient sound, and this stored by this memory previously inputted audio sample and this environment audio sample, obtain an audio distortion sample, and input audio sample at present according to this audio distortion sample and this, obtain a processed audio sample.
2. audio frequency adjusting device according to claim 1, it is characterized in that: this processor also judges whether to need identification particular event according to an identification instruction, and when judging that this identification instruction is set as needing this particular event of identification, whether occur according at least one this particular event of audio distortion sample identification in a preset period of time.
3. audio frequency adjusting device according to claim 2, it is characterized in that: this processor is also when picking out this particular event and occurring, set an event lasting indication and an event occurring indication, and determine whether this warning indication be set as needing warning according to this event lasting indication and a warning indication.
4. audio frequency adjusting device according to claim 3, is characterized in that: this processor also cuts out instruction according to a warning and judges whether to stop warning, and when judging to stop warning, this warning indication is set as not needing warning.
5. audio frequency adjusting device according to claim 4, it is characterized in that: this audio frequency adjusting device, also comprise the attention device that is electrically connected on this processor, this attention device is for receiving this warning indication, and be set as sending warning when need warn in this warning indication, and stop sending warning when this warning indication is set as not needing warning.
6. audio frequency adjusting device according to claim 4, it is characterized in that: this processor adjusts this size of input audio sample or size according to this current input audio sample of a Gain tuning at present according to this audio distortion size, this processor is also when being set as warning by this warning indication, reduce the size of adjusted current input audio sample, using as the reference obtaining this processed audio sample.
7. audio frequency adjusting device according to claim 1, is characterized in that: this processor adjusts this according to this audio distortion size to input audio sample at present, to obtain this processed audio sample.
8. audio frequency adjusting device according to claim 1, it is characterized in that: this processor be this environment audio sample is deducted stored by this memory this previously inputted audio sample, to obtain this audio distortion sample, and deduct this audio distortion sample again, to obtain this processed audio sample according to this size inputting audio sample at present of a Gain tuning.
9. an audio regulation method, apply to a kind of audio-frequency adjusting system, this audio-frequency adjusting system comprises a memory, an audio frequency acquisition device, a processor, an output stage and a loud speaker, this memory storage one previously inputted audio sample, this audio frequency acquisition device acquisition ambient sound, to obtain an environment audio sample, this output stage is according to a processed audio sample, obtain an output audio sample, this output audio sample play by this loud speaker, it is characterized in that: this audio regulation method is performed by this processor, and comprise following steps:
(A) receive one and input audio sample at present;
(B) this environment audio sample is received;
(C) this stored by this memory previously inputted audio sample and this environment audio sample, obtained an audio distortion sample; And
(D) input audio sample at present according to this audio distortion sample and this, obtain this processed audio sample.
10. audio regulation method according to claim 9, is characterized in that: this step (D) comprises following sub-step:
(D1) adjust according to this audio distortion size the size that this inputs audio sample at present; And
(D2) according to adjusted current input audio sample, this processed audio sample is obtained.
11. audio regulation methods according to claim 9, is characterized in that: this step (D) comprises following sub-step:
(D1) according to a Gain tuning, this inputs the size of audio sample at present; And
(D2) according to adjusted current input audio sample and this audio distortion sample, this processed audio sample is obtained.
12. audio regulation methods according to claim 10 or 11, it is characterized in that: this audio regulation method also comprises a step (E) of a setting warning indication, and this step (E) is included in the following sub-step after sub-step (D1):
(E1) judge whether to need identification particular event according to an identification instruction, if so, then jump to sub-step (E2), if not, then jump to sub-step (D2);
(E2) whether occur according at least one this particular event of audio distortion sample identification in a preset period of time, if so, then jump to sub-step (E3), if not, then jump to sub-step (E6);
(E3) set an event lasting indication and an event occurring indication, and be first this event lasting indication is set as being same as this event occurring indication, then this event occurring indication is set as yes;
(E4) according to this event lasting indication and this warning indication, judge whether the one in a first condition and a second condition is set up, if, then jump to sub-step (E5), if not, then jump to sub-step (D2), and this first condition is set to for this event lasting indication no, this second condition for this event lasting indication be set to be and this warning indication is set to need warning;
(E5) this warning indication is set as need warning, and reduces the size of this adjusted current input audio sample, and obtain this processed audio sample according to the current input audio sample that this has reduced, and jump to sub-step (E7);
(E6) set this event lasting indication, this event occurring indication, this warning indication and a warning and close instruction, and this event lasting indication, this event occurring indication and this warning closedown instruction are all set as no, and this warning indication be set as not needing warning, and jump to sub-step (D2);
This step (E) is also included in the following sub-step after sub-step (D2) and (E5):
(E7) close instruction according to this warning to judge whether to stop warning, if so, then jump to sub-step (E8), if not, then jump to step (A); And
(E8) this warning indication is set as do not need warning.
13. audio regulation methods according to claim 10 or 11, it is characterized in that: this audio regulation method also comprises a step (E) of a setting warning indication, and this step (E) is included in the following sub-step after sub-step (D1):
(E1) judge whether to need identification particular event according to an identification instruction, if so, then jump to sub-step (E2), if not, then jump to sub-step (D2);
(E2) whether occur according to this this particular event of audio distortion sample identification of at least one in this preset period of time, if so, then jump to sub-step (E3), if not, then jump to sub-step (E6);
(E3) set an event lasting indication and an event occurring indication, and first this event lasting indication is set as being same as this event occurring indication, then this event occurring indication is set as yes;
(E4) according to this event lasting indication and this warning indication, judge whether the one in a first condition and a second condition is set up, if, then jump to sub-step (E5), if not, then jump to sub-step (D2), and this first condition is set to for this event lasting indication no, this second condition is set to be that and this warning indication is set to need warning for this event lasting indication;
(E5) this warning indication is set as need warning;
(E6) set this event lasting indication, this event occurring indication, this warning indication and a warning and close instruction, and this event lasting indication, this event occurring indication and this warning closedown instruction are all set as no, and this warning indication be set as not needing warning, and jump to sub-step (D2);
This step (E) is also included in the following sub-step after sub-step (D2):
(E7) close instruction according to this warning to judge whether to stop warning, if so, then jump to sub-step (E8), if not, then jump to step (A); And
(E8) this warning indication is set as do not need warning.
CN201110459090.7A 2011-12-31 2011-12-31 Audio adjustment device and adjustment method thereof Expired - Fee Related CN103188585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110459090.7A CN103188585B (en) 2011-12-31 2011-12-31 Audio adjustment device and adjustment method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110459090.7A CN103188585B (en) 2011-12-31 2011-12-31 Audio adjustment device and adjustment method thereof

Publications (2)

Publication Number Publication Date
CN103188585A CN103188585A (en) 2013-07-03
CN103188585B true CN103188585B (en) 2016-01-27

Family

ID=48679476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110459090.7A Expired - Fee Related CN103188585B (en) 2011-12-31 2011-12-31 Audio adjustment device and adjustment method thereof

Country Status (1)

Country Link
CN (1) CN103188585B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825862A (en) * 2015-01-05 2016-08-03 沈阳新松机器人自动化股份有限公司 Robot man-machine dialogue echo cancellation system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1388726A (en) * 2001-05-30 2003-01-01 英业达股份有限公司 System and method for automatically adjusting frequency response equalization of speakers
CN1390383A (en) * 1999-03-30 2003-01-08 高通股份有限公司 Method and apparatus for automatically adjusting speaker and microphone gains within a mobile telephone
CN101193460A (en) * 2006-11-20 2008-06-04 松下电器产业株式会社 Apparatus and method for detecting sound
WO2008134689A1 (en) * 2007-04-30 2008-11-06 Qualcomm Incorporated Automatic volume and dynamic range adjustment for mobile audio devices
CN101668243A (en) * 2008-09-01 2010-03-10 深圳华为通信技术有限公司 Microphone array and method and module for calibrating same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1390383A (en) * 1999-03-30 2003-01-08 高通股份有限公司 Method and apparatus for automatically adjusting speaker and microphone gains within a mobile telephone
CN1388726A (en) * 2001-05-30 2003-01-01 英业达股份有限公司 System and method for automatically adjusting frequency response equalization of speakers
CN101193460A (en) * 2006-11-20 2008-06-04 松下电器产业株式会社 Apparatus and method for detecting sound
WO2008134689A1 (en) * 2007-04-30 2008-11-06 Qualcomm Incorporated Automatic volume and dynamic range adjustment for mobile audio devices
CN101668243A (en) * 2008-09-01 2010-03-10 深圳华为通信技术有限公司 Microphone array and method and module for calibrating same

Also Published As

Publication number Publication date
CN103188585A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN102982823B (en) A kind of method and apparatus of automatic regulating volume
US9794701B2 (en) Gateway for a wireless hearing assistance device
CN107948869B (en) Audio processing method, audio processing device, audio system, and storage medium
CN105282646A (en) System and related apparatus for enhancing multimedia playback on mobile devices
CN105554664A (en) Headset based sound processing method and apparatus, and headset
TWI844994B (en) Control device
TW201506902A (en) Method of audio processing and audio opened- playing device
CN103188585B (en) Audio adjustment device and adjustment method thereof
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
JP2005318267A (en) Electronic equipment
JP2010212898A (en) Sound signal processing device and television receiving set
US20120057714A1 (en) Automatic Tunable Earphone And Method For Tuning The Same
KR101600429B1 (en) An Auxiliary Aid Device for Adaptation of Environmental Circumstance and A method for Linking An Auxiliary Aid Device to A multimedia Device
KR101995670B1 (en) Personalized system of smart headphone device with oriented chatting function and method of using the same
US20160330538A1 (en) Audio interrupter alertness device for headphones
CN107404625B (en) Sound effect processing method and device of terminal
TWI449034B (en) Audio adjustment device and its adjustment method
US20220141583A1 (en) Hearing assisting device and method for adjusting output sound thereof
JP2014202808A (en) Input/output device
US20090208036A1 (en) Magnetic alert detector
TWI505680B (en) TV volume adjustment system and its volume adjustment method
CN107493376A (en) A kind of ringing volume adjusting method and device
CN107509151A (en) A kind of method and device for amplifying audio signal
CN111050261A (en) Hearing compensation method, device and computer readable storage medium
CN113507678B (en) Bluetooth answering method and device of hearing aid

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160127

Termination date: 20161231