JP2002032082A - Keyboard information generating device of electronic musical instrument - Google Patents

Keyboard information generating device of electronic musical instrument

Info

Publication number
JP2002032082A
JP2002032082A JP2000218574A JP2000218574A JP2002032082A JP 2002032082 A JP2002032082 A JP 2002032082A JP 2000218574 A JP2000218574 A JP 2000218574A JP 2000218574 A JP2000218574 A JP 2000218574A JP 2002032082 A JP2002032082 A JP 2002032082A
Authority
JP
Japan
Prior art keywords
key
speed
musical instrument
sound
electronic musical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000218574A
Other languages
Japanese (ja)
Inventor
Hidekazu Tamura
英一 田村
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 JP2000218574A priority Critical patent/JP2002032082A/en
Publication of JP2002032082A publication Critical patent/JP2002032082A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a keyboard information generating device of an electronic musical instrument which can reduce the physical disorder that a player feels when playing the electronic musical instrument in stringed instrument playing mode. SOLUTION: When a key is pressed (affirmative judgement in step S14), it is judged (step S21) whether or not the key is in sound generation and when so, a muting process is performed (step S22). When the key is released (inaffirmative judgement in step S14), it is judged whether the key releasing speed VEL is faster than a threshold speed V0 and when the key releasing speed VEL is faster than the threshold speed V0 (affirmative judgement in step S31), a sound generating process wherein maximum after-touch data AT are reflected is performed (step S32). When the key releasing speed VEL is slower than the threshold speed V0 (inaffirmative judgement in step S31), on the other hand, no sound is generated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は電子楽器の鍵盤情
報発生装置に関し、特に、弦楽器演奏と類似の演奏を行
うことができる電子楽器の鍵盤情報発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a keyboard information generator for an electronic musical instrument, and more particularly to a keyboard information generator for an electronic musical instrument capable of performing a performance similar to a stringed musical instrument.

【0002】[0002]

【従来の技術】弦楽器と同様の演奏音を発生させるよう
にした鍵盤付き電子楽器は、本発明者等により既に提案
されている。先行技術の一つとして、例えば特開平6−
12080号公報に記されているものがある。
2. Description of the Related Art An electronic musical instrument with a keyboard which generates a performance sound similar to a stringed musical instrument has already been proposed by the present inventors. As one of the prior arts, for example,
There is one described in No. 12080.

【0003】一般に、弦楽器演奏では、弦が弾かれると
弦の振動が止むまで楽音が発生し、また指で弦に触れる
と楽音の発生は停止する。また、演奏時には、演奏者が
同じ弦を続けて弾くことがあり、そうすると、その操作
の最初に該弦から発生している音が一瞬消える現象が起
きる。
Generally, in playing a stringed musical instrument, when a string is played, a musical tone is generated until the vibration of the string stops, and when a finger touches the string, the musical tone stops generating. Also, during a performance, the player may repeatedly play the same string, and a phenomenon occurs in which the sound generated from the string disappears momentarily at the beginning of the operation.

【0004】そこで、前記先行技術には、電子楽器にお
いて弦楽器演奏モードを選んだ場合には、演奏者の押鍵
により発音し、離鍵しても消音処理を行わないようにす
ること、すなわち離鍵しても楽音が鳴り続けるようにす
る技術、また発音中の鍵が再度押鍵されると消音処理す
る技術等が開示されている。
Therefore, in the prior art, when a stringed musical instrument play mode is selected in an electronic musical instrument, a sound is generated by pressing a key of a player, and a mute process is not performed even when the key is released, that is, a release of a sound is performed. There are disclosed a technique for making a musical tone continue to sound even when the key is keyed, and a technique for silencing when a key being sounded is pressed again.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前記先
行技術の電子楽器を弦楽器演奏モードで演奏すると、演
奏者に違和感が生ずるという問題があった。
However, when the above-mentioned prior art electronic musical instrument is played in the stringed musical instrument playing mode, there is a problem that the player feels strange.

【0006】本発明の目的は、該問題点を解消し、電子
楽器を弦楽器演奏モードで演奏した場合に、演奏者に与
える違和感を軽減できる電子楽器の鍵盤情報発生装置を
提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a keyboard information generating apparatus for an electronic musical instrument which can solve the above-mentioned problem and can reduce a sense of discomfort given to a player when the electronic musical instrument is played in a stringed musical instrument playing mode.

【0007】[0007]

【課題を解決するための手段】前記した目的を達成する
ために、本発明は、離鍵のタイミングを検出する手段
と、離鍵の速さを検出する手段と、該離鍵の速さと予め
定められた閾値の速さとを比較する手段と、該離鍵の速
さが該閾値以上であるときに前記離鍵のタイミングで発
音し、該閾値より小さい時に発音しないようにする発音
処理手段とを具備した点に第1の特徴がある。
In order to achieve the above object, the present invention provides a means for detecting a key release timing, a means for detecting a key release speed, and a method for detecting a key release speed. Means for comparing the speed with a predetermined threshold, and sounding processing means for sounding at the key release timing when the key release speed is equal to or higher than the threshold, and for not generating sound when the key release speed is lower than the threshold. The first feature lies in the point of having.

【0008】この特徴によれば、離鍵のタイミングでか
つ離鍵の速さが閾値以上であるときに発音するので、電
子楽器を、弦がリリースされるタイミングで発音し、か
つプルの強さが所定値以上の時にだけ耳に聞こえるよう
に発音する弦楽器と同様の感覚で演奏できるようにな
る。
According to this feature, the electronic musical instrument is sounded at the key release timing and when the key release speed is equal to or higher than the threshold value. Can be played with the same feeling as a stringed instrument that sounds audible only when is greater than or equal to a predetermined value.

【0009】また、本発明は、押鍵の強さを感知する手
段、押鍵の速さを感知する手段、または押鍵から離鍵ま
での速さを感知する手段をさらに具備し、前記発音処理
手段は、該押鍵の強さ、押鍵の速さ、または押鍵から離
鍵までの速さを反映させて発音させるようにした点に第
2の特徴がある。この特徴によれば、弦のプルの強さに
応じて音量が変化する弦楽器と同様の感覚で電子楽器を
演奏できるようになる。
The present invention further comprises means for sensing the strength of key depression, means for sensing the speed of key depression, or means for sensing the speed from key depression to key release. A second feature of the processing means is that the processing means reflects the strength of the key depression, the speed of the key depression, or the speed from the key depression to the key release to generate sound. According to this feature, the electronic musical instrument can be played with a feeling similar to that of a stringed musical instrument whose volume changes according to the strength of the pull of the string.

【0010】さらに、押鍵時に、該鍵が発音中か否かを
判断する手段と、発音中であれば消音処理を行う手段と
をさらに具備した点に第3の特徴がある。この特徴によ
れば、同じ弦が続けて弾かれると、その操作の最初に該
弦から発生している音が一瞬消えるという弦楽器特有の
特徴を電子楽器に持たせることができるので、弦楽器と
同様の感覚で電子楽器を演奏できるようになる。
A third feature is that the apparatus further comprises means for judging whether or not the key is sounding when the key is pressed, and means for performing a silencing process when the key is sounding. According to this feature, if the same string is repeatedly played, the sound generated from the string is momentarily erased at the beginning of the operation. You will be able to play electronic musical instruments as if you were playing.

【0011】[0011]

【発明の実施の形態】以下に、本発明を詳細に説明す
る。本発明は、電子楽器の鍵を弦楽器の弦と考えた場
合、鍵に指を当てて鍵を押込む操作は弦を押込む操作、
すなわち弦をプルする操作に近く、鍵が自身の反力で戻
る動作は弦のリリースに近いという本発明者の新規な着
想によってなされたものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail. According to the present invention, when a key of an electronic musical instrument is considered to be a string of a stringed instrument, an operation of pressing a key with a finger on the key is an operation of pressing the string,
In other words, the operation is similar to the operation of pulling the strings, and the operation of the key to return by its own reaction force is similar to the release of the strings.

【0012】まず、本発明が適用される電子楽器(電子
ピアノ)の一例の構成の概略を、図1を参照して説明す
る。図において、中央演算装置(CPU)1は、ROM
2のプログラムメモリ部に記憶されている制御プログラ
ムに従って、当該電子楽器の各部の動作を制御する。R
OM2には、電子楽器全体の動作を制御するプログラ
ム、CPU1が使用する種々の固定データ等が記憶され
ている。これらのプログラムおよび固定データは、CP
U1により、システムバスSBを介してアクセスされ
る。RAM3は、装置のステータス情報を記憶し、また
CPU1の作業用領域として使用される。なお、電子楽
器を制御するための各種レジスタ、バッファ、フラグ等
はRAM3に定義されており、該RAM3はCPU1に
より、システムバスSBを介してアクセスされる。
First, an outline of the configuration of an example of an electronic musical instrument (electronic piano) to which the present invention is applied will be described with reference to FIG. In the figure, a central processing unit (CPU) 1 has a ROM
The operation of each section of the electronic musical instrument is controlled according to a control program stored in the second program memory section. R
The OM2 stores a program for controlling the operation of the entire electronic musical instrument, various fixed data used by the CPU 1, and the like. These programs and fixed data are
U1 is accessed via the system bus SB. The RAM 3 stores status information of the apparatus and is used as a work area for the CPU 1. Various registers, buffers, flags, and the like for controlling the electronic musical instrument are defined in the RAM 3, and the RAM 3 is accessed by the CPU 1 via the system bus SB.

【0013】操作パネル5は、電源スイッチ、音色選択
スイッチ、弦楽器演奏モード選択スイッチ等の各種スイ
ッチ、および所定の情報を表示するための表示器などを
有している。パネルスキャン回路4は、前記操作パネル
5に設けられた各スイッチのセット/リセット状態を調
べ、オン状態になっているパネルスイッチデータを検出
して、CPU1に送出する。
The operation panel 5 has various switches such as a power switch, a tone color selection switch, a string instrument performance mode selection switch, and a display for displaying predetermined information. The panel scan circuit 4 checks the set / reset state of each switch provided on the operation panel 5, detects panel switch data in an on state, and sends the data to the CPU 1.

【0014】鍵盤7は、複数の鍵盤と、これらの押鍵、
離鍵に連動して開閉する鍵盤スイッチとから構成されて
いる。なお、該鍵盤と鍵盤スイッチとしては、例えば前
記特開平6−12080号公報に記されているものを使
用することができる。鍵盤スキャン回路6は、該鍵盤ス
イッチの状態を調べ、そのオン/オフを示す信号から、
鍵盤タッチの強さ(速さ)を示すタッチデータを生成す
ると共に、オンまたはオフ情報およびその鍵盤番号(キ
ーコード)を出力する。このオン、オフ情報、鍵盤番
号、およびタッチデータは、システムバスSBを介して
CPU1に送られる。
The keyboard 7 is composed of a plurality of keys and keys depressed thereon.
And a keyboard switch that opens and closes in response to key release. As the keyboard and keyboard switch, for example, those described in the above-mentioned Japanese Patent Application Laid-Open No. Hei 6-12080 can be used. The keyboard scan circuit 6 checks the state of the keyboard switch, and from a signal indicating its on / off state,
In addition to generating touch data indicating the strength (speed) of keyboard touch, on / off information and its keyboard number (key code) are output. The on / off information, the keyboard number, and the touch data are sent to the CPU 1 via the system bus SB.

【0015】音源回路8は、CPU1から出力される信
号に対応する原音波形データを原音波形メモリ9から読
出し、その原音波形データにエンベロープを乗算し、楽
音信号aとしてDSP(digital signal processor)10
に出力する。なお、弦楽器演奏モードにされると、電子
楽器にギター等の弦楽器の音色が割り当てられ、鍵盤演
奏が行われると、あたかもその弦楽器を弾いているよう
な演奏音が得られることになる。
A tone generator circuit 8 reads out original sound waveform data corresponding to a signal output from the CPU 1 from an original sound waveform memory 9, multiplies the original sound waveform data by an envelope, and generates a DSP (digital signal processor) 10 as a tone signal a.
Output to Note that in the stringed instrument playing mode, the tone of a stringed instrument such as a guitar is assigned to the electronic musical instrument, and when a keyboard performance is performed, a performance sound as if playing the stringed instrument is obtained.

【0016】DSP10には、周波数特性調整回路10
aとエフェクト回路10bが内蔵されている。該エフェ
クト回路10bでは、リバーブ、コーラスなどの各種の
効果を発生することができる。DSP10から出力され
た楽音信号bは、図示されていないD/A変換器にてア
ナログ信号に変換され、メインアンプで増幅されて、左
右の高音用スピーカ、低音用スピーカからなるスピーカ
システムに送られ、再生される。
The DSP 10 includes a frequency characteristic adjusting circuit 10
a and an effect circuit 10b. The effect circuit 10b can generate various effects such as reverb and chorus. The tone signal b output from the DSP 10 is converted into an analog signal by a D / A converter (not shown), amplified by a main amplifier, and sent to a speaker system including left and right high-frequency speakers and low-frequency speakers. Will be played.

【0017】次に、本発明の一実施形態の機能を、図2
(a) 〜(e) のフローチャートを参照して説明する。演奏
者が、操作パネル5上で弦楽器演奏モードを選択する
と、図2(a) の処理が開始される。図2(a) は、本機能
のメインルーチンを示す。
Next, the function of one embodiment of the present invention will be described with reference to FIG.
This will be described with reference to the flowcharts (a) to (e). When the player selects the stringed instrument playing mode on the operation panel 5, the processing of FIG. 2A is started. FIG. 2A shows a main routine of this function.

【0018】ステップS1では、電子楽器のRAM3等
に一時的に記憶されていたデータ等が初期化される。該
初期化が終わると、ステップS2に進んで鍵処理が行わ
れ、次いでステップS3でアフタータッチ処理が行われ
る。該ステップS2とS3の処理は、演奏が終了して、
前記弦楽器演奏モードが解除されるまで、繰り返され
る。
In step S1, data or the like temporarily stored in the RAM 3 or the like of the electronic musical instrument is initialized. When the initialization is completed, the process proceeds to step S2, where key processing is performed, and then, in step S3, aftertouch processing is performed. In the processing of steps S2 and S3, when the performance is finished,
This is repeated until the stringed instrument playing mode is released.

【0019】前記ステップS2の鍵処理の詳細を同図
(b) を参照して説明する。ステップS11では、前記鍵
盤スキャン回路6が鍵盤7をスキャンする。ステップS
12では、この結果に従って、CPU1が、イベントが
発生したか否か、つまり鍵操作がなされたか否かの判断
をする。この判断が否定の時には何らの処理もされずに
終了する。
The details of the key processing in step S2 are shown in FIG.
This will be described with reference to (b). In step S11, the keyboard scanning circuit 6 scans the keyboard 7. Step S
At 12, the CPU 1 determines whether or not an event has occurred, that is, whether or not a key operation has been performed. If this determination is negative, the process ends without any processing.

【0020】一方、前記イベントが発生したと判断され
ると、ステップS13に進む。ステップS13では、前
記イベントが鍵をオンしたものであるかオフしたもので
あるかが、例えば前記RAM3中のKEVレジスタに記
憶される。また、その時の操作速度(押鍵速度または離
鍵速度)がVELレジスタに記憶され、さらに鍵のキー
コードがKCレジスタに記憶される。ステップS14で
は、前記イベントがキーオンであるか、キーオフである
かの判断がなされ、キーオンである時にはステップS1
5に進んでオン処理が行われ、キーオフである時にはス
テップS16に進んでオフ処理が実行される。
On the other hand, if it is determined that the event has occurred, the process proceeds to step S13. In step S13, whether the event is a key-on event or a key-off event is stored in a KEV register in the RAM 3, for example. The operation speed (key pressing speed or key release speed) at that time is stored in the VEL register, and the key code of the key is stored in the KC register. In step S14, it is determined whether the event is key-on or key-off.
The process proceeds to step S5, where the ON process is performed. If the key is OFF, the process proceeds to step S16 to execute the OFF process.

【0021】前記オン処理の詳細は、同図(c) に示され
ているように、オンイベントを起こした鍵が現在発音中
であるか否かの判断がなされ、発音中であれば、ステッ
プS22に進んで消音処理が行われる。したがって、弦
楽器において、同じ弦が続けて弾かれると、その操作の
最初に該弦から発生している音が一瞬消えるという現象
と同じ現象を電子楽器においても実現することができ
る。その後、ステップS23に進んで、バッファに記憶
されたアフタータッチデータ(AT)がリセットされ
る。一方、発音中でなければ、ステップS21からS2
3に進んで、バッファに記憶されたアフタータッチデー
タ(AT)がリセットされる。
The details of the ON processing are as follows. As shown in FIG. 3C, it is determined whether or not the key that has caused the ON event is currently sounding. Proceeding to S22, the mute processing is performed. Therefore, in a stringed musical instrument, when the same string is repeatedly played, the same phenomenon as the phenomenon that the sound generated from the string disappears momentarily at the beginning of the operation can be realized in the electronic musical instrument. Thereafter, the process proceeds to step S23, where the after touch data (AT) stored in the buffer is reset. On the other hand, if the sound is not being generated, the process proceeds from step S21 to S2.
Proceeding to 3, the after touch data (AT) stored in the buffer is reset.

【0022】次に、前記オフ処理の詳細は、同図(d) に
示されているように、前記VELレジスタに記憶された
離鍵速度VELが予め設定された閾値速度V0 より大き
いか否かの判断がなされ、この判断が肯定の時にはステ
ップS32に進んで、前記アフタータッチデータATを
パラメータとする発音処理が行われる。該発音処理は、
該パラメータを音量、音色などに反映する処理を行う。
前記閾値速度V0 は、メーカが楽器に最初から定めた値
でも、使用者が楽器を購入した後定めた値でもよく、該
閾値速度V0 は任意に設定可能である。なお、該設定操
作は、図1の操作パネル5内のスイッチで行い、設定値
はRAM3に記憶される。以下の、他の実施形態におい
ても同様である。
Next, the details of the off process are as follows, as shown in FIG. 3D, whether the key release speed VEL stored in the VEL register is higher than a preset threshold speed V0. Is determined, and if the determination is affirmative, the process proceeds to step S32 to perform a sound generation process using the after touch data AT as a parameter. The sound processing is
A process is performed to reflect the parameter on the volume, tone, and the like.
The threshold speed V0 may be a value initially set by the manufacturer for the musical instrument or a value determined after the user purchases the musical instrument, and the threshold speed V0 may be set arbitrarily. The setting operation is performed by a switch in the operation panel 5 in FIG. 1, and the setting value is stored in the RAM 3. The same applies to other embodiments described below.

