JPH10319949A - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JPH10319949A JPH10319949A JP9145874A JP14587497A JPH10319949A JP H10319949 A JPH10319949 A JP H10319949A JP 9145874 A JP9145874 A JP 9145874A JP 14587497 A JP14587497 A JP 14587497A JP H10319949 A JPH10319949 A JP H10319949A
- Authority
- JP
- Japan
- Prior art keywords
- key
- sound
- reverberation
- pressed
- waveform data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
(57)【要約】
【課題】実際の曲を演奏する場合にもアコースティック
ピアノと同様に豊かな響きの音を発生できる電子楽器を
提供する。
【解決手段】楽音信号に基づいて楽音を発生する電子楽
器であって、鍵盤装置150と、該鍵盤装置の押鍵及び
離鍵を検出する検出手段10及び15と、該検出手段で
押鍵が検出された際に、押下中の他の鍵があるかどうか
を判断する判断手段10と、該判断手段で押下中の他の
鍵があることが判断された場合に、該検出手段で押鍵が
検出された鍵に対応する楽音及び該押下中の他の鍵に対
応する残響音を発生するための楽音信号を生成する楽音
信号生成手段16、17及び18とを備えている。
(57) [Summary] [PROBLEMS] To provide an electronic musical instrument capable of generating a rich sound as well as an acoustic piano when playing an actual music. An electronic musical instrument for generating a musical tone based on a musical tone signal, comprising: a keyboard device; detection means for detecting key depression and key release of the keyboard device; A determination means 10 for determining whether there is another key being pressed when it is detected, and a key depressing operation by the detection means when it is determined that there is another key being pressed. Is provided with musical tone signal generating means 16, 17 and 18 for generating a musical tone signal for generating a musical tone corresponding to the detected key and a reverberant tone corresponding to the other key being pressed.
Description
【0001】[0001]
【発明の属する技術分野】本発明は残響音が含まれた楽
器音を発生する電子楽器に関し、特に自然楽器における
残響音が含まれた楽器音を忠実に模擬する技術に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument for generating a musical sound containing reverberation, and more particularly to a technique for faithfully simulating a natural musical instrument containing reverberation.
【0002】[0002]
【従来の技術】従来、電子楽器の1つとして電子ピアノ
が知られている。この電子ピアノは、第1義的には、自
然楽器であるアコースティックピアノの音を忠実に模擬
することを目的として作製されている。従って、打鍵に
より発生される通常の音色は勿論のこと、近年は、打鍵
時に鍵が棚板に衝突する音(コツ音)をも模擬し、アコ
ースティックピアノの音に近づける努力がなされてい
る。2. Description of the Related Art Conventionally, an electronic piano has been known as one of electronic musical instruments. This electronic piano is primarily produced for the purpose of faithfully simulating the sound of an acoustic piano, which is a natural musical instrument. Therefore, in recent years, efforts have been made in recent years to simulate not only the normal tone generated by keying but also the sound (click sound) of the key colliding with the shelf board at the time of keying and to approximate the sound of an acoustic piano.
【0003】また、アコースティックピアノで発生され
る音には、打鍵に伴う弦の振動に基づいて発生される直
接音以外に、この直接音が筐体内部の種々の部位で反射
されて発生される残響音や、弦の振動がアコースティッ
クピアノを構成するあらゆる部品に伝達され、これらが
振動することにより発生される音等が含まれている。従
って、アコースティックピアノは、その構造は勿論のこ
と、全ての部品も豊かな響きを発生するために寄与して
いるといわれている。このようなアコースティックピア
ノの音の響は、ダンパペダルが踏まれることにより、換
言すれば弦が開放されることにより、より一層豊かなも
のとなる。[0003] In addition to the direct sound generated based on the vibration of a string accompanying a keystroke, the sound generated by an acoustic piano is generated by reflecting the direct sound at various parts inside a housing. The reverberation sound and the vibration of the strings are transmitted to all parts constituting the acoustic piano, and include the sound generated by the vibration of the parts. Therefore, it is said that the acoustic piano contributes not only to its structure but also to all components to generate a rich sound. The sound of such an acoustic piano becomes even richer when the damper pedal is depressed, in other words, when the strings are released.
【0004】従来、電子ピアノにおいては、このような
アコースティックピアノの音の豊かな響きを模擬する試
みがなされているが、その試みはダンパペダルが踏まれ
た時の音を模擬するに止まっている。ちなみに、ダンパ
ペダルが踏まれた時の音は、以下の方法により作成され
ている。第1は、リバーブ回路を設け、ダンパペダルが
踏まれた時にこのリバーブ回路でリバーブのかかり具合
を大きくするという方法である。第2は、ダンパペダル
が踏まれた時の音の波形データを予め作成しておき、ダ
ンパペダルが踏まれた時に、この波形データに基づいて
音を発生させるという方法である。Conventionally, in an electronic piano, an attempt has been made to simulate such a rich sound of an acoustic piano, but the attempt has been limited to simulating a sound when a damper pedal is depressed. Incidentally, the sound when the damper pedal is depressed is created by the following method. A first method is to provide a reverb circuit and increase the degree of reverb applied by the reverb circuit when a damper pedal is depressed. The second is a method in which waveform data of a sound when a damper pedal is depressed is created in advance, and a sound is generated based on the waveform data when the damper pedal is depressed.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、アコー
スティックピアノでは、ダンパペダルを踏まない場合で
あっても、ダンパペダルを踏んだ時と同様の響きを有す
る音が発生される。これは、以下の理由による。即ち、
アコースティックピアノでは、押下中の鍵に対応する弦
は開放されているので、その弦だけに着目すればダンパ
ペダルが踏まれた時と同様の状態にある。従って、この
状態で他の鍵を押せば、その押された鍵に対応する弦が
振動し、この振動が開放されている弦に伝達されること
によって独特の響きを有する音が発生される。However, in an acoustic piano, even when the damper pedal is not depressed, a sound having the same sound as when the damper pedal is depressed is generated. This is for the following reason. That is,
In the acoustic piano, the string corresponding to the key being pressed is released, so if attention is paid only to that string, the state is the same as when the damper pedal is depressed. Therefore, when another key is pressed in this state, the string corresponding to the pressed key vibrates, and this vibration is transmitted to the open string, thereby generating a sound having a unique sound.
【0006】従来の電子ピアノでは、1つの鍵を押すこ
とにより発生された音に基づいて波形データを作成し、
この波形データに基づいて音を発生させるだけである。
従って、近年の電子ピアノでは、1つの鍵だけを押して
発生される音はアコースティックピアノのそれと比べて
も遜色はない。In a conventional electronic piano, waveform data is created based on a sound generated by pressing one key,
It only generates sound based on this waveform data.
Therefore, in a recent electronic piano, a sound generated by pressing only one key is not inferior to that of an acoustic piano.
【0007】しかしながら、実際に曲を弾いて両者を比
べると電子ピアノの音の響きはアコースティックピアノ
のそれに劣るという現象が発生する。これは、上述した
ようにアコースティックピアノで曲を弾いている状態で
は、或る鍵が押されるタイミングで他の鍵が既に押され
ている(弦が開放されている)といった押鍵状態が存在
し、これによって音の響きが豊かになるのに対し、電子
ピアノでは、上記のような押鍵状態が存在しても、開放
弦が励振されることによって発生される音は考慮されて
いないことに起因する。However, when actually playing a tune and comparing the two, there occurs a phenomenon that the sound of the electronic piano is inferior to that of an acoustic piano. This is because, as described above, in the state where a tune is being played on the acoustic piano, a key-pressed state exists in which another key is already pressed (a string is released) at a timing when a certain key is pressed. This makes the sound more enriched, whereas electronic pianos do not take into account the sound generated when the open strings are excited, even if the key is pressed as described above. to cause.
【0008】従って、本発明の目的は、実際の曲を演奏
する場合にもアコースティックピアノと同様に豊かな響
きの音を発生できる電子楽器を提供することにある。Accordingly, it is an object of the present invention to provide an electronic musical instrument capable of generating a rich sound as well as an acoustic piano when playing an actual music piece.
【0009】[0009]
【課題を解決するための手段】上記目的を達成するため
に、本発明の電子楽器は、楽音信号に基づいて楽音を発
生する電子楽器であって、鍵盤装置と、該鍵盤装置の押
鍵及び離鍵を検出する検出手段と、該検出手段で押鍵が
検出された際に、押下中の他の鍵があるかどうかを判断
する判断手段と、該判断手段で押下中の他の鍵があるこ
とが判断された場合に、該検出手段で押鍵が検出された
鍵に対応する楽音及び該押下中の他の鍵に対応する残響
音を発生するための楽音信号を生成する楽音信号生成手
段、とにより構成されている。In order to achieve the above object, an electronic musical instrument according to the present invention, which generates a musical tone based on a musical tone signal, comprises: a keyboard device; Detecting means for detecting key release, determining means for determining whether there is another key being pressed when the detecting means detects a key press, and determining whether another key being pressed by the determining means is present. If it is determined that there is, a tone signal generation for generating a tone signal for generating a tone corresponding to the key whose key depression is detected by the detection means and a reverberation tone corresponding to the other key being pressed. Means.
【0010】本発明における「残響音」とは、鍵盤装置
の何れかの鍵が新たに押された時に、該鍵以外の既に押
下中の鍵に基づいて発生される音をいう。この残響音の
発生メカニズムは以下の通りである。即ち、アコーステ
ィックピアノでは、鍵が押されていない状態ではその鍵
に対応するハンマーのヘッドが弦に接している。従っ
て、押されていない鍵に対応する弦はミュートされた状
態になっており、他の鍵に対応する弦が振動してもその
影響は受けにくい。The "reverberation sound" in the present invention means a sound generated when any key of the keyboard device is newly pressed based on a key other than the key being pressed. The mechanism of generation of this reverberation is as follows. That is, in the acoustic piano, when the key is not pressed, the head of the hammer corresponding to the key is in contact with the string. Therefore, the strings corresponding to the keys that are not pressed are in a muted state, and even if the strings corresponding to the other keys vibrate, they are not easily affected.
【0011】しかしながら、鍵が押されている状態で
は、その押下中の鍵に対応するハンマーのヘッドは弦か
ら離間されているので、その弦は開放状態にある。従っ
て、押下中の鍵以外の鍵に対応する弦が打弦されると、
該弦の振動が駒を介して当該押下中の鍵に対応する弦に
伝達され、当該弦が励振されることにより独特の音を発
生する。この音が「残響音」である。However, in a state where a key is pressed, the head of the hammer corresponding to the key being pressed is separated from the string, so that the string is open. Therefore, when a string corresponding to a key other than the pressed key is struck,
The vibration of the string is transmitted to the string corresponding to the pressed key via a piece, and the string is excited to generate a unique sound. This sound is the "reverberation sound".
【0012】これに対し、「楽音」とは、押された鍵に
対応する弦の振動に基づいて発生される種々の音、例え
ば直接音、反射音、筐体の共鳴音等をいう。この「楽
音」は、従来の電子ピアノによって発生される音と同じ
である。On the other hand, "musical sound" means various sounds generated based on the vibration of a string corresponding to a pressed key, such as a direct sound, a reflected sound, and a resonance sound of a housing. This "music tone" is the same as the sound generated by a conventional electronic piano.
【0013】この発明の電子楽器によれば、新たに鍵が
押された際に既に押下中の鍵があれば、従来の「楽音」
に加えて、その押下中の鍵の「残響音」が発生される。
従って、例えば実際にアコースティックピアノで曲を弾
くときのような押鍵状態において発生される音を忠実に
模擬することができるので、よりアコースティックピア
ノに近い豊かな響きを有する音を発生させることができ
る。According to the electronic musical instrument of the present invention, when a new key is pressed and there is a key which is already pressed, the conventional "musical tone"
In addition, a "reverberation" of the key being pressed is generated.
Therefore, for example, it is possible to faithfully simulate a sound generated in a key-depressed state when actually playing a song on an acoustic piano, so that a sound having a rich sound closer to that of an acoustic piano can be generated. .
【0014】本発明の電子楽器は、前記鍵盤装置の押鍵
状態を記憶する押鍵状態記憶手段であって、その記憶内
容は前記検出手段における検出結果に基づいて順次変更
されるものを更に備え、前記判断手段は、該押鍵状態記
憶手段の記憶内容に基づいて押下中の他の鍵があるかど
うかを判断するように構成できる。The electronic musical instrument of the present invention further comprises a key depression state storage means for storing a key depression state of the keyboard device, the storage contents of which are sequentially changed based on a detection result by the detection means. The determination means may be configured to determine whether there is another key being pressed based on the contents stored in the key pressed state storage means.
【0015】ここで、鍵盤装置の押鍵状態とは、鍵盤装
置の各鍵が押されているか離されているかを表す状態を
いう。この押鍵状態は、押鍵状態記憶手段に記憶され
る。押鍵状態記憶手段は、例えばランダムアクセルメモ
リ(以下、「RAM」という)で構成することができ
る。従って、この構成によれば、この押鍵状態記憶手段
を参照することにより、現在の押鍵状態を簡単に知るこ
とができる。Here, the pressed state of the keyboard device means a state indicating whether each key of the keyboard device is pressed or released. This key depression state is stored in the key depression state storage means. The key depression state storage means can be composed of, for example, a random accelerator memory (hereinafter, referred to as “RAM”). Therefore, according to this configuration, the current key depression state can be easily known by referring to the key depression state storage means.
【0016】本発明の電子楽器における前記楽音信号生
成手段は、楽音の波形データを記憶する楽音波形記憶手
段と、残響音の波形データを記憶する残響音波形記憶手
段と、これら楽音波形記憶手段及び残響音波形記憶手段
に記憶された各波形データに基づいて楽音信号を生成す
る音源回路とを有し、前記判断手段で押下中の他の鍵が
あることが判断された場合に、該音源回路は、該残響音
波形記憶手段から残響音の波形データを、該楽音波形記
憶手段から楽音の波形データをそれぞれ読み出し、これ
ら両波形データに基づいて楽音信号を生成するように構
成できる。In the electronic musical instrument according to the present invention, the musical sound signal generating means includes a musical sound waveform storing means for storing waveform data of musical sounds, a reverberant sound waveform storing means for storing waveform data of reverberant sounds, these musical sound waveform storing means, A tone generator circuit for generating a tone signal based on each waveform data stored in the reverberation sound waveform storage means, and when the determination means determines that there is another key being pressed, the tone generator circuit Can read the waveform data of the reverberation sound from the reverberation sound waveform storage means and the waveform data of the music tone from the musical sound waveform storage means, respectively, and generate a tone signal based on both the waveform data.
【0017】上記楽音波形記憶手段及び残響音波形記憶
手段に記憶する波形データは、収音した音の信号を例え
ばパルスコード変調(PCM)方式で変調することによ
り作成できる。PCM方式では、録音された音の信号を
サンプリングし、量子化し、更に符号化することにより
波形データが作成される。なお、波形データとしては、
PCM方式に限らず、DPCM、ADPCM方式、その
他の種々の方式を用いて作成することができる。The waveform data stored in the musical sound waveform storage means and the reverberation sound waveform storage means can be created by modulating a collected sound signal by, for example, a pulse code modulation (PCM) method. In the PCM method, a recorded sound signal is sampled, quantized, and further encoded to generate waveform data. In addition, as the waveform data,
It can be created using not only the PCM method but also the DPCM, ADPCM method, and other various methods.
【0018】上記楽音波形記憶手段に記憶される波形デ
ータは、従来の電子ピアノと同様に、例えばアコーステ
ィックピアノの鍵盤装置の1鍵だけを押すことにより発
生された音を録音し、この録音された音の信号をPCM
方式で変調することにより作成できる。この際、各鍵毎
の波形データを作成して楽音波形記憶手段に記憶するよ
うにしてもよいし、全鍵域を複数の鍵域に分割し、鍵域
毎の波形データを作成して楽音波形記憶手段に記憶する
ようにしてもよい。後者の場合、波形データ量を減らす
ことができるという利点がある。The waveform data stored in the musical tone waveform storage means records a sound generated by pressing only one key of a keyboard device of an acoustic piano, for example, as in a conventional electronic piano. PCM sound signal
It can be created by modulating with the method. At this time, the waveform data for each key may be created and stored in the musical tone waveform storage means, or the entire key area may be divided into a plurality of key areas, and the waveform data for each key area may be created to generate a musical tone. It may be stored in the waveform storage means. In the latter case, there is an advantage that the amount of waveform data can be reduced.
【0019】また、残響音波形記憶手段に記憶される波
形データは、次のようにして作成することができる。第
1の方法は、残響音を生成しようとする鍵を押した状態
で、所定の鍵を打鍵し、これにより発生された音(第1
の音)を録音する。次に、上記鍵を押さない状態で該所
定の鍵を打鍵し、これにより発生された音(第2の音)
を録音する。次に、上記録音された第1の音の信号から
第2の音の信号を減算する。この減算結果として得られ
るのが「残響音」の信号である。この残響音の信号を、
上述したように、PCM方式で変調することにより残響
音波形記憶手段に記憶される波形データが作成される。The waveform data stored in the reverberation sound waveform storage means can be created as follows. In a first method, a predetermined key is depressed while a key for which a reverberation sound is to be generated is depressed, and a sound generated thereby (first sound) is generated.
Sound). Next, the predetermined key is depressed in a state where the key is not depressed, and the sound generated thereby (second sound)
To record. Next, the signal of the second sound is subtracted from the signal of the recorded first sound. The result of the subtraction is a signal of “reverberation”. This reverberation signal
As described above, the waveform data to be stored in the reverberation sound waveform storage unit is created by performing modulation by the PCM method.
【0020】なお、上記残響音の波形データは、録音さ
れた第1の音の信号から第2の音の信号を例えば演算増
幅器を用いて実際に減算し、この減算により得られた信
号をPCM方式で変調することにより作成することがで
きる。或るいは、第1の音及び第2の音の各信号をPC
M方式で変調することにより第1の音の波形データ及び
第2の音の波形データをそれぞれ独立に作成した後に、
例えばコンピュータ上で第1の音の波形データから第2
の音の波形データを減算することにより作成してもよ
い。The waveform data of the reverberation sound is obtained by actually subtracting the signal of the second sound from the recorded signal of the first sound using, for example, an operational amplifier, and converting the signal obtained by the subtraction into a PCM signal. It can be created by modulating with a method. Alternatively, the signals of the first sound and the second sound are
After independently creating waveform data of the first sound and waveform data of the second sound by modulating in the M system,
For example, on a computer, the second sound waveform data
May be created by subtracting the waveform data of the sound.
【0021】第2の方法は、鍵を打鍵しても該鍵に連動
して動作するハンマーが実際に弦に当たらないようにス
トッパ機構を設けておく。このような措置を施した後
に、残響音を生成しようとする鍵を押した状態で所定の
鍵を打鍵し、この打鍵により発生された音を録音する。
そして、この録音された残響音の信号を、上述したよう
に、PCM方式で変調することにより残響音波形記憶手
段に記憶される波形データが作成される。In the second method, a stopper mechanism is provided so that a hammer operating in conjunction with the key does not actually hit the string even if the key is hit. After such a measure is taken, a predetermined key is depressed while a key for generating a reverberation sound is pressed, and a sound generated by this depressing is recorded.
Then, the recorded reverberation signal is modulated by the PCM method as described above to create waveform data to be stored in the reverberation sound waveform storage means.
【0022】また、前記残響音波形記憶手段は、鍵域に
応じた複数の残響音の波形データを記憶し、前記音源回
路は、前記判断手段で押下中の他の鍵があることが判断
された場合に、該他の鍵が属する鍵域に対応する残響音
の波形データを該残響音波形記憶手段から読み出すよう
に構成できる。The reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds corresponding to a key range, and the sound source circuit determines that there is another key being pressed by the determination means. In this case, the waveform data of the reverberation sound corresponding to the key range to which the other key belongs can be read from the reverberation sound waveform storage means.
【0023】例えば、鍵盤装置の全鍵域をそれぞれが1
オクターブで成る複数の鍵域に分割し、「押下中の他の
鍵」が何れのオクターブに属するかを調べ、該他の鍵が
属するオクターブの残響音を発生する。この場合、上記
残響音波形記憶手段には、各オクターブ毎の残響音の波
形データが記憶される。この構成によれば、鍵域によっ
て異なる残響音が得られるので、よりアコースティック
ピアノに近い音を発生させることができる。なお、上記
はそれぞれの鍵域を1オクターブとしたが、1オクター
ブに限らず、各鍵域に含まれる鍵盤の数は任意とするこ
とができ、更に各鍵域の境界も任意に定めることができ
る。For example, the entire key range of the keyboard device is 1
It divides into a plurality of octave key ranges, checks which octave the “other key being pressed” belongs to, and generates a reverberation sound of the octave to which the other key belongs. In this case, the reverberation sound waveform storage means stores reverberation sound waveform data for each octave. According to this configuration, different reverberation sounds are obtained depending on the key range, so that a sound closer to that of an acoustic piano can be generated. In the above description, each key range is set to one octave, but the number is not limited to one octave, and the number of keys included in each key range can be set arbitrarily. it can.
【0024】また、前記残響音波形記憶手段は、鍵域及
び押鍵パターンの組み合わせに応じた複数の残響音の波
形データを記憶し、前記音源回路は、前記判断手段で押
下中の他の鍵があることが判断された場合に、該他の鍵
の鍵域及び押鍵パターンの組み合わせに対応する残響音
の波形データを該残響音波形記憶手段から読み出すよう
に構成できる。The reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds in accordance with a combination of a key range and a key depression pattern. If it is determined that there is, the waveform data of the reverberation sound corresponding to the combination of the key range and the key depression pattern of the other key can be read from the reverberation sound waveform storage means.
【0025】ここで、「押鍵パターン」とは、演奏者が
鍵盤装置の鍵を押さえるフォームをいう。従って、押鍵
パターンの種類には、1鍵を押さえる場合は勿論のこ
と、複数鍵を押さえる場合のフォームが含まれる。この
押鍵パターンとしては、例えばコードフォームを用いる
ことができる。この構成の電子楽器では、「押下中の他
の鍵」のフォームが何れのコードフォームであるかを調
べ、コードフォームに応じた残響音を発生する。この場
合、上記残響音波形記憶手段には、各コードフォーム毎
の残響音の波形データが記憶される。この構成によれ
ば、押鍵パターンに応じた残響音が得られるので、より
アコースティックピアノに近い音を発生させることがで
きる。なお、上記押鍵パターンはコードフォームに限ら
ず、任意のフォームとすることができることは勿論であ
る。Here, the "key pressing pattern" refers to a form in which a player presses a key of a keyboard device. Therefore, the types of key pressing patterns include not only a case where one key is pressed but also a form where multiple keys are pressed. As this key press pattern, for example, a code form can be used. In the electronic musical instrument having this configuration, the type of the “other key being pressed” is checked to determine which chord form, and a reverberation sound corresponding to the chord form is generated. In this case, the reverberation sound waveform storage means stores reverberation waveform data for each chord form. According to this configuration, a reverberation sound corresponding to the key depression pattern is obtained, so that a sound closer to an acoustic piano can be generated. The key depression pattern is not limited to the code form, but may be any form.
【0026】更に、前記残響音波形記憶手段は、鍵域及
び押鍵パターンの組み合わせに応じた複数の残響音の波
形データを記憶し、前記音源回路は、前記判断手段で押
下中の他の鍵があることが判断された場合に、該他の鍵
の鍵域及び押鍵パターンの組み合わせに対応する残響音
の波形データを該残響音波形記憶手段から読み出すよう
に構成できる。Further, the reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds corresponding to a combination of a key range and a key depression pattern, and the sound source circuit stores another key being depressed by the judgment means. If it is determined that there is, the waveform data of the reverberation sound corresponding to the combination of the key range and the key depression pattern of the other key can be read from the reverberation sound waveform storage means.
【0027】この電子楽器は、上述した鍵域と押鍵パタ
ーンとの組み合わせに応じて残響音を発生するように構
成されている。この構成によれば、各鍵域の各押鍵パタ
ーンに応じた残響音が発生されるので、よりアコーステ
ィックピアノに近い音を発生できる。This electronic musical instrument is configured to generate a reverberation sound in accordance with the combination of the above-mentioned key range and key depression pattern. According to this configuration, a reverberation sound corresponding to each key pressing pattern in each key range is generated, so that a sound closer to an acoustic piano can be generated.
【0028】[0028]
【発明の実施の形態】以下、本発明の電子楽器の実施の
形態につき図面を参照しながら詳細に説明する。なお、
以下においては、「押下中の他の鍵」の鍵域と押鍵パタ
ーンとの組み合わせに応じて、当該他の鍵に対応する残
響音が決定されるものとする。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an electronic musical instrument according to the present invention will be described below in detail with reference to the drawings. In addition,
In the following, it is assumed that the reverberation sound corresponding to the other key being pressed is determined according to the combination of the key range of “other key being pressed” and the key pressing pattern.
【0029】図1は、本発明の電子楽器の構成を示すブ
ロック図である。この電子楽器においては、中央処理装
置(以下、「CPU」という)10、プログラムメモリ
11、ワークメモリ12、押鍵状態テーブルメモリ1
3、パネルインタフェース回路14、鍵盤インタフェー
ス回路15、楽音波形メモリ16、残響音波形メモリ1
7及び音源回路18がバス30によって相互に接続され
ている。バス30は、CPU10と音源回路18とが時
分割で使用する。このバス30は、例えばアドレス信
号、データ信号、制御信号等を伝送する信号線で構成さ
れており、上記各要素間でデータを送受するために使用
される。FIG. 1 is a block diagram showing the configuration of the electronic musical instrument of the present invention. In this electronic musical instrument, a central processing unit (hereinafter, referred to as a “CPU”) 10, a program memory 11, a work memory 12, a key depression state table memory 1
3. Panel interface circuit 14, keyboard interface circuit 15, musical sound waveform memory 16, reverberant sound waveform memory 1.
7 and the tone generator circuit 18 are interconnected by a bus 30. The bus 30 is used by the CPU 10 and the tone generator 18 in a time sharing manner. The bus 30 is composed of signal lines for transmitting, for example, address signals, data signals, control signals, and the like, and is used for transmitting and receiving data between the above-described elements.
【0030】CPU10は、プログラムメモリ11に記
憶されている制御プログラムに従って、電子楽器の各種
機能を実現するための処理を行う。例えば、CPU10
は、鍵盤操作に応じた鍵盤処理、パネル操作に応じたパ
ネル処理、その他の処理を行う。The CPU 10 performs processing for realizing various functions of the electronic musical instrument according to a control program stored in the program memory 11. For example, the CPU 10
Performs keyboard processing according to keyboard operation, panel processing according to panel operation, and other processing.
【0031】プログラムメモリ11は、例えばリードオ
ンリメモリ(以下、「ROM」という)で構成すること
ができる。このプログラムメモリ11には、上述した制
御プログラムの他に、CPU10が使用する種々の固定
データ、音色を指定するための音色パラメータ等が記憶
されている。The program memory 11 can be composed of, for example, a read-only memory (hereinafter referred to as “ROM”). The program memory 11 stores various fixed data used by the CPU 10, timbre parameters for specifying timbres, and the like, in addition to the control program described above.
【0032】音色パラメータは、例えば複数の楽器音の
それぞれについて複数の音域毎に設けられている。ま
た、本発明に特に関係する音色パラメータとして、残響
音を発生するための音色パラメータが、各鍵域及び押鍵
パターンの組み合わせに対応して用意されている。各音
色パラメータは、例えば波形アドレス、周波数データ、
エンベロープデータ、フィルタ係数等で構成されてい
る。The timbre parameters are provided, for example, for each of a plurality of instrument ranges for each of a plurality of instrument sounds. As tone parameters particularly related to the present invention, tone parameters for generating reverberation are provided corresponding to combinations of each key range and key depression pattern. Each timbre parameter is, for example, a waveform address, frequency data,
It is composed of envelope data, filter coefficients, and the like.
【0033】ワークメモリ12は、例えばランダムアク
セスメモリ(以下、「RAM」という)で構成すること
ができる。このワークメモリ12は、CPU10が処理
する種々のデータを一時的に記憶する。このワークメモ
リ12には、例えば各種テーブル、バッファ、レジス
タ、カウンタ、フラグ等が設けられている。これらの詳
細については、以下において必要の都度説明する。The work memory 12 can be constituted by, for example, a random access memory (hereinafter, referred to as "RAM"). The work memory 12 temporarily stores various data processed by the CPU 10. The work memory 12 is provided with, for example, various tables, buffers, registers, counters, flags, and the like. These details will be described below as necessary.
【0034】押鍵状態テーブルメモリ13は、後述する
鍵盤装置150の押鍵状態をテーブル形式で記憶する。
この押鍵状態テーブルの一例を図2に示す。図2におい
て、ノートナンバは各音高に付与されているユニークな
番号である。このノートナンバは鍵盤装置150の各鍵
に付されるキーナンバと一致する。但し、鍵盤装置15
0は、88鍵しか有していないので、最低音の鍵のキー
ナンバがノートナンバ「21」、最高音の鍵のキーナン
バがノートナンバ「108」に対応付けられている。The key press state table memory 13 stores a key press state of a keyboard device 150 described later in a table format.
FIG. 2 shows an example of this key pressing state table. In FIG. 2, the note number is a unique number assigned to each pitch. This note number matches the key number assigned to each key of the keyboard device 150. However, the keyboard device 15
Since 0 has only 88 keys, the key number of the lowest key is associated with the note number "21", and the key number of the highest key is associated with the note number "108".
【0035】この実施の形態における押鍵状態テーブル
は128個のノートナンバに対応する記憶領域を有して
いる。これにより、鍵盤装置150では発生不可能であ
るが、例えばMIDIメッセージから得られるような超
低音に対するノートナンバ(「0」〜「20」)及び超
高音に対するノートナンバ(「109」〜「127」)
を取り扱うことができるようになっている。この押鍵状
態テーブルの状態ビット欄は、当該ノートナンバに対応
する鍵が押下中であれば「1」、そうでなければ「0」
にセットされる。The key depression state table in this embodiment has a storage area corresponding to 128 note numbers. Accordingly, note numbers (“0” to “20”) for very low notes and note numbers (“109” to “127”) for very high notes, which cannot be generated by the keyboard device 150, for example, obtained from a MIDI message, can be obtained. )
Can be handled. The status bit field of the key press status table is “1” if the key corresponding to the note number is being pressed, and “0” otherwise.
Is set to
【0036】パネルインタフェース回路14には操作パ
ネル140が接続されている。操作パネル140には、
例えば図示しない各種スイッチ、数値入力装置、インジ
ケータ、ディスプレイ装置等が設けられている。各種ス
イッチには、例えばモード設定スイッチ、音色選択スイ
ッチ、音量スイッチ、エフェクト選択スイッチ等が含ま
れる。また、数値入力装置は各種数値を入力するために
使用され、例えばアップダウンスイッチ、ジョグダイヤ
ル、テンキー等で構成されている。また、ディスプレイ
装置は、各種メッセージを表示するために使用される。
このディスプレイ装置としては、例えばLCDディスプ
レイ装置、LEDディスプレイ装置、CRTディスプレ
イ装置、その他のディスプレイ装置を用いることができ
る。An operation panel 140 is connected to the panel interface circuit 14. On the operation panel 140,
For example, various switches, numerical input devices, indicators, display devices, and the like (not shown) are provided. The various switches include, for example, a mode setting switch, a tone color selection switch, a volume switch, an effect selection switch, and the like. The numerical value input device is used for inputting various numerical values, and includes, for example, an up / down switch, a jog dial, a numeric keypad, and the like. The display device is used to display various messages.
As the display device, for example, an LCD display device, an LED display device, a CRT display device, and other display devices can be used.
【0037】パネルインタフェース回路14は、操作パ
ネル140とCPU10との間のデータの送受を制御す
る。即ち、パネルインタフェース回路14は、操作パネ
ル140から受け取った信号に基づきパネルデータを生
成し、これをCPU10に送る。このパネルデータは、
スイッチデータとダイヤルデータとで構成されている。
スイッチデータは、各スイッチを1ビットに対応させた
ビット列で構成されている。ダイヤルデータは数値入力
装置で入力された数値データで構成されている。CPU
10は、このパネルデータに基づいてパネル操作に応じ
た各種処理を行う。また、パネルインタフェース回路1
4は、CPU10から受け取った表示データを操作パネ
ル140に送り出す。これにより、操作パネル140の
ディスプレイ装置へのデータの表示、各種インジケータ
の点灯/消灯の制御等が行われる。The panel interface circuit 14 controls transmission and reception of data between the operation panel 140 and the CPU 10. That is, the panel interface circuit 14 generates panel data based on the signal received from the operation panel 140 and sends the panel data to the CPU 10. This panel data
It is composed of switch data and dial data.
The switch data is composed of a bit string in which each switch corresponds to one bit. The dial data is composed of numerical data input by a numerical input device. CPU
10 performs various processes according to the panel operation based on the panel data. Panel interface circuit 1
4 sends the display data received from the CPU 10 to the operation panel 140. Thus, display of data on the display device of the operation panel 140, control of turning on / off of various indicators, and the like are performed.
【0038】鍵盤インタフェース回路15には鍵盤装置
150が接続されている。鍵盤装置150は、発音/消
音を指示するための88個の鍵を有している。なお、鍵
盤装置150の鍵の数は88個に限定されず任意の数と
することができる。この鍵盤装置150には2接点方式
の鍵が用いられている。即ち、鍵盤装置150の各鍵
は、押鍵又は離鍵に連動して開閉し、且つ異なる押圧深
さで開閉する2個のキースイッチを有している。A keyboard device 150 is connected to the keyboard interface circuit 15. The keyboard device 150 has 88 keys for instructing sounding / muting. Note that the number of keys of the keyboard device 150 is not limited to 88, and may be any number. The keyboard device 150 uses a two-contact key. That is, each key of the keyboard device 150 has two key switches that open and close in conjunction with key depression or key release, and that open and close at different pressing depths.
【0039】鍵盤インタフェース回路15は、各鍵の押
鍵又は離鍵状態及び鍵タッチの強さを検出する。即ち、
鍵盤インタフェース回路15は、鍵盤装置150から受
け取った各キースイッチのオン/オフ状態を示す信号か
ら押鍵又は離鍵を示す鍵データ及び鍵タッチの強さを示
すタッチデータを生成し、CPU10に送る。鍵データ
は、各鍵対応するビット列で構成され、各ビットは鍵に
設けられた2個のキースイッチが何れもオンにされてい
る場合に押鍵中であることを示す「1」、そうでない場
合に離鍵中であることを示す「0」にセットされる。上
記タッチデータは、1つのキースイッチがオンになって
から他のキースイッチがオンになるまでの時間に基づい
て作成される。CPU10は、鍵データ及びタッチデー
タに基づいて、押鍵又は離鍵に対応した発音又は消音処
理を行う。発音及び消音処理の詳細については後述す
る。The keyboard interface circuit 15 detects the pressed or released state of each key and the strength of key touch. That is,
The keyboard interface circuit 15 generates key data indicating a key press or a key release and touch data indicating a key touch strength from a signal indicating an on / off state of each key switch received from the keyboard device 150 and sends the key data to the CPU 10. . The key data is composed of a bit string corresponding to each key, and each bit is “1” indicating that the key is being depressed when both of the two key switches provided on the key are turned on, otherwise. In this case, it is set to “0” indicating that the key is being released. The touch data is created based on the time from when one key switch is turned on to when another key switch is turned on. The CPU 10 performs sound generation or mute processing corresponding to key press or key release based on the key data and the touch data. Details of the sound generation and mute processing will be described later.
【0040】楽音波形メモリ16は、楽音の波形データ
を記憶するものであり、例えばROMで構成される。こ
の楽音波形メモリ16には、複数の音色パラメータのそ
れぞれに対応した複数の波形データが記憶されている。
波形データは、例えば放音された楽音を電気信号に変換
し、これをパルスコード変調(PCM)して作成するこ
とができる。この楽音波形メモリ16内の波形データ
は、音源回路18によって読み出される。The musical tone waveform memory 16 stores waveform data of musical tones, and is constituted by, for example, a ROM. The tone waveform memory 16 stores a plurality of waveform data corresponding to a plurality of tone color parameters.
Waveform data can be created, for example, by converting emitted musical sounds into electrical signals and subjecting them to pulse code modulation (PCM). The waveform data in the tone waveform memory 16 is read out by the tone generator 18.
【0041】残響音波形メモリ17は、鍵域及び押鍵パ
ターンの組み合わせに応じた複数の残響音の波形データ
を記憶している。この残響音の波形データは、鍵盤装置
150の何れかの鍵が新たに押された時に、該鍵以外の
既に押下中の鍵に基づいて発生される音を生成するため
に使用される。この残響音波形メモリ17には、鍵盤装
置150の各オクターブ毎に、複数のコードフォームの
各々に対応する複数の残響音の波形データが記憶されて
いる。この残響音波形メモリ17内の波形データは、音
源回路18によって読み出される。The reverberation sound waveform memory 17 stores waveform data of a plurality of reverberation sounds corresponding to a combination of a key range and a key depression pattern. The reverberation waveform data is used to generate a sound generated when any key of the keyboard device 150 is newly pressed, based on a key other than the key being pressed. The reverberation sound waveform memory 17 stores a plurality of reverberation waveform data corresponding to a plurality of chord forms for each octave of the keyboard device 150. The waveform data in the reverberation sound waveform memory 17 is read out by the sound source circuit 18.
【0042】音源回路18にはD/A変換器180が接
続されている。音源回路18は、例えばデジタルシグナ
ルプロセッサ(DSP)で構成することができる。この
音源回路18は、複数の発音チャンネルを有しており、
CPU10からの指示に応じて楽音信号を生成する。即
ち、音源回路18は、CPU10から発音チャンネルを
指定するデータと音色パラメータを受け取ると、指定さ
れた発音チャンネルをアクティブにする。アクティブに
された発音チャンネルは、楽音波形メモリ16及び/又
は残響音波形メモリ17から音色パラメータに対応する
波形データを読み出し、これにエンベロープを付加して
デジタル楽音信号を生成する。このデジタル楽音信号
は、D/A変換器180に送られる。The D / A converter 180 is connected to the tone generator 18. The sound source circuit 18 can be composed of, for example, a digital signal processor (DSP). The tone generator 18 has a plurality of sound channels.
A tone signal is generated according to an instruction from the CPU 10. That is, when the tone generator 18 receives the data and tone color parameter designating the sound channel from the CPU 10, the tone generator 18 activates the specified sound channel. The activated sound channel reads waveform data corresponding to the timbre parameter from the musical tone waveform memory 16 and / or the reverberant acoustic waveform memory 17, and adds an envelope to the waveform data to generate a digital musical tone signal. This digital tone signal is sent to the D / A converter 180.
【0043】D/A変換器180は、入力されたデジタ
ル楽音信号をアナログ楽音信号に変換する。このD/A
変換器180からの出力は、増幅器181に供給され
る。増幅器181は、入力された楽音信号を増幅してス
ピーカ182に送る。スピーカ182は、増幅器181
からの楽音信号を音響信号に変換して出力する。これに
より、スピーカ182から楽音が発生される。The D / A converter 180 converts the input digital tone signal into an analog tone signal. This D / A
The output from converter 180 is provided to amplifier 181. The amplifier 181 amplifies the input musical tone signal and sends it to the speaker 182. The speaker 182 includes an amplifier 181
Is converted into a sound signal and output. Thereby, a musical sound is generated from the speaker 182.
【0044】次に、上記の構成において、本発明の実施
の形態に係る電子楽器の動作について、図3及び図4の
フローチャートを参照しながら説明する。Next, the operation of the electronic musical instrument according to the embodiment of the present invention in the above configuration will be described with reference to the flowcharts of FIGS.
【0045】図3は、本電子楽器のメイン処理を示すフ
ローチャートである。このメイン処理ルーチンは、電源
の投入により起動される。即ち、電源が投入されると、
先ず、初期化処理が行われる(ステップS10)。この
初期化処理では、CPU10の内部がリセットされると
共に、ワークメモリ12に定義されているバッファ、レ
ジスタ、カウンタ、フラグ等が初期状態に設定される。FIG. 3 is a flowchart showing the main processing of the electronic musical instrument. This main processing routine is started when the power is turned on. That is, when the power is turned on,
First, an initialization process is performed (step S10). In this initialization process, the inside of the CPU 10 is reset, and buffers, registers, counters, flags, and the like defined in the work memory 12 are set to an initial state.
【0046】この初期化処理が終了すると、次いで、パ
ネル処理が行われる(ステップS11)。パネル処理で
は、先ず、操作パネル140がスキャンされる。これに
より、操作パネル140からパネルインタフェース回路
14を介してパネルデータが読み込まれる。そして、こ
のパネルデータの中のスイッチデータ(以下、これを
「新スイッチデータ」という)と、前回のパネル処理で
操作パネル140から読み込まれ、既にワークメモリ1
2の所定領域に記憶されているスイッチデータ(以下、
「旧スイッチデータ」という)との排他的論理和演算が
行われる。この演算結果は、パネルイベントマップとし
て、ワークメモリ12の所定領域に格納される。その
後、新スイッチデータは旧スイッチデータとしてワーク
メモリ12の所定領域に格納される。When the initialization process is completed, a panel process is performed (step S11). In the panel processing, first, the operation panel 140 is scanned. As a result, panel data is read from the operation panel 140 via the panel interface circuit 14. Then, the switch data in the panel data (hereinafter referred to as “new switch data”) and the switch data read from the operation panel 140 in the previous panel processing, and
2 stored in the predetermined area (hereinafter, referred to as switch data).
Exclusive OR operation with “old switch data” is performed. This calculation result is stored in a predetermined area of the work memory 12 as a panel event map. Thereafter, the new switch data is stored in a predetermined area of the work memory 12 as old switch data.
【0047】次いで、スイッチのオンイベントがあるか
どうかが調べられる。これは、上記パネルイベントマッ
プ及び新スイッチデータ中の同一スイッチに対応するビ
ットが双方ともオンになっているかどうかを調べること
により行われる。Next, it is checked whether or not there is a switch ON event. This is performed by checking whether the bits corresponding to the same switch in the panel event map and the new switch data are both on.
【0048】ここで、スイッチのオンイベントがあるこ
とが判断されると、当該スイッチの機能を実現するため
の処理が行われる。例えば、モード設定スイッチのオン
イベントであればモードを変更する処理が、音色選択ス
イッチのオンイベントであれば音色を選択する処理が、
それぞれ行われる。また、これらの処理においては、必
要に応じてディスプレイ装置に文字等を表示する処理、
図示しないインジケータの点灯/消灯処理等が行われ
る。Here, if it is determined that there is a switch on event, a process for realizing the function of the switch is performed. For example, if the mode setting switch is an ON event, the process of changing the mode is performed. If the tone selection switch is an ON event, the process of selecting a tone is performed.
Each is done. In these processes, a process of displaying characters and the like on a display device as necessary,
Illumination / extinguishing processing of an indicator (not shown) is performed.
【0049】また、数値入力装置のイベントがあること
が判断されると、その時点で設定されているモードに応
じて所定の数値が入力される。例えば電子楽器が音色選
択モードに設定されている場合は、数値入力装置で入力
された数値が音色番号として記憶されると共に、ディス
プレイ装置に表示される。これにより新しい音色が決定
されることになる。When it is determined that there is an event of the numerical value input device, a predetermined numerical value is input according to the mode set at that time. For example, when the electronic musical instrument is set to the tone color selection mode, the numerical value input by the numerical value input device is stored as a tone color number and displayed on the display device. As a result, a new timbre is determined.
【0050】以上のパネル処理が終了すると、次いで、
鍵盤処理が行われる(ステップS12)。この鍵盤処理
では、発音処理、消音処理等が行われる。これによっ
て、鍵盤装置150の操作に応じた楽音が発生される。
この鍵盤処理の詳細については、後に図4のフローチャ
ートを参照しながら説明する。When the above panel processing is completed,
Keyboard processing is performed (step S12). In this keyboard processing, sound generation processing, mute processing, and the like are performed. Thereby, a musical tone corresponding to the operation of the keyboard device 150 is generated.
The details of this keyboard processing will be described later with reference to the flowchart of FIG.
【0051】次いで、「その他の処理」が行われる(ス
テップS13)。この「その他の処理」では、例えば図
示しないMIDIインタフェース回路を介して外部のM
IDI機器との間でMIDIデータを送受信する処理、
図示しないダンパペダルの踏み込みに応じて音を引き伸
ばす処理等が行われる。その後、ステップS11に戻
り、以下、同様の処理が繰り返される。Next, "other processing" is performed (step S13). In this “other processing”, for example, an external M
A process of transmitting and receiving MIDI data to and from an IDI device;
Processing such as extending sound is performed in response to depression of a damper pedal (not shown). Thereafter, the process returns to step S11, and the same processing is repeated thereafter.
【0052】このように、メイン処理ルーチンの上記ス
テップS11〜S13の繰り返し実行の過程で操作パネ
ル140操作又は鍵盤装置150が操作されると、その
操作に対応する処理が行われる。これにより、電子楽器
としての各種機能が実現されている。As described above, when the operation of the operation panel 140 or the keyboard device 150 is performed in the course of repeatedly executing the steps S11 to S13 of the main processing routine, a process corresponding to the operation is performed. Thereby, various functions as an electronic musical instrument are realized.
【0053】次に、鍵盤処理の詳細について、図4のフ
ローチャートを参照しながら説明する。この鍵盤処理ル
ーチンは、メイン処理ルーチンから一定周期でコールさ
れる。Next, details of the keyboard processing will be described with reference to the flowchart of FIG. This keyboard processing routine is called at regular intervals from the main processing routine.
【0054】鍵盤処理では、先ず、鍵盤スキャン処理が
行われる(ステップS20)。この鍵盤スキャン処理で
は、鍵盤装置150から鍵盤インタフェース回路15を
介して鍵データ及びタッチデータが読み込まれる。そし
て、この中の鍵データ(以下、これを「新鍵データ」と
いう)と、前回の鍵盤処理で鍵盤装置150から読み込
まれ、既にワークメモリ12の所定領域に記憶されてい
る鍵データ(以下、「旧鍵データ」という)との排他的
論理和演算が行われる。この演算結果は、鍵盤イベント
マップとして、ワークメモリ12の所定領域に格納され
る。この鍵盤イベントマップは、その内容がゼロでなけ
れば鍵イベントがあったことを表し、ゼロであれば鍵イ
ベントがなかったことを表す。その後、新鍵データが旧
鍵データとしてワークメモリ12の所定領域に格納され
る。In the keyboard processing, first, a keyboard scanning processing is performed (step S20). In this keyboard scanning process, key data and touch data are read from the keyboard device 150 via the keyboard interface circuit 15. Then, the key data therein (hereinafter, referred to as “new key data”) and the key data (hereinafter, referred to as “new key data”) read from the keyboard device 150 in the previous keyboard processing and already stored in a predetermined area of the work memory 12. Exclusive OR operation with “old key data”) is performed. The calculation result is stored in a predetermined area of the work memory 12 as a keyboard event map. If the content of this keyboard event map is not zero, it indicates that there was a key event, and if it is zero, it indicates that there was no key event. Thereafter, the new key data is stored in a predetermined area of the work memory 12 as old key data.
【0055】次いで、押鍵イベントがあるかどうかが調
べられる(ステップS21)。これは、鍵イベントマッ
プ中の「1」に対応する新鍵データ中のビットが「1」
であるかどうかを調べることにより行われる。Next, it is checked whether or not there is a key pressing event (step S21). This means that the bit in the new key data corresponding to “1” in the key event map is “1”.
This is done by checking if
【0056】このステップS21で押鍵イベントがある
ことが判断されると、次いで、発音中の音、つまり押下
中の鍵があるかどうかが調べられる(ステップS2
2)。これは、押鍵状態テーブルを参照することにより
行われる。即ち、押鍵状態テーブルの状態ビット欄に少
なくとも1つ以上の「1」になっている部分が存在する
かどうかが調べられ、存在すれば発音中の音があり、存
在しなければ発音中の音はない旨が判断される。If it is determined in step S21 that there is a key pressing event, it is then checked whether there is a sound being generated, that is, whether there is a key being pressed (step S2).
2). This is performed by referring to the key depression state table. That is, it is checked whether or not at least one or more "1" portion exists in the status bit column of the key-depression status table. It is determined that there is no sound.
【0057】このステップS22で発音中の音があるこ
とが判断されると、残響音の発音処理が行われる(ステ
ップS23)。即ち、発音中の音があるということは、
当該押鍵イベントが発生した際に既に他の鍵が押下中で
ある、つまり開放弦が存在することを意味する。そこ
で、当該押鍵イベントが開放弦を励振するのを模擬すべ
く、残響音の発音処理が行われる。If it is determined in step S22 that there is a sound being generated, reverberation processing is performed (step S23). In other words, that there is a sound being pronounced,
This means that another key is already being pressed when the key pressing event occurs, that is, an open string exists. Therefore, in order to simulate that the key press event excites the open string, a reverberation sound generation process is performed.
【0058】この残響音の発音処理では、先ず、押下中
の鍵が何れのオクターブに属するかが調べられる。これ
は押鍵状態テーブルの状態ビット欄を順次調べることに
より行われる。この際、2つ以上のオクターブに跨る複
数の鍵が押されていることが判断された場合は、所定の
1つのオクターブが選択される。ここで選択されるオク
ターブは、例えば最も低いオクターブとすることができ
る。なお、選択されるオクターブは最も高いオクターブ
であってもよいし、中間のオクターブであってもよい。In the reverberation generation process, first, it is checked which octave the key being pressed belongs to. This is performed by sequentially examining the status bit column of the key depression status table. At this time, when it is determined that a plurality of keys over two or more octaves are pressed, one predetermined octave is selected. The octave selected here can be, for example, the lowest octave. The selected octave may be the highest octave or an intermediate octave.
【0059】次いで、押下中の鍵に基づいてコード検出
処理が行われる。このコード検出処理は、例えば自動伴
奏を行う場合に使用される周知のコード検出技術を使用
することができる。これにより、コードフォームが決定
される。次いで、選択されたオクターブと検出されたコ
ードフォームに対応する音色パラメータが、上記プログ
ラムメモリ11から読み出される。Next, a code detection process is performed based on the key being pressed. For this chord detection processing, for example, a well-known chord detection technique used when performing automatic accompaniment can be used. Thus, the code form is determined. Next, the timbre parameters corresponding to the selected octave and the detected chord form are read from the program memory 11.
【0060】次いで、音源回路18の所定の発音チャン
ネルが発音用に割り当てられる。そして、上記で読み出
された音色パラメータが音源回路18の上記割り当てら
れた発音チャンネルに送られる。これにより、割り当て
られた発音チャンネルにおいて、上記音色パラメータに
基づいたデジタル楽音信号が生成され、これがD/A変
換器180、増幅器181及びスピーカ182に順次送
られる。これにより、開放弦に応じた残響音が発生され
る。上記ステップS22で発音中の音がないことが判断
された場合は、このステップS23の処理はスキップさ
れる。Next, a predetermined sound channel of the tone generator circuit 18 is assigned for sound generation. Then, the read timbre parameters are sent to the assigned tone generation channel of the tone generator circuit 18. As a result, a digital tone signal based on the tone color parameter is generated in the assigned tone generation channel, and is sequentially sent to the D / A converter 180, the amplifier 181 and the speaker 182. Thereby, a reverberation sound corresponding to the open string is generated. If it is determined in step S22 that there is no sound being generated, the process in step S23 is skipped.
【0061】次いで、発音処理が行われる(ステップS
24)。この発音処理は、押鍵イベントがあった鍵に対
応する音を発生する処理である。この発音処理では、音
源回路18の所定の発音チャンネルに発音が割り当てら
れる。次いで、押鍵イベントがあった鍵のキーナンバ、
タッチデータ及びその時点で選択されている音色等に基
づきプログラムメモリ11から1つの音色パラメータが
読み出され、これが音源回路18に送られる。これによ
り、音源回路18の割り当てられた発音チャンネルにお
いて、上記音色パラメータに基づいたデジタル楽音信号
が生成され、これがD/A変換器180、増幅器181
及びスピーカ182に順次送られて楽音が発生される。Next, a tone generation process is performed (step S).
24). This sound generation process is a process of generating a sound corresponding to a key having a key press event. In this sound generation processing, sound is assigned to a predetermined sound channel of the tone generator circuit 18. Next, the key number of the key that had the key press event,
One tone color parameter is read from the program memory 11 based on the touch data and the tone color selected at that time, and is sent to the tone generator 18. As a result, a digital tone signal based on the tone color parameter is generated in the tone generation channel assigned by the tone generator circuit 18, and is generated by the D / A converter 180 and the amplifier 181.
, And are sequentially transmitted to the speaker 182 to generate a musical tone.
【0062】上記ステップS23及びS24の処理は連
続して実行され、且つ別個の発音チャンネルを用いて別
個に楽音及び残響音に対応する信号が生成される。従っ
て、これらの両信号に基づく音は同時に発生されるよう
に聞こえる。従って、アコースティックピアノのような
残響音が含まれた楽音が発生されることになる。The processes of steps S23 and S24 are continuously executed, and signals corresponding to musical sounds and reverberation sounds are separately generated using different sounding channels. Thus, sounds based on both of these signals appear to be generated simultaneously. Therefore, a musical tone including a reverberant sound like an acoustic piano is generated.
【0063】次いで、押鍵状態テーブルの更新が行われ
る(ステップS25)。この処理では、押鍵イベントが
あった鍵に対応する押鍵状態テーブルの状態ビット欄に
「1」が書き込まれる。これにより当該鍵が押鍵中であ
ることが押鍵状態テーブルに記憶される。その後、シー
ケンスはこの鍵盤処理ルーチンからメイン処理ルーチン
にリターンする。Next, the key depression state table is updated (step S25). In this process, “1” is written in the status bit column of the key press status table corresponding to the key in which the key press event occurred. As a result, the fact that the key is being pressed is stored in the key pressed state table. Thereafter, the sequence returns from the keyboard processing routine to the main processing routine.
【0064】上記ステップS21で押鍵イベントがない
ことが判断されると、次いで、離鍵イベントがあるかど
うかが調べられる(ステップS26)。これは、鍵イベ
ントマップ中の「1」に対応する新鍵データ中のビット
が「0」であるかどうかを調べることにより行われる。If it is determined in step S21 that there is no key press event, then it is checked whether there is a key release event (step S26). This is performed by checking whether the bit in the new key data corresponding to “1” in the key event map is “0”.
【0065】ここで、離鍵イベントがないことが判断さ
れると、シーケンスはこの鍵盤処理ルーチンからメイン
処理ルーチンにリターンする。一方、離鍵イベントがあ
ることが判断されると、消音処理が行われる(ステップ
S27)。この消音処理では、離鍵された鍵に対応する
発音チャンネルに、エンベロープをゼロにするためのデ
ータが送られ、その後、当該発音チャンネルの割り当て
が開放される。これにより、発音中の音が消音されるこ
とになる。If it is determined that there is no key release event, the sequence returns from the keyboard processing routine to the main processing routine. On the other hand, when it is determined that there is a key release event, a mute process is performed (step S27). In this mute processing, data for setting the envelope to zero is sent to the sounding channel corresponding to the released key, and thereafter, the assignment of the sounding channel is released. As a result, the sound being generated is muted.
【0066】次いで、押鍵状態テーブルの更新処理が行
われる(ステップS28)。この処理では、離鍵イベン
トがあった鍵に対応する押鍵状態テーブルの状態ビット
欄に「0」が書き込まれる。これにより当該鍵が離鍵さ
れたことが押鍵状態テーブルに記憶される。その後、シ
ーケンスはこの鍵盤処理ルーチンからメイン処理ルーチ
ンにリターンする。Next, the key depression state table is updated (step S28). In this process, “0” is written in the status bit column of the key press status table corresponding to the key having the key release event. As a result, the fact that the key has been released is stored in the key pressed state table. Thereafter, the sequence returns from the keyboard processing routine to the main processing routine.
【0067】以上説明したように、本発明の実施の形態
に係る電子楽器によれば、新たに鍵が押された際に既に
押下中の鍵があれば、従来の「楽音」に加えて、その既
に押下中の鍵の残響音が発生されるので、よりアコース
ティックピアノに近い豊かな響きを有する音を発生させ
ることができる。As described above, according to the electronic musical instrument of the embodiment of the present invention, if a key is already depressed when a new key is depressed, in addition to the conventional "tone", Since the reverberation sound of the key already pressed is generated, a sound having a rich sound closer to that of an acoustic piano can be generated.
【0068】なお、上記の実施の形態では、残響音の発
音処理(ステップS23)で、2つ以上のオクターブに
跨る複数の鍵が押されていることが判断された場合に、
1つのオクターブを選択し、該オクターブに対応する残
響音を発生するように構成したが、押下中の鍵が属する
全てのオクターブの残響音を発音するように構成するこ
ともできる。この構成によれば、よりアコースティック
ピアノに近い音を発生させることができる。In the above embodiment, when it is determined in the reverberation sound generation process (step S23) that a plurality of keys over two or more octaves are pressed,
Although one octave is selected and the reverberation sound corresponding to the octave is generated, the reverberation sound of all octaves to which the pressed key belongs may be generated. According to this configuration, a sound closer to that of an acoustic piano can be generated.
【0069】[0069]
【発明の効果】以上詳述したように、本発明によれば、
実際の曲を演奏する場合にもアコースティックピアノと
同様に豊かな響きの音を発生できる電子楽器を提供でき
る。As described in detail above, according to the present invention,
It is possible to provide an electronic musical instrument capable of generating a rich sound as in the case of an acoustic piano when playing an actual song.
【図1】本発明の実施の形態に係る電子楽器の構成を示
すブロック図である。FIG. 1 is a block diagram showing a configuration of an electronic musical instrument according to an embodiment of the present invention.
【図2】本発明の実施の形態で使用される押鍵状態テー
ブルの一例を示す図である。FIG. 2 is a diagram showing an example of a key pressing state table used in the embodiment of the present invention.
【図3】本発明の実施の形態で使用されるメイン処理を
示すフローチャートである。FIG. 3 is a flowchart showing a main process used in the embodiment of the present invention.
【図4】本発明の実施の形態で使用される鍵盤処理を示
すフローチャートである。FIG. 4 is a flowchart showing keyboard processing used in the embodiment of the present invention.
10 CPU 11 プログラムメモリ 12 ワークメモリ 13 押鍵状態テーブルメモリ 14 パネルインタフェース回路 15 鍵盤インタフェース回路 16 楽音波形メモリ 17 残響音波形メモリ 18 音源回路 140 操作パネル 150 鍵盤装置 180 D/A変換器 181 増幅器 182 スピーカ Reference Signs List 10 CPU 11 Program memory 12 Work memory 13 Key pressing state table memory 14 Panel interface circuit 15 Keyboard interface circuit 16 Musical sound waveform memory 17 Reverberation acoustic waveform memory 18 Sound source circuit 140 Operation panel 150 Keyboard device 180 D / A converter 181 Amplifier 182 Speaker
Claims (6)
器であって、 鍵盤装置と、 該鍵盤装置の押鍵及び離鍵を検出する検出手段と、 該検出手段で押鍵が検出された際に、押下中の他の鍵が
あるかどうかを判断する判断手段と、 該判断手段で押下中の他の鍵があることが判断された場
合に、該検出手段で押鍵が検出された鍵に対応する楽音
及び該押下中の他の鍵に対応する残響音を発生するため
の楽音信号を生成する楽音信号生成手段、とを備えた電
子楽器。An electronic musical instrument for generating a musical tone based on a musical tone signal, comprising: a keyboard device; detecting means for detecting a key press and release of the keyboard device; and a key press detected by the detecting means. At this time, a judgment means for judging whether or not there is another key being pressed, and when the judgment means judges that there is another key being pressed, a key depression is detected by the detection means. A musical tone signal generating means for generating a musical tone corresponding to a key and a musical tone signal for generating a reverberation tone corresponding to another key being pressed.
態記憶手段であって、その記憶内容は前記検出手段にお
ける検出結果に基づいて順次変更されるものを更に備
え、 前記判断手段は、該押鍵状態記憶手段の記憶内容に基づ
いて押下中の他の鍵があるかどうかを判断する請求項1
に記載の電子楽器。2. A key depression state storage means for storing a key depression state of the keyboard device, wherein the storage contents are sequentially changed based on a detection result by the detection means, Determining whether there is another key being pressed based on the storage contents of the key pressing state storage means.
An electronic musical instrument according to claim 1.
された各波形データに基づいて楽音信号を生成する音源
回路とを有し、 前記判断手段で押下中の他の鍵があることが判断された
場合に、該音源回路は、該残響音波形記憶手段から残響
音の波形データを、該楽音波形記憶手段から楽音の波形
データをそれぞれ読み出し、これら両波形データに基づ
いて楽音信号を生成する請求項1又は請求項2に記載の
電子楽器。3. The musical sound signal generating means includes: a musical sound waveform storing means for storing waveform data of a musical sound; a reverberant sound waveform storing means for storing waveform data of a reverberant sound; Means for generating a tone signal based on each waveform data stored in the means, and when the determination means determines that there is another key being pressed, the sound source circuit performs the reverberation. 3. The electronic musical instrument according to claim 1, wherein waveform data of a reverberation sound is read from the sound waveform storage means, and waveform data of a tone is read from the musical sound waveform storage means, and a tone signal is generated based on both of the waveform data. .
複数の残響音の波形データを記憶し、前記音源回路は、
前記判断手段で押下中の他の鍵があることが判断された
場合に、該他の鍵が属する鍵域に対応する残響音の波形
データを該残響音波形記憶手段から読み出す請求項3に
記載の電子楽器。4. The reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds corresponding to a key range.
4. The reverberation sound waveform storage unit according to claim 3, wherein when the determination unit determines that there is another key being pressed, waveform data of a reverberation sound corresponding to a key range to which the other key belongs is read from the reverberation sound waveform storage unit. Electronic musical instrument.
に応じた複数の残響音の波形データを記憶し、前記音源
回路は、前記判断手段で押下中の他の鍵があることが判
断された場合に、該他の鍵の押鍵パターンに対応する残
響音の波形データを該残響音波形記憶手段から読み出す
請求項3に記載の電子楽器。5. The reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds corresponding to a key depression pattern, and the sound source circuit determines that there is another key being pressed by the determination means. 4. The electronic musical instrument according to claim 3, wherein the reverberation sound waveform data corresponding to the key depression pattern of the other key is read out from the reverberation sound waveform storage means.
パターンの組み合わせに応じた複数の残響音の波形デー
タを記憶し、前記音源回路は、前記判断手段で押下中の
他の鍵があることが判断された場合に、該他の鍵の鍵域
及び押鍵パターンの組み合わせに対応する残響音の波形
データを該残響音波形記憶手段から読み出す請求項3に
記載の電子楽器。6. The reverberation sound waveform storage means stores waveform data of a plurality of reverberation sounds corresponding to a combination of a key range and a key depression pattern, and the tone generator circuit controls another key being depressed by the determination means. 4. The electronic musical instrument according to claim 3, wherein when it is determined that there is a reverberation sound waveform data corresponding to the combination of the key range and the key depression pattern of the other key, the reverberation sound waveform storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9145874A JPH10319949A (en) | 1997-05-20 | 1997-05-20 | Electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9145874A JPH10319949A (en) | 1997-05-20 | 1997-05-20 | Electronic musical instrument |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10319949A true JPH10319949A (en) | 1998-12-04 |
Family
ID=15395053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9145874A Pending JPH10319949A (en) | 1997-05-20 | 1997-05-20 | Electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10319949A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005066928A1 (en) * | 2004-01-09 | 2005-07-21 | Kabushiki Kaisha Kawai Gakki Seisakusho | Electronic musical instrument sonorant generation device, electronic musical instrument sonorant generation method, computer program, and computer-readable recording medium |
| JP2007187949A (en) * | 2006-01-16 | 2007-07-26 | Casio Comput Co Ltd | Musical sound generator and musical sound generation processing program |
| CN113257256A (en) * | 2021-07-14 | 2021-08-13 | 广州朗国电子科技股份有限公司 | Voice processing method, conference all-in-one machine, system and storage medium |
-
1997
- 1997-05-20 JP JP9145874A patent/JPH10319949A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005066928A1 (en) * | 2004-01-09 | 2005-07-21 | Kabushiki Kaisha Kawai Gakki Seisakusho | Electronic musical instrument sonorant generation device, electronic musical instrument sonorant generation method, computer program, and computer-readable recording medium |
| JP2005196026A (en) * | 2004-01-09 | 2005-07-21 | Kawai Musical Instr Mfg Co Ltd | Electronic musical instrument resonance sound generating apparatus, electronic musical instrument resonance generating method, computer program, and recording medium |
| US8378201B2 (en) | 2004-01-09 | 2013-02-19 | Kabushiki Kaisha Kawai Gakki Seisakusho | Resonance generation device of electronic musical instrument, resonance generation method of electronic musical instrument, computer program, and computer readable recording medium |
| JP2007187949A (en) * | 2006-01-16 | 2007-07-26 | Casio Comput Co Ltd | Musical sound generator and musical sound generation processing program |
| CN113257256A (en) * | 2021-07-14 | 2021-08-13 | 广州朗国电子科技股份有限公司 | Voice processing method, conference all-in-one machine, system and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7429699B2 (en) | Electronic musical instrument and recording medium that stores processing program for the electronic musical instrument | |
| JPH03174590A (en) | electronic musical instruments | |
| JPH10187157A (en) | Automatic performance device | |
| JPH06259065A (en) | Electronic musical instrument | |
| JPH06332449A (en) | Singing voice reproducing device for electronic musical instrument | |
| JPH10319949A (en) | Electronic musical instrument | |
| JP3624780B2 (en) | Music control device | |
| WO2005066928A1 (en) | Electronic musical instrument sonorant generation device, electronic musical instrument sonorant generation method, computer program, and computer-readable recording medium | |
| JPH06259064A (en) | Electronic musical instrument | |
| JP3424989B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JPH06242781A (en) | Electronic musical instrument | |
| JP2953217B2 (en) | Electronic musical instrument | |
| JPH07104753A (en) | Electronic musical instrument automatic tuning device | |
| JPH08278781A (en) | Sound source module | |
| JP3169535B2 (en) | Automatic performance device and automatic performance method | |
| JP3150580B2 (en) | Automatic performance device and automatic performance method | |
| JP3090383B2 (en) | Tone assigning device and tone generating device | |
| JPH10319963A (en) | Electronic musical instrument | |
| JPH10143156A (en) | Electronic musical instrument operating device | |
| JPH1063269A (en) | Silence piano | |
| JPH06250650A (en) | Electronic musical instrument | |
| JPH0816166A (en) | Rhythm selection device | |
| JPH0772857A (en) | Electronic musical instrument automatic performance device | |
| JPH07199940A (en) | Electronic musical instrument demo performance controller | |
| JPH08328559A (en) | Automatic performance device and automatic performance method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20041122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20041201 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050404 |