JP2014229965A - Sound source position display device, sound source position display method and program - Google Patents

Sound source position display device, sound source position display method and program Download PDF

Info

Publication number
JP2014229965A
JP2014229965A JP2013105900A JP2013105900A JP2014229965A JP 2014229965 A JP2014229965 A JP 2014229965A JP 2013105900 A JP2013105900 A JP 2013105900A JP 2013105900 A JP2013105900 A JP 2013105900A JP 2014229965 A JP2014229965 A JP 2014229965A
Authority
JP
Japan
Prior art keywords
localization information
sound source
power spectrum
display
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013105900A
Other languages
Japanese (ja)
Other versions
JP6226224B2 (en
Inventor
南高 純一
Junichi Minamitaka
純一 南高
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013105900A priority Critical patent/JP6226224B2/en
Publication of JP2014229965A publication Critical patent/JP2014229965A/en
Application granted granted Critical
Publication of JP6226224B2 publication Critical patent/JP6226224B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To achieve a sound source position display device which makes the position of each sound source, changing in time series, quite obvious.SOLUTION: A CPU 10 acquires the localization information pan from the power spectra of L channel and R channel, obtained by performing frequency analysis (fast Fourier transformation) of the acoustic waveform data of L channel and R channel, and displays the work spectra, having display colors differentiated depending on the localization information pan thus acquired, on a screen in the time series order from the head to the tail of a melody, thus making the position of each sound source, changing in time series, quite obvious.

Description

本発明は、ステレオ音場における音源の位置を一目瞭然にする音源位置表示装置、音源位置表示方法およびプログラムに関する。   The present invention relates to a sound source position display device, a sound source position display method, and a program that make the position of a sound source in a stereo sound field clear.

ステレオ音場における音源の位置を可視化表示する技術が知られている。例えば特許文献1には、入力楽音信号から抽出される各周波数帯域毎の定位情報で定まる2次元平面(定位軸−周波数軸平面)において、各周波数帯域毎のレベル分布を、当該2次元平面の高さ方向となるレベル軸で3次元座標で表現し、そのレベル軸(高さ方向)を区別可能な態様で画面表示させることによってボーカルや楽器などの音源の存在領域を視認させる技術が開示されている。   A technique for visualizing and displaying the position of a sound source in a stereo sound field is known. For example, Patent Document 1 discloses a level distribution for each frequency band in a two-dimensional plane (localization axis-frequency axis plane) determined by localization information for each frequency band extracted from an input musical sound signal. A technique is disclosed in which the existence area of a sound source such as a vocal or a musical instrument is visually recognized by expressing the level axis (height direction) on the screen in a distinguishable manner by expressing the level axis (height direction) with a level axis that is the height direction. ing.

特開2011−158674号公報JP 2011-158664 A

ところで、上記特許文献1に開示の技術では、2次元平面(定位軸−周波数軸平面)の高さ方向で各周波数帯域毎のレベル分布を表現するので、ボーカルや楽器単位の存在領域がグループ化した状態で画面表示される。この為、入力される音響信号に従って時系列に変化する各音源の位置を一目瞭然にすることが出来ないという問題が有る。   By the way, in the technique disclosed in Patent Document 1, since the level distribution for each frequency band is expressed in the height direction of a two-dimensional plane (localization axis-frequency axis plane), vocal and instrument unit existence areas are grouped. Displayed on the screen. For this reason, there exists a problem that the position of each sound source which changes in time series according to the input acoustic signal cannot be made clear at a glance.

本発明は、このような事情に鑑みてなされたもので、時系列に変化する各音源の位置を一目瞭然にすることが出来る音源位置表示装置、音源位置表示方法およびプログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and it is an object of the present invention to provide a sound source position display device, a sound source position display method, and a program capable of making the position of each sound source changing in time series clear. Yes.

上記目的を達成するため、本発明の音源位置表示装置は、音響波形データからパワースペクトルを取得するパワー取得手段と、前記パワー取得手段により取得されたパワースペクトルから定位情報を取得する定位情報取得手段と、前記定位情報取得手段により取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示手段とを具備することを特徴とする。   In order to achieve the above object, a sound source position display device according to the present invention includes a power acquisition unit that acquires a power spectrum from acoustic waveform data, and a localization information acquisition unit that acquires localization information from the power spectrum acquired by the power acquisition unit. And display means for displaying a power spectrum having a different display color according to the localization information acquired by the localization information acquisition means.

また、本発明の音源位置表示方法では、音響波形データからパワースペクトルを取得し、取得したパワースペクトルから定位情報を取得し、取得した定位情報に応じて表示色を異ならせたパワースペクトルを表示することを特徴とする。   In the sound source position display method of the present invention, the power spectrum is acquired from the acoustic waveform data, the localization information is acquired from the acquired power spectrum, and the power spectrum with different display colors is displayed according to the acquired localization information. It is characterized by that.

更に、本発明のプログラムでは、コンピュータに、音響波形データからパワースペクトルを取得するパワー取得ステップと、前記パワー取得ステップで取得されたパワースペクトルから定位情報を取得する定位情報取得ステップと、前記定位情報取得ステップで取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示ステップとを実行させることを特徴とする。   Furthermore, in the program of the present invention, the computer acquires a power acquisition step for acquiring a power spectrum from acoustic waveform data, a localization information acquisition step for acquiring localization information from the power spectrum acquired in the power acquisition step, and the localization information And a display step of displaying a power spectrum having a different display color according to the localization information acquired in the acquisition step.

本発明では、時系列に変化する各音源の位置を一目瞭然にすることが出来る。   In the present invention, the position of each sound source that changes in time series can be made clear at a glance.

本発明の第1実施形態による音源位置表示装置100の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a sound source position display device 100 according to a first embodiment of the present invention. RAM12のワークエリアWEの構成を示すメモリマップである。3 is a memory map showing a configuration of a work area WE of a RAM 12; 色相テーブルCTの一例を示す図である。It is a figure which shows an example of the hue table CT. 色相テーブルCTの他の一例を示す図である。It is a figure which shows another example of hue table CT. 色相テーブルCTの他の一例を示す図である。It is a figure which shows another example of hue table CT. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. 分析処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an analysis process. 表示処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a display process. 色値算出処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a color value calculation process. 色値算出処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a color value calculation process. 第1実施形態における音源位置表示の一例を示す図である。It is a figure which shows an example of the sound source position display in 1st Embodiment. 第2実施形態におけるRAM12のワークエリアWEの構成を示すメモリマップである。It is a memory map which shows the structure of the work area WE of RAM12 in 2nd Embodiment. 第2実施形態の色補正テーブルRTの一例を示す図である。It is a figure which shows an example of the color correction table RT of 2nd Embodiment. 第2実施形態の色補正テーブルRTの他の一例を示す図である。It is a figure which shows another example of the color correction table RT of 2nd Embodiment. 第2実施形態による表示処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the display process by 2nd Embodiment. 第2実施形態による色補正処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the color correction process by 2nd Embodiment. 第2実施形態における音源位置表示の一例を示す図である。It is a figure which shows an example of the sound source position display in 2nd Embodiment.

以下、図面を参照して本発明の実施形態について説明する。
[第1実施形態]
A.構成
図1は、本発明の第1実施形態による音源位置表示装置100の全体構成を示すブロック図である。この図に示す音源位置表示装置100は、CPU10、ROM11、RAM12、入力手段13、表示手段14、音響出力手段15および音響入力手段16を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
A. Configuration FIG. 1 is a block diagram showing an overall configuration of a sound source position display device 100 according to a first embodiment of the present invention. The sound source position display device 100 shown in this figure includes a CPU 10, ROM 11, RAM 12, input means 13, display means 14, sound output means 15, and sound input means 16.

CPU10は、入力手段13を介してユーザにより入力されるコマンドに応じて装置各部を制御する。ユーザにより入力されるコマンドの種類には、処理終了を指示する終了コマンド、再生機能の実行を指示する再生コマンド、音響入力機能の実行を指示する音響入力コマンド、演奏入力機能の実行を指示する演奏入力コマンド、本発明の要旨に係わる音源位置表示機能の実行を指示する音源位置表示コマンドがある。   The CPU 10 controls each part of the apparatus according to a command input by the user via the input unit 13. The types of commands input by the user include an end command for instructing the end of processing, a playback command for instructing execution of a playback function, an acoustic input command for instructing execution of an acoustic input function, and a performance instructing execution of a performance input function There are an input command and a sound source position display command for instructing execution of a sound source position display function according to the gist of the present invention.

再生機能とは、後述する音響入力機能により取り込んだ音響波形データや、後述する演奏入力機能により取り込んだ演奏データ(MIDIデータ)を、音響出力手段15から再生出力させる機能である。音響入力機能とは、音響入力手段14によって、ステレオ音場として収音したステレオ成分の音響信号をサンプリングし、これにより得られる音響波形データ(Lチャンネル、Rチャンネル)をRAM12の波形データエリアに保存する機能である。演奏入力機能とは、入力手段13を介して外部MIDI楽器から入力される演奏データ(MIDIデータ)を取り込んでRAM12の演奏データエリアに保存する機能である。   The reproduction function is a function for reproducing and outputting from the sound output means 15 acoustic waveform data captured by an acoustic input function described later and performance data (MIDI data) captured by a performance input function described later. The sound input function samples the sound signal of the stereo component picked up as a stereo sound field by the sound input means 14 and stores the sound waveform data (L channel, R channel) obtained thereby in the waveform data area of the RAM 12. It is a function to do. The performance input function is a function for capturing performance data (MIDI data) input from an external MIDI instrument via the input means 13 and storing it in the performance data area of the RAM 12.

音源位置表示機能とは、音響入力機能によってRAM12に保存された音響波形データ(Lチャンネル、Rチャンネル)に周波数分析(高速フーリエ変換FFT)を施してパワースペクトル(LチャンネルおよびRチャンネル)を取得すると共に、LチャンネルおよびRチャンネルのパワースペクトルから定位情報panを取得し、取得した定位情報panに応じてパワースペクトルの表示色を変化させ、それを時間軸(横軸)および周波数軸(縦軸)とした表示画面に表示する機能である。こうして、定位情報panに応じて表示色が変化するパワースペクトルを時系列順に画面表示することで時系列に変化する各音源の位置を一目瞭然にすることが可能になる。   The sound source position display function obtains a power spectrum (L channel and R channel) by performing frequency analysis (Fast Fourier Transform FFT) on the acoustic waveform data (L channel, R channel) stored in the RAM 12 by the acoustic input function. In addition, the localization information pan is acquired from the power spectra of the L channel and the R channel, and the display color of the power spectrum is changed according to the acquired localization information pan, and the time axis (horizontal axis) and the frequency axis (vertical axis) are changed. This is a function for displaying on the display screen. In this way, the power spectrum whose display color changes according to the localization information pan is displayed on the screen in time series order, so that the position of each sound source that changes in time series can be made clear at a glance.

ROM11には、上述した再生機能、音響入力機能、演奏入力機能および音源位置表示機能を具現する各種プログラム(後述するメインルーチン、分析処理、表示処理および色値算出処理を含む)が記憶される。RAM12は、音響入力機能によって取り込んだ音響波形データ(Lチャンネル、Rチャンネル)を保存する音響波形データや、演奏入力機能によって取り込んだ演奏データ(MIDIデータ)を保存するデータエリア(不図示)の他、CPU10の作業エリアとして各種レジスタ・フラグデータを一時記憶するワークエリアWEを備える。   The ROM 11 stores various programs (including a main routine, analysis processing, display processing, and color value calculation processing described later) that implement the above-described playback function, sound input function, performance input function, and sound source position display function. The RAM 12 stores acoustic waveform data (L channel, R channel) captured by the acoustic input function and a data area (not shown) for storing performance data (MIDI data) captured by the performance input function. A work area WE for temporarily storing various register / flag data is provided as a work area of the CPU 10.

ここで、図2を参照して、RAM12が備えるワークエリアWEに一時記憶される主要なレジスタデータ(変数)について説明する。図2は、主に音源位置表示機能を具現する際に使われるレジスタデータ(変数)である。レジスタdoData[n]には、1フレーム分のパワースペクトル値がストアされる。但し、レジスタdoData[n]の前半(0〜iFrame2−1)には、Rチャンネルのパワースペクトル値がストアされ、レジスタdoData[n]の後半(iFrame2〜iFrame2×2)には、Lチャンネルのパワースペクトル値がストアされる。   Here, with reference to FIG. 2, main register data (variables) temporarily stored in the work area WE provided in the RAM 12 will be described. FIG. 2 shows register data (variables) used mainly when realizing the sound source position display function. The register doData [n] stores a power spectrum value for one frame. However, the power spectrum value of the R channel is stored in the first half (0 to iFrame2-1) of the register doData [n], and the power of the L channel is stored in the second half (iFrame2 to iFrame2 × 2) of the register doData [n]. The spectral value is stored.

レジスタdには、モノラル化したパワースペクトル値がストアされる。レジスタdfrには、ポインタjに対応する周波数(後述する)がストアされる。レジスタiFrame2には、フレーム長さ(分析窓幅)の半分の長さがストアされる。レジスタdoFsには、音響波形データ(Lチャンネル、Rチャンネル)のサンプリング周波数がストアされる。レジスタtimenには、時間軸における表示幅(表示領域の幅)に相当するフレーム数がストアされる。レジスタiHeightには、表示領域の高さ(周波数を対数表示する縦軸の範囲)がストアされる。   The register d stores a monaural power spectrum value. The register dfr stores a frequency (described later) corresponding to the pointer j. A half of the frame length (analysis window width) is stored in the register iFrame2. The register doFs stores the sampling frequency of the acoustic waveform data (L channel, R channel). The number of frames corresponding to the display width on the time axis (the width of the display area) is stored in the register timen. The register iHeight stores the height of the display area (the range of the vertical axis for logarithmically displaying the frequency).

レジスタwidthには、時間軸の表示幅(表示ピクセル数)がストアされる。レジスタres100centには、表示分解能に相当する半音分の表示ピクセル数がストアされる。レジスタpanには、左右両チャンネルのパワースペクトルの差分を、左右両チャンネルのパワースペクトルの和で乗算して得られる定位情報がストアされる。以下、レジスタpanの値を定位情報panと称す。定位情報panは、左端Leftで「−1.0」、中央Centerで「0.0」、右端Rightで「1.0」となる。   The register width stores the display width (number of display pixels) of the time axis. The register res100cent stores the number of display pixels corresponding to a semitone corresponding to the display resolution. The register pan stores localization information obtained by multiplying the difference between the power spectra of the left and right channels by the sum of the power spectra of both the left and right channels. Hereinafter, the value of the register pan is referred to as localization information pan. The localization information pan is “−1.0” at the left end Left, “0.0” at the center Center, and “1.0” at the right end Right.

レジスタpan、peakPosShfitR、peakPosShiftL、brightness、brightnessOffsetは、色相テーブルCTの色相特性を設定する。色相テーブルCTとは、パワースペクトルをカラー表示する際の色(色相)を、定位情報panに応じて変換する。すなわち、定位情報panを読み出しアドレスとして、対応する色値(r(赤),g(緑),b(青))を読み出すデータテーブルである。   The registers pan, peakPosShfitR, peakPosShiftL, brightness, brightnessOffset set the hue characteristics of the hue table CT. The hue table CT converts the color (hue) when the power spectrum is displayed in color according to the localization information pan. That is, this is a data table for reading corresponding color values (r (red), g (green), b (blue)) using the localization information pan as a read address.

ここで、図3に図示する色相テーブルCTの一例を参照して、当該色相テーブルCTの色相特性を設定するレジスタpeakPosShfitR、peakPosShiftL、brightness、brightnessOffsetについて説明する。図3に図示する色相テーブルCTには、定位情報panに応じて色値(r,g,b)を決める色関数(R関数、G関数、B関数)が設けられる。なお、図3に図示する色値(r,g,b)は、「1」を最大値として正規化している。   Here, with reference to an example of the hue table CT illustrated in FIG. 3, the registers peakPosShfitR, peakPosShiftL, brightness, and brightnessOffset for setting the hue characteristics of the hue table CT will be described. The hue table CT shown in FIG. 3 is provided with color functions (R function, G function, B function) that determine color values (r, g, b) according to the localization information pan. Note that the color values (r, g, b) illustrated in FIG. 3 are normalized with “1” as the maximum value.

図3に図示する一例の場合、R関数は中央(定位情報pan=0)の色値rを最大値「1」とする2つの直線から構成される。すなわち左端(定位関数pan=−1.0)においてレジスタbrightnessで指定される値(もしくはレジスタbrightnessOffsetで指定されるオフセット値)から中央(定位情報pan=0)の色値r「1」に至る傾きを有する第1の直線と、右端(定位情報pan=1.0)においてレジスタbrightnessで指定される値(もしくはレジスタbrightnessOffsetで指定されるオフセット値)から中央(定位情報pan=0)の色値r「1」に至る傾きを有する第2の直線とから構成される。   In the example illustrated in FIG. 3, the R function includes two straight lines having the maximum color value r at the center (localization information pan = 0). That is, the slope from the value specified by the register brightness (or the offset value specified by the register brightnessOffset) to the center (positioning information pan = 0) color value r “1” at the left end (the localization function pan = −1.0). And the color value r in the center (orientation information pan = 0) from the value designated by the register brightness (or the offset value designated by the register brightnessOffset) at the right end (orientation information pan = 1.0). And a second straight line having an inclination reaching “1”.

G関数は、レジスタpeakPosShfitRの値で指定される定位位置の色値gを最大値「1」とし、R関数と同じ傾きを有する第1および第2の直線から構成される。なお、G関数を構成する第1の直線は、色値g(最大値)「1」から「0」までの値域に対応する定義域(定位情報pan)を有する。一方、G関数を構成する第2の直線は、レジスタpeakPosShfitRの値で指定される定位位置から右端(定位情報pan=1.0)までの定義域に対応する値域を有する。   The G function is composed of first and second straight lines having the maximum value “1” as the color value g at the localization position specified by the value of the register peakPosShfitR and having the same inclination as the R function. The first straight line constituting the G function has a definition area (localization information pan) corresponding to a value range from a color value g (maximum value) “1” to “0”. On the other hand, the second straight line constituting the G function has a value range corresponding to the definition range from the localization position specified by the value of the register peakPosShfitR to the right end (localization information pan = 1.0).

B関数は、レジスタpeakPosShfitLの値で指定される定位位置の色値bを最大値「1」とし、R関数と同じ傾きを有する第1および第2の直線から構成される。なお、B関数を構成する第1の直線は、レジスタpeakPosShfitLの値で指定される定位位置から左端(定位情報pan=−1.0)までの定義域に対応する値域を有する。一方、B関数を構成する第2の直線は、色値b(最大値)「1」から「0」までの値域に対応する定義域(定位情報pan)を有する。   The B function is composed of first and second straight lines having the maximum value “1” as the color value b at the localization position specified by the value of the register peakPosShfitL and having the same slope as the R function. The first straight line constituting the B function has a value range corresponding to the definition range from the localization position designated by the value of the register peakPosShfitL to the left end (localization information pan = −1.0). On the other hand, the second straight line constituting the B function has a definition area (localization information pan) corresponding to a color value b (maximum value) “1” to “0”.

さて、このような色相特性を有する色相テーブルCTにおいて、例えば入力する定位情報panの値が「0.5」の場合には、図3に図示する当該色相テーブルCTから色値(r1,g1,b1)が出力される。色相テーブルCTの色相特性は、分析対象となる音楽(音響信号)の種類に応じて調整する。具体的には、G関数およびB関数の最大値位置と第1および第2の直線の傾きを異ならせる。G関数およびB関数の最大値位置を変えることでパワースペクトルの表示色を異ならせ、これにより音源位置を浮かび上がらせるように表示することが可能になる。   In the hue table CT having such hue characteristics, for example, when the value of the localization information pan to be input is “0.5”, the color values (r1, g1, b1) is output. The hue characteristics of the hue table CT are adjusted according to the type of music (acoustic signal) to be analyzed. Specifically, the maximum value positions of the G function and the B function are made different from the slopes of the first and second straight lines. By changing the maximum value position of the G function and the B function, the display color of the power spectrum can be made different, and thereby the sound source position can be displayed so as to emerge.

G関数およびB関数における第1および第2の直線の傾きは、音源の広がりに合わせて調整する。第1および第2の直線の傾きを急峻にすると、ピアノなど広がり幅が大きい音源を捉えきれなくなり、一方、なだらかな傾きにすれば、トランペットなど広がり幅の狭い音源を捉え難くなる為、ある程度の広がり幅の音源を捉えつつ広がり幅の狭い音源も捕捉可能な傾きを経験的に見つけることになる。   The slopes of the first and second straight lines in the G function and the B function are adjusted according to the spread of the sound source. If the slopes of the first and second straight lines are steep, it will not be possible to capture a sound source with a large spread, such as a piano. While capturing a sound source with a broad width, an inclination that can capture a sound source with a narrow width is empirically found.

例えば、図3に図示した色相テーブルCTよりも、RGB各関数を構成する第1および第2の直線の傾きを大きくした場合には、図4に図示する色相特性の色相テーブルCTとなる。さらに、図4に図示する色相テーブルCTにおいて、G関数の最大値を左端(定位情報pan=−1.0)、B関数の最大値を右端(定位情報pan=1.0)に設定した場合には、図5に図示する色相特性の色相テーブルCTとなる。   For example, when the slopes of the first and second straight lines constituting the RGB functions are made larger than the hue table CT shown in FIG. 3, the hue table CT having the hue characteristics shown in FIG. 4 is obtained. Further, in the hue table CT shown in FIG. 4, the maximum value of the G function is set to the left end (localization information pan = −1.0), and the maximum value of the B function is set to the right end (localization information pan = 1.0). Is a hue table CT of hue characteristics shown in FIG.

次に、再び図1を参照して実施形態の構成について説明を進める。図1において、入力手段13は、前述した各種コマンド(終了コマンド、再生コマンド、音響入力コマンド、演奏入力コマンドおよび音源位置表示コマンド)を入力する各種操作子や、演奏入力用の鍵盤およびMIDIインタフェース(不図示)を備える。   Next, the configuration of the embodiment will be described with reference to FIG. 1 again. In FIG. 1, an input means 13 includes various operators for inputting the various commands described above (end command, playback command, sound input command, performance input command and sound source position display command), a performance input keyboard and MIDI interface ( (Not shown).

表示手段14は、CPU10から供給される表示制御信号に基づき、定位情報panに応じて表示色が変化するパワースペクトルを時系列順に画面表示する。なお、表示画面は、後述するように、横軸を時間軸、縦軸を対数周波数軸とする。時間軸の長さは分析対象とした音楽一曲分に相当し、対数周波数軸の範囲は、88鍵のピアノにおける半音分の周波数を分解能res100centとする為、都合88×分解能res100cent以上の表示領域となる。   Based on the display control signal supplied from the CPU 10, the display unit 14 displays the power spectrum whose display color changes according to the localization information pan on the screen in chronological order. As will be described later, the horizontal axis of the display screen is a time axis, and the vertical axis is a logarithmic frequency axis. The length of the time axis corresponds to one piece of music to be analyzed, and the range of the logarithmic frequency axis is a display area of 88 × resolution res100 cent or more for convenience because the frequency of a semitone in an 88-key piano is resolution rescent It becomes.

音響出力手段15は、音源装置、D/A変換器、ノイズ除去用のフィルタ、アンプおよびステレオ再生用スピーカから構成される。この音響出力手段15が音響波形データを再生する場合には、CPU10の制御の下にRAM12のデータエリアから読み出される音響波形データ(Lチャンネル、Rチャンネル)をD/A変換器にてアナログ信号形式に変換した後、ノイズ除去用のフィルタおよびアンプを介してステレオ再生用スピーカから放音出力する。一方、音響出力手段15が演奏データを再生する場合には、CPU10の制御の下にRAM12のデータエリアから読み出される演奏データに基づき音源装置が楽音波形データを発生し、この楽音波形データをD/A変換器にてアナログ信号形式に変換した後、ノイズ除去用のフィルタおよびアンプを介してステレオ再生用スピーカから放音出力する。   The sound output unit 15 includes a sound source device, a D / A converter, a noise removal filter, an amplifier, and a stereo reproduction speaker. When the sound output means 15 reproduces sound waveform data, the sound waveform data (L channel, R channel) read from the data area of the RAM 12 under the control of the CPU 10 is converted into an analog signal format by the D / A converter. Then, the sound is output from the stereo reproduction speaker via a noise removal filter and an amplifier. On the other hand, when the sound output means 15 reproduces the performance data, the tone generator generates musical sound waveform data based on the performance data read from the data area of the RAM 12 under the control of the CPU 10, and this musical sound waveform data is converted into D / D. After conversion to an analog signal format by the A converter, sound is output from a stereo reproduction speaker via a noise removal filter and an amplifier.

音響入力手段16は、ステレオ録音用のマイク、アンプおよびA/D変換器から構成される。音響入力手段16は、CPU10の制御の下に、ステレオ音場として収音したステレオ成分の音響信号をサンプリングし、これにより得られる音響波形データ(Lチャンネル、Rチャンネル)をRAM12の波形データエリアに記憶する。   The acoustic input means 16 includes a stereo recording microphone, an amplifier, and an A / D converter. The sound input means 16 samples a stereo component sound signal collected as a stereo sound field under the control of the CPU 10, and stores sound waveform data (L channel, R channel) obtained thereby in the waveform data area of the RAM 12. Remember.

B.動作
次に、図6〜図11を参照して、上記構成による音源位置表示装置100のCPU10が実行するメインルーチン、分析処理、表示処理および色値算出処理の各動作を説明する。
B. Operations Next, operations of the main routine, analysis processing, display processing, and color value calculation processing executed by the CPU 10 of the sound source position display device 100 configured as described above will be described with reference to FIGS.

(1)メインルーチンの動作
図6は、メインルーチンの動作を示すフローチャートである。音源位置表示装置100がパワーオン(電源投入)されると、CPU10は図6に図示するメインルーチンを実行し、ステップSA1に進み、装置各部を初期化する。続いて、ステップSA2〜SA6では、入力手段13を介してユーザ操作により入力されるコマンドの種類(終了コマンド、再生コマンド、音響入力コマンド、演奏入力コマンドおよび音源位置表示コマンド)を判別する。コマンド入力されなければ、ステップSA2〜SA6の各判断結果が何れも「NO」となり、コマンド入力待ちの状態で待機する。
(1) Operation of Main Routine FIG. 6 is a flowchart showing the operation of the main routine. When the sound source position display device 100 is powered on (powered on), the CPU 10 executes a main routine shown in FIG. 6 and proceeds to step SA1 to initialize each part of the device. Subsequently, in steps SA2 to SA6, the type of command (end command, playback command, sound input command, performance input command, and sound source position display command) input by the user operation via the input means 13 is determined. If no command is input, the determination results in steps SA2 to SA6 are all “NO”, and the apparatus waits in a state waiting for command input.

そして、コマンド入力待ちの状態において、再生コマンドが入力された場合には、ステップSA3の判断結果が「YES」になり、ステップSA7に進み、後述のステップSA8(音響入力処理)にて取り込んだ音響波形データや、後述のステップSA9(演奏入力処理)にて取り込んだ演奏データ(MIDIデータ)を、音響出力手段15から再生出力する再生処理を実行した後、上記ステップSA2に処理を戻す。   If a playback command is input while waiting for command input, the determination result in step SA3 is “YES”, the process proceeds to step SA7, and the sound captured in step SA8 (acoustic input processing) described later is acquired. After executing the reproduction process of reproducing and outputting the waveform data and the performance data (MIDI data) acquired in step SA9 (performance input process) described later from the sound output means 15, the process returns to step SA2.

音響入力コマンドが入力された場合には、ステップSA4の判断結果が「YES」になり、ステップSA8に進み、音響入力手段14を用い、ステレオ音場として収音したステレオ成分の音響信号をサンプリングし、これにより得られる音響波形データ(Lチャンネル、Rチャンネル)をRAM12の波形データエリアに保存する音響入力処理を実行した後、上記ステップSA2に処理を戻す。   If the sound input command is input, the determination result in step SA4 is “YES”, and the process proceeds to step SA8, where the sound input means 14 is used to sample the stereo component sound signal collected as a stereo sound field. After executing the acoustic input process for storing the acoustic waveform data (L channel, R channel) obtained in this manner in the waveform data area of the RAM 12, the process returns to step SA2.

演奏入力コマンドが入力された場合には、ステップSA5の判断結果が「YES」になり、ステップSA9に進み、入力手段13を介して外部MIDI楽器から入力される演奏データ(MIDIデータ)を取り込んでRAM12の演奏データエリアに保存する演奏入力処理を実行した後、上記ステップSA2に処理を戻す。   If a performance input command is input, the determination result in step SA5 is “YES”, and the process proceeds to step SA9, where performance data (MIDI data) input from an external MIDI instrument is input via the input means 13. After performing the performance input process stored in the performance data area of the RAM 12, the process returns to step SA2.

音源位置表示コマンドが入力された場合には、ステップSA6の判断結果が「YES」になり、ステップSA10に進み、音響入力処理(ステップSA6)においてRAM12に保存された音響波形データ(Lチャンネル、Rチャンネル)を読み出す。   When the sound source position display command is input, the determination result in step SA6 is “YES”, the process proceeds to step SA10, and the acoustic waveform data (L channel, R) stored in the RAM 12 in the acoustic input process (step SA6). Channel).

次いで、ステップSA11では、読み出した音響波形データ(Lチャンネル、Rチャンネル)に周波数分析(高速フーリエ変換FFT)を施してパワースペクトル(LチャンネルおよびRチャンネル)を取得し、取得したLチャンネルおよびRチャンネルのパワースペクトルから定位情報panを取得する分析処理を実行する。   Next, in step SA11, frequency analysis (fast Fourier transform FFT) is performed on the read acoustic waveform data (L channel, R channel) to obtain a power spectrum (L channel and R channel), and the acquired L channel and R channel are obtained. An analysis process for acquiring the localization information pan from the power spectrum is executed.

続いて、ステップSA12では、取得した定位情報panに応じてパワースペクトルの表示色を変化させ、それを時間軸(横軸)および対数周波数軸(縦軸)とした表示画面に表示する表示処理を実行した後、上記ステップSA2に処理を戻す。そして、終了コマンドが入力されると、ステップSA2の判断結果が「YES」になり、本ルーチンを終了する。   Subsequently, in step SA12, display processing for changing the display color of the power spectrum according to the acquired localization information pan and displaying it on the display screen with the time axis (horizontal axis) and the logarithmic frequency axis (vertical axis) is performed. After execution, the process returns to step SA2. When the end command is input, the determination result in step SA2 is “YES”, and this routine is ended.

(2)分析処理の動作
次に、図7を参照して分析処理の動作を説明する。上述したメインルーチンのステップSA11(図6参照)を介して本処理が実行されると、CPU10は、図7に図示するステップSB1に進み、ポインタiをゼロリセットする。なお、ポインタiは、「0」の場合にLチャンネルの音響波形データを指定し、「1」の場合にRチャンネルの音響波形データを指定する。
(2) Analysis Processing Operation Next, the analysis processing operation will be described with reference to FIG. When this process is executed via step SA11 (see FIG. 6) of the main routine described above, the CPU 10 proceeds to step SB1 shown in FIG. 7 and resets the pointer i to zero. When the pointer i is “0”, the acoustic waveform data of the L channel is designated, and when the pointer i is “1”, the acoustic waveform data of the R channel is designated.

続いて、ステップSB2では、ポインタiが「2」より小さいか否か、すなわち左右両チャンネルの音響波形データについて分析し終えたかどうかを判断する。ポインタiが「2」より小さく、左右両チャンネルの音響波形データについて分析し終えていなければ、判断結果は「YES」になり、ステップSB3に進み、ポインタjをゼロリセットする。   Subsequently, in step SB2, it is determined whether or not the pointer i is smaller than “2”, that is, whether or not the analysis of the acoustic waveform data of both the left and right channels has been completed. If the pointer i is smaller than “2” and the analysis of the acoustic waveform data of the left and right channels has not been completed, the determination result is “YES”, the process proceeds to step SB3, and the pointer j is reset to zero.

なお、ポインタjは、分析フレームの切り出し数(オーバーラップ数)を表す。本実施形態では、一つのチャンネルの音響波形データについて、2つのフレーム(j=0,1)で重複切り出しする態様としている。したがって、このステップSB4では、一つのチャンネルの音響波形データについて分析し終えたかどうかを判断する。   The pointer j represents the number of analysis frames cut out (the number of overlaps). In the present embodiment, the acoustic waveform data of one channel is duplicated in two frames (j = 0, 1). Therefore, in this step SB4, it is determined whether or not the analysis of the acoustic waveform data of one channel has been completed.

そして、ポインタiが「2」より小さく、、一つのチャンネルの音響波形データについて分析し終えていなければ、判断結果が「YES」になり、ステップSB5に進む。ステップSB5では、ポインタiで指定されるチャンネルの音響波形データに対し、ポインタj番目のフレームの切り出しを行い、続くステップSB6では、それに窓関数(例えばハニング窓関数)を乗算する。   If the pointer i is smaller than “2” and the analysis of the acoustic waveform data of one channel is not completed, the determination result is “YES”, and the flow proceeds to Step SB5. In step SB5, the pointer j-th frame is cut out from the acoustic waveform data of the channel specified by the pointer i, and in the subsequent step SB6, it is multiplied by a window function (for example, Hanning window function).

次いで、ステップSB7では、ポインタj番目のフレームにより切り出されて窓関数が乗算された音響波形データに対してFFT(高速フーリエ変換)を施し、続くステップSB8では、FFTで得られた実数部と虚数部の二乗和平方根を算出してパワースペクトル値を取得する。そして、ステップSB9では、取得したパワースペクトル値をRAM12のレジスタdoDataにストアする。続いて、ステップSB10に進み、ポインタjをインクリメントして歩進させた後、上述のステップSB4に処理を戻す。   Next, in step SB7, FFT (Fast Fourier Transform) is performed on the acoustic waveform data cut out by the pointer j-th frame and multiplied by the window function. In subsequent step SB8, the real part and the imaginary number obtained by FFT are applied. The power spectrum value is obtained by calculating the root sum square. In step SB9, the acquired power spectrum value is stored in the register doData of the RAM 12. Subsequently, the process proceeds to step SB10, the pointer j is incremented and incremented, and the process returns to step SB4 described above.

そして、歩進されたポインタjの値が「2」より小さい場合、すなわち一つのチャンネルの音響波形データについて分析し終えていなければ、上記ステップSB4の判断結果が「YES」となり、上述したステップSB5〜SB10を繰り返す。これにより、Lチャンネルの音響波形データについてパワースペクトル値を取得し終える。   If the value of the incremented pointer j is smaller than “2”, that is, if the analysis of the acoustic waveform data of one channel has not been completed, the determination result in Step SB4 is “YES”, and Step SB5 described above is performed. Repeat SB10. This completes the acquisition of the power spectrum value for the L-channel acoustic waveform data.

さて、こうしてLチャンネルの音響波形データのパワースペクトル値を取得し終え、これに応じて歩進されたポインタjの値が「2」になったとする。そうすると、上記ステップSB4の判断結果が「NO」になり、ステップSB11に進み、ポインタiをインクリメントして歩進させた後、前述のステップSB2に処理を戻す。歩進されたポインタiの値が「2」より小さい場合、すなわち左右両チャンネルの音響波形データについて分析し終ていなければ、上記ステップSB2の判断結果が「YES」になり、ステップSB3に進み、ポインタjをゼロリセットする。   Now, suppose that the acquisition of the power spectrum value of the acoustic waveform data of the L channel is completed in this way, and the value of the pointer j advanced in accordance with this has become “2”. Then, the determination result in step SB4 becomes “NO”, the process proceeds to step SB11, the pointer i is incremented and stepped, and then the process returns to step SB2. If the value of the incremented pointer i is smaller than “2”, that is, if the analysis of the acoustic waveform data of both the left and right channels has not been completed, the determination result in step SB2 is “YES”, and the process proceeds to step SB3. The pointer j is reset to zero.

以後、Rチャンネルの音響波形データについて、2つのフレーム(j=0,1)で重複切り出しするパワースペクトル分析を行うべく、上記ステップSB4〜SB10の処理を繰り返し実行してRチャンネルの音響波形データから取得したパワースペクトル値をRAM12のレジスタdoDataにストアする。そして、上記ステップSB4〜SB10の処理を繰り返して歩進されたポインタjの値が「2」になると、上記ステップSB2の判断結果が「NO」になり、本処理を終える。   Thereafter, the R channel acoustic waveform data is repeatedly executed from the R channel acoustic waveform data by repeatedly executing the processing of steps SB4 to SB10 in order to perform power spectrum analysis for overlapping and cutting out in two frames (j = 0, 1). The acquired power spectrum value is stored in the register doData of the RAM 12. Then, when the value of the pointer j incremented by repeating the processing of steps SB4 to SB10 becomes “2”, the determination result of step SB2 becomes “NO”, and this processing ends.

このように、分析処理では、RAM12から音響波形データ(Lチャンネル、Rチャンネル)を読み出して周波数分析(高速フーリエ変換FFT)を施し、FFTで得られた実数部と虚数部の二乗和平方根を算出してパワースペクトル値(LチャンネルおよびRチャンネル)を取得し、レジスタdoDataにストアするようになっている。なお、レジスタdoDataの前半にLチャンネルのパワースペクトル値が、後半にRチャンネルのパワースペクトル値がそれぞれ格納される。   In this way, in the analysis process, the acoustic waveform data (L channel, R channel) is read from the RAM 12 and subjected to frequency analysis (fast Fourier transform FFT), and the square sum of squares of the real part and imaginary part obtained by FFT is calculated. Thus, power spectrum values (L channel and R channel) are acquired and stored in the register doData. Note that the L channel power spectrum value is stored in the first half of the register doData, and the R channel power spectrum value is stored in the second half.

(3)表示処理の動作
次に、図8を参照して表示処理の動作を説明する。図8は、表示処理の動作を示すフローチャートである。前述したメインルーチンのステップSA12(図6参照)を介して本処理が実行されると、CPU10は図7に図示するステップSC1に進み、カウンタiをゼロリセットする。なお、カウンタiは「0」から横軸の「表示領域幅timen」までのフレーム数を計数する。
(3) Display Processing Operation Next, the display processing operation will be described with reference to FIG. FIG. 8 is a flowchart showing the operation of the display process. When this process is executed via step SA12 (see FIG. 6) of the main routine described above, the CPU 10 proceeds to step SC1 shown in FIG. 7 and resets the counter i to zero. The counter i counts the number of frames from “0” to “display area width time” on the horizontal axis.

続いて、ステップSC2では、フレーム数が横軸の「表示領域幅timen」より小さいか否か、すなわち表示領域幅timenまで表示し終えたかどうかを判断する。表示領域幅timenまで表示し終えていなければ、判断結果は「YES」となり、ステップSC3に進む。   Subsequently, in step SC2, it is determined whether or not the number of frames is smaller than the “display area width time” on the horizontal axis, that is, whether or not the display has been completed up to the display area width time. If the display area width timen has not been displayed, the determination result is “YES”, and the flow proceeds to step SC3.

ステップSC3では、カウンタjをゼロリセットする。なお、カウンタjは、「0」から縦軸の表示領域の高さiHeightまで累算する。次いで、ステップSC4では、カウンタjの値が表示領域の高さiHeightより小さいか否か、つまりカウンタiで指定されるフレーム(時間軸)において、縦軸の表示領域の高さiHeightまで表示し終えたかどうかを判断する。   In step SC3, the counter j is reset to zero. The counter j accumulates from “0” to the height iHeight of the display area on the vertical axis. Next, in step SC4, whether or not the value of the counter j is smaller than the display area height iHeight, that is, in the frame (time axis) designated by the counter i, the display is finished up to the height iHeight of the vertical display area. Determine whether or not.

縦軸の表示領域の高さiHeightまで表示し終えていなければ、上記ステップSC4の判断結果は「YES」になり、ステップSC5に進む。ステップSC5では、次式(1)に基づき縦軸の目盛りに相当するカウンタjの値を周波数に換算してレジスタdfrにストアする。
drf ← 440×2^((j/res100cent−69+21)/12)…(1)
なお、上記(1)式において、「2^」は2のべき乗を表し、res100centは半音当たりの表示ピクセル数を表す。j/res100centは、縦軸上の位置(カウンタjの値)をMIDIノートナンバに換算する。したがって、上記(1)式は、その換算されたMIDIノートナンバ(カウンタjの値)を周波数に換算する。
If the display has not been completed until the height iHeight of the display area on the vertical axis, the determination result in step SC4 is “YES”, and the flow proceeds to step SC5. In step SC5, the value of the counter j corresponding to the scale on the vertical axis is converted into a frequency based on the following equation (1) and stored in the register dfr.
drf ← 440 × 2 ^ ((j / res100cent−69 + 21) / 12) (1)
In the above equation (1), “2 ^” represents a power of 2, and res100cent represents the number of display pixels per semitone. j / res100cent converts the position on the vertical axis (the value of counter j) into a MIDI note number. Therefore, the above equation (1) converts the converted MIDI note number (the value of the counter j) into a frequency.

次に、ステップSC6では、次式(2)に従ってフレームを指定するインデックスindexを算出する。
index ← (iFrame2×dfr)/(doFs/2)…(2)
なお、上記(2)式において、iFrame2は1フレームの半分の長さ、dfrは上記ステップSC5で算出した縦軸上の位置(カウンタjの値)の周波数換算値、doFsはサンプリング周波数である。
Next, in step SC6, an index index for designating a frame is calculated according to the following equation (2).
index ← (iFrame2 × dfr) / (doFs / 2) (2)
In the above equation (2), iFrame2 is half the length of one frame, dfr is the frequency converted value of the position on the vertical axis (value of counter j) calculated in step SC5, and doFs is the sampling frequency.

続いて、ステップSC7では、次式(3)に従い、インデックスindexで指定されるフレームにおけるLチャンネルおよびRチャンネルの各パワースペクトルの平均値、つまりモノラル化したパワーdを算出する。
d ← (doDate[index]+
doDate[index+iFrame2])/2…(3)
Subsequently, in step SC7, the average value of the power spectra of the L channel and the R channel in the frame specified by the index index, that is, the monaural power d is calculated according to the following equation (3).
d ← (doDate [index] +
doDate [index + iFrame2]) / 2 (3)

次いで、ステップSC8では、次式(4)に基づき、LチャンネルのパワースペクトルとRチャンネルのパワースペクトルとの差分値を、LチャンネルおよびRチャンネルの各パワースペクトルの和(絶対値)で除算して定位情報panを算出する。
pan ← (doData[index]−doDate[index+iFrame2])/ABS(doData[index]+doDate[index+iFrame2])…(4)
Next, in step SC8, based on the following equation (4), the difference value between the L channel power spectrum and the R channel power spectrum is divided by the sum (absolute value) of the L channel and R channel power spectra. Localization information pan is calculated.
pan ← (doData [index] −doDate [index + iFrame2]) / ABS (doData [index] + doDate [index + iFrame2]) (4)

そして、ステップSC9に進むと、次式(5)に従い、モノラル化したパワーdの対数値log(d)に応じた色値変換係数icolindexを算出する。
icolindex ← −iZoom+(icoln+iZoom)×log(d)/maxlog…(5)
なお、上記(5)式において、iZoomおよびicolnは色値変換定数である。
In step SC9, the color value conversion coefficient icolindex corresponding to the logarithmic value log (d) of the monaural power d is calculated according to the following equation (5).
icolindex ← −iZoom + (icoln + iZoom) × log (d) / maxlog (5)
In the above equation (5), iZoom and icoln are color value conversion constants.

こうして、上記ステップSC8およびステップSC9において、定位情報panおよび色値変換係数icolindexが得られると、ステップSC10を介して色値算出処理を実行する。色値算出処理では、後述するように、色相テーブルCT(図3参照)を参照して定位情報panを色値(r,g,b)に変換してレジスタicol(r,g,b)にストアする。   Thus, when the localization information pan and the color value conversion coefficient icolindex are obtained in step SC8 and step SC9, the color value calculation process is executed via step SC10. In the color value calculation process, as will be described later, the localization information pan is converted into a color value (r, g, b) by referring to the hue table CT (see FIG. 3) and stored in the register icol (r, g, b). Store.

次いで、ステップSC11では、上記ステップSC10で得られたレジスタicol(r,g,b)を、画面描画用のビットマップレジスタbitmap[i,j×width]にセットして画面表示する。なお、widthは縦軸の表示ピクセル数である。また、ステップSC11では、1オクターブ毎に目盛りとなる音程ガイドラインを描画する。   In step SC11, the register icol (r, g, b) obtained in step SC10 is set in the bitmap register bitmap [i, j × width] for screen drawing and displayed on the screen. The width is the number of display pixels on the vertical axis. In step SC11, a pitch guideline is drawn for each octave.

続いて、ステップSC12では、カウンタjをインクリメントして歩進させた後、前述のステップSC4に処理を戻す。以後、カウンタjの値が表示領域の高さiHeightを超えるまで上記ステップSC4〜SC12を繰り返すことによって、カウンタiで指定されるフレーム(時間軸)において、定位情報panに応じて表示色が変化するパワースペクトルを縦軸(対数周波数軸)に表示する。   Subsequently, in step SC12, the counter j is incremented and incremented, and then the process returns to step SC4. Thereafter, by repeating the above steps SC4 to SC12 until the value of the counter j exceeds the height iHeight of the display area, the display color changes according to the localization information pan in the frame (time axis) designated by the counter i. The power spectrum is displayed on the vertical axis (logarithmic frequency axis).

そして、縦軸の表示領域の高さiHeightまで表示し終えると、上記ステップSC4の判断結果が「NO」になり、ステップSC13に進み、カウンタiをインクリメントして歩進させた後、前述のステップSC2に処理を戻す。以後、歩進されたカウンタiの値が横軸(時間軸)の「表示領域幅timen」に達するまで上記ステップSC3〜SC13を繰り返すことによって、定位情報panに応じて表示色が変化するパワースペクトルを、曲頭から曲末尾までの時系列順に画面表示する。そして、歩進されたカウンタiの値が横軸(時間軸)の「表示領域幅timen」を超えると、上記ステップSC2の判断結果が「NO」になり、本処理を終える。   When the display is completed up to the height iHeight of the display area on the vertical axis, the determination result in step SC4 is “NO”, the process proceeds to step SC13, the counter i is incremented, and the above-mentioned step is performed. Return processing to SC2. Thereafter, by repeating the above steps SC3 to SC13 until the value of the incremented counter i reaches the “display area width time” on the horizontal axis (time axis), the power spectrum in which the display color changes according to the localization information pan. Are displayed in chronological order from the beginning of the song to the end of the song. When the value of the incremented counter i exceeds the “display area width timen” on the horizontal axis (time axis), the determination result in step SC2 is “NO”, and the present process ends.

(4)色値算出処理の動作
次に、図9を参照して色値算出処理の動作を説明する。図9は、色値処理の動作を示すフローチャートである。上述した表示処理のステップSC10(図8参照)を介して本処理が実行されると、CPU10は図9に図示するステップSD1に進み、前述の表示処理で算出した色値変換係数icolindexを、レジスタindexに置換する。以下、レジスタindexの値を色値変換係数indexと称する。
(4) Operation of Color Value Calculation Process Next, the operation of the color value calculation process will be described with reference to FIG. FIG. 9 is a flowchart showing the operation of color value processing. When this processing is executed via the above-described display processing step SC10 (see FIG. 8), the CPU 10 proceeds to step SD1 shown in FIG. 9, and stores the color value conversion coefficient icolindex calculated in the above-described display processing in the register. Replace with index. Hereinafter, the value of the register index is referred to as a color value conversion coefficient index.

続いて、ステップSD2以降では、定位情報panの値に基づき色相テーブルCT(図3参照)の色値変換領域を判別し、判別した色値変換領域における色関数(R関数、G関数、B関数)に従って定位情報panを色値(r,g,b)に変換する。以下、色値変換領域が「pan≧0」の場合と、「pan<0」の場合とに分けて動作説明を進める。   Subsequently, in step SD2 and subsequent steps, the color value conversion area of the hue table CT (see FIG. 3) is determined based on the value of the localization information pan, and the color function (R function, G function, B function) in the determined color value conversion area. ), The localization information pan is converted into color values (r, g, b). Hereinafter, the operation will be described separately for the case where the color value conversion area is “pan ≧ 0” and the case where “pan <0”.

a.色値変換領域がpan≧0の場合
色値変換領域がpan≧0であると、ステップSD2の判断結果が「YES」になり、ステップSD3に進み、次式(6)に基づき定位情報panをG関数に代入して色値gを算出する。
g ← ((1−(pan+peakPosShiftR))×brightness+brightnessOffset−brightness)×index/icoln…(6)
なお、上記(6)式において、色値変換係数index/色値変換定数icolnは色値幅を決める乗算係数である。
a. When the color value conversion area is pan ≧ 0 If the color value conversion area is pan ≧ 0, the determination result in step SD2 is “YES”, the process proceeds to step SD3, and the localization information pan is obtained based on the following equation (6). The color value g is calculated by substituting it into the G function.
g ← ((1- (pan + peakPosShiftR)) × brightness + brightnessOffset-brightness) × index / icoln (6)
In the above equation (6), the color value conversion coefficient index / color value conversion constant icoln is a multiplication coefficient that determines the color value width.

次いで、ステップSD4では、次式(7)に基づき定位情報panをR関数に代入して色値rを算出する。
r ← ((1−pan)×brightness+brightnessOffset)×index/icoln…(7)
Next, in step SD4, the color value r is calculated by substituting the localization information pan into the R function based on the following equation (7).
r ← ((1−pan) × brightness + brightnessOffset) × index / icoln (7)

続いて、ステップSD5では、定位情報panが「1−peakPosShiftL」以下であるか否かを判断する。定位情報panが「1−peakPosShiftL」以下であると、判断結果は「YES」になり、ステップSD6に進み、次式(8)に基づき定位情報panをB関数に代入して色値bを算出してステップSD8に進む。
b ← ((pan−peakPosShiftL−0)×brightness+brightnessOffset)×index/icoln…(8)
Subsequently, in step SD5, it is determined whether or not the localization information pan is "1-peakPosShiftL" or less. If the localization information pan is equal to or less than “1-peakPosShiftL”, the determination result is “YES”, the process proceeds to step SD6, and the color value b is calculated by substituting the localization information pan into the B function based on the following equation (8). The process proceeds to step SD8.
b ← ((pan-peakPosShiftL-0) × brightness + brightnessOffset) × index / icoln (8)

一方、定位情報panが「1−peakPosShiftL」より大きければ、上記ステップSD5の判断結果が「NO」になり、ステップSD7に進み、次式(9)に基づき定位情報panをB関数に代入して色値bを算出してステップSD8に進む。
b ← ((1−(pan−peakPosShiftL))×brightness+brightnessOffset)×index/icoln…(9)
On the other hand, if the localization information pan is larger than “1-peakPosShiftL”, the determination result in step SD5 is “NO”, and the process proceeds to step SD7, where the localization information pan is substituted into the B function based on the following equation (9). The color value b is calculated and the process proceeds to step SD8.
b ← ((1- (pan-peakPosShiftL)) × brightness + brightnessOffset) × index / icoln (9)

そして、ステップSD8では、上記ステップSD2〜SD7において、定位情報panに応じて色相テーブルCT(図3参照)から得た色値(r,g,b)をレジスタicolにストアして本処理を終える。   In step SD8, the color values (r, g, b) obtained from the hue table CT (see FIG. 3) in accordance with the localization information pan in steps SD2 to SD7 are stored in the register icol, and this processing is completed. .

b.色値変換領域がpan<0の場合
色値変換領域がpan<0であると、ステップSD2の判断結果が「NO」になり、図10に図示するステップSD9に進み、次式(10)に基づき定位情報panをB関数に代入して色値bを算出する。
b ← ((1+pan−peakPosShiftL)×brightness+brightnessOffset−brightness)×index/icoln…(10)
b. When the color value conversion area is pan <0 If the color value conversion area is pan <0, the determination result in step SD2 is “NO”, and the process proceeds to step SD9 shown in FIG. Based on the localization information pan based on the B function, the color value b is calculated.
b ← ((1 + pan-peakPosShiftL) × brightness + brightnessOffset-brightness) × index / icoln (10)

続いて、ステップSD11では、次式(11)に基づき定位情報panをR関数に代入して色値rを算出する。
r ← ((1+pan)×brightness+brightnessOffset)×index/icoln…(11)
Subsequently, in step SD11, the localization value pan is substituted into the R function based on the following equation (11) to calculate the color value r.
r ← ((1 + pan) × brightness + brightnessOffset) × index / icoln (11)

次いで、ステップSD11では、定位情報panが「−1+peakPosShiftR」以上であるか否かを判断する。定位情報panが「−1+peakPosShiftR」以上であると、判断結果は「YES」になり、ステップSD12に進み、次式(12)に基づき定位情報panをG関数に代入して色値gを算出してステップSD8に進む。
g ← ((0−(pan+peakPosShiftR))×brightness+brightnessOffset)×index/icoln…(12)
Next, in step SD11, it is determined whether or not the localization information pan is “−1 + peakPosShiftR” or more. If the localization information pan is equal to or greater than “−1 + peakPosShiftR”, the determination result is “YES”, and the process proceeds to step SD12 to calculate the color value g by substituting the localization information pan into the G function based on the following equation (12). The process proceeds to step SD8.
g ← ((0− (pan + peakPosShiftR)) × brightness + brightnessOffset) × index / icorn (12)

一方、定位情報panが「−1+peakPosShiftR」より小さければ、上記ステップSD11の判断結果が「NO」になり、ステップSD13に進み、次式(13)に基づき定位情報panをG関数に代入して色値gを算出してステップSD8に進む。
g ← ((1+(pan+(1−peakPosShiftR)))×brightness+brightnessOffset)×index/icoln…(13)
On the other hand, if the localization information pan is smaller than “−1 + peakPosShiftR”, the determination result in step SD11 is “NO”, and the process proceeds to step SD13, where the localization information pan is substituted into the G function based on the following equation (13). The value g is calculated and the process proceeds to step SD8.
g ← ((1+ (pan + (1-peakPosShiftR))) × brightness + brightnessOffset) × index / icoln (13)

そして、ステップSD8では、上記ステップSD9〜SD13において、定位情報panに応じて色相テーブルCT(図3参照)から得た色値(r,g,b)をレジスタicolにストアして本処理を終える。   In step SD8, the color values (r, g, b) obtained from the hue table CT (see FIG. 3) in accordance with the localization information pan in steps SD9 to SD13 are stored in the register icol, and this processing is completed. .

以上説明したように、第1実施形態によれば、LチャンネルおよびRチャンネルの音響波形データに周波数分析(高速フーリエ変換FFT)を施して得たLチャンネルおよびRチャンネルのパワースペクトルから定位情報panを取得し、取得した定位情報panに応じて表示色を異ならせたパワースペクトルを曲頭から曲末尾までの時系列順に画面表示するので、例えば図11に図示する表示画面例のように、時系列に変化する各音源の位置を一目瞭然にすることが可能になる。   As described above, according to the first embodiment, the localization information pan is obtained from the power spectra of the L channel and the R channel obtained by performing frequency analysis (fast Fourier transform FFT) on the acoustic waveform data of the L channel and the R channel. Since the power spectrum obtained by changing the display color according to the acquired localization information pan is displayed on the screen in time series from the beginning of the song to the end of the song, for example, as shown in the display screen example shown in FIG. It becomes possible to make the position of each sound source that changes to clear at a glance.

なお、図11はカラー表示出来ない為にモノクロ表示となっているが、実際には前述した色相テーブルCT(図3参照)に基づき定位情報panに応じてパワースペクトルの表示色を異ならせている為、どの色(どの位置)で表示されるかで時系列に変化する各音源の位置が一目瞭然になる訳である。   Note that FIG. 11 shows monochrome display because color display cannot be performed, but actually the display color of the power spectrum is made different according to the localization information pan based on the above-described hue table CT (see FIG. 3). Therefore, the position of each sound source that changes in time series depending on which color (which position) is displayed becomes clear at a glance.

なお、上述した第1実施形態では、RAM12の波形データエリアに保存しておいた音響波形データ(Lチャンネル、Rチャンネル)を処理対象としたが、これに限定されずステレオ音場として収音したステレオ成分の音響信号をサンプリングした音響波形データ(Lチャンネル、Rチャンネル)についてパワースペクトル分析および表示処理を施してリアルタイムに変化する音源位置を表示することも勿論可能である。   In the first embodiment described above, the acoustic waveform data (L channel, R channel) stored in the waveform data area of the RAM 12 is a processing target. However, the present invention is not limited to this, and the sound is collected as a stereo sound field. Of course, it is also possible to display the sound source position changing in real time by performing power spectrum analysis and display processing on the acoustic waveform data (L channel, R channel) obtained by sampling the stereo component acoustic signal.

また、本実施形態では、色相テーブルCT(図3参照)に基づき定位情報panに応じてパワースペクトルの表示色を異ならせているが、これに限らず、更に定位情報panを明度に変換するテーブルや、定位情報panを彩度に変換するテーブルを設け、これらを組み合わせて定位情報panに応じてパワースペクトルの表示色、明度および彩度を異ならせることでより一層音源の位置を明確に表現する態様も可能である。   In the present embodiment, the display color of the power spectrum is varied according to the localization information pan based on the hue table CT (see FIG. 3). However, the present invention is not limited to this, and the table further converts the localization information pan to lightness. In addition, a table for converting the localization information pan to saturation is provided, and by combining them, the display color, brightness, and saturation of the power spectrum are made different according to the localization information pan, thereby further clearly expressing the position of the sound source. Embodiments are possible.

[第2実施形態]
次に、第2実施形態を説明する。第2実施形態による音源位置表示装置100は、図1に図示した第1実施形態と同一の構成なので、その説明については省略する。第2実施形態が第1実施形態と相違する点は、色補正テーブルRTを備えることにある。ここで、図12〜図14を参照して色補正テーブルRTの構成を説明する。
[Second Embodiment]
Next, a second embodiment will be described. Since the sound source position display device 100 according to the second embodiment has the same configuration as that of the first embodiment shown in FIG. 1, the description thereof is omitted. The second embodiment is different from the first embodiment in that a color correction table RT is provided. Here, the configuration of the color correction table RT will be described with reference to FIGS.

先ず、図12は、第2実施形態による音源位置表示装置100のRAM12が備えるワークエリアWEに一時記憶される主要なレジスタデータ(変数)の構成を示す図である。この図において、第1実施形態と相違する点は、色補正テーブルRTと、当該色補正テーブルRTの色補正特性を指定する値を保持するレジスタemphasizeLR、eLRCratio、trapezoidを具備することにある。   First, FIG. 12 is a diagram showing a configuration of main register data (variables) temporarily stored in the work area WE provided in the RAM 12 of the sound source position display device 100 according to the second embodiment. In this figure, the difference from the first embodiment is that a color correction table RT and registers emphasizeLR, eLRRCratio, and trapezoid that hold values for specifying the color correction characteristics of the color correction table RT are provided.

色補正テーブルRTとは、定位情報panを色値(r,g,b)の補正係数emphasizeに変換する。補正係数emphasizeは、前述の色相テーブルCTによって定位情報panに応じて変換された色値(r,g,b)に各々乗算される。   The color correction table RT converts the localization information pan to a correction coefficient emphasize of color values (r, g, b). The correction coefficient emphasize is multiplied by the color value (r, g, b) converted according to the localization information pan by the above-described hue table CT.

ここで、図13に図示する色補正テーブルRTの一例を参照して、当該色補正テーブルRTの色補正特性を指定する値を保持するレジスタemphasizeLR、eLRCratio、trapezoidについて説明する。色補正テーブルRTは、定位情報panを補正係数emphasizeに変換する台形の補正関数を備える。この台形の補正関数は、レジスタtrapezoidにストアされる上底の半値幅、レジスタemphasizeLRにストアされる上底中心位置およびレジスタeLRCratioにストアされる脚(斜辺)の傾きで指定される。   Here, with reference to an example of the color correction table RT shown in FIG. 13, the registers emphasizeLR, eLRRCratio, and trapezoid that hold values for specifying the color correction characteristics of the color correction table RT will be described. The color correction table RT includes a trapezoidal correction function that converts the localization information pan into a correction coefficient emphasize. This trapezoidal correction function is specified by the half width of the upper base stored in the register trapezoid, the center position of the upper base stored in the register emphasizeLR, and the inclination of the leg (hypotenuse) stored in the register eLRRCratio.

すなわち、台形の補正関数において、上底に含まれる範囲の定位情報panに対応して「1」の補正係数emphasizeを発生する。つまり上底に含まれる範囲の定位情報panについては色値補正が為されず、上底から下底に向かって右脚の傾きを有する直線(又は上底から下底に向かって左脚の傾きを有する直線)に対応する範囲の定位情報panでは色値をリニアに減衰させる補正係数emphasizeを発生する。なお、左脚(左斜辺)の傾きは、右脚の傾きと逆符号となる。   That is, in the trapezoidal correction function, a correction coefficient emphasize of “1” is generated corresponding to the localization information pan in the range included in the upper base. In other words, the localization information pan in the range included in the upper base is not subjected to color value correction, and is a straight line having the right leg inclination from the upper base to the lower base (or the inclination of the left leg from the upper base to the lower base). In the localization information pan in the range corresponding to (a straight line having), a correction coefficient emphasize that linearly attenuates the color value is generated. Note that the inclination of the left leg (left oblique side) is opposite to the inclination of the right leg.

図13に図示した色補正テーブルRTは、右脚(右斜辺)の傾きを表すレジスタeLRCratioの値が「0」以下の一例である。右脚の傾きが「0」より大きい場合には、図14に図示するように、図13に図示した台形を上下反転した形の補正関数となる。具体的には、下底範囲に含まれる範囲の定位情報panについては「0」の補正係数emphasizeを発生する。つまり下底に含まれる範囲の定位情報panについては色値を「0」とする。下底から上底に向かって右脚の傾きを有する直線(又は下底から上底に向かって左脚の傾きを有する直線)に対応する範囲の定位情報panでは色値をリニアに増加させる補正係数emphasizeを発生する。   The color correction table RT illustrated in FIG. 13 is an example in which the value of the register eLRRCatio indicating the inclination of the right leg (right oblique side) is “0” or less. When the inclination of the right leg is larger than “0”, as shown in FIG. 14, the correction function has a shape obtained by vertically inverting the trapezoid shown in FIG. Specifically, a correction coefficient emphasize of “0” is generated for the localization information pan in the range included in the lower base range. That is, for the localization information pan in the range included in the lower base, the color value is set to “0”. Correction for linearly increasing the color value in the localization information pan in the range corresponding to the straight line having the right leg inclination from the lower base to the upper base (or the straight line having the left leg inclination from the lower base to the upper base) The coefficient emphasize is generated.

このような補正特性を備える色補正テーブルRTを用いることによって、特定の範囲に含まれる定位情報panに対応した色値を強調する為、その特定の範囲に位置するパワースペクトルの表示色が強調され、これにより音源位置を浮かび上がらせるように表示することが可能になる。   By using the color correction table RT having such correction characteristics, the color value corresponding to the localization information pan included in the specific range is emphasized, so that the display color of the power spectrum positioned in the specific range is emphasized. This makes it possible to display the sound source position so as to emerge.

以下、こうした色補正テーブルCTを用いる第2実施形態の表示処理の動作について説明する。図15は、第2実施形態による表示処理の動作を示すフローチャートである。この図に示す第2実施形態の動作が、図8に図示した第1実施形態の表示処理と相違する点は、ステップSE10の色値算出処理の後に、ステップSE14の色補正処理を設けたことにある。第2実施形態の表示処理におけるステップSE1〜SE13は、前述した第1実施形態の表示処理におけるステップSC1〜SC13と同一であるので、その説明については省略する。   Hereinafter, the display processing operation of the second embodiment using such a color correction table CT will be described. FIG. 15 is a flowchart showing the operation of the display process according to the second embodiment. The operation of the second embodiment shown in this figure is different from the display process of the first embodiment shown in FIG. 8 in that the color correction process of step SE14 is provided after the color value calculation process of step SE10. It is in. Since steps SE1 to SE13 in the display process of the second embodiment are the same as steps SC1 to SC13 in the display process of the first embodiment described above, the description thereof is omitted.

図16は、第2実施形態による色補正処理の動作を示すフローチャートである。図15に図示した第2実施形態による表示処理のステップSE14を介して色補正処理が実行されると、CPU10は、図16に図示するステップSF1に進み、定位情報panからレジスタemphasizeLRCにストアされる上底中心位置を減算した値が「0.0」以上であるか否かを判断する。以下、pan−emphasizeLRC≧0.0の場合と、pan−emphasizeLRC<0の場合とに分けて動作説明を進める。   FIG. 16 is a flowchart showing the operation of color correction processing according to the second embodiment. When the color correction process is executed via step SE14 of the display process according to the second embodiment illustrated in FIG. 15, the CPU 10 proceeds to step SF1 illustrated in FIG. 16, and is stored in the register emphasize LRC from the localization information pan. It is determined whether or not the value obtained by subtracting the upper center position is “0.0” or more. In the following, the description of the operation will be divided into a case where pan-emphasize LRC ≧ 0.0 and a case where pan-emphasize LRC <0.

a.pan−emphasizeLRC≧0.0の場合
この場合、上記ステップSF1の判断結果が「YES」になり、ステップSF2に進み、レジスタeLRCratioにストアされる脚(斜辺)の傾きが「0.0」以上であるか否かを判断する。脚(斜辺)の傾きが「0.0」以上であると、上記ステップSF2の判断結果は「YES」になり、ステップSF3に進む。ステップSF3では、次式(14)に基づき定位情報panを色補正テーブルRT(台形の補正関数)に代入して補正係数emphasizeを算出した後、ステップSF8に進む。
emphasize ← 1.0−eLRCratio×
(pan−trapezoid−emphasizeLRC)…(14)
a. In the case of pan-emphasize LRC ≧ 0.0 In this case, the determination result in step SF1 is “YES”, the process proceeds to step SF2, and the inclination of the leg (hypotenuse) stored in the register eLRRCratio is “0.0” or more. Judge whether there is. If the inclination of the leg (the hypotenuse) is equal to or greater than “0.0”, the determination result in step SF2 is “YES”, and the process proceeds to step SF3. In step SF3, the localization information pan is substituted into the color correction table RT (trapezoidal correction function) based on the following equation (14) to calculate the correction coefficient emphasize, and then the process proceeds to step SF8.
emphasize ← 1.0-eLRRCratio ×
(Pan-trapezoid-emphasize LRC) (14)

一方、脚(斜辺)の傾きが「0.0」より小さいと、上記ステップSF2の判断結果が「NO」になり、ステップSF4に進む。ステップSF4では、次式(15)に基づき定位情報panを色補正テーブルRT(台形の補正関数)に代入して補正係数emphasizeを算出した後、ステップSF8に進む。
emphasize ← 0.0−eLRCratio×
(pan−trapezoid−emphasizeLRC)…(15)
On the other hand, if the inclination of the leg (slope) is smaller than “0.0”, the determination result in step SF2 is “NO”, and the process proceeds to step SF4. In step SF4, the localization information pan is substituted into the color correction table RT (trapezoidal correction function) based on the following equation (15) to calculate the correction coefficient emphasize, and then the process proceeds to step SF8.
emphasize ← 0.0-eLRRCratio ×
(Pan-trapezoid-emphasize LRC) (15)

b.pan−emphasizeLRC<0の場合
この場合、上記ステップSF1の判断結果が「NO」になり、ステップSF5に進み、レジスタeLRCratioにストアされる脚(斜辺)の傾きが「0.0」以上であるか否かを判断する。脚(斜辺)の傾きが「0.0」以上であると、上記ステップSF5の判断結果は「YES」になり、ステップSF6に進む。ステップSF6では、次式(16)に基づき定位情報panを色補正テーブルRT(台形の補正関数)に代入して補正係数emphasizeを算出した後、ステップSF8に進む。
emphasize ← 1.0−eLRCratio×
(emphasizeLRC−pan−trapezoid)…(16)
b. In the case of pan-emphasize LRC <0, in this case, the determination result in step SF1 is “NO”, the process proceeds to step SF5, and the inclination of the leg (hypotenuse) stored in the register eLRRCratio is “0.0” or more. Judge whether or not. If the inclination of the leg (slope) is “0.0” or more, the determination result in step SF5 is “YES”, and the process proceeds to step SF6. In step SF6, the localization information pan is substituted into the color correction table RT (trapezoidal correction function) based on the following equation (16) to calculate the correction coefficient emphasize, and then the process proceeds to step SF8.
emphasize ← 1.0-eLRRCratio ×
(Emphasize LRC-pan-trapezoid) (16)

一方、脚(斜辺)の傾きが「0.0」より小さいと、上記ステップSF5の判断結果が「NO」になり、ステップSF7に進む。ステップSF7では、次式(17)に基づき定位情報panを色補正テーブルRT(台形の補正関数)に代入して補正係数emphasizeを算出した後、ステップSF8に進む。
emphasize ← 0.0−eLRCratio×
(emphasizeLRC−pan−trapezoid−)…(17)
On the other hand, if the inclination of the leg (the hypotenuse) is smaller than “0.0”, the determination result in step SF5 is “NO”, and the process proceeds to step SF7. In step SF7, the localization information pan is substituted into the color correction table RT (trapezoidal correction function) based on the following equation (17) to calculate the correction coefficient emphasize, and the process proceeds to step SF8.
emphasize ← 0.0-eLRRCratio ×
(Emphasize LRC-pan-trapezoid-) (17)

そして、ステップSF8では、算出された補正係数emphasizeが「0.0」〜「1.0」の範囲内であれば、その算出された補正係数emphasizeをそのまま使うが、「0.0」より小さい場合には補正係数emphasizeを「0.0」に下限値設定し、一方、「1.0」より大きい場合には補正係数emphasizeを「1.0」に上限値設定する。次いで、ステップSF9では、前述した色値算出処理で得られた色値(r,g,b)にそれぞれ補正係数emphasizeを乗算して補正色値(r,g,b)を生成し、続くステップSF10では、生成された補正色値(r,g,b)をレジスタicolにストアして本処理を終える。   In step SF8, if the calculated correction coefficient emphasize is within the range of “0.0” to “1.0”, the calculated correction coefficient emphasize is used as it is, but smaller than “0.0”. In this case, the correction coefficient emphasize is set to a lower limit value of “0.0”, while when it is larger than “1.0”, the correction coefficient emphasize is set to an upper limit value of “1.0”. Next, in step SF9, the color value (r, g, b) obtained by the color value calculation process described above is multiplied by the correction coefficient emphasize to generate a corrected color value (r, g, b). In SF10, the generated correction color value (r, g, b) is stored in the register icol, and this process is finished.

以上説明したように、第2実施形態によれば、LチャンネルおよびRチャンネルの音響波形データに周波数分析(高速フーリエ変換FFT)を施して得たLチャンネルおよびRチャンネルのパワースペクトルから定位情報panを取得し、取得した定位情報panに応じてパワースペクトルの表示色を異ならせ、更に特定の範囲に含まれる定位情報panに対応した色値のパワースペクトルを強調しつつ曲頭から曲末尾までの時系列順に画面表示するので、例えば図17に図示する表示画面例のように、時系列に変化する各音源の位置を一目瞭然にすることが可能になる。   As described above, according to the second embodiment, the localization information pan is obtained from the power spectra of the L channel and the R channel obtained by performing frequency analysis (fast Fourier transform FFT) on the acoustic waveform data of the L channel and the R channel. When the power spectrum is displayed from the beginning of the song to the end of the song while changing the display color of the power spectrum according to the obtained localization information pan, and further emphasizing the power spectrum of the color value corresponding to the localization information pan included in the specific range Since the screens are displayed in the order of series, for example, the position of each sound source that changes in time series can be made clear at a glance as in the display screen example shown in FIG.

なお、図17はカラー表示出来ない為にモノクロ表示となっているが、実際には前述した色相テーブルCT(図3参照)に基づき定位情報panに応じてパワースペクトルの表示色を異ならせ、更に色補正テーブルRT(図13参照)に基づき特定の範囲に含まれる定位情報panに対応した色値のパワースペクトルを強調している為、どの色(どの位置)で表示されるかで時系列に変化する各音源の位置が一目瞭然になる訳である。   Note that FIG. 17 shows monochrome display because color display cannot be performed. Actually, however, the display color of the power spectrum is made different according to the localization information pan based on the above-described hue table CT (see FIG. 3). Since the power spectrum of the color value corresponding to the localization information pan included in a specific range is emphasized based on the color correction table RT (see FIG. 13), the color (which position) is displayed in chronological order. The position of each sound source that changes is clear at a glance.

また、上述した第2実施形態では、色値算出処理で得られた色値(r,g,b)に対して一律に補正係数emphasizeを乗算して補正色値(r,g,b)を生成する態様としたが、これに限らず、例えば色値r、色値gおよび色値b毎の補正テーブルを設けておき、定位情報panに応じて各補正テーブルからそれぞれ得られる各色値毎の補正係数emphasizeを、対応する色値(r,g,b)に各々乗算して補正色値(r,g,b)を得ることも可能である。このようにした場合、特定の範囲に含まれる定位情報panに対応した特定色のパワースペクトルを強調表示したり抑制表示したりすることで所望の音源位置を明確に表現し得ることも可能になる。   Further, in the second embodiment described above, the correction color value (r, g, b) is obtained by uniformly multiplying the color value (r, g, b) obtained by the color value calculation process by the correction coefficient emphasize. However, the present invention is not limited to this. For example, a correction table for each color value r, color value g, and color value b is provided, and each color value obtained from each correction table according to the localization information pan is provided. It is also possible to obtain the correction color value (r, g, b) by multiplying the corresponding color value (r, g, b) by the correction coefficient emphasize, respectively. In this case, a desired sound source position can be clearly expressed by highlighting or suppressing display of a power spectrum of a specific color corresponding to the localization information pan included in a specific range. .

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention described in the claim of this-application, and its equivalent range. Hereinafter, each invention described in the scope of claims at the beginning of the present application will be additionally described.

(付記)
[請求項1]
音響波形データからパワースペクトルを取得するパワー取得手段と、
前記パワー取得手段により取得されたパワースペクトルから定位情報を取得する定位情報取得手段と、
前記定位情報取得手段により取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示手段と
を具備することを特徴とする音源位置表示装置。
(Appendix)
[Claim 1]
Power acquisition means for acquiring a power spectrum from acoustic waveform data;
Localization information acquisition means for acquiring localization information from the power spectrum acquired by the power acquisition means;
A sound source position display device comprising: display means for displaying a power spectrum having a display color different according to the localization information acquired by the localization information acquisition means.

[請求項2]
前記表示手段は、前記定位情報取得手段により取得された定位情報を色相に変換する色相変換手段を備え、当該色相変換手段により変換された色相で当該定位情報に対応するパワースペクトルを表示することを特徴とする請求項1記載の音源位置表示装置。
[Claim 2]
The display unit includes a hue conversion unit that converts the localization information acquired by the localization information acquisition unit into a hue, and displays a power spectrum corresponding to the localization information with the hue converted by the hue conversion unit. The sound source position display device according to claim 1, wherein

[請求項3]
前記色相変換手段は、前記定位情報取得手段により取得された定位情報に応じた三原色値(r,g,b)を発生する色関数を備えることを特徴とする請求項1記載の音源位置表示装置。
[Claim 3]
2. The sound source position display device according to claim 1, wherein the hue conversion unit includes a color function that generates three primary color values (r, g, b) according to the localization information acquired by the localization information acquisition unit. .

[請求項4]
前記表示手段は、前記定位情報取得手段により取得された定位情報を明度に変換する明度変換手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。
[Claim 4]
The sound source position display device according to claim 1, wherein the display means further comprises a lightness conversion means for converting the localization information acquired by the localization information acquisition means into a lightness.

[請求項5]
前記表示手段は、前記定位情報取得手段により取得された定位情報を彩度に変換する彩度変換手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。
[Claim 5]
The sound source position display device according to claim 1, wherein the display unit further includes a saturation conversion unit that converts the localization information acquired by the localization information acquisition unit into saturation.

[請求項6]
前記表示手段は、前記定位情報取得手段により取得された定位情報に応じて表示色を異ならせたパワースペクトルを時系列順に画面表示することを特徴とする請求項1記載の音源位置表示装置。
[Claim 6]
The sound source position display device according to claim 1, wherein the display means displays a power spectrum in which a display color is changed according to the localization information acquired by the localization information acquisition means on a screen in time series order.

[請求項7]
前記表示手段は、前記定位情報取得手段により取得された定位情報が、所定範囲に含まれる場合に、前記色相変換手段により変換された色相を補正する色補正手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。
[Claim 7]
The display means further comprises color correction means for correcting the hue converted by the hue conversion means when the localization information acquired by the localization information acquisition means is included in a predetermined range. Item 1. A sound source position display device according to item 1.

[請求項8]
前記色補正手段は、前記定位情報取得手段により取得された定位情報が、特定の範囲に含まれる場合に、前記色相変換手段により変換された色相を強調することを特徴とする請求項7記載の音源位置表示装置。
[Claim 8]
The color correction unit emphasizes the hue converted by the hue conversion unit when the localization information acquired by the localization information acquisition unit is included in a specific range. Sound source position display device.

[請求項9]
音響波形データからパワースペクトルを取得し、取得したパワースペクトルから定位情報を取得し、取得した定位情報に応じて表示色を異ならせたパワースペクトルを表示することを特徴とする音源位置表示方法。
[Claim 9]
A sound source position display method comprising: acquiring a power spectrum from acoustic waveform data; acquiring localization information from the acquired power spectrum; and displaying a power spectrum in which a display color is changed according to the acquired localization information.

[請求項10]
コンピュータに、
音響波形データからパワースペクトルを取得するパワー取得ステップと、
前記パワー取得ステップで取得されたパワースペクトルから定位情報を取得する定位情報取得ステップと、
前記定位情報取得ステップで取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示ステップと
を実行させることを特徴とするプログラム。
[Claim 10]
On the computer,
A power acquisition step of acquiring a power spectrum from the acoustic waveform data;
Localization information acquisition step of acquiring localization information from the power spectrum acquired in the power acquisition step;
And a display step of displaying a power spectrum having a different display color according to the localization information acquired in the localization information acquisition step.

10 CPU
11 ROM
12 RAM
13 入力手段
14 表示手段
15 音響出力手段
16 音響入力手段
100 音源位置表示装置
10 CPU
11 ROM
12 RAM
DESCRIPTION OF SYMBOLS 13 Input means 14 Display means 15 Sound output means 16 Sound input means 100 Sound source position display apparatus

Claims (10)

音響波形データからパワースペクトルを取得するパワー取得手段と、
前記パワー取得手段により取得されたパワースペクトルから定位情報を取得する定位情報取得手段と、
前記定位情報取得手段により取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示手段と
を具備することを特徴とする音源位置表示装置。
Power acquisition means for acquiring a power spectrum from acoustic waveform data;
Localization information acquisition means for acquiring localization information from the power spectrum acquired by the power acquisition means;
A sound source position display device comprising: display means for displaying a power spectrum having a display color different according to the localization information acquired by the localization information acquisition means.
前記表示手段は、前記定位情報取得手段により取得された定位情報を色相に変換する色相変換手段を備え、当該色相変換手段により変換された色相で当該定位情報に対応するパワースペクトルを表示することを特徴とする請求項1記載の音源位置表示装置。   The display unit includes a hue conversion unit that converts the localization information acquired by the localization information acquisition unit into a hue, and displays a power spectrum corresponding to the localization information with the hue converted by the hue conversion unit. The sound source position display device according to claim 1, wherein 前記色相変換手段は、前記定位情報取得手段により取得された定位情報に応じた三原色値(r,g,b)を発生する色関数を備えることを特徴とする請求項1記載の音源位置表示装置。   2. The sound source position display device according to claim 1, wherein the hue conversion unit includes a color function that generates three primary color values (r, g, b) according to the localization information acquired by the localization information acquisition unit. . 前記表示手段は、前記定位情報取得手段により取得された定位情報を明度に変換する明度変換手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。   The sound source position display device according to claim 1, wherein the display means further comprises a lightness conversion means for converting the localization information acquired by the localization information acquisition means into a lightness. 前記表示手段は、前記定位情報取得手段により取得された定位情報を彩度に変換する彩度変換手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。   The sound source position display device according to claim 1, wherein the display unit further includes a saturation conversion unit that converts the localization information acquired by the localization information acquisition unit into saturation. 前記表示手段は、前記定位情報取得手段により取得された定位情報に応じて表示色を異ならせたパワースペクトルを時系列順に画面表示することを特徴とする請求項1記載の音源位置表示装置。   The sound source position display device according to claim 1, wherein the display means displays a power spectrum in which a display color is changed according to the localization information acquired by the localization information acquisition means on a screen in time series order. 前記表示手段は、前記定位情報取得手段により取得された定位情報が、所定範囲に含まれる場合に、前記色相変換手段により変換された色相を補正する色補正手段を更に備えることを特徴とする請求項1記載の音源位置表示装置。   The display means further comprises color correction means for correcting the hue converted by the hue conversion means when the localization information acquired by the localization information acquisition means is included in a predetermined range. Item 1. A sound source position display device according to item 1. 前記色補正手段は、前記定位情報取得手段により取得された定位情報が、特定の範囲に含まれる場合に、前記色相変換手段により変換された色相を強調することを特徴とする請求項7記載の音源位置表示装置。   The color correction unit emphasizes the hue converted by the hue conversion unit when the localization information acquired by the localization information acquisition unit is included in a specific range. Sound source position display device. 音響波形データからパワースペクトルを取得し、取得したパワースペクトルから定位情報を取得し、取得した定位情報に応じて表示色を異ならせたパワースペクトルを表示することを特徴とする音源位置表示方法。   A sound source position display method comprising: acquiring a power spectrum from acoustic waveform data; acquiring localization information from the acquired power spectrum; and displaying a power spectrum in which a display color is changed according to the acquired localization information. コンピュータに、
音響波形データからパワースペクトルを取得するパワー取得ステップと、
前記パワー取得ステップで取得されたパワースペクトルから定位情報を取得する定位情報取得ステップと、
前記定位情報取得ステップで取得された定位情報に応じて表示色を異ならせたパワースペクトルを表示する表示ステップと
を実行させることを特徴とするプログラム。
On the computer,
A power acquisition step of acquiring a power spectrum from the acoustic waveform data;
Localization information acquisition step of acquiring localization information from the power spectrum acquired in the power acquisition step;
And a display step of displaying a power spectrum having a different display color according to the localization information acquired in the localization information acquisition step.
JP2013105900A 2013-05-20 2013-05-20 Sound source position display device, sound source position display method and program Active JP6226224B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013105900A JP6226224B2 (en) 2013-05-20 2013-05-20 Sound source position display device, sound source position display method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013105900A JP6226224B2 (en) 2013-05-20 2013-05-20 Sound source position display device, sound source position display method and program

Publications (2)

Publication Number Publication Date
JP2014229965A true JP2014229965A (en) 2014-12-08
JP6226224B2 JP6226224B2 (en) 2017-11-08

Family

ID=52129474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013105900A Active JP6226224B2 (en) 2013-05-20 2013-05-20 Sound source position display device, sound source position display method and program

Country Status (1)

Country Link
JP (1) JP6226224B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982038A (en) * 2019-03-15 2019-07-05 深圳市沃特沃德股份有限公司 Show the method, apparatus and computer equipment of sound source position

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164700A (en) * 1996-11-13 1998-06-19 Sony United Kingdom Ltd Audio signal analyzer
JP2005244293A (en) * 2004-02-24 2005-09-08 Yamaha Corp Display apparatus for characteristic of stereo signal
US20110096073A1 (en) * 2009-10-23 2011-04-28 Sony Corporation, A Japanese Corporation Music-visualizer system and methods
US20110132175A1 (en) * 2009-12-04 2011-06-09 Roland Corporation User interface apparatus
JP2011158674A (en) * 2010-01-29 2011-08-18 Roland Corp User interface apparatus
JP2012165195A (en) * 2011-02-07 2012-08-30 Nippon Hoso Kyokai <Nhk> Auditory presence evaluation device and auditory presence evaluation program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164700A (en) * 1996-11-13 1998-06-19 Sony United Kingdom Ltd Audio signal analyzer
US6021204A (en) * 1996-11-13 2000-02-01 Sony Corporation Analysis of audio signals
JP2005244293A (en) * 2004-02-24 2005-09-08 Yamaha Corp Display apparatus for characteristic of stereo signal
US20110096073A1 (en) * 2009-10-23 2011-04-28 Sony Corporation, A Japanese Corporation Music-visualizer system and methods
US20110132175A1 (en) * 2009-12-04 2011-06-09 Roland Corporation User interface apparatus
JP2011158674A (en) * 2010-01-29 2011-08-18 Roland Corp User interface apparatus
JP2012165195A (en) * 2011-02-07 2012-08-30 Nippon Hoso Kyokai <Nhk> Auditory presence evaluation device and auditory presence evaluation program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982038A (en) * 2019-03-15 2019-07-05 深圳市沃特沃德股份有限公司 Show the method, apparatus and computer equipment of sound source position

Also Published As

Publication number Publication date
JP6226224B2 (en) 2017-11-08

Similar Documents

Publication Publication Date Title
KR100736434B1 (en) Method and apparatus for harmonizing colors by harmonic sound and converting sound into colors mutually
US8693705B2 (en) Response waveform synthesis method and apparatus
CN109120983B (en) Audio processing method and device
US8106281B2 (en) Music difficulty level calculating apparatus and music difficulty level calculating method
JP2007010607A (en) Letter notation detector and program
US9877129B2 (en) Device and method for playing sound
US10453478B2 (en) Sound quality determination device, method for the sound quality determination and recording medium
US7999169B2 (en) Sound synthesizer
JP6226224B2 (en) Sound source position display device, sound source position display method and program
CN107146597A (en) A kind of self-service tuning system of piano and tuning method
US10341795B2 (en) Log complex color for visual pattern recognition of total sound
JP2014035436A (en) Voice processing device
JP6566380B2 (en) Musical sound generating apparatus, musical sound generating method, program, and electronic musical instrument
JP6268674B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JP4742362B2 (en) Music score display device and music score display program
JP2019200428A (en) Musical sound generating device, musical sound generating method, program and electronic musical instrument
JP3503268B2 (en) Tone parameter editing device
JP4697666B2 (en) Music score display device and music score display program
JP6690446B2 (en) Acoustic analysis device and acoustic analysis method
JP2009075187A (en) Tuning support device and program
JP2015043014A (en) Fundamental tone visualization device, fundamental tone visualization method, and program
KR20140049957A (en) Sound processing apparatus and sound processing method
JP2018156040A (en) Deviation display machine
JP4096814B2 (en) Waveform modulation apparatus and waveform modulation program
KR101536929B1 (en) Electric Musical Instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170904

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: 20170915

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170928

R150 Certificate of patent or registration of utility model

Ref document number: 6226224

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150