JP4512008B2 - Musical sound information generating apparatus, method and program - Google Patents
Musical sound information generating apparatus, method and program Download PDFInfo
- Publication number
- JP4512008B2 JP4512008B2 JP2005234354A JP2005234354A JP4512008B2 JP 4512008 B2 JP4512008 B2 JP 4512008B2 JP 2005234354 A JP2005234354 A JP 2005234354A JP 2005234354 A JP2005234354 A JP 2005234354A JP 4512008 B2 JP4512008 B2 JP 4512008B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- amplitude
- sound
- period
- musical
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
- Stereophonic System (AREA)
Description
本発明は、楽音情報生成装置、方法及びプログラムに関する。 The present invention relates to a musical sound information generating apparatus, method, and program.
楽音の音像について説明する。単一周波数の正弦波のステレオ信号に対して、左右の信号の位相あるいは振幅を変えることで任意の定位を与えることはできるが、広がりを持った音像を与えることはできない。例えば左チャンネルの信号に対して右チャンネルの信号の振幅を大きくすれば、その大きさに応じて信号の定位は、右へ寄る。また同様に右チャンネルの信号の位相を進み位相とすれば、信号の定位は右に寄る。ただし、位相を180°近く進めた(遅らせた)逆相の場合は例外的に定位が不明となり、妙な広がりを呈する場合がある。このような音像は、聴取者に不快感を与える場合が多く、特殊な音像を作る場合を除いてこの方法を用いることは少ない。 The sound image will be described. Arbitrary localization can be given to a single-frequency sine wave stereo signal by changing the phase or amplitude of the left and right signals, but a broad sound image cannot be given. For example, if the amplitude of the right channel signal is increased with respect to the left channel signal, the localization of the signal is shifted to the right according to the amplitude. Similarly, if the phase of the signal of the right channel is set to the lead phase, the localization of the signal is shifted to the right. However, in the case of a reverse phase in which the phase is advanced (delayed) by about 180 °, the localization is exceptionally unknown and may exhibit a strange spread. Such a sound image often gives an uncomfortable feeling to the listener, and this method is rarely used except when creating a special sound image.
楽音は複数の倍音で構成されている。1つ1つの倍音は時間的に振幅及び周波数が変化する単一周波数の正弦波である。一般的に正弦波は定位を持つことはできるが、広がりを有することはないことが知られている。従って、各倍音は定位を持つことはできるが基本的にそれ自体が広がりを持つことはない。よって楽音の広がりのある音像は各倍音の定位が互いに異なり広範囲に分散することで、作られるものである。 A musical tone is composed of multiple overtones. Each overtone is a single-frequency sine wave whose amplitude and frequency change over time. In general, it is known that a sine wave can have a localization but does not have a spread. Therefore, each overtone can have a localization, but basically does not have a spread itself. Therefore, a sound image with a musical sound spread is created by the localization of each overtone being different from each other and dispersed over a wide range.
図29(A)及び(B)は、楽音の音像を説明するための図である。聴取者2901が左スピーカ2902及び右スピーカ2903から発せられる楽音を聴く場合を説明する。定位2911は、楽音を構成する各倍音の定位を示す。音像2910は、楽音の音像を示す。図29(A)は広がりがない音像2910を示し、図29(B)は広がりがある音像2910を示す。図29(A)では、各倍音の定位2911がほぼ同じ位置に集まっているため楽音の音像2910は小さい。これに対して、図29(B)では、広範囲に倍音の定位2911が分散しており、楽音の音像2910は大きくなる。もし、全ての倍音の定位2911が1点に集まれば、その楽音の音像2910は広がりを持たない。
FIGS. 29A and 29B are diagrams for explaining a sound image of a musical sound. A case where the
図30は、楽音の音像の時間変化を示す図である。聴取者3001が左スピーカ3002及び右スピーカ3003から発せられる楽音を聴く場合を説明する。定位3011は、楽音を構成する各倍音の定位を示す。音像3010は、楽音の各倍音の定位3011により構成される。各倍音の定位3011が時間的に定位3021に変化する様子を示す。変化後の各倍音の定位3021は、音像3020を構成する。すなわち、音像3010は、時間的に音像3020に変化する。左右チャンネルの互いに対応する倍音の振幅差あるいは位相差が時間的に変化することで、その倍音の定位が時間的に変化する。図30では、時間経過に伴って各倍音の定位が変化することで、楽音の音像が大きくなる様子を示している。即ち、各倍音の定位が時間的に変化することで、楽音の音像が時間的に変化するのである。
FIG. 30 is a diagram showing a time change of a sound image of a musical sound. A case where the listener 3001 listens to a musical sound emitted from the
下記の特許文献1には、ステレオオーディオ信号の差信号を基に広がり感や臨場感のある音響再生を行う音場信号再生装置が記載されている。
また、下記の特許文献2には、モノラル音楽を多数のマイクロフォンをもってステレオ集音し、擬似ステレオ音楽を得る方法が記載されている。
また、下記の特許文献3には、増幅器、遅延回路、フィルタ、差分器及び加算器を用いて、擬似ステレオ信号に振幅差を持たせる方法が記載されている。
ステレオ信号を生成するには、以下の2つの方法がある。第1の方法として、ステレオ信号を得るために2つのマイクでアコースティック楽器などの音を収音することが挙げられる。第2の方法として、モノラル信号の位相特性あるいは振幅特性もしくはその両方を変化させた信号と、元のモノラル信号でステレオ信号を得ることが挙げられる。 There are the following two methods for generating a stereo signal. As a first method, in order to obtain a stereo signal, sound of an acoustic instrument or the like can be picked up by two microphones. As a second method, a stereo signal is obtained by using a signal obtained by changing the phase characteristic and / or amplitude characteristic of a monaural signal and the original monaural signal.
電子楽器において、モノラル信号であった楽音をステレオ信号の楽音に置き換えることで、楽音に質の高い広がりを与え、その結果、電子楽器の付加価値を高めることは一般的に行われている。 In an electronic musical instrument, by replacing a musical sound that is a monaural signal with a musical sound of a stereo signal, it is common to give the musical sound a high-quality spread, and as a result, increase the added value of the electronic musical instrument.
しかしながら、上記第1の方法を考えた場合、モノラル信号の元の楽器を再び収音するのが困難な場合がある。費用、時間の問題やその楽器が既に存在しない場合などである。また収音が可能であっても所望の音像のステレオ音が得られない場合がある。例えばマイクの設置場所に制限があるなどが考えられる。 However, considering the first method, it may be difficult to pick up the original monaural instrument again. For example, cost or time issues or the instrument no longer exists. Further, there are cases where a desired stereo image cannot be obtained even if sound can be collected. For example, there may be restrictions on the location of the microphone.
上記第2の方法では、モノラル信号よりは広がるものの、2チャンネルで録音されたステレオ信号ほど質の高い広がりは得られないことが一般的に知られている。 In the second method, it is generally known that although it spreads more than a monaural signal, a quality spread cannot be obtained as much as a stereo signal recorded with two channels.
楽音の音像は、楽音を構成する倍音の定位の有様によって変化する。倍音の定位は、その左右位相差及び左右振幅差によって決定される。従って、各倍音の左右位相差及び左右振幅差を制御することで、任意の音像を得ることができる。ところが、2チャンネル収音を行ったステレオ楽音の左右差(左右振幅差及び左右位相差)は、複雑に変動しており、任意に左右差の情報を作るのは難しい。さらに低音域の楽音は倍音の数も多く、現実問題として不可能である。 The sound image of a musical sound changes depending on the localization of overtones constituting the musical sound. Overtone localization is determined by the left-right phase difference and left-right amplitude difference. Therefore, an arbitrary sound image can be obtained by controlling the left-right phase difference and left-right amplitude difference of each harmonic. However, the left-right difference (left-right amplitude difference and left-right phase difference) of the stereo music sound that has been collected by the two channels fluctuates in a complicated manner, and it is difficult to arbitrarily create left-right difference information. Furthermore, the low frequency range musical tone has many overtones, which is impossible as a real problem.
本発明の目的は、モノラル信号を所望の音像を持ったステレオ信号に変換することである。 An object of the present invention is to convert a monaural signal into a stereo signal having a desired sound image.
本発明の楽音情報生成装置は、対象音波形情報を基に、対象音を構成する倍音毎の第1の周期情報及び第1の振幅情報を含む対象音情報を生成する対象音分析手段と、基準音波形情報を基に、基準音を構成する倍音毎の第1のチャンネルの基準音情報及び第2のチャンネルの基準音情報を生成する基準音分析手段と、前記第1のチャンネルの基準音情報及び前記第2のチャンネルの基準音情報を基に差情報を生成する差情報抽出手段とを有する。
また、本発明の楽音情報生成方法は、対象音波形情報を基に、対象音を構成する倍音毎の第1の周期情報及び第1の振幅情報を含む対象音情報を生成する対象音分析ステップと、基準音波形情報を基に、基準音を構成する倍音毎の第1のチャンネルの基準音情報及び第2のチャンネルの基準音情報を生成する基準音分析ステップと、前記第1のチャンネルの基準音情報及び前記第2のチャンネルの基準音情報を基に差情報を生成する差情報抽出ステップとを有する。
The musical sound information generating apparatus of the present invention, based on the target sound waveform information, target sound analysis means for generating target sound information including first period information and first amplitude information for each overtone constituting the target sound, Reference sound analysis means for generating reference sound information of the first channel and reference sound information of the second channel for each overtone constituting the reference sound based on the reference sound waveform information, and a reference sound of the first channel Difference information extraction means for generating difference information based on the information and the reference sound information of the second channel.
Also, music information generating method of the present invention, based on the target sound wave information, target sound analysis to generate a target sound information including the first cycle information and a first amplitude information for each harmonic constituting the target sound A reference sound analysis step for generating reference sound information of a first channel and reference sound information of a second channel for each overtone constituting the reference sound based on the reference sound waveform information; and the first channel And a difference information extracting step for generating difference information based on the reference sound information of the second channel and the reference sound information of the second channel.
第1の周期情報及び第1の振幅情報は、モノラル楽音を構成する。そのモノラル楽音を基に、ステレオ楽音を生成することができる。ステレオ楽音の音像は、差情報を基に所望の音像に制御することができる。 The first period information and the first amplitude information constitute a monaural musical sound. Stereo music can be generated based on the monaural music. The sound image of the stereo musical sound can be controlled to a desired sound image based on the difference information.
(第1の実施形態)
図1は、本発明の第1の実施形態による楽音情報生成装置の構成例を示す図である。
まず、楽音情報記憶手段101について説明する。楽音情報記憶手段101には、左右2チャンネルで構成されるステレオ楽音を合成するための、第1の周期情報111、第1の振幅情報113、位相差情報112、及び振幅差情報114が記憶されている。この構成例では、楽音情報記憶手段101に、1楽音分の第1の周期情報111、第1の振幅情報113、位相差情報112及び振幅差情報114が示されているが、複数楽音分持っていても良い。各情報111〜114に記された1〜Nの添え字は倍音の番号を表している。各情報111〜114は、楽音を構成する倍音毎の情報であり、楽音波形の時間経過に伴う情報を有する。
(First embodiment)
FIG. 1 is a diagram showing a configuration example of a musical sound information generating device according to the first embodiment of the present invention.
First, the musical sound
図2は、第1の周期情報111及び第1の振幅情報113を説明するための図である。横軸は時間(サンプリングポイント)を示し、縦軸は振幅を示す。波形は、ある1つの倍音の波形である。
FIG. 2 is a diagram for explaining the
まず、第1の周期情報111について説明する。第1の周期情報111は、波形の各倍音についての周期ごとの立ち上がりの0クロス時間を記憶している。時間はサンプリングポイント単位である。図2では、4周期分の波形が示されている。図中の黒丸に対応する時間が周期情報である。立ち上がりのみでなく、立ち下がりの0クロス時間を第1の周期情報111として記憶しても良い。また時間経過に応じた周期をそのまま記憶する、あるいは周波数を第1の周期情報111として記憶しても良い。
First, the
次に、第1の振幅情報113について説明する。本実施形態では各周期の各周期内の最大振幅絶対値を第1の振幅情報113としている。図2においては図中の矢印で示された振幅値が、各周期の第1の振幅情報113である。これ以外にも単位時間当たりの振幅比を第1の振幅情報113として記憶しても良い。この場合の振幅比とは、同じ周期で最大振幅1の正弦波の同じ位相の値に対する、振幅の比を言う。
Next, the
次に、位相差情報112について説明する。位相差情報112は、第1の楽音と第2楽音の位相差を、各倍音について、時間経過に沿って記憶したものである。例えば、位相差情報は、第1の楽音と第2の楽音の各倍音について、周期毎の位相差を角度(deg)で記憶したものである。位相差情報112は、角度(deg)以外にもラジアンで表されていても良いし、周期情報のように0クロス時間差で表されていても良い。また第1の周期情報111が周期毎の周波数で表されている場合は、位相差情報112は周期毎の周波数差で表されていても良い。
Next, the
次に、振幅差情報114について説明する。振幅差情報114は、第1の楽音と第2の楽音の振幅差または振幅比を、各倍音について時間経過に沿って記憶したものである。例えば、振幅差情報114は、第1の楽音と第2の楽音の各倍音について、周期毎の、絶対最大振幅値の差を記憶したものである。振幅差情報114は、これ以外にも単位時間当たりの振幅値の差を記憶しても良いし、あるいは周期毎の最大振幅の比を記憶しても良い。
Next, the
図3は、各周期に対応して、第1の周期情報111、第1の振幅情報113、位相差情報112及び振幅差情報114を記憶したテーブルの例を示す図である。図3は、1倍音分の各情報である。第1の周期情報111及び第1の振幅情報113は、図2に示した倍音の情報である。このような記憶形態の他に、周期番号を変数とした関数を記憶してもよい。その関数は、周期情報合成手段102、振幅情報合成手段103、又は楽音合成手段104,105で合成する際に算出しても良い。
FIG. 3 is a diagram illustrating an example of a table storing
次に、周期情報合成手段102について説明する。周期情報合成手段102は、第1の周期情報111と位相差情報112を基に第2の周期情報を生成する。その詳細は、後に説明する。
Next, the period
次に、振幅情報合成手段103について説明する。振幅情報合成手段103は、第1の振幅情報113と振幅差情報114を基に第2の振幅情報を生成する。その詳細は、後に説明する。
Next, the amplitude information synthesis unit 103 will be described. The amplitude information combining unit 103 generates second amplitude information based on the
次に、第1の楽音合成手段104について説明する。第1の楽音合成手段104は、第1の振幅情報113と第1の周期情報111を基に第1の楽音波形を生成する。この第1の楽音は、例えばステレオ楽音の左チャンネルの楽音波形である。すなわち、第1の周期情報111及び第1の振幅情報113は、左チャンネルの楽音の情報である。
Next, the first musical tone synthesis means 104 will be described. The first musical
次に、第2の楽音合成手段105について説明する。第2の楽音合成手段105は、振幅情報合成手段103の出力の第2の振幅情報と、周期情報合成手段102の出力の第2の周期情報とを基に第2の楽音波形を生成する。この第2の楽音は、例えばステレオ楽音の右チャンネルの楽音波形である。
Next, the second musical tone synthesis means 105 will be described. The second musical
位相差情報112及び振幅差情報114は、種々の音色の楽音に共通に使用しても、別に使用してもよい。すなわち、位相差情報112及び振幅差情報114は共通にして、種々のモノラル楽音の第1の周期情報111及び第1の振幅情報113を変えれば、種々のステレオの第1及び第2の楽音波形を生成することができる。
The
第1の楽音合成手段104及び第2の楽音合成手段105で合成された楽音は、図27の楽音波形記憶手段2710に記憶する、あるいは、図28のD/A変換器、パワーアンプ及びスピーカなどから成る音響出力手段2709を経て放音しても良い。図27及び図28の詳細は、後に説明する。 The musical sounds synthesized by the first musical tone synthesizing means 104 and the second musical tone synthesizing means 105 are stored in the musical tone waveform storage means 2710 of FIG. 27, or the D / A converter, power amplifier, speaker, etc. of FIG. Sound may be emitted through the sound output means 2709 comprising the following. Details of FIGS. 27 and 28 will be described later.
以下に、周期情報合成手段102、振幅情報合成手段103、第1の楽音合成手段104及び第2の楽音合成手段105の動作を説明する。
Hereinafter, operations of the period
図4は、周期情報合成手段102の処理を示すフローチャートである。周期情報合成手段102は、第1の周期情報111と位相差情報112を基に第2の周期情報を生成する。図中nは周期番号を示し、Nは第1の周期情報111及び位相差情報112の周期数であり、最終周期番号を示す。
FIG. 4 is a flowchart showing the processing of the period
ステップS401では、第1の周期情報111と位相差情報112を基に、第1周期の第2の周期情報を算出し、周期番号nを2にする。次に、ステップS402では、第1の周期情報111と位相差情報112を基に、第n周期の第2の周期情報を算出する。次に、ステップS403では、周期番号nが最終周期番号Nと同じか否かを判定する。同じでなければステップS404へ進み、同じであれば処理を終了する。ステップS404では、周期番号nをインクリメント(1加算)する。その後、ステップS402へ戻り、同様の処理を繰り返す。これにより、第1〜第N周期の第2の周期情報を算出することができる。
In step S401, the second cycle information of the first cycle is calculated based on the
ステップS401において、第1周期の第2の周期情報を算出する。この方法を式(1)〜(4)に記述する。 In step S401, second period information of the first period is calculated. This method is described in equations (1) to (4).
p=t1(2)−t1(1) ・・・(1)
a=t1(1)/p×360 ・・・(2)
b=mod{a+θ(1),360} ・・・(3)
t2(1)=b/360×p ・・・(4)
p = t1 (2) -t1 (1) (1)
a = t1 (1) / p × 360 (2)
b = mod {a + θ (1), 360} (3)
t2 (1) = b / 360 × p (4)
上記式(1)〜(4)において、t1は第1の周期情報(0クロス時間)111、θは位相差情報112、t2が求める第2の周期情報を表す。その他、pは第1の楽音の第1周期の周期、aは第1の楽音の第1周期の位相(°)、bは第2の楽音の第1周期の位相(°)、modは符号付剰余演算を表す。()内の数字は周期番号を表す。
In the above formulas (1) to (4), t1 represents the first period information (0 cross time) 111, and θ represents the second period information obtained by the
ステップS402において、第2〜第N周期の第2の周期情報を算出する。Nは最終周期番号である。この方法を式(5)〜(7)に記述する。 In step S402, second period information of the second to Nth periods is calculated. N is the last cycle number. This method is described in equations (5) to (7).
p=t1(n)−t1(n−1) ・・・(5)
Δθ=θ(n)−θ(n−1) ・・・(6)
t2(n)=(1+Δθ/360)×p+t2(n−1) ・・・(7)
p = t1 (n) -t1 (n-1) (5)
Δθ = θ (n) −θ (n−1) (6)
t2 (n) = (1 + Δθ / 360) × p + t2 (n−1) (7)
上記式(5)〜(7)において、nは周期番号、pは第1楽音の第n周期の周期、Δθは第2の楽音の第n周期と前周期の位相差、他は式(1)〜(4)と同様である。 In the above formulas (5) to (7), n is the cycle number, p is the cycle of the nth cycle of the first musical tone, Δθ is the phase difference between the nth cycle and the previous cycle of the second musical tone, and others are the formula (1) ) To (4).
振幅情報合成手段103は、第1の振幅情報113と振幅差情報114を加算するだけである。式(8)と等価である。
A2(n)=A1(n)+a(n) ・・・(8)
The amplitude information combining means 103 only adds the
A2 (n) = A1 (n) + a (n) (8)
上式においてA1は第1の振幅情報113、aは振幅差情報114、A2は求める第2の振幅情報であり、()内の数は周期番号を表す。
In the above equation, A1 is the
図5に、第1の周期情報111及び位相差情報112を基に周期情報合成手段102によって算出された第2の周期情報と、第1の振幅情報113及び振幅差情報114を基に振幅情報合成手段103によって算出された第2の振幅情報の例を示す。
FIG. 5 shows amplitude information based on the second period information calculated by the period information combining means 102 based on the
図6は、第2の楽音合成手段105の処理を示すのフローチャートである。第1の楽音合成手段104は、第2の楽音合成手段105と同様の動作をする。以下、第2の楽音合成手段105が、第2の周期情報と第2の振幅情報を基に第2の楽音を合成する処理を例に説明する。図中、kは第2の楽音のサンプルポイント、nは周期番号、t2(n+1)は次の周期の0クロス時間(サンプルポイント)、wlenは第2の楽音の波形長(最終サンプルポイント)を示す。この値は図6の処理を開始する前に算出しておく。第2の周期情報、第2の振幅情報などはN周期分持つとする。
FIG. 6 is a flowchart showing the processing of the second musical tone synthesis means 105. The first musical
まず、ステップS601では、第n周期の第2の周期情報と第2の振幅情報を基に第2の楽音の第kサンプルを算出する。すなわち、1サンプル分の第2の楽音を算出する。次に、ステップS602では、サンプルポイントkをインクリメントする。次に、ステップS603では、サンプルポイントkが次の周期の0クロス時間t2(n+1)を越えたか否かを判定する。越えていなければステップS601に戻り、次のサンプルの算出を行う。越えていればステップS604へ進む。 First, in step S601, the kth sample of the second tone is calculated based on the second period information and the second amplitude information of the nth period. That is, the second tone for one sample is calculated. Next, in step S602, the sample point k is incremented. Next, in step S603, it is determined whether or not the sample point k has exceeded the 0-cross time t2 (n + 1) of the next cycle. If not, the process returns to step S601 to calculate the next sample. If so, the process proceeds to step S604.
ステップS604では、周期番号nをインクリメントする。次に、ステップS605では、周期番号nが最終周期番号Nか否かを判定する。最終周期番号Nでなければ、ステップS601に戻り、次のサンプルの算出を行う。最終周期番号Nであれば、ステップS606へ進む。 In step S604, the cycle number n is incremented. Next, in step S605, it is determined whether or not the cycle number n is the final cycle number N. If it is not the last cycle number N, the process returns to step S601 to calculate the next sample. If it is the last cycle number N, the process proceeds to step S606.
ステップS606では、第N周期の第2の周期情報と第2の振幅情報を基に第2の楽音の第kサンプルを算出する。すなわち、最終周期の第2の周期情報と第2の振幅情報から1サンプル分の第2の楽音を算出する。次に、ステップS607では、サンプルポイントkが第2の楽音の波形長wlenを越えたか否かを判定する。越えていなければステップS608へ進み、越えていれば処理を終了する。 In step S606, the kth sample of the second tone is calculated based on the second period information and the second amplitude information of the Nth period. That is, the second musical sound for one sample is calculated from the second period information and the second amplitude information of the final period. Next, in step S607, it is determined whether the sample point k has exceeded the waveform length wlen of the second musical sound. If not, the process proceeds to step S608, and if it exceeds, the process ends.
ステップS608では、サンプルポイントkをインクリメントする。その後、ステップS606へ戻り、次のサンプルの算出を行う。 In step S608, the sample point k is incremented. Thereafter, the process returns to step S606, and the next sample is calculated.
第2の楽音の波形長wlenを算出する式(9)を示す。
wlen=t2(N)+t2(N)−t2(N−1) ・・・(9)
Expression (9) for calculating the waveform length wlen of the second musical sound is shown.
wlen = t2 (N) + t2 (N) -t2 (N-1) (9)
ステップS601において、第1〜第N−1周期までの波形を合成する。この処理を式(10)〜(12)に示す。 In step S601, waveforms from the first to (N-1) th cycles are synthesized. This process is shown in equations (10) to (12).
α={k−t2(n)}/{t2(n+1)−t2(n)} ・・・(10)
φ=2πα ・・・(11)
x(k)=A2(n)×sin(φ) ・・・(12)
α = {k−t2 (n)} / {t2 (n + 1) −t2 (n)} (10)
φ = 2πα (11)
x (k) = A2 (n) × sin (φ) (12)
上記式(10)〜(12)において、kは求める楽音のサンプルポイント、nは周期番号、αは第n周期の位相、φは第n周期の位相(rad)、xは求める第2の楽音波形、t2は第2の周期情報、A2は第2の振幅情報を表す。 In the above formulas (10) to (12), k is the sample point of the tone to be obtained, n is the cycle number, α is the phase of the nth cycle, φ is the phase (rad) of the nth cycle, and x is the second tone to be obtained. The waveform, t2 represents second period information, and A2 represents second amplitude information.
次に、ステップS606において、第N周期の波形を合成する。この処理を式(13)〜(15)に示す。 Next, in step S606, a waveform of the Nth period is synthesized. This process is shown in equations (13) to (15).
αN={k−t2(N)}/{t2(N)−t2(N−1)} ・・・(13)
φN=2πα ・・・(14)
x(k)=A2(N)×sin(φN) ・・・(15)
α N = {k−t2 (N)} / {t2 (N) −t2 (N−1)} (13)
φ N = 2πα (14)
x (k) = A2 (N) × sin (φ N ) (15)
上記式(13)〜(15)において、kは求める楽音のサンプルポイント、Nは最終周期番号、αNは最終周期Nの位相、φNは最終周期Nの位相(rad)、xは求める第2の楽音波形、t2は第2の周期情報、A2は第2の振幅情報を表す。 In the above formulas (13) to (15), k is the sample point of the musical sound to be obtained, N is the final cycle number, α N is the phase of the final cycle N, φ N is the phase (rad) of the final cycle N, and x is the first value to be obtained. 2 musical sound waveforms, t2 represents second period information, and A2 represents second amplitude information.
図7に、実際に、第1の周期情報111、第1の振幅情報113、位相差情報112、振幅差情報114から作成した2チャンネルの楽音波形を示す。図中、実線で示されるのが第1の楽音701であり、点線で示されるのが第2の楽音702である。図7は、図5に示した第2の周期情報及び第2の振幅情報と一致した波形となっている。
FIG. 7 shows a 2-channel musical sound waveform actually created from the
本実施形態では、図2に示すように、4周期の波形について、4点の周期情報(0クロス時間)を記憶している。この場合、最終周期の周期を規定することができない。そこで、本実施形態では最終周期を、その1つ前の周期と同じとしている。これは式(9)、式(13)からもわかる。周期情報のみ全周期数+1の周期情報を持って、最終周期を規定しても良い。 In the present embodiment, as shown in FIG. 2, four points of period information (0 cross time) are stored for a four period waveform. In this case, the final cycle period cannot be defined. Therefore, in this embodiment, the final cycle is the same as the previous cycle. This can also be seen from equations (9) and (13). Only the period information may have period information of the total number of periods + 1, and the final period may be defined.
以上、周期情報合成手段102、振幅情報合成手段103、楽音合成手段104,105の動作説明を終了する。
The description of the operations of the period
次に、音像が時間的に変化するステレオ楽音の合成について述べる。サンプリング周波数を48000Hzとして、3つの倍音を持ち、波形の長さは3秒の第1の楽音を考える。これは144000ポイントの長さとなる。1倍音から3倍音の周波数をそれぞれ、440Hz、880Hz、1320Hzとすると、各周期数はそれぞれ1320、2640、3960である。 Next, a description will be given of the synthesis of stereo musical sounds whose sound images change with time. Consider a first musical sound with a sampling frequency of 48000 Hz, three overtones, and a waveform length of 3 seconds. This is 144,000 points long. If the frequencies of the 1st harmonic and the 3rd harmonic are 440 Hz, 880 Hz, and 1320 Hz, respectively, the number of periods is 1320, 2640, and 3960, respectively.
図8は上記の場合の第1の周期情報111を示す図、図9は上記の場合の第1の振幅情報113を示す図である。図8において、周期情報801は1倍音の第1の周期情報、周期情報802は2倍音の第1の周期情報、周期情報803は3倍音の第1の周期情報である。図9において、振幅情報901は1倍音の第1の振幅情報、振幅情報902は2倍音の第1の振幅情報、振幅情報903は3倍音の第1の振幅情報である。
FIG. 8 is a diagram showing the
もし全ての倍音の位相差情報112、振幅差情報114が0であれば、第2の楽音は第1の楽音とまったく同じ波形となり、モノラルの楽音となってしまう。各倍音の振幅差情報112及び位相差情報114は以下のとおりとする。
If the
図10は1倍音の位相差情報112を示す図、図11は3倍音の振幅差情報114を示す図である。
10 is a diagram showing the
図10に示すように、1倍音の位相差情報112は第1周期から第660周期まで徐々に大きくなり、その位相差が90°に達する。その後、第661周期から1320周期まで位相差は90°のまま一定である。発音開始からの時間経過に沿って説明すると、発音開始直後から右側の位相が徐々に遅れていき、約1.5秒後にその遅れは90°に達する。その後、約1.5秒間その遅れが保持される。ここで時間をあいまいに表記したのは位相変動により周期が変動しているためである。
As shown in FIG. 10, the overtone
1倍音の振幅差情報114は、第1周期から第1320周期まで0である。2倍音の位相差情報112と振幅差情報114は第1周期から2640周期までともに0である。3倍音の位相差情報112は第1周期から第3960周期まで0である。
The
図11に示すように、3倍音の振幅差情報114は、第1周期から第1320周期まで0であり、第1321周期から第2640周期までは0から徐々に大きくなり、その振幅差が0.3に達する。第2641周期から第3960周期までは振幅差は0.3である。発音開始からの時間経過に沿って説明すると、発音直後から1秒間の間は倍音の動きはないが、1秒後から徐々に左側に対する右側の振幅が徐々に大きくなり2秒後にその差は0.3に達する。その後1秒間、その差が保持される。
As shown in FIG. 11, the
図10及び図11は、変動のある1倍音の位相差情報112と、3倍音の振幅差情報114をそれぞれ示す。
FIG. 10 and FIG. 11 show the
図12(A)〜(D)は、各倍音の定位の動きを示す図である。聴取者1201が左スピーカ1202及び右スピーカ1203から発せられる楽音を聴く場合を説明する。黒丸1211〜1213は各倍音の定位を示す。定位1211は1倍音の定位、定位1212は2倍音の定位、定位1213は3倍音の定位を示す。点線1210は楽音全体の音像を示す。
FIGS. 12A to 12D are diagrams showing the movement of localization of each overtone. A case where the
図12(A)は、発音直後の楽音の音像1210を示す。まず発音開始の時点では全ての倍音の定位1211〜1213は中央に位置している。この時点ではモノラル音と同じであり、広がりは無い。
FIG. 12A shows a
図12(B)は、発音直後から1秒までの間の楽音の音像1210を示す。発音開始から1秒までは、1倍音は右側の位相が徐々に遅れていくので、1倍音の定位1211は左へ移動する。2倍音と3倍音の定位1212及び1213は動かない。1倍音の定位1211が移動するため、徐々に楽音全体の音像1210が大きくなる。
FIG. 12B shows a
図12(C)は、1秒から2秒までの間の楽音の音像1210を示す。1秒から2秒の間は、1倍音の位相差は、約1.5秒まで大きくなっていくので、約1.5秒まで1倍音の定位1211がさらに左へ移動し、その後は位相差の変化が無いためそのまま定位1211の移動は無くなる。2倍音の定位1212は動かない。3倍音は右側の振幅が左側の振幅に対して徐々に大きくなるので、その定位1213は右へ動いていく。1倍音の定位1211の他、3倍音の定位1213も動くためさらに楽音全体の音像1210が大きくなる。
FIG. 12C shows a
図12(D)は、2秒から3秒までの間の楽音の音像1210を示す。2秒から3秒の間は、どの倍音も振幅差変動及び位相差変動がないので、2秒の時点の定位が保持される。
FIG. 12D shows a
このように各倍音の定位が、その振幅差あるいは位相差変動によって変化することで、楽音の音像が変化する。本実施形態では、第1の周期情報と位相差情報の倍音数が同じであったが、複数の倍音の第1の周期情報を用いる際に、共通の位相差情報を利用して、第2の周期情報を作成するなどしても良い。第1の振幅情報と振幅差情報についても同様である。また、倍音によっては、位相差情報と振幅差情報の双方を持たず、片方のみを有していても良い。 Thus, the sound image of a musical sound changes by the localization of each overtone changing due to its amplitude difference or phase difference fluctuation. In the present embodiment, the number of harmonics of the first period information and the phase difference information is the same. However, when the first period information of a plurality of harmonics is used, the second phase information is used by using the common phase difference information. For example, the period information may be created. The same applies to the first amplitude information and the amplitude difference information. Further, some harmonics may have only one of them without having both phase difference information and amplitude difference information.
以上のように、本実施形態によれば、左右の2チャンネルで構成されるステレオの楽音を合成することができる。左右の互いに対応する倍音毎の振幅差及び/又は位相差を制御することで、所望の音像の楽音を合成することができる。また、電子楽器などにおいて、楽音の発音開始から消音までの時間経過に応じて、楽音の音像を制御することができる。 As described above, according to the present embodiment, it is possible to synthesize stereo musical sounds composed of two left and right channels. By controlling the amplitude difference and / or phase difference between the left and right harmonics corresponding to each other, it is possible to synthesize a musical sound of a desired sound image. In addition, in an electronic musical instrument or the like, the sound image of a musical sound can be controlled in accordance with the passage of time from the start of musical sound generation to the muting.
なお、位相差情報112及び振幅差情報114は、図10及び図11に示すように、時間経過に伴う情報として説明したが、時間経過にかかわらず一定値にしてもよい。また、位相差情報112及び振幅差情報114は、必ずしも両方が必要ではない。位相差情報112がない場合には、第1の周期情報111がそのまま第2の周期情報になる。また、振幅差情報114がない場合には、第1の振幅情報113がそのまま第2の振幅情報になる。
Although the
(第2の実施形態)
図13は、本発明の第2の実施形態による楽音情報生成装置の構成例を示す図である。この図はそのまま楽音合成の工程図として見ても差し支えない。以下、各工程に沿って、本実施形態の動作を説明する。
(Second Embodiment)
FIG. 13 is a diagram showing a configuration example of a musical sound information generating device according to the second embodiment of the present invention. This figure can be viewed as it is as a musical sound synthesis process diagram. Hereinafter, the operation of the present embodiment will be described along each step.
第1の楽音情報記憶手段1301は、対象音波形情報1321及び基準音波形情報1322を記憶する。対象音分析手段1302は、対象音波形情報1321を基に第1の周期情報1326及び第1の振幅情報1327を算出する。基準音分析手段1303は、基準音波形情報1322を基に第2の周期情報1328、第3の周期情報1330、第2の振幅情報1329及び第3の振幅情報1331を算出する。
The first musical sound
第1の周期情報1326及び第1の振幅情報1327は、対象音情報1323を構成する。第2の周期情報1328及び第2の振幅情報1329は、基準音左(L)チャンネル情報1324を構成する。第3の周期情報1330及び第3の振幅情報1331は、基準音右(R)チャンネル情報1325を構成する。第2の楽音情報記憶手段1304は、対象音情報1323、基準音左チャンネル情報1324及び基準音右チャンネル情報1325を記憶する。
The first period information 1326 and the first amplitude information 1327 constitute
位相差情報抽出手段1305は、第2の周期情報1328及び第3の周期情報1330を基に位相差情報1332を算出する。振幅差情報抽出手段1306は、第2の振幅情報1329及び第3の振幅情報1331を基に振幅差情報1333を算出する。位相重み情報供給手段1307は、位相重み情報1334を供給する。振幅重み情報供給手段1308は、振幅重み情報1335を供給する。
The phase difference information extraction unit 1305 calculates the
上記の情報1326〜1333に記された1〜Nの添え字は倍音の番号を表している。各情報1326〜1333は、楽音を構成する倍音毎の情報であり、楽音波形の時間経過に伴う情報を有する。
The
周期情報作成手段1309は、位相重み情報1334、位相差情報1332及び第1の周期情報1326を基に第4の周期情報1337を算出する。振幅情報作成手段1310は、振幅重み情報1335、振幅差情報1333及び第1の振幅情報1327を基に第4の振幅情報1338を算出する。第4の周期情報1337及び第4の振幅情報1338は、新たに作成された楽音情報1336を構成する。
The period
楽音合成手段1331は、第4の周期情報1337及び第4の振幅情報1338を基に右チャンネルの楽音波形(作成音波形R)1340を合成する。対象音波形情報1321は、そのまま左チャンネルの楽音波形(作成音波形L)1339となる。以上より、左チャンネル波形1339と右チャンネル波形1340の2チャンネルのステレオ波形を合成することができる。
The musical tone synthesizing unit 1331 synthesizes the right channel musical sound waveform (prepared sound waveform R) 1340 based on the
次に、第1の楽音情報記憶手段1301について説明する。対象音波形情報1321は、1チャンネルで構成されるモノラルの波形データである。基準音波形情報1322は、左右の2チャンネルで構成されるステレオの波形データである。対象音波形情報1321及び基準音波形情報1322は、同じ音程の楽音の情報である。
Next, the first musical sound
次に、対象音分析手段1302及び基準音分析手段1303について説明する。対象音分析手段1302及び基準音分析手段1303は、対象音及び基準音の分析を行う。ここでの分析は、楽音(対象音及び基準音)の倍音毎の周期情報と振幅情報を得ることである。次の手順で行う。まず、楽音から各倍音を抽出するためのBPF(バンドパスフィルタ)を設計するために、周波数分析を行う。周波数分析の結果より、BPFの通過域を規定するためのBPD(バンドパスデータ)を作成する。 Next, the target sound analysis unit 1302 and the reference sound analysis unit 1303 will be described. The target sound analysis unit 1302 and the reference sound analysis unit 1303 analyze the target sound and the reference sound. The analysis here is to obtain period information and amplitude information for each overtone of the musical sound (target sound and reference sound). Follow the steps below. First, frequency analysis is performed to design a BPF (band pass filter) for extracting each overtone from a musical sound. Based on the result of the frequency analysis, BPD (band pass data) for defining the pass band of the BPF is created.
図14は、周波数分析の結果を示す図である。実線1401は1倍音の周波数ピーク、実線1402は2倍音の周波数ピーク、実線1403は3倍音の周波数ピークを表す。点線は、それぞれのBPFの通過域を示す。この例では、3つの倍音の周波数ピーク1401〜1403が抽出されている。BPFの通過域は、それぞれf1〜f2、f3〜f4、f5〜f6となる。
FIG. 14 is a diagram showing the results of frequency analysis. A
図15は、BPDとして記憶されるテーブルの構成例を示す図である。このBPDを基にBPFを設計し、倍音の抽出を行う。 FIG. 15 is a diagram illustrating a configuration example of a table stored as BPD. Based on this BPD, a BPF is designed to extract overtones.
周波数分析の方法はFFT(高速フーリエ変換)など公知の技術を使用する。またBPFの設計、楽音のフィルタ処理も公知の技術を使用する。 The frequency analysis method uses a known technique such as FFT (Fast Fourier Transform). In addition, well-known techniques are used for BPF design and musical sound filtering.
続いて、抽出した倍音より周期情報と振幅情報を作成する。周期情報は、倍音の0クロス時間を周期毎に検出したものとする。また、振幅情報は周期毎の振幅値を検出したものとする。 Subsequently, period information and amplitude information are created from the extracted overtones. As for the period information, it is assumed that the zero cross time of the harmonic overtone is detected for each period. Further, it is assumed that the amplitude information detects an amplitude value for each period.
図16は、周期情報と振幅情報を説明するための図であり、BPFで抽出された倍音の波形を示す。太線と矢印で示されているのが振幅値の振幅情報である。また黒丸で示されているのが0クロス時間の周期情報である。この図では横軸はサンプリングポイント単位の時間で表されている。したがって、周期情報もサンプリングポイント単位で表されることとなる。 FIG. 16 is a diagram for explaining the period information and the amplitude information, and shows a waveform of harmonics extracted by the BPF. A bold line and an arrow indicate the amplitude information of the amplitude value. In addition, the period information of the zero cross time is indicated by a black circle. In this figure, the horizontal axis represents time in units of sampling points. Therefore, the cycle information is also expressed in sampling point units.
図17は、周期情報と振幅情報を示す図である。周期情報及び振幅情報は、波形の先頭から終わりに向かって周期ごとに管理される。0クロス時間及び振幅値を検出する手法は、一般に知られている技術を用いる。本実施形態では、1つの倍音について示したが、実際には全ての倍音について周期情報及び振幅情報が算出される。 FIG. 17 is a diagram showing period information and amplitude information. Period information and amplitude information are managed for each period from the beginning to the end of the waveform. As a method for detecting the zero cross time and the amplitude value, a generally known technique is used. In the present embodiment, one harmonic is shown, but in practice, period information and amplitude information are calculated for all harmonics.
図18は、対象音情報1323、基準音左チャンネル情報1324、基準音右チャンネル情報1325のある倍音の分析結果の例を示す図である。倍音の次数(倍音番号)は、同じとする。
FIG. 18 is a diagram illustrating an example of analysis results of overtones having target
図19は、位相差情報抽出手段1305の処理を示すフローチャートである。ステップS1901では、基準音左チャンネル情報1324の第2の周期情報1328と、全ての周期の振幅値を1に置き換えた基準音左チャンネル情報1324の第2の振幅情報(第2の振幅情報の値を全て1に置き換えたもの)を基に第1の位相差情報抽出用波形を合成する。全ての周期の振幅値を1に置き換えているので、まったく振幅変動が無く、周期のみが変動する正弦波が合成される。 FIG. 19 is a flowchart showing the processing of the phase difference information extraction unit 1305. In step S1901, the second period information 1328 of the reference sound left channel information 1324 and the second amplitude information (the value of the second amplitude information) of the reference sound left channel information 1324 in which the amplitude values of all periods are replaced with one. The first phase difference information extraction waveform is synthesized based on the above. Since the amplitude values of all the periods are replaced with 1, a sine wave with no amplitude variation at all and only the cycle varies is synthesized.
次に、ステップS1902では、同様に、基準音右チャンネル情報1325の第3の周期情報1330と、全ての周期の振幅値を1に置き換えた基準音右チャンネル情報1325の第3の振幅情報(第3の振幅情報の値を全て1に置き換えたもの)を基に第2の位相差情報抽出用波形を合成する。
Next, in step S1902, similarly, the third period information 1330 of the reference sound
次に、ステップS1903では、第1の位相差情報抽出用波形の第nポイントの値を逆正弦関数によって角度(rad)に変換し、さらにこれを角度(deg)に変換する。これを第1の角度情報とする。同様に、第2の位相差情報抽出用波形の第nポイントの値より第2の角度情報を算出する。第1の角度情報より第2の角度情報を減算し、第nポイントの位相差情報を得る。 Next, in step S1903, the value of the nth point of the first phase difference information extraction waveform is converted to an angle (rad) by an inverse sine function, and further converted to an angle (deg). This is the first angle information. Similarly, second angle information is calculated from the value of the nth point of the second waveform for extracting phase difference information. The second angle information is subtracted from the first angle information to obtain nth point phase difference information.
次に、ステップS1904では、サンプリングポイントnがNと同じか否かを判定する。Nは第1及び第2の位相差情報抽出用波形の内、短いほうの波形の最終ポイントである。同じでなければステップS1905へ進み、同じであれば処理を終了する。 Next, in step S1904, it is determined whether or not the sampling point n is the same as N. N is the final point of the shorter one of the first and second phase difference information extraction waveforms. If they are not the same, the process proceeds to step S1905, and if they are the same, the process is terminated.
ステップS1905では、サンプリングポイントnをインクリメントする。その後、ステップS1903へ戻り、同様の処理を繰り返す。これにより、第1ポイントから第Nポイントまで繰り返される。 In step S1905, the sampling point n is incremented. Thereafter, the process returns to step S1903 and the same processing is repeated. Thereby, it repeats from the 1st point to the Nth point.
以下に、ステップS1903の計算式(16)〜19)を示す。
r1(n)=sin-1{a1(n)}×180/π ・・・(16)
r2(n)=sin-1{a2(n)}×180/π ・・・(17)
r=r {r>0,a(n−1)≦a(n+1)}
r=abs(r−90)+90 {r>0,a(n−1)>a(n+1)}
r=r+360 {r<0,a(n−1)≦a(n+1)}
r=180−r {r<0,a(n−1)>a(n+1)}
r=r {r=0,a(n−1)<a(n+1)}
r=180 {r=0,a(n−1)≧a(n+1)}
・・・(18)
dr(n)=r1(n)−r2(n) r1(n)−r2(n)≧0
dr(n)=r1(n)−r2(n)+360 r1(n)−r2(n)<0
・・・(19)
The calculation formulas (16) to 19) of step S1903 are shown below.
r1 (n) = sin −1 {a1 (n)} × 180 / π (16)
r2 (n) = sin −1 {a2 (n)} × 180 / π (17)
r = r {r> 0, a (n−1) ≦ a (n + 1)}
r = abs (r−90) +90 {r> 0, a (n−1)> a (n + 1)}
r = r + 360 {r <0, a (n−1) ≦ a (n + 1)}
r = 180−r {r <0, a (n−1)> a (n + 1)}
r = r {r = 0, a (n-1) <a (n + 1)}
r = 180 {r = 0, a (n−1) ≧ a (n + 1)}
... (18)
dr (n) = r1 (n) −r2 (n) r1 (n) −r2 (n) ≧ 0
dr (n) = r1 (n) -r2 (n) +360 r1 (n) -r2 (n) <0
... (19)
上記式(16)または式(17)でr1またはr2が算出された後、それらは式(18)によって値を補正される。これは通常逆正弦関数が−2/π〜2/πの値しか返さないため、正弦波の勾配を見て正しい位相を決定する必要があるためである。 After r1 or r2 is calculated by the above equation (16) or (17), the value thereof is corrected by equation (18). This is because the inverse sine function normally returns only a value of −2 / π to 2 / π, and it is necessary to determine the correct phase by looking at the gradient of the sine wave.
上記式において、a1及びa2は、第1及び第2の位相差情報抽出用波形であり、r1及びr2は、第1及び第2の角度(deg)を示す。drは位相差情報である。nはサンプルポイントを表す。 In the above formula, a1 and a2 are first and second phase difference information extraction waveforms, and r1 and r2 indicate first and second angles (deg). dr is phase difference information. n represents a sample point.
図20に、図18に示した基準音左チャンネル情報1324の第2の周期情報1328及び基準音右チャンネル情報1325の第3の周期情報1330から抽出した位相差情報1332を示す。
FIG. 20 shows
次に、振幅差情報抽出手段1306について説明する。振幅差情報抽出手段1306は、互いに対応する周期の基準音左チャンネル情報1324の第2の振幅情報1329から基準音右チャンネル情報1325第3の振幅情報1331を除算して、振幅差情報1333を求める。これを式(20)に示す。
dA(n)=A3(n)/A2(n) ・・・(20)
Next, the amplitude difference
dA (n) = A3 (n) / A2 (n) (20)
上式において、A2は基準音左チャンネル情報1324の第2の振幅情報1329、A3は基準音右チャンネル情報1325の第3の振幅情報1331、dAは振幅差情報1333、nは周期番号を表す。
In the above equation, A2 represents the second amplitude information 1329 of the reference sound left channel information 1324, A3 represents the third amplitude information 1331 of the reference sound
図18の分析結果では、基準音左チャンネル情報1324は11周期、基準音右チャンネル情報1325は12周期あるので、振幅差情報1333は11周期分求まる。あるいは12周期目の振幅差情報1333は0とする、あるいは11周期目の振幅差情報と同じにするなどしても良い。
In the analysis result of FIG. 18, since the reference sound left channel information 1324 has 11 periods and the reference sound
次に、位相重み情報供給手段1307と振幅重み情報供給手段1308について説明する。位相重み情報供給手段1307は、算出された位相差情報1332の重み情報1334を供給する。重み情報1334は、図18の分析結果のように、周期毎のテーブルとして記憶しておいても良いし、全周期にわたって共通の1つの値を記憶しておいても良い。振幅重み情報供給手段1308も同様である。また各倍音に対し共通であっても良い。また位相重み情報1334と振幅重み情報1335を共通にしても良い。本実施形態では、全倍音、全周期に渡って共通であり、位相重み情報1334と振幅重み情報1335が共通であることとする。
Next, the phase weight
本実施形態は、基準音波形情報1322のステレオ楽音の音像を、対象となる対象音波形情報1321のモノラル信号に移植し、基準音波形情報1322のステレオ信号と同様の音像を持つステレオ楽音を合成するものである。
In the present embodiment, the sound image of the stereo musical sound of the reference
ステレオ楽音の音像は、各倍音の定位の分布によって形成される。各倍音の定位は、対応する左右チャンネルの波形の位相差及び振幅差によって決定され、これらの差が小さいほど倍音の定位は左右2つのスピーカの中央に位置する。逆に、これらの差が大きければ定位は、左あるいは右のスピーカに近い位置となる。よって、このような重み付け手段を持つことで、各倍音の位相差あるいは振幅差を制御することが可能となる。これにより合成されたステレオ楽音の音像を、基準音に対して、大きくしたり、小さくしたりすることができる。 The sound image of stereo music is formed by the distribution of localization of each overtone. The localization of each harmonic is determined by the phase difference and amplitude difference of the waveform of the corresponding left and right channels. The smaller the difference is, the more the localization of the harmonic is located at the center of the two left and right speakers. Conversely, if these differences are large, the localization is close to the left or right speaker. Therefore, by having such weighting means, it is possible to control the phase difference or amplitude difference of each harmonic. As a result, the synthesized stereophonic sound image can be made larger or smaller than the reference sound.
次に、周期情報作成手段1309について説明する。周期情報作成手段1309は、対象音情報1323の第1の周期情報1326と、位相差情報1332と、位相重み情報1334とを基に第4の周期情報1337を算出する。第4の周期情報1337は、対象音波形情報1321をステレオ波形の片側チャンネル(左チャンネル)の波形としたときにもう一方のチャンネル(右チャンネル)の楽音を合成するための周期情報である。大まかな流れとしては、第1の周期情報1326を第1の位相情報に変換し、これに位相差情報1332を加えて、第4の周期情報1337を算出する。
Next, the period
図21は、周期情報作成手段1309の処理を示すフローチャートである。まず、ステップS2101では、次式により、第1周期目の第4の周期情報1337の算出を行う。
FIG. 21 is a flowchart showing the processing of the cycle
θ1(1)=360×C1(1)/{C1(2)−C1(1)} ・・・(21)
θ4(1)=mod{θ1(1)+dr(1)×w,360} ・・・(22)
C4(1)=θ4(1)×{C1(2)−C1(1)}/360 ・・・(23)
θ1 (1) = 360 × C1 (1) / {C1 (2) −C1 (1)} (21)
θ4 (1) = mod {θ1 (1) + dr (1) × w, 360} (22)
C4 (1) = θ4 (1) × {C1 (2) −C1 (1)} / 360 (23)
上記式において、C1は第1の周期情報1326、θ1は第1の位相情報、θ4は第4の位相情報、drは位相差情報1332であり式(18)で得られたものである。C4は第4の周期情報1337である。()内の数字は周期番号であるが、drについてのみはサンプルポイントである。modは剰余演算子である。wは位相重み情報1334である。
In the above equation, C1 is the first period information 1326, θ1 is the first phase information, θ4 is the fourth phase information, and dr is the
次に、ステップS2102では、第2周期から最終第N周期までの第4の周期情報1337の算出を行う。
Next, in step S2102, the
図22は、ステップS2102の処理の詳細を示すフローチャートである。まず、ステップS2201では、次式により、第n周期目の位相差情報を示すための位相差情報ポインタ(位置)p(n)を算出する。
p(n)=round[C1(n−1)/{C1(n)−C1(n−1)}
・・・(24)
ここで、上記式のpはポインタ(位置)である。roundは整数への丸め演算子である。
FIG. 22 is a flowchart showing details of the process in step S2102. First, in step S2201, a phase difference information pointer (position) p (n) for indicating phase difference information in the nth cycle is calculated by the following equation.
p (n) = round [C1 (n-1) / {C1 (n) -C1 (n-1)}
... (24)
Here, p in the above equation is a pointer (position). round is a rounding operator to an integer.
次に、ステップS2202では、前周期のポインタから式(24)で求めた現周期のポインタまでを微分する。これをδdrとする。さらにこの中の絶対最大値δdrmaxを抽出し、そのポインタpδdrも抽出する。 Next, in step S2202, differentiation is performed from the pointer of the previous cycle to the pointer of the current cycle obtained by Expression (24). This is designated as δdr. Further, the absolute maximum value δdr max is extracted, and the pointer pδ dr is also extracted.
次に、ステップS2203では、絶対最大値δdrmax、δdrの1〜pδdr−1ポイントまでの積分値x1、δdrのpδdr+1ポイント〜Kまでの積分値x2などの条件で場合分けして、第n周期と第n−1周期の位相差の変化量を算出する。Kはδdrの最終ポイントである。以下にこの処理の式を示す。 Next, in step S2203, the absolute maximum value δdr max , the integral value x1 of 1 to pδ dr −1 point of δdr, the integral value x2 of pδ dr +1 point to K of δdr, etc. The amount of change in the phase difference between the nth cycle and the n−1th cycle is calculated. K is the final point of δdr. The formula for this processing is shown below.
Δr=360−dr{p(n−1)}+dr{p(n)}
{δdrmax>θM,x1>0,x2>0}
Δr=−[dr{p(n−1)}+360−dr{p(n)}]
{δdrmax>θM,x1<0,x2<0}
Δr=dr{p(n)}−dr{p(n−1)}
{δdrmax≦θM}
・・・(27)
Δr = 360−dr {p (n−1)} + dr {p (n)}
{Δdr max > θ M , x1> 0, x2> 0}
Δr = − [dr {p (n−1)} + 360−dr {p (n)}]
{Δdr max > θ M , x1 <0, x2 <0}
Δr = dr {p (n)} − dr {p (n−1)}
{Δdr max ≦ θ M }
... (27)
この処理は、位相差の変化量が360°に近くなった場合、適切な変化量に変更するものである。位相差の変化量が360°になることは、通常の安定した波形では発生しない。よって、このような特異な現象を防ぐためのものである。 In this process, when the amount of change in the phase difference becomes close to 360 °, the amount of change is changed to an appropriate amount. The change amount of the phase difference of 360 ° does not occur in a normal stable waveform. Therefore, this is to prevent such a unique phenomenon.
式(27)のθMは位相差の最大値を規定するものであり、任意に設定してよい。本実施形態の計算では350°としている。またΔrは求める変化量である。 In equation (27), θ M defines the maximum value of the phase difference, and may be set arbitrarily. In the calculation of this embodiment, the angle is 350 °. Δr is the amount of change to be obtained.
次に、ステップS2204では、0クロス時間を算出することにより、第4の周期情報C4(n)を算出する。これを式(28)に示す。
C4(n)=(1+Δr/360)×{C1(n)−C1(n−1)}+C4(n−1)
・・・(28)
この演算が完了すると、図21のメインルーチンヘもどる。
Next, in step S2204, fourth cycle information C4 (n) is calculated by calculating a zero cross time. This is shown in equation (28).
C4 (n) = (1 + Δr / 360) × {C1 (n) −C1 (n−1)} + C4 (n−1)
... (28)
When this calculation is completed, the process returns to the main routine of FIG.
図21のステップS2103では、周期番号nと最終周期番号Nとを比較し、最終周期番号Nまで演算が終わったか否かを判定する。終了していなければステップS2104へ進み、終了していれば処理を終了する。ステップS2104では、周期番号nをインクリメントする。その後、ステップS2102へ戻り、次の周期番号の周期の算出を行う。 In step S2103 of FIG. 21, the cycle number n and the final cycle number N are compared, and it is determined whether or not the calculation has been completed up to the final cycle number N. If not completed, the process proceeds to step S2104. If completed, the process ends. In step S2104, the cycle number n is incremented. Thereafter, the process returns to step S2102, and the period of the next period number is calculated.
次に、振幅情報作成手段1310について説明する。振幅情報作成手段1310は、次式(29)により、第1の振幅情報1327に、重み情報w1で重み付けした振幅差情報1333を加算し、第4の振幅情報1338を得る。
A4(n)=A1(n)+dA(n)×w1 ・・・(29)
Next, the amplitude
A4 (n) = A1 (n) + dA (n) × w1 (29)
式(29)のA4は第4の振幅情報1338、A1は第1の振幅情報1327、dAは振幅差情報1333であり、nは周期番号であり、w1は振幅重み情報1335である。
In Expression (29), A4 is
図23に、上記の演算によって算出された第4の周期情報1337及び第4の振幅情報1338を示す。
FIG. 23 shows the
次に、楽音合成手段1311について説明する。楽音合成手段1311は、第4の周期情報1337及び第4の振幅情報1338を基に対象音の逆チャンネルの波形を対象音右チャンネル波形として合成する。またこの楽音合成手段1311は、位相差情報抽出手段1305において、第1の位相差抽出用波形と第2の位相差抽出用波形の合成も行う。本実施形態では、第4の周期情報1337及び第4の振幅情報1338を基に対象音の逆チャンネルの波形を合成する場合について説明する。
Next, the tone synthesis means 1311 will be described. The musical sound synthesizing unit 1311 synthesizes the waveform of the reverse channel of the target sound as the target sound right channel waveform based on the
図24は、楽音合成手段1311の処理を示すフローチャートである。図中、kは対象音右チャンネル波形のサンプルポイント、nは周期番号、C4は第4の周期情報(0クロス時間)、wlenは対象音右チャンネル波形の波形長(最終サンプルポイント)を示す。この値は、図24の処理を開始する前に算出しておく。周期情報、振幅情報などはN周期分持つとする。 FIG. 24 is a flowchart showing the processing of the musical tone synthesizing means 1311. In the figure, k is a sample point of the target sound right channel waveform, n is a cycle number, C4 is fourth cycle information (0 cross time), and wlen is a waveform length (final sample point) of the target sound right channel waveform. This value is calculated before starting the processing of FIG. Period information, amplitude information, and the like are assumed to have N periods.
まず、ステップS2401では、第n周期の第4の周期情報1337及び第4の振幅情報1338を基に1サンプル分の第kサンプルの対象音右チャンネル(Rch)波形を算出する。次に、ステップS2402では、サンプルポイントkをインクリメントする。次に、ステップS2403では、サンプルポイントkが次の周期の0クロス時間C4(n+1)を越えたか否か判定する。越えていなければ、ステップS2401へ戻り、次のサンプルの算出を行う。越えていれば、ステップS2404へ進む。
First, in step S2401, the target sound right channel (Rch) waveform of the kth sample for one sample is calculated based on the
ステップS2404では、周期番号nをインクリメントする。次に、ステップS2405では、周期番号nが最終周期Nか否かを判定する。最終周期Nでなければ、ステップS2401へ戻り、次のサンプルの算出を行う。最終周期Nであれば、ステップS2406へ進む。 In step S2404, the cycle number n is incremented. Next, in step S2405, it is determined whether or not the cycle number n is the final cycle N. If it is not the final period N, the process returns to step S2401 to calculate the next sample. If it is the final cycle N, the process proceeds to step S2406.
ステップS2406では、最終周期Nの第4の周期情報1337及び第4の振幅情報1338を基に1サンプル分の第kサンプルの対象音右チャンネル波形を算出する。次に、ステップS2407では、サンプルポイントkが対象音右チャンネル波形の波形長wlenを越えたか否かを判定する。越えていなければステップS2408へ進み、越えていれば処理を終了する。ステップS2408では、サンプルポイントkをインクリメントする。その後、ステップS2406に戻り、次のサンプルの算出を行う。
In step S2406, the target sound right channel waveform of the kth sample for one sample is calculated based on the
対象音右チャンネル波形の波形長wlenを算出する式(30)を示す。
wlen=C4(N)+C4(N)−C4(N−1) ・・・(30)
Expression (30) for calculating the waveform length wlen of the target sound right channel waveform is shown.
wlen = C4 (N) + C4 (N) -C4 (N-1) (30)
ステップS2401において、第1〜第N−1周期までの波形を合成する。この処理を式(31)〜(33)に示す。 In step S2401, the waveforms from the first to the (N-1) th period are synthesized. This process is shown in equations (31) to (33).
α={k−C4(n)}/{C4(n+1)−C4(n)} ・・・(31)
φ=2πα ・・・(32)
x(k)=A4(n)×sin(φ) ・・・(33)
α = {k−C4 (n)} / {C4 (n + 1) −C4 (n)} (31)
φ = 2πα (32)
x (k) = A4 (n) × sin (φ) (33)
上記式(31)〜(33)において、kは求める楽音のサンプルポイント、nは周期番号、αはn周期の位相、φはn周期の位相(rad)、xは求める対象音右チャンネル波形、C4は第4の周期情報1337、A4は第4の振幅情報1338を表す。
In the above formulas (31) to (33), k is the sample point of the musical sound to be obtained, n is the cycle number, α is the phase of n cycle, φ is the phase (rad) of n cycle, x is the waveform of the right channel of the target sound to be obtained, C4 represents the
次に、ステップS2406において、第N周期の波形を合成する。この処理を式(34)〜(36)に示す。 Next, in step S2406, an Nth period waveform is synthesized. This process is shown in equations (34)-(36).
αN={k−C4(N)}/{C4(N)−C4(N−1) ・・・(34)
φN=2πα ・・・(35)
x(k)=A4(N)×sin(φN) ・・・(36)
α N = {k−C4 (N)} / {C4 (N) −C4 (N−1) (34)
φ N = 2πα (35)
x (k) = A4 (N) × sin (φ N ) (36)
上記式(34)〜(36)において、kは求める楽音のサンプルポイント、Nは最終周期番号、αNは最終周期Nの位相、φNは最終周期Nの位相(rad)、xは求める対象音右チャンネル波形、C4は第4の周期情報1337、A4は第4の振幅情報1338を表す。
In the above formulas (34) to (36), k is the sample point of the tone to be obtained, N is the final cycle number, α N is the phase of the final cycle N, φ N is the phase (rad) of the final cycle N, and x is the target to be obtained. The sound right channel waveform, C4 represents
図25は、予め記憶されていた対象音2501と、楽音合成手段1311で合成した対象音右チャンネル波形2502を示す図である。また図26は、基準音左チャンネル波形2601及び基準音右チャンネル波形2602を示す図である。これら2つの図を見比べると、図25の対象音2501と対象音右チャンネル波形2502との差と、図26の基準音左チャンネル波形2601と基準音右チャンネル波形2602との差が似通っていることがわかる。例えば、左チャンネル波形2501及び2601に対して右チャンネル波形2502及び2602の位相が徐々に進んでいる。また各周期の振幅の違いも似通っている。
FIG. 25 is a diagram showing the
以上のように、対象音の各倍音に対してそれに対応する逆チャンネルの波形を合成することができる。これによって対象音を、基準音の音像を持つステレオ音に変換することができる。本実施形態では、対象音波形情報は左右の2チャンネルで構成されるステレオの波形データでも良く、この場合は左右の内どちらかのチャンネルの波形を対象音とすることとなる。 As described above, it is possible to synthesize a reverse channel waveform corresponding to each overtone of the target sound. As a result, the target sound can be converted into a stereo sound having a sound image of the reference sound. In this embodiment, the target sound waveform information may be stereo waveform data composed of two left and right channels. In this case, the waveform of one of the left and right channels is used as the target sound.
基準となるステレオ信号(左右の2チャンネルから成る音)の位相差、振幅差情報を抽出し、モノラルの信号に与え、元のモノラル信号と位相差及び/又は振幅差を付与したモノラル信号とで、ステレオ信号を合成することができる。これにより、基準となるステレオ信号の音像を、モノラル信号に与えることができる。すなわち、ある楽器の音を収音したモノラル信号に、別の所望の音像を持ったステレオ信号の位相差及び/又は振幅差情報を、倍音毎に反映させることで、モノラル信号を所望の音像を持ったステレオ信号に変換することができる。 Extract the phase difference and amplitude difference information of the standard stereo signal (sound consisting of two channels on the left and right), give it to the monaural signal, and add the original monaural signal and the monaural signal with the phase difference and / or amplitude difference Stereo signals can be synthesized. Thereby, the sound image of the standard stereo signal can be given to the monaural signal. In other words, by reflecting the phase difference and / or amplitude difference information of a stereo signal having a different desired sound image to the monaural signal that picks up the sound of a certain instrument for each overtone, the desired sound image of the monaural signal is reflected. It can be converted into a stereo signal.
なお、位相差情報1332及び振幅差情報1333は、時間経過に伴う情報として説明したが、時間経過にかかわらず一定値にしてもよい。また、位相差情報抽出手段1305及び振幅差情報抽出手段1306は、必ずしも両方が必要ではない。位相差情報抽出手段1305がない場合には、第1の周期情報1326がそのまま第4の周期情報1337になり、周期情報作成手段1309が不要になる。また、振幅差情報抽出手段1306がない場合には、第1の振幅情報1327がそのまま第4の振幅情報1338になり、振幅情報作成手段1310が不要になる。また、位相重み情報1334及び振幅重み情報1335は、必ずしも必要でない。
Note that the
(第3の実施形態)
図27は、本発明の第3の実施形態による電子楽器の構成例を示すブロック図である。バス2701には、CPU2702、外部記憶装置2704、ROM2705、RAM2706、楽音情報記憶手段2707及び音源2708が接続される。演奏手段2703は、CPU2702に接続される。音響出力手段2709及び楽音波形記憶手段2710は、音源2708に接続される。
(Third embodiment)
FIG. 27 is a block diagram showing a configuration example of an electronic musical instrument according to the third embodiment of the present invention. Connected to the
楽音波形記憶手段2710には、第1又は第2の実施形態により生成された左右2チャンネルのステレオ楽音波形が記憶される。この電子楽器は、楽音波形記憶手段2710からそのステレオ楽音波形を読み出し、発音させる。 The musical sound waveform storage means 2710 stores the left and right two-channel stereo musical sound waveforms generated by the first or second embodiment. This electronic musical instrument reads the stereo musical sound waveform from the musical sound waveform storage means 2710 and causes it to sound.
演奏手段2703は、鍵盤及びペダルなどの演奏操作子を含む。CPU2702は、演奏手段2703の演奏操作状況(操作された鍵番号及び操作の強さなど)の演奏情報を得ることができる。CPU2702は、電子楽器全体を制御するものである。ROM2705は、CPU2702が処理するコンピュータプログラムを記憶する。RAM2706は、演奏情報などを記憶したり、演算に使用する記憶領域である。外部記憶装置2704は、フレキシブルディスク、コンパクトディスク(CD)などの記録媒体である。CPU2702は、これらの記録媒体より楽音情報及び楽音波形などを読み出し、楽音情報記憶手段2707及び楽音波形記憶手段2710に記憶しても良い。また、CPU2702は、インターネットなどを介して上記の情報を読み出しても良い。
The performance means 2703 includes performance operators such as a keyboard and a pedal. The
演奏者が演奏手段2703を用いて演奏操作を行うと、演奏手段2703はCPU2702に演奏情報を出力する。例えば、鍵盤を押鍵すると、キーオン信号がCPU2702に出力される。CPU2702は、演奏情報に応じた楽音情報を読み出し、演奏情報及び楽音情報を音源2708に与える。音源2708は、与えられた楽音情報と演奏情報に応じた楽音波形を楽音波形記憶手段2710から読み出し、楽音を合成する。この楽音合成は、読み出した楽音波形にエンベロープを与え、複数読み出した波形を加算する処理等である。この際、音源2708は、第1又は第2の実施形態により生成された左右2チャンネルのステレオ楽音波形を読み出す。音響出力手段2709は、D/A変換器、パワーアンプ、スピーカ、ヘッドフォンなどで構成され、音源2708から出力された楽音を音響的に発生する。スピーカは、左右2チャンネルのステレオスピーカであり、音源2708から出力された2チャンネルのステレオ楽音を発音する。
When the performer performs a performance operation using the performance means 2703, the performance means 2703 outputs performance information to the
(第4の実施形態)
図28は、本発明の第4の実施形態による電子楽器の構成例を示すブロック図である。図28の電子楽器は、図27の電子楽器から楽音波形記憶手段2710を削除したものである。本実施形態は、第1又は第2の実施形態により生成された2チャンネルのステレオ楽音波形を記憶せず、楽音情報より波形を合成する。すなわち、本実施形態の電子楽器は、第1又は第2の実施形態による楽音情報生成装置を有し、楽音波形の合成を行う。
(Fourth embodiment)
FIG. 28 is a block diagram showing a configuration example of an electronic musical instrument according to the fourth embodiment of the present invention. The electronic musical instrument of FIG. 28 is obtained by deleting the musical sound waveform storage means 2710 from the electronic musical instrument of FIG. In this embodiment, the two-channel stereo musical sound waveform generated by the first or second embodiment is not stored, and a waveform is synthesized from the musical sound information. That is, the electronic musical instrument of the present embodiment includes the musical sound information generating device according to the first or second embodiment, and synthesizes musical sound waveforms.
演奏手段2703は、鍵盤及びペダルなどの演奏操作子を含む。CPU2702は、演奏手段2703の演奏操作状況(操作された鍵番号及び操作の強さなど)の演奏情報を得ることができる。CPU2702は、電子楽器全体を制御するものである。ROM2705は、CPU2702が処理するコンピュータプログラムを記憶する。RAM2706は、演奏情報などを記憶したり、演算に使用する記憶領域である。外部記憶装置2704は、フレキシブルディスク、コンパクトディスク(CD)などの記録媒体である。CPU2702は、これらの記録媒体より楽音情報などを読み出し、楽音情報記憶手段2707に記憶しても良い。また、CPU2702は、インターネットなどを介して上記の情報を読み出しても良い。
The performance means 2703 includes performance operators such as a keyboard and a pedal. The
演奏者が演奏手段2703を用いて演奏操作を行うと、演奏手段2703はCPU2702に演奏情報を出力する。例えば、鍵盤を押鍵すると、キーオン信号がCPU2702に出力される。CPU2702は、演奏情報に応じた楽音情報を読み出し、演奏情報及び楽音情報を音源2708に与える。音源2708は、与えられた楽音情報と演奏情報に応じた楽音を合成する。すなわち、音源2708は、第1又は第2の実施形態による楽音合成を行い、左右2チャンネルのステレオ楽音波形を生成する。また、この楽音合成は、読み出した楽音波形にエンベロープを与え、複数読み出した波形を加算する処理等も含む。音響出力手段2709は、D/A変換器、パワーアンプ、スピーカ、ヘッドフォンなどで構成され、音源2708から出力された楽音を音響的に発生する。スピーカは、左右2チャンネルのステレオスピーカであり、音源2708から出力された2チャンネルのステレオ楽音を発音する。
When the performer performs a performance operation using the performance means 2703, the performance means 2703 outputs performance information to the
第3及び第4実施形態は、CPU2702を含むコンピュータがプログラムを実行することによって実現することができる。また、プログラムをコンピュータに供給するための手段、例えばかかるプログラムを記録したCD−ROM等のコンピュータ読み取り可能な記録媒体又はかかるプログラムを伝送するインターネット等の伝送媒体も本発明の実施形態として適用することができる。また、上記のプログラムを記録したコンピュータ読み取り可能な記録媒体等のコンピュータプログラムプロダクトも本発明の実施形態として適用することができる。上記のプログラム、記録媒体、伝送媒体及びコンピュータプログラムプロダクトは、本発明の範疇に含まれる。記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
The third and fourth embodiments can be realized by a computer including a
なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。 The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
101 楽音情報記憶手段
102 周期情報合成手段
103 振幅情報合成手段
104 第1の楽音合成手段
105 第2の楽音合成手段
1301 第1の楽音情報記憶手段
1302 対象音分析手段
1303 基準音分析手段
1304 第2の楽音情報記憶手段
1305 位相差情報抽出手段
1306 振幅差情報抽出手段
1307 位相重み情報供給手段
1308 振幅重み情報供給手段
1309 周期情報作成手段
1310 振幅情報作成手段
1311 楽音合成手段
101 music information storage means 102 period information synthesis means 103 amplitude information synthesis means 104 first music sound synthesis means 105 second music sound synthesis means 1301 first music sound information storage means 1302 target sound analysis means 1303 reference sound analysis means 1304 second Musical tone information storage means 1305 phase difference information extraction means 1306 amplitude difference information extraction means 1307 phase weight information supply means 1308 amplitude weight information supply means 1309 period information creation means 1310 amplitude information creation means 1311 music sound synthesis means
Claims (15)
基準音波形情報を基に、基準音を構成する倍音毎の第1のチャンネルの基準音情報及び第2のチャンネルの基準音情報を生成する基準音分析手段と、
前記第1のチャンネルの基準音情報及び前記第2のチャンネルの基準音情報を基に差情報を生成する差情報抽出手段と
を有する楽音情報生成装置。 A target sound analysis means for generating target sound information including first period information and first amplitude information for each overtone constituting the target sound based on the target sound waveform information;
Reference sound analysis means for generating the reference sound information of the first channel and the reference sound information of the second channel for each overtone constituting the reference sound based on the reference sound waveform information;
A musical sound information generating apparatus comprising difference information extraction means for generating difference information based on the reference sound information of the first channel and the reference sound information of the second channel.
前記差情報抽出手段は、前記第2の周期情報及び前記第3の周期情報を基に位相差情報を生成する位相差情報抽出手段を含む請求項6記載の楽音情報生成装置。 The reference sound information of the first channel includes second period information, the reference sound information of the second channel includes third period information,
7. The musical tone information generating apparatus according to claim 6 , wherein the difference information extracting means includes phase difference information extracting means for generating phase difference information based on the second period information and the third period information.
前記差情報抽出手段は、前記第2の振幅情報及び前記第3の振幅情報を基に振幅差情報を生成する振幅差情報抽出手段を含む請求項6記載の楽音情報生成装置。 The reference sound information of the first channel includes second amplitude information, the reference sound information of the second channel includes third amplitude information,
7. The musical tone information generating apparatus according to claim 6 , wherein the difference information extracting means includes amplitude difference information extracting means for generating amplitude difference information based on the second amplitude information and the third amplitude information.
前記差情報抽出手段は、
前記第2の周期情報及び前記第3の周期情報を基に位相差情報を生成する位相差情報抽出手段と、
前記第2の振幅情報及び前記第3の振幅情報を基に振幅差情報を生成する振幅差情報抽出手段とを含む請求項6記載の楽音情報生成装置。 The reference sound information of the first channel includes second period information and second amplitude information, and the reference sound information of the second channel includes third period information and third amplitude information,
The difference information extraction means includes
Phase difference information extraction means for generating phase difference information based on the second period information and the third period information;
7. A musical tone information generating apparatus according to claim 6 , further comprising amplitude difference information extracting means for generating amplitude difference information based on the second amplitude information and the third amplitude information.
前記第1の周期情報及び前記位相差情報を基に第4の周期情報を生成する周期情報生成手段と、
前記前記第1の振幅情報及び前記振幅差情報を基に第4の振幅情報を生成する振幅情報生成手段とを含む請求項9記載の楽音情報生成装置。 The musical sound information generating means includes
Period information generating means for generating fourth period information based on the first period information and the phase difference information;
The musical tone information generation apparatus according to claim 9 , further comprising amplitude information generation means for generating fourth amplitude information based on the first amplitude information and the amplitude difference information.
前記振幅情報生成手段は、前記第1の振幅情報、前記振幅差情報及び重み情報を基に第4の振幅情報を生成する請求項12記載の楽音情報生成装置。 The period information generating means generates fourth period information based on the first period information, the phase difference information, and the weight information,
The musical tone information generating apparatus according to claim 12 , wherein the amplitude information generating means generates fourth amplitude information based on the first amplitude information, the amplitude difference information, and weight information.
基準音波形情報を基に、基準音を構成する倍音毎の第1のチャンネルの基準音情報及び第2のチャンネルの基準音情報を生成する基準音分析ステップと、
前記第1のチャンネルの基準音情報及び前記第2のチャンネルの基準音情報を基に差情報を生成する差情報抽出ステップと
を有する楽音情報生成方法。 A target sound analysis step for generating target sound information including first period information and first amplitude information for each overtone constituting the target sound, based on the target sound waveform information;
A reference sound analysis step for generating reference sound information of the first channel and reference sound information of the second channel for each overtone constituting the reference sound based on the reference sound waveform information;
A musical sound information generation method comprising: a difference information extraction step of generating difference information based on the reference sound information of the first channel and the reference sound information of the second channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005234354A JP4512008B2 (en) | 2005-08-12 | 2005-08-12 | Musical sound information generating apparatus, method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005234354A JP4512008B2 (en) | 2005-08-12 | 2005-08-12 | Musical sound information generating apparatus, method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007049601A JP2007049601A (en) | 2007-02-22 |
JP4512008B2 true JP4512008B2 (en) | 2010-07-28 |
Family
ID=37852044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005234354A Expired - Fee Related JP4512008B2 (en) | 2005-08-12 | 2005-08-12 | Musical sound information generating apparatus, method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4512008B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000020083A (en) * | 1998-06-30 | 2000-01-21 | Kawai Musical Instr Mfg Co Ltd | Device and method for resonant reverberation |
JP2001084000A (en) * | 1999-09-08 | 2001-03-30 | Roland Corp | Waveform reproducing device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2596154B2 (en) * | 1988-12-29 | 1997-04-02 | カシオ計算機株式会社 | Musical sound wave generating apparatus and musical sound wave generating method |
JP2957204B2 (en) * | 1989-10-04 | 1999-10-04 | ヤマハ株式会社 | Electronic musical instrument |
JP2979848B2 (en) * | 1992-07-01 | 1999-11-15 | ヤマハ株式会社 | Electronic musical instrument |
JPH08123410A (en) * | 1994-10-21 | 1996-05-17 | Kawai Musical Instr Mfg Co Ltd | Sound effect adding device of electronic musical instrument |
-
2005
- 2005-08-12 JP JP2005234354A patent/JP4512008B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000020083A (en) * | 1998-06-30 | 2000-01-21 | Kawai Musical Instr Mfg Co Ltd | Device and method for resonant reverberation |
JP2001084000A (en) * | 1999-09-08 | 2001-03-30 | Roland Corp | Waveform reproducing device |
Also Published As
Publication number | Publication date |
---|---|
JP2007049601A (en) | 2007-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7243052B2 (en) | Audio extraction device, audio playback device, audio extraction method, audio playback method, machine learning method and program | |
EP1741313B1 (en) | A method and system for sound source separation | |
Verfaille et al. | Adaptive digital audio effects (A-DAFx): A new class of sound transformations | |
KR20130108391A (en) | Method, apparatus and machine-readable storage medium for decomposing a multichannel audio signal | |
EP2946382B1 (en) | Vehicle engine sound extraction and reproduction | |
EP2549473B1 (en) | Method of sound analysis and associated sound synthesis | |
EP3121808B1 (en) | System for modeling characteristics of an electronic musical instrument | |
Pérez Carrillo et al. | Method for measuring violin sound radiation based on bowed glissandi and its application to sound synthesis | |
Välimäki et al. | Creating endless sounds | |
RU2595541C2 (en) | Device, method and computer program for generating output stereo signal to provide additional output channels | |
JP2009300576A (en) | Speech synthesizer and program | |
JP2005292207A (en) | Method of music analysis | |
JP6163211B2 (en) | Method for calculating at least two individual signals from at least two output signals | |
JP5397786B2 (en) | Fog removal device | |
JP6970366B2 (en) | Sound image reproduction device, sound image reproduction method and sound image reproduction program | |
JP4512008B2 (en) | Musical sound information generating apparatus, method and program | |
JPWO2020066681A1 (en) | Information processing equipment and methods, and programs | |
Siki et al. | Time-frequency analysis on gong timor music using short-time fourier transform and continuous wavelet transform | |
Canfer | Music Technology in Live Performance: Tools, Techniques, and Interaction | |
Dony Armstrong et al. | Pedal effects modeling for stringed instruments by employing schemes of dsp in real time for vocals and music | |
AU2020104383A4 (en) | Projection filter based universal framework to match the musical notes of synthesizer and indian classical instruments | |
Barry | Real-time sound source separation for music applications | |
WO2018193160A1 (en) | Ambience generation for spatial audio mixing featuring use of original and extended signal | |
US11501745B1 (en) | Musical instrument pickup signal processing system | |
EP4216205A1 (en) | Electronic musical instrument, method of generating musical sound, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080526 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100401 |
|
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: 20100420 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100507 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140514 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |