JP2009044365A - Voice processor and processing method, mobile terminal - Google Patents

Voice processor and processing method, mobile terminal Download PDF

Info

Publication number
JP2009044365A
JP2009044365A JP2007206164A JP2007206164A JP2009044365A JP 2009044365 A JP2009044365 A JP 2009044365A JP 2007206164 A JP2007206164 A JP 2007206164A JP 2007206164 A JP2007206164 A JP 2007206164A JP 2009044365 A JP2009044365 A JP 2009044365A
Authority
JP
Japan
Prior art keywords
sound
headphones
unit
processing
leakage
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.)
Pending
Application number
JP2007206164A
Other languages
Japanese (ja)
Inventor
Nobuhiro Sato
宜弘 佐藤
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.)
Sony Corp
Original Assignee
Sony Ericsson Mobile Communications Japan Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Ericsson Mobile Communications Japan Inc filed Critical Sony Ericsson Mobile Communications Japan Inc
Priority to JP2007206164A priority Critical patent/JP2009044365A/en
Publication of JP2009044365A publication Critical patent/JP2009044365A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable execution of compensating procedure for sound leakage when the sound leaks from a headphone. <P>SOLUTION: A voice processing unit 35 of the voice processor supplies reproduced voice data to the headphone 33. An external microphone 34 acquires voices from the surroundings to convert these voices to voice data. A control unit 10 executes, for the reproduced voice data supplied to the headphone 33, the processing to extract the frequencies that leak easily and the time conversion processing to consider a delay time until the voice leaking to the external side from the headphone 33 reaches the microphone 34. Moreover, the control unit 10 also extracts the frequencies that leak easily among the voice data in the surroundings from the microphone 34 and detects that the sound leaks from the headphone 33 when the reproduced voice data completing the processing is almost matched with the voice data in the surroundings. Thereafter, the control unit 10 executes the processing to compensate leak of the sound. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、音楽等の再生音声をヘッドフォンを通じて出力する音声処理装置及び方法、携帯端末に関する。   The present invention relates to a sound processing apparatus and method for outputting reproduced sound such as music through headphones, and a portable terminal.

従来より、例えば音声再生装置にて再生される音楽等をヘッドフォンで聴く場合、本人はもちろんその音楽を楽しむことができる。しかしながら、例えば公共の場所など周囲に人がいる場所で音楽を聴くような場合、ヘッドフォンの性能によっては再生音が周囲に漏れ出してしまうことがあり、当該音漏れにより周囲の人に不快な思いをさせてしまうことがある。   Conventionally, for example, when listening to music played by an audio playback device with headphones, for example, the user can enjoy the music. However, for example, when listening to music in a public place such as a public place, the playback sound may leak out to the surroundings depending on the performance of the headphones. May be caused.

なお、特開平8−314473号の公開特許公報(特許文献1)には、音楽の音声信号をスピーカにて音波に変換して出力し、一方、別の複数のスピーカからは位相反転した音声信号を音波に変換して出力することにより、再生音場の外に漏れる音を打ち消すようにし、また、上記別の複数のスピーカへ供給する音声信号には、遅延回路による位相調整や増幅器による音量調整を施すことにより、音場の音響特性を自由に設定可能にした防音装置が開示されている。   In JP-A-8-314473, an open patent publication (Patent Document 1) converts a sound signal of music into sound waves by a speaker and outputs the sound wave, and a sound signal whose phase is inverted from another plurality of speakers. By converting the sound into sound waves and outputting them, the sound leaking out of the reproduction sound field is canceled, and for the audio signals supplied to the other speakers, phase adjustment by a delay circuit and volume adjustment by an amplifier A soundproofing device is disclosed in which the acoustic characteristics of the sound field can be freely set by applying the above.

特開平3−247098号の公開特許公報(特許文献2)には、ヘッドフォンに供給される音声信号の音漏れ帯域を減衰させると同時に、その減衰量を音声信号のレベルに応じて可変にすることにより、ヘッドフォンから漏れる音を周囲の人に聞こえ難くしつつ音質の劣化を少なくすることも可能にした携帯用再生装置とヘッドフォンが開示されている。   In Japanese Patent Laid-Open No. 3-247098 (Patent Document 2), the sound leakage band of the audio signal supplied to the headphones is attenuated, and at the same time, the attenuation amount is made variable according to the level of the audio signal. Accordingly, a portable playback device and headphones that make it possible to reduce sound quality deterioration while making it difficult for surrounding people to hear sound leaking from the headphones are disclosed.

特開平8−314473号公報(図1)JP-A-8-314473 (FIG. 1) 特開平3−247098号公報(図1)Japanese Patent Laid-Open No. 3-247098 (FIG. 1)

ところで、ヘッドフォンにて音楽等を聴いている場合において、周囲の人に不快な思いをさせるのは、故意の場合を除くと、殆どの場合、本人の近くに人が居て且つヘッドフォンから音が漏れており、さらにそのことに本人自身が気づいていないために起きる。すなわち、ヘッドフォンから音が漏れていたとしても、例えば本人の近くに全く人が居ない場合には他人に迷惑をかけることはなく、また例えば、本人の近くに人がいる場合であっても、ヘッドフォンから音が漏れていることに本人が気づき、その本人自身が音漏れに対する是正措置(例えば音量を下げるなどの措置)をとれば、周囲の人に迷惑をかけなくて済むことになる。しかしながら、ヘッドフォンにて音楽等を聴いている場合には、音漏れしていることを周囲の人から指摘されるまで、自分自身では全く気づかないことも非常に多い。   By the way, when listening to music, etc. with headphones, it is almost always the case that there is a person near the person and the sound from the headphones is unpleasant. It happens because it is leaking and the person is not aware of it. That is, even if the sound leaks from the headphones, for example, if there is no person near the person, it will not cause trouble to others, and for example, even if there is a person near the person, If the person notices that the sound is leaking from the headphones, and the person himself takes corrective measures against the sound leakage (for example, a measure such as lowering the volume), the surrounding people can be prevented from being disturbed. However, when listening to music or the like with headphones, it is very often not noticed at all until the surrounding people point out that the sound is leaking.

また、上述の特開平8−314473号や特開平3−247098号の公開特許公報のように、音漏れ自体を少なくする音漏れ防止技術を用いれば、周囲の人に迷惑をかけることも少なくなるが、実際には僅かであるが音が漏れてしまうことも多く、その場合、音楽を聴いている本人は、音漏れによって周囲の人に不快な思いをさせてしまっていることに気づかない。   Further, if a sound leakage prevention technique for reducing sound leakage itself is used as in the above-mentioned Japanese Patent Application Laid-Open Nos. 8-314473 and 3-247098, it is less likely to inconvenience surrounding people. However, in reality, there are many cases where the sound leaks, and in this case, the person who listens to the music does not notice that the sound leakage makes the surrounding people feel uncomfortable.

本発明は、このような実情に鑑みて提案されたものであり、ヘッドフォンにて音楽等を聴く場合において、ヘッドフォンから音漏れしている時に、その音漏れに対する是正措置を取ることを可能とする音声処理装置及び方法、携帯端末を提供することを目的とする。   The present invention has been proposed in view of such circumstances, and when listening to music or the like with headphones, it is possible to take corrective measures for the sound leakage when the sound is leaking from the headphones. An object is to provide a voice processing apparatus and method, and a portable terminal.

本発明の音声処理装置及び方法、携帯端末においては、音声データ供給部がヘッドフォンへ音声データを供給し、耳に装着された状態のヘッドフォンから外部へ漏れだした音声を音漏れ検出部が検出し、ヘッドフォンから外部への音声の漏れだしが検出された時、音漏れ是正処理部が所定の音漏れ是正処理を実行することにより、上述した課題を解決する。   In the audio processing apparatus and method of the present invention and the portable terminal, the audio data supply unit supplies audio data to the headphones, and the sound leak detection unit detects the sound leaked to the outside from the headphones attached to the ear. When the sound leakage from the headphones to the outside is detected, the sound leakage correction processing unit executes a predetermined sound leakage correction process to solve the above-described problem.

すなわち、本発明によれば、耳に装着された状態のヘッドフォンから音声を出力している時に、マイクロフォンにて周辺音声を取得することにより、ヘッドフォンから外部へ音が漏れ出している現象を監視及び検知可能となされている。   That is, according to the present invention, when sound is output from a headphone worn on the ear, a phenomenon in which sound leaks from the headphone to the outside is obtained by acquiring peripheral sound with a microphone. It can be detected.

本発明においては、ヘッドフォンにて音楽等を聴いているような場合に、ヘッドフォンからの音漏れを検知可能となされており、ヘッドフォンからの音漏れを検知した時には、それに対する是正措置を取ることにより、使用者本人が意図しない音漏れにより周囲の人に不快な思いをさせる状態になることを回避することができる。   In the present invention, when listening to music or the like with headphones, sound leakage from the headphones can be detected, and when sound leakage from the headphones is detected, corrective measures are taken against it. It is possible to avoid a situation in which the surrounding person feels uncomfortable due to sound leakage that is not intended by the user.

以下、図面を参照しながら、本発明の一実施形態について説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

なお、以下の実施形態では、本発明の音声処理装置及び方法、携帯端末の適用例として、携帯電話端末を挙げているが、勿論、ここで説明する内容はあくまで一例であり、本発明はこの例に限定されないことは言うまでもない。   In the following embodiments, a mobile phone terminal is cited as an application example of the voice processing apparatus and method and the mobile terminal of the present invention. Of course, the content described here is merely an example, and the present invention is not limited to this. Needless to say, the examples are not limited.

〔携帯電話端末の概略的な内部構成〕
図1には、本発明実施形態の携帯電話端末の概略的な内部構成を示す。
[Schematic internal structure of mobile phone terminal]
FIG. 1 shows a schematic internal configuration of a mobile phone terminal according to an embodiment of the present invention.

図1において、通信アンテナ12は、例えば内蔵アンテナであり通話やパケット通信のための信号電波の送受信を行う。通信回路11は、送受信信号の周波数変換、変調と復調等を行う。上記通信アンテナ12及び通信回路11にて受信された通話音声データは、データラインを介して音声処理部35へ送られ、それ以外の受信データは、一旦、制御部10へ送られて処理された後、必要に応じて当該制御部10から各部へ送られる。   In FIG. 1, a communication antenna 12 is, for example, a built-in antenna, and transmits and receives signal radio waves for calls and packet communications. The communication circuit 11 performs frequency conversion, modulation, demodulation, and the like of transmission / reception signals. The call voice data received by the communication antenna 12 and the communication circuit 11 is sent to the voice processing unit 35 via the data line, and the other received data is once sent to the control unit 10 and processed. Thereafter, it is sent from the control unit 10 to each unit as necessary.

内蔵スピーカ30は、携帯電話端末に設けられている受話用のスピーカやリンガ(着信音)、アラーム音、警告音、音声、音楽等の出力用スピーカであり、ディジタル/アナログ変換器と増幅器を含み、通話音声やリンガ音,音楽等の音声データを、ディジタル/アナログ変換及び増幅した後に出力する。これにより、通話音声やリンガ音,音楽等の音声が空気中に出力されることになる。   The built-in speaker 30 is an output speaker such as a receiving speaker or a ringer (ringing tone), alarm sound, warning sound, voice, music, etc. provided in the mobile phone terminal, and includes a digital / analog converter and an amplifier. Voice data such as call voice, ringer sound, music, etc. are output after digital / analog conversion and amplification. As a result, voices such as call voices, ringer sounds, and music are output to the air.

内蔵マイクロホン31は、携帯電話端末に設けられている送話用及び外部音声集音用のマイクロホンであり、アナログ/ディジタル変換器と増幅器を含む。この内蔵マイクロホン31を介して入力された音声信号は、増幅器により所定のレベルに増幅された後、アナログ/ディジタル変換器によりディジタル音声データに変換され、データラインを介して音声処理部35へ送られて符号化された後、データラインを介して通信回路11へ送られて変調、周波数変換等の各種処理を受け、通信アンテナ12から送信される。   The built-in microphone 31 is a microphone for transmission and external sound collection provided in a mobile phone terminal, and includes an analog / digital converter and an amplifier. The audio signal input via the built-in microphone 31 is amplified to a predetermined level by an amplifier, converted to digital audio data by an analog / digital converter, and sent to the audio processing unit 35 via a data line. After being encoded, the data is sent to the communication circuit 11 via the data line, subjected to various processes such as modulation and frequency conversion, and transmitted from the communication antenna 12.

外部オーディオ端子32は、外部のヘッドフォン33や外部マイクロフォン34と携帯電話端末本体とを接続するための端子である。なお、当該外部オーディオ端子32には、例えば音楽等の再生音のボリューム調整や早送り再生、早戻し再生、チャネル切換、外部マイクロフォン34及びヘッドフォン33を用いた通話時の発話指示などを行うためのリモートコントロール端子も含まれている。   The external audio terminal 32 is a terminal for connecting an external headphone 33 or an external microphone 34 to the mobile phone terminal main body. For example, the external audio terminal 32 can be used to adjust the volume of playback sound such as music, fast-forward playback, fast-rewind playback, channel switching, and a remote command for performing speech instructions during a call using the external microphone 34 and headphones 33. A control terminal is also included.

ディジタル放送受信部38は、ディジタル放送の受信チューナ部とAVコーデック部とを備えており、ディジタル放送用アンテナ39により受信されたディジタルテレビジョン放送信号やディジタルラジオ放送信号の復調,アナログ/ディジタル変換,圧縮符号化されているデータの伸張復号等の処理を行い、それら復調及び伸張復号されたディジタル放送データのうち、ディジタルテレビジョン放送の動画像データについては画像処理部36へ送り、ディジタルテレビジョン放送の音声データやディジタルラジオ放送の音声データについては音声処理部35へ送る。   The digital broadcast receiving section 38 includes a digital broadcast receiving tuner section and an AV codec section. The digital broadcast receiving section 38 demodulates a digital television broadcast signal and a digital radio broadcast signal received by the digital broadcast antenna 39, analog / digital conversion, Processing such as decompression decoding of the compression-encoded data is performed, and among the digital broadcast data demodulated and decompressed, the moving image data of the digital television broadcast is sent to the image processing unit 36, and the digital television broadcast is transmitted. Audio data and digital radio broadcast audio data are sent to the audio processing unit 35.

音声処理部35は、上記通信アンテナ12及び通信回路11から受信音声の圧縮符号化データが供給された時には、当該受信音声の圧縮符号化データを伸張復号化し、その伸張復号化後の受信音声データを、データラインを介してスピーカ30へ送るか若しくは外部オーディオ端子32に接続されたヘッドフォン33へ供給する。また、本実施形態の携帯電話端末の動作モードが、例えばメモリ部16等に圧縮符号化されて保存されている楽曲データコンテンツ(音楽ファイル)や動画像データコンテンツ(動画像ファイル)の再生モードになされている場合、音声処理部35は、制御部10による制御の元で、上記メモリ部16から読み出された楽曲データコンテンツや動画像データコンテンツの音声データの伸張復号化を行い、その伸張復号化後の再生音声データを、データラインを介してスピーカ30へ送るか若しくは外部オーディオ端子32に接続されたヘッドフォン33へ送る。また、本実施形態の携帯電話端末の動作モードが、例えばディジタル放送の受信及び視聴モードになされている場合、音声処理部35は、制御部10による制御の元で、ディジタル放送受信部38から供給されたディジタルテレビジョン放送やディジタルラジオ放送の音声データを、データラインを介してスピーカ3へ送るか若しくは外部オーディオ端子32経由でヘッドフォン33へ供給する。なお、当該音声処理部35の機能は、制御部10がソフトウェアにより実現することも可能である。   When the compressed encoded data of the received voice is supplied from the communication antenna 12 and the communication circuit 11, the voice processing unit 35 decompresses and decodes the compressed encoded data of the received voice, and receives the received voice data after the decompression decoding. Is sent to the speaker 30 via the data line or supplied to the headphones 33 connected to the external audio terminal 32. In addition, the operation mode of the mobile phone terminal according to the present embodiment is a reproduction mode of music data content (music file) or moving image data content (moving image file) that is compressed and stored in the memory unit 16 or the like, for example. In the case where it is made, the audio processing unit 35 performs decompression decoding of the audio data of the music data content and the moving image data content read from the memory unit 16 under the control of the control unit 10, and performs the decompression decoding. The reproduced audio data after conversion is sent to the speaker 30 via the data line or to the headphones 33 connected to the external audio terminal 32. Further, when the operation mode of the mobile phone terminal of this embodiment is, for example, a digital broadcast reception and viewing mode, the audio processing unit 35 is supplied from the digital broadcast reception unit 38 under the control of the control unit 10. The audio data of the digital television broadcast or digital radio broadcast is sent to the speaker 3 via the data line or supplied to the headphones 33 via the external audio terminal 32. It should be noted that the function of the voice processing unit 35 can be realized by software by the control unit 10.

表示部13は、例えば液晶ディスプレイや有機EL(ElectorLuminescence)パネル等の表示デバイスと、そのディスプレイの表示駆動回路とを含み、上記ディスプレイ上に文字や各種メッセージ、静止画像や動画像等を表示する。   The display unit 13 includes a display device such as a liquid crystal display or an organic EL (Elector Luminescence) panel and a display drive circuit for the display, and displays characters, various messages, still images, moving images, and the like on the display.

画像処理部36は、待ち受け画面や電子メール文、アドレス帳、各種ユーザインターフェース画面、動画像データコンテンツの再生動画像、ディジタルテレビジョン放送の受信動画像等の画像データを生成して、それら画像データをデータラインを介して表示部13のディスプレイへ送って表示させる処理等を行う。なお、当該画像処理部36の機能は、制御部10がソフトウェアにより実現することも可能である。   The image processing unit 36 generates image data such as a standby screen, an e-mail message, an address book, various user interface screens, a moving image data playback moving image, a digital television broadcast received moving image, and the like. Is sent to the display of the display unit 13 via the data line and displayed. Note that the function of the image processing unit 36 can also be realized by software by the control unit 10.

操作部14は、本実施形態の携帯電話端末の図示しない筐体上に設けられているテンキーや発話キー、終話/電源キー等の各キーや十字キー,ジョグダイヤル等の各操作子と、それら操作子が操作された時の操作信号を発生する操作信号発生器とからなる。本実施形態において、上記操作部14の各操作子は、ユーザによる電源のオン/オフ操作、発信や着信の指示操作、電話番号入力操作や電子メール等の文字入力操作、ディスプレイ上に表示されたメニュー項目の選択操作、ディジタルカメラ機能におけるシャッター操作、ディジタル放送の受信指示操作、楽曲データコンテンツや動画像データコンテンツ等の再生指示操作及びそれらに関連する各指示操作のために用いられる。   The operation unit 14 includes keys such as a numeric keypad, an utterance key, and an end / power key provided on a casing (not shown) of the mobile phone terminal according to the present embodiment, and an operator such as a cross key and a jog dial. An operation signal generator that generates an operation signal when the operation element is operated. In the present embodiment, each operation element of the operation unit 14 is displayed on the display by a user on / off operation of a power source, operation for instructing outgoing / incoming calls, character number input operation such as telephone number input or e-mail, and the like. It is used for a menu item selection operation, a shutter operation in a digital camera function, a digital broadcast reception instruction operation, a reproduction instruction operation such as music data content or moving image data content, and related instruction operations.

時計部15は、年月日及び日時のような時刻情報や、制御部10が各種処理を行う際に用いる時間情報などを生成する。当該時計部15による時刻や時間等は、ディスプレイ上に表示されたり、スケジュール管理やアラーム報知などにも用いられる他、例えば楽曲データコンテンツ等の再生時間や再生日時の管理などにも用いられる。   The clock unit 15 generates time information such as date and time, time information used when the control unit 10 performs various processes, and the like. The time, time, and the like by the clock unit 15 are displayed on a display, used for schedule management, alarm notification, and the like, and are also used for management of playback time and playback date and time of music data content, for example.

バイブレータ37は、回転軸に偏芯分銅が固着された小型のモータを回転/停止させることで、本実施形態の携帯電話端末に振動を発生させる。   The vibrator 37 rotates / stops a small motor having an eccentric weight fixed to the rotation shaft, thereby generating vibrations in the mobile phone terminal according to the present embodiment.

メモリ部16は、ROM(Read Only Memory)とRAM(Random Access Memory)を含む。ROMは、NAND型フラッシュメモリ(NAND-type flash memory)のような書き換え可能な記憶媒体を含み、例えば、OS(Operating System)のプログラムや制御部10が各部を制御するための制御プログラム、例えば楽曲データコンテンツ等の音声再生出力やディジタル放送された楽曲データ等の音声再生出力などのような音声再生出力管理及び制御を行う音声再生管理及び制御プログラム、本発明に係る後述の音漏れ検出及び音漏れ是正措置のための通知や制御等の処理を実行するためのプログラム(音漏れ検出及び制御プログラム)を含む各種のアプリケーションプログラム、圧縮符号化された楽曲データコンテンツや動画像データコンテンツの他、各種の初期設定値、フォントデータ、各辞書データ、機種名情報や端末識別情報などをも記憶する。RAMは、制御部10が各種のデータ処理を行う際の作業領域として、随時データを格納する。また、メモリ部16は、着脱可能な外部メモリカードや小型のハードディスクドライブを含んでいてもよい。なお、本実施形態において、当該メモリ部16のコンテンツ蓄積部18には、圧縮符号化された楽曲データコンテンツや動画像データコンテンツ等が蓄積される。当該コンテンツ蓄積部18に蓄積される楽曲データコンテンツや動画像データコンテンツは、通信回線を介して取得したものやディジタル放送受信部38により受信したものの他、外部メモリカードに保存されたものも含まれる。また、メモリ部16のプログラム蓄積部17には、本実施形態の音漏れ検出及び制御プログラムを含む各種のアプリケーションプログラムが蓄積される。また、音漏れ検知用パラメータ格納部19には、後述する音漏れ検出及び音漏れ是正措置のための通知や制御等の処理の実行の際に使用される「音漏れし易い音声周波数」の情報や、ヘッドフォン33と外部マイクロフォン34との間の空間的な距離に応じた「音声到達遅延時間」の情報、音漏れ是正措置を必要とする「最低音量」の情報などが、音漏れ検知用パラメータとして格納されている。抽出・変換後再生音声データ格納部20は、後述する音漏れ検出の際に、楽曲やディジタル放送の音声データから「音漏れし易い音声周波数」部分が抽出されて且つそれに音声到達遅延時間が加味された音声データ(抽出・変換後再生音声データ)を一時的に格納するために用意されている。   The memory unit 16 includes a ROM (Read Only Memory) and a RAM (Random Access Memory). The ROM includes a rewritable storage medium such as a NAND-type flash memory. For example, an OS (Operating System) program and a control program for the control unit 10 to control each unit, for example, music Audio reproduction management and control program for audio reproduction output management and control, such as audio reproduction output of data contents and the like, audio reproduction output of digitally broadcast music data, etc., sound leakage detection and sound leakage described later according to the present invention Various application programs including programs (sound leakage detection and control programs) for executing processing such as notification and control for corrective actions, compression-coded music data content and moving image data content, as well as various Stores default values, font data, dictionary data, model name information, terminal identification information, etc. That. The RAM stores data as needed as a work area when the control unit 10 performs various data processing. The memory unit 16 may include a removable external memory card or a small hard disk drive. In the present embodiment, the content storage unit 18 of the memory unit 16 stores compression-coded music data content, moving image data content, and the like. The music data content and moving image data content stored in the content storage unit 18 include those acquired via a communication line, those received by the digital broadcast receiver 38, and those stored in an external memory card. . In the program storage unit 17 of the memory unit 16, various application programs including the sound leakage detection and control program of this embodiment are stored. In addition, the sound leak detection parameter storage unit 19 stores information on “sound leaky sound frequency” that is used when processing such as notification and control for sound leak detection and sound leak correction measures, which will be described later, is performed. Also, information on “sound arrival delay time” according to the spatial distance between the headphones 33 and the external microphone 34, information on “minimum volume” that requires sound leakage correction measures, and the like are parameters for sound leakage detection. Is stored as The extracted / converted playback audio data storage unit 20 extracts a “voice frequency that is likely to leak sound” from the sound data of music or digital broadcast and detects the sound arrival delay time when detecting sound leak described later. Prepared to temporarily store the audio data (reproduced audio data after extraction / conversion).

上記制御部10は、通信回路11における通信の制御、音声処理部35や画像処理部36、ディジタル放送受信部38等の各部の制御を行う。特に、本実施形態の場合、詳細については後述するが、制御部10は、上記メモリ部16のプログラム蓄積部17に蓄積されている音漏れ検出及び制御プログラムを実行することにより、音楽等の音声を外部オーディオ端子32を介してヘッドフォン33から出力する場合に、そのヘッドフォン33からの不要な音漏れの検出とそれに対する是正措置のための通知や制御等の処理を実行する。   The control unit 10 controls communication in the communication circuit 11 and controls each unit such as the audio processing unit 35, the image processing unit 36, and the digital broadcast receiving unit 38. In particular, in the case of the present embodiment, although details will be described later, the control unit 10 executes sound leakage detection and control programs stored in the program storage unit 17 of the memory unit 16, thereby performing sound such as music. Is output from the headphone 33 via the external audio terminal 32, processing such as detection and control for detection of unnecessary sound leakage from the headphone 33 and corrective measures for it is executed.

その他、図1には図示を省略しているが、本発明の携帯電話端末は、写真画像の撮影のためのディジタルカメラ部、キー照明や着信ライト用などのLED(発光ダイオード)とその駆動部、各部へ電力を供給するバッテリとその電力をコントロールするパワーマネージメントIC部、いわゆるブルートゥース方式(Bluetooth:登録商標)やUWB(Ultra Wide Band)方式、無線LAN(Local Area Network)などによる近距離無線通信を行うための近距離無線通信部、いわゆる電子マネーのための情報記憶と信号の送受信を行う電子財布部、GPS(Global Positioning System)通信部、外部メモリ用スロットなど、一般的な携帯電話端末に設けられる各構成要素についても備えている。   In addition, although not shown in FIG. 1, the mobile phone terminal of the present invention includes a digital camera unit for taking a photographic image, an LED (light emitting diode) for key illumination and incoming light, and its driving unit. , A battery that supplies power to each unit, and a power management IC unit that controls the power, so-called Bluetooth method (Bluetooth: registered trademark), UWB (Ultra Wide Band) method, wireless LAN (Local Area Network), etc. For general mobile phone terminals such as short-range wireless communication units for information processing, electronic wallets for information storage and transmission / reception of signals for electronic money, GPS (Global Positioning System) communication units, external memory slots, etc. It is provided also about each component provided.

〔音漏れ検出及び音漏れ是正措置の通知,制御の説明〕
以下、本実施形態の携帯電話端末において、音漏れ検出及び音漏れ是正措置のための通知と制御について、前述の図1の構成と図2〜図4のフローチャートを用いて説明する。なお、図2〜図4のフローチャートに示す処理は、本実施形態の携帯電話端末のメモリ部16のプログラム蓄積部17に格納された本実施形態の音声再生管理及び制御プログラムと音漏れ検出及び制御プログラムを、上記制御部10が実行することにより実現される処理である。
[Sound leak detection, sound leak corrective action notification, control explanation]
Hereinafter, notification and control for sound leakage detection and sound leakage correction measures in the mobile phone terminal of the present embodiment will be described using the configuration of FIG. 1 and the flowcharts of FIGS. Note that the processing shown in the flowcharts of FIGS. 2 to 4 includes the sound reproduction management and control program and sound leakage detection and control of this embodiment stored in the program storage unit 17 of the memory unit 16 of the mobile phone terminal of this embodiment. This is a process realized by the control unit 10 executing the program.

〔各パラメータの概要〕
先ず、本実施形態において、例えば携帯電話端末の製品製造段階では、「音声到達遅延時間」と「音漏れし易い音声周波数」と「最低音量」の各パラメータの決定及びそれらパラメータがメモリ部16の音漏れ検知用パラメータ格納部19へ格納される。
[Outline of each parameter]
First, in the present embodiment, for example, in the product manufacturing stage of a mobile phone terminal, the parameters of “sound arrival delay time”, “sound frequency that is likely to leak sound”, and “minimum volume” are determined and those parameters are stored in the memory unit 16. It is stored in the sound leak detection parameter storage unit 19.

上記「音声到達遅延時間」のパラメータは、実使用時におけるヘッドフォン33と外部マイクロフォン34との間の距離を元に予め決定される情報であり、具体的には、ヘッドフォン33から音楽等の音声出力が行われた場合に、当該ヘッドフォン33から漏れ出た音が外部マイクロフォン34へ到達するまでの時間情報である。すなわち、或る音がヘッドフォン33から出力されて外部マイクロフォン34にて検知される場合、その音がヘッドフォン33から出力された時刻と当該音が外部マイクロフォン34に到達した時刻との差分が上記「音声到達遅延時間」として決定される。この「音声到達遅延時間」のパラメータは、当該携帯電話端末の製品製造段階で決められ、メモリ部16の音漏れ検知用パラメータ格納部19に格納される。   The “sound arrival delay time” parameter is information determined in advance based on the distance between the headphone 33 and the external microphone 34 in actual use. Specifically, the sound output from the headphone 33 such as music is output. Is the time information until the sound leaking from the headphone 33 reaches the external microphone 34. That is, when a certain sound is output from the headphones 33 and detected by the external microphone 34, the difference between the time when the sound is output from the headphones 33 and the time when the sound reaches the external microphone 34 is the above-mentioned “sound. It is determined as “arrival delay time”. The parameter of “voice arrival delay time” is determined at the product manufacturing stage of the mobile phone terminal, and is stored in the sound leak detection parameter storage unit 19 of the memory unit 16.

なお、上述の説明では、製品製造段階で「音声到達遅延時間」を決めておく例について述べているが、本実施形態の携帯電話端末は、実使用時にヘッドフォン33と外部マイクロフォン34との間の距離が変化するような場合に、それらの距離の変化を検知し、その検知した距離を元にして「音声到達遅延時間」を適宜求める機能を備えていても良い。このような機能を実現する場合の一例としては、ヘッドフォン33と外部マイクロフォン34のコードが巻き取り式となされており、実使用時には当該コードの巻き取り,引き出しによってそれらヘッドフォン33と外部マイクロフォン34との間の距離が変化するような場合において、例えばコードの巻き取り量や引き出し量によりそれらヘッドフォン33と外部マイクロフォン34との間の距離を計測し、当該計測した距離の情報に基づいて「音声到達遅延時間」を適宜計算するような処理を挙げることができる。その他にも、一例として気圧や湿度,温度などによって「音声到達遅延時間」が変動するような場合には、携帯電話端末に気圧計や湿度計,温度計などを設け、それらの計測値に応じて上記「音声到達遅延時間」を適宜計算するような処理を行っても良い。   In the above description, an example in which the “voice arrival delay time” is determined at the product manufacturing stage is described. However, the mobile phone terminal according to the present embodiment is provided between the headphones 33 and the external microphone 34 in actual use. When the distance changes, a function of detecting the change in the distance and appropriately obtaining the “voice arrival delay time” based on the detected distance may be provided. As an example for realizing such a function, the cord of the headphone 33 and the external microphone 34 is a winding type, and when the cord is actually used, the cord between the headphone 33 and the external microphone 34 can be wound and pulled out. In such a case, the distance between the headphones 33 and the external microphone 34 is measured based on, for example, the winding amount or the drawing amount of the cord, and the “voice arrival delay” is determined based on the measured distance information. A process for appropriately calculating “time” can be mentioned. In addition, for example, when the “voice arrival delay time” fluctuates due to atmospheric pressure, humidity, temperature, etc., a barometer, hygrometer, thermometer, etc. are installed in the mobile phone terminal, and the measured values are adjusted accordingly. Then, a process for appropriately calculating the “voice arrival delay time” may be performed.

上記「音漏れし易い音声周波数」のパラメータは、ヘッドフォン33の実使用状態、つまり例えばユーザの耳に挿入された実使用状態において、当該ヘッドフォン33から漏れ出し易い(耳から外へ漏れ易い)音声周波数帯を表す情報である。ここで、ユーザの耳に挿入された状態のヘッドフォン33から外部へ漏れ出し易い音声周波数帯は、実際には可成り広帯域となるが、特に、周囲の人が耳障りに感ずる音は高周波数帯域の音(高い音)である。このため、本実施形態では、一例として4kHz以上の高い周波数を上記「音漏れし易い音声周波数」として決定する。この「音漏れし易い音声周波数」のパラメータは、当該携帯電話端末の製品製造段階で決められ、メモリ部16の音漏れ検知用パラメータ格納部19に格納される。   The parameter “sound frequency at which sound leaks easily” is a sound that is likely to leak out from the headphone 33 (easy to leak out from the ear) when the headphone 33 is actually used, that is, for example, inserted into the user's ear. This is information representing a frequency band. Here, the audio frequency band that is likely to leak to the outside from the headphones 33 inserted in the user's ear is actually quite wide, but in particular, the sound that the surrounding people feel uncomfortable is in the high frequency band. Sound (high sound). For this reason, in the present embodiment, as an example, a high frequency of 4 kHz or more is determined as the above-mentioned “voice frequency at which sound leaks easily”. The parameter “sound frequency at which sound is likely to leak” is determined at the product manufacturing stage of the mobile phone terminal, and is stored in the sound leak detection parameter storage unit 19 of the memory unit 16.

なお、上記4kHzは一例であり、それ以上或いはそれ以下の周波数帯であっても良い。また、上述の説明では、製品製造段階で「音漏れし易い音声周波数」を決めておく例について述べているが、一例として、ヘッドフォン33から外部へ漏れ出す音の音量や周囲の環境音の音量によって、周囲の人が耳障りと感じる音の周波数が変化するような場合には、それら漏れ出し音や周囲環境音の音量に基づいて上記「音漏れし易い音声周波数」を適宜変更するようにしても良い。   The above 4 kHz is an example, and may be a frequency band higher or lower. In the above description, an example is described in which the “voice frequency at which sound leaks easily” is determined at the product manufacturing stage. As an example, the volume of sound leaking from the headphones 33 to the outside or the volume of ambient environmental sound is described. If the frequency of the sound that the surrounding people feel uncomfortable changes, the above-mentioned “sound leaking sound frequency” is appropriately changed based on the volume of the leaked sound and the ambient environmental sound. Also good.

上記「最低音量」のパラメータは、本実施形態の携帯電話端末において音漏れ検知及び音漏れ是正の機能を動作させるか否か(機能を「有効」に設定するか否か)を決定するための情報であり、具体的には、90dBが閾値として設定され、ヘッドフォン33から出力される音の音量が、上記閾値以上の音量である場合には上記音漏れ検知及び音漏れ是正の機能を動作させ、一方、上記閾値より低い音量である場合には音漏れ検知及び音漏れ是正の機能を動作させないように制御するための情報である。すなわち、ヘッドフォン33から出力される音の音量が非常に小さく、音漏れにより周囲の人に不快な思いをさせることがないと判断できる場合には、音漏れ検知及び音漏れ是正の機能を動作させないことで、ヘッドフォン33からの音楽を聴いている本人がその音楽に集中できるようにする。この「最低音量」のパラメータは、当該携帯電話端末の製品製造段階で決められ、メモリ部16の音漏れ検知用パラメータ格納部19に格納される。   The “minimum volume” parameter determines whether to operate the sound leakage detection and sound leakage correction function (whether the function is set to “valid”) in the mobile phone terminal of the present embodiment. Specifically, when 90 dB is set as a threshold and the volume of sound output from the headphones 33 is equal to or higher than the threshold, the sound leakage detection and sound leakage correction functions are operated. On the other hand, when the volume is lower than the threshold, the information is for controlling the sound leakage detection and sound leakage correction functions not to operate. That is, when the volume of the sound output from the headphones 33 is very low and it can be determined that the sound leakage does not make the surrounding person uncomfortable, the sound leakage detection and sound leakage correction functions are not operated. Thus, the person who listens to the music from the headphones 33 can concentrate on the music. The “minimum volume” parameter is determined at the product manufacturing stage of the mobile phone terminal and is stored in the sound leakage detection parameter storage unit 19 of the memory unit 16.

なお、ヘッドフォン33から外部へ漏れ出す音が周囲の人に不快感を与えるかどうかは、その際の周囲の環境音の音量により変化するため、周囲環境音の音量に基づいて上記「最低音量」を適宜変更するようにしても良い。すなわち上述の説明では、製品製造段階で「最低音量」を決めておく例について述べているが、一例として、周囲環境音の音量が非常に大きい場合には上記「最低音量」の閾値を上げるように変更し、逆に、周囲環境音の音量が非常に小さい場合には上記「最低音量」の閾値を下げるように変更するようにしても良い。   Note that whether or not the sound leaking from the headphones 33 gives discomfort to the surrounding people changes depending on the volume of the surrounding environmental sound at that time, and therefore, the “minimum volume” is based on the volume of the surrounding environmental sound. May be appropriately changed. That is, in the above description, an example in which the “minimum volume” is determined at the product manufacturing stage is described, but as an example, if the ambient environmental sound volume is very high, the threshold value of the “minimum volume” is increased. Conversely, when the volume of the ambient environmental sound is very low, the threshold value of the “minimum volume” may be changed.

その他、周囲環境音については、外部マイクロフォン34だけでなく、内蔵マイクロフォン31にて取得しても良い。   In addition, the ambient sound may be acquired not only by the external microphone 34 but also by the built-in microphone 31.

〔処理フローの説明〕
次に、本実施形態の携帯電話端末において、外部オーディオ端子32にヘッドフォン33及び外部マイクロフォン34が接続され、上記ヘッドフォン33から音楽等の音声出力を行う実使用時、制御部10は、メモリ部16のプログラム蓄積部17に格納された本実施形態の音声再生管理及び制御プログラムを実行することにより、図2のフローチャートに示すような音声再生関連処理を実行する。また、音声再生処理を実行する際、制御部10は、メモリ部16のプログラム蓄積部17に格納された本実施形態の音漏れ検出及び制御プログラムを実行することにより、図3及び図4のフローチャートに示すような音漏れ検出及び音漏れ是正関連処理を実行する。
[Explanation of processing flow]
Next, in the mobile phone terminal of the present embodiment, the headphone 33 and the external microphone 34 are connected to the external audio terminal 32 and the control unit 10 is configured to use the memory unit 16 at the time of actual use for outputting sound such as music from the headphone 33. By executing the audio reproduction management and control program of the present embodiment stored in the program storage unit 17, the audio reproduction related process as shown in the flowchart of FIG. 2 is executed. Further, when executing the audio reproduction process, the control unit 10 executes the sound leakage detection and control program of the present embodiment stored in the program storage unit 17 of the memory unit 16 to thereby execute the flowcharts of FIGS. 3 and 4. The sound leak detection and sound leak correction related processing as shown in FIG.

〔音声再生処理フロー〕
本実施形態の携帯電話端末において、音声再生管理及び制御プログラムが起動し、例えばメニュー選択画面に表示された複数のメニュー項目の中から、ユーザにより、複数の音楽ファイルの中から所望の音楽ファイルを選んで再生するメニュー項目の選択が行われたとすると、制御部10は、先ず図2のフローチャートのステップS1の処理として、メモリ部16のコンテンツ蓄積部18に蓄積されている全楽曲データコンテンツに対応した音楽ファイルのリストを取得し、次いでステップS2の処理として、画像処理部36を制御して、上記音楽ファイルリストの画像を生成させ、その音楽ファイルリストの画像を表示部13のディスプレイ画面上に表示させる。
[Audio playback processing flow]
In the mobile phone terminal according to the present embodiment, the voice reproduction management and control program is activated, and for example, a user selects a desired music file from a plurality of music files from a plurality of menu items displayed on the menu selection screen. Assuming that the menu item to be selected and played is selected, the control unit 10 first responds to all music data contents stored in the content storage unit 18 of the memory unit 16 as the processing of step S1 in the flowchart of FIG. In step S2, the image processing unit 36 is controlled to generate an image of the music file list, and the music file list image is displayed on the display screen of the display unit 13. Display.

次に、制御部10は、操作部14を介してユーザが上記音楽ファイルリストの中から所望の音楽ファイルを選択し、さらに操作部14を介してユーザがその音楽ファイルの再生開始指示を入力すると、ステップS3の処理として、当該ユーザにより選択された音楽ファイルに対応した楽曲データコンテンツを上記コンテンツ蓄積部18から読み出し、音声処理部35を制御して当該楽曲データコンテンツの伸張復号化を行わせることにより、上記音楽ファイルの再生処理を開始させる。   Next, when the user selects a desired music file from the music file list via the operation unit 14 via the operation unit 14 and further inputs an instruction to start playback of the music file via the operation unit 14. In step S3, the music data content corresponding to the music file selected by the user is read from the content storage unit 18 and the audio processing unit 35 is controlled to perform decompression decoding of the music data content. Thus, the reproduction process of the music file is started.

そして、制御部10は、ステップS4の処理として、音声処理部35を制御することにより、上記音楽ファイルの再生処理を実行させると共に、その再生音楽のデータを外部オーディオ端子32を通じてヘッドフォン33へ送る。これにより、ヘッドフォン33からは上記再生音楽が出力されることになり、ユーザは、上記所望の音楽ファイル(楽曲データコンテンツ)の音楽を楽しむことが可能となる。   Then, the control unit 10 controls the audio processing unit 35 to execute the music file reproduction process as step S4, and sends the reproduced music data to the headphones 33 through the external audio terminal 32. Thus, the reproduced music is output from the headphones 33, and the user can enjoy the music of the desired music file (music data content).

さらに、制御部10は、上記ステップS4の処理を実行中、ステップS5の処理として当該音楽ファイルの再生が終了したか、若しくは制御部14を通じてユーザから再生終了等の指示が入力されたか否か判断しており、当該音楽ファイルの再生が終了したか若しくはユーザから再生終了等の指示入力がなされた時には図2のフローチャートの処理を終了する。   Furthermore, the control unit 10 determines whether or not the music file has been played back as the process of step S5 during the process of step S4, or whether or not an instruction such as the end of playback has been input from the user through the control unit 14. When the music file has been played back or when an instruction input such as playback end has been made by the user, the processing of the flowchart of FIG.

〔音漏れ対策フロー(再生音声側処理)〕
また、図2に示したフローチャートの処理がスタートした時、制御部10は、少なくとも図2のステップS3の処理以前に、図3のフローチャートのステップS11の処理として、例えばヘッドフォン33から音楽等を出力する際に音漏れ対策のための機能(音漏れ検出及び音漏れ是正の機能)を有効にしておく設定が予めなされているか否か判定し、音漏れ対策設定がON(有効)になされていると判定した場合にのみステップS12以降へ処理を進め、それ以外の場合にはこの図3のフローチャートの処理を終了する。
[Sound Leakage Countermeasure Flow (Playback Audio Processing)]
When the process of the flowchart shown in FIG. 2 is started, the control unit 10 outputs, for example, music from the headphones 33 as the process of step S11 of the flowchart of FIG. 3 at least before the process of step S3 of FIG. Sound leakage prevention function (sound leakage detection and sound leakage correction function) is set in advance to determine whether or not it has been set, and the sound leakage countermeasure setting is turned on (enabled) The process proceeds to step S12 and subsequent steps only when it is determined that, otherwise the process of the flowchart of FIG. 3 is terminated.

ステップS11において、音漏れ対策設定がON(有効)になされていると判定されてステップS12の処理に進むと、制御部10は、メモリ部16の音漏れ検知用パラメータ格納部19から「最低音量」のパラメータを読み出すと共に、携帯電話端末の現在の音声出力用のボリュームの現在の設定値から、当該現在のボリューム設定による出力音量が「最低音量」の閾値以上になるか否か判定する。当該ステップS12の判定処理により、現在のボリューム設定による出力音量が上記「最低音量」の閾値より低いと判定された場合、そのボリューム設定にて音声出力がなされたとしても音漏れにより周囲の人に不快な思いをさせることが少ないと考えられるため、制御部10は、当該図3のフローチャートの処理を終了する。一方、当該ステップS12の判定処理により、現在のボリューム設定による出力音量が上記「最低音量」の閾値以上であると判定された場合には、そのボリューム設定にて音声出力がなされると音漏れにより周囲の人に不快な思いをさせる可能性があるため、制御部10は、ステップS13以降へ処理を進める。   When it is determined in step S11 that the sound leakage countermeasure setting is ON (valid) and the process proceeds to step S12, the control unit 10 reads “minimum volume” from the sound leakage detection parameter storage unit 19 of the memory unit 16. ”And the current setting value of the volume for the current voice output of the mobile phone terminal, it is determined whether or not the output volume based on the current volume setting is equal to or greater than the“ minimum volume ”threshold. If it is determined by the determination processing in step S12 that the output volume according to the current volume setting is lower than the threshold value of the “minimum volume”, even if sound is output with the volume setting, the sound leaks to surrounding people. Since it is considered that there is little unpleasant feeling, the control part 10 complete | finishes the process of the flowchart of the said FIG. On the other hand, if it is determined by the determination processing in step S12 that the output volume based on the current volume setting is equal to or greater than the threshold value of the “minimum volume”, if sound is output with the volume setting, sound leaks. Since there is a possibility that surrounding people may feel uncomfortable, the control unit 10 advances the processing to step S13 and subsequent steps.

ステップS13の処理に進むと、制御部10は、音楽ファイルの再生処理を実行すること、すなわち図2のフローチャートのステップS4の処理を行う。   When the process proceeds to step S13, the control unit 10 executes a music file reproduction process, that is, the process of step S4 in the flowchart of FIG.

また、制御部10は、ステップS13の処理が開始されると、ステップS14の処理として、メモリ部16の音漏れ検知用パラメータ格納部19から「音漏れし易い周波数」のパラメータを読み出し、当該「音漏れし易い音声周波数」のパラメータを基に、ステップS13での音楽ファイル再生処理による再生音声データから、上記「音漏れし易い音声周波数」部分を抽出する処理を行う。   Further, when the process of step S13 is started, the control unit 10 reads the parameter of “frequency at which sound leaks easily” from the sound leak detection parameter storage unit 19 of the memory unit 16 as the process of step S14. Based on the parameter “sound frequency that is likely to leak sound”, a process of extracting the “sound frequency that is likely to leak sound” portion from the reproduced sound data by the music file reproduction process in step S13.

次に、制御部10は、ステップS15の処理として、メモリ部16の音漏れ検知用パラメータ格納部19から「音声到達遅延時間」のパラメータを読み出し、上記ステップS14の処理により得られた抽出音声データに対して当該「音声到達遅延時間」を加味した時間変換処理、つまり抽出音声データに付随する時刻情報を上記「音声到達遅延時間」分だけ遅延させる時間変換処理を行う。   Next, as the process of step S15, the control unit 10 reads the parameter “speech arrival delay time” from the sound leak detection parameter storage unit 19 of the memory unit 16, and extracts the extracted voice data obtained by the process of step S14. Then, a time conversion process taking into account the “speech arrival delay time”, that is, a time conversion process for delaying time information attached to the extracted voice data by the “speech arrival delay time” is performed.

そして、制御部10は、ステップS16の処理として、上記ステップS15による時間変換処理後の抽出音声データ(抽出・変換後再生音声データ)を、メモリ部16の抽出・変換後再生音声データ格納部20へ格納する。なお、当該抽出・変換後再生音声データ格納部20へ格納されるデータは、最新の一定時間分の抽出・変換後再生音声データのみとし、古いデータについては新しいデータにより上書きされるようにすることが望ましい。すなわち、抽出・変換後再生音声データを全て格納するようなことを行うと、メモリ部16の容量を圧迫してしまうことになるため、後述する図4のフローチャートのステップS26にて周辺音声データとの比較により音漏れ対策を実行するか否か判断するために必要な或る一定時間分のデータだけを格納するようにして、メモリ部16の容量を無駄に消費してしまわないようにすることが望ましい。   Then, as the process of step S16, the control unit 10 extracts the extracted audio data (extracted / converted reproduced audio data) after the time conversion process in step S15, and the extracted / converted reproduced audio data storage unit 20 of the memory unit 16 To store. The data stored in the extracted / converted reproduced audio data storage unit 20 is only the latest extracted / converted reproduced audio data for a certain period of time, and old data is overwritten by new data. Is desirable. That is, if all of the extracted / converted playback audio data is stored, the capacity of the memory unit 16 is compressed, so that in step S26 in the flowchart of FIG. By storing only data for a certain period of time necessary for determining whether or not to implement sound leakage countermeasures by comparing the above, it is possible to avoid wasting the capacity of the memory unit 16 wastefully. Is desirable.

この図3に示したフローチャートの処理は、図2のフローチャートのステップS5において、当該音楽ファイルの再生が終了したか、若しくは制御部14を通じてユーザから再生終了等の指示が入力されるまで繰り返されることになる。   The processing of the flowchart shown in FIG. 3 is repeated until playback of the music file is completed or an instruction to finish playback is input from the user through the control unit 14 in step S5 of the flowchart of FIG. become.

なお、図3のフローチャートにおいて、ステップS14とステップS15の処理は何れが先に行われても良い。すなわち、再生音声データに対して先に時間変換処理を行い、その後、周波数部分の抽出を行うようにしても良い。   In the flowchart of FIG. 3, either of the processes of step S14 and step S15 may be performed first. That is, the time conversion process may be performed on the reproduced audio data first, and then the frequency portion may be extracted.

〔音漏れ対策フロー(周辺音声側処理)〕
また、制御部10は、図3のフローチャートの処理の実行と並行して、図4のフローチャートの処理を実行する。なお、図4のフローチャートのステップS21,ステップS22は、図3のフローチャートのステップS11,ステップS12と同じ処理で且つ同時に行われる処理であり、それらステップS11,ステップS12とは別に行われる処理ではないが、説明の都合上、図4ではステップS21,ステップS22として記述している。
[Sound leakage countermeasure flow (peripheral voice side processing)]
Further, the control unit 10 executes the process of the flowchart of FIG. 4 in parallel with the execution of the process of the flowchart of FIG. Note that step S21 and step S22 in the flowchart of FIG. 4 are the same processing as step S11 and step S12 in the flowchart of FIG. 3 and are performed at the same time, and are not performed separately from these steps S11 and S12. However, for the convenience of explanation, FIG. 4 describes them as step S21 and step S22.

図4のフローチャートにおいて、制御部10は、少なくとも図2のステップS3の処理以前に、図4のフローチャートのステップS21の処理として、例えばヘッドフォン33から音楽等を出力する際に音漏れ対策のための機能(音漏れ検出及び音漏れ是正の機能)を有効にしておく設定が予めなされているか否か判定し、音漏れ対策設定がON(有効)になされていると判定した場合にのみステップS22以降へ処理を進め、それ以外の場合にはこの図4のフローチャートの処理を終了する。   In the flowchart of FIG. 4, the control unit 10 takes measures for sound leakage when outputting music or the like from the headphones 33 as the process of step S21 of the flowchart of FIG. 4 at least before the process of step S3 of FIG. 2. It is determined whether or not the setting for enabling the function (sound leakage detection and sound leakage correction function) has been made in advance, and only when it is determined that the sound leakage countermeasure setting is set to ON (enabled), step S22 and subsequent steps. In other cases, the process of the flowchart of FIG. 4 is terminated.

また、ステップS21において、音漏れ対策設定がON(有効)になされていると判定されてステップS22の処理に進むと、制御部10は、メモリ部16の音漏れ検知用パラメータ格納部19から「最低音量」のパラメータを読み出すと共に、携帯電話端末の現在の音声出力用のボリュームの現在の設定値から、当該現在のボリューム設定による出力音量が「最低音量」の閾値以上になるか否か判定し、当該ステップS22の判定処理により、現在のボリューム設定による出力音量が上記「最低音量」の閾値より低いと判定された場合には当該図4のフローチャートの処理を終了し、一方、現在のボリューム設定による出力音量が上記「最低音量」の閾値以上であると判定された場合にはステップS23以降へ処理を進める。   Further, when it is determined in step S21 that the sound leakage countermeasure setting is ON (valid) and the process proceeds to step S22, the control unit 10 reads from the sound leakage detection parameter storage unit 19 in the memory unit 16 " The parameter of “minimum volume” is read out, and it is determined from the current setting value of the volume for the current voice output of the mobile phone terminal whether the output volume by the current volume setting is equal to or higher than the threshold value of “minimum volume”. If it is determined by the determination processing in step S22 that the output volume based on the current volume setting is lower than the “minimum volume” threshold, the processing in the flowchart of FIG. If it is determined that the output volume by is equal to or greater than the threshold value of the “minimum volume”, the process proceeds to step S23 and subsequent steps.

ステップS23の処理に進むと、制御部10は、外部マイクロフォン34を有効(ON)に設定した後、ステップS24へ処理を進める。   In step S23, the control unit 10 sets the external microphone 34 to valid (ON), and then proceeds to step S24.

ステップS24の処理に進むと、制御部10は、上記外部マイクロフォン34により取得された周辺の音声データを取り込み、ステップS25へ処理を進める。   When the process proceeds to step S24, the control unit 10 takes in the peripheral audio data acquired by the external microphone 34, and proceeds to step S25.

ステップS25の処理に進むと、制御部10は、メモリ部16の音漏れ検知用パラメータ格納部19から「音漏れし易い周波数」のパラメータを読み出し、当該「音漏れし易い音声周波数」のパラメータを基に、上記ステップS24で外部マイクロフォン34により取得した周辺音声データから、上記「音漏れし易い音声周波数」部分を抽出する処理を行う。   When the processing proceeds to step S25, the control unit 10 reads out the parameter “Frequency of sound leakage” from the sound leakage detection parameter storage unit 19 of the memory unit 16, and sets the parameter of “Frequency of sound leakage”. Based on the ambient audio data acquired by the external microphone 34 in step S24, the process of extracting the “audio frequency that is likely to leak sound” portion is performed.

次に、制御部10は、ステップS26の処理として、メモリ部16の抽出・変換後再生音声データ格納部20に格納されている抽出・変換後再生音声データの中から、上記外部マイクロフォン34が取得した周辺音声の中に含まれている再生音声(音漏れした再生音声)と同じ時間情報を持ったデータ、つまりヘッドフォン33から出力されて外部マイクロフォン34へ到達するまでの遅延時間分が加味された抽出・変換後再生音声データを読み出し、上記ステップS25により得られた抽出後周辺音声データに上記抽出・変換後再生音声データが含まれているか否か分析する。なお、当該分析処理は、一例として、両データのパターンマッチング等による一致判定処理により実現することができる。   Next, in step S26, the control unit 10 acquires the external microphone 34 from the extracted / converted playback audio data stored in the extracted / converted playback audio data storage unit 20 of the memory unit 16. The data having the same time information as the reproduced sound (reproduced sound that has been leaked) included in the peripheral sound, that is, the delay time from the headphone 33 to the external microphone 34 is added. The extracted / converted reproduced audio data is read, and it is analyzed whether or not the extracted / converted reproduced audio data is included in the extracted peripheral audio data obtained in step S25. Note that the analysis process can be realized, for example, by a matching determination process using pattern matching or the like of both data.

そして、制御部10は、ステップS26にて上記抽出後周辺音声データに抽出・変換後再生音声データが含まれていると判定した場合、すなわち、外部マイクロフォン34が集積した周辺音声の中に、ヘッドフォン33から外部へ漏れ出した音漏れし易い周波数部分で且つヘッドフォン33から外部マイクロフォン34までの到達遅延時間を加味した音声成分が含まれていると判定した場合には、音漏れが発生していると判断し、ステップS27へ処理を進める。   If the control unit 10 determines in step S26 that the extracted peripheral audio data includes the extracted / converted reproduced audio data, that is, the headphone is included in the peripheral audio accumulated by the external microphone 34. When it is determined that a sound component leaking out from 33 to the outside and including a sound component that takes into account the arrival delay time from the headphone 33 to the external microphone 34 is included, sound leakage has occurred. And the process proceeds to step S27.

ステップS27の処理に進むと、制御部10は、音漏れしている状態を改善するための音漏れ対策処理を行う。具体的には、ヘッドフォン33から出力される音量を音漏れしないレベルまで自動的に下げる処理や、音漏れし易い周波数部分を自動的に減衰させる処理、音漏れにより外部へ漏れる再生音声波形に対して逆位相の音声波形をヘッドフォン33にて発生させる処理、音漏れ状態である旨を表示部13の画面表示させたり、アラーム音の出力やバイブレータ37の振動などにより、ユーザが認識できるように通知するなどの処理を行う。なお、画面表示やアラーム音出力,バイブレータ振動などによるユーザへの通知は、当該ユーザ自身による音漏れ是正措置(例えばボリュームを操作して音量を下げるなど)を促すための通知となされる。これにより、本実施形態の携帯電話端末では、音漏れ状態を改善することができることになる。   When the processing proceeds to step S27, the control unit 10 performs sound leakage countermeasure processing for improving the state of sound leakage. Specifically, a process for automatically lowering the volume output from the headphones 33 to a level at which sound does not leak, a process for automatically attenuating a frequency portion that is likely to leak sound, and a reproduced sound waveform that leaks to the outside due to sound leak The process of generating a sound waveform with an antiphase on the headphone 33, the sound leakage state is displayed on the screen of the display unit 13, the alarm sound is output, the vibration of the vibrator 37, etc. are notified so that the user can recognize them. Perform processing such as. Note that the notification to the user by screen display, alarm sound output, vibrator vibration, etc. is a notification for prompting the user to correct the sound leakage (for example, operating the volume to lower the volume). Thereby, in the mobile phone terminal of the present embodiment, the sound leakage state can be improved.

この図4に示したフローチャートの処理は、図2のフローチャートのステップS5において、当該音楽ファイルの再生が終了したか、若しくは制御部14を通じてユーザから再生終了等の指示が入力されるまで繰り返されることになる。   The processing of the flowchart shown in FIG. 4 is repeated until playback of the music file is completed or an instruction to finish playback is input from the user through the control unit 14 in step S5 of the flowchart of FIG. become.

なお、本実施形態では、図3のステップS16にて上記抽出・変換後再生音声データを抽出・変換後再生音声データ格納部20に一旦格納し、図4のステップS26にて上記抽出・変換後再生音声データ格納部20から読み出した抽出・変換後再生音声データと、抽出後周辺音声データとの比較を行うようにしているが、例えば、図3のステップS15における時間変換処理をディレイ回路による時間遅延処理とし、当該ディレイ回路にて時間遅延された再生音声データと上記抽出後周辺音声データとを直接比較することで、音声データの一時的な格納を行わないようにしても良い。   In this embodiment, the extracted / converted playback audio data is temporarily stored in the extracted / converted playback audio data storage unit 20 in step S16 of FIG. 3, and after the extraction / conversion in step S26 of FIG. The extracted / converted reproduced audio data read from the reproduced audio data storage unit 20 is compared with the extracted peripheral audio data. For example, the time conversion processing in step S15 in FIG. By temporarily comparing the reproduced audio data time-delayed by the delay circuit and the extracted peripheral audio data, the audio data may not be temporarily stored.

〔まとめ〕
以上説明したように、本発明実施形態の携帯電話端末においては、ヘッドフォン33を用いて音楽等の音声を出力する場合、外部マイクロフォン34にて周辺の音声を監視し、当該外部マイクロフォン34にて集積した周辺音声の中に、ヘッドフォン33から漏れ出した音声が含まれているか否かの音漏れ検知を行い、音漏れが検知された時には、その音漏れを是正するための対策処理を行うか、若しくはユーザに音漏れを是正する措置を求めるようにしている。これにより、本実施形態の携帯電話端末によれば、ヘッドフォンからの音漏れにより周囲の人に不快感を与えてしまう状態になることを防止でき、また、ヘッドフォンで音楽等を聴いている本人が気づき難い音漏れを本人自身に容易に気づかせて、音漏れの是正措置を取り易くなっている。
[Summary]
As described above, in the mobile phone terminal according to the embodiment of the present invention, when sound such as music is output using the headphone 33, the surrounding sound is monitored by the external microphone 34 and integrated by the external microphone 34. Whether or not sound leaked from the headphone 33 is included in the surrounding sound, and when sound leakage is detected, countermeasure processing for correcting the sound leakage is performed, Alternatively, the user is requested to take measures to correct the sound leakage. Thereby, according to the mobile phone terminal of the present embodiment, it is possible to prevent the surrounding person from being uncomfortable due to sound leakage from the headphones, and the person who is listening to music or the like with headphones can be prevented. Sound leaks that are difficult to notice are easily noticed by the person himself, making it easier to take corrective actions for sound leaks.

なお、上述した本発明の各実施形態の説明は、本発明の一例である。このため、本発明は上述した実施形態に限定されることなく、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることはもちろんである。   The above description of each embodiment of the present invention is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made according to the design or the like as long as the technical idea according to the present invention is not deviated.

本実施形態の音声処理装置は、携帯電話端末に限定されず、楽曲データコンテンツの保存及び再生機能を備えたPDA(Personal Digital Assistant)やパーソナルコンピュータ、携帯型テレビゲーム装置、携帯型ディジタルテレビジョン受信機、カーナビゲーション装置など様々な端末や、据え置き型の動画像再生装置などにも適用可能である。   The audio processing apparatus according to the present embodiment is not limited to a mobile phone terminal, and a PDA (Personal Digital Assistant), a personal computer, a portable video game apparatus, and a portable digital television reception having a music data content storage and playback function. The present invention can also be applied to various terminals such as mobile devices and car navigation devices, and stationary moving image playback devices.

本発明実施形態の携帯電話端末の概略的な内部回路構成を示すブロック図である。It is a block diagram which shows the schematic internal circuit structure of the mobile telephone terminal of embodiment of this invention. 音声再生処理のメインのフローチャートである。It is a main flowchart of an audio | voice reproduction process. 音漏れ対策時の再生音声側の処理を示すフローチャートである。It is a flowchart which shows the process by the reproduction | regeneration audio | voice side at the time of a sound leak countermeasure. 音漏れ対策時の周辺音声側の処理を示すフローチャートである。It is a flowchart which shows the process by the side audio | voice side at the time of a sound leak countermeasure.

符号の説明Explanation of symbols

10 制御部、11 通信回路、12 通信アンテナ、13 表示部、14 操作部、15 時計部、16 メモリ部、17 プログラム蓄積部、18 コンテンツ蓄積部、19 音漏れ検知用パラメータ格納部、20 抽出・変換後再生音声データ格納部、30 スピーカ、31 マイクロホン、32 外部オーディオ端子、33 ヘッドフォン、34 外部マイクロフォン、35 音声処理部、36 画像処理部、37 バイブレータ、38 ディジタル放送受信部、39 ディジタル放送受信用のアンテナ   DESCRIPTION OF SYMBOLS 10 Control part, 11 Communication circuit, 12 Communication antenna, 13 Display part, 14 Operation part, 15 Clock part, 16 Memory part, 17 Program storage part, 18 Content storage part, 19 Sound leak detection parameter storage part, 20 After-conversion playback audio data storage unit, 30 speaker, 31 microphone, 32 external audio terminal, 33 headphones, 34 external microphone, 35 audio processing unit, 36 image processing unit, 37 vibrator, 38 digital broadcast receiving unit, 39 for receiving digital broadcast Antenna

Claims (7)

ヘッドフォンへ音声データを供給する音声データ供給部と、
耳に装着された状態のヘッドフォンから外部へ漏れだした音声を検出する処理を実行する音漏れ検出部と、
上記音漏れ検出部により上記ヘッドフォンから外部への音声の漏れだしが検出された時、所定の音漏れ是正処理を実行する音漏れ是正処理部とを有する、
ことを特徴とする音声処理装置。
An audio data supply unit for supplying audio data to the headphones;
A sound leak detection unit that performs processing for detecting sound leaked to the outside from the headphones worn in the ear;
A sound leakage correction processing unit that executes a predetermined sound leakage correction process when the sound leakage detection unit detects leakage of sound from the headphones to the outside,
A speech processing apparatus characterized by that.
上記音漏れ検出部は、
上記ヘッドフォンへ供給される音声データに対して、所定の周波数部分の抽出処理、及び、当該ヘッドフォンから外部へ漏れだした音声が上記マイクロフォンへ到達するまでの到達遅延時間分を加味する時間変換処理を行う音声抽出変換部と、
周辺音声を取得して音声データに変換するマイクロフォンより供給された音声データから上記所定の周波数部分を抽出する処理を行う周辺音声抽出部と、
上記周辺音声抽出部による上記抽出処理後の音声データと、上記音声抽出変換部による上記抽出処理及び時間変換処理後の音声データとの一致判定を行い、両音声データが略々一致したと判定した時に、上記耳に装着された状態のヘッドフォンから外部へ音声の漏れだしが発生していることを検出する一致判定部とを有することを特徴とする請求項1記載の音声処理装置。
The sound leak detection unit
Extraction processing of a predetermined frequency portion from the audio data supplied to the headphones, and time conversion processing that takes into account the arrival delay time until the sound leaked from the headphones to the microphone reaches the microphone A voice extraction conversion unit to perform,
A peripheral sound extraction unit that performs processing of extracting the predetermined frequency portion from the sound data supplied from the microphone that acquires the peripheral sound and converts it into sound data;
The voice data after the extraction process by the peripheral voice extraction unit and the voice data after the extraction process and the time conversion process by the voice extraction conversion unit are determined to match, and it is determined that the two voice data are substantially matched. 2. The audio processing apparatus according to claim 1, further comprising: a coincidence determination unit that detects that audio leaks from the headphones attached to the ear to the outside.
使用者が認識可能な通知を行うための通知部を有し、
上記音漏れ是正処理部は、使用者に対して所定の音漏れ是正措置を求めるための通知を上記通知部に行わせることを、上記音漏れ是正処理として実行することを特徴とする請求項1記載の音声処理装置。
It has a notification unit for making notifications recognizable by the user,
2. The sound leak correction processing unit, as the sound leak correction process, causes the notification unit to make a notification for requesting a user for a predetermined sound leak correction measure. The speech processing apparatus according to the description.
上記音漏れ是正処理部は、ヘッドフォンから出力される音声の音量を下げる処理、上記所定の周波数部分を減衰させる処理、上記ヘッドフォンから外部へ出力される音声波形に対して逆位相の音声波形を発生させる処理の、何れかの処理を上記音漏れ是正処理として実行することを特徴とする請求項1記載の音声処理装置。   The sound leakage correction processing unit generates a sound waveform having a phase opposite to the sound waveform output from the headphones to the outside, the process of reducing the volume of the sound output from the headphones, the process of attenuating the predetermined frequency portion The speech processing apparatus according to claim 1, wherein any one of the processes to be performed is executed as the sound leakage correction process. 上記ヘッドフォンからの出力される音声の音量と所定の閾値とを比較し、上記ヘッドフォンから出力される音声の音量が上記所定の閾値以上である時にのみ、上記音漏れ検出部と上記音漏れ是正処理部の機能を有効にする機能設定制御部を有することを特徴とする請求項1記載の音声処理装置。   The sound volume output from the headphones is compared with a predetermined threshold, and the sound leakage detection unit and the sound leakage correction process are performed only when the volume of the sound output from the headphones is equal to or higher than the predetermined threshold. The speech processing apparatus according to claim 1, further comprising a function setting control unit that enables the function of each unit. 音声データ供給部がヘッドフォンへ音声データを供給するステップと、
耳に装着された状態のヘッドフォンから外部へ漏れだした音声を、音漏れ検出部が検出するステップと、
上記音漏れ検出部により上記ヘッドフォンから外部への音声の漏れだしが検出された時、音漏れ是正処理部が、所定の音漏れ是正処理を実行するステップとを有する、
ことを特徴とする音声処理方法。
An audio data supply unit supplying audio data to the headphones;
A step in which the sound leak detection unit detects the sound leaked to the outside from the headphones worn in the ear; and
A sound leakage correction processing unit that executes a predetermined sound leakage correction process when the sound leakage detection unit detects a leakage of sound from the headphones to the outside.
And a voice processing method.
ヘッドフォンへ音声データを供給する音声データ供給部と、
耳に装着された状態のヘッドフォンから外部へ漏れだした音声を検出する処理を実行する音漏れ検出部と、
上記音漏れ検出部により上記ヘッドフォンから外部への音声の漏れだしが検出された時、所定の音漏れ是正処理を実行する音漏れ是正処理部とを有する、
ことを特徴とする携帯端末。
An audio data supply unit for supplying audio data to the headphones;
A sound leak detection unit that performs processing for detecting sound leaked to the outside from the headphones worn in the ear;
A sound leakage correction processing unit that executes a predetermined sound leakage correction process when the sound leakage detection unit detects leakage of sound from the headphones to the outside,
A portable terminal characterized by that.
JP2007206164A 2007-08-08 2007-08-08 Voice processor and processing method, mobile terminal Pending JP2009044365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007206164A JP2009044365A (en) 2007-08-08 2007-08-08 Voice processor and processing method, mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007206164A JP2009044365A (en) 2007-08-08 2007-08-08 Voice processor and processing method, mobile terminal

Publications (1)

Publication Number Publication Date
JP2009044365A true JP2009044365A (en) 2009-02-26

Family

ID=40444641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007206164A Pending JP2009044365A (en) 2007-08-08 2007-08-08 Voice processor and processing method, mobile terminal

Country Status (1)

Country Link
JP (1) JP2009044365A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012244522A (en) * 2011-05-23 2012-12-10 Yamaha Corp Sound reproduction control apparatus
WO2023045697A1 (en) * 2021-09-22 2023-03-30 歌尔股份有限公司 Sound leakage test device and test method
WO2024024412A1 (en) * 2022-07-26 2024-02-01 ソニーグループ株式会社 Audio processing device, information processing method, and earpiece

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012244522A (en) * 2011-05-23 2012-12-10 Yamaha Corp Sound reproduction control apparatus
WO2023045697A1 (en) * 2021-09-22 2023-03-30 歌尔股份有限公司 Sound leakage test device and test method
WO2024024412A1 (en) * 2022-07-26 2024-02-01 ソニーグループ株式会社 Audio processing device, information processing method, and earpiece

Similar Documents

Publication Publication Date Title
JP2007520943A (en) Extended use of phones in noisy environments
JP2009267877A (en) Portable telephone
JP5702251B2 (en) Portable electronic device, audio output method and audio output program
JP2009044365A (en) Voice processor and processing method, mobile terminal
JP2013048387A (en) Portable electronic apparatus, voice output method, and voice output program
KR100705163B1 (en) portable termial and signal transmission method for service the background music
KR20090027817A (en) Method for output background sound and mobile communication terminal using the same
JP2003110666A (en) Electronic equipment
JP5726446B2 (en) Portable electronic devices
JP2006197509A (en) Mobile terminal with broadcasting wave receiving function
KR100678119B1 (en) Method for replaying music file in wireless terminal
JP2006135634A (en) Portable mobile communication terminal device and silent mode setting method
JP2006180122A (en) Mobile terminal and its state indicating method, and computer program of mobile terminal
KR101091245B1 (en) Method for limiting receipt notice in alarm mode of wireless terminal
JP2009018257A (en) Vibrator driving circuit and potable terminal
KR100752599B1 (en) Method for restoring the bass band of the received voice in mobile terminal
JP5535034B2 (en) Portable electronic device and voice control system
KR100790147B1 (en) Apparatus and method for outputting audio file in a wireless mobile terminal
JP2009027578A (en) Information reproduction apparatus and method
KR20030034725A (en) Apparatus and method for automatically adjusting arrival of the bell by surrounding noise degree in wireless telecommunication terminal
JP2009188987A (en) Communication terminal device
JP2006013838A (en) Mobile phone
KR20040095411A (en) Apparatus and method for vibration mode conversion by surrounding noise degree in mobile communication terminal
KR20090011154A (en) Mobile terminal and method for executing conditional manner mode
KR20060007089A (en) Method for editing bell sound in mobile communication terminal

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20091002