JP5470728B2 - Performance control apparatus and performance control processing program - Google Patents

Performance control apparatus and performance control processing program Download PDF

Info

Publication number
JP5470728B2
JP5470728B2 JP2008070727A JP2008070727A JP5470728B2 JP 5470728 B2 JP5470728 B2 JP 5470728B2 JP 2008070727 A JP2008070727 A JP 2008070727A JP 2008070727 A JP2008070727 A JP 2008070727A JP 5470728 B2 JP5470728 B2 JP 5470728B2
Authority
JP
Japan
Prior art keywords
key
voice input
range
keyboard
external
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
JP2008070727A
Other languages
Japanese (ja)
Other versions
JP2009223255A (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 JP2008070727A priority Critical patent/JP5470728B2/en
Publication of JP2009223255A publication Critical patent/JP2009223255A/en
Application granted granted Critical
Publication of JP5470728B2 publication Critical patent/JP5470728B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

従来より、ひとつの鍵盤の低鍵域と高鍵域とを別々の演奏者に演奏させる、いわゆる連奏機能、あるいはデュエット機能を有する楽器が提案されている。
この連奏機能を有する楽器においては、夫々の演奏者が同じ音域で演奏できるように、鍵域毎に別々にオクターブ変換している。
例えば、特許文献1においては、鍵盤を鍵番号SPをスプリット位置として低鍵域と高鍵域とに分割し、低鍵域においては、押鍵により指定される楽音の音高を通常より2オクターブアップし、高鍵域においては、2オクターブダウンする構成が開示されている。
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.
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つの鍵域で発生する楽音の音高が重複する部分が生じるようにした構成が開示されている。
さらに特許文献3には、鍵盤を2つの鍵域に分割した際、第1の鍵域の中央に位置する鍵の本来のオクターブ値と、第1の鍵域に設定された音色の基準音域のオクターブ値とに基づいてオクターブシフト量を算出することにより、音色毎の基準音域が各鍵域の略中央に配置される構成が開示されている。
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.
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

ひとつの鍵盤を複数の鍵域に分けて別々の演奏者が演奏する場合、演奏に用いられる鍵域が狭くなる、という問題が出てくる。しかしながら、鍵盤の鍵数、大きさは予め決まっており、各演奏者が望むだけの鍵域配分をすることは不可能である。   When a single player is divided into a plurality of key ranges and performed by different performers, there arises a problem that the key range used for the performance becomes narrow. However, the number of keys and the size of the keyboard are determined in advance, and it is impossible to distribute the key range as desired by each player.

しかしながら演奏の形態によっては、それほどの鍵域を必要としない場合もありうる。例えば近年電子楽器にはマイク入力機能があり、歌唱しながら演奏することも可能になってきている。このようなボーカル担当の演奏者はそれほど鍵域を必要としないのが現実である。   However, depending on the form of performance, there may be a case where not much key range is required. For example, electronic musical instruments have a microphone input function in recent years, and it has become possible to perform while singing. The reality is that such vocalists don't need that much key.

このように、演奏の形態にあわせて鍵域配分を変更させれば、演奏がやりやすくなるうえに鍵盤を効率よく使えるようになるが、演奏者の演奏形態が変わる毎に、いちいち鍵域変更を行なう操作をすることは非常に面倒である。   In this way, if you change the key range according to the performance form, it will be easier to play and you will be able to use the keyboard more efficiently. It is very troublesome to perform the operation.

本発明は、このような事情に鑑みてなされたものであり、演奏の形態に応じてより効率的な鍵域配分を自動的に行なうことができるようにすることを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to enable more efficient key range allocation automatically in accordance with a performance form.

上記目的を達成するため、請求項1に記載の発明では、夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更手段と、このオクターブ変更手段により変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示手段と、前記鍵盤の複数の鍵域夫々に対応して設けられた外部音声入力手段と、この外部音声入力手段のいずれかが音声入力可能であるかを検出する検出手段と、この検出手段により検出された音声入力可能な状態にある前記外部音声入力手段に対応する鍵域を所定範囲狭めるとともに、音声入力可能な状態にない前記外部音声入力手段に対応する鍵域を前記所定範囲広める鍵域変更手段と、を有することを特徴とする。
また、請求項1に従属する請求項2に記載の発明では、前記外部音声入力手段は、外部音声を検出する音声検出手段を接続する複数の入力端子からなり、前記検出手段は、当該音声検出手段が前記入力端子のいずれかに接続されたか否かを検出することを特徴とする。
また、請求項1に従属する請求項3に記載の発明では、前記鍵域変更手段は、前記検出手段により前記外部音声入力手段全てが音声入力可能な状態にある場合及び全てが音声入力可能な状態にない場合は、前記鍵盤の各鍵域を予め指定された範囲に設定することを特徴とする。
さらに、請求項4に記載の発明では、夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、前記鍵盤の複数の鍵域夫々に対応して設けられた外部音声入力手段と、を有する演奏装置に適用されるコンピュータに、前記鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更ステップと、この変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示ステップと、前記外部音声入力手段のいずれかが音声入力可能であるかを検出する検出ステップと、この検出された音声入力可能な状態にある前記外部音声入力手段に対応する鍵域を所定範囲狭めるとともに、音声入力可能な状態にない前記外部音声入力手段に対応する鍵域を前記所定範囲広める鍵域変更ステップと、を実行させることを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, there is provided a keyboard having a plurality of keys sequentially assigned with key numbers for designating the pitches of musical sounds to be pronounced, and any one of the keys. When a key is pressed, an octave changing means for changing the key number of the pressed key by a predetermined octave corresponding to the key range to which the pressed key belongs, and the octave changing means Tone generation instruction means for instructing the generation of musical tones corresponding to the changed key number, external sound input means provided corresponding to each of the plurality of key ranges of the keyboard, and the external sound input means A detecting means for detecting whether any of the voices can be input, and a key range corresponding to the external voice input means in a state where the voice input is detected, which is detected by the detecting means, can be narrowed to a predetermined range, and voice can be input. State A key range changing means for a key range spread the predetermined range corresponding to have the external audio input means, and having a.
Further, in the invention according to claim 2 dependent on claim 1, the external sound input means comprises a plurality of input terminals for connecting sound detection means for detecting external sound, and the detection means comprises the sound detection means. It is characterized by detecting whether the means is connected to one of the input terminals.
Further, in the invention according to claim 3 that is dependent on claim 1, the key range changing means is capable of inputting voice when all of the external voice input means are ready for voice input by the detecting means and when all of the voice input is possible. When not in a state, each key range of the keyboard is set in a predesignated range.
Furthermore, the invention according to claim 4 corresponds to a keyboard having a plurality of keys to which a key number for designating the pitch of a musical tone to be pronounced is assigned, and a plurality of key ranges of the keyboard. Corresponding to the key range to which the pressed key belongs when a key of the keyboard is pressed to a computer applied to a performance device having external audio input means provided An octave change step for changing the key number of the key that has been pressed by the set octave, a musical sound generation instruction step for instructing the generation of a musical tone corresponding to the changed key number, and the external audio input A detecting step for detecting whether any of the means is capable of voice input, and a state in which the key range corresponding to the detected external voice input means in a state in which the detected voice input is possible is narrowed to a predetermined range and voice input is possible A key range changing step of the key range spread the predetermined range corresponding to no the external audio input means and thereby the execution.

上記発明によれば、マイクの接続状態に応じて鍵域配分を変えるようにしたので、演奏の形態に応じてより効率的な鍵域配分を自動的に行なうことができる   According to the above invention, since the key range distribution is changed according to the connection state of the microphone, more efficient key range distribution can be automatically performed according to the performance form.

以下、本発明の実施形態について説明する。
図1は、本発明を適用した電子鍵盤楽器の外観図である。
楽器本体には、88鍵を有する鍵盤1、ノーマルモードとデュエットモードに切り替えるデュエットスイッチ2を有する。そして、楽器本体の両端には、マイク入力端子3a、3bが設けられ、各端子にはマイク4a、4bが接続されている。
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 keyboard 1 having 88 keys and a duet switch 2 for switching between a normal mode and a duet mode. At both ends of the instrument body, microphone input terminals 3a and 3b are provided, and microphones 4a and 4b are connected to the terminals.

鍵盤1の各鍵には、ノーマルモードにおいては、MIDI NOTE番号21〜108が割り当てられ、夫々A0〜C8までの音高を指定するように構成される。
一方、デュエットモードにおいて、マイク4a、4bの両方が接続されている場合、あるいは両方とも接続されていない場合は、スプリットポイントの位置5より低鍵域に含まれる39鍵には、MIDI NOTE番号45〜83が割り当てられ、夫々A2〜B5までの音高を指定するように構成される。また、スプリットポイントの位置5より高鍵域に含まれる49鍵には、MIDI NOTE番号36〜84が割り当てられ、夫々C2〜C6までの音高を指定するように構成される。
In the normal mode, MIDI NOTE numbers 21 to 108 are assigned to the keys of the keyboard 1, and the pitches A0 to C8 are designated.
On the other hand, in the duet mode, when both microphones 4a and 4b are connected, or when both are not connected, the 39 keys included in the key range lower than the split point position 5 include MIDI NOTE number 45. ˜83 are assigned, and are configured to designate pitches A2 to B5, respectively. In addition, MIDI NOTE numbers 36 to 84 are assigned to 49 keys included in the high key range from position 5 of the split point, and are configured to designate pitches from C2 to C6, respectively.

そして本実施形態においては、このデュエットモードにおいて、マイク4aのみが接続されている場合は、スプリットポイントが2オクターブ分だけ低鍵域方向の位置6に移動するように構成されている。したがって、スプリットポイントの位置6より低鍵域に含まれる15鍵には、MIDI NOTE番号69〜83が割り当てられ、夫々A4〜B5までの音高を指定するように構成され、残りの73鍵には、MIDI NOTE番号12〜84が割り当てられ、夫々C0〜C6までの音高を指定するように構成される。   In this embodiment, when only the microphone 4a is connected in this duet mode, the split point is moved to the position 6 in the low key range direction by two octaves. Accordingly, MIDI NOTE numbers 69 to 83 are assigned to 15 keys included in the lower key range from position 6 of the split point, and are configured to designate pitches A4 to B5, respectively. Are assigned MIDI NOTE numbers 12 to 84, and are configured to designate pitches from C0 to C6, respectively.

そして、マイク4bのみが接続されている場合は、スプリットポイントが2オクターブ分だけ高鍵域方向の位置7に移動するように構成されている。したがって、スプリットポイントの位置7より低鍵域に含まれる64鍵には、MIDI NOTE番号45〜107が割り当てられ、夫々A2〜B7までの音高を指定するように構成され、残りの24鍵には、MIDI NOTE番号36〜60が割り当てられ、夫々C2〜C4までの音高を指定するように構成される。   When only the microphone 4b is connected, the split point is moved to the position 7 in the high key range direction by two octaves. Therefore, MIDI NOTE numbers 45 to 107 are assigned to 64 keys included in the lower key range from the position 7 of the split point, and are configured to designate pitches from A2 to B7, respectively. Are assigned MIDI NOTE numbers 36-60, and are configured to designate pitches C2-C4, respectively.

図2は、本実施形態に係る電子鍵盤楽器の構成を示すブロック図である。
CPU10は、この電子鍵盤楽器全体の動作を処理するものであり、プログラムROM11は、このCPU10の処理を制御するためのプログラムを記憶するものである。またワークRAM12は、CPU10の処理時にデータを一時的に記憶するためのものである。
FIG. 2 is a block diagram showing the configuration of the electronic keyboard instrument according to this embodiment.
The CPU 10 processes the entire operation of the electronic keyboard instrument, and the program ROM 11 stores a program for controlling the processing of the CPU 10. The work RAM 12 is for temporarily storing data during processing by the CPU 10.

マイクインターフェース13は、前述のマイク4a、4bが接続されており、このマイク4a、4bが接続端子3a、3bに接続されているか否かを検出するとともに、マイク4a、4bによって検出された音声信号をミキサ14に供給する。   The microphone interface 13 is connected to the microphones 4a and 4b described above. The microphone interface 13 detects whether or not the microphones 4a and 4b are connected to the connection terminals 3a and 3b, and the audio signal detected by the microphones 4a and 4b. Is supplied to the mixer 14.

音源15は、前述の鍵盤1のいずれかの鍵の押鍵・離鍵に基づいてCPU10で生成されたノートオン・ノートオフィベントが供給されると、これらイベントに基づいた音高の楽音信号を生成する。この生成された楽音信号は、マイク4a、4bからの音声信号とともにミキサ14にて混合されて発音部16に供給されて楽音及び音声が発音される。
そしてCPU10、プログラムROM11、ワークRAM12、マイクインターフェース13、音源15、前述の鍵盤1及びガイドスイッチ等のスイッチ部2は、バスライン17を介して接続される。
When the note-on-note offense generated by the CPU 10 based on the key press / release of any key of the keyboard 1 is supplied, the tone generator 15 receives a musical signal having a pitch based on these events. Generate. The generated musical sound signal is mixed with the audio signals from the microphones 4a and 4b by the mixer 14 and supplied to the sound generation unit 16 to generate musical sounds and sounds.
The CPU 10, the program ROM 11, the work RAM 12, the microphone interface 13, the sound source 15, the keyboard 1 and the switch unit 2 such as a guide switch are connected via a bus line 17.

このような構成を有することにより、CPU10は、ガイドスイッチ2の操作に対応してノーマルモードかデュエットモードか判別して、ノーマルモードからデュエットモードに切り替わった場合は、鍵盤1の鍵域を特定のスプリットポイント位置、たとえばノーマルモード時に鍵番号60(音高がC4)で分割し、低鍵域は各鍵に割り当てられた音高を2オクターブアップさせ、高鍵域は2オクターブダウンさせる処理を行う。さらに、マイク4aが接続端子3aに接続されると、スプリットポイント位置を2オクターブ低域側にシフトさせ、逆に、マイク4bが接続端子3bに接続されると、スプリットポイント位置を2オクターブ高域側にシフトさせる処理を行う。   By having such a configuration, the CPU 10 determines whether the normal mode or the duet mode is selected in response to the operation of the guide switch 2, and when the normal mode is switched to the duet mode, the key range of the keyboard 1 is specified. At the split point position, for example, in normal mode, the key number 60 (pitch is C4) is divided, and the pitch assigned to each key is increased by two octaves for the low key range, and the processing for lowering the octave by two octaves is performed. Further, when the microphone 4a is connected to the connection terminal 3a, the split point position is shifted to the 2 octave low frequency side. Conversely, when the microphone 4b is connected to the connection terminal 3b, the split point position is shifted to the 2 octave high frequency range. Shift to the side.

図3は、CPU10の処理動作全体を示すフローチャートである。
電源(図示せず)がオンされると、CPU10の内部レジスタ及びワークRAM12を初期化するイニシャライズ処理(ステップA0)を実行する。次いで外部より操作されたスイッチに対応するスイッチ処理(ステップA1)、マイクの接続状態に対応するマイク処理(ステップA2)、鍵盤1に対応する押鍵・離鍵に対応する鍵盤処理(ステップA3)、そしてその他の処理(ステップA4)の順で実行される。このうち、ステップA1〜A4は、電源がオフされるまで繰り返し実行される。
FIG. 3 is a flowchart showing the entire processing operation of the CPU 10.
When a power supply (not shown) is turned on, an initialization process (step A0) for initializing the internal registers of the CPU 10 and the work RAM 12 is executed. Next, switch processing corresponding to the switch operated from the outside (step A1), microphone processing corresponding to the connection state of the microphone (step A2), keyboard processing corresponding to key press / release corresponding to the keyboard 1 (step A3) , And other processes (step A4) are executed in this order. Among these, steps A1 to A4 are repeatedly executed until the power is turned off.

図4は、スイッチ処理(図3のステップA1)の詳細なフローチャートを示す。まず、デュエットスイッチ2が外部操作によりオンとなったか否か判別する(ステップB1)。デュエットスイッチ2がオンでないならば、その他のスイッチの処理(ステップB2)を行ってこの処理を終了する。
デュエットスイッチ2がオンならば、デュエットモードか否かを判別するデュエットフラグDFの値を反転させる(ステップB3)。ここで、デュエットフラグDFが「1」、つまりデュエットモードであるか否か判別する(ステップB4)。デュエットモードである場合は、スプリットポイント位置に対応する鍵番号を記憶するレジスタSPに「60」をストアして(ステップB5)、その後ステップB2の処理に移行する。デュエットモードでない場合は、ステップB4から直接ステップB2に移行する。
FIG. 4 shows a detailed flowchart of the switch process (step A1 in FIG. 3). First, it is determined whether or not the duet switch 2 is turned on by an external operation (step B1). If the duet switch 2 is not on, the other switch processing (step B2) is performed and the processing is terminated.
If the duet switch 2 is on, the value of the duet flag DF for determining whether or not the duet mode is set is reversed (step B3). Here, it is determined whether or not the duet flag DF is “1”, that is, the duet mode (step B4). In the case of the duet mode, “60” is stored in the register SP storing the key number corresponding to the split point position (step B5), and then the process proceeds to step B2. If it is not in the duet mode, the process proceeds directly from step B4 to step B2.

図5は、マイク処理(図3のステップA2)の詳細なフローチャートである。
まず、マイクインターフェース13からの出力により、マイク4aが接続端子3aに接続されているか否か判別し(ステップC1)、接続されていると判別されたならフラグMAFを「1」にし(ステップC2)、接続されていないと判別されたならフラグMAFを「0」とする(ステップC3)。
FIG. 5 is a detailed flowchart of the microphone process (step A2 in FIG. 3).
First, based on the output from the microphone interface 13, it is determined whether or not the microphone 4a is connected to the connection terminal 3a (step C1). If it is determined that the microphone 4a is connected, the flag MAF is set to “1” (step C2). If it is determined that the connection is not established, the flag MAF is set to “0” (step C3).

次いで、マイク4bが接続端子3bに接続されているか否か判別し(ステップC4)、接続されていると判別されたならフラグMBFを「1」にし(ステップC5)、接続されていないと判別されたならフラグMBFを「0」とする(ステップC6)。
そして、フラグMAFとMBFとの値が一致しているか否か、つまり両フラグが共に「0」または「1」であるか判別する(ステップC7)。もし一致しているなら、つまりマイクが両方接続されているか、あるいは両方接続されていない場合はレジスタSPに「60」の値をストアするとともに、高鍵域での音高のシフト分を示す値である「24」をレジスタSF1にストア、低鍵域での音高のシフト分を示す値である「24」をレジスタSF2にストアする(ステップC8)。
Next, it is determined whether or not the microphone 4b is connected to the connection terminal 3b (step C4). If it is determined that it is connected, the flag MBF is set to “1” (step C5), and it is determined that it is not connected. If so, the flag MBF is set to “0” (step C6).
Then, it is determined whether or not the values of the flags MAF and MBF match, that is, whether both flags are “0” or “1” (step C7). If they match, that is, if both microphones are connected or both are not connected, the value of “60” is stored in the register SP, and the value indicates the shift of the pitch in the high key range. “24” is stored in the register SF1, and “24”, which is a value indicating the pitch shift in the low key range, is stored in the register SF2 (step C8).

一方、ステップC7でフラグMAFとMBFの値が一致していないと判別された場合、フフグMAFが「1」、つまりマイク4aのみが接続されているか否か判別する(ステップC9)。ここでマイク4aのみが接続されている、と判別されたならレジスタSPに「36」の値を、レジスタSF1に「48」をレジスタSF2に「24」をストアする(ステップC10)。逆にマイク4bのみが接続されている、と判別されたならレジスタSPに「86」の値を、レジスタSF1に「24」をレジスタSF2に「48」をストアする(ステップC11)。   On the other hand, if it is determined in step C7 that the values of the flags MAF and MBF do not match, it is determined whether or not the puffer MAF is “1”, that is, only the microphone 4a is connected (step C9). If it is determined that only the microphone 4a is connected, “36” is stored in the register SP, “48” is stored in the register SF1, and “24” is stored in the register SF2 (step C10). Conversely, if it is determined that only the microphone 4b is connected, the value of “86” is stored in the register SP, “24” is stored in the register SF1, and “48” is stored in the register SF2 (step C11).

図6および図7は、鍵盤処理(図3のステップA3)の詳細なフローチャートを示す。
まず、鍵盤1を走査する(ステップD1)。この走査により、鍵のいずれかに状態の変化があったか否か判別する(ステップD2)。もし変化がないと判別されたなら、この処理は終了する。逆に変化が検出されたならば、変化の検出された鍵の鍵番号をレジスタNにストアする(ステップD3)。
6 and 7 show a detailed flowchart of the keyboard process (step A3 in FIG. 3).
First, the keyboard 1 is scanned (step D1). By this scanning, it is determined whether or not the state of any of the keys has changed (step D2). If it is determined that there is no change, the process ends. On the contrary, if a change is detected, the key number of the detected key is stored in the register N (step D3).

続いてデュエットフラグDFが「0」、つまりノーマルモードか否か判別される(ステップD4)。ノーマルモードであるならば、ステップD5に進み、鍵の状態変化がオフからオンに変化したのか(押鍵)、逆にオンからオフに変化したのか(離鍵)を判別する。押鍵と判別されたならステップD6に進み、レジスタNにストアされた鍵番号に基づくノートオンコマンドを作成する。離鍵と判別されたならステップD7に進み、レジスタNにストアされた鍵番号に基づくノートオフコマンドを作成する。そして、こうして作成されたノートコマンドは音源14に送付され、レジスタNにストアされていた鍵番号に対応する音高の楽音信号を発生又は停止させる。   Subsequently, it is determined whether or not the duet flag DF is “0”, that is, the normal mode (step D4). If it is in the normal mode, the process proceeds to step D5, where it is determined whether the key state change has been changed from OFF to ON (key depression), or conversely whether it has been changed from ON to OFF (key release). If it is determined that the key has been pressed, the process proceeds to step D6, and a note-on command based on the key number stored in the register N is created. If it is determined that the key has been released, the process proceeds to step D7, and a note-off command based on the key number stored in the register N is created. The note command created in this way is sent to the sound source 14, and a musical tone signal having a pitch corresponding to the key number stored in the register N is generated or stopped.

一方、ステップD4において、デュエットフラグDFが「1」、つまりデュエットモードである場合は、図7のステップD9に進み、鍵の状態変化がオフからオンに変化したのか(押鍵)、逆にオンからオフに変化したのか(離鍵)を判別する。押鍵と判別されたならレジスタNにストアされている押鍵された鍵番号が、レジスタSPに記憶されているスプリット位置に対応する鍵の鍵番号より大きいか否か判別される(ステップD10)。ここで大きいと判別された場合は、押鍵された鍵が高鍵域に属することを意味し、レジスタNの値からレジスタSF2の値を減算する(ステップD11)。逆に小さいと判別されたなら、押鍵された鍵が低鍵域に属することを意味し、レジスタNの値にレジスタSF1の値を加算する(ステップD12)。この後、図6のステップD6に進み、この変更されたレジスタNの値に基づいてノートオンコマンドを作成する。   On the other hand, if the duet flag DF is “1” in step D4, that is, in the duet mode, the process proceeds to step D9 in FIG. 7 to determine whether the key state change has been changed from off to on (key depression). It is determined whether or not the key has changed to off (key release). If it is determined that the key is depressed, it is determined whether or not the depressed key number stored in the register N is larger than the key number of the key corresponding to the split position stored in the register SP (step D10). . If it is determined that the key is large, it means that the key pressed belongs to the high key range, and the value of the register SF2 is subtracted from the value of the register N (step D11). On the contrary, if it is determined that the key is small, it means that the pressed key belongs to the low key range, and the value of the register SF1 is added to the value of the register N (step D12). Thereafter, the process proceeds to step D6 in FIG. 6, and a note-on command is created based on the changed value of the register N.

また、ステップD9において、離鍵と判断されたなら、レジスタNにストアされている離鍵された鍵番号が、レジスタSPに記憶されているスプリット位置に対応する鍵の鍵番号より大きいか否か判別される(ステップD13)。ここで大きいと判別された場合は、離鍵された鍵が高鍵域に属することを意味し、レジスタNの値からレジスタSF1の値を算する(ステップD14)。逆に小さいと判別されたなら、離鍵された鍵が低鍵域に属することを意味し、レジスタNの値にレジスタSF2の値を算する(ステップD15)。この後、図6のステップD7に進み、この変更されたレジスタNの値に基づいてノートオフコマンドを作成する。 If it is determined in step D9 that the key is released, whether or not the released key number stored in the register N is larger than the key number of the key corresponding to the split position stored in the register SP. It is determined (step D13). If it is determined to be larger here, means that the released key belongs to a high key range, the value of the register SF1 from the value of the register N to the summing (step D14). If it is determined that a small Conversely, the released key is meant that belong to a low key range, to subtract the value of the register SF2 to the value of the register N (Step D15). Thereafter, the process proceeds to step D7 in FIG. 6, and a note-off command is created based on the changed value of the register N.

このように、本実施形態においては、マイク4a、4bのいずれかが接続されると、接続されたマイク側に対応する鍵域を狭めるようにしている。通常、マイクを使う場合は、歌唱の方が主となること、及び鍵盤演奏は旋律のみを担当することとなり、それほど広い鍵域を必要としない。このため、マイクを使って演奏する演奏者に対応する鍵域を狭める分、他の演奏者に割り当てられた鍵域を広くして、このデュエット機能を有する楽器特有の問題点である、割り当てられる鍵域が狭い、という問題を解消したものである。   Thus, in this embodiment, when any of the microphones 4a and 4b is connected, the key range corresponding to the connected microphone side is narrowed. Normally, when using a microphone, the singing is the main one, and the keyboard performance is in charge of only the melody, so a very wide keyboard range is not required. For this reason, the key range assigned to other performers is widened by narrowing the key range corresponding to the performer who performs using the microphone, and this is a problem peculiar to instruments having this duet function. This solves the problem of a narrow key range.

本実施形態においては、マイクを使う演奏者に割り当てられる鍵域を2オクターブ分狭めて、その分だけ他の演奏者の鍵域を広めているが、このオクターブ数は、1オクターブであっても、あるいは3オクターブであってもよい。   In this embodiment, the key range assigned to the player who uses the microphone is narrowed by two octaves, and the other player's key range is widened by that amount, but this octave number may be one octave. Alternatively, it may be 3 octaves.

また本実施形態においては、接続端子3a、3bにマイク4a、4bが接続されたか否かを検知してスプリットポイントの位置を変更しているが、接続されたマイク4a、4bの電源がオンされたか否かを検出してもよいし、マイクに一定レベル以上の音声が入力したか否かを検出するようにしてもよい。   In this embodiment, the position of the split point is changed by detecting whether or not the microphones 4a and 4b are connected to the connection terminals 3a and 3b. However, the connected microphones 4a and 4b are turned on. It may be detected whether or not sound of a certain level or more is input to the microphone.

本発明を適用した電子鍵盤楽器の外観図である。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処理(ステップA1)の詳細なフローチャートである。It is a detailed flowchart of SW processing (step A1) of FIG. 図3のマイク処理(ステップA2)の詳細なフローチャートである。It is a detailed flowchart of the microphone process (step A2) 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).

符号の説明Explanation of symbols

1 鍵盤
2 デュエットスイッチ
3a、3b マイク入力端子
4a、4b マイク
10 CPU
11 プログラムROM
12 ワークRAM
13 マイクインターフェース
14 ミキサ
15 音源
1 Keyboard 2 Duet Switch 3a, 3b Microphone Input Terminal 4a, 4b Microphone 10 CPU
11 Program ROM
12 Work RAM
13 Microphone interface 14 Mixer 15 Sound source

Claims (4)

夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、
この鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更手段と、
このオクターブ変更手段により変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示手段と、
前記鍵盤の複数の鍵域夫々に対応して設けられた外部音声入力手段と、
この外部音声入力手段のいずれかが音声入力可能であるかを検出する検出手段と、
この検出手段により検出された音声入力可能な状態にある前記外部音声入力手段に対応する鍵域を所定範囲狭めるとともに、音声入力可能な状態にない前記外部音声入力手段に対応する鍵域を前記所定範囲広める鍵域変更手段と、
を有する演奏装置。
A keyboard having a plurality of keys sequentially assigned with key numbers for designating the pitches of musical notes to be pronounced,
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; ,
Musical tone generation instructing means for instructing the generation of musical tones corresponding to the key number changed by the octave changing means;
External voice input means provided corresponding to each of a plurality of key ranges of the keyboard;
Detecting means for detecting whether any of the external voice input means can input voice;
The key range corresponding to the external voice input unit that is in a voice input enabled state detected by the detection unit is narrowed to a predetermined range, and the key range corresponding to the external voice input unit that is not in a voice input enabled state is set to the predetermined range. Key range changing means to widen the range,
A performance device having
前記外部音声入力手段は、外部音声を検出する音声検出手段を接続する複数の入力端子からなり、前記検出手段は、当該音声検出手段が前記入力端子のいずれかに接続されたか否かを検出することを特徴とする請求項1記載の演奏装置。   The external audio input means includes a plurality of input terminals to which audio detection means for detecting external audio is connected, and the detection means detects whether the audio detection means is connected to any of the input terminals. The performance device according to claim 1. 前記鍵域変更手段は、前記検出手段により前記外部音声入力手段全てが音声入力可能な状態にある場合及び全てが音声入力可能な状態にない場合は、前記鍵盤の各鍵域を予め指定された範囲に設定することを特徴とする請求項1記載の演奏装置。   The key range changing means is predesignated for each key range of the keyboard when the detecting means is in a state where all of the external voice input means are capable of voice input and when not all are capable of voice input. The performance device according to claim 1, wherein the performance device is set to a range. 夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、前記鍵盤の複数の鍵域夫々に対応して設けられた外部音声入力手段と、を有する演奏装置に適用されるコンピュータに、
前記鍵盤のいずれかの鍵が押鍵された場合に、押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、押鍵された鍵の鍵番号を変更するオクターブ変更ステップと、
この変更された鍵番号に対応する音高の楽音の発生を指示する楽音発生指示ステップと、
前記外部音声入力手段のいずれかが音声入力可能であるかを検出する検出ステップと、
この検出された音声入力可能な状態にある前記外部音声入力手段に対応する鍵域を所定範囲狭めるとともに、音声入力可能な状態にない前記外部音声入力手段に対応する鍵域を前記所定範囲広める鍵域変更ステップと、
を実行させる演奏制御処理のプログラム。
A keyboard having a plurality of keys sequentially assigned with key numbers for designating the pitches of musical sounds to be pronounced, and external voice input means provided corresponding to each of the plurality of key ranges of the keyboard; In a computer applied to a performance device having
An octave change step for changing the key number of the key that has been pressed by a predetermined number of octaves corresponding to the key range to which the pressed key belongs when any key on the keyboard is pressed; ,
A musical sound generation instruction step for instructing the generation of musical tones corresponding to the changed key number;
A detection step of detecting whether any of the external voice input means is capable of voice input;
A key that narrows the key range corresponding to the detected external voice input means that is in a voice input enabled state and expands the key range corresponding to the external voice input means that is not in a voice input enabled state. Area change step;
A program of performance control processing that executes.
JP2008070727A 2008-03-19 2008-03-19 Performance control apparatus and performance control processing program Expired - Fee Related JP5470728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008070727A JP5470728B2 (en) 2008-03-19 2008-03-19 Performance control apparatus and performance control processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008070727A JP5470728B2 (en) 2008-03-19 2008-03-19 Performance control apparatus and performance control processing program

Publications (2)

Publication Number Publication Date
JP2009223255A JP2009223255A (en) 2009-10-01
JP5470728B2 true JP5470728B2 (en) 2014-04-16

Family

ID=41240053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008070727A Expired - Fee Related JP5470728B2 (en) 2008-03-19 2008-03-19 Performance control apparatus and performance control processing program

Country Status (1)

Country Link
JP (1) JP5470728B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7331366B2 (en) * 2019-01-22 2023-08-23 ヤマハ株式会社 Performance system, performance mode setting method and performance mode setting device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5713489A (en) * 1980-06-27 1982-01-23 Nippon Musical Instruments Mfg Electronic musical instrument
JP4402853B2 (en) * 2001-07-09 2010-01-20 ローランド株式会社 Performance data generation method and electronic keyboard instrument
JP4670686B2 (en) * 2006-03-03 2011-04-13 ヤマハ株式会社 Code display device and program

Also Published As

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

Similar Documents

Publication Publication Date Title
US8017856B2 (en) Electronic musical instrument
JP2011158854A (en) Electronic musical instrument and musical tone generation program
US8802956B2 (en) Automatic accompaniment apparatus for electronic keyboard musical instrument and fractional chord determination apparatus used in the same
EP2405421B1 (en) Editing of drum tone color in drum kit
US8026437B2 (en) Electronic musical instrument generating musical sounds with plural timbres in response to a sound generation instruction
JPH0228696A (en) Electronic musical instrument
JP5470728B2 (en) Performance control apparatus and performance control processing program
CN111052222B (en) Musical tone data playing device and musical tone data playing method
JP4258991B2 (en) Musical sound generator and musical sound generation processing program
JP6930144B2 (en) Electronic musical instruments, musical tone generation methods and programs
JP2020064187A (en) Electronic keyboard instrument, method and program
JP4962592B2 (en) Electronic musical instruments and computer programs applied to electronic musical instruments
JP3656781B2 (en) Effect control device
JP4268920B2 (en) Electronic musical instruments
JP5640308B2 (en) Performance device and performance processing program
JP2007240558A (en) Chord detection area setting device, chord display device with same device, and program thereof
JP4492923B2 (en) Electronic musical instrument function assignment device
JP6023467B2 (en) Automatic accompaniment device for electronic keyboard instruments
JP2006039262A (en) Effect imparting apparatus and method therefor
JP5347289B2 (en) Performance device and performance processing program
JP5453966B2 (en) Musical sound generating device and musical sound generating program
JP3933070B2 (en) Arpeggio generator and program
JP2009223257A (en) Music player
JP2005017676A (en) Automatic music player and program
JP2009025503A (en) Electronic musical 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: 20130509

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140120

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