【0023】次に、前記ステップS3のアフタータッチ
処理の詳細について、図2(e) を参照して説明する。ス
テップS41では、押鍵圧力等のデータが取得される。
ステップS42では、取得された新データが前記バッフ
ァに記憶された以前のアフタータッチデータより大きい
か否かの判断がなされ、この判断が肯定であるとステッ
プS43に進んで、該バッファに前記新データが記憶さ
れる。つまり、以前のデータが新データに書き替えられ
る。一方、前記ステップS42の判断が否定であると、
何もしないでそのまま終了する。したがって、該アフタ
ータッチ処理により、該バッファには、最大の押鍵圧、
すなわち最大アフタータッチデータATが保持されるこ
とになる。なお、最大アフタータッチデータではなく、
アフタータッチデータの平均値を求めるようにしてもよ
い。
Next, the details of the after touch process in step S3 will be described with reference to FIG. In step S41, data such as key press pressure is acquired.
In step S42, it is determined whether the acquired new data is larger than the previous after touch data stored in the buffer. If the determination is affirmative, the process proceeds to step S43 to store the new data in the buffer. Is stored. That is, the previous data is rewritten with the new data. On the other hand, if the determination in step S42 is negative,
Exit without doing anything. Therefore, by the after touch processing, the buffer has the maximum key pressing pressure,
That is, the maximum after touch data AT is held. In addition, not the maximum after touch data,
The average value of the after touch data may be obtained.

【0024】したがって、本実施形態によれば、ステッ
プS16、すなわち図2(d) の処理により、離鍵速度V
ELが前記閾値速度V0 以上であれば、前記バッファに
記憶された最大アフタータッチデータATを反映させた
発音処理が行われる。一方、該閾値速度V0 以下であれ
ば発音せずに、鍵盤イベント処理を終了する。よって、
このオフ処理は、弦を強く弾くと発音し、弦を弱く弾く
と発音しないという弦楽器の特徴に、電子楽器を適合さ
せることができる。
Therefore, according to the present embodiment, the key release speed V is determined by step S16, that is, by the process of FIG.
If EL is equal to or higher than the threshold speed V0, a sound generation process is performed in which the maximum after touch data AT stored in the buffer is reflected. On the other hand, if the speed is equal to or lower than the threshold speed V0, the keyboard event process is terminated without sounding. Therefore,
This off processing makes it possible to adapt the electronic musical instrument to the characteristic of a stringed musical instrument that sounds when a string is strongly played and does not sound when a string is weakly played.

【0025】次に、本発明の第2実施形態の機能を、図
3(a) 〜(d) を参照して説明する。この実施形態は、第
1実施形態のように、アフタータッチデータをパラメー
タとして発音処理をするのではなく、押鍵の速さ(オン
ベロシティ)をパラメータとして発音処理するようにし
たものである。
Next, the function of the second embodiment of the present invention will be described with reference to FIGS. In this embodiment, unlike the first embodiment, the tone generation process is performed not by using the after touch data as a parameter but by the speed of key depression (on velocity) as a parameter.

【0026】図3(a) はメインルーチンを示し、ステッ
プS51では、図2と同様の初期化処理が行われる。ス
テップS52では、鍵処理が行われ、この鍵処理は演奏
が終了して、前記弦楽器演奏モードが解除されるまで、
繰り返される。
FIG. 3A shows a main routine. In step S51, the same initialization processing as that in FIG. 2 is performed. In step S52, key processing is performed. This key processing is performed until the performance ends and the stringed instrument playing mode is released.
Repeated.

【0027】前記鍵処理(ステップS52)の詳細を、
同図(b) に示す。このフローチャートは、ステップS6
5のオン処理、S66のオフ処理の詳細な機能を除い
て、図2(b) と同じであるので、説明を省略する。
The details of the key processing (step S52)
This is shown in FIG. This flowchart corresponds to step S6.
Except for the detailed functions of the ON processing of S5 and the OFF processing of S66, the processing is the same as that of FIG.

【0028】前記ステップS65の詳細な処理は、同図
(c) に示されているように、ステップS71では、オン
イベントのあった鍵が発音中であるか否かの判断がなさ
れる。この判断が肯定である場合にはステップS72に
進み、消音処理がなされる。一方、否定の場合には、ス
テップS72をジャンプして、ステップS73に進む。
該ステップS73では、NVレジスタに、押鍵速度(オ
ンベロシティ)VELが記憶される。
The detailed processing in step S65 is described in FIG.
As shown in (c), in step S71, it is determined whether or not the key having the on-event is being sounded. If this determination is affirmative, the process proceeds to step S72, where a mute process is performed. On the other hand, if the result is negative, the process jumps from step S72 and proceeds to step S73.
In step S73, the key depression speed (on velocity) VEL is stored in the NV register.

【0029】一方、前記ステップS66のオフ処理で
は、同図(d) に示されているオフ処理のステップS81
にて、前記VELレジスタに記憶された離鍵速度が予め
設定された閾値速度V0 より大きいか否かの判断がなさ
れ、この判断が肯定の時にはステップS82に進んで、
前記NVレジスタに記憶された押鍵速度VELをパラメ
ータとする発音処理が行われる。
On the other hand, in the off processing of step S66, step S81 of the off processing shown in FIG.
At, it is determined whether or not the key release speed stored in the VEL register is higher than a preset threshold speed V0. If the determination is affirmative, the process proceeds to step S82,
A tone generation process is performed using the key pressing speed VEL stored in the NV register as a parameter.

【0030】以上のように、該第2実施形態では、鍵の
離鍵が始まると、そのタイミングで押鍵速度VELをパ
ラメータとする発音処理を行うことができる。
As described above, in the second embodiment, when a key is released, a tone generation process using the key pressing speed VEL as a parameter can be performed at that timing.

【0031】次に、本発明の第3実施形態の機能を、図
4(a) 〜(e) を参照して説明する。この実施形態は、押
鍵されてから離鍵されるまでの速さをパラメータとして
発音処理をするようにした点に特徴がある。
Next, the function of the third embodiment of the present invention will be described with reference to FIGS. This embodiment is characterized in that sound generation processing is performed using a speed from a key being pressed to a key being released as a parameter.

【0032】図4(a) は本実施形態のメインルーチンで
あり、図3(a) のフローチャートと同じである。また、
図4(b) の鍵処理は、ステップS105、S106の詳
細な機能を除いて、図2(b) および図3(b) のフローチ
ャートと同じであるので、説明を省略する。
FIG. 4A shows a main routine of the present embodiment, which is the same as the flowchart of FIG. 3A. Also,
The key processing in FIG. 4B is the same as the flowcharts in FIGS. 2B and 3B except for the detailed functions of steps S105 and S106, and thus the description is omitted.

【0033】ステップS105のオン処理は、図4(c)
に示されているように、ステップS111では、オンイ
ベントのあった鍵が発音中であるか否かの判断がなされ
る。この判断が肯定である場合にはステップS112に
進み、消音処理がなされる。一方、否定の場合には、ス
テップS112をジャンプして、ステップS113に進
む。該ステップS113では、鍵に対応するタイマーカ
ウンタTC[KC]がリセットされる。
The ON processing in step S105 is performed as shown in FIG.
As shown in (1), in step S111, it is determined whether or not the key having the on-event is being sounded. If this determination is affirmative, the process proceeds to step S112, where a mute process is performed. On the other hand, if the result is negative, step S112 is jumped and the process proceeds to step S113. In step S113, the timer counter TC [KC] corresponding to the key is reset.

【0034】次に、ステップS106のオフ処理は、同
図(d) に示されているように、ステップS121で、離
鍵速度VELが前記閾値速度V0 以上であると判断され
ると、ステップS122に進んで、1/TC[KC]、
すなわち押鍵されてから離鍵されるまでの速さをパラメ
ータとする発音処理が行われる。
Next, as shown in FIG. 3D, in the off process in step S106, if it is determined in step S121 that the key release speed VEL is equal to or higher than the threshold speed V0, the process proceeds to step S122. To 1 / TC [KC],
That is, a tone generation process is performed using the speed from the key being pressed to the key being released as a parameter.

【0035】なお、前記タイマーカウンタTC[KC]
は、同図(e) のステップS131に示されているよう
に、オン処理が発生した時点をカウントの開始時点とし
ているので、鍵が押鍵されてから離鍵されるまでの時間
を計測することになる。
The timer counter TC [KC]
As shown in step S131 of FIG. 11E, the time when the ON process occurs is set as the start time of the count, so that the time from when the key is pressed until the key is released is measured. Will be.

【0036】前記した各実施形態によれば、電子楽器を
弦楽器演奏モードにし、弦を弾くように鍵盤を操作する
と、離鍵した時点から、弦楽器に似た音色を発音させる
ことができるので、弦楽器演奏と同じ感覚で鍵付き電子
楽器を演奏することができるようになる。
According to each of the above-described embodiments, when the electronic musical instrument is set to the stringed musical instrument play mode and the keyboard is operated so as to play a string, a tone similar to the stringed musical instrument can be produced from the time when the key is released. You will be able to play a keyed electronic musical instrument as if you were performing.

【0037】図5は本発明の機能ブロック図を示す。離
鍵タイミング検出手段21は鍵が離鍵されたタイミング
を検出する。また、離鍵速さ検出手段22は鍵がオンさ
れてからオフされるまでの速さを検出する。比較手段2
4は、該離鍵速さ検出手段22で検出された離鍵速さV
x と閾値23(閾値速度V0 )とを比較し、比較結果の
信号を発音処理手段25に出力する。発音処理手段25
は、Vx ≧V0 の比較結果の信号を受けると、離鍵タイ
ミング検出手段21からの離鍵タイミングで発音し、弦
楽器に似た音色の楽音信号を出力する。
FIG. 5 shows a functional block diagram of the present invention. The key release timing detecting means 21 detects the timing at which the key is released. The key release speed detecting means 22 detects the speed from when the key is turned on to when it is turned off. Comparison means 2
4 is a key release speed V detected by the key release speed detecting means 22.
x is compared with a threshold value 23 (threshold speed V0), and a signal of the comparison result is output to the sound generation processing means 25. Pronunciation processing means 25
When receiving the signal of the comparison result of Vx ≧ V0, the tone generator generates a tone signal at a key release timing from the key release timing detecting means 21 and has a tone color similar to that of a stringed musical instrument.

【0038】また、発音処理手段25は、押鍵強さ検出
手段26、押鍵速さ検出手段27、または押鍵から離鍵
までの速さ検出手段からの、押鍵強さ、押鍵速さ、また
は押鍵から離鍵までの速さのデータを得て、これらのデ
ータをパラメータする発音処理を行う。
The sounding processing means 25 includes a key pressing strength and a key pressing speed from a key pressing strength detecting means 26, a key pressing speed detecting means 27, or a key pressing to key releasing speed detecting means. Or, data of the speed from the key depression to the key release is obtained, and a sound generation process for parameterizing these data is performed.

【0039】[0039]

【発明の効果】以上の説明から明らかなように、本発明
によれば、離鍵の速さが閾値以上であると該離鍵のタイ
ミングで発音し、該閾値より小さい時に発音しないよう
にすることができるので、演奏者に、弦楽器を演奏して
いるのと同等の感じで電子楽器を演奏させることができ
るようになる。すなわち、弦楽器において、弦を指であ
る程度以上に強く弾くとそのタイミングで発音し、指を
弦からそっと離すと発音しないのと同等の効果を電子楽
器に付与できるようになる。
As is apparent from the above description, according to the present invention, if the key release speed is equal to or higher than the threshold, the key is released at the key release timing, and if the key release speed is lower than the threshold, the key is not sounded. This makes it possible for the player to play the electronic musical instrument with the same feeling as playing a stringed instrument. That is, in a stringed musical instrument, an effect equivalent to that in which the sound is generated when the string is strongly pressed with a finger to a certain degree or more, and the sound is not generated when the finger is gently released from the string, can be given to the electronic musical instrument.

【0040】また、電子楽器を、押鍵の強さ、押鍵の速
さ、または押鍵から離鍵までの速さを反映させてを反映
させて発音させることができるので、演奏者に、弦楽器
の弦を強くまたは弱くプルするのと同じ感覚で電子楽器
を演奏させることができるようになる。
Also, the electronic musical instrument can be made to sound by reflecting the strength of key depression, the speed of key depression, or the speed from key depression to key release. An electronic musical instrument can be played with the same feeling as pulling a string of a stringed instrument strongly or weakly.

【0041】さらに、押鍵された鍵が発音中であれば消
音処理が行われるので、弦楽器において、同じ弦が続け
て弾かれると、その操作の最初に該弦から発生している
音が一瞬消えるという弦楽器特有の特徴を、電子楽器に
持たせることができるようになる。したがって、電子楽
器を弦楽器演奏モードで演奏した時に、演奏者が抱く違
和感が軽減する。
Further, if a depressed key is sounding, a silencing process is performed. Therefore, when the same string is continuously played on a stringed instrument, a sound generated from the string is momentarily generated at the beginning of the operation. Electronic instruments can have the characteristic of disappearing string instruments. Therefore, when the electronic musical instrument is played in the stringed musical instrument playing mode, the uncomfortable feeling of the player is reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明が適用される電子楽器の概略の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument to which the present invention is applied.

【図2】 本発明の一実施形態の機能を示すフローチャ
ートである。
FIG. 2 is a flowchart showing functions of an embodiment of the present invention.

【図3】 本発明の第2の一実施形態の機能を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing functions of a second embodiment of the present invention.

【図4】 本発明の第3の一実施形態の機能を示すフロ
ーチャートである。
FIG. 4 is a flowchart illustrating functions of a third embodiment of the present invention.

【図5】 本発明の要部の構成を示す機能ブロック図で
ある。
FIG. 5 is a functional block diagram showing a configuration of a main part of the present invention.

【符号の説明】[Explanation of symbols]

1…CPU、2…ROM、3…RAM、4…パネルスキ
ャン回路、5…操作パネル、6…鍵盤スキャン回路、7
…鍵盤、7a…鍵、8…音源回路、10…DSP、21
…離鍵タイミング検出手段、22…離鍵速さ検出手段、
23…閾値、25…発音処理手段、26…押鍵強さ検出
手段、27…押鍵速さ検出手段、28…押鍵〜離鍵速さ
検出手段。
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Panel scan circuit, 5 ... Operation panel, 6 ... Keyboard scan circuit, 7
... keyboard, 7a ... key, 8 ... tone generator circuit, 10 ... DSP, 21
... Key release timing detecting means, 22 ... Key release speed detecting means,
23: threshold value, 25: sound generation processing means, 26: key pressing intensity detecting means, 27: key pressing speed detecting means, 28: key pressing to key releasing speed detecting means.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 離鍵のタイミングを検出する手段と、 離鍵の速さを検出する手段と、 該離鍵の速さと予め定められた閾値の速さとを比較する
手段と、 該離鍵の速さが該閾値の速さ以上であるときに前記離鍵
のタイミングで発音し、該閾値より小さい時に発音しな
いようにする発音処理手段とを具備したことを特徴とす
る電子楽器の鍵盤情報発生装置。
A means for detecting a key release timing; a means for detecting a key release speed; a means for comparing the key release speed with a predetermined threshold speed; Keyboard information generation means for an electronic musical instrument, comprising: sound generation processing means for generating a sound at the key release timing when the speed is equal to or higher than the threshold value, and for not generating sound when the speed is lower than the threshold value. apparatus.
【請求項2】 押鍵の強さを感知する手段をさらに具備
し、 前記発音処理手段は、該押鍵の強さを反映させた発音を
することを特徴とする請求項1に記載の電子楽器の鍵盤
情報発生装置。
2. The electronic device according to claim 1, further comprising: means for sensing the strength of the key depression, wherein the sound generation processing means produces a sound reflecting the strength of the key depression. Keyboard information generator for musical instruments.
【請求項3】 押鍵の速さを感知する手段をさらに具備
し、 前記発音処理手段は、該押鍵の速さを反映させた発音を
することを特徴とする請求項1に記載の電子楽器の鍵盤
情報発生装置。
3. The electronic device according to claim 1, further comprising: means for sensing the speed of key depression, wherein said sound generation processing means produces a sound reflecting the speed of key depression. Keyboard information generator for musical instruments.
【請求項4】 押鍵から離鍵までの速さを感知する手段
をさらに具備し、 前記発音処理手段は、該押鍵から離鍵までの速さを反映
させた発音をすることを特徴とする請求項1に記載の電
子楽器の鍵盤情報発生装置。
4. The apparatus further comprises means for sensing a speed from key depression to key release, wherein said sound generation processing means produces a sound reflecting the speed from said key depression to key release. The keyboard information generator for an electronic musical instrument according to claim 1.
【請求項5】 前記閾値は、任意に設定可能であること
を特徴とする請求項1に記載の電子楽器の鍵盤情報発生
装置。
5. The apparatus according to claim 1, wherein the threshold value can be set arbitrarily.
【請求項6】 押鍵時に、該鍵が発音中か否かを判断す
る手段と、 発音中であれば消音処理を行う手段とをさらに具備した
ことを特徴とする請求項1ないし5のいずれかに記載の
電子楽器の鍵盤情報発生装置。
6. The apparatus according to claim 1, further comprising: means for judging whether or not the key is sounding when the key is pressed, and means for performing a silencing process if the key is sounding. A keyboard information generator for an electronic musical instrument according to any one of the above.
JP2000218574A 2000-07-19 2000-07-19 Keyboard information generating device of electronic musical instrument Pending JP2002032082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000218574A JP2002032082A (en) 2000-07-19 2000-07-19 Keyboard information generating device of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000218574A JP2002032082A (en) 2000-07-19 2000-07-19 Keyboard information generating device of electronic musical instrument

Publications (1)

Publication Number Publication Date
JP2002032082A true JP2002032082A (en) 2002-01-31

Family

ID=18713499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000218574A Pending JP2002032082A (en) 2000-07-19 2000-07-19 Keyboard information generating device of electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2002032082A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016177036A (en) * 2015-03-19 2016-10-06 カシオ計算機株式会社 Envelope rate determination device, envelope rate determination method, program, envelope generation device, musical tone generation device, and electronic musical instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016177036A (en) * 2015-03-19 2016-10-06 カシオ計算機株式会社 Envelope rate determination device, envelope rate determination method, program, envelope generation device, musical tone generation device, and electronic musical instrument

Similar Documents

Publication Publication Date Title
JP3296518B2 (en) Electronic musical instrument
JP2002032082A (en) Keyboard information generating device of electronic musical instrument
WO2005066928A1 (en) Electronic musical instrument sonorant generation device, electronic musical instrument sonorant generation method, computer program, and computer-readable recording medium
JP2003295863A (en) Key depression information detecting device for keyboard musical instrument
JP6410345B2 (en) Sound preview apparatus and program
JPH0786754B2 (en) Electronic keyboard instrument
JP3581763B2 (en) Electronic musical instrument
JPH06242781A (en) Electronic musical instrument
JP4094441B2 (en) Electronic musical instruments
JP4186855B2 (en) Musical sound control device and program
JP2953217B2 (en) Electronic musical instrument
JPH0715034Y2 (en) Electronic keyboard instrument
JP3602365B2 (en) Electronic musical instrument
JPH0727514Y2 (en) Electronic keyboard instrument
JPH10319949A (en) Electronic musical instrument
JPH0756571A (en) Electronic musical instrument
JP2556370Y2 (en) Electronic keyboard instrument
JPH06250650A (en) Electronic musical instrument
JP2953937B2 (en) Electronic musical instrument volume control device
JPH1063269A (en) Silence piano
JPH06314096A (en) Device for detecting front code of electronic musical instrument
JPH0498291A (en) Electronic musical instrument
JP2000214850A (en) Electronic musical instrument
JP2001125570A (en) Electronic musical instrument, musical sound generation control method and storage medium
JP2001092457A (en) Electronic piano