TWI498884B - Electric device with environment sound filtering function and method for filtering environment sound - Google Patents

Electric device with environment sound filtering function and method for filtering environment sound Download PDF

Info

Publication number
TWI498884B
TWI498884B TW102132463A TW102132463A TWI498884B TW I498884 B TWI498884 B TW I498884B TW 102132463 A TW102132463 A TW 102132463A TW 102132463 A TW102132463 A TW 102132463A TW I498884 B TWI498884 B TW I498884B
Authority
TW
Taiwan
Prior art keywords
output
sound
sound source
signal
sound signal
Prior art date
Application number
TW102132463A
Other languages
Chinese (zh)
Other versions
TW201510988A (en
Inventor
Yu Hung Tseng
Original Assignee
Pegatron 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 Pegatron Corp filed Critical Pegatron Corp
Priority to TW102132463A priority Critical patent/TWI498884B/en
Publication of TW201510988A publication Critical patent/TW201510988A/en
Application granted granted Critical
Publication of TWI498884B publication Critical patent/TWI498884B/en

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Description

具有過濾背景音功能的電子裝置及其方法Electronic device with filtering background sound function and method thereof

本發明係關於一種過濾功能的電子裝置及方法,特別是關於一種過濾背景音功能的電子裝置及方法。The present invention relates to an electronic device and method for filtering functions, and more particularly to an electronic device and method for filtering background sound functions.

語音品質為無線通訊評量指標之一,而影響語音品質的主要因素則為背景音(背景雜訊)的干擾。因此,如何抑制環境雜訊成為手機製造商實現差異化的潛在條件。近年抑制環境雜訊的研究方向多著重於:如何降低或消除背景中變化緩慢的固定噪音。然而除了固定噪音以外,環境中尚存在著變化快速的非固定噪音,僅降低或消除固定噪音雖可提昇語音品質,但仍無法在公共場所、吵雜的地區達到較佳的通話品質。Voice quality is one of the wireless communication measurement indicators, and the main factor affecting voice quality is the interference of background sound (background noise). Therefore, how to suppress environmental noise becomes a potential condition for mobile phone manufacturers to achieve differentiation. In recent years, the research direction of suppressing environmental noise has paid more attention to how to reduce or eliminate the fixed noise with slow change in the background. However, in addition to the fixed noise, there are still fast and non-fixed noises in the environment. Although only reducing or eliminating fixed noise can improve the voice quality, it is still unable to achieve better call quality in public places and noisy areas.

承前,習知抑制非固定雜訊噪音的方法多採利用複數個麥克風以提昇電子裝置對於聽覺現場的理解。詳言之,透過在電子裝置上裝設兩個以上的麥克風,且二個麥克風音設置於不同位置,使得接收同一音源時會存在差異,透過辨識此差異,可對週邊的環境音更準確地識別、定位及分組。然而在越輕薄短小的電子裝置中,設置兩個麥克風將會壓縮到其他電子元件的位置,故非一個適宜的改善語音品質的方法。In the past, conventional methods for suppressing non-fixed noise noise have utilized a plurality of microphones to enhance the understanding of the electronic device for the auditory scene. In detail, by installing more than two microphones on the electronic device and setting the two microphone tones at different positions, there will be differences when receiving the same source. By identifying this difference, the surrounding ambient sounds can be more accurately identified. , positioning and grouping. However, in the thinner, lighter and shorter electronic device, the two microphones are set to be compressed to other electronic components, so it is not a suitable method for improving the voice quality.

因此,如何提供改善過濾背景音的方法,為本領域急需解決的問題之一。Therefore, how to provide a method for improving the filtering background sound is one of the urgent problems to be solved in the art.

有鑑於上述課題,本發明的目的為提供不需採用複數個麥克風且可過濾背景音的方法。In view of the above problems, an object of the present invention is to provide a method of filtering a background sound without using a plurality of microphones.

為達上述目的,本發明為一種具有過濾背景音功能的電子 裝置,搭配至少一音源輸出裝置,且音源輸出裝置提供至少一輸出音,且輸出音具有特徵值。In order to achieve the above object, the present invention is an electronic device having a function of filtering background sounds. The device is provided with at least one sound source output device, and the sound source output device provides at least one output sound, and the output sound has a characteristic value.

電子裝置包括音源接收單元、分析單元、過濾單元以及音源傳送單元。其中,分析單元分別與音源接收單元、過濾單元耦接。The electronic device includes a sound source receiving unit, an analyzing unit, a filtering unit, and a sound source transmitting unit. The analysis unit is coupled to the sound source receiving unit and the filtering unit respectively.

音源接收單元接收複數個背景音,該些背景音包括至少一音源輸出裝置所提供的至少一輸出音,音源接收單元將該些背景音對應轉換成複數個背景音信號。其中該些背景音信號至少包括至少一輸出音對應轉換的至少一輸出音信號,各至少一輸出音信號具有對應各至少一輸出音的特徵值。The sound source receiving unit receives a plurality of background sounds, and the background sounds include at least one output sound provided by at least one sound source output device, and the sound source receiving unit converts the background sounds into a plurality of background sound signals. The background sound signals include at least one output sound signal corresponding to the at least one output sound, and each of the at least one output sound signals has a characteristic value corresponding to each of the at least one output sound.

分析單元包括特徵值對照表,且特徵值對照表具有複數音源輸出裝置的特徵值,用以辨識對應各至少一輸出音信號的各至少一音源輸出裝置。The analysis unit includes a feature value comparison table, and the feature value comparison table has a feature value of the complex sound source output device for identifying each of the at least one sound source output device corresponding to each of the at least one output sound signal.

分析單元將依據預設分析條件使對應各至少一輸出音信號分別取得權重值。The analyzing unit will respectively obtain the weight value corresponding to each of the at least one output sound signal according to the preset analysis condition.

接著,過濾單元接收取得權重值的該些背景音信號,再依據預設權重區間篩選各至少一輸出音信號的權重值,將未達預設權重區間的至少一輸出音信號從背景音信號中分離,形成一過濾音信號。最後再透過音源傳送單元傳送過濾音信號。Then, the filtering unit receives the background sound signals that obtain the weight value, and then filters the weight values of the at least one output sound signal according to the preset weight interval, and the at least one output sound signal that does not reach the preset weight interval is from the background sound signal. Separate to form a filtered tone signal. Finally, the filtered sound signal is transmitted through the sound source transmitting unit.

在本發明一實施例中,其中預設分析條件至少包括音頻訊息、位置訊息以及時間訊息。In an embodiment of the invention, the preset analysis condition includes at least an audio message, a location message, and a time message.

在本發明一實施例中,其中當音源接收單元與至少一音源輸出裝置的距離間隔較大時,至少一音源輸出裝置的輸出音信號取得的權重值較小,當音源接收單元與至少一音源輸出裝置的距離間隔較小時,至少一音源輸出裝置的輸出音信號取得的權重值較大。In an embodiment of the invention, when the distance between the sound source receiving unit and the at least one sound source output device is larger, the weight value obtained by the output sound signal of the at least one sound source output device is smaller, when the sound source receiving unit and the at least one sound source are When the distance interval of the output device is small, the weight value obtained by the output sound signal of at least one of the sound source output devices is large.

在本發明的一實施例中,其中至少一音源輸出裝置為第一音源輸出裝置及第二音源輸出裝置。第一音源輸出裝置提供具有第一特徵值的第一輸出音,第二音源輸出裝置提供具有第二特徵值的第二輸出音。In an embodiment of the invention, at least one of the sound source output devices is a first sound source output device and a second sound source output device. The first source output device provides a first output tone having a first feature value, and the second source output device provides a second output tone having a second feature value.

音源接收單元將第一輸出音及第二輸出音對應轉換為第一輸出音信號及第二輸出音信號,其中各輸出音信號具有對應各輸出音的特 徵值。藉由特徵值對照表辨識第一輸出音信號及第二輸出音信號。The sound source receiving unit converts the first output sound and the second output sound into a first output sound signal and a second output sound signal, wherein each output sound signal has a corresponding output sound Value. The first output tone signal and the second output tone signal are identified by the feature value comparison table.

分析單元再依據預設分析條件使對應第一輸出音信號與第二輸出音信號分別取得第一權重值及第二權重值。接著,過濾單元依據預設權重區間篩選第一權重值及第二權重值。將未達預設權重區間的第一輸出音信號或第二輸出音信號從背景音信號中分離,形成過濾音信號。再由音源傳送單元傳送過濾音信號。The analyzing unit further obtains the first weight value and the second weight value corresponding to the first output sound signal and the second output sound signal according to the preset analysis condition. Then, the filtering unit filters the first weight value and the second weight value according to the preset weight interval. The first output sound signal or the second output sound signal that does not reach the preset weight interval is separated from the background sound signal to form a filtered sound signal. The filtered sound signal is transmitted by the sound source transmitting unit.

在本發明一實施例中,過濾單元與音源接收單元、分析單元與音源傳送單元透過電性連接(例如電線)或透過無線傳輸方式連接。In an embodiment of the invention, the filtering unit and the sound source receiving unit, the analyzing unit and the sound source transmitting unit are connected by electrical connection (for example, electric wire) or by wireless transmission.

在本發明一實施例中,電子裝置與至少一音源輸出裝置為顯示裝置、播放裝置、平板電腦、桌上型電腦或行動通訊裝置。In an embodiment of the invention, the electronic device and the at least one sound source output device are a display device, a playback device, a tablet computer, a desktop computer or a mobile communication device.

本發明更可提供一種過濾背景音的方法,用於一具有過濾背景音功能的電子裝置,且電子裝置搭配至少一音源輸出裝置,且音源輸出裝置提供至少一輸出音,其中各至少一輸出音具有特徵值。The invention further provides a method for filtering a background sound, which is used for an electronic device having a function of filtering a background sound, and the electronic device is matched with at least one sound source output device, and the sound source output device provides at least one output sound, wherein each of the at least one output sound Has a feature value.

本發明的方法包括:接收複數個背景音,其中背景音包括至少一音源輸出裝置所提供的至少一輸出音。轉換該些背景音為複數個背景音信號,該些背景音信號至少包括至少一輸出音對應轉換的至少一輸出音信號。其中各至少一輸出音信號具有對應各至少一輸出音的特徵值。The method of the present invention includes receiving a plurality of background sounds, wherein the background sounds comprise at least one output sound provided by at least one of the sound source output devices. Converting the background sounds into a plurality of background sound signals, the background sound signals comprising at least one output sound signal corresponding to the at least one output sound correspondingly converted. Each of the at least one output tone signal has a feature value corresponding to each of the at least one output tone.

接著,辨識對應各至少一輸出音信號的各至少一音源輸出裝置,並依據預設分析條件使分析單元對應各至少一輸出音信號分別取得一權重值。Then, each of the at least one sound source output device corresponding to each of the at least one output sound signal is identified, and the analysis unit respectively obtains a weight value corresponding to each of the at least one output sound signal according to the preset analysis condition.

依據預設權重區間篩選各至少一輸出音信號的權重值,將未達預設權重區間的至少一輸出音信號從背景音信號中分離,並形成一過濾音信號。最後,再傳送過濾音信號。And filtering the weight value of each of the at least one output sound signal according to the preset weight interval, and separating at least one output sound signal that does not reach the preset weight interval from the background sound signal, and forming a filtered sound signal. Finally, the filtered tone signal is transmitted.

在本發明一實施例中,至少一音源輸出裝置為第一音源輸出裝置及第二音源輸出裝置。第一音源輸出裝置提供具有第一特徵值的第一輸出音,第二音源輸出裝置提供具有第二特徵值的第二輸出音。In an embodiment of the invention, the at least one sound source output device is a first sound source output device and a second sound source output device. The first source output device provides a first output tone having a first feature value, and the second source output device provides a second output tone having a second feature value.

其中步驟包括:將第一輸出音及第二輸出音轉換為第一輸出音信號及第二輸出音信號,其中各輸出音信號具有對應各輸出音的特徵值。The step includes: converting the first output sound and the second output sound into a first output sound signal and a second output sound signal, wherein each output sound signal has a characteristic value corresponding to each output sound.

接著,辨識對應第一輸出音信號及第二輸出音信號的各該至少一音源輸出裝置,並依據預設分析條件使分析單元對應第一輸出音信號與第二輸出音信號分別取得第一權重值及第二權重值。Then, each of the at least one sound source output device corresponding to the first output sound signal and the second output sound signal is identified, and the analyzing unit obtains the first weight corresponding to the first output sound signal and the second output sound signal respectively according to the preset analysis condition. Value and second weight value.

再依據預設權重區間篩選第一權重值及第二權重值,將未達預設權重區間的第一輸出音信號及第二輸出音信號從背景音信號中分離以形成過濾音源信號。And filtering the first weight value and the second weight value according to the preset weight interval, and separating the first output sound signal and the second output sound signal that are not up to the preset weight interval from the background sound signal to form a filtered sound source signal.

在本發明一實施例中,預設分析條件至少含有音頻訊息、位置訊息以及時間訊息。In an embodiment of the invention, the preset analysis condition includes at least an audio message, a location message, and a time message.

在本發明一實施例中,電子裝置及至少一音源輸出裝置為顯示裝置、播放裝置、平板電腦、桌上型電腦或行動通訊裝置。In an embodiment of the invention, the electronic device and the at least one audio output device are a display device, a playback device, a tablet computer, a desktop computer or a mobile communication device.

1‧‧‧電子裝置1‧‧‧Electronic device

11‧‧‧音源接收單元11‧‧‧Source receiving unit

12‧‧‧分析單元12‧‧‧Analysis unit

13‧‧‧過濾單元13‧‧‧Filter unit

14‧‧‧音源傳送單元14‧‧‧Source transmission unit

S1~S5‧‧‧方法步驟S1~S5‧‧‧ method steps

圖1為本發明具有過濾背景音功能的電子裝置的架構示意圖。FIG. 1 is a schematic structural diagram of an electronic device having a function of filtering a background sound according to the present invention.

圖2為本發明過濾背景音的方法的流程圖。2 is a flow chart of a method of filtering background sounds of the present invention.

以下將參照相關圖式,說明依本發明較佳實施例的一種過濾背景音功能的電子裝置以及方法,其中相同的元件、步驟將以相同的參照符號加以說明,且為了便於理解與本發明非直接相關的元件將省略不繪出。Hereinafter, an electronic device and a method for filtering a background sound function according to a preferred embodiment of the present invention will be described with reference to the accompanying drawings, wherein the same elements and steps will be described with the same reference numerals, and Directly related components will be omitted and not drawn.

請先參考圖1,圖1為本發明具有過濾背景音功能的電子裝置的架構示意圖。此外,以下所稱的說明書所稱的「電子裝置」可為顯示裝置、播放裝置、平板電腦、桌上型電腦或行動通訊裝置,且不以這些類型為限。Please refer to FIG. 1 first. FIG. 1 is a schematic structural diagram of an electronic device with a background sound filtering function according to the present invention. Further, the "electronic device" referred to in the following description may be a display device, a playback device, a tablet computer, a desktop computer, or a mobile communication device, and is not limited to these types.

本發明的電子裝置1,搭配至少一音源輸出裝置(圖未示出),且音源輸出裝置提供至少一輸出音,且輸出音具有特徵值,其中此處所提供的至少一輸出音相對電子裝置1為背景音(背景雜訊)的一部分。The electronic device 1 of the present invention is combined with at least one sound source output device (not shown), and the sound source output device provides at least one output sound, and the output sound has a feature value, wherein at least one output sound provided herein is relative to the electronic device 1 As part of the background sound (background noise).

電子裝置1包括音源接收單元11、分析單元12、過濾單元13以及音源傳送單元14。分析單元12分別與音源接收單元11與過濾單元13耦接,且分析單元12包括特徵值對照表,特徵值對照表具有複數音源輸 出裝置的特徵值,用以辨識對應各該至少一輸出音信號的各該至少一音源輸出裝置。音源接收單元11可為麥克風搭配音源轉換部。其中,除了如圖1所示可將過濾單元13設置於電子裝置1內,並與音源接收單元11、音源傳送單元14透過電性連接的方式以外,更可有實施態樣的過濾單元13設置於電子裝置1以外,並透過無線傳輸的方式與音源接收單元11、分析單元12、音源傳送單元14連接。The electronic device 1 includes a sound source receiving unit 11, an analyzing unit 12, a filtering unit 13, and a sound source transmitting unit 14. The analyzing unit 12 is coupled to the sound source receiving unit 11 and the filtering unit 13, respectively, and the analyzing unit 12 includes a feature value comparison table, and the feature value comparison table has a plurality of audio source inputs. The feature value of the device is used to identify each of the at least one sound source output device corresponding to each of the at least one output sound signal. The sound source receiving unit 11 may be a microphone matching sound source converting portion. In addition, as shown in FIG. 1 , the filter unit 13 can be disposed in the electronic device 1 and electrically connected to the sound source receiving unit 11 and the sound source transmitting unit 14 , and the filter unit 13 can be configured in an embodiment. The audio source receiving unit 11, the analyzing unit 12, and the sound source transmitting unit 14 are connected to the electronic device 1 and wirelessly.

詳細而言,音源接收單元11接收複數個背景音後,會將背景音轉換成背景音信號,且背景音信號包括音源輸出裝置提供的至少一輸出音對應轉換的至少一輸出音信號,且各該至少一輸出音信號具有對應各該至少一輸出音的特徵值。接著,分析單元12再依據預設分析條件使對應各該至少一輸出音信號分別取得一權重值。過濾單元13將會接收取得權重值的該些背景音信號,再依據預設權重區間篩選各該至少一輸出音信號的權重值,將未達預設權重區間的至少一輸出音信號從背景音信號中分離,形成過濾音信號。最後,音源傳送單元14傳送過濾音信號。In detail, after receiving the plurality of background sounds, the sound source receiving unit 11 converts the background sound into a background sound signal, and the background sound signal includes at least one output sound signal corresponding to the at least one output sound provided by the sound source output device, and each The at least one output tone signal has a feature value corresponding to each of the at least one output tone. Then, the analyzing unit 12 further obtains a weight value corresponding to each of the at least one output sound signals according to the preset analysis condition. The filtering unit 13 receives the background sound signals of the weighted values, and filters the weight values of the at least one output sound signal according to the preset weight interval, and sets at least one output sound signal that does not reach the preset weight interval from the background sound. The signals are separated to form a filtered tone signal. Finally, the sound source transmitting unit 14 transmits the filtered sound signal.

此處,過濾單元13將具有特徵值的輸出音信號分離的方式可採用傅立葉轉換或是小波段轉換等方式,但不以此二計算方式為限。Here, the filtering unit 13 may separate the output sound signals having the characteristic values by using Fourier transform or small-band conversion, but not limited to the two calculation methods.

需額外說明的是,音源傳送單元14將過濾音信號傳送到任一接收端後,接收端可再將過濾音信號轉換成過濾音,此處的過濾音即為不含已濾除的背景音(背景雜訊)的語音內容。換言之,本發明例如可應用於一系統化的複數個音源輸出裝置的環境中(例如同一製造商的相同或不同電子產品),在此環境中,各音源輸出裝置所產生的輸出音皆帶有特徵值且可互相辨識各自的特徵值(該些特徵值已被涵蓋於特徵值對照表之中),透過直接(不需再經過繁複的演算)將具有特徵值的輸出音從背景音(背景雜訊)中去除,可有效的提昇語音通訊的品質。It should be noted that after the sound source transmitting unit 14 transmits the filtered sound signal to any receiving end, the receiving end can further convert the filtered sound signal into a filtered sound, where the filtered sound is the filtered background sound. (background noise) voice content. In other words, the present invention can be applied, for example, to the environment of a system of a plurality of sound source output devices (for example, the same or different electronic products of the same manufacturer), in which the output sounds generated by the respective sound source output devices are The eigenvalues and the mutual recognition of the respective eigenvalues (the eigenvalues have been included in the eigenvalue comparison table), and the output sounds with eigenvalues are directly (without complicated calculations) from the background sound (background) The removal of noise can effectively improve the quality of voice communication.

例如,使用者於操作一智慧型手機時,可直接排除週邊同一製造商生產的電子裝置(手機、音響、電視等等)發出的輸出音,不需再做進一步的運算。For example, when a user operates a smart phone, the output sound emitted by electronic devices (mobile phones, stereos, televisions, etc.) produced by the same manufacturer can be directly excluded, and no further calculation is needed.

或者,於一實施態樣中,本發明可透過在音源輸出裝置中裝設一外掛式特徵值產生單元,並可於音源輸出裝置提供至少一輸出音時 同時提供特徵值,使電子裝置可由輸出音辨識其所屬之音源輸出裝置。Alternatively, in an embodiment, the present invention can provide an external feature value generating unit in the sound source output device, and can provide at least one output sound when the sound source output device provides At the same time, the feature value is provided, so that the electronic device can recognize the sound source output device to which it belongs from the output sound.

以下將針對分析單元12依據一預設分析條件使對應各該至少一輸出音信號分別取得一權重值加以說明。In the following, the analysis unit 12 is configured to obtain a weight value corresponding to each of the at least one output sound signals according to a preset analysis condition.

若分析條件為位置資訊時,其判斷邏輯為當音源接收單元11與至少一音源輸出裝置的距離間隔較大時,至少一音源輸出裝置的輸出音信號取得的權重值較小。反之,當音源接收單元11與至少一音源輸出裝置的距離間隔較小時,至少一音源輸出裝置的輸出音信號取得的權重值較大。舉例而言,預設條件可為參考值(r)與輸出音與電子裝置的距離(d)比值。換言之,權重值的計算方法可由此數學公式所表示:W=r/d,此處的參考值(r)可依據電子裝置1的過濾敏感度加以調整。例如,將參考值設為15公尺(m),當有一個輸出音距離為15公尺時(m),此輸出音的權重值將為1,另一輸出音距離為30公尺,則此另一輸出音的權重值將為0.5。分析單元將可判斷另一輸出音的對於語音品質的影響較低(未達預設權重區間),應先優先排除權重值較高的輸出音。If the analysis condition is position information, the judgment logic is that when the distance between the sound source receiving unit 11 and the at least one sound source output device is large, the weight value obtained by the output sound signal of the at least one sound source output device is small. On the other hand, when the distance between the sound source receiving unit 11 and the at least one sound source output device is small, the weight value obtained by the output sound signal of at least one sound source output device is large. For example, the preset condition may be a reference value (r) and a ratio of the output sound to the distance (d) of the electronic device. In other words, the calculation method of the weight value can be expressed by the mathematical formula: W=r/d, where the reference value (r) can be adjusted according to the filtering sensitivity of the electronic device 1. For example, if the reference value is set to 15 meters (m), when there is one output sound distance of 15 meters (m), the weight of this output sound will be 1 and the distance of the other output sound will be 30 meters. The weight of this other output tone will be 0.5. The analysis unit will judge that the influence of the other output tone on the speech quality is low (not up to the preset weight interval), and the output tone with a higher weight value should be preferentially excluded first.

此外,更可有一實施態樣,可透過分析單元12增加時間資訊及/或位置資訊的條件經計算後再產生各輸出音的權重值。當電子裝置1的音源接收單元11接收到音源輸出裝置所提供的複數個輸出音,分析單元將會判斷產生時間較近的輸出音,例如在判斷前40毫秒(ms)的輸出音方列入分析計算,判斷完時間後再判斷輸出音距離,例如僅針對距離70公尺以內的輸出音加以分析計算,接著再將判斷後的該些輸出音計算權重值。換言之,此處將透過兩個以上的判斷機制計算輸出音的權重值。In addition, there may be an implementation manner in which the condition of adding time information and/or position information through the analyzing unit 12 is calculated, and then the weight value of each output sound is generated. When the sound source receiving unit 11 of the electronic device 1 receives the plurality of output sounds provided by the sound source output device, the analyzing unit will determine the output sounds that are generated at a relatively short time, for example, the output sounds of the first 40 milliseconds (ms) are included in the judgment. Analyze and calculate, judge the output sound distance after judging the time, for example, analyze and calculate only the output sound within 70 meters, and then calculate the weights of the determined output sounds. In other words, the weight value of the output sound will be calculated here by more than two judgment mechanisms.

此種作法為透過增加時間資訊及或距離資訊此些條件先對非即時、距離較遠的背景音篩選後,先行把影響語音品質較不顯著的輸出音加以排除後,再依據位置資訊進行權重計算,可更有效的針對背景音中具有特徵值的輸出音加以分組及計算輸出音的權重值,有效地提昇整體的語音品質。In this way, by filtering the background sounds that are not instantaneous and far away by adding time information and or distance information, the output sounds that affect the speech quality are not excluded, and then the weights are determined according to the location information. The calculation can more effectively group the output tones with the characteristic values in the background sound and calculate the weight values of the output sounds, thereby effectively improving the overall speech quality.

雖僅舉例權重值為位置資訊、時間資訊的計算方式,但權重值的計算不以此資訊為限,其他實施態樣的權重值更可涵蓋音頻訊息。Although only the weight value is the calculation method of the position information and the time information, the calculation of the weight value is not limited to this information, and the weight value of other embodiments may cover the audio message.

當應用於具有複數個輸出音的情況下,分析單元12可將各 輸出音加以計算權重,並分析各該輸出音是否應從背景音中分離。以下將針對電子裝置1與複數個音源輸出裝置應用的情形加以說明。When applied to have a plurality of output tones, the analysis unit 12 can The output tone is calculated to calculate the weight and analyze whether each of the output tones should be separated from the background sound. The case where the electronic device 1 and a plurality of sound source output devices are applied will be described below.

當本發明的電子裝置1搭配二個音源輸出裝置(第一音源輸出裝置及第二音源輸出裝置)時,第一音源輸出裝置提供一第一輸出音,第二音源輸出裝置提供一第二輸出音,相似地,音源接收單元11會將第一輸出音及第二輸出音轉換成第一輸出音信號、第二輸出音信號。其中各輸出音信號具有對應各輸出音的特徵值。When the electronic device 1 of the present invention is combined with two sound source output devices (the first sound source output device and the second sound source output device), the first sound source output device provides a first output sound, and the second sound source output device provides a second output. Similarly, the sound source receiving unit 11 converts the first output sound and the second output sound into a first output sound signal and a second output sound signal. Each of the output sound signals has a characteristic value corresponding to each output sound.

此時,分析單元12藉由特徵值對照表辨識對應第一輸出音信號及第二輸出音信號所屬的各至少一音源輸出裝置。再依據預設分析條件使第一輸出音信號與該第二輸出音信號分別取得一第一權重值及一第二權重值。接著,過濾單元13會再依據預設權重區間篩選第一權重值及第二權重值,並將未達預設權重區間的該些輸出音信號(第一輸出音信號或第二輸出音號)從該背景音信號中分離,形成過濾音信號。At this time, the analyzing unit 12 identifies each of the at least one sound source output device corresponding to the first output sound signal and the second output sound signal by using the feature value comparison table. And the first output sound signal and the second output sound signal respectively obtain a first weight value and a second weight value according to the preset analysis condition. Then, the filtering unit 13 further filters the first weight value and the second weight value according to the preset weight interval, and the output sound signals (the first output sound signal or the second output sound signal) that do not reach the preset weight interval. Separating from the background sound signal forms a filtered sound signal.

補充說明的是,當背景音具有複數個輸出音信號時,亦可設定權重值低於一最低權重值時,判斷此輸出音將不會影響語音品質,故不需要排除。故不需限定每個具有特徵值的輸出音計算完權重值後皆會被直接排除。It should be added that when the background sound has a plurality of output sound signals, and the weight value is also lower than a minimum weight value, it is judged that the output sound will not affect the voice quality, so it is not necessary to exclude. Therefore, it is not necessary to limit the output tone of each feature value to be directly excluded after calculating the weight value.

請一併參考圖1及圖2,圖2為本發明過濾背景音的方法的流程圖。Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a flowchart of a method for filtering background sound according to the present invention.

本發明的過濾背景音的方法,用於電子裝置1(可用於例如圖1所述的電子裝置1),且電子裝置1搭配至少一音源輸出裝置,且音源輸出裝置提供至少一輸出音,其中輸出音具有特徵值。The method for filtering the background sound of the present invention is used in an electronic device 1 (which can be used, for example, in the electronic device 1 described in FIG. 1), and the electronic device 1 is coupled with at least one sound source output device, and the sound source output device provides at least one output sound, wherein The output tone has a feature value.

本發明的步驟至少包括:首先,接收複數個背景音,其中複數個背景音包括音源輸出裝置提供的輸出音(步驟S1)。接著,轉換該些背景音為複數個背景音信號,該些背景音信號至少包括輸出音對應轉換的輸出音信號,其中各輸出音信號具有對應各輸出音的特徵值(步驟S2)。辨識對應各輸出音信號的各音源輸出裝置,並依據預設分析條件使分析單元12對應各輸出音信號分別取得一權重值。(步驟S3)。接著,依據一預設權重區間篩選各至少一輸出音信號的權重值,將未達預設權重區間的至少一 輸出音信號從背景音信號中分離,並形成一過濾音信號。(步驟S4)最後,傳送過濾輸出音信號(步驟S5)。The steps of the present invention include at least: first, receiving a plurality of background sounds, wherein the plurality of background sounds comprise output sounds provided by the sound source output device (step S1). Then, the background sounds are converted into a plurality of background sound signals, and the background sound signals include at least output sound signals corresponding to the output sounds, wherein each of the output sound signals has a feature value corresponding to each output sound (step S2). Each of the sound source output devices corresponding to each of the output sound signals is identified, and the analysis unit 12 respectively obtains a weight value corresponding to each of the output sound signals according to the preset analysis condition. (Step S3). Then, the weight value of each of the at least one output sound signal is filtered according to a preset weight interval, and at least one of the preset weight intervals is not reached. The output tone signal is separated from the background tone signal and forms a filtered tone signal. (Step S4) Finally, the filtered output sound signal is transmitted (step S5).

而當本發明的電子裝置搭配二個音源輸出裝置時,且二個音源輸出裝置分別為第一音源輸出裝置及第二音源輸出裝置,並分別提供具有第一特徵值的第一輸出音及具有第二特徵值的第二輸出音。When the electronic device of the present invention is combined with two sound source output devices, the two sound source output devices are respectively a first sound source output device and a second sound source output device, and respectively provide a first output sound having a first characteristic value and having The second output sound of the second eigenvalue.

本發明的方法步驟S3、S4將調整為:將第一輸出音及第二輸出音轉換為第一輸出音信號及第二輸出音信號,其中各輸出音信號具有對應各輸出音的特徵值。接著,辨識對應第一輸出音信號及第二輸出音信號所屬的各至少一音源輸出裝置,並依據預設分析條件使分析單元12對應第一輸出音信號與第二輸出音信號分別取得第一權重值及第二權重值。並依據預設權重區間篩選第一權重值及第二權重值,將未達預設權重區間的第一輸出音信號及第二輸出音信號從背景音信號中分離以形成過濾音源信號。The method steps S3, S4 of the present invention are adjusted to convert the first output sound and the second output sound into a first output sound signal and a second output sound signal, wherein each of the output sound signals has a characteristic value corresponding to each output sound. Then, each of the at least one sound source output device corresponding to the first output sound signal and the second output sound signal is identified, and the first output sound signal and the second output sound signal are respectively obtained by the analyzing unit 12 according to the preset analysis condition. The weight value and the second weight value. And filtering the first weight value and the second weight value according to the preset weight interval, and separating the first output sound signal and the second output sound signal that are not up to the preset weight interval from the background sound signal to form a filtered sound source signal.

其中產生權重值的方法可為前述實施例所述透過分析單元12,但不以前述實施例為限。The method for generating the weight value may be the transmission analysis unit 12 as described in the foregoing embodiment, but is not limited to the foregoing embodiment.

綜上所述,本發明的具有過濾背影音功能的電子裝置及方法透過搭配輸出音具有特徵值的音源輸出裝置,可直接將具有特徵值的輸出音從背景音(背景雜訊)中去除,故不需要設置複數個音源接收單元(例如麥克風)即可達到有效的過濾背景音並提昇語音通訊的品質的目的。In summary, the electronic device and method with the function of filtering the back sound of the present invention can directly remove the output sound having the characteristic value from the background sound (background noise) by using the sound source output device with the characteristic value of the output sound. Therefore, it is not necessary to set a plurality of sound source receiving units (for example, a microphone) to achieve effective filtering of background sounds and improve the quality of voice communication.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

S1~S5‧‧‧方法步驟S1~S5‧‧‧ method steps

Claims (10)

一種具有過濾背景音功能的電子裝置,搭配至少一音源輸出裝置,且該至少一音源輸出裝置提供至少一輸出音,其中各該至少一輸出音具有一特徵值,該電子裝置包括:一音源接收單元,接收複數個背景音,且該些背景音包括該至少一音源輸出裝置所提供的該至少一輸出音,該音源接收單元將該些背景音對應轉換成複數個背景音信號,其中該些背景音信號至少包括該至少一輸出音對應轉換的至少一輸出音信號,各該至少一輸出音信號具有對應各該至少一輸出音的該特徵值;一分析單元,耦接於該音源接收單元,該分析單元包括一特徵值對照表,該特徵值對照表具有複數音源輸出裝置的特徵值,用以辨識對應各該至少一輸出音信號的各該至少一音源輸出裝置,該分析單元再依據一預設分析條件使對應各該至少一輸出音信號分別取得一權重值;一過濾單元,耦接於該分析單元,該過濾單元接收取得該權重值的該些背景音信號,再依據一預設權重區間篩選各該至少一輸出音信號的該權重值,將未達該預設權重區間的該至少一輸出音信號從該背景音信號中分離,形成一過濾音信號;以及一音源傳送單元,傳送該過濾音信號。An electronic device having a function of filtering a background sound, and at least one sound source output device, wherein the at least one sound source output device provides at least one output sound, wherein each of the at least one output sound has a characteristic value, and the electronic device comprises: a sound source receiving The unit receives a plurality of background sounds, and the background sounds include the at least one output sound provided by the at least one sound source output device, and the sound source receiving unit converts the background sounds into a plurality of background sound signals, wherein the The background sound signal includes at least one output sound signal corresponding to the conversion of the at least one output sound, each of the at least one output sound signal having the characteristic value corresponding to each of the at least one output sound; and an analyzing unit coupled to the sound source receiving unit The analysis unit includes a feature value comparison table, the feature value comparison table has a feature value of the complex sound source output device, and is configured to identify each of the at least one sound source output device corresponding to each of the at least one output sound signal, and the analysis unit is further based on a preset analysis condition for respectively obtaining a weight value corresponding to each of the at least one output sound signals; And the filtering unit is configured to receive the background sound signals that obtain the weight value, and then filter the weight value of each of the at least one output sound signal according to a preset weight interval, and the preset is not reached. The at least one output sound signal of the weight interval is separated from the background sound signal to form a filtered sound signal; and a sound source transmitting unit transmits the filtered sound signal. 如申請專利範圍第1項所述的電子裝置,其中該預設分析條件至少包括音頻訊息、位置訊息以及時間訊息。The electronic device of claim 1, wherein the preset analysis condition comprises at least an audio message, a location message, and a time message. 如申請專利範圍第2項所述的電子裝置,其中當該音源接收單元與該至少一音源輸出裝置的一距離間隔較大時,該至少一音源輸出裝置的該輸出音信號取得的該權重值較小,當該音源接收單元與該至少一音源輸出裝置的該距離間隔較小時,該至少一音源輸出裝置的該輸出音信號取得的該權重值較大。The electronic device of claim 2, wherein when the distance between the sound source receiving unit and the at least one sound source output device is larger, the weight value obtained by the output sound signal of the at least one sound source output device Smaller, when the distance between the sound source receiving unit and the at least one sound source output device is smaller, the weight value obtained by the output sound signal of the at least one sound source output device is larger. 如申請專利範圍第1項所述的電子裝置,其中該至少一音源輸出裝置為一第一音源輸出裝置及一第二音源輸出裝置,該第一音源輸出裝置提供具有一第一特徵值的一第一輸出音,該第二音源輸出裝置提供具有 一第二特徵值的一第二輸出音,該音源接收單元將該第一輸出音及該第二輸出音對應轉換為一第一輸出音信號及一第二輸出音信號,其中各該輸出音信號具有對應各該輸出音的該特徵值,藉由該特徵值對照表辨識對應該第一輸出音信號及該第二輸出音信號的各該至少一音源輸出裝置,分析單元再依據該預設分析條件使對應該第一輸出音信號與該第二輸出音信號分別取得一第一權重值及一第二權重值,接著,該過濾單元依據該預設權重區間篩選該第一權重值及該第二權重值,將未達該預設權重區間的該第一輸出音信號或該第二輸出音信號從該背景音信號中分離,形成一過濾音信號,再由該音源傳送單元傳送該過濾音信號。The electronic device of claim 1, wherein the at least one sound source output device is a first sound source output device and a second sound source output device, wherein the first sound source output device provides a first feature value a first output sound, the second sound source output device is provided with a second output tone of the second characteristic value, the sound source receiving unit correspondingly converting the first output sound and the second output sound into a first output sound signal and a second output sound signal, wherein each of the output sounds The signal has the characteristic value corresponding to each of the output sounds, and the at least one sound source output device corresponding to the first output sound signal and the second output sound signal is identified by the feature value comparison table, and the analyzing unit is further configured according to the preset The analyzing condition is such that the first output tone signal and the second output tone signal respectively obtain a first weight value and a second weight value, and then the filtering unit filters the first weight value according to the preset weight interval and the a second weight value, the first output sound signal or the second output sound signal that does not reach the preset weight interval is separated from the background sound signal to form a filtered sound signal, and the filtering is transmitted by the sound source transmitting unit Sound signal. 如申請專利範圍第1項所述的電子裝置,其中該過濾單元與該音源接收單元、該分析單元與該音源傳送單元透過電性連接或透過無線傳輸方式連接。The electronic device of claim 1, wherein the filter unit and the sound source receiving unit, the analyzing unit and the sound source transmitting unit are electrically connected or wirelessly connected. 如申請專利範圍第1項所述的電子裝置,其中該電子裝置與該至少一音源輸出裝置為顯示裝置、播放裝置、平板電腦、桌上型電腦或行動通訊裝置。The electronic device of claim 1, wherein the electronic device and the at least one sound source output device are a display device, a playback device, a tablet computer, a desktop computer or a mobile communication device. 一種過濾背景音的方法,用於一具有過濾背景音功能的電子裝置,且該電子裝置搭配至少一音源輸出裝置,且該至少一音源輸出裝置提供至少一輸出音,其中各該至少一輸出音源具有一特徵值,該方法包括下列步驟:接收複數個背景音,其中該些背景音包括該至少一音源輸出裝置所提供的該至少一輸出音;轉換該些背景音為複數個背景音信號,該些背景音信號至少包括該至少一輸出音對應轉換的至少一輸出音信號,其中各該至少一輸出音信號具有對應各該至少一輸出音的該特徵值;辨識對應各該至少一輸出音信號的各該至少一音源輸出裝置,並依據一預設分析條件使該分析單元對應各該至少一輸出音信號分別取得一權重值; 依據一預設權重區間篩選各該至少一輸出音信號的該權重值,將未達該預設權重區間的該至少一輸出音信號從該背景音信號中分離,並形成一過濾音信號;以及傳送該過濾音信號。A method for filtering a background sound, the electronic device having a function of filtering a background sound, wherein the electronic device is combined with at least one sound source output device, and the at least one sound source output device provides at least one output sound, wherein each of the at least one output sound source Having a feature value, the method includes the steps of: receiving a plurality of background sounds, wherein the background sounds comprise the at least one output sound provided by the at least one sound source output device; converting the background sounds into a plurality of background sound signals, The background sound signals include at least one output sound signal corresponding to the conversion of the at least one output sound, wherein each of the at least one output sound signal has the characteristic value corresponding to each of the at least one output sound; and the identification corresponds to each of the at least one output sound Each of the at least one sound source output device of the signal, and the analysis unit respectively obtains a weight value corresponding to each of the at least one output sound signal according to a preset analysis condition; And filtering the weight value of each of the at least one output sound signal according to a preset weight interval, and separating the at least one output sound signal that does not reach the preset weight interval from the background sound signal, and forming a filtered sound signal; The filtered tone signal is transmitted. 如申請專利範圍第7項所述的方法,其中該至少一音源輸出裝置為一第一音源輸出裝置及一第二音源輸出裝置,該第一音源輸出裝置提供具有一第一特徵值的一第一輸出音,該第二音源輸出裝置提供具有一第二特徵值的一第二輸出音,該步驟包括:將該第一輸出音及該第二輸出音轉換為一第一輸出音信號及一第二輸出音信號,其中各該輸出音信號具有對應各該輸出音的該特徵值;辨識對應該第一輸出音信號及該第二輸出音信號的各該至少一音源輸出裝置,並依據該預設分析條件使分析單元對應該第一輸出音信號與該第二輸出音信號分別取得一第一權重值及一第二權重值;依據該預設權重區間篩選該第一權重值及該第二權重值,將未達該預設權重區間的該第一輸出音信號及該第二輸出音信號從該背景音信號中分離以形成該過濾音源信號。The method of claim 7, wherein the at least one sound source output device is a first sound source output device and a second sound source output device, the first sound source output device providing a first feature value An output sound, the second sound output device provides a second output sound having a second characteristic value, the step comprising: converting the first output sound and the second output sound into a first output sound signal and a a second output sound signal, wherein each of the output sound signals has the feature value corresponding to each of the output sounds; and each of the at least one sound source output device corresponding to the first output sound signal and the second output sound signal is identified, and Presetting the analysis condition, so that the analyzing unit respectively obtains a first weight value and a second weight value corresponding to the first output sound signal and the second output sound signal; and screening the first weight value and the first according to the preset weight interval And a second weight value, the first output sound signal and the second output sound signal that are not up to the preset weight interval are separated from the background sound signal to form the filtered sound source signal. 如申請專利範圍第8項所述的方法,其中該預設分析條件至少包括音頻訊息、位置訊息以及時間訊息。The method of claim 8, wherein the preset analysis condition comprises at least an audio message, a location message, and a time message. 如申請專利範圍第7項所述的方法,其中該電子裝置及該至少一音源輸出裝置為顯示裝置、播放裝置、平板電腦、桌上型電腦或行動通訊裝置。The method of claim 7, wherein the electronic device and the at least one sound source output device are a display device, a playback device, a tablet computer, a desktop computer or a mobile communication device.
TW102132463A 2013-09-09 2013-09-09 Electric device with environment sound filtering function and method for filtering environment sound TWI498884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102132463A TWI498884B (en) 2013-09-09 2013-09-09 Electric device with environment sound filtering function and method for filtering environment sound

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102132463A TWI498884B (en) 2013-09-09 2013-09-09 Electric device with environment sound filtering function and method for filtering environment sound

Publications (2)

Publication Number Publication Date
TW201510988A TW201510988A (en) 2015-03-16
TWI498884B true TWI498884B (en) 2015-09-01

Family

ID=53186803

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102132463A TWI498884B (en) 2013-09-09 2013-09-09 Electric device with environment sound filtering function and method for filtering environment sound

Country Status (1)

Country Link
TW (1) TWI498884B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426465B2 (en) * 1999-07-28 2008-09-16 Nec Corporation Speech signal decoding method and apparatus using decoded information smoothed to produce reconstructed speech signal to enhanced quality
TW201212007A (en) * 2010-09-06 2012-03-16 Byd Co Ltd Method and device of eliminating background noises for speech sounds (2)
WO2012109384A1 (en) * 2011-02-10 2012-08-16 Dolby Laboratories Licensing Corporation Combined suppression of noise and out - of - location signals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426465B2 (en) * 1999-07-28 2008-09-16 Nec Corporation Speech signal decoding method and apparatus using decoded information smoothed to produce reconstructed speech signal to enhanced quality
TW201212007A (en) * 2010-09-06 2012-03-16 Byd Co Ltd Method and device of eliminating background noises for speech sounds (2)
WO2012109384A1 (en) * 2011-02-10 2012-08-16 Dolby Laboratories Licensing Corporation Combined suppression of noise and out - of - location signals

Also Published As

Publication number Publication date
TW201510988A (en) 2015-03-16

Similar Documents

Publication Publication Date Title
US10924614B2 (en) Speech signal processing method and apparatus
US11941968B2 (en) Systems and methods for identifying an acoustic source based on observed sound
US20230352038A1 (en) Voice activation detecting method of earphones, earphones and storage medium
US20150172815A1 (en) Systems and methods for feedback detection
CN102124758A (en) Hearing aid, hearing assistance system, walking detection method, and hearing assistance method
CN106535027A (en) Device for monitoring noise-canceling effect of noise-canceling headset and active noise-canceling headset capable of adjusting noise-canceling effect
CN112992169A (en) Voice signal acquisition method and device, electronic equipment and storage medium
WO2012151997A1 (en) Call voice recording method and device for mobile terminal and mobile terminal
CN109493877A (en) A kind of sound enhancement method and device of auditory prosthesis
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
JP2012191293A (en) Hearing aid adjustment device
CN114125639A (en) Audio signal processing method and device and electronic equipment
TWI573133B (en) Audio signal processing system and method
JP2016042613A (en) Target speech section detector, target speech section detection method, target speech section detection program, audio signal processing device and server
CN113949955A (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
JP3233390U (en) Notification device and wearable device
TWI441169B (en) Electrical apparatus and voice signals receiving method thereof
TWI498884B (en) Electric device with environment sound filtering function and method for filtering environment sound
CN103594091A (en) Mobile terminal and voice signal processing method thereof
CN113808566B (en) Vibration noise processing method and device, electronic equipment and storage medium
US11562763B2 (en) Method for improving sound quality and electronic device using same
CN213186560U (en) Audio test system
WO2022041485A1 (en) Method for processing audio signal, electronic device and storage medium
US10867619B1 (en) User voice detection based on acoustic near field
CN108777144B (en) Sound wave instruction identification method, device, circuit and remote controller