JP3662112B2 - Electronic musical instruments - Google Patents

Electronic musical instruments Download PDF

Info

Publication number
JP3662112B2
JP3662112B2 JP18153298A JP18153298A JP3662112B2 JP 3662112 B2 JP3662112 B2 JP 3662112B2 JP 18153298 A JP18153298 A JP 18153298A JP 18153298 A JP18153298 A JP 18153298A JP 3662112 B2 JP3662112 B2 JP 3662112B2
Authority
JP
Japan
Prior art keywords
sound
pitch
key
localization
channels
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
Application number
JP18153298A
Other languages
Japanese (ja)
Other versions
JP2000003172A (en
Inventor
浩 佐藤
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP18153298A priority Critical patent/JP3662112B2/en
Publication of JP2000003172A publication Critical patent/JP2000003172A/en
Application granted granted Critical
Publication of JP3662112B2 publication Critical patent/JP3662112B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子楽器に関し、特に、複数の音を同時に発音したときに各音の分離を良くするのに好適な定位補正手段を有する電子楽器に関する。
【0002】
【従来の技術】
一般にピアノ等の鍵盤楽器では、和音演奏等において複数の音を同時発音させると、各音は別々の位置から発音され、空間で混合(ミキシング)されて人間の耳に入る。一方、電子楽器においては、同時に入力された和音の演奏情報はデジタルまたはアナログ信号として1つの楽音信号にミキシングされた後、スピーカから発音されて人間の耳に入ってくる。
【0003】
したがって、ピアノ等の鍵盤楽器では、各音がクリアで、和音の分離が良いために各音を聞き分けることができ、空間的な広がりがある。これに対して、電子楽器では楽音信号のミキシング時に位相干渉や混変調歪み等によって各音が濁り、和音の分離が悪いために各音を聞き分けにくく、空間的な広がりをもたない。
【0004】
一般に、音の空間的な広がりをもたせるためにはパンニングやステレオサンプリング方式等が用いられる。パンニングでは、単一の音源からの音を左右2チャンネルにそれぞれ分離し、互いの出力比を変えて音像を左右に振り分けることによって音に左右の空間的広がりを与えることができる。また、2つのチャンネルを低音域と高音域とに割り当て、例えば低音を左のチャンネルに、高音を右のチャンネルにそれぞれ振り分けることで高音と低音が重ならないようにすることができる。
【0005】
一方、ステレオサンプリング方式では、楽器の音を録音するときに左右2チャンネルを使用して、音の空間的な広がりを含めた録音を行い、これを2チャンネルでそれぞれ再生する。すなわち、最初から左右2つのチャンネル毎に音源をもっているので、1つの出力に複数の音が重なることはない。
【0006】
【発明が解決しようとする課題】
上記音の空間的広がりをもたせる方式では、同時に発音する複数音の音域が互いに離れている場合には効果がある。しかし、同時に発音する複数音が互いに近接した音域にある場合には、1つのチャンネルに音が集中するため効果がない。例えば、パンニングにより互いの出力比を変えて空間的広がりをもたせる場合、発音する複数音が中音であればモノラルと同じことになる。
【0007】
したがって、和音のように互いに近接した音階の音を同時に複数発音させる場合には、従来の方式によって和音の各音を聞き取りやすくすることは困難であり、空間的な音の広がりをもたせることができないという問題点があった。
【0008】
本発明は、上記問題点を解消し、同時に発音指示されたときに複数のサウンドシステムによって空間的な音の広がりをもたせることができる電子楽器を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記の課題を解決し、目的を達成するための本発明は、それぞれが異なる位置に配置された複数のサウンドシステムを有し、一つの発音指示に応答して音源装置から複数のチャンネルを通じて該チャンネルのそれぞれに対応する前記サウンドシステムに楽音信号を供給するように構成された電子楽器において、発音指示された音と、該発音指示から予定時間が経過するまでに発音指示された音との音程を算出する音程算出手段と、前記音程算出手段で算出された音程に応じて、前記複数のチャンネルのうち予め設定された二つのチャンネルに対応したサウンドシステムの発生音の定位を変更する手段とを具備した点に特徴がある。
【0010】
この特徴によれば、予定時間内に複数の発音を行う場合、特にその音程つまり音高差が大きい場合、各チャンネルに出力された楽音信号の出力が補正され、定位が変更される。
【0011】
【発明の実施の形態】
以下に、図面を参照して本発明を詳細に説明する。図2は本発明の一実施形態に係る演奏効果付与装置を含む電子楽器の構成を示すブロック図である。同図において、CPU1は、コントロールパネル2から入力された音色情報、ならびに鍵盤3の押鍵に対応した音高情報(キーナンバ)やタッチ(押鍵強さ)情報を音源装置4に入力する。コントロールパネル2には、電源のオン・オフスイッチや後述の定位補正モード選択スイッチ等も設けられる(いずれも図示しない)。音源装置4は、例えば、正弦波加算方式で楽音を合成する機能を有し、前記音色情報、音高情報、およびタッチ情報等に基づいて楽音信号を出力する。
【0012】
音源装置4は、サウンドシステム5,6にそれぞれ供給される2つの楽音信号を出力する。サウンドシステム5,6はそれぞれ左スピーカ、右スピーカを含む。前記2つの出力は、音源装置4がモノラル音源の場合にはパンニングが付与された後の、左および右のそれぞれのチャンネル(以下、それぞれ「Lチャンネル」、「Rチャンネル」と呼ぶ)用の楽音信号であり、ステレオ音源の場合はそれぞれの音源で生成されたLチャンネルおよびRチャンネル用の楽音信号である。音源装置4から出力される楽音信号はコンピュータ処理に適したデジタル信号であるため、この楽音信号をサウンドシステム5,6に適合するアナログ信号に変換するためD/A変換器7,8が設けられている。
【0013】
CPU1は、その機能として前記音源装置4の出力の定位を変更するための定位補正演算部9を有する。定位補正演算部9は鍵盤3から供給される押鍵情報に基づいてLチャンネルおよびRチャンネルにそれぞれ出力される楽音信号の出力に補正を加えて定位を変更する。具体的には、定位補正演算部9は押鍵情報に基づいてLチャンネル用の乗算係数MultL,およびRチャンネル用の乗算係数MultRを演算し、乗算器10,11に供給する。
【0014】
図1は、前記定位補正演算部9の要部機能を示すブロック図である。同図において、キーオンスイッチ30は鍵盤3の各鍵に対応して設けられ、押鍵時にキーナンバとタッチ情報とを出力する。キーオン検出部90はキーオンスイッチ30の出力に基づいてキーオンの発生とキーオンナンバとを検出する。キーオン検出部90で検出されたキーナンバKeyNumはキーナンバ記憶部91に格納される。キーナンバ記憶部91は、1つのキーナンバを格納する領域を有し、1つのデータが入力されると先に格納されていたデータが出力されるように構成する。キーナンバ記憶部91の初期データは任意のキーナンバでよい。
【0015】
前記キーオン検出部90で検出したキーナンバKeyNumは音程算出部92にも入力される。キーナンバ記憶部91は新たにキーナンバKeyNumが入力されると、先に格納されているキーナンバKeyBufを音程算出部92に送出する。すなわち、音程算出部92では、前回キーオン時のキーナンバと今回キーオン時のキーナンバとの差つまり音程を算出する。
【0016】
タイマ93は音程算出部92から音程が出力されると同時に出力される信号s1によって時間(t)の計数を開始する。計数が開始されるとタイマ93の出力は「1」に変化し、タイムアップによって該出力は「0」に変化する。
【0017】
前記音程算出部92はタイマ93の出力が「1」のときにキーオンが検出された場合にのみ音程を算出し、タイマ93の出力が「0」のときにキーオンが検出された場合は、予め設定された固定の音程を出力する。この固定の音程は乗算係数算出部96で乗算係数MultL,MultRとして値「1」が算出されるように設定される。すなわち、前回キーオンから今回キーオンまでの時間が時間(t)以上であれば音源装置4の出力は変化させず定位は変更されない。
【0018】
前記信号s1はアンドゲート94を通じてタイマ93に入力される。アンドゲート94はインバータ95で反転されたタイマ93の出力を他方の入力としている。したがって、タイマ93の動作中はアンドゲート94は開かず、前記信号s1はタイマ93に入力されない。すなわち、タイマ93の動作中に、キーオンが検出されて音程算出部92で音程が算出されてもタイマ93が新たに時間(t)の計数を開始することはなく、タイマ93の出力は「1」に維持されたままである。
【0019】
前記音程算出部92の出力は、乗算係数算出部96に入力され、該乗算係数算出部96は、入力された音程に従って予定の計算式(後述する)を使用して前記乗算器10,11に供給する乗算係数MultL,乗算係数MultRを算出する。
【0020】
なお、図1は定位補正演算部9の機能の一例を示したものであって変形は可能である。例えば、キーナンバ記憶部91はキーオン検出部90で検出したキーオンナンバを直ちに入力するとともに先に記憶されているキーナンバを音程算出部92に出力するように構成した。しかし、これは、キーオンが検出されたときに検出されたキーナンバは別のバッファに格納し、乗算係数を乗算器10,11に出力した後に、前記バッファからキーナンバ記憶部91にキーナンバを転送し、記憶内容を更新するように変形できる。
【0021】
前記定位補正演算部9の処理を図3のフローチャートを参照して説明する。図3の処理つまり定位補正モードの処理は電源のオン、コントロールパネル2上の定位補正モード選択スイッチのオン、およびダンパペダルの踏み込み等のうち、予め設定した少なくとも1つの操作が行われたときに開始される。ステップS1では、音源装置4の出力信号に補正を加えるか否かの判断のための時間(t)を設定する。これは、予め設定された時間データをCPU1内のRAMから読み出すことによって行われ、RAMには複数の鍵がほぼ同時に押されたか否かを判断できるための時間(t)として、例えば,0.5秒が設定されている。
【0022】
ステップS2では、キーオンスイッチ30がオン状態に変化したか否かによって鍵盤3が押された(キーオン)か否かを判断する。ステップS2が肯定ならばステップS3に進み、そのキーオンは初めてのキーオンか否かを判断する。初めてのキーオンならばステップS4に進んで時間(t)を計測するためタイマ処理を開始する。このタイマ処理は、図示しないタイマルーチンによってタイマ93が監視され、時間(t)が経過したならばタイムアップを示すフラグを立てるように処理される。
【0023】
初めてのキーオンでない場合は、ステップS5に進み、前回のキーオンから時間(t)が経過したか否か、つまりタイマ93のタイムアップを示すフラグが立っているか否かを判断する。ステップS5が肯定の場合、つまり時間(t)が経過していたならばステップS4に進む。
【0024】
初めてのキーオンであった場合、および前回のキーオンから時間(t)が経過していた場合は、定位を変更して前回の発音との音の分離を改善する必要はないのでステップS6に進んで乗算器10,11に付与する乗算係数MultL,MultRをそれぞれ「1」にセットする。ステップS7では乗算器10,11に乗算係数MultLおよび乗算係数MultRを送信する。ステップS8では、キーナンバKeyBufを今回のキーオンに対応するキーナンバKeyNumで更新する。
【0025】
ステップS8の後はステップS12に進み、定位補正モードを終了するか否かを判断する。この判断は、電源のオフ、コントロールパネル2上の補正モード選択スイッチのオフ、およびダンパペダルの踏み込みの解除等のうち、予め設定した少なくとも1つの操作が行われたときに肯定となる。ステップS12が否定ならばステップS2に進む。なお、ステップS2が否定、つまりキーオンが検出されなかった場合は直ちにステップS12に進む。
【0026】
ステップS5が否定、つまり前回のキーオンから時間(t)が経過していない場合はステップS9に進む。ステップS9では前回キーオン時のキーナンバKeyBufと今回キーオンのキーナンバKeyNumとの差、つまり予定時間(t)内で連続する2音の音程KeyDif(=KeyNum−KeyBuf)を計算する。
【0027】
ステップS10では音程KeyDifが「0」または「12」か、つまり前回のキーオンと今回のキーオンとは同じ音高か、または1オクターブ以上の差があるか否かを判断する。なお、このステップS9では、音程KeyDifは正負の別のない絶対値で判断する。
【0028】
ステップS10が肯定ならばステップS6に進む。ステップS6では乗算係数MultL,MultRが「1」にセットされるので左右のスピーカつまりサウンドシステム5,6に出力される楽音信号は音源装置4で生成された状態のまま維持される。複数(ここでは2つ)の楽音信号の音程「0」の場合には、定位の変更は必要ないし、音程が1オクターブ以上もある場合は、定位を変更しなくても人の耳による聞き分けが容易だからである。乗算係数MultL,MultRがそれぞれ「1」にセットされた場合には音源装置4の出力は変化しない。したがって、音源がモノラルであってパンニングが付与されている場合には、そのパンニングの出力比が維持される。また、音源がステレオの場合は左右のチャンネルの出力が維持される。
【0029】
ステップS10が否定の場合、つまり前回のキーオンと今回のキーオンとが同じ音高ではないが1オクターブ以内の差である場合は、ステップS11に進み,乗算係数MultL,MultRを図中に示した式(1),(2)に従って演算する。音程KeyDifが「正」の場合、つまり前回のキーオンより今回のキーオンの方が高音である場合は、式(1)を使用して乗算係数MultL,MultRを計算し、音程KeyDifが「負」の場合、つまり前回のキーオンより今回のキーオンの方が低音である場合は、式(2)を使用して乗算係数MultL,MultRを計算する。乗算係数MultL,MultRを計算したならばステップS7に進み、演算した乗算係数MultLおよび乗算係数MultRを乗算器10,11に送信する。
【0030】
式(1) ,(2) は、音程KeyDifが小さいほど(但し「0」以上)乗算係数MultLと乗算係数MultRとの差が大きくなるように設定されている。したがって、時間(t)以内に、すなわちほぼ同時に発音される楽音の音程が小さい場合は、定位が大きく変更されることになり、両音の聞き分けが容易になる。
【0031】
上記実施形態では、直前の発音指示との時間差および音程に基づいて乗算係数を算出するようにした。しかし、上述の実施形態は2つ以上前の発音指示との時間差および音程に基づいて乗算係数を算出するように変形することが可能である。
【0032】
例えば、前記ステップS5では、前回のキーオンから予定時間(t)が経過したか否かを判断したが、これを最初のキーオンつまりタイマ93で時間(t)を計数し始めた契機となったキーオンからの時間(t)の経過の有無を判断するように変形できる。これとともに、ステップS9は、前回のキーオン時のキーナンバとの音程を計算するのに代えて、最初のキーオン時のキーオンナンバとの音程を計算するように変形する。また、キーナンバ記憶部91は、複数回前からのキーオン毎のキーナンバを格納できるように変形することも必要である。
【0033】
要は、ほぼ同時にキーオンされたと判断できるための予め設定した時間(t)内に音程の小さい発音が2以上発生したときに後の発音について定位を変更できるように構成すればよい。なお、この観点が維持されれば、定位の補正範囲は、上述の1オクターブに限ることはなく、これ以上拡大しても、縮小してもよい。さらに、乗算係数MultL,MultRの計算式(1) ,(2) は、音程が小さいほど定位が大きく変更されるという観点が維持されれば、他の式に変形することも可能である。
【0034】
また、サウンドシステムを左右に2つだけを有する電子楽器に限定されず、さらに中央スピーカを有するサウンドシステムにおいても、そのうちの左右2つのサウンドシステムの出力を変化させて定位を変更する場合に本発明を適用できる。
【0035】
なお、本実施形態では、鍵盤3による実際の押鍵によって生じたキーオンに応答して発音指示を検出し、定位を変更する例を示した。しかし、例えばROMに記憶した楽音情報やMIDIデータとして入力された楽音情報に基づいて連続する2つの音の音程を検出し、定位の変更を行う場合にも適用することができる。
【0036】
【発明の効果】
以上の説明から明らかなように、本発明によれば、予定時間内に発音された複数の楽音の定位を変更することができる。したがって、例えば、前記予定時間としてごく短時間を設定しておけば、和音のようにほぼ同時に発音される複数の音のそれぞれの定位を互いに異ならせて各音の分離感を高め、和音の空間的広がり感を増大することができる。
【図面の簡単な説明】
【図1】 本発明の一実施形態に係る電子楽器の要部機能を示すブロック図である。
【図2】 本発明の一実施形態に係る電子楽器のハード構成を示すブロック図である。
【図3】 本発明の一実施形態に係る定位補正制御のフローチャートである。
【符号の説明】
1…CPU、 2…コントロールパネル、 3…鍵盤、 4…音源装置、 5,6…サウンドシステム、 7,8…D/A変換器、 9…定位補正演算部、 10,11…乗算器、 30…キーオンスイッチ、 90…キーオン検出部、 91…キーナンバ記憶部、 92…音程算出部、 93…タイマ、 96…乗算係数算出部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic musical instrument, and more particularly to an electronic musical instrument having a localization correction unit suitable for improving the separation of each sound when a plurality of sounds are simultaneously generated.
[0002]
[Prior art]
In general, in a keyboard musical instrument such as a piano, when a plurality of sounds are simultaneously generated in a chord performance or the like, each sound is generated from different positions and mixed (mixed) in a space and enters a human ear. On the other hand, in an electronic musical instrument, chord performance information input at the same time is mixed into one musical tone signal as a digital or analog signal, and then is emitted from a speaker and enters a human ear.
[0003]
Therefore, in a keyboard instrument such as a piano, each sound is clear and the chords are well separated, so that each sound can be distinguished and has a spatial spread. On the other hand, in an electronic musical instrument, each sound becomes muddy due to phase interference, cross modulation distortion, etc. when mixing musical sound signals, and since the separation of chords is poor, each sound is difficult to distinguish and does not have a spatial spread.
[0004]
In general, panning, stereo sampling, or the like is used to provide a spatial expansion of sound. In panning, the sound from a single sound source is separated into two left and right channels, and the sound image is distributed to the left and right by changing the output ratio between the left and right. In addition, it is possible to prevent the high and low sounds from overlapping each other by assigning the two channels to the low sound range and the high sound range, for example, by assigning the low sound to the left channel and the high sound to the right channel.
[0005]
On the other hand, in the stereo sampling method, when recording the sound of a musical instrument, the left and right channels are used to record the sound including the spatial expansion of the sound, and this is reproduced on each of the two channels. That is, since a sound source is provided for each of the left and right channels from the beginning, a plurality of sounds do not overlap with one output.
[0006]
[Problems to be solved by the invention]
The above-described method for providing spatial expansion of the sound is effective when a plurality of sound ranges that are simultaneously generated are separated from each other. However, when a plurality of sounds that are simultaneously generated are in a sound range close to each other, there is no effect because the sound concentrates on one channel. For example, when the output ratio is changed by panning to give a spatial spread, if the sound to be generated is a medium sound, it is the same as monaural.
[0007]
Therefore, when multiple sounds of close scales such as chords are generated simultaneously, it is difficult to make each chord sound easy to hear by the conventional method, and it is not possible to have a spatial spread of sound. There was a problem.
[0008]
It is an object of the present invention to provide an electronic musical instrument that can solve the above-described problems and can have a spatial sound spread by a plurality of sound systems when a sound generation instruction is given at the same time.
[0009]
[Means for Solving the Problems]
In order to solve the above problems and achieve the object, the present invention has a plurality of sound systems respectively arranged at different positions, and responds to one sounding instruction from the sound source device through the plurality of channels. In an electronic musical instrument configured to supply a musical sound signal to the sound system corresponding to each of the sound systems, the pitch between the sound that is instructed to be sounded and the sound that is instructed to be sounded before the scheduled time elapses from Pitch calculating means for calculating, and means for changing the localization of sound generated by a sound system corresponding to two preset channels of the plurality of channels according to the pitch calculated by the pitch calculating means. There is a feature in the point.
[0010]
According to this feature, when a plurality of pronunciations are performed within the scheduled time, particularly when the pitch, that is, the pitch difference is large, the output of the musical sound signal output to each channel is corrected and the localization is changed.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a configuration of an electronic musical instrument including a performance effect applying apparatus according to an embodiment of the present invention. In the figure, the CPU 1 inputs tone color information inputted from the control panel 2, pitch information (key number) corresponding to key depression of the keyboard 3, and touch (key depression strength) information to the sound source device 4. The control panel 2 is also provided with a power on / off switch, a localization correction mode selection switch, which will be described later, and the like (both not shown). The sound source device 4 has a function of synthesizing a musical tone by, for example, a sine wave addition method, and outputs a musical tone signal based on the timbre information, pitch information, touch information, and the like.
[0012]
The sound source device 4 outputs two musical sound signals respectively supplied to the sound systems 5 and 6. The sound systems 5 and 6 each include a left speaker and a right speaker. The two outputs are musical sounds for left and right channels (hereinafter referred to as “L channel” and “R channel”, respectively) after panning is applied when the sound source device 4 is a monaural sound source. In the case of a stereo sound source, it is a tone signal for the L channel and R channel generated by each sound source. Since the tone signal output from the tone generator 4 is a digital signal suitable for computer processing, D / A converters 7 and 8 are provided to convert the tone signal into an analog signal suitable for the sound systems 5 and 6. ing.
[0013]
The CPU 1 has a localization correction calculation unit 9 for changing the localization of the output of the sound source device 4 as its function. Based on the key depression information supplied from the keyboard 3, the localization correction calculation unit 9 corrects the output of the musical sound signals output to the L channel and the R channel to change the localization. Specifically, the localization correction calculation unit 9 calculates the L channel multiplication coefficient MultL and the R channel multiplication coefficient MultR based on the key depression information, and supplies them to the multipliers 10 and 11.
[0014]
FIG. 1 is a block diagram showing main functions of the localization correction calculation unit 9. In the figure, a key-on switch 30 is provided corresponding to each key of the keyboard 3, and outputs a key number and touch information when a key is pressed. The key-on detector 90 detects the occurrence of key-on and the key-on number based on the output of the key-on switch 30. The key number KeyNum detected by the key-on detection unit 90 is stored in the key number storage unit 91. The key number storage unit 91 has an area for storing one key number, and is configured so that when one data is input, the previously stored data is output. The initial data in the key number storage unit 91 may be an arbitrary key number.
[0015]
The key number KeyNum detected by the key-on detection unit 90 is also input to the pitch calculation unit 92. When the key number KeyNum is newly input, the key number storage unit 91 sends the previously stored key number KeyBuf to the pitch calculation unit 92. That is, the pitch calculation unit 92 calculates the difference between the key number at the previous key-on and the key number at the current key-on, that is, the pitch.
[0016]
The timer 93 starts counting time (t) by the signal s1 output at the same time as the pitch is output from the pitch calculation unit 92. When the counting is started, the output of the timer 93 changes to “1”, and the output changes to “0” when the time is up.
[0017]
The pitch calculation unit 92 calculates a pitch only when key-on is detected when the output of the timer 93 is “1”, and when key-on is detected when the output of the timer 93 is “0”, Outputs a fixed fixed pitch. The fixed pitch is set such that the multiplication coefficient calculation unit 96 calculates the value “1” as the multiplication coefficients MultL and MultR. That is, if the time from the previous key-on to the current key-on is equal to or longer than time (t), the output of the sound source device 4 is not changed and the localization is not changed.
[0018]
The signal s 1 is input to the timer 93 through the AND gate 94. The AND gate 94 uses the output of the timer 93 inverted by the inverter 95 as the other input. Therefore, the AND gate 94 is not opened during the operation of the timer 93, and the signal s1 is not input to the timer 93. That is, even if the key-on is detected and the pitch is calculated by the pitch calculation unit 92 during the operation of the timer 93, the timer 93 does not newly start counting time (t), and the output of the timer 93 is “1”. Is maintained.
[0019]
The output of the pitch calculation unit 92 is input to a multiplication coefficient calculation unit 96, which uses a predetermined calculation formula (described later) according to the input pitch to the multipliers 10 and 11. The supplied multiplication coefficient MultL and multiplication coefficient MultR are calculated.
[0020]
FIG. 1 shows an example of the function of the localization correction calculation unit 9, and modifications are possible. For example, the key number storage unit 91 is configured to immediately input the key-on number detected by the key-on detection unit 90 and to output the previously stored key number to the pitch calculation unit 92. However, this is because the key number detected when key-on is detected is stored in another buffer, the multiplication coefficient is output to the multipliers 10 and 11, and then the key number is transferred from the buffer to the key number storage unit 91. It can be modified to update the stored contents.
[0021]
The processing of the localization correction calculation unit 9 will be described with reference to the flowchart of FIG. The processing of FIG. 3, that is, the processing of the localization correction mode, starts when at least one preset operation is performed among power-on, localization correction mode selection switch on the control panel 2 and depression of the damper pedal, etc. Is done. In step S1, a time (t) for determining whether or not to correct the output signal of the sound source device 4 is set. This is performed by reading preset time data from the RAM in the CPU 1. As the time (t) for determining whether or not a plurality of keys have been pressed almost simultaneously in the RAM, for example, 0. 5 seconds is set.
[0022]
In step S2, it is determined whether or not the keyboard 3 is pressed (key-on) depending on whether or not the key-on switch 30 has been turned on. If step S2 is positive, the process proceeds to step S3, and it is determined whether or not the key-on is the first key-on. If it is the first key-on, the process proceeds to step S4 and timer processing is started to measure time (t). This timer process is performed so that the timer 93 is monitored by a timer routine (not shown) and a flag indicating the time up is set when the time (t) has elapsed.
[0023]
If it is not the first key-on, the process proceeds to step S5, and it is determined whether or not the time (t) has elapsed since the previous key-on, that is, whether or not the flag indicating that the timer 93 has timed up is set. If step S5 is positive, that is, if time (t) has elapsed, the process proceeds to step S4.
[0024]
If it is the first key-on, and if the time (t) has elapsed since the previous key-on, there is no need to change the localization and improve the separation of the sound from the previous pronunciation, so proceed to step S6. Multiplication coefficients MultL and MultR to be given to the multipliers 10 and 11 are set to “1”, respectively. In step S7, the multiplication coefficient MultL and the multiplication coefficient MultR are transmitted to the multipliers 10 and 11. In step S8, the key number KeyBuf is updated with the key number KeyNum corresponding to the current key-on.
[0025]
After step S8, the process proceeds to step S12, where it is determined whether or not to end the localization correction mode. This determination is affirmative when at least one preset operation, such as turning off the power, turning off the correction mode selection switch on the control panel 2, and releasing the depression of the damper pedal, is performed. If step S12 is negative, the process proceeds to step S2. If step S2 is negative, that is, no key-on is detected, the process immediately proceeds to step S12.
[0026]
If step S5 is negative, that is, if the time (t) has not elapsed since the previous key-on, the process proceeds to step S9. In step S9, the difference between the key number KeyBuf at the previous key-on and the key number KeyNum at the current key-on, that is, the pitch KeyDif (= KeyNum-KeyBuf) of two consecutive sounds within the scheduled time (t) is calculated.
[0027]
In step S10, it is determined whether the pitch KeyDif is "0" or "12", that is, whether the previous key-on and the current key-on have the same pitch or a difference of one or more octaves. In step S9, the pitch KeyDif is determined by an absolute value that is not positive or negative.
[0028]
If step S10 is positive, the process proceeds to step S6. In step S6, since the multiplication coefficients MultL and MultR are set to “1”, the tone signal output to the left and right speakers, that is, the sound systems 5 and 6 is maintained in the state generated by the sound source device 4. If the pitch of multiple music signals (here, two) is “0”, there is no need to change the panning. If the pitch is more than one octave, it can be heard by the human ear without changing the panning. It is easy. When the multiplication coefficients MultL and MultR are set to “1”, the output of the sound source device 4 does not change. Therefore, when the sound source is monaural and panning is applied, the output ratio of the panning is maintained. When the sound source is stereo, the left and right channel outputs are maintained.
[0029]
If step S10 is negative, that is, if the previous key-on and the current key-on are not the same pitch but are within one octave, the process proceeds to step S11, and the multiplication coefficients MultL and MultR are represented by the equations shown in the figure. Calculate according to (1) and (2). When the pitch KeyDif is “positive”, that is, when the current key-on is higher than the previous key-on, the multiplication coefficients MultL and MultR are calculated using the equation (1), and the pitch KeyDif is “negative”. In this case, that is, when the key-on of this time is lower than the previous key-on, the multiplication coefficients MultL and MultR are calculated using Equation (2). If the multiplication coefficients MultL and MultR are calculated, the process proceeds to step S7, and the calculated multiplication coefficient MultL and the multiplication coefficient MultR are transmitted to the multipliers 10 and 11.
[0030]
Expressions (1) and (2) are set such that the difference between the multiplication coefficient MultL and the multiplication coefficient MultR becomes larger as the pitch KeyDif is smaller (however, “0” or more). Therefore, if the pitch of the musical sound that is pronounced almost simultaneously is small within the time (t), the localization will be greatly changed, and it will be easy to distinguish both sounds.
[0031]
In the above embodiment, the multiplication coefficient is calculated based on the time difference from the immediately preceding pronunciation instruction and the pitch. However, the above-described embodiment can be modified so that the multiplication coefficient is calculated based on the time difference from the two or more previous sound generation instructions and the pitch.
[0032]
For example, in step S5, it is determined whether or not the scheduled time (t) has elapsed since the previous key-on. This is the first key-on, that is, the key-on that triggered the time (t) to be counted by the timer 93. It can be modified to determine whether or not the time (t) has elapsed since At the same time, step S9 is modified to calculate the pitch with the key-on number at the first key-on instead of calculating the pitch with the key-number at the previous key-on. In addition, the key number storage unit 91 needs to be modified so as to be able to store a key number for each key-on from a plurality of previous times.
[0033]
In short, it may be configured such that when two or more pronunciations having a small pitch occur within a preset time (t) for determining that the keys are turned on almost simultaneously, the localization can be changed for the subsequent pronunciations. If this viewpoint is maintained, the localization correction range is not limited to the above-mentioned one octave, and may be further enlarged or reduced. Furthermore, the calculation formulas (1) and (2) for the multiplication coefficients MultL and MultR can be modified to other formulas if the viewpoint that the localization is changed greatly as the pitch is small is maintained.
[0034]
In addition, the present invention is not limited to an electronic musical instrument having only two sound systems on the left and right, and also in a sound system having a central speaker, the present invention can be used when changing the localization by changing the outputs of the two left and right sound systems. Can be applied.
[0035]
In the present embodiment, an example in which a sounding instruction is detected in response to a key-on generated by an actual key depression by the keyboard 3 and the localization is changed is shown. However, for example, the present invention can also be applied to the case where the pitch of two consecutive sounds is detected based on the musical sound information stored in the ROM or the musical sound information input as MIDI data and the localization is changed.
[0036]
【The invention's effect】
As is clear from the above description, according to the present invention, it is possible to change the localization of a plurality of musical sounds produced within a scheduled time. Therefore, for example, if a very short time is set as the scheduled time, the localization of each of a plurality of sounds that are pronounced almost simultaneously such as chords is made different from each other, thereby improving the sense of separation of each sound, The feeling of spread can be increased.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating main functions of an electronic musical instrument according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a hardware configuration of an electronic musical instrument according to an embodiment of the present invention.
FIG. 3 is a flowchart of localization correction control according to an embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... Control panel, 3 ... Keyboard, 4 ... Sound source device, 5, 6 ... Sound system, 7, 8 ... D / A converter, 9 ... Localization correction | amendment calculating part, 10, 11 ... Multiplier, 30 ... Key-on switch, 90 ... Key-on detection unit, 91 ... Key number storage unit, 92 ... Pitch calculation unit, 93 ... Timer, 96 ... Multiplication coefficient calculation unit

Claims (3)

それぞれが異なる位置に配置された複数のサウンドシステムを有し、一つの発音指示に応答して音源装置から複数のチャンネルを通じて該チャンネルのそれぞれに対応する前記サウンドシステムに楽音信号を供給するように構成された電子楽器において、
発音指示された音と、該発音指示から予定時間が経過するまでに発音指示された音との音程を算出する音程算出手段と、
前記音程算出手段で算出された音程に応じて、前記複数のチャンネルのうち予め設定された二つのチャンネルに対応したサウンドシステムの発生音の定位を変更する手段とを具備したことを特徴とする電子楽器。
Each has a plurality of sound systems arranged at different positions, and is configured to supply a musical sound signal to the sound system corresponding to each of the channels from the sound source device through the plurality of channels in response to one sounding instruction. Electronic musical instruments
A pitch calculation means for calculating a pitch between a sound instructed to be sounded and a sound instructed to sound until a predetermined time elapses from the sounding instruction ;
Means for changing the localization of a sound generated by a sound system corresponding to two preset channels of the plurality of channels according to the pitch calculated by the pitch calculating means. Musical instrument.
前記定位を変更するために、前記二つのチャンネルの出力に前記算出された音程に対応した係数を乗算する乗算手段を備え、
前記係数が、前記算出された音程が小さいほど(但し、音程>0)、前記二つのチャンネル同士の楽音信号の出力差が大きくなるように設定されていることを特徴とする請求項1記載の電子楽器。
In order to change the localization, a multiplication means for multiplying the output of the two channels by a coefficient corresponding to the calculated pitch,
It said coefficients are, the more pitch the calculated small (where pitch> 0), according to claim 1, wherein it is set such that the output difference of the tone signal between the two channels is larger Electronic musical instrument.
前記算出された音程が予定値以上である場合には、定位の変更がなされないように前記係数を設定したことを特徴とする請求項1または2記載の電子楽器。3. The electronic musical instrument according to claim 1, wherein the coefficient is set so that the localization is not changed when the calculated pitch is equal to or more than a predetermined value.
JP18153298A 1998-06-12 1998-06-12 Electronic musical instruments Expired - Fee Related JP3662112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18153298A JP3662112B2 (en) 1998-06-12 1998-06-12 Electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18153298A JP3662112B2 (en) 1998-06-12 1998-06-12 Electronic musical instruments

Publications (2)

Publication Number Publication Date
JP2000003172A JP2000003172A (en) 2000-01-07
JP3662112B2 true JP3662112B2 (en) 2005-06-22

Family

ID=16102428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18153298A Expired - Fee Related JP3662112B2 (en) 1998-06-12 1998-06-12 Electronic musical instruments

Country Status (1)

Country Link
JP (1) JP3662112B2 (en)

Also Published As

Publication number Publication date
JP2000003172A (en) 2000-01-07

Similar Documents

Publication Publication Date Title
US5430244A (en) Dynamic correction of musical instrument input data stream
JP3662112B2 (en) Electronic musical instruments
JP3613944B2 (en) Sound field effect imparting device
JP4229357B2 (en) Electronic musical instruments
JP2888712B2 (en) Music generator
JPH0566776A (en) Automatic orchestration device
JP3347753B2 (en) Electronic musical instrument
JP3048206B2 (en) Sound equipment for electronic musical instruments
JP2614532B2 (en) Music data correction device
JP2715038B2 (en) Automatic performance device
JP2526834B2 (en) Performance control device
JPH05276592A (en) Recording and reproducing device
JP2679443B2 (en) Touch response device for electronic musical instruments
JPH0863154A (en) Electronic musical instrument having localized movement feeling reproducing function
JP3047431B2 (en) Electronic musical instrument
JP3394688B2 (en) Automatic performance device and electronic musical instrument provided with the automatic performance device
JP3105132B2 (en) Tone generator for electronic musical instruments
JP2003108142A (en) Musical sound generating device and program for musical sound generation processing
JP3493838B2 (en) Electronic musical instrument
JPH11175077A (en) Karaoke device with model vocal singing
JP3578891B2 (en) Electronic musical instrument
JPH0850480A (en) Electronic musical instrument
JP3354047B2 (en) Code conversion device and electronic musical instrument equipped with the code conversion device
JPH06301380A (en) Electronic musical instrument
JPH03125195A (en) Automatic playing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050322

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080401

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090401

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees