JP2011197399A - Tone control signal generating device - Google Patents

Tone control signal generating device Download PDF

Info

Publication number
JP2011197399A
JP2011197399A JP2010064063A JP2010064063A JP2011197399A JP 2011197399 A JP2011197399 A JP 2011197399A JP 2010064063 A JP2010064063 A JP 2010064063A JP 2010064063 A JP2010064063 A JP 2010064063A JP 2011197399 A JP2011197399 A JP 2011197399A
Authority
JP
Japan
Prior art keywords
chattering
control signal
performance
tone control
note
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
JP2010064063A
Other languages
Japanese (ja)
Inventor
Junichi Mishima
順一 三島
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2010064063A priority Critical patent/JP2011197399A/en
Publication of JP2011197399A publication Critical patent/JP2011197399A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve performance expressing power using the occurrence of chattering for tone control.SOLUTION: On-velocity Von is calculated when the event data ev occurs in order of B ON →C ON from the same operation sensor 21, and this and note data Note in the latest event (C ON) are associated with each other and stored as preparing data. After C ON, a performance signal of the note-on about the preparing data after a lapse of a predetermined time tm is generated with the note data Note and on-velocity Von. When the latest event (C OFF) occurs, the occurrence of chattering is determined when preparing data having the same note data Note as those of the latest event. Then, when the Von value in the preparing data is a threshold Vx or larger, an addition value Vα is added to it to be updated, and the performance signal of the note-on is generated with a new Von value and note data Note.

Description

本発明は、演奏操作子の操作を検出して楽音制御信号を生成する楽音制御信号生成装置に関する。   The present invention relates to a musical tone control signal generating apparatus that detects an operation of a performance operator and generates a musical tone control signal.

従来、演奏操作子のオン動作を検出し、ノートオン信号等の楽音制御信号を生成する楽音制御信号生成装置が知られている。その際、演奏操作に応じて楽音制御信号における音量等のパラメータを制御することも行われている。例えば、鍵盤楽器においては、接点時間差のセンサを設けてオンベロシティを検出し、音量に反映させる。   2. Description of the Related Art Conventionally, a musical sound control signal generating device that detects an on operation of a performance operator and generates a musical sound control signal such as a note-on signal is known. At that time, parameters such as volume in the musical tone control signal are also controlled in accordance with the performance operation. For example, in a keyboard instrument, a contact time difference sensor is provided to detect on-velocity and reflect it in the volume.

ところが、通常、時間差を図るパルス間隔は一定であるため、ある程度の押鍵強さを超えると、検出されるオンベロシティの値があまり変化しなくなる(検出値の飽和)。そのため、表現力に制約がある。   However, since the pulse interval for obtaining the time difference is usually constant, the detected on-velocity value does not change much (saturation of the detected value) when a certain key-pressing strength is exceeded. Therefore, there is a limitation in expressive power.

また、下記特許文献1に示されるように、鍵盤楽器の鍵の奏法として、上方に離れた位置から指を打ち降ろして押鍵する「標準奏法」と、鍵に指をタッチした状態から押鍵を開始する「押し弾き奏法」とが知られている。奏法が異なれば奏者の意思としては異なるものであるが、検出されるオンベロシティとして同じ値であると、その違いが、発生する楽音の特性に反映されない。そこで、下記特許文献1は、奏法を判定して奏法に応じた楽音制御を行うようにしている。   Further, as shown in Patent Document 1 below, as a key playing method of a keyboard instrument, a “standard playing method” in which a finger is pressed down and pressed from a position away from the upper side, and a key is pressed from a state where the finger is touched to the key. It is known as a “push-and-play method” that starts a song. If the performance style is different, the player's intention is different, but if the detected on-velocity is the same value, the difference is not reflected in the characteristics of the generated musical sound. Therefore, in Patent Document 1 described below, a performance style is determined and musical tone control is performed according to the performance style.

ところで、一般に、メカ式のスイッチにおいて、極めて短い時間でオンオフが繰り返されるメカ的なチャタリングが発生するほか、検出回路の側の要因でチャタリングが発生することもある。   By the way, in general, mechanical chattering that is repeatedly turned on and off in an extremely short time occurs in a mechanical switch, and chattering may occur due to a factor on the detection circuit side.

そこで、楽音制御上のチャタリングによる影響を回避するようにした楽音制御信号生成装置が検討され、そのような装置も既に知られている。例えば、下記特許文献2の装置では、スイッチのオンが検出されると、チャタリング閾値の範囲内にそのスイッチがオフになったとしてもそれを無視する。また、下記特許文献3の装置では、キースイッチ要素の作動が作動してから一定の時間(チャタリングマスク時間)、キースイッチ要素の作動状態に基づき発生する鍵状態信号の変化を禁止する。   In view of this, a musical sound control signal generating apparatus that avoids the influence of chattering on musical sound control has been studied, and such an apparatus is already known. For example, in the device of Patent Document 2 below, when a switch is detected to be on, even if the switch is turned off within the chattering threshold range, it is ignored. Further, in the device of Patent Document 3 below, a change in the key state signal generated based on the operating state of the key switch element is prohibited for a certain time (chattering mask time) after the operation of the key switch element is operated.

特許3561947号公報Japanese Patent No. 3561947 特開2002−244662号公報JP 2002-244661 A 特許2674264号公報Japanese Patent No. 2674264

しかしながら、上記特許文献1の装置では、奏法の判定のために、オンベロシティとアフタタッチセンサの検出値を用いることから、制御が複雑である。また、センサのチャタリングの除去については考慮されていない。   However, the apparatus of Patent Document 1 uses complicated on-velocity and after-touch sensor detection values for rendition style determination, so that control is complicated. Further, removal of chattering of the sensor is not considered.

ところで、チャタリングが生じるような演奏操作は、検出される最大のベロシティを超えるような強い操作の意思であると把握することもできる。あるいは、発音タイミングを異ならせる意思と把握することも可能である。奏者の意思は、楽音統制の制御に極力反映されることが望ましい。ところで、チャタリングは、鍵盤楽器に限られず、電子打楽器等の他の楽器においても発生し得る。   By the way, it can be understood that a performance operation that causes chattering is an intention of a strong operation exceeding the detected maximum velocity. Alternatively, it can be understood that the sound generation timing is different. It is desirable that the player's intention is reflected in the control of musical tone control as much as possible. By the way, chattering is not limited to keyboard instruments, but may occur in other instruments such as electronic percussion instruments.

本発明は上記従来技術の問題を解決するためになされたものであり、その目的は、チャタリングの発生を楽音制御に利用して演奏表現力を高めることができる楽音制御信号生成装置を提供することにある。   The present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to provide a musical tone control signal generating apparatus that can enhance performance expression by using chattering for musical tone control. It is in.

上記目的を達成するために本発明の請求項1の楽音制御信号生成装置は、演奏操作される演奏操作子(1)と、前記演奏操作子のオン動作及びオフ動作を検出する動作センサ(21)と、前記動作センサにおけるオン動作時のチャタリングの発生の有無を判定するチャタリング判定手段(5)と、前記動作センサによりオン動作が検出されたことを条件に、楽音制御信号を生成する信号生成手段(5)とを有し、前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、生成する楽音制御信号における楽音パラメータ(Von)を変更することを特徴とする。   In order to achieve the above object, a musical tone control signal generating apparatus according to claim 1 of the present invention comprises a performance operator (1) for performing a performance operation, and an operation sensor (21) for detecting on and off operations of the performance operator. ), Chattering determination means (5) for determining whether or not chattering has occurred during the on-operation of the motion sensor, and signal generation for generating a musical sound control signal on condition that the on-motion is detected by the motion sensor Means (5), and when the chattering determination means determines that chattering is present, the signal generation means performs a musical tone parameter (Von) in a musical tone control signal to be generated in contrast to the case where chattering is not determined. It is characterized by changing.

好ましくは、前記チャタリング判定手段は、前記動作センサにより前記演奏操作子のオン動作が検出された後、所定時間(tm)内にオフ動作が検出された場合にのみチャタリング有りと判定する(請求項2)。   Preferably, the chattering determining unit determines that chattering is present only when an off operation is detected within a predetermined time (tm) after the performance sensor detects the on operation of the performance operator. 2).

好ましくは、前記信号生成手段は、前記動作センサにより前記演奏操作子のオン動作が検出された後、前記チャタリング判定手段によりチャタリング有りと判定されることなく前記所定時間が経過した場合に前記楽音制御信号を生成する(請求項3)。   Preferably, the signal generating means controls the musical sound when the predetermined time has elapsed without the chattering determining means determining that chattering is present after the performance sensor detects that the performance operator is turned on. A signal is generated (claim 3).

好ましくは、前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、前記所定時間の経過に拘わらず前記楽音制御信号を生成する(請求項4)。   Preferably, when the chattering determination unit determines that chattering is present, the signal generation unit generates the musical tone control signal regardless of the elapse of the predetermined time.

好ましくは、前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合であっても、前記所定時間の経過を待って前記楽音制御信号を生成する(請求項5)。   Preferably, the signal generation unit generates the musical tone control signal after the predetermined time has elapsed even when the chattering determination unit determines that chattering is present (claim 5).

好ましくは、前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、生成する楽音制御信号における楽音パラメータとしてのオンベロシティの値を大きくする(請求項6)。   Preferably, when the chattering determination unit determines that chattering is present, the signal generation unit increases an on-velocity value as a musical sound parameter in the musical sound control signal to be generated, compared to the case where chattering is not determined. (Claim 6).

好ましくは、前記動作センサは、前記演奏操作子のオン動作の検出に際し、そのオンベロシティも検出し、前記信号生成手段は、チャタリング有りと判定されない場合は、前記動作センサにより検出されたオンベロシティを、前記生成する楽音制御信号におけるオンベロシティとして適用する一方、チャタリング有りと判定された場合は、前記動作センサにより検出されたオンベロシティの値に所定値(Vα)を加算した値を、前記生成する楽音制御信号におけるオンベロシティとして適用する(請求項7)。   Preferably, the motion sensor detects on-velocity when detecting the on-motion of the performance operator, and the signal generating means detects the on-velocity detected by the motion sensor when it is not determined that chattering is present. In addition, when applied as on-velocity in the generated tone control signal, if it is determined that chattering is present, a value obtained by adding a predetermined value (Vα) to the on-velocity value detected by the motion sensor is generated. It is applied as on-velocity in the musical tone control signal.

好ましくは、前記信号生成手段は、チャタリング有りと判定され且つ前記動作センサにより検出されたオンベロシティの値が閾値(Vx)以上である場合に限り、前記動作センサにより検出されたオンベロシティの値に前記所定値を加算した値を、前記生成する楽音制御信号におけるオンベロシティとして適用する(請求項8)。   Preferably, the signal generation means sets the on-velocity value detected by the motion sensor only when it is determined that chattering is present and the on-velocity value detected by the motion sensor is equal to or greater than a threshold value (Vx). A value obtained by adding the predetermined value is applied as on-velocity in the generated tone control signal.

上記目的を達成するために本発明の請求項9の楽音制御信号生成装置は、演奏操作される演奏操作子(1)と、前記演奏操作子のオン動作及びオフ動作を検出する動作センサ(21)と、前記動作センサにおけるオン動作時のチャタリングの発生の有無を判定するチャタリング判定手段(5)と、前記動作センサによりオン動作が検出されたことを条件に、楽音発生を指示する発音指示信号を生成する信号生成手段(5)とを有し、前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、前記発音指示信号の生成タイミングを早くすることを特徴とする。   In order to achieve the above object, a musical tone control signal generating apparatus according to claim 9 of the present invention comprises a performance operator (1) for performing a performance operation, and an operation sensor (21) for detecting on and off operations of the performance operator. ), Chattering determination means (5) for determining whether or not chattering has occurred during the on-operation of the motion sensor, and a sound generation instruction signal for instructing the generation of a musical tone on the condition that the on-motion is detected by the motion sensor Signal generation means (5) for generating the sound generation instruction signal when the chattering determination means determines that chattering is present and does not determine that chattering is present. It is characterized in that the timing is advanced.

なお、上記括弧内の符号は例示である。   In addition, the code | symbol in the said parenthesis is an illustration.

本発明の請求項1によれば、チャタリングの有無によって楽音パラメータを変えて、チャタリングの発生を楽音制御に利用して演奏表現力を高めることができる。   According to the first aspect of the present invention, it is possible to change musical tone parameters depending on the presence or absence of chattering, and use the occurrence of chattering for musical tone control to enhance performance expression.

請求項2によれば、チャタリングの判定処理が簡単である。   According to the second aspect, the chattering determination process is simple.

請求項3によれば、チャタリングの非発生時において楽音制御が遅延し過ぎないようにすることができる。   According to the third aspect, it is possible to prevent the musical sound control from being delayed too much when chattering does not occur.

請求項4によれば、強い操作ほど発音が速くなり、奏法によって発音タイミングを変えることが可能となり、演奏表現力が高まる。   According to the fourth aspect, the stronger the operation, the faster the pronunciation, the sounding timing can be changed according to the playing style, and the performance expression is enhanced.

請求項5によれば、操作の強弱による発音タイミングの差をなくすことができる。   According to the fifth aspect, it is possible to eliminate a difference in sound generation timing due to the strength of the operation.

請求項6、7によれば、強い操作よりもさらに強い操作に応じた音量増大制御を可能にして演奏表現力を高めることができる。例えば、鍵盤楽器では、標準奏法と押し弾き奏法との音量差を大きくすることができる。   According to the sixth and seventh aspects, it is possible to perform volume increase control according to a stronger operation than a strong operation, and to enhance performance expression. For example, with a keyboard instrument, the volume difference between the standard playing method and the playing method can be increased.

請求項8によれば、音量増大制御を、真に強い操作時にだけ確実に行うことができる。   According to the eighth aspect, the volume increase control can be reliably performed only at the time of a truly strong operation.

本発明の請求項9によれば、チャタリングの有無によって発音タイミングを変えて、チャタリングの発生を楽音制御に利用して演奏表現力を高めることができる。   According to the ninth aspect of the present invention, it is possible to change the sound generation timing depending on the presence or absence of chattering, and use the occurrence of chattering for musical tone control to enhance performance expression.

本発明の第1の実施の形態に係る楽音制御信号生成装置が適用される電子鍵盤楽器の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the electronic keyboard musical instrument to which the musical tone control signal generation apparatus which concerns on the 1st Embodiment of this invention is applied. 演奏操作子の操作状態と動作センサとの関係を示す模式図、動作センサの構成を示す断面図である。It is a schematic diagram which shows the relationship between the operation state of a performance operator and a motion sensor, and is sectional drawing which shows the structure of a motion sensor. 1つの演奏操作子に関する押離操作とスイッチの動作を示す図、イベントシーケンスレジスタに記憶されるイベント履歴の一例を示す概念図である。FIG. 6 is a diagram showing a push-and-release operation and a switch operation related to one performance operator, and a conceptual diagram showing an example of an event history stored in an event sequence register. メインルーチンのフローチャートを示す図である。It is a figure which shows the flowchart of a main routine. 図4のステップS103で実行される演奏信号生成処理のフローチャートである。It is a flowchart of the performance signal generation process performed by step S103 of FIG. 変形例の動作センサの構成を示す縦断面図である。It is a longitudinal cross-sectional view which shows the structure of the motion sensor of a modification. 楽音制御信号生成装置が適用される電子打楽器の外観図、部分断面図である。It is an external view and a partial sectional view of an electronic percussion instrument to which a musical tone control signal generation device is applied. 本発明の第2の実施の形態に係る楽音制御信号生成装置が適用される電子鍵盤楽器において、図4のステップS103で実行される演奏信号生成処理のフローチャートである。6 is a flowchart of performance signal generation processing executed in step S103 of FIG. 4 in an electronic keyboard instrument to which a musical tone control signal generation device according to a second embodiment of the present invention is applied. 図8の続きのフローチャートである。FIG. 9 is a flowchart continued from FIG. 8. FIG.

以下、本発明の実施の形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施の形態)
図1は、本発明の第1の実施の形態に係る楽音制御信号生成装置が適用される電子鍵盤楽器の全体構成を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing an overall configuration of an electronic keyboard instrument to which a musical tone control signal generating apparatus according to a first embodiment of the present invention is applied.

本鍵盤楽器は、鍵インターフェイス3、検出回路4、ROM6、RAM7、タイマ8、表示装置9、外部記憶装置10、インターフェイス(I/F)11、音源回路13及び効果回路14が、バス16を介してCPU5にそれぞれ接続されて構成される。   The keyboard instrument includes a key interface 3, a detection circuit 4, a ROM 6, a RAM 7, a timer 8, a display device 9, an external storage device 10, an interface (I / F) 11, a tone generator circuit 13, and an effect circuit 14 via a bus 16. Are connected to the CPU 5 respectively.

また、センサ部20が、鍵インターフェイス3に接続されている。センサ部20は、鍵盤KBの操作を検出する。鍵盤KBには、複数の演奏操作子1(白鍵1W、黒鍵1B)が含まれ、センサ部20には、各演奏操作子1に対応する複数の動作センサ21が含まれる。   In addition, the sensor unit 20 is connected to the key interface 3. The sensor unit 20 detects an operation of the keyboard KB. The keyboard KB includes a plurality of performance operators 1 (white key 1W, black key 1B), and the sensor unit 20 includes a plurality of motion sensors 21 corresponding to each performance operator 1.

検出回路4には、各種情報を入力するための設定操作子2が接続されている。表示装置9は楽譜や文字等の各種情報を表示する。CPU5にはタイマ8が接続される。I/F11には、MIDII/F、通信I/Fが含まれ、他のMIDI機器やサーバコンピュータ等との通信を可能にする。音源回路13には効果回路14を介してサウンドシステム15が接続されている。   A setting operator 2 for inputting various information is connected to the detection circuit 4. The display device 9 displays various information such as musical scores and characters. A timer 8 is connected to the CPU 5. The I / F 11 includes a MID II / F and a communication I / F, and enables communication with other MIDI devices and server computers. A sound system 15 is connected to the sound source circuit 13 via an effect circuit 14.

センサ部20の検出結果は、鍵インターフェイス3を介してCPU5に供給される。検出回路4は設定操作子2の操作状態を検出する。CPU5は、本装置全体の制御を司る。ROM6は、CPU5が実行する制御プログラムや各種テーブルデータ等を記憶する。RAM7は、演奏データ、テキストデータ等の各種入力情報、各種フラグやバッファデータ及び演算結果等を一時的に記憶する。タイマ8は、タイマ割り込み処理における割り込み時間や各種時間を計時する。外部記憶装置10は、上記制御プログラムを含む各種アプリケーションプログラムや各種楽曲データ、各種データ等を記憶する。   The detection result of the sensor unit 20 is supplied to the CPU 5 via the key interface 3. The detection circuit 4 detects the operation state of the setting operator 2. The CPU 5 controls the entire apparatus. The ROM 6 stores a control program executed by the CPU 5, various table data, and the like. The RAM 7 temporarily stores various input information such as performance data and text data, various flags, buffer data, calculation results, and the like. The timer 8 measures the interrupt time and various times in the timer interrupt process. The external storage device 10 stores various application programs including the control program, various music data, various data, and the like.

音源回路13は、演奏操作子1から入力された演奏データや設定された演奏データ等を楽音信号に変換する。効果回路14は、音源回路13から入力される楽音信号に各種効果を付与し、DAC(Digital-to-Analog Converter)やアンプ、スピーカ等のサウンドシステム15は、効果回路14から入力される楽音信号等を音響に変換する。   The tone generator circuit 13 converts the performance data input from the performance operator 1 or the set performance data into a musical sound signal. The effect circuit 14 gives various effects to the musical sound signal input from the sound source circuit 13, and the sound system 15 such as a DAC (Digital-to-Analog Converter), an amplifier, and a speaker performs the musical sound signal input from the effect circuit 14. To sound.

図2(a)は、演奏操作子1の操作状態と動作センサ21との関係を示す模式図である。図2(b)は、動作センサ21の構成を示す断面図である。演奏操作子1には、鍵盤における白鍵1Wまたは黒鍵1Bが相当するが、以降、白鍵1W及び黒鍵1Bを区別しないときは、「演奏操作子1」の呼称を用いる。   FIG. 2A is a schematic diagram showing the relationship between the operation state of the performance operator 1 and the motion sensor 21. FIG. 2B is a cross-sectional view showing the configuration of the motion sensor 21. The performance operator 1 corresponds to the white key 1W or the black key 1B on the keyboard. Hereinafter, when the white key 1W and the black key 1B are not distinguished from each other, the name “performance operator 1” is used.

演奏操作子1は、各々、押離操作によって上下に揺動するように配設され、担当する音高順に並列的に配列される。動作センサ21は、各演奏操作子1に対応して設けられ、対応する演奏操作子1の下方に配置される。動作センサ21は、演奏操作子1の変位ストロークにおける互いに異なる検出位置での検出用に設けられた3つのスイッチswを有する3メイク式スイッチである。スイッチswには、固定接点23及び可動接点22でなる第1スイッチswA、固定接点25及び可動接点24でなる第2スイッチswB、並びに、固定接点27及び可動接点26でなる第3スイッチswCが含まれる。それぞれ対向する固定接点と可動接点とが当接することでオン(メイク)する。   The performance operators 1 are each arranged so as to swing up and down by a push-and-release operation, and are arranged in parallel in the order of the pitches in charge. The motion sensor 21 is provided corresponding to each performance operator 1 and is disposed below the corresponding performance operator 1. The motion sensor 21 is a three-make switch having three switches sw provided for detection at different detection positions in the displacement stroke of the performance operator 1. The switch sw includes a first switch swA composed of the fixed contact 23 and the movable contact 22, a second switch swB composed of the fixed contact 25 and the movable contact 24, and a third switch swC composed of the fixed contact 27 and the movable contact 26. It is. The fixed contact and the movable contact that face each other come into contact with each other and are turned on (make).

対応する演奏操作子1が押下操作されると、図2(b)に示す初期状態から当該演奏操作子1のアクチュエータ部(あるいは演奏操作子1の下面1a)によって動作センサ21の上面21aが押下駆動され、第1スイッチswA、第2スイッチswB、第3スイッチswCの順にオンする。演奏操作子1が離操作されると、動作センサ21自身の弾性によって第3スイッチswC、第2スイッチswB、第1スイッチswAの順にオフし、初期状態に復帰する。   When the corresponding performance operator 1 is pressed, the upper surface 21a of the motion sensor 21 is pressed by the actuator section of the performance operator 1 (or the lower surface 1a of the performance operator 1) from the initial state shown in FIG. The first switch swA, the second switch swB, and the third switch swC are turned on in this order. When the performance operator 1 is released, the third switch swC, the second switch swB, and the first switch swA are turned off in this order due to the elasticity of the motion sensor 21 and return to the initial state.

図3(a)は、1つの演奏操作子1に関する押離操作とスイッチswの動作を示す図である。各演奏操作子1とそれに対応するスイッチswの動作は共通である。   FIG. 3A is a diagram showing a push / release operation and the operation of the switch sw with respect to one performance operator 1. Each performance operator 1 and the operation of the switch sw corresponding thereto are common.

演奏操作子1は、浅い側の初期位置から深い側の押し切り位置までの変位ストロークを有する。往行程は、押下操作により初期位置から押し切り位置まで往方向に変位する行程で、復行程は、離操作により押し切り位置から初期位置まで復方向に変位する行程である。図示はしないが、演奏操作子1は、バネ等によって復方向に常に付勢されており、初期位置及び押し切り位置は、それぞれ鍵ストッパによって規制される。   The performance operator 1 has a displacement stroke from the initial position on the shallow side to the push-off position on the deep side. The forward stroke is a stroke that is displaced in the forward direction from the initial position to the push-off position by the pressing operation, and the backward stroke is a stroke that is displaced in the backward direction from the push-off position to the initial position by the release operation. Although not shown, the performance operator 1 is always urged in the backward direction by a spring or the like, and the initial position and the push-off position are regulated by key stoppers, respectively.

なお、上記した演奏操作子1を復方向に付勢するバネを設ける代わりに、動作センサ21の外側弾性膨出部21b(図2(b))の反発力で演奏操作子1が付勢されるようにしてもよい。また、上記鍵ストッパを設けることなく、外側弾性膨出部21b及び内側膨出部21c(図2(b))が共に最下位置に変位したことによって演奏操作子1の押鍵終了位置が規制されるようにしてもよい。   Instead of providing a spring for biasing the performance operator 1 in the backward direction, the performance operator 1 is biased by the repulsive force of the outer elastic bulging portion 21b of the motion sensor 21 (FIG. 2B). You may make it do. Further, without the key stopper, the keying end position of the performance operator 1 is restricted because the outer elastic bulging portion 21b and the inner bulging portion 21c (FIG. 2B) are both displaced to the lowest position. You may be made to do.

各スイッチswは、オフ状態からオン状態に遷移するとオンイベント(往操作イベント)を発生させ、オン状態からオフ状態に遷移するとオフイベント(復操作イベント)を発生させる。押鍵の往行程においては、浅い側のスイッチswから順に、演奏操作子1の往方向への動作を検出するので、イベントとしてAオン、Bオン、Cオンが発生する。復行程においては、深い側のスイッチswから順に、演奏操作子1の復方向への動作を検出するので、イベントとしてCオフ、Bオフ、Aオフが発生する。   Each switch sw generates an on event (forward operation event) when it transitions from the off state to the on state, and generates an off event (return operation event) when it transitions from the on state to the off state. In the key pressing forward process, since the movement of the performance operator 1 in the forward direction is detected in order from the shallowest switch sw, events A, B, and C are generated. In the backward stroke, since the movement of the performance operator 1 in the backward direction is detected in order from the deeper switch sw, C-off, B-off, and A-off occur as events.

このように、演奏操作子1が、初期位置から押し切り位置に一旦変位してから初期位置に復帰するよう操作された場合における往復行程においては、イベント発生順序が、Aオン→Bオン→Cオン→Cオフ→Bオフ→Aオフと定まっている。しかしながら、実際の往離操作において、様々な理由によりチャタリングが生じ得る。例えば、Cオフの直後に再びCオンが発生することがある。本実施の形態では、Cオンが発音の条件となりAオフが消音の条件となるが、実際上のチャタリングが生じたとしても楽音制御上においてはそれが影響しないようにして、実質的にチャタリングが生じなかったかのように処理する(チャタリングの除去)。また、上記したようなバネや鍵ストッパがない構成においては、それらがある構成に比べてチャタリングが生じやすいが、この構成においても同様に、チャタリングの発生が適切な発音の支障とならないように制御することができる。   In this way, in the reciprocating stroke when the performance operator 1 is operated so as to be temporarily displaced from the initial position to the push-off position and then returned to the initial position, the event generation order is A on → B on → C on. → C off → B off → A off. However, chattering may occur for various reasons in an actual traveling operation. For example, C-on may occur again immediately after C-off. In this embodiment, C-on is a sound generation condition and A-off is a mute condition. However, even if actual chattering occurs, chattering is substantially prevented so that it does not affect the tone control. Process as if it did not occur (removal of chattering). In addition, chattering is likely to occur in the configuration without the spring and key stopper as described above, but in this configuration as well, control is performed so that chattering does not interfere with proper sound generation. can do.

図3(b)は、イベントシーケンスレジスタに記憶されるイベント履歴の一例を示す概念図である。イベントシーケンスレジスタ(以下、「evレジスタ」という)は、RAM7に構築され、イベントデータevが発生順に時系列に記憶されたものがイベント履歴である。イベントデータevは、定められた記憶容量の範囲で保持され、記憶容量が一杯になると古いものから順に消去される。図3(b)の左側が最新のイベントデータevである。   FIG. 3B is a conceptual diagram showing an example of an event history stored in the event sequence register. An event sequence register (hereinafter referred to as “ev register”) is constructed in the RAM 7 and event data is a history of event data ev stored in chronological order. The event data ev is held within a predetermined storage capacity range, and is erased in order from the oldest when the storage capacity becomes full. The left side of FIG. 3B is the latest event data ev.

イベントデータevには、イベント種K、ノートデータNote、時刻データTが含まれる。ノートデータNoteは、複数の演奏操作子1の各々を特定する情報であり、本実施の形態では演奏操作子1は鍵であるので、音高を特定する情報にもなる。イベント種Kは、どのスイッチswからイベントが発生し、それがオンイベント、オフイベントのいずれであるかを示す情報である。時刻データTは各イベントの発生時刻を示す時間情報であり、例えば、T1はT8よりも古い。時刻データTは、タイマ8の計時によって把握されるので、実際には、イベントデータevは、動作センサ21、CPU5及びタイマ8の協働によって発生する。   The event data ev includes an event type K, note data Note, and time data T. The note data Note is information for specifying each of the plurality of performance operators 1, and since the performance operator 1 is a key in the present embodiment, it is also information for specifying the pitch. The event type K is information indicating from which switch sw an event has occurred and is an on event or an off event. The time data T is time information indicating the occurrence time of each event. For example, T1 is older than T8. Since the time data T is grasped by the timing of the timer 8, the event data ev is actually generated by the cooperation of the motion sensor 21, the CPU 5 and the timer 8.

なお、各イベントの発生時刻を実質的に把握できればよいので、時刻データTは、必ずしも現在の絶対時刻でなくてもよく、押鍵開始等の特定の時点からの相対的な経過時間から把握される時間情報でもよい。あるいは、隣接するイベントの時間間隔から把握される時間情報でもよい。   Note that the time data T does not necessarily have to be the current absolute time, as long as the occurrence time of each event can be substantially grasped, and is grasped from the relative elapsed time from a specific time such as the start of key pressing. It may be time information. Alternatively, time information obtained from the time interval between adjacent events may be used.

一例として、音高(音名)がE♭4である演奏操作子1が押離鍵操作され、第3スイッチswCでチャタリングが発生した場合を考える。図3(b)に示すように、Cオフであるイベントデータev3の直後に、Cオンであるイベントデータev4が発生している。しかし、本実施の形態では、後述する処理によって、Bオンであるイベントデータev1の直後に発生したCオンであるイベントデータev2によってノートオンの演奏信号を生成し、発音させるように制御する。イベントデータev4による発音はなされない。   As an example, let us consider a case where the performance operator 1 whose pitch (pitch name) is E さ れ 4 is pressed and released and chattering occurs in the third switch swC. As shown in FIG. 3B, event data ev4 that is C-on occurs immediately after event data ev3 that is C-off. However, in the present embodiment, a note-on performance signal is generated by the event data ev2 that is C-on generated immediately after the event data ev1 that is B-on, and is controlled to sound by a process that will be described later. No sound is produced by the event data ev4.

ところで、2以上の演奏操作子1が同時期に操作状態となる場合があるが、その場合は、それぞれの動作センサ21で発生したイベントデータevがイベント履歴内に時系列に混在することになる。どの演奏操作子1に係るイベントデータevであるかは、上記したようにノートデータNoteによって区別される。   By the way, there are cases where two or more performance operators 1 are in an operation state at the same time. In this case, event data ev generated by each motion sensor 21 is mixed in time series in the event history. . Which performance operator 1 is associated with event data ev is distinguished by note data Note as described above.

CPU5は、Cオンのイベントデータevが発生したとき、当該イベントデータevとノートデータNoteを同じくするイベントデータevのうち、その時点の直前に記憶されたものが、Bオンのイベントデータevである場合に限り、ノートオンの演奏信号を生成する。さらに、これら、ノートデータNoteが同じで時間的に隣接するBオンのイベントデータevとCオンのイベントデータevとの発生時間差からオンベロシティを決定する。   When the C-on event data ev is generated, the CPU 5 stores the event data ev having the same note data Note as the event data ev and the event data ev stored immediately before that time is the B-on event data ev. Only in some cases, a note-on performance signal is generated. Further, the on-velocity is determined from the time difference between the B-on event data ev and the C-on event data ev that are the same in the note data Note and are temporally adjacent to each other.

また、Aオフのイベントデータevが発生したとき、当該イベントデータevとノートデータNoteを同じくするイベントデータevのうち、その時点の直前に記憶されたものが、Bオフのイベントデータevである場合に限り、ノートオフの演奏信号を生成する。さらに、これら、ノートデータNoteが同じで時間的に隣接するBオフイベントデータevとAオフのイベントデータevとの発生時間差からオフベロシティを決定する。   Also, when A-off event data ev occurs, event data ev that has the same note data Note as the event data ev and that is stored immediately before that time is B-off event data ev. Only, a note-off performance signal is generated. Further, the off-velocity is determined from the occurrence time difference between the B-off event data ev and the A-off event data ev that are the same in the note data Note and are temporally adjacent.

以下、これらの処理をフローチャートにより説明する。図4は、メインルーチンのフローチャートを示す図である。本ルーチンはCPU5によって実行され、本楽器の電源のオン時に開始される。   Hereinafter, these processes will be described with reference to flowcharts. FIG. 4 is a flowchart of the main routine. This routine is executed by the CPU 5, and is started when the power of the musical instrument is turned on.

まず、初期化を実行、すなわち所定プログラムの実行を開始し、RAM7等の各種レジスタに初期値を設定して初期設定を行う(ステップS101)。次いで、パネル処理を実行、すなわち設定操作子2の操作を受け付け、音色や効果等の機器の設定の指示を実行する(ステップS102)。次に、演奏信号生成処理(図5)を実行する(ステップS103)。そして、楽音処理を実行する(ステップS104)。すなわち、ステップS103で生成された演奏信号に、設定された効果処理を付加し、増幅して出力する。その後、前記ステップS102に戻る。   First, initialization is executed, that is, execution of a predetermined program is started, and initial values are set in various registers such as the RAM 7 to perform initial setting (step S101). Next, panel processing is executed, that is, the operation of the setting operator 2 is accepted, and an instruction for setting the device such as timbre and effect is executed (step S102). Next, a performance signal generation process (FIG. 5) is executed (step S103). And a musical tone process is performed (step S104). That is, the set effect process is added to the performance signal generated in step S103, and the amplified signal is amplified and output. Thereafter, the process returns to step S102.

図5は、図4のステップS103で実行される演奏信号生成処理のフローチャートである。まず、センサ部20における全ての動作センサ21をスキャンする(ステップS201)。次に、スキャンの結果、いずれかの動作センサ21のいずれかのスイッチswによりオンまたはオフの動作が検出されたか否かを判別する(ステップS202)。そして、動作が検出された動作センサ21のスイッチsw、検出された動作の方向、及び検出された時刻から定まるイベントデータevを、evレジスタに取り込む(ステップS203)(図3(b)参照)。   FIG. 5 is a flowchart of the performance signal generation process executed in step S103 of FIG. First, all the motion sensors 21 in the sensor unit 20 are scanned (step S201). Next, as a result of the scan, it is determined whether or not an on / off operation is detected by any switch sw of any of the motion sensors 21 (step S202). Then, event data ev determined from the switch sw of the motion sensor 21 in which the motion is detected, the detected motion direction, and the detected time are taken into the ev register (step S203) (see FIG. 3B).

次に、最新イベント(evレジスタに最も新しく記憶されたイベントデータev)のイベント種Kが、「Cオン」であるか否かを判別し(ステップS204)、Cオンでなければ、最新イベントのイベント種Kが「Aオフ」であるか否かを判別する(ステップS209)。   Next, it is determined whether or not the event type K of the latest event (event data ev most recently stored in the ev register) is “C on” (step S204). It is determined whether or not the event type K is “A off” (step S209).

ステップS204の判別の結果、最新イベントのイベント種KがCオンである場合は、ノートデータNoteが最新イベントのものと同一であるイベントデータevをevレジスタからサーチする(ステップS205)。そして、サーチされたイベントデータevが存在する場合には、それらのうち最も新しいもの、すなわち、上記最新イベント(Cオン)の直前のイベントデータevを時刻データTから特定する。そして、特定したイベントデータevのイベント種Kが「Bオン」であるか否かを判別する(ステップS206)。   If the event type K of the latest event is C-on as a result of the determination in step S204, event data ev having the same note data Note as that of the latest event is searched from the ev register (step S205). If the searched event data ev exists, the latest one, that is, the event data ev immediately before the latest event (C on) is specified from the time data T. Then, it is determined whether or not the event type K of the identified event data ev is “B ON” (step S206).

その判別の結果、直前のイベントデータevのイベント種KがBオンでない場合は本ルーチンを終了する。この場合、ノートオンの演奏信号の生成はなされない。一方、Bオンであれば、当該Bオンの時刻データT(図3(b)ではT3)と上記最新イベント(Cオン)の時刻データT(図3(b)ではT4)との差から、オンベロシティVonを算出する(ステップS207)。オンベロシティVonは時間差の逆数に比例する。   If the event type K of the immediately preceding event data ev is not B-on as a result of the determination, this routine is terminated. In this case, no note-on performance signal is generated. On the other hand, if B is ON, the difference between the B ON time data T (T3 in FIG. 3 (b)) and the latest event (C ON) time data T (T4 in FIG. 3 (b)) On-velocity Von is calculated (step S207). On-velocity Von is proportional to the reciprocal of the time difference.

次に、上記最新イベント(Cオン)に対応するノートオンの演奏信号を生成し(ステップS208)、本ルーチンを終了する。このノートオンの演奏信号において、音高(ピッチ)は、最新イベント(Cオン)中のノートデータNoteによって規定され、オンベロシティVonはステップS207で算出した値である。ここで生成された演奏信号に従って、図4のステップS104で発音処理がなされる。   Next, a note-on performance signal corresponding to the latest event (C-on) is generated (step S208), and this routine is terminated. In this note-on performance signal, the pitch (pitch) is defined by the note data Note in the latest event (C on), and the on velocity Von is the value calculated in step S207. According to the performance signal generated here, sound generation processing is performed in step S104 of FIG.

前記ステップS209の判別の結果、最新イベントのイベント種Kが「Aオフ」である場合は、ノートデータNoteが最新イベントとのものと同一であるイベントデータevをevレジスタからサーチする(ステップS210)。そして、サーチされたイベントデータevのうち最も新しいもの、すなわち、上記最新イベント(Aオフ)の直前のイベントデータevのイベント種Kが「Bオフ」であるか否かを判別する(ステップS211)。   If the event type K of the latest event is “A off” as a result of the determination in step S209, event data ev having the same note data Note as that of the latest event is searched from the ev register (step S210). . Then, it is determined whether or not the latest event data ev searched for, that is, the event type K of the event data ev immediately before the latest event (A off) is “B off” (step S211). .

その判別の結果、直前のイベントデータevのイベント種KがBオフでない場合は本ルーチンを終了する。この場合、ノートオフの演奏信号の生成はなされない。一方、Bオフであれば、当該Bオフと上記最新イベント(Aオフ)との時刻データTの差から、オフベロシティVoffを算出する(ステップS212)。オフベロシティVoffは時間差の逆数に比例する。 次に、上記最新イベント(Aオフ)に対応するノートオフの演奏信号を生成し(ステップS213)、本ルーチンを終了する。このノートオフの演奏信号において、音高(ピッチ)は、最新イベント(Aオフ)中のノートデータNoteによって規定され、オフベロシティVoffはステップS212で算出した値である。ここで生成された演奏信号に従って、図4のステップS104で消音処理がなされる。   As a result of the determination, if the event type K of the immediately preceding event data ev is not B-off, this routine is terminated. In this case, no note-off performance signal is generated. On the other hand, if B is off, off-velocity Voff is calculated from the difference in time data T between the B-off and the latest event (A-off) (step S212). The off velocity Voff is proportional to the reciprocal of the time difference. Next, a note-off performance signal corresponding to the latest event (A-off) is generated (step S213), and this routine is terminated. In this note-off performance signal, the pitch (pitch) is defined by the note data Note in the latest event (A off), and the off velocity Voff is the value calculated in step S212. In accordance with the performance signal generated here, mute processing is performed in step S104 of FIG.

なお、同一の動作センサ21において、Bオフの後に、AオフとならずにBオン、Cオンとなる場合は、既に発音処理がなされている音の再発音となる。この場合、前記ステップS208では、既に発音処理がなされている音の消音処理(ノートオフの演奏信号生成)を行ってから、改めて発音処理(ノートオンの演奏信号を生成)を行うようにしてもよい。   In the same motion sensor 21, when B is turned off and B is turned on and C is turned on after B is turned off, the sound that has already been subjected to the sound generation process is re-sound. In this case, in step S208, after the sound that has already been sounded is silenced (note-off performance signal generation), the sound generation processing (note-on performance signal generation) is performed again. Good.

本実施の形態によれば、同一の動作センサ21から、イベントデータevがBオン→Cオンの順に発生した場合にだけノートオンの演奏信号が生成され、それ以外、例えば、Cオフ→Cオンの順に発生した場合は演奏信号が生成されない。これにより、Cオン及びCオフの繰り返しが起こったとしても、極めて短い時間間隔で発音が繰り返されるようなことは発生しない。従って、Cオン時のチャタリングによる影響が実質的に回避される。また、チャタリングマスク期間等の待ち時間を設けなくてもよいので、楽音発生の遅延が生じない。しかも、Cオンがあったとき、直前がBオンであるかどうかを判断すれば足りるので、チャタリング除去のための制御処理が複雑にならない。また、ノートオフについても同様の処理を適用してAオフ時のチャタリングによる影響が実質的に回避される。よって、簡単な処理にて、楽音制御の遅延を抑制しながらチャタリングの影響を回避することができる。なお、本実施の形態では、接点時間差をベロシティ検出の基本としているので、チャタリングがあったとしても、極端に短いBオン→Cオンはあり得ず、従来にあったような、チャタリング発生時に大音量が発生するような不具合も発生しない。   According to the present embodiment, a note-on performance signal is generated from the same motion sensor 21 only when the event data ev is generated in the order of B on → C on. Otherwise, for example, C off → C on If they occur in this order, a performance signal is not generated. As a result, even if C on and C off are repeated, the sound is not repeated at a very short time interval. Therefore, the effect of chattering when C is on is substantially avoided. In addition, since there is no need to provide a waiting time such as a chattering mask period, there is no delay in musical tone generation. In addition, when C-on occurs, it is sufficient to determine whether or not B-on is immediately before, so control processing for removing chattering is not complicated. In addition, the same processing is applied to note-off to substantially avoid the influence of chattering at the time of A-off. Therefore, the influence of chattering can be avoided with a simple process while suppressing the delay of the musical tone control. In the present embodiment, since the contact time difference is the basis for velocity detection, even if chattering occurs, there is no extremely short B-on → C-on. There is no problem with volume.

また、ベロシティの算出においても、Bオン→Cオンの順、Bオフ→Aオフの順にイベントデータevが発生した場合にだけ、それぞれの発生時間差からオンベロシティ、オフベロシティが算出されるので、ベロシティを正確に決定することができる。   Also in the calculation of velocity, on-velocity and off-velocity are calculated from the occurrence time difference only when event data ev is generated in the order of B on → C on and B off → A off. Can be determined accurately.

ところで、本実施の形態では、動作センサ21として3メイク式を例示したが、チャタリングの影響回避の観点からは、最低限2メイク式(第1スイッチswA、第2スイッチswBのみ)でもよい。その場合は、Aオン→Bオンの順、Bオフ→Aオフの順にイベントデータevが発生した場合にだけ、ノートオン、ノートオフの演奏信号を生成する。従って、例えば、Bオフ→Bオンの順で発生したBオンのイベントデータevによっては、ノートオンの演奏信号を生成しない。また、Aオン→Aオフの順で発生したAオフのイベントデータevによっては、ノートオフの演奏信号を生成しない。   In the present embodiment, the 3-make type is exemplified as the motion sensor 21. However, from the viewpoint of avoiding the influence of chattering, a minimum 2-make type (only the first switch swA and the second switch swB) may be used. In that case, note-on and note-off performance signals are generated only when event data ev is generated in the order of A on → B on and B off → A off. Therefore, for example, note-on performance signals are not generated by B-on event data ev generated in the order of B-off → B-on. Also, a note-off performance signal is not generated by A-off event data ev generated in the order of A-on → A-off.

また、動作センサ21としては、4メイク式以上の構成であってもよい。その場合でも、オンイベントに関してチャタリングを除去したいスイッチswを最も深い側のスイッチswとみなし、それより深い側に存在するスイッチswから発生するイベントを無視するように制御すればよい。オフイベントについては、チャタリングを除去したいスイッチswを最も浅い側のスイッチswとみなし、それより浅い側に存在するスイッチswから発生するイベントを無視するように制御すればよい。このように、機種によってスイッチswの数が増えても、制御処理によって、所望の箇所でのチャタリングを実質的に除去できるので、動作センサ21の自由度が高い。   Further, the motion sensor 21 may have a configuration of a 4-make type or more. Even in such a case, the switch sw for which chattering is to be removed with respect to the ON event is regarded as the deepest switch sw, and control may be performed so as to ignore the event generated from the switch sw existing on the deeper side. For the off event, the switch sw for which chattering is to be removed may be regarded as the shallowest switch sw, and an event generated from the switch sw existing on the shallower side may be controlled to be ignored. Thus, even if the number of switches sw increases depending on the model, chattering at a desired location can be substantially removed by the control process, and thus the degree of freedom of the motion sensor 21 is high.

結局、同一の演奏操作子1に対応する動作センサ21から発生したイベント同士を対象として判断し、「所定の検出位置」で「所定のイベント」が発生した時点の直前に記憶されたイベントがイベント発生順序における1つ前のイベントである場合に限り、演奏信号を生成するようにすればよい。例えば、チャタリングを除去したいスイッチswの位置を「所定の検出位置」とすると共に、チャタリングに関わるイベント(オンまたはオフ)を「所定のイベント」とすればよい。   Eventually, the events generated from the motion sensors 21 corresponding to the same performance operator 1 are determined as targets, and the event stored immediately before the “predetermined event” occurs at the “predetermined detection position” is the event. The performance signal may be generated only when it is the previous event in the generation order. For example, the position of the switch sw from which chattering is to be removed may be set as a “predetermined detection position”, and an event related to chattering (on or off) may be set as a “predetermined event”.

加えて、プログラムの変更によって、必ずしもノートオン、ノートオフの2箇所のチャタリング除去だけでなく、3箇所以上でのチャタリング除去にも適用でき、拡張が容易である。逆に、ノートオフのチャタリング除去の処理を廃止して簡素化することも可能である。従って、ソフトウェアの観点からも設計の自由度が高い。   In addition, the program can be applied not only to remove chattering at two locations, note-on and note-off, but also to remove chattering at three or more locations, and can be easily expanded. Conversely, note-off chattering removal processing can be abolished and simplified. Therefore, the degree of freedom in design is high from the viewpoint of software.

また、チャタリング除去の効果を用いるものは、ノートオン、ノートオフ、ベロシティに限られない。すなわち、チャタリング除去の適用を受けて生成される信号はノートオンやノートオフの演奏信号に限られず、各種の楽音制御信号に応用が可能である。例えば、アフタ制御への適用も考えられ、音色乃至楽音特性を制御するパラメータであってもよい。   Moreover, what uses the effect of chattering removal is not limited to note-on, note-off, and velocity. That is, a signal generated by applying chattering removal is not limited to a note-on or note-off performance signal, and can be applied to various musical tone control signals. For example, it can be applied to after-control, and may be a parameter for controlling timbre or musical tone characteristics.

また、本実施の形態では、動作センサ21として接点型の構成を採用したが、これに限られず、演奏操作子1の変位ストロークにおける異なる複数箇所(検出位置)で動作及びその方向を検出するものであればよく、光学的な検出手段(フォトセンサ等)のような、全行程センシングできる構成の検出手段であってもよい。   In the present embodiment, a contact-type configuration is adopted as the motion sensor 21. However, the present invention is not limited to this, and the motion and its direction are detected at a plurality of different positions (detection positions) in the displacement stroke of the performance operator 1. Any detection means having a configuration capable of sensing the entire process, such as an optical detection means (photo sensor or the like) may be used.

この場合、例えば、演奏操作子1やそれに連動するハンマ等の変位部材にグレースケールを有するシャッタ部材を固定し、発光部から発した光がシャッタ部材を通過(または反射)して受光部に受光された光量の変化を検出する構成とする。そして、複数の検出位置の各々において、検出される光量の変化から、変位部材の動作を検出し、それに応じたイベントを発生させる。光量変化をリニアに検出し、テーブルを参照してイベントを発生させる構成であってもよい。   In this case, for example, a shutter member having a gray scale is fixed to a displacement member such as a performance operator 1 or a hammer linked thereto, and light emitted from the light emitting unit passes (or reflects) the light from the light emitting unit and is received by the light receiving unit. It is set as the structure which detects the change of the emitted light quantity. Then, at each of the plurality of detection positions, the movement of the displacement member is detected from the change in the detected light quantity, and an event corresponding to the detected movement is generated. A configuration in which a change in light amount is detected linearly and an event is generated with reference to a table may be used.

また、動作センサ21における各スイッチswに相当するものは、必ずしもオンによって往動作、オフによって復動作を検出する構成に限られず、例えば、次に図6で示すようなトランスファ型のスイッチ体も動作センサ21として採用可能である。   Further, the switch corresponding to each switch sw in the motion sensor 21 is not necessarily limited to the configuration in which the forward operation is detected when turned on and the backward operation is detected when turned off. For example, a transfer type switch body as shown in FIG. It can be employed as the sensor 21.

結局、動作センサとしては、演奏操作子1の往復の変位行程において、往行程では浅い側の検出位置から順にオンイベント(往操作イベント)が発生し、復行程では深い側の検出位置から順にオフイベント(復操作イベント)が発生するように、イベント発生順序が定まっている検出手段であればよい。従って、各種の構成のセンサを採用可能である。   Eventually, as a motion sensor, in the reciprocating displacement stroke of the performance operator 1, an on event (forward operation event) occurs in order from the shallower detection position in the forward stroke, and off in order from the deeper detection position in the backward stroke. Any detection means may be used as long as the event occurrence order is determined so that an event (reverse operation event) occurs. Therefore, it is possible to employ sensors having various configurations.

図6は、変形例の動作センサ21の構成を示す縦断面図である。この動作センサ21は、リーフホルダ30に、一対の固定リーフ31、32が片持ち状態で保持され、固定リーフ31、32間において可動リーフ34がリーフホルダ30に保持されて構成される。固定リーフ31、32が、それぞれ浅い側、深い側に対応する。固定リーフ31、32の自由端部側はスペーサ35によって適切な間隔が規制されている。リーフ31、32、34はいずれも弾性バネで形成される。   FIG. 6 is a vertical cross-sectional view showing the configuration of the motion sensor 21 of a modification. The motion sensor 21 is configured such that a pair of fixed leaves 31 and 32 are held in a cantilever state by a leaf holder 30, and a movable leaf 34 is held by the leaf holder 30 between the fixed leaves 31 and 32. The fixed leaves 31 and 32 correspond to the shallow side and the deep side, respectively. An appropriate interval is regulated by the spacer 35 on the free end side of the fixed leaves 31 and 32. The leaves 31, 32, and 34 are all formed by elastic springs.

可動リーフ34は、初期状態では当接部34aが固定リーフ31の先端部31aに当接している。このとき、スペーサ35の上端部35xと固定リーフ31の当接点31xとは離間してもよい。可動リーフ34の先端部が被駆動部34bとなり、対応する演奏操作子1によって被駆動部34bが押下駆動される。被駆動部34bが押下駆動されると、当接部34aが先端部31aから離間し、やがて当接部34aが固定リーフ32の先端部32aに当接する。このとき、スペーサ35の下端部35yと固定リーフ32の当接点32yとは離間してもよい。   In the initial state, the movable leaf 34 is in contact with the tip 31 a of the fixed leaf 31. At this time, the upper end portion 35x of the spacer 35 and the contact point 31x of the fixed leaf 31 may be separated from each other. The tip of the movable leaf 34 becomes the driven portion 34b, and the driven portion 34b is driven down by the corresponding performance operator 1. When the driven portion 34b is pushed down, the contact portion 34a is separated from the tip portion 31a, and the contact portion 34a is in contact with the tip portion 32a of the fixed leaf 32 in due course. At this time, the lower end portion 35y of the spacer 35 and the contact point 32y of the fixed leaf 32 may be separated from each other.

この動作センサ21は、2メイク式として機能し、CPU5及びタイマ8の協働によってイベントデータevを発生させる。すなわち、演奏操作子1の変位の往行程において、当接部34aが固定リーフ31の先端部31aから離間するとAオンのイベントデータev、当接部34aが固定リーフ32の先端部32aに当接するとBオンのイベントデータevが、それぞれ発生する。一方、演奏操作子1の変位の復行程において、当接部34aが固定リーフ32の先端部32aから離間するとBオフのイベントデータev、当接部34aが固定リーフ31の先端部31aに当接するとAオフのイベントデータevが、それぞれ発生する。なお、上端部35xと当接点31x、下端部35yと当接点32yとの離間または当接は、イベントデータevの生成タイミングには直接関与しない。   The motion sensor 21 functions as a two-make type and generates event data ev through cooperation of the CPU 5 and the timer 8. That is, when the contact portion 34 a is separated from the distal end portion 31 a of the fixed leaf 31 during the displacement of the performance operator 1, the A-on event data ev and the contact portion 34 a contact the distal end portion 32 a of the fixed leaf 32. Then, B-on event data ev is generated. On the other hand, when the abutment portion 34 a is separated from the distal end portion 32 a of the fixed leaf 32 during the backward movement of the performance operator 1, the B-off event data ev and the abutment portion 34 a abut against the distal end portion 31 a of the fixed leaf 31. Then, A-off event data ev is generated. Note that the separation or contact between the upper end portion 35x and the contact point 31x and the lower end portion 35y and the contact point 32y is not directly related to the generation timing of the event data ev.

ところで、上記実施の形態では、本楽音制御信号生成装置を電子鍵盤楽器に適用した例を示したが、これに限られず、楽音制御信号を用いる各種の楽器に適用可能である。例えば、図7に示すように、電子打楽器にも適用可能である。   By the way, in the said embodiment, although the example which applied this musical tone control signal generation apparatus to the electronic keyboard musical instrument was shown, it is not restricted to this, It can apply to the various musical instruments using a musical tone control signal. For example, as shown in FIG. 7, it can be applied to an electronic percussion instrument.

図7(a)は、楽音制御信号生成装置が適用される電子打楽器の外観図である。この電子打楽器は、上面に、複数のドラムパッド40や各種の操作子を備える。各ドラムパッド40にはサイズが異なるものがあるが、構成は基本的に同じであるので、1つのドラムパッド40について構成を説明する。図7(b)に示すように、円盤状のパッド体41が上ケース48の対応箇所に組み付けられる。上ケース48には、ドラムパッド40ごとに環状リブ49aが上方に突設される。環状リブ49aの内側下部には凹溝49aが形成されている。   FIG. 7A is an external view of an electronic percussion instrument to which the musical tone control signal generation device is applied. This electronic percussion instrument includes a plurality of drum pads 40 and various operators on the upper surface. Although each drum pad 40 has a different size, the configuration is basically the same, so the configuration of one drum pad 40 will be described. As shown in FIG. 7B, the disk-shaped pad body 41 is assembled to the corresponding portion of the upper case 48. An annular rib 49 a is provided on the upper case 48 so as to protrude upward for each drum pad 40. A concave groove 49a is formed in the inner lower portion of the annular rib 49a.

図7(c)は、図7(b)のA−A線に沿う部分断面図である。パッド体41は、円盤状のパッド部42と、パッド部42の周縁に連接したリム部43とを有し、弾性材で一体に形成される。パッド部42が、ドラムのパッド打撃に用いられ、リム部43が、リム打撃に用いられる。リム部43は、パッド体41の最も外側部分である取り付け部47とパッド部42の外縁とにスカート部で連結されていて、押下により上下に揺動自在になっている。   FIG.7 (c) is a fragmentary sectional view which follows the AA line of FIG.7 (b). The pad body 41 includes a disk-shaped pad portion 42 and a rim portion 43 connected to the periphery of the pad portion 42 and is integrally formed of an elastic material. The pad portion 42 is used for drum pad hitting, and the rim portion 43 is used for rim hitting. The rim portion 43 is connected to the attachment portion 47 which is the outermost portion of the pad body 41 and the outer edge of the pad portion 42 by a skirt portion, and can be swung up and down when pressed.

図7(d)は、パッド体41が上ケース48に装着固定された状態におけるリム部43の部分断面図である。パッド体41を上ケース48に組み付ける際には、パッド体41の取り付け部47が、上ケース48の凹溝49aに嵌合される。リム部43の下部には、上記した可動接点22、24(図2(b))に相当する可動接点44、45が設けられる。一方、上ケース48における可動接点44、45に対応する位置には、固定接点23、25(図2(b))に相当する固定接点50、51が設けられる。これらにより、上記した第1スイッチswA、swBに相当するスイッチを有する2メイク式の動作センサが構成される。   FIG. 7D is a partial cross-sectional view of the rim portion 43 in a state where the pad body 41 is attached and fixed to the upper case 48. When the pad body 41 is assembled to the upper case 48, the mounting portion 47 of the pad body 41 is fitted into the concave groove 49 a of the upper case 48. Under the rim portion 43, movable contacts 44 and 45 corresponding to the above-described movable contacts 22 and 24 (FIG. 2B) are provided. On the other hand, fixed contacts 50 and 51 corresponding to the fixed contacts 23 and 25 (FIG. 2B) are provided at positions corresponding to the movable contacts 44 and 45 in the upper case 48. Thus, a two-make motion sensor having switches corresponding to the first switches swA and swB described above is configured.

かかる構成において、被打撃部であるリム部43が演奏操作子1に相当する。リム部43が打撃されると、リム部43が下方に変位する。そして、2つの可動接点44のうち少なくとも1つが、対応する固定接点50に当接することで1目がメイクし、可動接点45が固定接点51に当接すると2つ目がメイクする。この2段階でのメイクによるイベントデータevの発生と楽音制御の態様は、図6で例示したセンサが採用される場合と同様に考えることができる。   In this configuration, the rim portion 43 that is the hit portion corresponds to the performance operator 1. When the rim portion 43 is hit, the rim portion 43 is displaced downward. Then, at least one of the two movable contacts 44 makes contact with the corresponding fixed contact 50, and the first makes up. When the movable contact 45 contacts the fixed contact 51, the second makes up. The generation of event data ev due to makeup and the manner of musical tone control in these two stages can be considered in the same manner as in the case where the sensor exemplified in FIG. 6 is employed.

演奏操作子1に相当するリム部43は複数あるが、上記したのと同様に並行して処理される。ところで、演奏操作子1の各々を特定する情報であるノートデータNoteは、上記した実施の形態では、鍵盤楽器であったので音高を特定する情報でもあった。しかし、楽器が図7に示すような電子打楽器である場合は、リム部43を特定し、打撃音色を規定するものともなる。このように、電子打楽器の打撃検出にも本発明を適用できる。なお、本楽器は電子打楽器であり、楽音が速やかに減衰するので、消音処理のための検出や制御は廃止してもよい。   Although there are a plurality of rim portions 43 corresponding to the performance operator 1, they are processed in parallel as described above. By the way, note data Note that is information for specifying each of the performance operators 1 is also information for specifying a pitch because it is a keyboard instrument in the above-described embodiment. However, when the musical instrument is an electronic percussion instrument as shown in FIG. 7, the rim portion 43 is specified to define the percussion tone color. As described above, the present invention can also be applied to detection of hitting of an electronic percussion instrument. Since this musical instrument is an electronic percussion instrument and the musical sound attenuates quickly, detection and control for mute processing may be abolished.

なお、電子打楽器の例では、リム打撃に関して本発明を適用する構成を例示したが、パッド打撃について適用してもよい。   In the example of the electronic percussion instrument, the configuration in which the present invention is applied with respect to the rim hitting is illustrated, but the configuration may be applied to the pad hitting.

なお、上記鍵盤楽器(図2)において、動作センサ21は、演奏操作子1の動作を直接または間接に検出するものであればよく、演奏操作子1自身または該演奏操作子1に連動する変位部材の動作を検出するものであればよい。例えば、慣性を付与するために設けられる、鍵に連動して揺動するハンマを変位部材とし、これの動作を検出してもよい。電子打楽器(図7)においても、リム部43に連動して動作する変位部材を設け、この変位部材に可動接点を設けて動作センサとして構成してもよい。   In the keyboard instrument (FIG. 2), the motion sensor 21 may be any sensor that directly or indirectly detects the performance of the performance operator 1, and the displacement associated with the performance operator 1 itself or the performance operator 1. What is necessary is just to detect the operation of the member. For example, a hammer provided to impart inertia and swinging in conjunction with a key may be used as a displacement member, and the operation of this may be detected. Also in the electronic percussion instrument (FIG. 7), a displacement member that operates in conjunction with the rim portion 43 may be provided, and a movable contact may be provided on the displacement member to constitute an operation sensor.

ところで、上記の説明では、鍵盤楽器、電子打楽器に、それぞれ演奏操作子1が複数存在する例を示したが、演奏操作子1が1個であっても、楽音制御の遅延を抑制しながらチャタリングの影響を回避する効果は得られる。また、演奏操作子1が1つである場合は、チャタリング除去の観点に限れば、evレジスタに記憶可能なイベントデータevは最低限1個であってもよい。   By the way, in the above description, an example in which a plurality of performance operators 1 exist in each of the keyboard musical instrument and the electronic percussion instrument has been shown. However, even if there is only one performance operator 1, chattering is performed while suppressing delay in tone control. The effect of avoiding the influence of is obtained. If there is only one performance operator 1, the event data ev that can be stored in the ev register may be at least one in terms of chattering removal.

(第2の実施の形態)
本発明の第2の実施の形態では、チャタリングの発生を楽音制御に利用する。すなわち、チャタリングが発生するような操作態様は、通常の強押鍵よりもさらに強く操作(例えば、押し弾き奏法)する意思であると解釈し、検出したベロシティが一定以上である場合に所定値を加えて音量を増大させる。第1の実施の形態とは、演奏信号生成処理が異なり、図5に代えて図8、図9を用いる。その他の構成は第1の実施の形態と同様である。
(Second Embodiment)
In the second embodiment of the present invention, the occurrence of chattering is used for musical tone control. That is, an operation mode in which chattering occurs is interpreted as an intention to operate more strongly than a normal strong key press (for example, playing and playing), and a predetermined value is set when the detected velocity is a certain level or more. In addition, increase the volume. The performance signal generation process is different from the first embodiment, and FIGS. 8 and 9 are used instead of FIG. Other configurations are the same as those of the first embodiment.

図8、図9は、本発明の第2の実施の形態に係る楽音制御信号生成装置が適用される電子鍵盤楽器において、図4のステップS103で実行される演奏信号生成処理のフローチャートである。   FIGS. 8 and 9 are flowcharts of the performance signal generation process executed in step S103 of FIG. 4 in the electronic keyboard instrument to which the musical tone control signal generation apparatus according to the second embodiment of the present invention is applied.

まず、本実施の形態で用いる「準備データ」を説明するため、ステップS307から説明する。本実施の形態では、第1の実施の形態と同様に、同一の動作センサ21から、イベントデータevがBオン→Cオンの順に発生した場合にオンベロシティVonを算出する(ステップS204〜S207)。   First, in order to explain the “preparation data” used in the present embodiment, the explanation starts from step S307. In the present embodiment, as in the first embodiment, on-velocity Von is calculated from the same motion sensor 21 when event data ev occurs in the order of B on → C on (steps S204 to S207). .

ステップS207の処理後は、ステップS307に進む。本実施の形態では、Cオンのイベントデータevが発生しても直ちに発音指示(ノートオンの演奏信号生成)がなされるわけではない。発音指示は、ステップS303またはS312でなされる。まずステップS307では、最新イベント(Cオン)中のノートデータNoteと上記算出したオンベロシティVonとを対応付けたものを「準備データ」として記憶しておく。準備データは、イベント履歴とは別個にRAM7に記憶される。   After step S207, the process proceeds to step S307. In the present embodiment, even when C-on event data ev occurs, a sound generation instruction (note-on performance signal generation) is not immediately issued. The sound generation instruction is made in step S303 or S312. First, in step S307, the correspondence between the note data Note in the latest event (C on) and the calculated on velocity Von is stored as “preparation data”. The preparation data is stored in the RAM 7 separately from the event history.

次に、上記記憶した準備データに、ウェイトタイマを対応付け、該ウェイトタイマの計時をスタートさせる(ステップS308)。この計時は、図4、図8、図9の処理とは別個に、CPU5の制御に基づきタイマ8によってなされる。その後、本処理を終了する。ウェイトタイマは準備データごとに設定され、各々、所定時間tmだけ計時すると停止されリセットされる。所定時間tmは、通常の(チャタリングでない)操作時におけるCオン(オン動作)とCオフ(オフ動作)とのほぼ最小の時間間隔に設定され、例えば、1〜10msの間の値とされる。   Next, a wait timer is associated with the stored preparation data, and timing of the wait timer is started (step S308). This time measurement is performed by the timer 8 based on the control of the CPU 5 separately from the processing of FIGS. 4, 8, and 9. Thereafter, this process is terminated. The wait timer is set for each preparation data, and is stopped and reset when the time is counted for a predetermined time tm. The predetermined time tm is set to a substantially minimum time interval between C on (on operation) and C off (off operation) during normal operation (not chattering), and is set to a value between 1 and 10 ms, for example. .

ステップS301では、準備データが存在するか否かを判別する。その判別の結果、準備データが存在しない場合は、ステップS201〜S203の処理に移行する。一方、準備データが存在する場合は、当該準備データのウェイトタイマが、上記した所定時間tmを経過しているか否かを判別し(ステップS302)、経過していなければステップS201〜S203の処理に移行する。   In step S301, it is determined whether or not preparation data exists. As a result of the determination, if there is no preparation data, the process proceeds to steps S201 to S203. On the other hand, if the preparation data exists, the wait timer of the preparation data determines whether or not the predetermined time tm has elapsed (step S302). If the preparation data has not elapsed, the process proceeds to steps S201 to S203. Transition.

前記ステップS302の判別の結果、当該準備データのウェイトタイマが所定時間tmを経過している場合は、当該準備データ中のノートデータNote及びオンベロシティVonにて、ノートオンの演奏信号(発音指示信号)を生成する(ステップS303)。このノートオンの演奏信号におけるオンベロシティVonは、ステップS207で算出された値のままである。次に、当該準備データ及びそれに対応するウェイトタイマをクリアして(ステップS304)、ステップS201〜S203の処理に移行する。   As a result of the determination in the step S302, if the wait timer of the preparation data has passed the predetermined time tm, the note-on performance signal (sound generation instruction signal) is used in the note data Note and on-velocity Von in the preparation data. ) Is generated (step S303). The on velocity Von in the note-on performance signal remains the value calculated in step S207. Next, the preparation data and the corresponding wait timer are cleared (step S304), and the process proceeds to steps S201 to S203.

ステップS203の処理後は、ステップS305に進み、最新イベントのイベント種Kが「Cオフ」であるか否かを判別する。その判別の結果、最新イベントのイベント種Kが「Cオフ」でない場合はステップS204に進む一方、「Cオフ」である場合は、ステップS309に進む。   After the processing in step S203, the process proceeds to step S305, and it is determined whether or not the event type K of the latest event is “C off”. As a result of the determination, if the event type K of the latest event is not “C off”, the process proceeds to step S204, whereas if it is “C off”, the process proceeds to step S309.

ステップS309では、上記最新イベント(Cオフ)とノートデータNoteを同じくする準備データが存在するか否かを判別する。ここで、最新イベント(Cオフ)とノートデータNoteを同じくする準備データが存在するということは、ノートデータNoteに対応する動作センサ21の第3スイッチswCにおいて、Cオンの後、所定時間tm経過前(ステップS304でクリアされる前)にCオフがあったことを意味する。これは、極めて短い時間でのオンオフであることから、第3スイッチswCでチャタリングが生じたと判定することができる。   In step S309, it is determined whether or not there is preparation data having the same latest event (C off) and note data Note. Here, the fact that there is preparation data that is the same as the latest event (C-off) and the note data Note indicates that a predetermined time tm has elapsed after the C-on in the third switch swC of the motion sensor 21 corresponding to the note data Note. It means that there was C-off before (before being cleared in step S304). Since this is on / off in a very short time, it can be determined that chattering has occurred in the third switch swC.

ステップS309で、チャタリング有りと判定されない場合は本処理を終了する。一方、チャタリング有りと判定された場合は、ステップS310に進み、当該準備データ中のオンベロシティVonが閾値Vx以上であるか否かを判別する。ここで、閾値Vxは、標準押鍵で最も強く押鍵された場合に検出されるオンベロシティ値を想定している。ただし、閾値Vxは、オンベロシティを規定するMIDI値としては上限値ではなく、さらなる値の増加を可能にするべく上限値までに少し余裕を持たせた値に設定されている。   If it is not determined in step S309 that there is chattering, this process ends. On the other hand, if it is determined that there is chattering, the process proceeds to step S310, and it is determined whether or not the on-velocity Von in the preparation data is greater than or equal to the threshold value Vx. Here, the threshold value Vx assumes an on-velocity value that is detected when the standard key is pressed most strongly. However, the threshold value Vx is not an upper limit value as a MIDI value that defines on-velocity, but is set to a value with a slight margin before the upper limit value to allow further increase of the value.

その判別の結果、Von≧Vxである場合は、押し弾き奏法のような真に強い押鍵を意思としている解釈されるため、上記準備データにおいて、オンベロシティVonに所定値Vαを加算したものを、新たなオンベロシティVonとして設定する(ステップS311)。これにより、当該準備データ中のオンベロシティVonの値が更新され、大きくなる。一方、Von<Vxである場合は、真に強い押鍵の意思ではないと解釈されるので、所定値Vαの加算は行わず、すなわち、準備データの更新を行わずに本処理を終了する。   As a result of the determination, if Von ≧ Vx, it is interpreted that the intention is to make a really strong key press like the push-and-play method. Therefore, in the above preparation data, a value obtained by adding a predetermined value Vα to on-velocity Von The new on-velocity Von is set (step S311). Thereby, the value of the on velocity Von in the preparation data is updated and increased. On the other hand, if Von <Vx, it is interpreted that the intention is not really strong, so the predetermined value Vα is not added, that is, this process is terminated without updating the preparation data.

次に、ステップS312では、当該準備データ中のノートデータNote及びオンベロシティVonにて、ノートオンの演奏信号(発音指示信号)を生成する。このオンベロシティVonは、ステップS311で加算がなされた値である。次に、当該準備データ及びそれに対応するウェイトタイマをクリアして(ステップS313)、本処理を終了する。   Next, in step S312, a note-on performance signal (sound generation instruction signal) is generated using note data Note and on-velocity Von in the preparation data. This on-velocity Von is a value added in step S311. Next, the preparation data and the corresponding wait timer are cleared (step S313), and this process ends.

図8、図9の処理によれば、チャタリング有りでオンベロシティVonが閾値Vxの押鍵がされた場合にのみ、ステップS312で、音量が増大された発音指示がなされる。それ以外では、音量が増大されることなくステップS303で発音指示がなされる。   According to the processing of FIG. 8 and FIG. 9, only when the key is pressed with on-velocity Von being the threshold value Vx with chattering, a sound generation instruction with an increased sound volume is issued in step S312. Otherwise, a sound generation instruction is given in step S303 without increasing the volume.

本実施の形態によれば、簡単な処理にて、楽音制御の遅延を抑制しながらチャタリングの影響を回避することに関し、第1の実施の形態と同様の効果を奏することができる。それだけでなく、Von≧Vxが成立したチャタリング発生時には音量が増大されるので、強い操作よりもさらに強い操作に応じた音量増大制御が可能になる。これにより、チャタリングの有無によって楽音パラメータが変化する。よって、チャタリングの発生を楽音制御に利用して演奏表現力を高めることができる。例えば、鍵盤楽器においては、標準奏法と押し弾き奏法との音量差を明確に大きくすることができる。特に、チャタリングが複数回発音を生じさせないことを担保した上で、チャタリングを楽音パラメータの制御に積極的に利用するので、チャタリングの発生自体を極力回避するような工夫をしなくてもよい。また、従来のような専用のアフタセンサ等を設ける必要もない。従って、一般な鍵盤楽器に広く本発明を適用できる。   According to the present embodiment, it is possible to achieve the same effect as that of the first embodiment with respect to avoiding the influence of chattering while suppressing the delay of the musical sound control with a simple process. In addition, since the volume is increased when chattering occurs when Von ≧ Vx is established, it is possible to perform volume increase control according to a stronger operation than a strong operation. As a result, the musical sound parameter changes depending on the presence or absence of chattering. Therefore, it is possible to enhance performance expression by using the occurrence of chattering for musical tone control. For example, in a keyboard instrument, the volume difference between the standard playing method and the playing method can be clearly increased. In particular, since chattering is actively used for controlling musical tone parameters after ensuring that chattering does not generate a plurality of pronunciations, it is not necessary to devise a way to avoid the occurrence of chattering as much as possible. Further, there is no need to provide a dedicated after sensor or the like as in the prior art. Therefore, the present invention can be widely applied to general keyboard instruments.

また、Cオンの後、所定時間tm内にチャタリング有りと判定されなければ所定時間tmの経過時点で演奏信号が生成されるので(ステップS303)、チャタリングの非発生時において楽音制御が遅延し過ぎないようにすることができる。一方、所定時間tm内にチャタリング有りと判定されればその判定時点で直ちに演奏信号が生成されるので(ステップS312)、チャタリングが生じるような強い操作の場合は、チャタリング非発生時に比べ発音タイミングが速くなる。すなわち、チャタリングの有無によって発音タイミングを微妙に変化させる演奏表現が可能となる。この点でも、チャタリングの発生を楽音制御に利用して演奏表現力を高めている。   If it is not determined that chattering is present within the predetermined time tm after C is turned on, a performance signal is generated when the predetermined time tm elapses (step S303), so that the tone control is delayed too much when chattering does not occur. Can not be. On the other hand, if it is determined that chattering is present within the predetermined time tm, a performance signal is immediately generated at the determination time (step S312). Therefore, in the case of a strong operation that causes chattering, the sounding timing is higher than when no chattering occurs. Get faster. That is, a performance expression in which the sound generation timing is slightly changed depending on the presence or absence of chattering is possible. In this respect as well, the expression of chattering is used for musical tone control to enhance performance expression.

本実施の形態のように、チャタリングの発生を楽音制御に利用して演奏表現力を高めるという観点に限っていえば、チャタリングが発生しやすいような構成をあえて採用するという考え方もできる。上記した動作センサ21(図2(b))は、弾性体でなるため、演奏操作子1のアクチュエータ部乃至下面1aと動作センサ21の上面21aとが擦れたりねじれたりした状態でオンする。そのため、チャタリングが発生しやすい。また、演奏操作子1に連動するハンマを変位部材とした場合もチャタリングが発生しやすい。しかし、本実施の形態によると、安定した態様でチャタリングを起こすような構成であれば、むしろ好都合となる。   As in the present embodiment, if it is limited to the point of view that chattering generation is used for musical tone control to improve performance expression, it is possible to adopt a configuration in which chattering is likely to occur. Since the above-described motion sensor 21 (FIG. 2B) is made of an elastic body, it is turned on in a state where the actuator portion or the lower surface 1a of the performance operator 1 and the upper surface 21a of the motion sensor 21 are rubbed or twisted. Therefore, chattering is likely to occur. Further, chattering is also likely to occur when a hammer linked to the performance operator 1 is used as a displacement member. However, according to the present embodiment, a configuration that causes chattering in a stable manner is rather advantageous.

なお、図9のステップS310で、Von<Vxである場合に、オンベロシティVonに閾値Vxの値を設定して更新するようにしてもよい。そうすれば、チャタリング発生時には、最低限、オンベロシティVonが、閾値Vxと同じ値かそれ以上の値に更新されるので、チャタリング発生時と非発生時とに音量差を設けることが可能となる。   In step S310 of FIG. 9, when Von <Vx, the on-velocity Von may be set with the threshold value Vx and updated. Then, when chattering occurs, at least the on-velocity Von is updated to a value equal to or higher than the threshold value Vx, so that it is possible to provide a volume difference between when chattering occurs and when it does not occur. .

ところで、チャタリング有りの場合は、検出したオンベロシティVonの値に拘わらず、該オンベロシティVonに所定値Vαを加算する処理を一律に行うようにしてもよい。そのようにするには、図9のステップS310の処理ステップを廃止すればよい。   By the way, when there is chattering, the process of adding the predetermined value Vα to the on-velocity Von may be uniformly performed regardless of the detected value of the on-velocity Von. To do so, the processing step of step S310 in FIG. 9 may be eliminated.

なお、本実施の形態において、チャタリング有りと判定された場合であっても、所定時間tmの経過を待って演奏信号を生成するようにしてもよい。そのようにするには、ステップS312、S313の処理を廃止すればよい。そのようにした場合、チャタリングの有無に拘わらず、発音指示はステップS303でなされることになる。ただし、一旦チャタリング有りと判定された後にステップS303を実行する際、オンベロシティVonは、所定値Vαが加算され更新されたものとなっている。これにより、操作の強弱による発音タイミングの差をなくすことができる。   In the present embodiment, even if it is determined that chattering is present, the performance signal may be generated after a predetermined time tm has elapsed. To do so, the processing in steps S312 and S313 may be abolished. In such a case, the sound generation instruction is made in step S303 regardless of the presence or absence of chattering. However, when step S303 is executed after it is determined that there is chattering once, the on-velocity Von is updated by adding a predetermined value Vα. Thereby, it is possible to eliminate a difference in sound generation timing due to the strength of the operation.

なお、本実施の形態では、チャタリング発生時に変更する楽音パラメータとして音量(オンベロシティ)を例示したが、これに限られない。ピッチ、音色、エンベロープ等の効果乃至楽音特性に関わる各種の楽音パラメータに適用可能である。   In the present embodiment, the volume (on velocity) is exemplified as the musical sound parameter to be changed when chattering occurs, but the present invention is not limited to this. The present invention is applicable to various musical tone parameters related to effects such as pitch, timbre, envelope, and musical tone characteristics.

ところで、本実施の形態では、Cオンの直後(所定時間tm内)にCオフがあったことをチャタリング発生と定義してチャタリング有りと判定するので、判定処理が簡単であった。しかしながら、チャタリングの発生を楽音制御に利用する観点に限れば、チャタリングの定義は上記したものに限定されない。例えば、Cオン→Cオフ→Cオンとなったときチャタリング有りと判定してもよい。また、チャタリングの判定手法も例示したものに限定されず、公知の各種手法を採用することができる。また、動作センサ21についても、発音を指示するためのノートオン動作を検出するスイッチにおいてチャタリングが生じるような構成であればよく、メイク数も限定されず、図6で示したタイプのほか、各種構成のセンサを採用可能である。   By the way, in the present embodiment, it is determined that chattering has occurred when C-off occurs immediately after C-on (within a predetermined time tm), and chattering is present, so the determination process is simple. However, the definition of chattering is not limited to that described above as long as the occurrence of chattering is limited to the viewpoint of use for musical tone control. For example, it may be determined that chattering is present when C on → C off → C on. Further, the chattering determination method is not limited to the exemplified method, and various known methods can be employed. Further, the motion sensor 21 may be configured so that chattering occurs in a switch for detecting a note-on operation for instructing sound generation, and the number of makeups is not limited. In addition to the types shown in FIG. A sensor having a configuration can be employed.

ところで、本実施の形態についても、楽音制御信号を用いる各種の楽器に適用可能で、図7に示すような電子打楽器にも適用可能である。また、演奏操作子1は1個であってもよい。   By the way, this embodiment can also be applied to various musical instruments using a musical tone control signal, and can also be applied to an electronic percussion instrument as shown in FIG. Moreover, the performance operator 1 may be one.

本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施の形態の一部を適宜組み合わせてもよい。   The present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. A part of the above-described embodiments may be appropriately combined.

1 演奏操作子、 5 CPU(チャタリング判定手段、信号生成手段)、 21 動作センサ、 Von オンベロシティ(楽音パラメータ)、 tm 所定時間、 Vα 所定値、 Vx 閾値   1 performance operator, 5 CPU (chattering determination means, signal generation means), 21 motion sensor, Von on velocity (musical sound parameter), tm predetermined time, Vα predetermined value, Vx threshold

Claims (9)

演奏操作される演奏操作子と、
前記演奏操作子のオン動作及びオフ動作を検出する動作センサと、
前記動作センサにおけるオン動作時のチャタリングの発生の有無を判定するチャタリング判定手段と、
前記動作センサによりオン動作が検出されたことを条件に、楽音制御信号を生成する信号生成手段とを有し、
前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、生成する楽音制御信号における楽音パラメータを変更することを特徴とする楽音制御信号生成装置。
A performance controller to be operated, and
An operation sensor for detecting an on operation and an off operation of the performance operator;
Chattering determination means for determining whether or not chattering occurs during the on-operation of the motion sensor;
Signal generating means for generating a musical tone control signal on the condition that an on-operation is detected by the motion sensor;
When the chattering determination unit determines that chattering is present, the signal generation unit changes a musical sound parameter in the generated musical sound control signal with respect to a case where chattering is not determined. apparatus.
前記チャタリング判定手段は、前記動作センサにより前記演奏操作子のオン動作が検出された後、所定時間内にオフ動作が検出された場合にのみチャタリング有りと判定することを特徴とする請求項1記載の楽音制御信号生成装置。   2. The chattering determination means determines that there is chattering only when an off operation is detected within a predetermined time after the performance sensor detects an on operation of the performance operator. Musical tone control signal generator. 前記信号生成手段は、前記動作センサにより前記演奏操作子のオン動作が検出された後、前記チャタリング判定手段によりチャタリング有りと判定されることなく前記所定時間が経過した場合に前記楽音制御信号を生成することを特徴とする請求項2記載の楽音制御信号生成装置。   The signal generation means generates the musical tone control signal when the predetermined time has elapsed without the chattering determination means determining that there is chattering after the performance sensor detects that the performance operator is turned on. The musical sound control signal generating apparatus according to claim 2, wherein 前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、前記所定時間の経過に拘わらず前記楽音制御信号を生成することを特徴とする請求項2または3記載の楽音制御信号生成装置。   4. The musical tone control signal according to claim 2, wherein when the chattering determination unit determines that chattering is present, the signal generation unit generates the musical tone control signal regardless of the lapse of the predetermined time. Generator. 前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合であっても、前記所定時間の経過を待って前記楽音制御信号を生成することを特徴とする請求項2または3記載の楽音制御信号生成装置。   4. The signal generation unit according to claim 2, wherein the signal generation unit generates the musical tone control signal after the predetermined time has elapsed even when the chattering determination unit determines that chattering is present. Musical sound control signal generator. 前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、生成する楽音制御信号における楽音パラメータとしてのオンベロシティの値を大きくすることを特徴とする請求項1〜5のいずれか1項に記載の楽音制御信号生成装置。   The signal generating means increases the on-velocity value as a musical sound parameter in the musical sound control signal to be generated when the chattering determining means determines that chattering is present, compared to the case where chattering is not determined. The musical tone control signal generation device according to any one of claims 1 to 5. 前記動作センサは、前記演奏操作子のオン動作の検出に際し、そのオンベロシティも検出し、前記信号生成手段は、チャタリング有りと判定されない場合は、前記動作センサにより検出されたオンベロシティを、前記生成する楽音制御信号におけるオンベロシティとして適用する一方、チャタリング有りと判定された場合は、前記動作センサにより検出されたオンベロシティの値に所定値を加算した値を、前記生成する楽音制御信号におけるオンベロシティとして適用することを特徴とする請求項6記載の楽音制御信号生成装置。   The motion sensor detects the on velocity of the performance operator when detecting the on velocity, and the signal generation means generates the on velocity detected by the motion sensor when it is not determined that chattering is present. On the other hand, when it is determined that chattering is present, a value obtained by adding a predetermined value to the on-velocity value detected by the motion sensor is used as the on-velocity in the generated tone control signal. The musical tone control signal generation device according to claim 6, wherein the musical tone control signal generation device is applied as follows. 前記信号生成手段は、チャタリング有りと判定され且つ前記動作センサにより検出されたオンベロシティの値が閾値以上である場合に限り、前記動作センサにより検出されたオンベロシティの値に前記所定値を加算した値を、前記生成する楽音制御信号におけるオンベロシティとして適用することを特徴とする請求項7記載の楽音制御信号生成装置。   The signal generation means adds the predetermined value to the on-velocity value detected by the motion sensor only when it is determined that chattering is present and the on-velocity value detected by the motion sensor is greater than or equal to a threshold value. 8. The musical tone control signal generating apparatus according to claim 7, wherein the value is applied as on-velocity in the generated musical tone control signal. 演奏操作される演奏操作子と、
前記演奏操作子のオン動作及びオフ動作を検出する動作センサと、
前記動作センサにおけるオン動作時のチャタリングの発生の有無を判定するチャタリング判定手段と、
前記動作センサによりオン動作が検出されたことを条件に、楽音発生を指示する発音指示信号を生成する信号生成手段とを有し、
前記信号生成手段は、前記チャタリング判定手段によりチャタリング有りと判定された場合は、チャタリング有りと判定されない場合に対して、前記発音指示信号の生成タイミングを早くすることを特徴とする楽音制御信号生成装置。
A performance controller to be operated, and
An operation sensor for detecting an on operation and an off operation of the performance operator;
Chattering determination means for determining whether or not chattering occurs during the on-operation of the motion sensor;
Signal generating means for generating a sound generation instruction signal for instructing the generation of a musical tone on the condition that an on-operation is detected by the operation sensor;
When the chattering determination means determines that chattering is present, the signal generation means accelerates the sound generation instruction signal generation timing when the chattering determination means determines that chattering is not present. .
JP2010064063A 2010-03-19 2010-03-19 Tone control signal generating device Pending JP2011197399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010064063A JP2011197399A (en) 2010-03-19 2010-03-19 Tone control signal generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010064063A JP2011197399A (en) 2010-03-19 2010-03-19 Tone control signal generating device

Publications (1)

Publication Number Publication Date
JP2011197399A true JP2011197399A (en) 2011-10-06

Family

ID=44875690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010064063A Pending JP2011197399A (en) 2010-03-19 2010-03-19 Tone control signal generating device

Country Status (1)

Country Link
JP (1) JP2011197399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020044731A1 (en) * 2018-08-30 2020-03-05 ヤマハ株式会社 Circuit-closure-determination-threshold setting device and method, keyboard device, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020044731A1 (en) * 2018-08-30 2020-03-05 ヤマハ株式会社 Circuit-closure-determination-threshold setting device and method, keyboard device, and program
JP2021185340A (en) * 2018-08-30 2021-12-09 ヤマハ株式会社 Threshold setting device and method for circuit closure determination, keyboard device, and program
JP7087839B2 (en) 2018-08-30 2022-06-21 ヤマハ株式会社 Threshold setting device and method for circuit closure determination, keyboard device, and program

Similar Documents

Publication Publication Date Title
US7361825B2 (en) Electronic keyboard instrument
JP6485082B2 (en) Keyboard instrument
US8785759B2 (en) Electric keyboard musical instrument, method executed by the same, and storage medium
JP3922225B2 (en) Pronunciation control program and electronic keyboard instrument using the same
JP4531415B2 (en) Automatic performance device
JP2013210451A (en) Musical sound control device of electronic keyboard instrument
JP2011197399A (en) Tone control signal generating device
JP5974756B2 (en) Electronic keyboard instrument
JP2011197398A (en) Tone control signal generating device
US9905209B2 (en) Electronic keyboard musical instrument
JP4071027B2 (en) Key-press information detection device for keyboard instruments
JP6572916B2 (en) Pronunciation control device and method, program
JP4442531B2 (en) Electronic keyboard instrument
JP2891248B2 (en) Electronic keyboard instrument
JP5939068B2 (en) Electronic keyboard instrument
JP3785939B2 (en) Electronic stringed instruments
JP5843287B2 (en) Keyboard device and keyboard sensor unit
JP5228516B2 (en) Tempo perception device
JP2000298426A (en) Playing guidance device and method
JP4187898B2 (en) Electronic keyboard instrument repeated hit detection control device
JP2016038544A (en) Touch detection device, method and program and electronic musical instrument
JP2003271140A (en) Device for automatically playing musical instrument
JPH085518Y2 (en) Electronic keyboard instrument
JP2009175584A (en) Performance teaching device, and program of performance teaching processing
CN114730556A (en) Information processing system, keyboard musical instrument, information processing method, and program