[go: up one dir, main page]

CN101211563A - sound signal processing method - Google Patents

sound signal processing method Download PDF

Info

Publication number
CN101211563A
CN101211563A CNA2006101722547A CN200610172254A CN101211563A CN 101211563 A CN101211563 A CN 101211563A CN A2006101722547 A CNA2006101722547 A CN A2006101722547A CN 200610172254 A CN200610172254 A CN 200610172254A CN 101211563 A CN101211563 A CN 101211563A
Authority
CN
China
Prior art keywords
frequency
sound
voltage
intervals
sampled
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.)
Granted
Application number
CNA2006101722547A
Other languages
Chinese (zh)
Other versions
CN101211563B (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.)
Inventec Appliances Corp
Original Assignee
Inventec Appliances Corp
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 Inventec Appliances Corp filed Critical Inventec Appliances Corp
Priority to CN2006101722547A priority Critical patent/CN101211563B/en
Publication of CN101211563A publication Critical patent/CN101211563A/en
Application granted granted Critical
Publication of CN101211563B publication Critical patent/CN101211563B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

一种声音信号处理方法,包括下列步骤:首先,根据预设声音的音量,得到电压信号;接着,根据电压信号的最小电压峰值及最大电压峰值定义音量取样区间;然后,根据音量取样区间,对待取样声音进行取样。

Figure 200610172254

A sound signal processing method includes the following steps: first, obtaining a voltage signal according to a preset sound volume; then, defining a volume sampling interval according to a minimum voltage peak value and a maximum voltage peak value of the voltage signal; and then, sampling the sound to be sampled according to the volume sampling interval.

Figure 200610172254

Description

声音信号处理方法 sound signal processing method

技术领域 technical field

本发明涉及一种声音信号处理方法,且特别涉及一种根据不同音源特征以调整取样方式的声音信号处理方法。The invention relates to a sound signal processing method, and in particular to a sound signal processing method for adjusting sampling methods according to different sound source characteristics.

背景技术 Background technique

目前市面上出售的移动电话,部分已经具有抗噪音技术的设计,将环境中音量过大或频率过高及过低的声音滤除,使使用者的声音能够清楚的传送出去。但是目前已有的技术是针对一般大众的发声频率及音量进行设计,对于部分发声特殊的群众,例如声音高亢的女性或声音低沉的男性,因为他们的发声频率高于或低于取样范围而遭到滤除,因而无法使用此种抗噪音功能。Currently, some of the mobile phones on the market have been designed with anti-noise technology, which can filter out the sounds that are too loud or the frequency is too high or too low in the environment, so that the user's voice can be clearly transmitted. However, the existing technologies are designed for the vocal frequency and volume of the general public. For some people with special voices, such as women with high-pitched voices or men with low-pitched voices, because their voice frequencies are higher or lower than the sampling range, they will be affected. to filter out, so this noise immunity feature cannot be used.

发明内容 Contents of the invention

有鉴于此,本发明的目的就是提供一种声音信号处理方法,可以针对不同人的发声特征调整取样范围,能够保留使用者的声音并滤除环境噪音。In view of this, the purpose of the present invention is to provide a sound signal processing method, which can adjust the sampling range according to the vocal characteristics of different people, and can preserve the user's voice and filter out environmental noise.

根据本发明的目的,提出第一种声音信号处理方法,包括下列步骤:首先,根据预设声音的音量,得到电压信号;接着,根据电压信号的最小电压峰值及最大电压峰值定义音量取样区间;然后,根据音量取样区间,对待取样声音进行取样。According to the purpose of the present invention, a first sound signal processing method is proposed, comprising the following steps: first, according to the volume of the preset sound, a voltage signal is obtained; then, according to the minimum voltage peak value and the maximum voltage peak value of the voltage signal, the volume sampling interval is defined; Then, according to the volume sampling interval, the sound to be sampled is sampled.

根据本发明的目的,提出第二种声音信号处理方法,包括下列步骤。首先,根据预设声音的频率,得到频率信号;接着,根据频率信号的最小频率峰值及最大频率峰值定义频率取样区间;然后,根据频率取样区间,对待取样声音进行取样。According to the purpose of the present invention, a second sound signal processing method is proposed, which includes the following steps. First, the frequency signal is obtained according to the frequency of the preset sound; then, the frequency sampling interval is defined according to the minimum frequency peak value and the maximum frequency peak value of the frequency signal; then, the sound to be sampled is sampled according to the frequency sampling interval.

根据本发明的目的,提出第三种声音信号处理方法,包括下列步骤。首先,根据预设声音的音量,得到电压信号;接着,根据电压信号的最小电压峰值及最大电压峰值定义n个电压区间;然后,将n个电压区间的第s1至第t1电压区间设定为音量取样区间,其中1<s1<t1<n;接着,根据音量取样区间,对待取样声音进行取样。According to the purpose of the present invention, a third sound signal processing method is proposed, which includes the following steps. Firstly, the voltage signal is obtained according to the volume of the preset sound; then, n voltage intervals are defined according to the minimum voltage peak value and the maximum voltage peak value of the voltage signal; then, the s1th to t1th voltage intervals of the n voltage intervals are set as The volume sampling interval, where 1<s1<t1<n; then, according to the volume sampling interval, the sound to be sampled is sampled.

根据本发明的目的,提出第四种声音信号处理方法,包括下列步骤。首先,根据预设声音的频率,得到频率信号;接着,根据频率信号的最小频率峰值及最大频率峰值定义m个频率区间;然后,将m个频率区间的第s2至第t2频率区间设定为频率取样区间,其中1<s2<t2<m;接着,根据频率取样区间,对待取样声音进行取样。According to the purpose of the present invention, a fourth sound signal processing method is proposed, which includes the following steps. First, the frequency signal is obtained according to the frequency of the preset sound; then, m frequency intervals are defined according to the minimum frequency peak and the maximum frequency peak of the frequency signal; then, the s2 to t2 frequency intervals of the m frequency intervals are set as The frequency sampling interval, where 1<s2<t2<m; then, according to the frequency sampling interval, the sound to be sampled is sampled.

为让本发明的上述目的、特征、和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下:In order to make the above-mentioned purposes, features, and advantages of the present invention more comprehensible, the preferred embodiments are specifically cited below, together with the accompanying drawings, and are described in detail as follows:

附图说明 Description of drawings

图1表示应用本发明的电子装置的功能示意图;Fig. 1 shows the functional schematic diagram of the electronic device applying the present invention;

图2表示本发明实施例一的声音信号处理流程图;Fig. 2 shows the sound signal processing flow chart of embodiment one of the present invention;

图3表示预设声音音量的电压信号示意图;Fig. 3 represents the schematic diagram of the voltage signal of preset sound volume;

图4表示待取样声音的电压信号示意图;Fig. 4 represents the voltage signal schematic diagram of the sound to be sampled;

图5表示预设声音的频率信号示意图;Fig. 5 shows the frequency signal schematic diagram of preset sound;

图6表示待取样声音的频率信号示意图;以及Fig. 6 represents the schematic diagram of the frequency signal of the sound to be sampled; and

图7表示本发明实施例二的声音信号处理流程图。FIG. 7 shows a flow chart of audio signal processing in Embodiment 2 of the present invention.

主要元件标记说明Description of main component marking

100:电子装置100: Electronics

110:本体110: Ontology

120:麦克风120: microphone

130:处理单元130: processing unit

140:记忆单元140: memory unit

150:设定按键150: Set button

具体实施方式 Detailed ways

实施例一Embodiment one

请参照图1,其表示应用本发明的电子装置的功能示意图。电子装置100包括本体110、麦克风120、处理单元130、记忆单元140及设定按键150。经由麦克风120收录使用者的声音后,经处理单元130转化为代表音量的电压信号及代表频率的频率信号后,储存于记忆单元140中。处理单元130根据代表使用者声音特征的电压信号及频率信号得到取样范围后,储存在记忆单元140内,往后即根据此取样范围对使用者的声音进行滤波,让使用者的声音能够清楚的传达出去。而当要改变使用者时,仅需按下与处理单元130连接的设定按键150,即可将原有的取样范围擦除,以录制新使用者的声音得到新的取样范围。电子装置100可包括移动电话、录音笔、语言学习机、MP3播放器或任何具有收音功能的电子装置。Please refer to FIG. 1 , which shows a functional diagram of an electronic device applying the present invention. The electronic device 100 includes a main body 110 , a microphone 120 , a processing unit 130 , a memory unit 140 and a setting button 150 . After the user's voice is recorded by the microphone 120 , it is converted into a voltage signal representing volume and a frequency signal representing frequency by the processing unit 130 , and stored in the memory unit 140 . The processing unit 130 obtains the sampling range according to the voltage signal and frequency signal representing the characteristics of the user's voice, and stores it in the memory unit 140, and then filters the user's voice according to the sampling range, so that the user's voice can be clearly heard convey it. And when changing the user, only need to press the setting button 150 connected with the processing unit 130, the original sampling range can be erased, and a new sampling range can be obtained by recording a new user's voice. The electronic device 100 may include a mobile phone, a voice recorder, a language learning machine, an MP3 player, or any electronic device with a radio function.

请参照图2,其表示本发明实施例一的声音信号处理流程图,并请同时参考图1的组件标号。首先,如步骤201所示,并请参照图3,其表示预设声音音量的电压信号示意图。电子装置100以麦克风120根据预设声音的音量,例如使用者于安静环境下说话的音量,得到如图3的电压信号Vs。Please refer to FIG. 2 , which shows a flow chart of audio signal processing according to Embodiment 1 of the present invention, and please also refer to the component numbers in FIG. 1 . First, as shown in step 201 , please refer to FIG. 3 , which shows a schematic diagram of a voltage signal of a preset sound volume. The electronic device 100 uses the microphone 120 to obtain the voltage signal Vs as shown in FIG.

接着,如步骤202所示,处理单元130根据电压信号Vs的最小电压峰值LV及最大电压峰值HV定义音量取样区间,也就是0V-5V之间。Next, as shown in step 202 , the processing unit 130 defines a volume sampling interval according to the minimum voltage peak value LV and the maximum voltage peak value HV of the voltage signal Vs, that is, between 0V-5V.

然后,如步骤203所示,将音量取样区间区分为n个电压区间。以电压信号Vs为例,由于最小电压峰值LV及最大电压峰值HV位于0V及5V之间,令n=8,将0V到5V的间区分为8个区间。也就是将0V-0.625V设定为第一区间、0.625V-1.25V设定为第二区间、1.25V-1.875V设定为第三区间、1.875V-2.5V设定为第四区间、2.5V-3.125V设定为第五区间、3.125V-3.75V设定为第六区间、3.75V-4.375V设定为第七区间、4.375V-5V设定为第八区间,对电压信号Vs进行8位的编码。本实施例中各电压区间的范围相同,但也可各自设定不同的范围,本发明不以此为限。此外,虽然本实施例将音量做8位的编码,但是也可以更高的分辨率划分更多的取样区间,例如24位、32位或128位等等,以取得更细腻的音量变化。Then, as shown in step 203, the volume sampling interval is divided into n voltage intervals. Taking the voltage signal Vs as an example, since the minimum voltage peak LV and the maximum voltage peak HV are between 0V and 5V, n=8, and the interval from 0V to 5V is divided into 8 intervals. That is, 0V-0.625V is set as the first interval, 0.625V-1.25V is set as the second interval, 1.25V-1.875V is set as the third interval, 1.875V-2.5V is set as the fourth interval, 2.5V-3.125V is set as the fifth interval, 3.125V-3.75V is set as the sixth interval, 3.75V-4.375V is set as the seventh interval, 4.375V-5V is set as the eighth interval, the voltage signal Vs does 8-bit encoding. In this embodiment, the ranges of the voltage intervals are the same, but different ranges can also be set respectively, and the present invention is not limited thereto. In addition, although the volume is encoded in 8 bits in this embodiment, more sampling intervals can be divided into higher resolutions, such as 24 bits, 32 bits, or 128 bits, etc., to obtain more delicate volume changes.

接着,如步骤204所示,并请参照图4,其表示待取样声音的电压信号示意图。处理单元130根据步骤203定义的音量取样区间,对待取样声音的待取样电压信号SV进行取样,例如使用者于吵杂环境说话的声音。也就是说,处理单元130对待取样声音的音量所对应的待取样电压信号SV位于音量取样区间的部份进行取样。由于音量取样区间位于0V-5V的间,因此大于5V的电压信号不会进行取样,而得到一个音量适中的声音。Next, as shown in step 204 , please refer to FIG. 4 , which shows a schematic diagram of the voltage signal of the sound to be sampled. The processing unit 130 samples the to-be-sampled voltage signal SV of the to-be-sampled sound according to the volume sampling interval defined in step 203 , such as the sound of the user talking in a noisy environment. That is to say, the processing unit 130 samples the portion of the voltage signal SV to be sampled corresponding to the volume of the sound to be sampled that is located in the volume sampling interval. Since the volume sampling range is between 0V-5V, the voltage signal greater than 5V will not be sampled, and a sound with a moderate volume will be obtained.

然后,如步骤205所示,并请参照图5,其表示预设声音的频率信号示意图。根据预设声音的频率,得到频率信号Fs。Then, as shown in step 205 , please refer to FIG. 5 , which shows a schematic diagram of the frequency signal of the preset sound. According to the frequency of the preset sound, the frequency signal Fs is obtained.

接着,如步骤206所示,根据频率信号Fs的最小频率峰值LF及最大频率峰值HF,定义频率取样区间,也就是500Hz-2000Hz之间。Next, as shown in step 206 , according to the minimum frequency peak value LF and maximum frequency peak value HF of the frequency signal Fs, a frequency sampling interval is defined, that is, between 500 Hz and 2000 Hz.

然后,如步骤207所示,将频率取样区间区分为m个频率区间。本实施例中,频率信号Fs大致上位于500Hz-2000Hz之间,令m=8,区分为8个频率区间。也就是说,将500Hz-687.5Hz设为第一区间、687.5Hz-875Hz设为第二区间、875Hz-1062.5Hz设为第三区间、1062.5Hz-1250Hz设为第四区间、1250Hz-1437.5Hz设为第五区间、1437.5Hz-1625Hz设为第六区间、1625Hz-1812.5Hz设为第七区间、1812.5Hz-2000Hz设为第八区间,对频率信号Fs进行8位的编码。本实施例中各频率区间的范围相同,但也可各自设定不同的范围,本发明不以此为限。此外,虽然本实施例将频率做8位的编码,但是也可以更高的分辨率划分更多的取样区间,例如24位、32位或128位等等,以取得更细腻的频率变化。Then, as shown in step 207, the frequency sampling interval is divided into m frequency intervals. In this embodiment, the frequency signal Fs is generally located between 500 Hz-2000 Hz, and m=8, which is divided into 8 frequency intervals. That is to say, set 500Hz-687.5Hz as the first interval, 687.5Hz-875Hz as the second interval, 875Hz-1062.5Hz as the third interval, 1062.5Hz-1250Hz as the fourth interval, and 1250Hz-1437.5Hz as the fourth interval. 1437.5Hz-1625Hz is set as the sixth zone, 1625Hz-1812.5Hz is set as the seventh zone, and 1812.5Hz-2000Hz is set as the eighth zone, and the frequency signal Fs is coded by 8 bits. In this embodiment, the ranges of the frequency intervals are the same, but different ranges can also be set respectively, and the present invention is not limited thereto. In addition, although the frequency is encoded by 8 bits in this embodiment, more sampling intervals can be divided into higher resolutions, such as 24 bits, 32 bits or 128 bits, etc., to obtain more delicate frequency changes.

接着,如步骤208所示,并请参照图6,其表示待取样声音的频率信号示意图。处理单元130根据频率取样区间,对待取样声音的待取样频率信号SF进行取样。例如使用者于吵杂环境下发出的声音。也就是说,处理单元130对待取样声音的频率所对应的待取样频率信号SF位于频率取样区间的部份进行取样。由于频率取样区间位于500Hz-2000Hz之间,因此小于500Hz的低频部分或大于2000Hz的高频部分的频率信号不会进行取样,而得到一个较接近原使用者说话的频率的声音。Next, as shown in step 208 , please refer to FIG. 6 , which shows a schematic diagram of the frequency signal of the sound to be sampled. The processing unit 130 samples the to-be-sampled frequency signal SF of the to-be-sampled sound according to the frequency sampling interval. For example, the sound made by the user in a noisy environment. That is to say, the processing unit 130 samples the portion of the frequency signal SF to be sampled corresponding to the frequency of the sound to be sampled located in the frequency sampling interval. Since the frequency sampling range is between 500Hz-2000Hz, the frequency signal of the low frequency part less than 500Hz or the frequency signal of the high frequency part greater than 2000Hz will not be sampled, and a sound closer to the frequency of the original user's speech is obtained.

此外,本实施例于步骤204及步骤205之间,还可包括以带通滤波器(bandpass filter)对待取样声音所对应的待取样频率信号SF进行滤波,以事先过滤掉大部分的噪声。带通滤波器的频率范围可以设定为位于100Hz~4000Hz之间,也就是一般人发声的频率范围。In addition, between step 204 and step 205, this embodiment may further include filtering the frequency signal to be sampled SF corresponding to the sound to be sampled with a bandpass filter, so as to filter out most of the noise in advance. The frequency range of the band-pass filter can be set to be between 100 Hz and 4000 Hz, which is the frequency range of the voice of ordinary people.

本实施例中,步骤201-204对于音量部分做取样,步骤205-208则对于频率部分做取样。事实上,处理单元130可以同时或分别对音量及频率作取样,因此也可以先进行步骤205-208,再进行步骤201-204,本发明不以此为限。In this embodiment, steps 201-204 sample the volume part, and steps 205-208 sample the frequency part. In fact, the processing unit 130 can sample the volume and the frequency simultaneously or separately, so steps 205-208 can be performed first, and then steps 201-204 can be performed, and the present invention is not limited thereto.

实施例二Embodiment two

请参照图7,其表示本发明实施例二的声音信号处理流程图,并请同时参考图1的组件标号,其余与实施例一相同的组件及步骤说明,不再赘述。首先,如步骤301所示,并请参照图3,根据预设声音的音量,得到电压信号Vs。Please refer to FIG. 7 , which shows the flow chart of sound signal processing in Embodiment 2 of the present invention, and please also refer to the component numbers in FIG. 1 . First, as shown in step 301 and referring to FIG. 3 , the voltage signal Vs is obtained according to the volume of the preset sound.

接着,如步骤302所示,处理单元130根据电压信号Vs的最小电压峰值LP及最大电压峰值HP定义n个电压区间。本实施例一样在0V-5V的间定义8个电压区间(n=8)。其中各8个电压区间的范围相同,但不以此为限。Next, as shown in step 302 , the processing unit 130 defines n voltage intervals according to the minimum voltage peak value LP and the maximum voltage peak value HP of the voltage signal Vs. In this embodiment, 8 voltage intervals (n=8) are defined between 0V-5V. The ranges of the eight voltage intervals are the same, but not limited thereto.

然后,如步骤303所示,处理单元130将n个电压区间的第s1至第t1电压区间设定为音量取样区间,其中1<s1<t1<n。本实施例中令n=8,并假设最小电压峰值LV落于第二区间之间,最大电压峰值HV落于第七区间3.75V-4.375V之间。因此,可令s1=2,t1=7,设定0.625V-4.375V为音量取样区间。Then, as shown in step 303 , the processing unit 130 sets the s1 th to t1 th voltage intervals of the n voltage intervals as volume sampling intervals, where 1<s1<t1<n. In this embodiment, n=8, and it is assumed that the minimum peak voltage LV falls within the second interval, and the maximum voltage peak HV falls within the seventh interval 3.75V-4.375V. Therefore, s1=2, t1=7 can be set, and 0.625V-4.375V is set as the volume sampling interval.

接着,如步骤304所示,并参考图4,根据音量取样区间,对待取样声音进行取样。也就是对待取样声音的音量所对应的待取样电压信号SV位于音量取样区间的部份进行取样。Next, as shown in step 304 and with reference to FIG. 4 , the sound to be sampled is sampled according to the volume sampling interval. That is, the part of the voltage signal SV to be sampled corresponding to the volume of the sound to be sampled located in the volume sampling interval is sampled.

然后,如步骤305所示,并参照图5。根据预设声音的频率,得到频率信号Fs。Then, as shown in step 305, and refer to FIG. 5 . According to the frequency of the preset sound, the frequency signal Fs is obtained.

接着,如步骤306所示,处理单元130根据频率信号Fs的最小频率峰值LF及最大频率峰值HF定义m个频率区间。本实施例一样在500Hz-2000Hz之间定义8个频率区间。其中8个频率区间的范围相同,但不以此为限。Next, as shown in step 306 , the processing unit 130 defines m frequency intervals according to the minimum frequency peak LF and the maximum frequency peak HF of the frequency signal Fs. In this embodiment, 8 frequency intervals are defined between 500 Hz and 2000 Hz. The ranges of the eight frequency intervals are the same, but not limited thereto.

然后,如步骤307所示,处理单元130将m个频率区间的第s2至第t2频率区间设定为频率取样区间,其中1<s2<t2<m。本实施例中令m=8,并假设最小频率峰值LF落于第三区间875Hz-1062.5Hz之间,最大频率峰值HF落于第七区间1625Hz-1812.5Hz之间。因此,可令s2=3,t2=7,设定875Hz-1812.5Hz为频率取样区间。Then, as shown in step 307 , the processing unit 130 sets the s2 th to t2 th frequency intervals of the m frequency intervals as frequency sampling intervals, where 1<s2<t2<m. In this embodiment, let m=8, and assume that the minimum peak frequency LF falls between the third interval 875Hz-1062.5Hz, and the maximum frequency peak HF falls between the seventh interval 1625Hz-1812.5Hz. Therefore, s2=3, t2=7 can be set, and 875Hz-1812.5Hz is set as the frequency sampling interval.

接着,如步骤308所示,并参照图6。根据频率取样区间,对待取样声音进行取样。也就是对待取样声音的频率所对应的待取样频率信号SF位于频率取样区间的部份进行取样。Next, as shown in step 308, and refer to FIG. 6 . According to the frequency sampling interval, the sound to be sampled is sampled. That is, the part of the frequency signal SF to be sampled corresponding to the frequency of the sound to be sampled located in the frequency sampling interval is sampled.

此外,在步骤304及步骤305之间,还包括以带通滤波器对待取样声音所对应的待取样频率信号SF进行滤波。带通滤波器的频率范围可设定位于100Hz~4000Hz之间。In addition, between step 304 and step 305, filtering the frequency signal SF to be sampled corresponding to the sound to be sampled is filtered by a bandpass filter. The frequency range of the band-pass filter can be set between 100Hz and 4000Hz.

本实施例中,步骤301-304对于音量部分做取样,步骤305-308则对于频率部分做取样。事实上,处理单元130可以同时或分别对音量及频率作取样,因此也可以先进行步骤305-308,再进行步骤301-304,本发明不以此为限。In this embodiment, steps 301-304 sample the volume part, and steps 305-308 sample the frequency part. In fact, the processing unit 130 can sample the volume and the frequency simultaneously or separately, so steps 305-308 can be performed first, and then steps 301-304 can be performed, and the present invention is not limited thereto.

本实施例通过设定更精确的取样范围,让使用者的音量及频率特征能够更精确的被摄取,保留使用者主要的发声特征。In this embodiment, by setting a more accurate sampling range, the volume and frequency characteristics of the user can be captured more accurately, and the main vocal characteristics of the user can be preserved.

本发明上述实施例所披露的声音信号处理方法,能够根据使用者的发声特征做出适当的取样范围,过滤掉环境噪音。由于可以根据不同的使用者进行调整取样范围,对于具有特殊发声特征的使用者也能够使用此功能滤除环境噪音。The audio signal processing method disclosed in the above-mentioned embodiments of the present invention can make an appropriate sampling range according to the user's vocalization characteristics, and filter out environmental noise. Since the sampling range can be adjusted according to different users, users with special vocal characteristics can also use this function to filter out environmental noise.

综上所述,虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域的技术人员,在不脱离本发明的精神和范围内,当可作各种的更动与改进。因此,本发明的保护范围当视权利要求所界定者为准。To sum up, although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art to which the present invention belongs can make various changes and improvements without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by what is defined by the claims.

Claims (20)

1.一种声音信号处理方法,包括:1. A sound signal processing method, comprising: (a)根据预设声音的音量,得到电压信号;(a) Obtain a voltage signal according to the volume of the preset sound; (b)根据该电压信号的最小电压峰值及最大电压峰值定义音量取样区间;以及(b) defining a volume sampling interval according to the minimum voltage peak value and the maximum voltage peak value of the voltage signal; and (c)根据该音量取样区间,对待取样声音进行取样。(c) Sampling the sound to be sampled according to the volume sampling interval. 2.根据权利要求1所述的方法,其特征在于还包括:2. The method according to claim 1, further comprising: (d)根据该预设声音的频率,得到频率信号;(d) Obtain a frequency signal according to the frequency of the preset sound; (e)根据该频率信号的最小频率峰值及最大频率峰值定义频率取样区间;以及(e) defining a frequency sampling interval according to the minimum frequency peak and the maximum frequency peak of the frequency signal; and (f)根据该频率取样区间,对该待取样声音进行取样。(f) Sampling the sound to be sampled according to the frequency sampling interval. 3.根据权利要求2所述的方法,其特征在于在该步骤(c)之后,且在该步骤(d)之前还包括:3. The method according to claim 2, characterized in that after the step (c), and before the step (d): (g)以带通滤波器对该待取样声音所对应的待取样频率信号进行滤波。(g) Filtering the to-be-sampled frequency signal corresponding to the to-be-sampled sound with a band-pass filter. 4.根据权利要求3所述的方法,其特征在于该带通滤波器的频率范围在100Hz~4000Hz之间。4. The method according to claim 3, characterized in that the frequency range of the bandpass filter is between 100 Hz and 4000 Hz. 5.一种声音信号处理方法,包括:5. A sound signal processing method, comprising: (a)根据预设声音的频率,得到频率信号;(a) Obtain a frequency signal according to the frequency of the preset sound; (b)根据该频率信号的最小频率峰值及最大频率峰值定义频率取样区间;以及(b) defining a frequency sampling interval based on the minimum frequency peak and maximum frequency peak of the frequency signal; and (c)根据该频率取样区间,对该待取样声音进行取样。(c) Sampling the sound to be sampled according to the frequency sampling interval. 6.根据权利要求5所述的方法,其特征在于还包括:6. The method of claim 5, further comprising: (d)根据该预设声音的音量,得到电压信号;(d) Obtain a voltage signal according to the volume of the preset sound; (e)根据该电压信号的最小电压峰值及最大电压峰定义音量取样区间;以及(e) defining a volume sampling interval according to the minimum voltage peak and the maximum voltage peak of the voltage signal; and (f)根据该音量取样区间,对该待取样声音进行取样。(f) Sampling the sound to be sampled according to the volume sampling interval. 7.根据权利要求5所述的方法,其特征在于步骤(a)之前还包括:7. method according to claim 5, is characterized in that before step (a) also comprises: (g)以带通滤波器对该待取样声音所对应的待取样频率信号进行滤波。(g) Filtering the to-be-sampled frequency signal corresponding to the to-be-sampled sound with a band-pass filter. 8.根据权利要求7所述的方法,其特征在于该带通滤波器的频率范围在100Hz~4000Hz之间。8. The method according to claim 7, characterized in that the frequency range of the band-pass filter is between 100 Hz and 4000 Hz. 9.一种声音信号处理方法,包括:9. A sound signal processing method, comprising: (a)根据预设声音的音量,得到电压信号;(a) Obtain a voltage signal according to the volume of the preset sound; (b)根据该电压信号的最小电压峰值及最大电压峰值定义n个电压区间;(b) defining n voltage intervals according to the minimum voltage peak value and the maximum voltage peak value of the voltage signal; (c)将该n个电压区间的第s1至第t1电压区间设定为音量取样区间,其中1<s1<t1<n;以及(c) setting the s1th to t1th voltage intervals of the n voltage intervals as volume sampling intervals, where 1<s1<t1<n; and (d)根据该音量取样区间,对待取样声音进行取样。(d) Sampling the sound to be sampled according to the volume sampling interval. 10.根据权利要求9所述的方法,其特征在于该n个电压区间的范围相同。10. The method according to claim 9, characterized in that the ranges of the n voltage intervals are the same. 11.根据权利要求9所述的方法,其特征在于还包括:11. The method of claim 9, further comprising: (e)根据该预设声音的频率,得到频率信号;(e) Obtain a frequency signal according to the frequency of the preset sound; (f)根据该频率信号的最小频率峰值及最大频率峰值定义m个频率区间;(f) defining m frequency intervals according to the minimum frequency peak and the maximum frequency peak of the frequency signal; (g)将该m个频率区间的第s2至第t2频率区间设定为频率取样区间,其中1<s2<t2<m;以及(g) setting the s2th to t2th frequency intervals of the m frequency intervals as frequency sampling intervals, where 1<s2<t2<m; and (h)根据该频率取样区间,对该待取样声音进行取样。(h) Sampling the sound to be sampled according to the frequency sampling interval. 12.根据权利要求11所述的方法,其特征在于该m个频率区间的范围相同。12. The method according to claim 11, characterized in that the ranges of the m frequency intervals are the same. 13.根据权利要求11所述的方法,其特征在于在该步骤(d)之后,且在该步骤(e)之前还包括:13. The method according to claim 11, characterized in that after the step (d), and before the step (e), also comprising: (i)以带通滤波器对该待取样声音所对应的待取样频率信号进行滤波。(i) Filter the frequency signal to be sampled corresponding to the sound to be sampled with a bandpass filter. 14.根据权利要求13所述的方法,其特征在于该带通滤波器的频率范围在100Hz~4000Hz之间。14. The method according to claim 13, characterized in that the frequency range of the band-pass filter is between 100 Hz and 4000 Hz. 15.一种声音信号处理方法,包括:15. A sound signal processing method, comprising: (a)根据预设声音的频率,得到频率信号;(a) Obtain a frequency signal according to the frequency of the preset sound; (b)根据该频率信号的最小频率峰值及最大频率峰值定义m个频率区间;(b) defining m frequency intervals according to the minimum frequency peak and the maximum frequency peak of the frequency signal; (c)将该m个频率区间的第s2至第t2频率区间设定为频率取样区间,其中1<s2<t2<m;以及(c) setting the s2th to t2th frequency intervals of the m frequency intervals as frequency sampling intervals, where 1<s2<t2<m; and (d)根据该频率取样区间,对待取样声音进行取样。(d) Sampling the sound to be sampled according to the frequency sampling interval. 16.根据权利要求15所述的方法,其特征在于该m个频率区间的范围相同。16. The method according to claim 15, characterized in that the ranges of the m frequency intervals are the same. 17.根据权利要求15所述的方法,其特征在于还包括:17. The method of claim 15, further comprising: (e)根据该预设声音的音量,得到电压信号;(e) Obtain a voltage signal according to the volume of the preset sound; (f)根据该电压信号的最小电压峰值及最大电压峰值定义n个电压区间;(f) defining n voltage intervals according to the minimum voltage peak value and the maximum voltage peak value of the voltage signal; (g)将该n个电压区间的第s1至第t1电压区间设定为电压取样区间,其中1<s1<t1<n;以及(g) setting the s1th to t1th voltage intervals of the n voltage intervals as voltage sampling intervals, where 1<s1<t1<n; and (h)根据该电压取样区间,对该待取样声音进行取样。(h) Sampling the sound to be sampled according to the voltage sampling interval. 18.根据权利要求17所述的方法,其特征在于该n个电压区间的范围相同。18. The method according to claim 17, wherein the ranges of the n voltage intervals are the same. 19.根据权利要求15所述的方法,其特征在于步骤(a)之前还包括:19. The method according to claim 15, further comprising: before step (a): (i)以带通滤波器对该待取样声音所对应的待取样频率信号进行滤波。(i) Filter the frequency signal to be sampled corresponding to the sound to be sampled with a bandpass filter. 20.根据权利要求19所述的方法,其特征在于该带通滤波器的频率范围在100Hz~4000Hz之间。20. The method according to claim 19, characterized in that the frequency range of the band-pass filter is between 100 Hz and 4000 Hz.
CN2006101722547A 2006-12-30 2006-12-30 sound signal processing method Expired - Fee Related CN101211563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101722547A CN101211563B (en) 2006-12-30 2006-12-30 sound signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101722547A CN101211563B (en) 2006-12-30 2006-12-30 sound signal processing method

Publications (2)

Publication Number Publication Date
CN101211563A true CN101211563A (en) 2008-07-02
CN101211563B CN101211563B (en) 2011-12-21

Family

ID=39611542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101722547A Expired - Fee Related CN101211563B (en) 2006-12-30 2006-12-30 sound signal processing method

Country Status (1)

Country Link
CN (1) CN101211563B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107331404A (en) * 2017-06-22 2017-11-07 深圳传音通讯有限公司 The sound processing method and device of audio frequency and video

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4405948A (en) * 1982-01-26 1983-09-20 Rca Corporation Volume control signal coupling circuit in an audio signal processing system
US5790671A (en) * 1996-04-04 1998-08-04 Ericsson Inc. Method for automatically adjusting audio response for improved intelligibility
JP3225918B2 (en) * 1998-03-30 2001-11-05 日本電気株式会社 Mobile terminal device
CN1299092A (en) * 1999-12-03 2001-06-13 张发勋 Use voice to turn on and off the computer power system
CN100466467C (en) * 2004-12-02 2009-03-04 上海交通大学 Automatic volume limiting device with automatic gain control function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107331404A (en) * 2017-06-22 2017-11-07 深圳传音通讯有限公司 The sound processing method and device of audio frequency and video

Also Published As

Publication number Publication date
CN101211563B (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN103236263B (en) Method, system and mobile terminal for improving call quality
Nakajima et al. Non-audible murmur recognition input interface using stethoscopic microphone attached to the skin
NO20050986L (en) Method and apparatus for multi-sensory voice recording preparation on mobile equipment
CN104735232B (en) A kind of method and apparatus for realizing function of hearing aid on mobile terminals
JP2017538146A (en) Systems, methods, and devices for intelligent speech recognition and processing
CN110708625A (en) Ambient sound suppression and enhancement adjustable earphone system and method based on intelligent terminal
WO2005018275A3 (en) Speech-based optimization of digital hearing devices
KR102350890B1 (en) Portable hearing test device
CN107690034A (en) Intelligent scene mode switching system and method based on environmental background sound
JP5027127B2 (en) Improvement of speech intelligibility of mobile communication devices by controlling the operation of vibrator according to background noise
JP2009178783A (en) Communication robot and control method thereof
JPWO2006011405A1 (en) Digital filtering method, digital filter device, digital filter program, computer-readable recording medium, and recorded device
WO2019228329A1 (en) Personal hearing device, external sound processing device, and related computer program product
JP7218143B2 (en) Playback system and program
CN104851423A (en) Sound message processing method and device
CN101211563A (en) sound signal processing method
JP7284570B2 (en) Sound reproduction system and program
CN106548782A (en) The processing method and mobile terminal of acoustical signal
WO2008075305A1 (en) Method and apparatus to address source of lombard speech
US8204257B2 (en) System and method for increasing ring tone volume
CN213877572U (en) Human voice enhancement and environment prediction system based on deep learning
CN114513723A (en) Howling suppression method, device, earphone and storage medium
JP2008042740A (en) Microphone for collecting non-audible tweets
CN208000739U (en) Optimized for external voice signaling devices
CN101771390B (en) Sound output and input system and its volume output adjustment method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20111221