JP6661710B2 - Electronic device and control method for electronic device - Google Patents
Electronic device and control method for electronic device Download PDFInfo
- Publication number
- JP6661710B2 JP6661710B2 JP2018146098A JP2018146098A JP6661710B2 JP 6661710 B2 JP6661710 B2 JP 6661710B2 JP 2018146098 A JP2018146098 A JP 2018146098A JP 2018146098 A JP2018146098 A JP 2018146098A JP 6661710 B2 JP6661710 B2 JP 6661710B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- microphone
- time
- speaker
- value
- 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.)
- Active
Links
Images
Landscapes
- Obtaining Desirable Characteristics In Audible-Bandwidth Transducers (AREA)
- Circuit For Audible Band Transducer (AREA)
Description
本発明の実施形態は、話者の方向を推定すると共に、識別したそれぞれの話者の発言時間に対応するオブジェクトを画面に表示する技術に関する。 The embodiment of the present invention relates to a technique for estimating a direction of a speaker and displaying an object corresponding to the speaking time of each identified speaker on a screen.
複数のマイクに入力される音声の周波数成分毎の位相差に基づいて話者の方向を推定する電子機器が開発されている。 2. Description of the Related Art There has been developed an electronic device that estimates a direction of a speaker based on a phase difference for each frequency component of voice input to a plurality of microphones.
ユーザが電子機器を持った状態で音声が集音されると話者の方向を推定する精度が低下することがある。 If voice is collected while the user is holding the electronic device, the accuracy of estimating the direction of the speaker may be reduced.
本発明の目的は、話者の方向を推定すると共に、識別したそれぞれの話者の発言時間に対応するオブジェクトを画面に表示する電子機器および電子機器の制御方法を提供することにある。 An object of the present invention is to provide an electronic device and an electronic device control method for estimating the direction of a speaker and displaying an object corresponding to the speaking time of each identified speaker on a screen.
実施形態の電子機器は、所定の距離をあけて配置された第1のマイク及び第2のマイクと、録音処理手段と、周波数分解手段と、区間検出手段と、発話方向推定手段と、話者クラスタリング手段と、ユーザインタフェース表示処理手段と、加速度を検出する加速度センサと、制御手段と、を具備する。前記録音処理手段は、前記第1のマイク及び前記第2のマイクからの2つの音響信号を録音する。前記周波数分解手段は、前記第1のマイク及び第2のマイクからの2つの音響信号のデジタル化された時系列の振幅データを受けて、前記振幅データの周波数毎のパワー値と位相値とを時系列に生成する。前記区間検出手段は、前記周波数分解手段における前記パワー値と前記位相値の結果に基づいて、音声区間を検出する。前記発話方向推定手段は、前記区間検出手段の検出結果に基づいて、前記音声区間の発話方向を検出する。前記話者クラスタリング手段は、前記発話方向推定手段で検出された前記発話方向の各音源が発した音声の時間的な存在期間に基づいて、時刻毎の話者識別情報を生成する。前記ユーザインタフェース表示処理手段は、前記話者クラスタリング手段からの前記話者識別情報に基づいて、ディスプレイの表示画面にそれぞれの話者の発言時間に対応するオブジェクトを可視的に表示する。前記制御手段は、前記加速度センサから得られる現在の機器の傾きと、話者識別を開始した時の機器の傾きと、の差が閾値を超えているかを判定し、前記差が前記閾値を超えていると判定した場合、前記発話方向推定手段に対し話者識別に係るデータの初期化を要求し、前記差が前記閾値を超えていないと判定し、且つ前記加速度センサから得られる機器のx,y,z軸方向の加速度の値が周期的な値を取るようになった場合、前記録音処理手段、前記周波数分解手段、前記区間検出手段、前記発話方向推定手段、および前記話者クラスタリング手段に処理停止を要求する。 An electronic apparatus according to an embodiment includes a first microphone and a second microphone arranged at a predetermined distance, a recording processing unit, a frequency decomposition unit, a section detection unit, a speech direction estimation unit, a speaker The system includes a clustering unit, a user interface display processing unit, an acceleration sensor for detecting acceleration, and a control unit . The recording processing means records two acoustic signals from the first microphone and the second microphone. The frequency decomposition unit receives digitized time-series amplitude data of two audio signals from the first microphone and the second microphone, and determines a power value and a phase value for each frequency of the amplitude data. Generate in chronological order. It said interval detection means, based on a result of the power value and the phase value of the frequency decomposition unit, for detecting a speech section. The speech direction estimating means based on a detection result of said interval detecting means detects the speech direction of the speech segment. The speaker clustering means, based on the temporal lifetime of the sound the sound of said detected utterance direction by the speech direction estimating means emitted to generate a speaker identification information for each time. The user interface display processing unit, based on said speaker identification information from the speaker clustering means, the corresponding object visibly displayed on speech time of each speaker on the display screen of the display. The control means determines whether the difference between the current device inclination obtained from the acceleration sensor and the device inclination at the start of speaker identification exceeds a threshold value, and the difference exceeds the threshold value. When it is determined that the speech direction is estimated, the utterance direction estimating means is required to initialize data relating to speaker identification, it is determined that the difference does not exceed the threshold, and x of the device obtained from the acceleration sensor is determined. , Y, z-axis direction takes a periodic value, the recording processing means, the frequency decomposition means, the section detection means, the speech direction estimation means, and the speaker clustering means Request to stop processing.
以下、実施の形態について図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
先ず、図1を参照して、本実施形態の電子機器の構成を説明する。この電子機器は、携帯型の端末、たとえば、タブレット型パーソナルコンピュータ、ラップトップ型またはノートブック型のパーソナルコンピュータ、PDA、として実現し得る。以下では、この電子機器がタブレット型パーソナルコンピュータ10(以下、コンピュータ10と称す。)として実現されている場合を想定する。 First, the configuration of the electronic device of the present embodiment will be described with reference to FIG. The electronic device can be realized as a portable terminal, for example, a tablet personal computer, a laptop or notebook personal computer, or a PDA. Hereinafter, it is assumed that the electronic device is realized as a tablet personal computer 10 (hereinafter, referred to as a computer 10).
図1は、コンピュータ10の外観を示す図である。このコンピュータ10は、コンピュータ本体11と、タッチスクリーンディスプレイ17とから構成される。コンピュータ本体11は薄い箱形の筐体を有している。タッチスクリーンディスプレイ17はコンピュータ本体11の表面上に配置される。タッチスクリーンディスプレイ17は、フラットパネルディスプレイ(たとえば、液晶表示装置(LCD))と、タッチパネルとを備える。タッチパネルは、LCDの画面を覆うように設けられる。タッチパネルは、ユーザの指またはペンによってタッチされたタッチスクリーンディスプレイ17上の位置を検出するように構成されている。
FIG. 1 is a diagram illustrating an appearance of the
図2は、コンピュータ10のシステム構成を示すブロック図である。
コンピュータ10は、図2に示されるように、タッチスクリーンディスプレイ17、CPU101、システムコントローラ102、主メモリ103、グラフィクスコントローラ104、BIOS−ROM105、不揮発性メモリ106、エンベデッドコントローラ(EC)108、マイク109A,109B、および加速度センサ110等を備える。
FIG. 2 is a block diagram illustrating a system configuration of the
As shown in FIG. 2, the
CPU101は、コンピュータ10内の各種モジュールの動作を制御するプロセッサである。CPU101は、ストレージデバイスである不揮発性メモリ106から揮発性メモリである主メモリ103にロードされる各種ソフトウェアを実行する。これらソフトウェアには、オペレーティングシステム(OS)200、および各種アプリケーションプログラムが含まれている。各種アプリケーションプログラムには、録音アプリケーション300が含まれている。
The
また、CPU101は、BIOS−ROM105に格納された基本入出力システム(BIOS)も実行する。BIOSは、ハードウェア制御のためのプログラムである。
The
システムコントローラ102は、CPU101のローカルバスと各種コンポーネントとの間を接続するデバイスである。システムコントローラ102には、主メモリ103をアクセス制御するメモリコントローラも内蔵されている。また、システムコントローラ102は、PCI EXPRESS規格のシリアルバスなどを介してグラフィクスコントローラ104との通信を実行する機能も有している。
The
グラフィクスコントローラ104は、本コンピュータ10のディスプレイモニタとして使用されるLCD17Aを制御する表示コントローラである。このグラフィクスコントローラ104によって生成される表示信号はLCD17Aに送られる。LCD17Aは、表示信号に基づいて画面イメージを表示する。このLCD17A上にはタッチパネル17Bが配置されている。タッチパネル17Bは、LCD17Aの画面上で入力を行うための静電容量式のポインティングデバイスである。指が接触される画面上の接触位置および接触位置の動き等はタッチパネル17Bによって検出される。
The
EC108は、電力管理のためのエンベデッドコントローラを含むワンチップマイクロコンピュータである。EC108は、ユーザによるパワーボタンの操作に応じて本コンピュータ10を電源オンまたは電源オフする機能を有している。
The EC 108 is a one-chip microcomputer including an embedded controller for power management. The EC 108 has a function of turning on or off the power of the
加速度センサ110は、電子機器10にかかるx,y,z軸方向の加速度を検出する。
x,y,z軸方向の加速度を検出することで、電子機器10の向きを検出することが可能である。
The
The direction of the
図3は、録音アプリケーション300の機能ブロック図である。
周波数分解部301、音声区間検出部302、発話方向推定部303、話者クラスタリング部304、ユーザインタフェース表示処理部305、録音処理部306、および制御部307等を備えている。
FIG. 3 is a functional block diagram of the
It includes a
録音処理部306は、マイク109A,マイク109Bから入力された音声データに対して、圧縮処理等を施して音声データをストレージデバイス106に格納することによって、録音処理を行う。
The
制御部307は、録音アプリケーション300の各部の動作を制御することが可能である。
The
[周波数成分毎の位相差に基づく音源推定の基本概念]
マイク109Aとマイク109Bは、空気などの媒質中に所定の距離をあけて配置された2つのマイクロホンであり、異なる2地点での媒質振動(音波)をそれぞれ電気信号(音響信号)に変換するための手段である。以後、マイク109Aとマイク109Bとをひとまとめに扱う場合、これをマイクロホン対と呼ぶことにする。
[Basic concept of sound source estimation based on phase difference for each frequency component]
The
音響信号入力部は、マイク109Aとマイク109Bによる2つの音響信号を所定のサンプリング周期Frで定期的にA/D変換することで、マイク109Aとマイク109Bによる2つの音響信号403、404のデジタル化された振幅データを時系列的に生成する。
The acoustic signal input unit digitizes the two
マイクロホン間距離に比べて十分遠い場所に音源が位置していることを仮定すると、図4(A)に示すように、音源400から発してマイクロホン対に到達する音波の波面401はほぼ平面となる。マイク109Aとマイク109Bとを用いることにより異なる2地点でこの平面波を観測すると、マイク109Aとマイク109Bとを結ぶ線分402(これをベースラインと呼ぶ)に対する音源400の方向Rに応じて、マイクロホン対で変換される音響信号に所定の到達時間差ΔTが観測されるはずである。なお、音源が十分遠いとき、この到達時間差ΔTが0になるのは、音源400がベースライン402に垂直な平面上に存在するときであり、この方向をマイクロホン対の正面方向と定義する。
Assuming that the sound source is located far enough than the distance between the microphones, as shown in FIG. 4A, the wavefront 401 of the sound wave emitted from the sound source 400 and reaching the microphone pair is substantially flat. . When this plane wave is observed at two different points by using the
[周波数分解部]
さて、振幅データを周波数成分に分解する一般的な手法として高速フーリエ変換(FFT)がある。代表的なアルゴリズムとしては、Cooley−TurkeyDFTアルゴリズムなどが知られている。
[Frequency decomposition unit]
Now, there is a fast Fourier transform (FFT) as a general method for decomposing the amplitude data into frequency components. As a typical algorithm, a Cooley-Turkey DFT algorithm or the like is known.
周波数分解部301は、図5に示すように、上記音響信号入力部による振幅データ410について、連続するN個の振幅データをフレーム(T番目のフレーム411)として抜き出して高速フーリエ変換を行うとともに、この抜き出し位置をフレームシフト量413ずつずらしながら繰り返す(T+1番目のフレーム412)。
As shown in FIG. 5, the
フレームを構成する振幅データは、図6(A)に示すように窓掛け601を施された後、高速フーリエ変換602がなされる。この結果、入力されたフレームの短時間フーリエ変換データが実部バッファR[N]と虚部バッファI[N](603)に生成される。なお、窓掛け関数(Hamming窓掛けあるいはHanning窓掛け)605の一例を図6(B)に示す。
As shown in FIG. 6A, the amplitude data forming the frame is windowed 601 and then subjected to the
ここで生成される短時間フーリエ変換データは、当該フレームの振幅データをN/2個の周波数成分に分解したデータであり、k番目の周波数成分fkについてバッファ603内の実部R[k]と虚部I[k]の数値が、図6(C)に示すように複素座標系604上の点Pkを表す。このPkの原点Oからの距離の2乗が当該周波数成分のパワーPo(fk)であり、Pkの実部軸からの符号付き回転角度θ{θ:−π>θ≧π[ラジアン]}が当該周波数成分の位相Ph(fk)である。
The short-time Fourier transform data generated here is data obtained by decomposing the amplitude data of the frame into N / 2 frequency components, and the real part R [k] in the
サンプリング周波数がFr[Hz]、フレーム長がN[サンプル]のとき、kは0から(N/2)−1までの整数値をとり、k=0が0[Hz](直流)、k=(N/2)−1がFr/2[Hz](最も高い周波数成分)を表し、その間を周波数分解能Δf=(Fr/2)÷((N/2)−1)[Hz]で等分したものが各kにおける周波数となり、fk=k・Δfで表される。 When the sampling frequency is Fr [Hz] and the frame length is N [sample], k takes an integer value from 0 to (N / 2) -1, k = 0 is 0 [Hz] (DC), k = (N / 2) -1 represents Fr / 2 [Hz] (highest frequency component), and the interval is equally divided by frequency resolution Δf = (Fr / 2) ÷ ((N / 2) -1) [Hz]. Is the frequency at each k, and is represented by fk = k · Δf.
なお、前述したように、周波数分解部301はこの処理を所定の間隔(フレームシフト量Fs)を空けて連続的に行うことで、入力振幅データの周波数毎のパワー値と位相値とからなる周波数分解データセットを時系列的に生成する。
As described above, the
[音声区間検出部]
音声区間検出部302は、周波数分解部301による結果に基づいて、音声区間を検出する。
[Voice section detector]
Voice
[発話方向推定部]
発話方向推定部303は、音声区間検出部302の検出結果に基づいて、音声区間の発話方向を検出する。
図7は、発話方向推定部303の機能ブロック図である。
発話方向推定部303は、2次元データ化部701と、図形検出部702と、音源情報生成部703と、出力部704とを具備する。
[Speech direction estimation unit]
The utterance
FIG. 7 is a functional block diagram of the speech
The utterance
(2次元データ化部と図形検出部)
図8に示すように、2次元データ化部701は位相差算出部801と座標値決定部802とを具備する。図形検出部702は投票部811と直線検出部812とを具備する。
(2D data conversion unit and figure detection unit)
As shown in FIG. 8, the two-dimensional
[位相差算出部]
位相差算出部801は、周波数分解部301により得られた同時期の2つの周波数分解データセットaとbとを比較して、同じ周波数成分毎に両者の位相値の差を計算して得たab間位相差データを生成する。例えば図9に示すように、ある周波数成分fkの位相差ΔPh(fk)は、マイク109Aにおける位相値Ph1(fk)とマイク109Bにおける位相値Ph2(fk)との差を計算し、その値が{ΔPh(fk):−π<ΔPh(fk)≦π}に収まるように、2πの剰余系として算定する。
[Phase difference calculator]
The phase
[座標値決定部]
座標値決定部802は、位相差算出部801により得られた位相差データを元に、各周波数成分に両者の位相値の差を計算して得た位相差データを所定の2次元のXY座標系上の点として扱うための座標値を決定する手段である。ある周波数成分fkの位相差ΔPh(fk)に対応するX座標値x(fk)とY座標値y(fk)は、図10に示す式によって決定される。X座標値は位相差ΔPh(fk)、Y座標値は周波数成分番号kである。
[Coordinate value determination unit]
Based on the phase difference data obtained by the phase
[投票部]
投票部811は、座標値決定部802によって(x,y)座標を与えられた各周波数成分に対して、直線ハフ変換を適用し、その軌跡をハフ投票空間に所定の方法で投票する手段である。
[Voting Department]
The
[直線検出部]
直線検出部812は、投票部811によって生成されたハフ投票空間上の得票分布を解析して有力な直線を検出する手段である。
[Line detector]
The straight line detecting unit 812 is a unit that analyzes the vote distribution in the Hough voting space generated by the
[音源情報生成部]
図11に示すように、音源情報生成部703は、方向推定部1111と、音源成分推定部1112と、音源音再合成部1113と、時系列追跡部1114と、継続時間評価部1115と、同相化部1116と、適応アレイ処理部1117と、音声認識部1118とを具備する。
[Sound source information generator]
As shown in FIG. 11, the sound source
[方向推定部]
方向推定部1111は、以上で述べた直線検出部812による直線検出結果、すなわち直線群毎のθ値を受けて、各直線群に対応した音源の存在範囲を計算する。このとき、検出された直線群の数が音源の数(全候補)となる。マイクロホン対のベースラインに対して音源までの距離が十分遠い場合、音源の存在範囲はマイクロホン対のベースラインに対してある角度を持った円錐面となる。これを図12を参照して説明する。
[Direction estimation unit]
The
マイク109Aとマイク109Bの到達時間差ΔTは±ΔTmaxの範囲で変化し得る。図12(A)のように、正面から入射する場合、ΔTは0となり、音源の方位角φは正面を基準にした場合0°となる。また、図12(B)のように音声が右真横、すなわちマイク109B方向から入射する場合、ΔTは+ΔTmaxに等しく、音源の方位角φは正面を基準にして右回りを正として+90°となる。同様に、図12(C)のように音声が左真横、すなわちマイク109A方向から入射する場合、ΔTは−ΔTmaxに等しく、方位角φは−90°となる。このように、ΔTを音が右から入射するとき正、左から入射するとき負となるように定義する。
The arrival time difference ΔT between the
以上を踏まえて図12(D)のような一般的な条件を考える。マイク109Aの位置をA、マイク109Bの位置をBとし、音声が線分PA方向から入射すると仮定すると、△PABは頂点Pが直角となる直角三角形となる。このとき、マイク間中心O、線分OCをマイクロホン対の正面方向として、OC方向を方位角0°とした左回りを正にとる角度を方位角φと定義する。△QOBは△PABの相似形となるので、方位角φの絶対値は∠OBQ、すなわち∠ABPに等しく、符号はΔTの符号に一致する。また、∠ABPはPAとABの比のsin−1として計算可能である。このとき、線分PAの長さをこれに相当するΔTで表すと、線分ABの長さはΔTmaxに相当する。したがって、符号も含めて、方位角はφ=sin−1(ΔT/ΔTmax)として計算することができる。そして、音源の存在範囲は点Oを頂点、ベースラインABを軸として、(90−φ)°開いた円錐面1200として推定される。音源はこの円錐面1200上のどこかにある。
Based on the above, a general condition as shown in FIG. Assuming that the position of the
図13に示すように、ΔTmaxはマイク間距離L[m]を音速Vs[m/sec]で割った値である。このとき、音速Vsは気温t[℃]の関数として近似できることが知られている。今、直線検出部812によって直線1300がハフの傾きθで検出されているとする。この直線1300は右に傾いているのでθは負値である。y=k(周波数fk)のとき、直線1300で示される位相差ΔPhはkとθの関数としてk・tan(−θ)で求めることができる。このときΔT[sec]は、位相差ΔPh(θ,k)の2πに対する割合を、周波数fkの1周期(1/fk)[sec]に乗じた時間となる。θが符号付きの量なので、ΔTも符号付きの量となる。すなわち、図12(D)で音が右から入射する(位相差ΔPhが正値となる)とき、θは負値となる。また、図12(D)で音が左から入射する(位相差ΔPhが負値となる)とき、θは正値となる。そのために、θの符号を反転させている。なお、実際の計算においては、k=1(直流成分k=0のすぐ上の周波数)で計算を行えば良い。
As shown in FIG. 13, ΔTmax is a value obtained by dividing the distance L [m] between microphones by the sound speed Vs [m / sec]. At this time, it is known that the sound speed Vs can be approximated as a function of the temperature t [° C.]. Now, it is assumed that the straight line detection unit 812 has detected the
[音源成分推定部]
音源成分推定部1112は、座標値決定部802により与えられた周波数成分毎の(x,y)座標値と、直線検出部812により検出された直線との距離を評価することで、直線近傍に位置する点(すなわち周波数成分)を当該直線(すなわち音源)の周波数成分として検出し、この検出結果に基づいて音源毎の周波数成分を推定する。
[Sound source component estimation unit]
The sound source
[音源音再合成部]
音源音再合成部1113は、各音源音を構成する同一取得時刻の周波数成分を逆FFT処理することによって、当該時刻を開始時刻とするフレーム区間の当該音源音(振幅データ)を再合成する。図5に図示したように、1つのフレームは次のフレームとフレームシフト量だけの時間差をおいて重複している。このように複数のフレームで重複している区間では、重複する全てのフレームの振幅データを平均して最終的な振幅データと成すことができる。このような処理によって、音源音をその振幅データとして分離抽出することが可能になる。
[Sound source resynthesis unit]
The sound source
[時系列追跡部]
投票部811によるハフ投票毎に直線検出部812により直線群が求められる。ハフ投票は連続するm回(m≧1)のFFT結果についてまとめて行われる。この結果、直線群はmフレーム分の時間を周期(これを「図形検出周期」と呼ぶことにする)として時系列的に求められることになる。また、直線群のθは方向推定部1111により計算される音源方向φと1対1に対応しているので、音源が静止していても移動していても、安定な音源に対応しているθ(あるいはφ)の時間軸上の軌跡は連続しているはずである。一方、直線検出部812により検出された直線群の中には、閾値の設定具合によって背景雑音に対応する直線群(これを「雑音直線群」と呼ぶことにする)が含まれていることがある。しかしながら、このような雑音直線群のθ(あるいはφ)の時間軸上の軌跡は連続していないか、連続していても短いことが期待できる。
[Time series tracking unit]
A straight line group is obtained by the straight line detecting unit 812 for each Hough voting by the
時系列追跡部1114は、このように図形検出周期毎に求められるφを時間軸上で連続なグループに分けることで、φの時間軸上の軌跡を求める手段である。
The time-
[継続時間評価部]
継続時間評価部1115は、時系列追跡部1114により出力された追跡の満了した軌跡データの開始時刻と終了時刻から当該軌跡の継続時間を計算し、この継続時間が所定閾値を越えるものを音源音に基づく軌跡データと認定し、それ以外を雑音に基づく軌跡データと認定する。音源音に基づく軌跡データを音源ストリーム情報と呼ぶことにする。音源ストリーム情報には、当該音源音の開始時刻Ts、終了時刻Te、当該音源方向を表すθとρとφの時系列的な軌跡データが含まれる。なお、図形検出部702による直線群の数が音源の数を与えるが、そこには雑音源も含まれている。継続時間評価部1115による音源ストリーム情報の数は、雑音に基づくものを除いた信頼できる音源の数を与えてくれる。
[Duration evaluation section]
The
[同相化部]
同相化部1116は、時系列追跡部1114による音源ストリーム情報を参照することで、当該ストリームの音源方向φの時間推移を得て、φの最大値φmaxと最小値φminから中間値φmid=(φmax+φmin)/2を計算して幅φw=φmax−φmidを求める。そして、当該音源ストリーム情報の元となった2つの周波数分解データセットaとbの時系列データを、当該ストリームの開始時刻Tsより所定時間遡った時刻から終了時刻Teより所定時間経過した時刻まで抽出して、中間値φmidで逆算される到達時間差をキャンセルするように補正することで同相化する。
[In-phase part]
The in-
あるいは、方向推定部1111による各時刻の音源方向φをφmidとして、2つの周波数分解データセットaとbの時系列データを常時同相化することもできる。音源ストリーム情報を参照するか、各時刻のφを参照するかは動作モードで決定され、この動作モードはパラメータとして設定・変更可能である。
Alternatively, the
[適応アレイ処理部]
適応アレイ処理部1117は、抽出・同相化された2つの周波数分解データセットaとbの時系列データを、正面0°に中心指向性を向け、±φwに所定のマージンを加えた値を追従範囲とする適応アレイ処理に掛けることで、当該ストリームの音源音の周波数成分の時系列データを高精度に分離抽出する。この処理は方法こそ異なるが、周波数成分の時系列データを分離抽出する点において音源成分推定部1112と同様の働きをする。それ故、音源音再合成部1113は、適応アレイ処理部1117による音源音の周波数成分の時系列データからも、その音源音の振幅データを再合成することができる。
[Adaptive array processing unit]
The adaptive
なお、適応アレイ処理としては、参考文献3「天田皇ほか“音声認識のためのマイクロホンアレー技術”,東芝レビュー2004,VOL.59,NO.9,2004」に記載のように、それ自体がビームフォーマの構成方法として知られている「Griffith−Jim型一般化サイドローブキャンセラ」を主副2つに用いるなど、設定された指向性範囲内の音声を明瞭に分離抽出する方法を適用することができる。 As the adaptive array processing, as described in Reference 3, “Amada et al.,“ Microphone Array Technology for Voice Recognition ”, Toshiba Review 2004, VOL.59, NO. It is possible to apply a method of clearly separating and extracting voices within a set directivity range, such as using a “Griffith-Jim type generalized side lobe canceller” known as a method of forming a former for two main and sub-formers. it can.
通常、適応アレイ処理を用いる場合、事前に追従範囲を設定し、その方向からの音声のみを待ち受ける使い方をするため、全方位からの音声を待ち受けるためには追従範囲を異ならせた多数の適応アレイを用意する必要があった。一方、本実施形態では、実際に音源の数とその方向を求めたうえで、音源数に応じた数の適応アレイだけを稼動させることができ、その追従範囲も音源の方向に応じた所定の狭い範囲に設定することができるので、音声を効率良くかつ品質良く分離抽出できる。 Normally, when using adaptive array processing, a tracking range is set in advance, and it is used to listen only to sound from that direction.To wait for sound from all directions, a large number of adaptive arrays with different tracking ranges are used. Had to be prepared. On the other hand, in the present embodiment, after actually obtaining the number of sound sources and their directions, it is possible to operate only the number of adaptive arrays corresponding to the number of sound sources, and the following range is also a predetermined range according to the direction of the sound sources. Since it can be set in a narrow range, speech can be separated and extracted efficiently and with good quality.
また、このとき、事前に2つの周波数分解データセットaとbの時系列データを同相化することで、適応アレイ処理における追従範囲を正面付近にのみ設定するだけで、あらゆる方向の音を処理できるようになる。 Also, at this time, by making the time-series data of the two frequency-resolved data sets a and b in phase in advance, it is possible to process sounds in all directions only by setting the tracking range in the adaptive array processing only near the front. Become like
[音声認識部]
音声認識部1118は、音源成分推定部1112もしくは適応アレイ処理部1117により抽出された音源音の周波数成分の時系列データを解析照合することで、当該ストリームの記号的な内容、すなわち、言語的な意味や音源の種別や話者の別を表す記号(列)を抽出する。
[Speech recognition unit]
The
なお、方向推定部1111から音声認識部1118までの各機能ブロックは、必要に応じて図11に図示しない結線によって情報のやりとりが可能であるものとする。
It is assumed that each functional block from the
出力部704は、音源情報生成部703による音源情報として、図形検出部702による直線群の数として得られる音源の数、方向推定部1111により推定される、音響信号の発生源たる各音源の空間的な存在範囲(円錐面を決定させる角度φ)、音源成分推定部1112により推定される、各音源が発した音声の成分構成(周波数成分毎のパワーと位相の時系列データ)、音源音再合成部1113により合成される、音源毎に分離された分離音声(振幅値の時系列データ)、時系列追跡部1114と継続時間評価部1115とに基づいて決定される、雑音源を除く音源の数、時系列追跡部1114と継続時間評価部1115とにより決定される、各音源が発した音声の時間的な存在期間、同相化部1116と適応アレイ処理部1117とにより求められる、音源毎の分離音声(振幅値の時系列データ)、音声認識部1118により求められる、各音源音声の記号的内容、の少なくとも1つを含む情報を出力する手段である。
The
[話者クラスタリング部]
話者クラスタリング部304は、出力部704から出力された、各音源が発した音声の時間的な存在期間等に基づいて、時刻毎の話者識別情報310を生成する。話者識別情報310は、発言開始時刻および発言開始時刻に対して話者が関連付けた情報を有する。
[Speaker clustering unit]
The
[ユーザインタフェース表示処理部]
ユーザインタフェース表示処理部305は、上述した音響信号処理に必要な各種設定内容の利用者への呈示、利用者からの設定入力受理、設定内容の外部記憶装置への保存と外部記憶装置からの読み出しを実行したり、(1)マイク毎の周波数成分の表示、(2)位相差(あるいは時間差)プロット図の表示(すなわち2次元データの表示)、(3)各種得票分布の表示、(4)極大位置の表示、(5)プロット図上の直線群の表示、(6)直線群に帰属する周波数成分の表示、(7)軌跡データの表示、のように各種処理結果や中間結果を可視化して利用者に呈示したり、所望のデータを利用者に選択させてより詳細に可視化するための手段である。このようにすることで、利用者が本実施形態に係る音響信号処理装置の働きを確認したり、所望の動作を行ない得るように調整したり、以後は調整済みの状態で本装置を利用したりすることが可能になる。
[User interface display processing unit]
The user interface
ユーザインタフェース表示処理部305は、話者識別情報310に基づいて、例えば図14に示す画面をLCD17Aに表示する。
The user interface
LCD17Aの上部には、話者Aを示すオブジェクト1401,話者Bを示すオブジェクト1402,話者Cを示すオブジェクト1403が示されている。LCD17Aの下部には、それぞれ話者の発言時間に対応するオブジェクト1413A,1411A,1413B,1412,1411Bが表示されている。オブジェクト1411A,1411Bは話者Aの発言時間に対応し、オブジェクト1401に対応する色で表示されている。オブジェクト1412は話者Bの発言時間に対応し、オブジェクト1402に対応する色で表示されている。オブジェクト1413A,1413Bは話者Cの発言時間に対応し、オブジェクト1403に対応する色で表示されている。発言があると、オブジェクト1413A,1411A,1413B,1412,1411Bが右から左へと時間と共に流れて表示されている。
An
ところで、マイク間距離の位相差を利用した話者識別は端末が録音中に移動されると精度が低下する。本装置は、加速度センサ110から得られるx,y,z軸方向の加速度および端末の傾きを話者識別に用いることで精度低下による利便性低下を抑制する。
By the way, the accuracy of speaker identification using the phase difference of the distance between the microphones decreases when the terminal is moved during recording. The present apparatus suppresses a decrease in convenience due to a decrease in accuracy by using the acceleration in the x, y, and z directions and the inclination of the terminal obtained from the
制御部307は、前記加速度センサによって検出された加速度に応じて、話者の方向を推定する処理に係るデータの初期化を発話方向推定部303に要求する。
The
図15は、話者識別に係るデータを初期化する手順を示すフローチャートである。 FIG. 15 is a flowchart illustrating a procedure for initializing data relating to speaker identification.
制御部307は、加速度センサ110から得られる現在の機器10の傾きと話者識別を開始した時の機器10の傾きとの差が閾値を超えているかを判定する(ステップB11)。閾値を超えていると判定した場合(ステップB11のYes)、制御部307は、話者識別に係るデータの初期化を発話方向推定部303に要求する(ステップB12)。発話方向推定部303は、話者識別に係るデータを初期化する(ステップB13)。そして、発話方向推定部303は、発話方向推定部303内の各部によって新たに生成されたデータに基づいて話者識別処理を行う。
The
初期状態を超えていないと判定した場合(ステップB12のNo)、制御部307は、
加速度センサ110から得られる機器10のx,y,z軸方向の加速度の値が周期的な値を取るようになったかを判定する(ステップB14)。加速度の値が周期的な値を取るようになったと判定した場合(ステップB13のYes)、制御部307は、録音処理部306に録音処理の停止を要求する(ステップB15)。また、制御部307は、周波数分解部301、音声区間検出部302、発話方向推定部303、および話者クラスタリング部304に処理の停止を要求する。録音処理部306は、録音処理を停止する(ステップB16)。周波数分解部301、音声区間検出部302、発話方向推定部303、および話者クラスタリング部304は、処理を停止する。
When it is determined that the initial state has not been exceeded (No in step B12), the
It is determined whether the acceleration values in the x, y, and z directions of the
本実施形態によれば、加速度センサ110によって検出された加速度に応じて、話者の方向を推定する処理に係るデータの初期化を発話方向推定部303に要求することで、ユーザが持った状態で音声が集音されていても、話者の方向を推定する精度が低下することを抑制することが可能になる。
According to the present embodiment, the state held by the user is requested by requesting the utterance
なお、本実施形態の各種処理はコンピュータプログラムによって実現することができるので、このコンピュータプログラムを格納したコンピュータ読み取り可能な記憶媒体を通じてこのコンピュータプログラムをコンピュータにインストールして実行するだけで、本実施形態と同様の効果を容易に実現することができる。 Since the various processes of the present embodiment can be realized by a computer program, the computer program is only installed and executed on a computer through a computer-readable storage medium storing the computer program. A similar effect can be easily realized.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are provided by way of example and are not intended to limit the scope of the invention. These new embodiments can be implemented in other various forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and their equivalents.
10…タブレット型パーソナルコンピュータ(電子機器)、101…CPU、103…主メモリ、106…ストレージデバイス、108…エンベデッドコントローラ、109A…マイク、109B…マイク、110…加速度センサ、200…オペレーティングシステム、300…録音アプリケーション、301…周波数分解部、302…音声区間検出部、303…発話方向推定部、304…話者クラスタリング部、305…ユーザインタフェース表示処理部、306…録音処理部、307…制御部 Reference Signs List 10: tablet personal computer (electronic device), 101: CPU, 103: main memory, 106: storage device, 108: embedded controller, 109A: microphone, 109B: microphone, 110: acceleration sensor, 200: operating system, 300: Recording application, 301: frequency decomposition unit, 302: voice section detection unit, 303: speech direction estimation unit, 304: speaker clustering unit, 305: user interface display processing unit, 306: recording processing unit, 307: control unit
Claims (2)
前記第1のマイク及び前記第2のマイクからの2つの音響信号を録音する録音処理手段と、
前記第1のマイク及び第2のマイクからの2つの音響信号のデジタル化された時系列の振幅データを受けて、前記振幅データの周波数毎のパワー値と位相値とを時系列に生成する周波数分解手段と、
前記周波数分解手段における前記パワー値と前記位相値の結果に基づいて、音声区間を検出する区間検出手段と、
前記区間検出手段の検出結果に基づいて、前記音声区間の発話方向を検出する発話方向推定手段と、
前記発話方向推定手段で検出された前記発話方向の各音源が発した音声の時間的な存在期間に基づいて、時刻毎の話者識別情報を生成する話者クラスタリング手段と、
前記話者クラスタリング手段からの前記話者識別情報に基づいて、ディスプレイの表示画面にそれぞれの話者の発言時間に対応するオブジェクトを可視的に表示するユーザインタフェース表示処理手段と、
加速度を検出する加速度センサと、
前記加速度センサから得られる現在の機器の傾きと、話者識別を開始した時の機器の傾きと、の差が閾値を超えているかを判定し、前記差が前記閾値を超えていると判定した場合、前記発話方向推定手段に対し話者識別に係るデータの初期化を要求し、前記差が前記閾値を超えていないと判定し、且つ前記加速度センサから得られる機器のx,y,z軸方向の加速度の値が周期的な値を取るようになった場合、前記録音処理手段、前記周波数分解手段、前記区間検出手段、前記発話方向推定手段、および前記話者クラスタリング手段に処理停止を要求する制御手段と、
を具備する電子機器。 A first microphone and a second microphone arranged at a predetermined distance,
Recording processing means for recording two acoustic signals from the first microphone and the second microphone,
A frequency that receives digitized time-series amplitude data of two acoustic signals from the first microphone and the second microphone, and generates a power value and a phase value for each frequency of the amplitude data in a time-series. Disassembly means;
Based on the result of the power value and the phase value in the frequency decomposition means, a section detection means for detecting a voice section,
An utterance direction estimating means for detecting an utterance direction of the voice section based on a detection result of the section detecting means;
Speaker clustering means for generating speaker identification information for each time based on the temporal existence period of the sound emitted by each sound source in the speech direction detected by the speech direction estimation means,
Based on the speaker identification information from the speaker clustering means, a user interface display processing means for visually displaying an object corresponding to the speaking time of each speaker on a display screen of a display,
An acceleration sensor for detecting acceleration;
It is determined whether the difference between the current device inclination obtained from the acceleration sensor and the device inclination at the start of the speaker identification exceeds a threshold value, and it is determined that the difference exceeds the threshold value. In this case, the utterance direction estimating means is requested to initialize data relating to speaker identification, it is determined that the difference does not exceed the threshold value, and the x, y, z axes of a device obtained from the acceleration sensor are determined. When the value of the direction acceleration takes a periodic value, the recording processing unit, the frequency decomposition unit, the section detection unit, the speech direction estimation unit, and the speaker clustering unit are requested to stop processing. Control means for performing
An electronic device comprising:
前記第1のマイク及び第2のマイクからの2つの音響信号のデジタル化された時系列の振幅データを受けて、前記振幅データの周波数毎のパワー値と位相値とを時系列に生成し、
生成された前記パワー値と前記位相値の結果に基づいて、音声区間を検出し、
検出された前記音声区間の発話方向を検出し、
検出された前記発話方向の各音源が発した音声の時間的な存在期間に基づいて、時刻毎の話者識別情報を生成し、
生成された前記話者識別情報に基づいて、ディスプレイの表示画面にそれぞれの話者の発言時間に対応するオブジェクトを可視的に表示し、
加速度を検出する加速度センサから得られる現在の機器の傾きと、話者識別を開始した時の機器の傾きと、の差が閾値を超えているかを判定し、
前記差が前記閾値を超えていると判定した場合、話者識別に係るデータの初期化を要求し、
前記差が前記閾値を超えていないと判定し、且つ前記加速度センサから得られる機器のx,y,z軸方向の加速度の値が周期的な値を取るようになった場合、前記録音することを停止、並びに前記話者識別情報の生成に関する各処理を停止する
電子機器の制御方法。 Recording two acoustic signals from a first microphone and a second microphone arranged at a predetermined distance ;
Receiving digitized time-series amplitude data of two acoustic signals from the first microphone and the second microphone , generating a power value and a phase value for each frequency of the amplitude data in a time-series,
Based on a result of the generated power value and the phase value, a voice section is detected,
Detecting the speech direction of the detected voice section,
Based on the temporal existence period of the sound emitted from each sound source in the detected speech direction, speaker identification information for each time is generated,
Based on the generated speaker identification information, an object corresponding to the speaking time of each speaker is visually displayed on a display screen of a display ,
Determine whether the difference between the current device inclination obtained from the acceleration sensor that detects the acceleration and the device inclination at the start of speaker identification exceeds the threshold,
If it is determined that the difference exceeds the threshold, request initialization of the data related to the speaker identification,
When it is determined that the difference does not exceed the threshold value and the acceleration values in the x, y, and z directions of the device obtained from the acceleration sensor take periodic values, the recording is performed. And an electronic device control method for stopping each process related to generation of the speaker identification information .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018146098A JP6661710B2 (en) | 2018-08-02 | 2018-08-02 | Electronic device and control method for electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018146098A JP6661710B2 (en) | 2018-08-02 | 2018-08-02 | Electronic device and control method for electronic device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014071634A Division JP6385699B2 (en) | 2014-03-31 | 2014-03-31 | Electronic device and control method of electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018189985A JP2018189985A (en) | 2018-11-29 |
| JP6661710B2 true JP6661710B2 (en) | 2020-03-11 |
Family
ID=64478607
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018146098A Active JP6661710B2 (en) | 2018-08-02 | 2018-08-02 | Electronic device and control method for electronic device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6661710B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113362851A (en) * | 2020-03-06 | 2021-09-07 | 上海其高电子科技有限公司 | Traffic scene sound classification method and system based on deep learning |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3906230B2 (en) * | 2005-03-11 | 2007-04-18 | 株式会社東芝 | Acoustic signal processing apparatus, acoustic signal processing method, acoustic signal processing program, and computer-readable recording medium recording the acoustic signal processing program |
| JP4964204B2 (en) * | 2008-08-27 | 2012-06-27 | 日本電信電話株式会社 | Multiple signal section estimation device, multiple signal section estimation method, program thereof, and recording medium |
| JP5022387B2 (en) * | 2009-01-27 | 2012-09-12 | 日本電信電話株式会社 | Clustering calculation apparatus, clustering calculation method, clustering calculation program, and computer-readable recording medium recording the program |
| WO2011133924A1 (en) * | 2010-04-22 | 2011-10-27 | Qualcomm Incorporated | Voice activity detection |
-
2018
- 2018-08-02 JP JP2018146098A patent/JP6661710B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018189985A (en) | 2018-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250006219A1 (en) | Voice onset detection | |
| CN109599124B (en) | Audio data processing method, device and storage medium | |
| JP3906230B2 (en) | Acoustic signal processing apparatus, acoustic signal processing method, acoustic signal processing program, and computer-readable recording medium recording the acoustic signal processing program | |
| JP4247195B2 (en) | Acoustic signal processing apparatus, acoustic signal processing method, acoustic signal processing program, and recording medium recording the acoustic signal processing program | |
| US9953634B1 (en) | Passive training for automatic speech recognition | |
| US9131295B2 (en) | Multi-microphone audio source separation based on combined statistical angle distributions | |
| US20140135962A1 (en) | Sound Alignment using Timing Information | |
| JP6385699B2 (en) | Electronic device and control method of electronic device | |
| US12217751B2 (en) | Digital signal processor-based continued conversation | |
| US12494192B2 (en) | Techniques for audio feature detection | |
| US20140316783A1 (en) | Vocal keyword training from text | |
| US12499882B2 (en) | Low-latency conversational large language models | |
| CN113053368A (en) | Speech enhancement method, electronic device, and storage medium | |
| CN108962241A (en) | Position indicating method, device, storage medium and electronic equipment | |
| CN108900965A (en) | Position prompting method and device, storage medium and electronic equipment | |
| Christensen | Multi-channel maximum likelihood pitch estimation | |
| Zhao et al. | A survey on automatic emotion recognition using audio big data and deep learning architectures | |
| Rosenzweig et al. | libf0: A Python library for fundamental frequency estimation | |
| JP4812302B2 (en) | Sound source direction estimation system, sound source direction estimation method, and sound source direction estimation program | |
| JP6661710B2 (en) | Electronic device and control method for electronic device | |
| CN114121024B (en) | Wake-up identification method, audio device and audio device group | |
| US20190385590A1 (en) | Generating device, generating method, and non-transitory computer readable storage medium | |
| CN116848537A (en) | Systems and methods for data enhancement and speech processing in dynamic acoustic environments | |
| JP4455551B2 (en) | Acoustic signal processing apparatus, acoustic signal processing method, acoustic signal processing program, and computer-readable recording medium recording the acoustic signal processing program | |
| CN114694667A (en) | Voice output method, device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180802 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20181206 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20181207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190625 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190709 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190826 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200121 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200212 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6661710 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |