Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5347289B2 - Performance device and performance processing program - Google Patents
[go: Go Back, main page]

JP5347289B2 - Performance device and performance processing program - Google Patents

Performance device and performance processing program Download PDF

Info

Publication number
JP5347289B2
JP5347289B2 JP2008070726A JP2008070726A JP5347289B2 JP 5347289 B2 JP5347289 B2 JP 5347289B2 JP 2008070726 A JP2008070726 A JP 2008070726A JP 2008070726 A JP2008070726 A JP 2008070726A JP 5347289 B2 JP5347289 B2 JP 5347289B2
Authority
JP
Japan
Prior art keywords
key
performance
octave
keyboard
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008070726A
Other languages
Japanese (ja)
Other versions
JP2009223254A (en
Inventor
達也 出嶌
善登 山口
潤一郎 川原
政英 瀧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008070726A priority Critical patent/JP5347289B2/en
Publication of JP2009223254A publication Critical patent/JP2009223254A/en
Application granted granted Critical
Publication of JP5347289B2 publication Critical patent/JP5347289B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To freely change the assignment of key areas without disturbing playing operations on a keyboard as required in process of performance. <P>SOLUTION: A keyboard 1 is split into a high key area and a low key area at a split position 3. An octave conversion is executed for decreasing a key number for a prescribed number of octaves when a key that belongs to the high key area is depressed, and for increasing the key number for a prescribed number of octaves when a key that belongs to the low key area is depressed. When a pedal 3a provided corresponding to the low key area is operated to be turned on, the octave conversion similar to the case of the key depression in the low key area is executed even if the key is depressed in the high key area, and the octave conversion similar to the case of the key depression in the high key area is executed even if the key is depressed in the low key area. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、演奏装置及び演奏処理のプログラムに関する。   The present invention relates to a performance device and a program for performance processing.

従来より、ひとつの鍵盤の低鍵域と高鍵域とを別々の演奏者に演奏させる、いわゆる連奏機能、あるいはデュエット機能を有する楽器が提案されている。
この連奏機能を有する楽器においては、夫々の演奏者が同じ音域で演奏できるように、鍵域毎に別々にオクターブ変換している。
Conventionally, there has been proposed an instrument having a so-called continuo function or duet function that allows different performers to perform the low key range and the high key range of a single keyboard.
In a musical instrument having this continuo function, octave conversion is separately performed for each key range so that each performer can perform in the same range.

例えば、特許文献1においては、鍵盤を鍵番号SPをスプリット位置として低鍵域と高鍵域とに分割し、低鍵域においては、押鍵により指定される楽音の音高を通常より2オクターブアップし、高鍵域においては、2オクターブダウンする構成が開示されている。   For example, in Patent Document 1, the keyboard is divided into a low key range and a high key range with the key number SP as the split position, and in the low key range, the pitch of the musical tone designated by the key press is increased by two octaves from normal. In the high key range, a configuration in which an octave down is performed is disclosed.

また、特許文献2においては、押鍵により発生するキー情報に対応する鍵が属する鍵域を判別し、この判別結果に基づいてこの鍵域で発生するキー情報を所望オクターブ量変更させることにより、少なくとも2つの鍵域で発生する楽音の音高が重複する部分が生じるようにした構成が開示されている。   Further, in Patent Document 2, by determining the key range to which the key corresponding to the key information generated by the key press belongs, and changing the desired octave amount of the key information generated in this key range based on the determination result, There is disclosed a configuration in which a portion in which pitches of musical sounds generated in at least two key ranges overlap is generated.

さらに特許文献3には、鍵盤を2つの鍵域に分割した際、第1の鍵域の中央に位置する鍵の本来のオクターブ値と、第1の鍵域に設定された音色の基準音域のオクターブ値とに基づいてオクターブシフト量を算出することにより、音色毎の基準音域が各鍵域の略中央に配置される構成が開示されている。   Further, in Patent Document 3, when the keyboard is divided into two key ranges, the original octave value of the key located in the center of the first key range and the reference tone range of the tone set in the first key range are described. A configuration is disclosed in which a reference tone range for each timbre is arranged approximately at the center of each key range by calculating an octave shift amount based on the octave value.

特許第3586754号公報Japanese Patent No. 3586754 特公昭62−35118公報Japanese Examined Patent Publication No. 62-35118 特開2000−194369公報JP 2000-194369 A

このように、ひとつの鍵盤を複数の鍵域に分けて別々の演奏者が演奏する場合、演奏に用いられる鍵域が狭いため、演奏される楽曲によっては、別の演奏者が用いるべき鍵域まで必要となる場合が出てくる。しかしながら、鍵盤の鍵数、大きさは予め決まっており、各演奏者が望むだけの鍵域を予め配分をすることは不可能である。
しかも、演奏する楽曲によっては、常に広い鍵域が必要でない場合もあり、予め特定の演奏者に対応する鍵域を広く割り当てておくことは非常に非効率的である。
In this way, when a single player is divided into multiple key ranges and played by different players, the key range used for the performance is narrow, so depending on the music being played, the key range that another player should use The case where it becomes necessary comes out. However, the number of keys and the size of the keyboard are determined in advance, and it is impossible to allocate in advance the key range that each player desires.
In addition, depending on the music to be played, a wide key range may not always be required, and it is very inefficient to allocate a wide key range corresponding to a specific performer in advance.

こうした問題を解決するには、演奏途中で各演奏者の鍵域の割当を変更すればよい。しかしながら、演奏の途中で楽器上に設けられたスイッチを操作を行なって鍵域を変更することは現実的に不可能であり、それらの操作を簡単にするためのスイッチを独立に設けることは、ただでさえスイッチ数が多い電子楽器上で行なうことは好ましくない。   In order to solve such problems, it is only necessary to change the key range of each performer during the performance. However, it is practically impossible to change the key range by operating the switches provided on the instrument in the middle of the performance, and providing switches for simplifying these operations is independent, However, it is not preferable to perform it on an electronic musical instrument having a large number of switches.

本発明は、このような事情に鑑みてなされたものであり、演奏途中の必要なときに、その鍵盤上での演奏操作を妨げることなく、自由に鍵域の割り当てを変更できるようにすることを目的とする。   The present invention has been made in view of such circumstances, and allows the assignment of a keyboard range to be freely changed when necessary during the performance without interfering with the performance operation on the keyboard. With the goal.

上記目的を達成するため、請求項1に記載の発明では、予め定められたスプリット位置により複数の鍵域に分割され、各鍵域に夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、この鍵盤とは別に、前記鍵盤の各鍵域に対応して複数設けられた演奏操作子と、この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する前記鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更手段と、前記複数の演奏操作子のいずれかの操作に対応して、前記オクターブ変更手段による前記押鍵された鍵の鍵番号の変更形態を、該操作された演奏操作子に対応する鍵域を広げるように変化させるオクターブ変更制御手段と、前記オクターブ変更手段により変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示手段と、を有することを特徴とする。
また、請求項1に従属する請求項2に記載の発明では、前記オクターブ変更制御手段は、前記複数の演奏操作子のいずれかひとつの操作子が操作されている状態で、他の演奏操作子が操作された場合は、当該他の演奏操作子の操作を無効にすることを特徴とする。
また、請求項1に従属する請求項3に記載の発明では、前記演奏操作子は前記鍵盤の低鍵域及び高鍵域夫々に対応して設けられ、前記オクターブ変更制御手段は、低鍵域に対応する前記演奏操作子が操作された場合は、前記高鍵域全てを低鍵域に含めるように変化させるとともに、高鍵域に対応する前記演奏操作子が操作された場合は、前記低鍵域全てを高鍵域に含めるように変化させることを特徴とする。
また、請求項1から3のいずれかに従属する請求項4に記載の発明では、前記演奏操作子は、ペダルであることを特徴とする。
さらに、請求項5に記載の発明では、予め定められたスプリット位置により複数の鍵域に分割され、各鍵域に夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、この鍵盤とは別に、前記鍵盤の各鍵域に対応して複数設けられた演奏操作子と、を有する演奏装置に適用されるコンピュータに、この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する前記鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更ステップと、前記複数の演奏操作子のいずれかの操作に対応して、前記オクターブ変更ステップによる前記押鍵された鍵の鍵番号の変更形態を、該操作された演奏操作子に対応する鍵域を広げるように変化させるオクターブ変更制御ステップと、前記オクターブ変更ステップにより変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示ステップと、を実行させることを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, a key number for designating a pitch of a musical sound that is divided into a plurality of key ranges by a predetermined split position and should be pronounced in each key range. There a keyboard having a plurality of keys assigned sequentially, separately from this keyboard, a performance operator which provided in a plurality corresponding to the key range of the keyboard, one of the keys of the keyboard is depressed The octave changing means for changing the key number of the key that has been pressed in advance corresponding to the key range to which the pressed key belongs , and any one of the plurality of performance operators In response to the operation, the octave change control means for changing the key number change form of the depressed key by the octave change means so as to widen the key range corresponding to the operated performance operator, and Change by octave changing means And having a tone generation instruction means for instructing the generation of a pitch of a musical tone corresponding to the given key number, the.
According to a second aspect of the present invention that is dependent on the first aspect, the octave change control means is configured so that the other performance operator is in a state in which any one of the plurality of performance operators is operated. If is engineered, and wherein the disabling operation of the other performance operators.
In the invention according to claim 3, which is dependent on claim 1, the performance operator is provided corresponding to each of a low key range and a high key range of the keyboard, and the octave change control means corresponds to the low key range. When the performance operator is operated, all the high key ranges are changed to be included in the low key range, and when the performance operator corresponding to the high key range is operated, all the low key ranges are changed to the high key range. It is characterized by changing to include.
In the invention according to claim 4 , which is dependent on any one of claims 1 to 3 , the performance operator is a pedal.
Furthermore, in the invention according to claim 5 , the key numbers are divided into a plurality of key ranges at predetermined split positions, and key numbers for designating the pitches of musical sounds to be pronounced are sequentially assigned to the respective key ranges. a keyboard having a plurality of keys, apart from this keyboard, the computer to be applied to the performance apparatus having a plurality obtained performance operator corresponding to each key range of the keyboard, one of the key An octave changing step for changing the key number of the key that has been pressed by a predetermined octave corresponding to the key range to which the pressed key belongs when the key is pressed; and the plurality of performances In response to any operation of the operator, the octave changing mode changes the key number of the pressed key in the octave changing step so as to widen the key range corresponding to the operated performance operator. Change control And-up, characterized in that to execute a tone generation instruction step for instructing the generation of the tone pitch of the musical tone corresponding to the changed key number by the octave changing step.

上記発明によれば、演奏途中で、割り当てられた鍵域を広げたい場合は、その鍵域に対応するペダルを操作すればよく、演奏途中の必要なときに、その鍵盤上での演奏操作を妨げることなく、自由に割り当てられた鍵域を広げることができる。   According to the above invention, when it is desired to expand the assigned key range during the performance, the pedal corresponding to the key range may be operated, and when necessary during the performance, the performance operation on the keyboard can be performed. The assigned key range can be expanded without hindrance.

以下、本発明の実施形態について説明する。
図1は、本発明を適用した電子鍵盤楽器の外観図である。
楽器本体には、ノーマルモードとデュエットモードとのいずれかを指定するデュエットスイッチ1と鍵盤2とを有する。鍵盤2は88個の鍵を有しており、ノーマルモードにおいては、各鍵に対して、左側(低鍵域側)から順次鍵番号(MIDI NOTE番号)21(音高 A0)〜108(音高 C8)が割り当てられる。
Hereinafter, embodiments of the present invention will be described.
FIG. 1 is an external view of an electronic keyboard instrument to which the present invention is applied.
The instrument body has a duet switch 1 and a keyboard 2 for designating either the normal mode or the duet mode. The keyboard 2 has 88 keys. In the normal mode, key numbers (MIDI NOTE numbers) 21 (pitch A0) to 108 (sounds) are sequentially assigned to each key from the left side (low key range side). High C8) is assigned.

一方デュエットモードのときは、スプリット位置3に対応する鍵を境界として鍵域が分割され、低鍵域側に含まれる各鍵の鍵番号は、低い方から順次45(音高 A2)〜83(音高 B5)というように2オクターブアップした値に変更される。そして高鍵域側に含まれる各鍵は、低い方から順次鍵番号36(音高 C2)〜84(音高 C6)というように2オクターブダウンした値に変更される。
また楽器本体には、ペダルA(例えばダンパーペダル)3aとペダル3b(例えばソステネートペダル)が接続されている。
On the other hand, in the duet mode, the key range is divided with the key corresponding to the split position 3 as a boundary, and the key numbers of the keys included on the low key range side are 45 (pitch A2) to 83 (sequentially from the lowest). Pitch B5) is changed to a value that is two octaves up. Then, each key included in the high key range side is changed to a value that is octave-down, such as key numbers 36 (pitch C2) to 84 (pitch C6), in order from the lowest.
Also, a pedal A (for example, a damper pedal) 3a and a pedal 3b (for example, a sononate pedal) are connected to the instrument body.

図2は、図1の電子鍵盤楽器の構成を示すブロック図である。
CPU10は、この楽器本体の処理全体を実行するものであり、プログラムROM11にストアされたプログラムに基づいてその処理動作を実行する。ワークRAM12は、この処理により生成されるデータを一時的にストアするエリアを有するものである。そして音源13は、鍵盤2対しての押鍵・離鍵動作に対応してCPU10にて生成されたノートオン・ノートオフイベントを受信して楽音を生成するとともに、ペダル3aあるいは3bが踏み込まれると、当該ペダルに対応してCPU10にて作成されたペダルコマンドを受信して発生する楽音を制御する回路である。
FIG. 2 is a block diagram showing the configuration of the electronic keyboard instrument of FIG.
The CPU 10 executes the entire processing of the musical instrument main body, and executes the processing operation based on the program stored in the program ROM 11. The work RAM 12 has an area for temporarily storing data generated by this processing. When the tone generator 13 receives a note-on / note-off event generated by the CPU 10 in response to a key depression / release operation with respect to the keyboard 2, the tone generator 13 generates a musical tone and when the pedal 3a or 3b is depressed. This is a circuit for controlling a musical sound generated by receiving a pedal command created by the CPU 10 corresponding to the pedal.

これらCPU10、プログラムROM11、ワークRAM12、音源13、鍵盤2、モードスイッチ1を含むスイッチ群、さらにはペダル3a及び3bは、バスライン14を介して接続される。   These CPU 10, program ROM 11, work RAM 12, tone generator 13, keyboard 2, switch group including mode switch 1, and pedals 3 a and 3 b are connected via a bus line 14.

以上の構成を有することにより、この電子鍵盤楽器は、デュエットスイッチ1の操作によりデュエットモード又はノーマルモードとなり、夫々のモードにおいて各鍵に割り当てられる鍵番号が図1に示されるように変更になる。   By having the above configuration, the electronic keyboard instrument is in a duet mode or a normal mode by operating the duet switch 1, and the key number assigned to each key in each mode is changed as shown in FIG.

そしてデュエットモードにおいて、分割された鍵域の一方で隣接しあう鍵を他方の鍵域に向かって連続して押鍵がなされた後、それに続く押鍵がたまたま他方の鍵域に及んでしまった場合、この他方の鍵域での押鍵を一方の鍵域で押鍵したように鍵番号を変更するように動作する。   And in duet mode, after the key that is adjacent to one of the divided key ranges is continuously pressed toward the other key range, the subsequent key press happens to reach the other key range. In this case, the key number is changed so that the key depression in the other key area is depressed in one key area.

以下、CPU10の動作をフローチャートを用いて説明する。なお、フローチャートに用いられるレジスタやフラグは、CPU10内のレジスタを用いてもよいし、ワークRAM12の一部エリアをレジスタエリアとして設定してもよい。   Hereinafter, the operation of the CPU 10 will be described with reference to flowcharts. Note that the registers and flags used in the flowchart may be registers in the CPU 10, or a partial area of the work RAM 12 may be set as a register area.

図3は、CPU10の処理全体を示したフローチャートである。
まず、電源(図示せず)がオンされるとイニシャライズ処理(ステップA1)が実行され、続いてSW処理(ステップA2)、ペダル処理(ステップA3)、鍵盤処理(ステップA4)、そしてその他の処理(ステップA5)の順で処理が実行される。このステップA2〜A5の処理は、電源がオフされるまで繰り返し実行される。
FIG. 3 is a flowchart showing the entire processing of the CPU 10.
First, when a power source (not shown) is turned on, initialization processing (step A1) is executed, followed by SW processing (step A2), pedal processing (step A3), keyboard processing (step A4), and other processing. Processing is executed in the order of (Step A5). The processes in steps A2 to A5 are repeatedly executed until the power is turned off.

図4は、図3のSW処理(ステップA2)の詳細なフローチャートである。
まずデュエットスイッチ1がオン操作されたか否か判別する(ステップB1)。ここでもしオン操作されたと判別されたならば、レジスタDFにストアされたデュエットフラグを反転させ(ステップB2)、このレジスタDFにストアされたデュエットフラグが「1」、つまりデュエットモードであるか否か判別し(ステップB3)、「1」であれば、レジスタSPに鍵盤2のスプリット位置に対応する鍵番号「60」をストアする(ステップB4)。そしてその他のスイッチの処理(ステップB5)に移る。もしステップB1でオン操作されていない、と判別されたなら、ステップB2〜B4の処理をスキップしてステップB5に進む。また、あるいはステップB3で「0」、つまりノーマルモードであると判別された場合も、ステップB4をスキップしてステップB5に進む。このステップB5の処理が実行された後、このSW処理を終了させる。
FIG. 4 is a detailed flowchart of the SW process (step A2) in FIG.
First, it is determined whether or not the duet switch 1 has been turned on (step B1). If it is determined that the ON operation has been performed, the duet flag stored in the register DF is inverted (step B2), and the duet flag stored in the register DF is “1”, that is, whether the duet mode is set. If it is “1”, the key number “60” corresponding to the split position of the keyboard 2 is stored in the register SP (step B4). Then, the process proceeds to other switch processing (step B5). If it is determined in step B1 that the ON operation has not been performed, the process of steps B2 to B4 is skipped and the process proceeds to step B5. Alternatively, if “0” in step B3, that is, it is determined that the current mode is the normal mode, step B4 is skipped and the process proceeds to step B5. After the process of step B5 is executed, the SW process is terminated.

図5は、図3のペダル処理(ステップA3)の詳細なフローチャートである。
まず、ペダルA処理(ステップC1)にてペダル3aに対応する処理を行い、ついでペダルB処理(ステップC2)にてペダル3bに対応する処理を行なう。
FIG. 5 is a detailed flowchart of the pedal process (step A3) in FIG.
First, a process corresponding to the pedal 3a is performed in the pedal A process (step C1), and then a process corresponding to the pedal 3b is performed in the pedal B process (step C2).

図6は、図5のペダルA処理(ステップC1)の詳細なフローチャートである。
まず、レジスタDFにストアされたデュエットフラグが「1」、つまりデュエットモードであるか否か判別する(ステップD1)。ここでもしデュエットフラグが「0」、つまりノーマルモードであればステップD2に進み、ペダル3aの状態に変化があるか否か判別する。変化がないと判別されれば、このペダルA処理を終了する。
FIG. 6 is a detailed flowchart of the pedal A process (step C1) in FIG.
First, it is determined whether or not the duet flag stored in the register DF is “1”, that is, the duet mode (step D1). If the duet flag is “0”, that is, in the normal mode, the routine proceeds to step D2, where it is determined whether or not the state of the pedal 3a has changed. If it is determined that there is no change, the pedal A process is terminated.

ペダル3aが操作されて変化がありと判断された場合は、その操作がオンか否かさらに判別する(ステップD3)。ここでオン操作と判別されれば、ペダルAオンコマンドを作成して音源13に送付する(ステップD4)。反対にオフ操作と判別されれば、ペダルAオンコマンドを作成して音源13に送付する(ステップD5)。   If it is determined that the pedal 3a is operated and there is a change, it is further determined whether or not the operation is on (step D3). If it is determined that the operation is on, a pedal A on command is created and sent to the sound source 13 (step D4). On the contrary, if it is determined to be an off operation, a pedal A on command is created and sent to the sound source 13 (step D5).

このように、ノーマルモードの場合、ペダル3aをオンまたはオフ操作すれば、ペダル3aに予め割り当てられた機能(例えばダンパ機能)に対応した処理が行なわれる。   Thus, in the normal mode, if the pedal 3a is turned on or off, processing corresponding to a function (for example, a damper function) assigned in advance to the pedal 3a is performed.

一方、ステップD1でデュエットフラグが「1」、つまりデュエットモードである場合は、ステップD6に進み、その時点で発音されているか否か判別し、発音がなされていればこのペダルA処理を終了する。もし発音がなければ、レジスタにストアされているフラグPBFが「0」、つまりペダル3bがオン状態にあるか否か判別する(ステップD7)。ここでオン状態にあると判別されれば、何もせずにペダルA処理を終了する。反対にオン状態でないと判断されれば、さらにペダル3aがオン操作されてオン状態にあるか否か判別する(ステップD8)。ここでオン状態にあると判別されたならば、ペダル3aの状態を示すフラグをストアするレジスタPAFの内容が「0」、つまりペダル3aがオフ状態にあるか否か判別する(ステップD9)。ここでオフ状態であると判別されたなら、ステップD10に進み、レジスタPAFを「1」にしてこの処理を終了する。反対に「1」であると判別されたなら、そのまま処理を終了する。 On the other hand, if the duet flag is “1” in step D1, that is, in the duet mode, the process proceeds to step D6, where it is determined whether or not a sound is being generated. . If there is no sound, it is determined whether or not the flag PBF stored in the register is "0", that is, whether the pedal 3b is in an on state (step D7). If it is determined that the pedal is on, the pedal A process is terminated without doing anything. On the contrary, if it is determined that the pedal is not in the on state, it is further determined whether or not the pedal 3a is turned on and in the on state (step D8). If it is determined that the pedal 3a is in the ON state, it is determined whether or not the content of the register PAF storing the flag indicating the state of the pedal 3a is "0", that is, whether the pedal 3a is in the OFF state (step D9). If it is determined that the current state is the off state, the process proceeds to step D10, the register PAF is set to “1”, and the process is terminated. On the other hand, if it is determined that the value is “1”, the process is terminated.

一方、ステップD8において、ペダルオフ状態と判別されたなら、レジスタPAFの内容が「1」、つまりペダル3aがオン状態にあるか否か判別する(ステップD11)。ここでオフ状態であると判別されたなら、ステップD12に進み、レジスタPAFを「0」にしてこの処理を終了する。反対に「0」であると判別されたなら、そのまま処理を終了する。   On the other hand, if it is determined in step D8 that the pedal is in the off state, it is determined whether or not the content of the register PAF is “1”, that is, whether the pedal 3a is in the on state (step D11). If it is determined that the current state is the off state, the process proceeds to step D12, the register PAF is set to “0”, and this process ends. On the other hand, if it is determined that the value is “0”, the process is terminated.

このように、デュエットモードにおいて、ペダル3aのオンまたはオフ操作が行われた場合は、その操作状態に合わせてレジスタPAFにストアされたフラグを「1」または「0」とする。そして本実施形態においては、もう一方のペダル3bが先にオン操作されてその状態を表わすフラグをストアしたレジスタPBFが「1」であれば、ペダル3aの操作は無効とされる。また、デュエットモードの場合、ペダル3aに予め割り当てられている機能も無効とされる。   As described above, when the pedal 3a is turned on or off in the duet mode, the flag stored in the register PAF is set to “1” or “0” in accordance with the operation state. In the present embodiment, if the other pedal 3b is turned on first and the register PBF storing the flag indicating the state is "1", the operation of the pedal 3a is invalidated. Further, in the duet mode, the function assigned in advance to the pedal 3a is also invalidated.

図7は、図5のペダルB処理(ステップC2)の詳細なフローチャートである。このペダルB処理は、基本的に図6のペダルA処理とほぼ同一の処理を行なうものである。
ステップE1〜E5の処理は、ノーマルモードにおいてペダル3bを操作した場合を示し、ステップD1〜D5とほぼ同一である。ステップE4及びE5において、ペダル3bをオンまたはオフ操作したときに、ペダル3bに予め割り当てられた機能(例えばソステヌート機能)に対応したコマンドをCPU10が作成する点のみ相違する。
FIG. 7 is a detailed flowchart of the pedal B process (step C2) in FIG. This pedal B process is basically the same as the pedal A process of FIG.
The processing of steps E1 to E5 shows a case where the pedal 3b is operated in the normal mode, and is almost the same as steps D1 to D5. In steps E4 and E5, the only difference is that when the pedal 3b is turned on or off, the CPU 10 creates a command corresponding to a function (for example, a sostenuto function) previously assigned to the pedal 3b.

また、ステップE6〜E12の処理は、図6のステップD6〜D12の処理とほぼ同一であり、レジスタPAFとPBFとが入れ替わっている点のみ相違する。
このように、ノーマルモードの場合、ペダル3bをオンまたはオフ操作すれば、ペダル3bに予め割り当てられた機能の処理が行なわれ、デュエットモードの場合は、ペダル3bの操作状態に合わせてレジスタPBFにストアされたフラグを「1」または「0」とする。ここでも、もちろんもペダル3aが先にオン操作されてその状態を表わすフラグをストアしたレジスタPBFが「1」であれば、ペダル3bの操作は無効とされる。また、デュエットモードの場合、ペダル3bに予め割り当てられている機能も無効とされる。
Further, the processing of steps E6 to E12 is almost the same as the processing of steps D6 to D12 of FIG. 6, and is different only in that the registers PAF and PBF are interchanged.
As described above, in the normal mode, if the pedal 3b is turned on or off, the function assigned to the pedal 3b is processed. In the duet mode, the register PBF is set in accordance with the operation state of the pedal 3b. The stored flag is set to “1” or “0”. Here, of course, if the pedal 3a is turned on first and the register PBF storing the flag indicating the state is "1", the operation of the pedal 3b is invalidated. Further, in the duet mode, the function assigned in advance to the pedal 3b is also invalidated.

図8〜図10は、図3の鍵盤処理(ステップA3)の詳細なフローチャートである。
まず、図8において、鍵盤2を走査し(ステップF1)、鍵の状態が変化したか否か判別する(ステップF2)。ここで変化なしと判断された場合は、この鍵盤処理を終了する。
一方、ステップF2において、鍵の状態がオフからオンに変化した場合(押鍵)、変化の検出された鍵の鍵番号をレジスタNにストアする(ステップF3)。続いてデュエットフラグDFが「0」、つまりノーマルモードか否か判別される(ステップF4)。ノーマルモードであるならば、ステップF5に進み、レジスタNにストアされた鍵番号に基づくノートオンコマンドを作成する。

8 to 10 are detailed flowcharts of the keyboard process (step A3) in FIG.
First, in FIG. 8, the keyboard 2 is scanned (step F1), and it is determined whether or not the key state has changed (step F2). If it is determined that there is no change, the keyboard process is terminated.
On the other hand, when the key state changes from off to on (key depression) in step F2, the key number of the key whose change is detected is stored in the register N (step F3). Subsequently, it is determined whether or not the duet flag DF is "0", that is, the normal mode (step F4). If it is in the normal mode, the process proceeds to step F5 and a note-on command based on the key number stored in the register N is created.

また、ステップF2において、オンからオフに変化したこと(離鍵)を判別した場合は、ステップF6に進み、変化の検出された鍵の鍵番号をレジスタNにストアする。そして、デュエットフラグDFが「0」、つまりノーマルモードか否か判別される(ステップF7)。ノーマルモードであるならば、ステップF8に進み、レジスタNにストアされた鍵番号に基づくノートオフコマンドを作成する。   If it is determined in step F2 that the key has changed from on to off (key release), the process proceeds to step F6, and the key number of the key whose change has been detected is stored in the register N. Then, it is determined whether or not the duet flag DF is “0”, that is, the normal mode (step F7). If it is in the normal mode, the process proceeds to step F8, and a note-off command based on the key number stored in the register N is created.

このステップF5あるいはF8で生成されたノートオンコマンド、ノートオフコマンドは音源13に送付され(ステップF9)、これらのコマンドに基づいて音源13は楽音の生成または生成の停止を行う。   The note-on command and note-off command generated in step F5 or F8 are sent to the sound source 13 (step F9), and the sound source 13 generates or stops generation of the musical sound based on these commands.

ステップF4においてレジスタDFにストアされたデュエットフラグが「1」、つまりデュエットモードであるなら、図9のステップF10に進み、レジスタNにストアされている押鍵された鍵番号が、レジスタSPにストアされているスプリット位置に対応する鍵番号以上であるか否か判別する。ここで押鍵された鍵の鍵番号がスプリット位置の鍵番号以上であると判別された場合、つまり鍵盤2の高鍵域で押鍵されたと判別されたなら、次にレジスタPAFにストアされているペダル3aの状態を表わすフラグが「0」か否か判別する(ステップF11)。ここでフラグが「0」、つまりペダル3aがオフ状態と判別された場合は、レジスタNの鍵番号から「24」を減算、つまり2オクターブダウンさせる(ステップF12)。逆にPAFが「1」、ペダル3aがオン状態なら、レジスタNの鍵番号から「24」を加算、つまり2オクターブアップさせる(ステップF13)。   If the duet flag stored in the register DF in step F4 is “1”, that is, in the duet mode, the process proceeds to step F10 in FIG. 9, and the key number pressed in the register N is stored in the register SP. It is determined whether or not the key number is equal to or greater than the split position. If it is determined that the key number of the key pressed here is equal to or greater than the key number at the split position, that is, if it is determined that the key is pressed in the high key range of the keyboard 2, then the pedal stored in the register PAF It is determined whether or not the flag representing the state of 3a is “0” (step F11). If it is determined that the flag is “0”, that is, the pedal 3a is in the off state, “24” is subtracted from the key number of the register N, that is, the octave is lowered by 2 (step F12). On the contrary, if PAF is “1” and the pedal 3a is on, “24” is added from the key number of the register N, that is, the octave is increased by 2 (step F13).

このように、デュエットモードにおいて高鍵域を押鍵すれば、その押鍵は2オクターブダウンされ、低鍵域で押鍵されればその押鍵は2オクターブアップされるものであるが、ペダル3aがオンされている場合は、たとえ高鍵域での押鍵であっても、低鍵域での押鍵のように2オクターブアップする。つまり、低鍵域での演奏で、鍵域がたりない場合にペダル3aをオンして高鍵域を押鍵すれば、それは低鍵域で押鍵されたと同様の発音がなされることを意味する。   In this way, when the high key range is pressed in the duet mode, the key press is lowered by two octaves, and when pressed in the low key range, the key press is increased by two octaves, but the pedal 3a is turned on. If the key is pressed, even if the key is pressed in the high key range, the key is increased by two octaves as if the key was pressed in the low key range. In other words, if there is no key range in the performance in the low key range, if the pedal 3a is turned on and the high key range is pressed, it means that the same sound is produced as if the key was pressed in the low key range.

このステップF12あるいはF13でオクターブ変換されたレジスタNの鍵番号に基づいて、ステップF14においてノートオンコマンドが作成され、この作成されたコマンドは音源13に送付される(ステップF15)。   A note-on command is created in step F14 based on the key number of the register N octave-converted in step F12 or F13, and the created command is sent to the sound source 13 (step F15).

一方、ステップF10において、押鍵された鍵番号がスプリット位置に対応する鍵盤号未満である場合、つまり低鍵域での押鍵であると判別された場合は、レジスタPBFにストアされているペダル3bの状態を表わすフラグが「0」か否か判別する(ステップF16)。ここでフラグが「0」、つまりペダル3bがオフ状態と判別された場合は、レジスタNの鍵番号から「24」を加算、つまり2オクターブアップさせる(ステップF17)。逆にPBFが「1」、ペダル3bがオン状態なら、レジスタNの鍵番号から「24」を減算、つまり2オクターブアップさせる(ステップF18)。このオクターブ変換された鍵番号は、ステップF14及びF15の処理を行い、この処理を終了する。   On the other hand, if it is determined in step F10 that the key number pressed is less than the keyboard number corresponding to the split position, that is, it is determined that the key is pressed in the low key range, the pedal stored in the register PBF It is determined whether or not the flag representing the state of 3b is “0” (step F16). Here, when the flag is “0”, that is, when it is determined that the pedal 3b is in the OFF state, “24” is added from the key number of the register N, that is, two octaves are increased (step F17). On the other hand, if PBF is “1” and the pedal 3b is in the on state, “24” is subtracted from the key number of the register N, that is, two octaves are increased (step F18). The octave-converted key number is processed in steps F14 and F15, and this process is terminated.

このように、高鍵域での演奏で、鍵域がたりない場合にペダル3bをオンして低鍵域を押鍵すれば、それは高鍵域で押鍵されたと同様に2オクターブアップのオクターブ変換がなされて発音される。
また、図8のステップF7においてデュエットモードであると判別された場合は図10の処理に進む。
In this way, if there is no key range in the performance in the high key range, if the pedal 3b is turned on and the low key range is pressed, the octave conversion of 2 octave up is performed in the same way as when the key is pressed in the high key range. Pronounced.
If it is determined in step F7 in FIG. 8 that the duet mode is set, the process proceeds to FIG.

図10のステップF19〜F24の処理は、基本的に図9のF10〜F18の処理と同様である。ステップF23において、オクターブ変換されたノート番号に基づきノートオフコマンドを作成する点のみが相違する。   The processing in steps F19 to F24 in FIG. 10 is basically the same as the processing in F10 to F18 in FIG. The only difference is that a note-off command is created based on the octave-converted note number in step F23.

以上のように本実施形態においては、ペダル3aがオン操作されると、高鍵域での押鍵でも、低鍵域で押鍵したと同じようなオクターブ変換(2オクターブアップ)がなされ、ペダル3bがオン操作されると、低鍵域での押鍵でも、高鍵域で押鍵したと同じようなオクターブ変換(2オクターブダウン)がなされる。つまり、各鍵域を用いて演奏を行っている演奏者は、自分の演奏に割り当てられた鍵域では足りないと判断した場合、他の演奏者に割り当てられている鍵域も自分に割り当てられている鍵域として演奏を行うことができる。   As described above, in this embodiment, when the pedal 3a is turned on, even when the key is pressed in the high key range, the same octave conversion (two octave up) as when the key is pressed in the low key range is performed. When the key is turned on, the octave conversion (2 octave down) is performed even when the key is pressed in the low key range, as if the key was pressed in the high key range. In other words, if a performer performing with each key range determines that the key range assigned to his / her performance is not enough, the key range assigned to other performers is also assigned to him / her. You can play as a key range.

しかもこれは、自分の演奏に対して割り当てられている鍵域に対応するペダルをオン操作するだけでよく、煩雑なスイッチ操作を必要としないため、演奏を中断する必要はない。さらに、ひとりの演奏者がペダルオン操作している間は、他の演奏者に割り当てられている鍵域に対応するペダルがオン操作されたとしても、その操作は無効としているため、スプリット位置が頻繁に変更になって演奏が混乱することはない。   Moreover, it is only necessary to turn on the pedal corresponding to the key range assigned to the player's performance, and no complicated switch operation is required, so there is no need to interrupt the performance. In addition, while one player is operating the pedal on, even if the pedal corresponding to the key range assigned to another player is turned on, the operation is invalid, so the split position is frequently The performance will not be confused.

本実施形態においては、鍵盤2の鍵域をひとつのスプリット位置により低鍵域と高鍵域とに分割しているが、複数のスプリット位置により3以上の鍵域に分割してもよい。
また、本実施形態においては、ペダルをオン操作すると、一方の鍵域に他の鍵域が全て含まれるようにスプリット位置を変更しているが、1オクターブ分等、他の鍵域の一部のみが含まれるようにスプリット位置を変更してもよい。
In this embodiment, the key range of the keyboard 2 is divided into a low key range and a high key range by one split position, but may be divided into three or more key ranges by a plurality of split positions.
In this embodiment, when the pedal is turned on, the split position is changed so that one key range includes all the other key ranges. However, a part of the other key range such as one octave is used. The split position may be changed so that only the signal is included.

さらに、本実施形態においては、演奏操作子として2種類のペダルを用いているが、他の演奏操作子、例えば複数設けられたベンダー操作子、あるいはボリウム操作子等を用いてもよい。   Furthermore, in this embodiment, two types of pedals are used as performance operators, but other performance operators, for example, a plurality of vendor operators or volume operators may be used.

本発明を適用した電子鍵盤楽器の外観図である。1 is an external view of an electronic keyboard instrument to which the present invention is applied. 図1の電子鍵盤楽器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic keyboard instrument of FIG. CPU10の処理全体を示したフローチャートである。It is the flowchart which showed the whole process of CPU10. 図3のSW処理(ステップA2)の詳細なフローチャートである。It is a detailed flowchart of SW processing (step A2) of FIG. 図3のペダル処理(ステップA3)の詳細なフローチャートである。It is a detailed flowchart of the pedal process (step A3) of FIG. 図5のペダルA処理(ステップC1)の詳細なフローチャートである。It is a detailed flowchart of the pedal A process (step C1) of FIG. 図5のペダルA処理(ステップC1)の詳細なフローチャートである。It is a detailed flowchart of the pedal A process (step C1) of FIG. 図3の鍵盤処理(ステップA3)の詳細なフローチャートである(一部)。It is a detailed flowchart (part) of the keyboard process (step A3) of FIG. 図3の鍵盤処理(ステップA3)の詳細なフローチャートである(続き)。FIG. 4 is a detailed flowchart of keyboard processing (step A3) in FIG. 3 (continuation). 図3の鍵盤処理(ステップA3)の詳細なフローチャートである(続き)。FIG. 4 is a detailed flowchart of keyboard processing (step A3) in FIG. 3 (continuation).

符号の説明Explanation of symbols

1 デュエットスイッチ
2 鍵盤
3a ペダル
3b ペダル
10 CPU
11 プログラムROM
12 ワークRAM
13 音源
1 Duet switch 2 Keyboard 3a Pedal 3b Pedal 10 CPU
11 Program ROM
12 Work RAM
13 Sound source

Claims (5)

予め定められたスプリット位置により複数の鍵域に分割され、各鍵域に夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、
この鍵盤とは別に、前記鍵盤の各鍵域に対応して複数設けられた演奏操作子と、
この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する前記鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更手段と、
前記複数の演奏操作子のいずれかの操作に対応して、前記オクターブ変更手段による前記押鍵された鍵の鍵番号の変更形態を、該操作された演奏操作子に対応する鍵域を広げるように変化させるオクターブ変更制御手段と、
前記オクターブ変更手段により変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示手段と、
を有する演奏装置。
A keyboard having a plurality of keys that are divided into a plurality of key ranges by a predetermined split position and sequentially assigned with key numbers for designating pitches of musical sounds to be pronounced in the respective key ranges;
Separately from this keyboard, a plurality of performance operators provided corresponding to each key range of the keyboard ,
Octave changing means for changing the key number of the key that has been pressed by a preset octave corresponding to the key range to which the pressed key belongs when any key on this keyboard is pressed When,
Corresponding to the operation of any of the plurality of performance operators, the key number change mode of the key pressed by the octave changing means is expanded so that the key range corresponding to the operated performance operator is expanded. Octave change control means for changing to
A tone generation instruction means for instructing the generation of a pitch of a musical tone corresponding to the changed key number by the octave changing means,
A performance device having
前記オクターブ変更制御手段は、前記複数の演奏操作子のいずれかひとつの操作子が操作されている状態で、他の演奏操作子が操作された場合は、当該他の演奏操作子の操作を無効にすることを特徴とする請求項1記載の演奏装置。 The octave change control means, in a state where any one of the operators of the plurality of performance operators are operated, if other performance operator is operated, disabling the operation of the other performance operators The performance device according to claim 1, wherein: 前記演奏操作子は前記鍵盤の低鍵域及び高鍵域夫々に対応して設けられ、
前記オクターブ変更制御手段は、低鍵域に対応する前記演奏操作子が操作された場合は、前記高鍵域全てを低鍵域に含めるように変化させるとともに、高鍵域に対応する前記演奏操作子が操作された場合は、前記低鍵域全てを高鍵域に含めるように変化させることを特徴とする請求項1記載の演奏装置。
The performance operators are provided corresponding to the low and high key ranges of the keyboard,
The octave change control means, if the performance operator corresponding to the low key range is operated, all the high key range with varied to include a low key range, the performance operator corresponding to the high key range is operated 2. The performance apparatus according to claim 1, wherein the performance is changed so that all the low key ranges are included in the high key range.
前記演奏操作子は、ペダルであることを特徴とする請求項1から3のいずれかに記載の演奏装置。 4. The performance device according to claim 1 , wherein the performance operator is a pedal. 予め定められたスプリット位置により複数の鍵域に分割され、各鍵域に夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、この鍵盤とは別に、前記鍵盤の各鍵域に対応して複数設けられた演奏操作子と、を有する演奏装置に適用されるコンピュータに、
この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する前記鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更ステップと、
前記複数の演奏操作子のいずれかの操作に対応して、前記オクターブ変更ステップによる前記押鍵された鍵の鍵番号の変更形態を、該操作された演奏操作子に対応する鍵域を広げるように変化させるオクターブ変更制御ステップと、
前記オクターブ変更ステップにより変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示ステップと、
を実行させる演奏処理のプログラム。
A keyboard having a plurality of keys that are divided into a plurality of key ranges by a predetermined split position and in which key numbers for sequentially specifying the pitches of musical notes to be pronounced are assigned to the respective key ranges. Separately , a computer applied to a performance device having a plurality of performance operators corresponding to each key range of the keyboard ,
Octave change step for changing the key number of the key that has been pressed by a preset octave corresponding to the key range to which the pressed key belongs when any key on this keyboard is pressed When,
Corresponding to the operation of any one of the plurality of performance operators, the key number change form of the depressed key in the octave changing step is expanded so that the key range corresponding to the operated performance operator is expanded. Octave change control step to change to,
A musical sound generation instruction step for instructing generation of a musical sound having a pitch corresponding to the key number changed in the octave changing step ;
A performance processing program that executes
JP2008070726A 2008-03-19 2008-03-19 Performance device and performance processing program Expired - Fee Related JP5347289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008070726A JP5347289B2 (en) 2008-03-19 2008-03-19 Performance device and performance processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008070726A JP5347289B2 (en) 2008-03-19 2008-03-19 Performance device and performance processing program

Publications (2)

Publication Number Publication Date
JP2009223254A JP2009223254A (en) 2009-10-01
JP5347289B2 true JP5347289B2 (en) 2013-11-20

Family

ID=41240052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008070726A Expired - Fee Related JP5347289B2 (en) 2008-03-19 2008-03-19 Performance device and performance processing program

Country Status (1)

Country Link
JP (1) JP5347289B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54157616A (en) * 1978-06-01 1979-12-12 Nippon Gakki Seizo Kk Electronic musical instrument
JPS57155594A (en) * 1981-03-23 1982-09-25 Casio Computer Co Ltd Electronic music instrument
JPH0827630B2 (en) * 1986-01-16 1996-03-21 松下電器産業株式会社 Electronic musical instrument performance mode switching device
JPH0713036Y2 (en) * 1989-01-27 1995-03-29 ヤマハ株式会社 Electronic keyboard instrument
JPH0627952A (en) * 1992-07-08 1994-02-04 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP3596024B2 (en) * 1994-03-15 2004-12-02 ヤマハ株式会社 Electronic musical instrument
JP4003853B2 (en) * 1998-07-06 2007-11-07 株式会社河合楽器製作所 Electronic musical instruments
JP3615952B2 (en) * 1998-12-25 2005-02-02 株式会社河合楽器製作所 Electronic musical instruments
JP4670686B2 (en) * 2006-03-03 2011-04-13 ヤマハ株式会社 Code display device and program

Also Published As

Publication number Publication date
JP2009223254A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
JP5041015B2 (en) Electronic musical instrument and musical sound generation program
JP5168297B2 (en) Automatic accompaniment device and automatic accompaniment program
US8026437B2 (en) Electronic musical instrument generating musical sounds with plural timbres in response to a sound generation instruction
JP4748011B2 (en) Electronic keyboard instrument
EP2884485B1 (en) Device and method for pronunciation allocation
JP5347289B2 (en) Performance device and performance processing program
JP4471697B2 (en) Electronic musical instruments
JP5470728B2 (en) Performance control apparatus and performance control processing program
JP6023467B2 (en) Automatic accompaniment device for electronic keyboard instruments
JP4492923B2 (en) Electronic musical instrument function assignment device
JP5640308B2 (en) Performance device and performance processing program
JP2010117419A (en) Electronic musical instrument
JP7679742B2 (en) Information processing device, electronic musical instrument, tone sequence generating method and program
JP4424310B2 (en) Electronic musical instruments
JP5453966B2 (en) Musical sound generating device and musical sound generating program
JP5560574B2 (en) Electronic musical instruments and automatic performance programs
JP2009025503A (en) Electronic musical instruments
WO2002080138A1 (en) Musical instrument
JP5917284B2 (en) Fraction code determination device
JP2009223257A (en) Music player
JP5256764B2 (en) Performance control apparatus and performance control processing program
JP2025144031A (en) Information processing device, electronic musical instrument, method and program
JPH09160557A (en) Electronic keyed instrument
JP2007240558A (en) Chord detection area setting device, chord display device with same device, and program thereof
JP2009139690A (en) Electronic keyboard instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130522

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130805

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees