TWI307249B - Method and sound output device for protecting hearing - Google Patents

Method and sound output device for protecting hearing Download PDF

Info

Publication number
TWI307249B
TWI307249B TW95114441A TW95114441A TWI307249B TW I307249 B TWI307249 B TW I307249B TW 95114441 A TW95114441 A TW 95114441A TW 95114441 A TW95114441 A TW 95114441A TW I307249 B TWI307249 B TW I307249B
Authority
TW
Taiwan
Prior art keywords
sound
value
energy value
signal
hearing
Prior art date
Application number
TW95114441A
Other languages
Chinese (zh)
Other versions
TW200742479A (en
Inventor
Bing Li
Xiao-Guang Li
Wen Sheng Tsai
Kuan Hong Hsieh
Original Assignee
Hon Hai Prec Ind Co 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW95114441A priority Critical patent/TWI307249B/en
Publication of TW200742479A publication Critical patent/TW200742479A/en
Application granted granted Critical
Publication of TWI307249B publication Critical patent/TWI307249B/en

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)

Description

1307249 九、發明說明: - 【發明所屬之技術領域】 . 本發明涉及一種控制音量的方法及聲音輸出裝置’尤 其涉及一種根據環境音控制音量的方法及聲音輸出裝置。 【先前技術】 隨著數位產品的發展,手持播放設備(例如MP3、MP4) 得到廣泛應用。在噪音比較大的環境中,用戶為了能夠聽 到渴望的音頻訊號,就會隨著環境音的增大而不斷地增大 1 音量。然而,用戶都存在一聽力生理極限,即響度不適級 (Loudness Discomfort Level, LDL),如果用戶的耳朵長時間 暴露在超過該響度不適級的環境下,則會對該用戶的聽力 造成傷害。 為了解決該問題,市場上出現了一種音量控制裝置及 方法,該音量控制裝置提供一音量設定表,該音量設定表 列出了各噪音值對應的增益值。該音量控制裝置首先感應 _ 5 4卞曰’並计算一預設時間段内該外部嗓音的嗓音水 平二然後在該音量設定表中讀取該噪音水平對應的一預設 增益值,並根據該預設增益值調節音眚。卽使得該音量控1307249 IX. Description of the Invention: - Technical Field of the Invention The present invention relates to a method of controlling volume and a sound output device', and more particularly to a method and a sound output device for controlling volume according to ambient sound. [Prior Art] With the development of digital products, handheld playback devices (such as MP3, MP4) have been widely used. In a relatively noisy environment, in order to be able to hear the desired audio signal, the user will continuously increase the volume as the ambient sound increases. However, the user has a hearing physiological limit, the Loudness Discomfort Level (LDL), which can cause damage to the user's hearing if the user's ear is exposed to an environment that exceeds the loudness for a long time. In order to solve this problem, a volume control device and method have appeared on the market, and the volume control device provides a volume setting table which lists the gain values corresponding to the respective noise values. The volume control device first senses _ 5 4卞曰' and calculates the arpeggio level 2 of the external arpeggio within a preset time period, and then reads a preset gain value corresponding to the noise level in the volume setting table, and according to the The preset gain value adjusts the pitch.卽 Make this volume control

使得用戶在欣賞音樂或收聽廣播時 〜义调《笨首的音量將使寺 感Allowing the user to listen to music or listen to the radio ~ 义 "The volume of the stupid head will make the temple feel

振斗日珂腮刀的傷害。 1307249 【發明内容】 有錯於此,有必要提供一種保護聽力的聲音輸出裝 置’當〜預設時間段内的聲音能量值達到一預定值時’調 小當前的音量,從而保護聽力。該聲音輸出裝置包括一介 面單元、一音量管理單元、一聲音傳感器、一環境音偵測 裝置、〜第一類比數位轉換器及一第二類比數位轉換器。 該介面單元接收一聲音訊號源輸出的類比聲音訊號。該聲 音傳感器輪出該類比聲音訊號對應的聲音。該環境音偵測 裝置’用於偵測環境音並生成類比環境音訊號。第一類比 轉換器將該類比環境音訊號轉換成數位環境音訊號。 數位轉換器將從該介面單元接收的類比聲音訊號 轉換成數仇聲音訊號。該音量管理單元包括一取樣模組, 、卜預定的取樣頻率對該介面單元接收的數位聲音訊號 進行取樣’獲取複數振幅值;一計算模組,將該複數振幅 值作為一參數計算一預設時間段内的聲音能量值;一基準 調整模鈿 , 、、、’根據該數位環境音訊號計算該環境音的音量 、、、,當該聲音能量值達到該參考能量值時,產生一 I力保護訊號。 ,根據·環境音的音纽獲得-參考能量值;及力 保護模組,者# & & 曰& ^ 有t於此’還有必要提供一種保講艟六的方法,者一The damage of the vibrating sun knives. 1307249 SUMMARY OF THE INVENTION In view of this, it is necessary to provide a sound output device for protecting hearing. When the sound energy value in the preset time period reaches a predetermined value, the current volume is adjusted to protect the hearing. The sound output device comprises a interface unit, a volume management unit, an acoustic sensor, an ambient sound detecting device, a first analog digital converter and a second analog digital converter. The interface unit receives an analog sound signal output by an audio signal source. The sound sensor rotates the sound corresponding to the analog sound signal. The ambient sound detecting device 'is used to detect ambient sounds and generate analog environmental sound signals. The first analog converter converts the analog ambient audio signal into a digital ambient audio signal. The digital converter converts the analog audio signal received from the interface unit into a digital echo signal. The volume management unit includes a sampling module, and the predetermined sampling frequency samples the digital sound signal received by the interface unit to obtain a complex amplitude value; a computing module calculates the complex amplitude value as a parameter and presets a sound energy value in a time period; a reference adjustment mode, , , , 'calculating the volume of the ambient sound according to the digital ambient sound signal, and, when the sound energy value reaches the reference energy value, generating a I force Protection signal. According to the sound of the environmental sound - reference energy value; and force protection module, #####################################################

里值’接收一屬 I、力。該保護聽力的方法包括下列步驟:偵 量級;根據該環境音的音量級獲得一參考能 聲音訊號源輪出的類比聲音訊號;將該類比 8 ⑧ 1307249 聲音訊號轉換成數位聲音訊號;採用一預定的取樣頻率對 該數位聲音訊號進行取樣,獲取複數振幅值;將該複數振 幅值作為一參數計算一預設時間段内的聲音能量值;及當 該聲音能量值達到該參考能量值時,產生一聽力保護訊號。 相較於現有技術,應用該保護聽力的方法及聲音輸出 裝置,獲得環境音的音量級,並根據該環境音的音量級獲 得一參考能量值,當前輸出的音頻訊號的實際聲音能量值 大於該參考能量值時,才調低當前增益值或發出一視覺或 聽覺的警示訊號。使得既能夠保護用戶耳朵免受傷害,又 能夠使得用戶在環境音較大時仍能夠在適當的音量級下欣 賞音樂。下面將結合附圖對本發明的實施方式進行說明。 【實施方式】 圖1是本發明的實施方式中保護聽力的聲音輸出裝置 的架構圖。該聲音輸出裝置10包括一介面單元12、一聽 力保護系統13及一聲音傳感器14。該聲音輸出裝置10通 過該介面單元12接收一聲音訊號源11輸出的類比聲音訊 號。該聲音訊號源11可為音頻再現裝置、無線訊號播放裝 置或電視機等。 該聽力保護系統13接收該類比聲音訊號並計算該類 比聲音訊號的聲音能量值;當該聲音能量值達到一參考能 量值K時,自動調低當前增益值,或產生視覺/聽覺的警示 訊號提醒用戶手動調低當前增益值。該聲音傳感器14可為 一耳機或一揚聲器,其輸出該類比聲音訊號對應的聲音。 該參考能量值為用戶耳朵能夠承受的最大聲音能量值,其 1307249 可由用戶手動設定,或由設計人員預先設定。 圖2是本發明的第一實施方式中保護聽力的聲音輸出 裝置的方塊圖。該聽力保護系統13包括一第一類比數位轉 換器15、一處理單元16、一增益控制單元18、一麥克風 19、一第二類比數位轉換器20及一存儲單元21。該處理 單元16包括一音量管理單元17。該存儲單元21存儲有一 預設音量級、一能量值基準及該增益控制單元18的當前增 益值。麥克風19實時地感應環境音並生成類比環境音訊 號。該類比數位轉換器20將該類比環境音訊號轉換為數位 環境音訊號。 請一並參考圖3,該音量管理單元17包括一基準調整 模組174,根據該數位環境音訊號計算該環境音的音量級, 根據該環境音的音量級獲得該參考能量值。 獲得該參考能量值K的方法具體可為,計算出該數位 環境音訊號的音量級相較於預設音量級的變化率,然後根 據該變化率及該存儲單元21中存儲的能量值基準,生成參 考能量值K。該參考能量值隨著環境音的增減而適當地增 減,使得噪音較小的環境下,輸出聲音的最大音量稍微小 些;而使得噪音較大的環境下,輸出聲音的最大音量稍微 大些,從而既能保護用戶聽力又使得用戶能夠聽清該聲音。 同時,該第二類比數位轉換器15將通過該介面單元 12接收的類比聲音訊號轉換成數位聲音訊號。該音量管理 單元17還包括一取樣模組170,採用一預定的取樣頻率f 對該數位聲音訊號進行取樣,獲取複數振幅值mi,並將該 1307249 複數振幅值存儲於該存儲單元21 ; —增益獲取模組171, " 獲得該增益控制單元18的當前增益值V;—計算模組172, - 將該複數振幅值mi及該當前增益值V作為參數,應用一 數學算法計算一預設時間段T内的聲音能量值Q ;及一聽 力保護模組173,當該聲音能量值Q達到該參考能量值K 時,向該增益控制單元18發送一聽力保護訊號。 計算該聲音能量值的數學算法可為:Q = {[Σ( mi * V)2/N]1/2}*T(其中,i從1到N),Q表示該聲音能量值, T表示該預設時間段,N表示該預設時間段T内獲取該數 位聲音訊號的振幅值mi的數目,V表示當前增益值。 該增益控制單元18響應該聽力保護訊號自動調低增 益值,並根據調低後的增益值放大通過該介面單元12接收 的類比聲音訊號。調低增益值的方法可為一次性大幅度地 調低到適當的增益值,也可小幅度地逐步調整,直到該實 際聲音能量值不大於該參考能量值為止。 > 為了補償不同用戶聽覺靈敏度的差異,本實施方式也 可允許用戶手動調整或選擇該能量值基準。例如,如果用 戶的聽覺靈敏度較低,便可以將該能量值基準調高些;而 如果用戶的聽覺靈敏度較高,便可以將該能量值基準調低 些0 圖4是本發明的第一實施方式中保護聽力的方法的流 程圖。該第二類比數位轉換器15將通過該介面單元12接 收的類比聲音訊號轉換成數位聲音訊號(步驟S30)。該音量 管理單元17採用上述預定的取樣頻率f,對該數位聲音訊 11 機 1307249 2進仃轉,麟倾振幅值mi,並將該減振幅值存儲 二〜存儲單元21(步驟S31);獲得該增益控制單元18的當 二,益值V(步驟S32);然後將該複數振幅值mi及該當前 «|俊V作為參數’應用上述數學算法計算該預設時間段 T内的聲音能量值Q(步驟S33)。 同時’該麥克風19感應環境音並生成類比環境音訊號 步驟S34)。該類比數位轉換器2〇將該類比環境音訊號轉 換為數位環境音訊號(步驟S35)。該音量管理單元17計算 出該數位環境音訊號的音量級(步驟S36),並計算出該數位 環境音訊號的音量級相較於一預設音量級的變化率(步驟 S37) ’然後根據該變化率及一預設能量值,生成一參考能 量值K(步驟S38)。 接著,該音量管理單元17判斷該聲音能量值Q是否達 到該參考能量值K(步驟S39);當該聲音能量值Q未達到該 參考能量值K時,流程轉到步驟S30 ;而當該聲音能量值 > Q達到該參考能量值K時,該音量管理單元17發送一聽力 保護訊號(步驟S40)。該增益控制單元18響應該聽力保護 訊號從而自動調低增益值’並根據調低後的增益值放大通 過該介面單元接收的類比聲音訊號(步驟S41)’然後流程返 回步驟S30。 上述保護聽力的流程在聲音輸出裝置10停止工作時 結束’例如該聲音訊號源11關閉,或聲音輸出裝置斷 開與聲音訊號源Π的電連接。 圖5是本發明的第二實施方式中保護聽力的聲音輸出 12 ⑧ 1307249 裝置的模組圖。該第二實施方式與第一實施方式的不同在 ' 於,該存儲單元21存儲有一預設音量級及一對應表,該對 ' 應表中存儲有複數環境音的音量級及其對應的參考能量值 K;該增益控制單元18替換為一警示單元51 ;並且該介面 單元12將接收的類比聲音訊號直接輸送到該聲音傳感器 14。另外,該警示單元51接收並響應該音量管理單元17 發送的聽力保護訊號,產生視覺/聽覺的警示訊號,用以提 醒用戶調低當前增益值。該警示單元51可為一發光二極體 (LED, light-emitting diode)、一液晶顯示器(LCD, liquid-crystal display)、一 榮幕顯示單元(OSD,on-screen display)及其他能夠發出視覺警示訊號的裝置;該警示單元 51還可為一聽覺警示裝置如蜂鳴器,用以發出聽覺警示訊 號。 第二實施方式與第一實施方式的不同還在於,該音量 管理單元17計算出該數位環境音訊號的音量級,並從該存 > 儲單元21中讀取該音量級對應的參考能量值K。該音量管 理單元17僅將該複數振幅值mi作為參數,應用另一數學 算法計算一預設時間段T内的聲音能量值Q。當該音量管 理單元17確定該聲音能量值Q達到該參考能量值K時, 向該警示單元51發送一聽力保護訊號。該警示單元51接 收並響應該聽力保護訊號,發出視覺或聽覺的警示訊號, 以提醒用戶調低當前增益值。其中,計算該聲音能量值的 數學算法可為:Q = {[Σ(mi)2/N]l/2}*T(其中,i從l到 N),Q表示該聲音能量值,T表示該預設時間段,N表示 13 1307249 . 該預設時間段T内獲取該數位聲音訊號的振幅值mi的數 目° 圖6是本發明的第二實施方式中保護聽力的方法的流 程圖。該第二類比數位轉換器15將通過該介面單元12接 收的類比聲音訊號轉換成數位聲音訊號(步驟S60)。該音量 官理單元17採用上述預定的取樣頻率f,對該數位聲音訊 號進行取樣,獲得複數振幅值mi ’並將該複數振幅值存儲 _ 於該存儲單元21(步驟S61);然後將該複數振幅值加作為 參數,應用上述數學算法計算一預設時間段T内的聲音能 量值Q(步驟S62)。 同時,該麥克風19感應環境音並生成一類比環境音訊 號(步驟S63)。該類比數位轉換器20將該類比環境音訊號 轉換為數位環境音訊號(步驟S64)。該音量管理單元I?計 算出該數位環境音訊號的音量級(步驟S65)’並從該存儲單 元21中讀取該音量級對應的參考能量值K(步驟S66)。 • 接著,該音量管理單元17判斷該聲音能量值Q是否達 到該參考能量值K(步驟S67);當該聲音能量值Q未達到該 參考能量值K時,流程轉到步驟S60 ;而當該聲音能量值 Q達到該參考能量值K時’該音量管理單元17發送一聽力 保護訊號(步驟S68)。該警示單元18響應該聽力保護訊號 從而輪出提示音,用以提醒用戶調低增益值(步驟S69),然 後流程返回步驟S60。另外,如果該音量管理單元π判斷 用戶在一預設時間段内沒有調低增益值,還可以提高該提 示音的音量及/或該提示音的輸出頻率。 1307249 上述保護聽力的流程在聲音輸出裝置1〇停止工作時 結束’例如該聲音訊號源u _,或聲音輸岭置1〇斷 開與聲音訊號源11的電連接。 綜上所述,本發明所提出的一種保護聽力的方法及聲 音輸出裝置確實可符合發明專利要件,爰依法提出專利申 二。惟,以上所述者僅為本發明的一種保護聽力的方法及 聲音輸出裝置的較佳實施例’舉凡熟悉本案技藝的人士, 在參照本發明精神所作的等效修飾或變化,皆應包含於以 下的申請專利範圍内。 ' 【圖式簡單說明】 圖1是本發明的保護聽力的聲音輸出裝置的架構圖。 圖2是第一實施方式中本發明的保護聽力的聲音輸出 裝置的模組圖。 圖3是第一實施方式中本發明的音量管理單元的模組 圖。 圖4是第一實施方式中本發明的保護聽力的方法的流 程圖。 圖5是第二實施方式中本發明的保護聽力的聲音輸出 裝置的模組圖。 圖6是第二實施方式中本發明的保護聽力的方法的流 程圖。 【主要元件符號說明】 聲音輸出裝置 聲音訊號源 11 Ι3Ό7249The value of 'receives a genus I, force. The method for protecting hearing includes the following steps: detecting a level; obtaining an analog sound signal rotated by a reference sound source source according to a volume level of the ambient sound; converting the analog sound signal into a digital sound signal; The predetermined sampling frequency is used to sample the digital sound signal to obtain a complex amplitude value; the complex amplitude value is used as a parameter to calculate a sound energy value in a predetermined time period; and when the sound energy value reaches the reference energy value, Generate a hearing protection signal. Compared with the prior art, the method for protecting hearing and the sound output device are applied to obtain a volume level of the ambient sound, and a reference energy value is obtained according to the volume level of the ambient sound, and the actual sound energy value of the currently output audio signal is greater than the When the energy value is referenced, the current gain value is lowered or a visual or audible warning signal is issued. This makes it possible to protect the user's ears from harm and to enable the user to enjoy the music at the appropriate volume level when the ambient sound is loud. Embodiments of the present invention will be described below with reference to the accompanying drawings. [Embodiment] FIG. 1 is a block diagram of a sound output device for protecting hearing in an embodiment of the present invention. The sound output device 10 includes an interface unit 12, a hearing protection system 13, and an acoustic sensor 14. The sound output device 10 receives an analog sound signal output from an audio signal source 11 via the interface unit 12. The audio signal source 11 can be an audio reproduction device, a wireless signal playback device, or a television. The hearing protection system 13 receives the analog sound signal and calculates a sound energy value of the analog sound signal; when the sound energy value reaches a reference energy value K, automatically lowers the current gain value or generates a visual/audible warning signal reminder The user manually lowers the current gain value. The sound sensor 14 can be an earphone or a speaker that outputs the sound corresponding to the analog sound signal. The reference energy value is the maximum value of the sound energy that the user's ear can withstand, and its 1307249 can be manually set by the user or preset by the designer. Fig. 2 is a block diagram showing a sound output device for protecting hearing in the first embodiment of the present invention. The hearing protection system 13 includes a first analog-to-digital converter 15, a processing unit 16, a gain control unit 18, a microphone 19, a second analog-to-digital converter 20, and a storage unit 21. The processing unit 16 includes a volume management unit 17. The storage unit 21 stores a preset volume level, an energy value reference, and a current gain value of the gain control unit 18. The microphone 19 senses the ambient sound in real time and generates an analog ambient sound signal. The analog to digital converter 20 converts the analog ambient audio signal into a digital ambient audio signal. Referring to FIG. 3 together, the volume management unit 17 includes a reference adjustment module 174, and calculates a volume level of the ambient sound according to the digital ambient audio signal, and obtains the reference energy value according to the volume level of the ambient sound. The method for obtaining the reference energy value K may be: calculating a rate of change of the volume level of the digital environment sound signal compared to a preset volume level, and then, according to the rate of change and the energy value reference stored in the storage unit 21, A reference energy value K is generated. The reference energy value is appropriately increased or decreased as the ambient sound is increased or decreased, so that the maximum volume of the output sound is slightly smaller in a less noisy environment, and the maximum volume of the output sound is slightly larger in a noisy environment. These can both protect the user's hearing and enable the user to hear the sound. At the same time, the second analog-to-digital converter 15 converts the analog audio signal received through the interface unit 12 into a digital audio signal. The volume management unit 17 further includes a sampling module 170 that samples the digital audio signal by using a predetermined sampling frequency f to obtain a complex amplitude value mi, and stores the 1307249 complex amplitude value in the storage unit 21; Obtaining the module 171, " obtaining the current gain value V of the gain control unit 18; the calculation module 172, using the complex amplitude value mi and the current gain value V as parameters, applying a mathematical algorithm to calculate a preset time The sound energy value Q in the segment T; and a hearing protection module 173, when the sound energy value Q reaches the reference energy value K, sends a hearing protection signal to the gain control unit 18. The mathematical algorithm for calculating the sound energy value can be: Q = {[Σ( mi * V)2/N]1/2}*T (where i is from 1 to N), Q represents the sound energy value, and T represents The preset time period, N, represents the number of amplitude values mi of the digital sound signal obtained in the preset time period T, and V represents the current gain value. The gain control unit 18 automatically lowers the gain value in response to the hearing protection signal, and amplifies the analog sound signal received through the interface unit 12 according to the adjusted gain value. The method of lowering the gain value can be greatly reduced to an appropriate gain value at a time, or can be gradually adjusted step by step until the actual sound energy value is not greater than the reference energy value. > In order to compensate for differences in hearing sensitivity of different users, the present embodiment may also allow the user to manually adjust or select the energy value reference. For example, if the user's hearing sensitivity is low, the energy value reference can be adjusted higher; and if the user's hearing sensitivity is higher, the energy value reference can be lowered to some 0. FIG. 4 is the first embodiment of the present invention. A flow chart of a method of protecting hearing in a manner. The second analog-to-digital converter 15 converts the analog audio signal received through the interface unit 12 into a digital audio signal (step S30). The volume management unit 17 uses the predetermined sampling frequency f, the digital audio signal 1307249 2 is rotated, the tilt amplitude value mi, and the reduced amplitude value is stored in the storage unit 21 (step S31); Obtaining the second value of the gain control unit 18 (step S32); then applying the complex amplitude value mi and the current «|jun V as a parameter to apply the above mathematical algorithm to calculate the sound energy in the preset time period T The value Q (step S33). At the same time, the microphone 19 senses the ambient sound and generates an analog ambient sound signal (S34). The analog-to-digital converter 2 converts the analog environmental audio signal into a digital ambient audio signal (step S35). The volume management unit 17 calculates the volume level of the digital ambient audio signal (step S36), and calculates the rate of change of the volume level of the digital ambient audio signal compared to a preset volume level (step S37). The rate of change and a predetermined energy value generate a reference energy value K (step S38). Next, the volume management unit 17 determines whether the sound energy value Q reaches the reference energy value K (step S39); when the sound energy value Q does not reach the reference energy value K, the flow proceeds to step S30; and when the sound When the energy value > Q reaches the reference energy value K, the volume management unit 17 transmits a hearing protection signal (step S40). The gain control unit 18 automatically lowers the gain value ′ in response to the hearing protection signal and amplifies the analog sound signal received through the interface unit according to the adjusted gain value (step S41)', and the flow returns to step S30. The above-described process for protecting hearing ends when the sound output device 10 stops operating, e.g., the sound source source 11 is turned off, or the sound output device is disconnected from the sound source source. Figure 5 is a block diagram of a device for protecting a hearing sound output 12 8 1307249 in a second embodiment of the present invention. The second embodiment is different from the first embodiment in that the storage unit 21 stores a preset volume level and a correspondence table, and the pair of sound tables of the plurality of ambient sounds and corresponding references are stored in the table. The energy value K; the gain control unit 18 is replaced by an alert unit 51; and the interface unit 12 delivers the received analog sound signal directly to the sound sensor 14. In addition, the alert unit 51 receives and responds to the hearing protection signal sent by the volume management unit 17, and generates a visual/audible alert signal for alerting the user to lower the current gain value. The warning unit 51 can be a light-emitting diode (LED), a liquid crystal display (LCD), an on-screen display (OSD), and the like. The device for alerting the signal; the alert unit 51 can also be an audible alert device such as a buzzer for emitting an audible alert signal. The second embodiment is different from the first embodiment in that the volume management unit 17 calculates the volume level of the digital ambient audio signal, and reads the reference energy value corresponding to the volume level from the storage unit 21. K. The volume management unit 17 uses only the complex amplitude value mi as a parameter, and applies another mathematical algorithm to calculate the sound energy value Q within a predetermined time period T. When the volume management unit 17 determines that the sound energy value Q reaches the reference energy value K, a hearing protection signal is sent to the alert unit 51. The alert unit 51 receives and responds to the hearing protection signal to provide a visual or audible alert signal to alert the user to lower the current gain value. Wherein, the mathematical algorithm for calculating the sound energy value may be: Q = {[Σ(mi)2/N]l/2}*T (where i is from l to N), Q represents the sound energy value, and T represents The preset time period, N represents 13 1307249. The number of amplitude values mi of the digital sound signal is obtained in the preset time period T. FIG. 6 is a flowchart of a method for protecting hearing in the second embodiment of the present invention. The second analog-to-digital converter 15 converts the analog audio signal received through the interface unit 12 into a digital audio signal (step S60). The volume command unit 17 samples the digital sound signal by using the predetermined sampling frequency f to obtain a complex amplitude value mi ' and stores the complex amplitude value in the storage unit 21 (step S61); The amplitude value is added as a parameter, and the above-described mathematical algorithm is applied to calculate the sound energy value Q within a predetermined time period T (step S62). At the same time, the microphone 19 senses the ambient sound and generates an analog ambient sound signal (step S63). The analog to digital converter 20 converts the analog ambient audio signal into a digital ambient audio signal (step S64). The volume management unit I calculates the volume level of the digital ambient audio signal (step S65)' and reads the reference energy value K corresponding to the volume level from the storage unit 21 (step S66). • The volume management unit 17 determines whether the sound energy value Q reaches the reference energy value K (step S67); when the sound energy value Q does not reach the reference energy value K, the flow proceeds to step S60; When the sound energy value Q reaches the reference energy value K, the volume management unit 17 transmits a hearing protection signal (step S68). The alert unit 18 responds to the hearing protection signal to rotate the prompt tone to remind the user to lower the gain value (step S69), and then the flow returns to step S60. In addition, if the volume management unit π determines that the user has not lowered the gain value for a predetermined period of time, the volume of the prompt sound and/or the output frequency of the prompt tone may be increased. 1307249 The above-described process for protecting hearing ends when the sound output device 1 is stopped, for example, the sound source source u_, or the sound source is turned off, and the electrical connection with the sound signal source 11 is turned off. In summary, the method for protecting hearing and the sound output device proposed by the present invention can indeed meet the requirements of the invention patent, and the patent application is filed according to law. However, the above description is only a preferred embodiment of the method for protecting hearing and the sound output device of the present invention. Those skilled in the art will be able to include equivalent modifications or variations in the spirit of the present invention. The following patents are included. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a hearing-improving sound output device of the present invention. Fig. 2 is a block diagram showing a hearing-improving sound output device of the present invention in the first embodiment. Fig. 3 is a block diagram of the volume management unit of the present invention in the first embodiment. Fig. 4 is a flow chart showing a method of protecting hearing of the present invention in the first embodiment. Fig. 5 is a block diagram showing a hearing-improving sound output device of the present invention in the second embodiment. Fig. 6 is a flow chart showing a method of protecting hearing of the present invention in the second embodiment. [Main component symbol description] Sound output device Sound signal source 11 Ι3Ό7249

介面單元 12 聽力保護系統 13 聲音傳感器 14 第二類比數位轉換器 15 音量管理單元 16 處理單元 17 增益控制單元 18 環境音偵測裝置 19 第一類比數位轉換器 20 存儲單元 21 取樣模組 170 增益獲取模組 171 計算模組 172 聽力保護模組 173 基準調整模組 174 警不早兀 51Interface unit 12 Hearing protection system 13 Sound sensor 14 Second analog digital converter 15 Volume management unit 16 Processing unit 17 Gain control unit 18 Ambient sound detection device 19 First analog digital converter 20 Storage unit 21 Sampling module 170 Gain acquisition Module 171 calculation module 172 hearing protection module 173 reference adjustment module 174

Claims (1)

1307249 十、申請專利範圍: 1· 一種保護聽力的聲音輸出裝置’其包括一介面單元,接 - 收一聲音訊號源輸出的類比聲音訊號;一聲音傳感器,輸 出該類比聲音訊號對應的聲音;其特徵在於,該聲音輸出 裝置還包括: 一環境音偵測裝置’用於偵測環境音並生成類比環境音訊 號; 一第一類比數位轉換器,將該類比環境音訊號轉換成數位 • 環境音訊號; 一第二類比數位轉換器,將從該介面單元接收的類比聲音 訊號轉換成數位聲音訊號;及 一音量管理單元,包括一取樣模組,採用一預定的取樣頻 率對該數位聲音訊號進行取樣,獲得複數振幅值; 一計算模組’將該複數振幅值作為一參數計算—預設時 間段内的聲音能量值; 一基準調整模組,根據該數位環境音訊號獲得一參考能 ® 量值;及 b 一聽力保護模組,當該聲音能量值達到該參考能量值 時,產生一聽力保護訊號。 2. 如申請專利範圍第1項所述的保護聽力的聲音輪出裝 置,其中,該音量管理單元獲得該參考能量值具體^為提 供一對應表,讀取該對應表中該環境音的音量級對應的參 考能量值。 3. 如申請專利範圍第1項所述的保護聽力的聲音輸出裝 17 1307249 置,其中,該音量管理單元獲得該參考能量值具體可為, ' 計算該環境音的音量級,比較該環境音的音量級與一預設 - 音量級,計算一變化率;根據該變化率及一預設能量值, 生成一參考能量值。 4. 如申請專利範圍第1項所述的保護聽力的聲音輸出裝 置,還包括一增益控制單元,接收並響應該聽力保護訊 號,自動調低當前增益值,並根據調低後的增益值放大通 過該介面單元接收的類比聲音訊號;該音量管理單元還包 • 括一增益獲取模組,獲得該增益控制單元的當前增益值; 該計算模組將該當前增益值作為另一參數計算該預設時 間段内的聲音能量值。 5. 如申請專利範圍第1項所述的保護聽力的聲音輸出裝 置,還包括一警示單元,接收並響應該聽力保護訊號,產 生視覺或聽覺的警示訊號。 6. —種保護聽力的方法,其特徵在於,包括步驟: I 偵測環境音; 根據該環境音獲得一參考能量值; 接收一聲音訊號源輸出的類比聲音訊號; 將該類比聲音訊號轉換成數位聲音訊號; 採用一預定的取樣頻率對該數位聲音訊號進行取樣,獲取 複數振幅值; 將該複數振幅值作為一參數計算一預設時間段内的聲音 能量值;及 當該聲音能量值達到該參考能量值時,產生一聽力保護訊 18 1307249 號。 7. 如申請專利範圍第6項所述的保護聽力的方法,其中, 獲得該參考能量值具體可為提供一對應表,讀取該對應表 中該環境音的音量級對應的參考能量值。 8. 如申請專利範圍第6項所述的保護聽力的方法,其中, 獲得該參考能量值具體可為,比較該環境音的音量級與一 預設音量級,計算一變化率;根據該變化率及一預設能量 值,生成一參考能量值。 9. 如申請專利範圍第6項所述的保護聽力的方法,其中, 計算聲音能量值的方法還包括步驟:獲得當前增益值,將 該當前增益值作為另一參數計算該預設時間段内的聲音 能量值。 10. 如申請專利範圍第9項所述的保護聽力的方法,還包括 步驟:接收並響應該聽力保護訊號,自動調低當前增益值。 11. 如申請專利範圍第6項所述的保護聽力的方法,還包括 步驟:接收並響應該聽力保護訊號,產生視覺或聽覺的警 示訊號。 191307249 X. Patent application scope: 1. A hearing output device for hearing protection includes an interface unit for receiving an analog sound signal outputted by an audio signal source, and an acoustic sensor for outputting a sound corresponding to the analog sound signal; The sound output device further includes: an ambient sound detecting device for detecting an ambient sound and generating an analog ambient sound signal; a first analog digital converter converting the analog environmental sound signal into a digital position • an environmental sound a second analog-to-digital converter that converts an analog audio signal received from the interface unit into a digital audio signal; and a volume management unit including a sampling module that performs the digital audio signal at a predetermined sampling frequency Sampling to obtain a complex amplitude value; a computing module 'calculating the complex amplitude value as a parameter—a sound energy value within a preset time period; and a reference adjustment module obtaining a reference energy amount based on the digital ambient audio signal Value; and b a hearing protection module, when the sound energy value reaches the reference energy value At the time, a hearing protection signal is generated. 2. The sound-taking device for protecting hearing according to claim 1, wherein the volume management unit obtains the reference energy value to provide a correspondence table, and reads the volume of the ambient sound in the correspondence table. The reference energy value corresponding to the level. 3. The sound output device 17 1307249 for protecting hearing according to claim 1 of the patent application, wherein the volume management unit obtains the reference energy value, specifically, 'calculate the volume level of the ambient sound, and compare the environmental sound The volume level and a preset-volume level calculate a rate of change; and based on the rate of change and a predetermined amount of energy, a reference energy value is generated. 4. The sound output device for protecting hearing according to claim 1, further comprising a gain control unit that receives and responds to the hearing protection signal, automatically lowers the current gain value, and enlarges according to the adjusted gain value. An analog sound signal received by the interface unit; the volume management unit further includes a gain acquisition module to obtain a current gain value of the gain control unit; the calculation module calculates the current gain value as another parameter Set the value of the sound energy in the time period. 5. The hearing protection sound output device of claim 1, further comprising a warning unit that receives and responds to the hearing protection signal to generate a visual or audible warning signal. 6. A method for protecting hearing, comprising the steps of: I detecting an ambient sound; obtaining a reference energy value according to the ambient sound; receiving an analog sound signal output by an audio signal source; converting the analog sound signal into a digital sound signal; sampling the digital sound signal by using a predetermined sampling frequency to obtain a complex amplitude value; calculating the sound energy value in a predetermined time period by using the complex amplitude value as a parameter; and when the sound energy value is reached When the energy value is referenced, a hearing protection message 18 1307249 is generated. 7. The method for protecting hearing according to claim 6, wherein the obtaining the reference energy value may specifically provide a correspondence table, and reading a reference energy value corresponding to a volume level of the ambient sound in the correspondence table. 8. The method for protecting hearing according to claim 6, wherein obtaining the reference energy value may be: comparing a volume level of the ambient sound with a preset volume level, and calculating a rate of change; The rate and a predetermined energy value generate a reference energy value. 9. The method for protecting hearing according to claim 6, wherein the method for calculating a sound energy value further comprises the steps of: obtaining a current gain value, and calculating the current gain value as another parameter for the preset time period. The value of the sound energy. 10. The method for protecting hearing according to claim 9 of the patent application, further comprising the steps of: receiving and responding to the hearing protection signal, and automatically lowering the current gain value. 11. The method of protecting hearing according to claim 6 of the patent application, further comprising the steps of: receiving and responding to the hearing protection signal to generate a visual or audible warning signal. 19
TW95114441A 2006-04-21 2006-04-21 Method and sound output device for protecting hearing TWI307249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95114441A TWI307249B (en) 2006-04-21 2006-04-21 Method and sound output device for protecting hearing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95114441A TWI307249B (en) 2006-04-21 2006-04-21 Method and sound output device for protecting hearing

Publications (2)

Publication Number Publication Date
TW200742479A TW200742479A (en) 2007-11-01
TWI307249B true TWI307249B (en) 2009-03-01

Family

ID=45071562

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95114441A TWI307249B (en) 2006-04-21 2006-04-21 Method and sound output device for protecting hearing

Country Status (1)

Country Link
TW (1) TWI307249B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI617135B (en) * 2014-12-18 2018-03-01 緯創資通股份有限公司 Audio output device and control method thereof
CN113176870B (en) * 2021-06-29 2021-11-02 深圳小米通讯技术有限公司 Volume adjustment method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
TW200742479A (en) 2007-11-01

Similar Documents

Publication Publication Date Title
CN101060314B (en) Hearing protection method and sound output device
CN101060313B (en) Hearing protection method and sound output device
TWI376925B (en) Adjusting device and method of notification sound according to the environment
US6988068B2 (en) Compensating for ambient noise levels in text-to-speech applications
CN101026362A (en) Hearing protection, method and sound output device
US20100027807A1 (en) Method and apparatus for adjusting audio volume to prevent hearing loss or damage
CN101026363B (en) Hearing protection system, method and sound output device
KR100916726B1 (en) The hearing level formaly as hearing loss measure system and method and the audio signal output controller using the same and method
WO2014061578A1 (en) Electronic device and acoustic reproduction method
TW200808096A (en) Method for controlling volume of earphone
US20180098720A1 (en) A Method and Device for Conducting a Self-Administered Hearing Test
WO2021103260A1 (en) Control method for headphones and headphones
CN104754462A (en) Automatic regulating device and method for volume and earphone
JP2018509820A (en) Personalized headphones
WO2014057921A1 (en) Electronic apparatus and sound reproduction method
JP2017092941A (en) Electronic apparatus and sound reproduction device capable of adjusting setting of equalizer based on physiological situation of hearing ability
WO2019237667A1 (en) Method and apparatus for playing audio data
TW201431390A (en) System and method for automatically adjusting volume of an electronic device
TWI307249B (en) Method and sound output device for protecting hearing
TWI578755B (en) System and method for adjusting volume of multiuser conference
KR101422838B1 (en) Sound outputting apparatus and portable electronic device for listening outside sound and method thereof
CN1983804B (en) Audio-frequency processor and volume management method
US20070116296A1 (en) Audio processing system and method for hearing protection in an ambient environment
CN111800699A (en) Volume adjustment prompting method and device, earphone equipment and storage medium
KR101051036B1 (en) Apparatus and method for controlling sound quality of audio equipments according to the hearing of individual users

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees