JP2009223256A - Music player and performance processing program - Google Patents

Music player and performance processing program Download PDF

Info

Publication number
JP2009223256A
JP2009223256A JP2008070728A JP2008070728A JP2009223256A JP 2009223256 A JP2009223256 A JP 2009223256A JP 2008070728 A JP2008070728 A JP 2008070728A JP 2008070728 A JP2008070728 A JP 2008070728A JP 2009223256 A JP2009223256 A JP 2009223256A
Authority
JP
Japan
Prior art keywords
key
mode
duet
keyboard
designated
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.)
Granted
Application number
JP2008070728A
Other languages
Japanese (ja)
Other versions
JP5640308B2 (en
Inventor
Tatsuya Dejima
達也 出嶌
Yoshito Yamaguchi
善登 山口
Junichiro Kawahara
潤一郎 川原
Masahide Taki
政英 瀧
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 JP2008070728A priority Critical patent/JP5640308B2/en
Publication of JP2009223256A publication Critical patent/JP2009223256A/en
Application granted granted Critical
Publication of JP5640308B2 publication Critical patent/JP5640308B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily release a duet function with quite common operations even if a person who tries to release the duet function does not have knowledge about operations of a musical instrument. <P>SOLUTION: When shifting to a duet mode, a keyboard 1 is functionally split into a high key area and a low key area at a split point position. When a key is depressed a prescribed number of times within a prescribed time in areas A1 and A2 respectively having one octave band upward and downward around the split point position of the keyboard 1, it can be shifted to a normal mode from the duet mode without operating a duet switch 2. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

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

従来、ひとつの鍵盤の低鍵域と高鍵域とを別々の演奏者に演奏させる連弾機能、いわゆるデュエット機能を通常のノーマルモードとは別のモードとして有する楽器が提案されている。
このデュエット機能を有する楽器においては、夫々の演奏者が同じ音域で演奏できるように、鍵域毎に別々にオクターブ変換している。
例えば、特許文献1においては、鍵盤が鍵番号SPをスプリットポイント位置として低鍵域と高鍵域とに機能的に分割され、低鍵域においては、押鍵により指定される楽音の音高を通常より2オクターブアップし、高鍵域においては、2オクターブダウンする構成が開示されている。
Conventionally, a musical instrument has been proposed which has a repetitive function that allows different performers to play a low key range and a high key range of a single keyboard, a so-called duet function as a mode different from the normal mode.
In an instrument having a duet 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 functionally divided into a low key range and a high key range with the key number SP as the split point position, and in the low key range, the pitch of the musical tone designated by the key press is higher than usual. A configuration is disclosed in which the octave is increased by two octaves and the octave is decreased by two octaves in the high key range.

また、特許文献2においては、押鍵により発生するキー情報に対応する鍵が属する鍵域を判別し、この判別結果に基づいてこの鍵域で発生するキー情報を所望オクターブ量変更させることにより、少なくとも2つの鍵域で発生する楽音の音高が重複する部分が生じるようにした構成が開示されている。
さらに特許文献3には、鍵盤を2つの鍵域に分割した際、第1の鍵域の中央に位置する鍵の本来のオクターブ値と、第1の鍵域に設定された音色の基準音域のオクターブ値とに基づいてオクターブシフト量を算出することにより、音色毎の基準音域が各鍵域の略中央に配置される構成が開示されている。
特許第3586754号公報 特公昭62−35118号公報 特開2000−194369号公報
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.
Japanese Patent No. 3586754 Japanese Examined Patent Publication No. 62-35118 JP 2000-194369 A

通常楽器の店頭販売においては、楽器をデモ用に展示するようにしている。このようなデュエット機能を有していることをPRするためにも、直にユーザーに楽器を演奏させてその使い心地を味合わせることは非常に重要である。
しかしながら、このデュエット機能が起動すると、通常のノーマルな状態と異なって鍵域が変わる毎に発生する楽音の音高が大きく変わる。こういう場合に、その楽器の操作やデュエット機能を熟知しているユーザーであれば、簡単にデュエット機能を解除することができるが、店頭に訪れるユーザーは不特定多数であり、全てのユーザーが操作に熟知している保証はない。
Normally, musical instruments are displayed for demonstration purposes in over-the-counter sales of musical instruments. In order to promote the fact that it has such a duet function, it is very important to let the user play the musical instrument and match the feeling of use.
However, when this duet function is activated, the pitch of the musical sound that is generated every time the key range is changed differs from the normal state. In such cases, users who are familiar with the instrument's operation and duet function can easily cancel the duet function, but there are an unspecified number of users who visit the store, and all users can operate it. There is no guarantee that you are familiar with it.

特に、近年の電子楽器は、多機能化が進み、これに伴う操作の複雑化、スイッチ数の増大が進んでおり、単にデュエット機能を解除する、ということも容易に行なえる環境ではなくなりつつある。もしユーザーが全くの電子楽器初心者であれば、デュエット機能の解除操作に戸惑うばかりでなく、故障した楽器を展示しているという誤った認識をもたれてしまう恐れがある。
本発明は、このような事情に鑑みてなされたものであり、デュエット機能を解除しようとする者が、楽器の操作に熟知していなくとも、きわめて当たり前の操作で簡単にデュエット機能を解除できるようにすることを目的とする。
In particular, electronic musical instruments in recent years have become more and more multifunctional, resulting in more complicated operations and an increase in the number of switches, and it is becoming increasingly difficult to simply cancel the duet function. . If the user is a completely new electronic musical instrument beginner, not only will he be confused by the duet function canceling operation, but he may be misled that he is exhibiting a malfunctioning musical instrument.
The present invention has been made in view of such circumstances, and enables a person who wants to cancel a duet function to easily cancel the duet function by an ordinary operation even if he / she is not familiar with the operation of the musical instrument. The purpose is to.

上記目的を達成するため、請求項1に記載の発明では、夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、外部よりノーマルモードからデュエットモードに切り替えるモード切替手段と、前記鍵盤のいずれかの鍵が押鍵されて鍵番号が指定された場合、前記ノーマルモードが指定されているときは、この指定された鍵番号を接続された楽音生成手段にそのまま出力するとともに、前記モード切替手段によりデュエットモードが指定されているときは、前記押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、前記指定された鍵番号を変更して、前記楽音生成手段に出力するオクターブ変更手段と、前記デュエットモードが指定されているときに、所定時間以内に前記鍵盤の鍵域夫々で所定回数以上の押鍵が検出された場合に、前記デュエットモードを前記ノーマルモードに復帰させるモード復帰手段と、を有することを特徴とする。   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 to which key numbers for designating the pitches of musical sounds to be pronounced are sequentially assigned, and a duet from a normal mode from the outside. Mode switching means for switching to a mode, and when any key on the keyboard is pressed and a key number is specified, and when the normal mode is specified, the musical tone connected to the specified key number When the duet mode is designated by the mode switching means, the designated key number corresponding to the octave set in advance corresponding to the key range to which the depressed key belongs is output. Octave changing means for outputting to the musical sound generating means, and when the duet mode is designated, the keyboard range of the keyboard within a predetermined time When a predetermined number of times or more key pressing is detected by the people, and having a a mode return means for returning to said normal mode said duet mode.

また、請求項1に従属する請求項2に記載の発明では、前記鍵盤は、所定の鍵位置をスプリットポイント位置として低鍵域と高鍵域に分割され、前記モード復帰手段は、前記両鍵域夫々で所定回数以上の押鍵を検出することを特徴とする。   Further, in the invention according to claim 2, which is dependent on claim 1, the keyboard is divided into a low key range and a high key range with a predetermined key position as a split point position, and the mode return means is provided for each of the two key ranges. And detecting a key depression more than a predetermined number of times.

また、請求項1に従属する請求項3に記載の発明では、前記モード復帰手段は、前記スプリットポイント位置を中心とした両鍵域の少なくとも一部を含むエリアにて行なわれる押鍵の検出を行なうことを特徴とする。   Further, in the invention according to claim 3, which is dependent on claim 1, the mode return means detects key depression performed in an area including at least a part of both key ranges centered on the split point position. It is characterized by performing.

さらに、請求項4に記載の発明では、夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、外部よりノーマルモードからデュエットモードに切り替えるモード切替手段と、を有する演奏装置に適用されるコンピュータに、前記鍵盤のいずれかの鍵が押鍵されて鍵番号が指定された場合、前記ノーマルモードが指定されているときは、この指定された鍵番号を接続された楽音生成手段にそのまま出力するとともに、前記モード切替手段によりデュエットモードが指定されているときは、前記押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、前記指定された鍵番号を変更して、前記楽音生成手段に出力するオクターブ変更ステップと、前記デュエットモードが指定されているときに、所定時間以内に前記鍵盤の鍵域夫々で所定回数以上の押鍵が検出された場合に、前記デュエットモードを前記ノーマルモードに復帰させるモード復帰ステップと、を実行させることを特徴とする。   Further, according to the present invention, a keyboard having a plurality of keys to which key numbers for designating musical tones to be pronounced are sequentially assigned, and mode switching for switching from normal mode to duet mode from the outside. And when a normal number is designated when a key of the keyboard is pressed and a key number is designated to a computer applied to a performance apparatus having the means, the designated key is designated. The number is output to the connected musical sound generating means as it is, and when the duet mode is designated by the mode switching means, the number of octaves set in advance corresponding to the key range to which the pressed key belongs, When the designated key number is changed and the octave changing step is output to the musical sound generating means, and the duet mode is designated , If the key range each with depressed more than a predetermined number of the keyboard is detected within a predetermined time, characterized in that to execute a mode return step for returning to the normal mode the duet mode.

楽器の操作に熟知していなくとも、ノーマルモードの演奏においてよく行われるような、きわめて当たり前の操作で簡単にデュエット機能を解除できるようになる。   Even if you are not familiar with the operation of the instrument, you can easily cancel the duet function with the most obvious operation, which is often done in normal mode performances.

以下、本発明の実施形態について説明する。
図1は、本発明を適用した電子鍵盤楽器の外観図である。
楽器本体には、88鍵を有する鍵盤1、ノーマルモードとデュエットモードに切り替えるデュエットスイッチ2を有する。
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.

鍵盤1の各鍵には、ノーマルモードにおいては、MIDI NOTE番号21〜108が割り当てられ、夫々A0〜C8までの音高を指定するように構成される。
一方、デュエットモードにおいて、スプリットポイントの位置より低鍵域に含まれる39鍵には、MIDI NOTE番号45〜83が割り当てられ、夫々A2〜B5までの音高を指定するように構成される。また、スプリットポイントの位置より高鍵域に含まれる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, 39 notes included in the lower key range than the position of the split point are assigned MIDI NOTE numbers 45 to 83, and are configured to designate pitches from A2 to B5, respectively. Also, MIDI NOTE numbers 36 to 84 are assigned to 49 keys included in the high key range from the position of the split point, and are configured to designate pitches from C2 to C6, respectively.

図2は、本実施形態に係る電子鍵盤楽器の構成を示すブロック図である。
CPU10は、この電子鍵盤楽器全体の.動作を処理するものであり、プログラムROM11は、このCPU10の処理を制御するためのプログラムを記憶するものである。ワークRAM12は、CPU10の処理時にデータを一時的に記憶するためのものである。音源13は、前述の鍵盤1のいずれかの鍵の押鍵・離鍵に基づいてCPU10で生成されたノートオン・ノートオフイベントが供給されると、これらイベントに基づいた音高の楽音信号を生成する。
そしてCPU10、プログラムROM11、ワークRAM12、音源13、前述の鍵盤1及びデュエットスイッチ等のスイッチ部2は、バスライン14を介して接続される。
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. When the note-on / note-off event generated by the CPU 10 based on the key press / release of any key of the keyboard 1 is supplied, the tone generator 13 receives a musical signal having a pitch based on these events. Generate.
The CPU 10, the program ROM 11, the work RAM 12, the tone generator 13, the keyboard 1 and the switch unit 2 such as a duet switch are connected via a bus line 14.

このような構成を有することにより、CPU10は、デュエットスイッチ2の操作に対応してノーマルモードかデュエットモードかを判別して、ノーマルモードからデュエットモードに切り替わった場合は、鍵盤1の鍵域を特定のスプリットポイント位置、たとえばノーマルモード時における鍵番号60(音高がC4)の位置で機能的に分割し、低鍵域は各鍵に割り当てられた音高を2オクターブアップさせ、高鍵域では2オクターブダウンさせる処理を行う。   By having such a configuration, the CPU 10 determines whether the mode is the normal mode or the duet mode corresponding to the operation of the duet switch 2, and specifies the key range of the keyboard 1 when switching from the normal mode to the duet mode. Is divided at the split point position, for example, the key number 60 (pitch is C4) in the normal mode, and the low key range increases the pitch assigned to each key by two octaves, and the high key range has two octaves. Process to bring down.

そして、スプリットポイント位置に相当する鍵を中心に高鍵域側に1オクターブ(図1においてはA1で示す)、低鍵域側に1オクターブ(図1においてはA2で示す)の範囲内で所定数以上の押鍵があった場合は、デュエットスイッチ2を操作する必要なく、デュエットモードからノーマルモードに変更することが可能になる。   A predetermined number or more within the range of one octave (indicated by A1 in FIG. 1) and one octave (indicated by A2 in FIG. 1) on the low key range centering on the key corresponding to the split point position. When the key is depressed, it is possible to change from the duet mode to the normal mode without having to operate the duet switch 2.

図3は、CPU10の処理動作全体を示すフローチャートである。
電源(図示せず)がオンされると、CPU10の内部レジスタ及びワークRAM12を初期化するイニシャライズ処理(ステップA0)を実行する。次いで外部より操作されたスイッチに対応するスイッチ処理(ステップA1)、鍵盤1に対応する押鍵・離鍵に対応する鍵盤処理(ステップA2)、そしてその他の処理(ステップA3)の順で実行される。このうち、ステップA1〜A3は、電源がオフされるまで繰り返し実行される。
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 (step A1) corresponding to the switch operated from the outside, keyboard processing corresponding to key depression / key release corresponding to keyboard 1 (step A2), and other processing (step A3) are executed in this order. The Among these, steps A1 to A3 are repeatedly executed until the power is turned off.

図4は、スイッチ処理(図3のステップA1)の詳細なフローチャートを示す。
まず、デュエットスイッチ2が外部操作によりオンとなったか否か判別する(ステップB1)。デュエットスイッチ2がオンでないならば、その他のスイッチの処理(ステップB7)を行ってこの処理を終了する。
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 B7) is performed and the processing is terminated.

デュエットスイッチ2がオンならば、デュエットモードか否かを判別するデュエットフラグDFが「0」であるか否か判別する(ステップB2)。ここで、デュエットフラグDFが「0」、つまりノーマルモードである場合は、フラグDFを「1」、つまりデュエットモードにする(ステップB3)。そして、所定の低鍵域での押鍵数をカウントするレジスタDK、所定の高鍵域での押鍵数をカウントするレジスタUKを「0」とする。   If the duet switch 2 is on, it is determined whether or not the duet flag DF for determining whether or not the duet mode is set to "0" (step B2). When the duet flag DF is “0”, that is, in the normal mode, the flag DF is set to “1”, that is, the duet mode (step B3). Then, a register DK for counting the number of key presses in a predetermined low key range and a register UK for counting the number of key presses in a predetermined high key range are set to “0”.

ステップB2において、デュエットフラグDFが「1」、つまりデュエットモードである場合は、フラグDFを「0」、つまりノーマルモードにする(ステップB5)。そしてタイマインタラプトを禁止する(ステップB6)。
このステップB4またはB6の処理の後、その他のスイッチの処理を行い(ステップB7)、この処理を終了する。
In step B2, if the duet flag DF is "1", that is, the duet mode, the flag DF is set to "0", that is, the normal mode (step B5). Then, the timer interrupt is prohibited (step B6).
After the process of step B4 or B6, other switch processes are performed (step B7), and this process is terminated.

図5〜図7は、鍵盤処理(図3のステップA2)の詳細なフローチャートを示す。
まず、鍵盤1を走査する(ステップC1)。この走査により、鍵のいずれかに状態の変化があったか否か判別する(ステップC2)。もし変化がないと判別されたなら、この処理は終了する。.
5 to 7 show detailed flowcharts of the keyboard processing (step A2 in FIG. 3).
First, the keyboard 1 is scanned (step C1). By this scanning, it is determined whether or not the state of any of the keys has changed (step C2). If it is determined that there is no change, the process ends. .

一方、鍵の状態変化がオフからオンに変化(押鍵)した場合、変化の検出された鍵の鍵番号をレジスタNにストアする(ステップC3)。続いてデュエットフラグDFが「0」、つまりノーマルモードか否か判別される(ステップC4)。ノーマルモードであるならば、ステップC5に進み、レジスタNにストアされた鍵番号に基づくノートオンコマンドを作成する。   On the other hand, when the key state change is changed from OFF to ON (key pressing), the key number of the detected key is stored in the register N (step C3). Subsequently, it is determined whether or not the duet flag DF is "0", that is, the normal mode (step C4). If it is in the normal mode, the process proceeds to step C5, and a note-on command based on the key number stored in the register N is created.

また、ステップC2において、オンからオフに変化(離鍵)したことを判別した場合は、ステップC6に進み、変化の検出された鍵の鍵番号をレジスタNにストアする。そして、デュエットフラグDFが「0」、つまりノーマルモードか否か判別される(ステップC7)。ノーマルモードであるならば、ステップC8に進み、レジスタNにストアされた鍵番号に基づくノートオフコマンドを作成する。   If it is determined in step C2 that the key has changed from on to off (key release), the process proceeds to step C6, 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 C7). If it is in the normal mode, the process proceeds to step C8, and a note-off command based on the key number stored in the register N is created.

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

ステップC4でフラグDFが「1」、つまりデュエットモードである場合は、図6のステップC10に進み、レジスタDK及びUKにストアされた値が共に「0」であるか否か判別する。レジスタDK及びUKの値が共に「0」であるということは、予め指定された鍵域での押鍵がないことを意味する。ここで、共に値が「0」であるなら、ステップC11に進んでタイマTの値を「0」にするとともに、タイマインタラプトを解除してタイマTのカウントを開始する(ステップC12)。
このステップC12の処理の後、あるいはステップC10においてレジスタDK及びUKの値の少なくとも一方が「0」でない場合は、ステップC13に進む。
When the flag DF is “1” in step C4, that is, in the duet mode, the process proceeds to step C10 in FIG. 6 to determine whether or not the values stored in the registers DK and UK are both “0”. If the values of the registers DK and UK are both “0”, it means that there is no key depression in a pre-designated key range. If the values are both “0”, the process proceeds to step C11 to set the value of the timer T to “0”, cancel the timer interrupt, and start the timer T count (step C12).
After the process of step C12, or when at least one of the values of the registers DK and UK is not “0” in step C10, the process proceeds to step C13.

このステップC13では、レジスタNにストアされている押鍵された鍵の鍵番号が「60」(スプリットポイント位置)以上であるか否か判別する。ここでレジスタNの値が「60」以上と判断された場合は、今度はレジスタNの値が「72」未満であるか否か判別する(ステップC14)。ここで「60」以上でかつ「72」未満と判断された場合は図1で示される鍵域A1内で押鍵されたことを意味する。この後レジスタUKの値をインクリメントし(ステップC15)、ステップC16に進む。
ステップC14でレジスタNの値が「72」以上と判別された場合は、このC15の処理をスキップしてステップC16に進む。このステップC16において、レジスタNの値から「24」を減算する。
In this step C13, it is determined whether or not the key number of the depressed key stored in the register N is “60” (split point position) or more. If it is determined that the value of the register N is “60” or more, it is determined whether or not the value of the register N is less than “72” (step C14). If it is determined that the value is “60” or more and less than “72”, it means that the key is pressed in the key range A1 shown in FIG. Thereafter, the value of the register UK is incremented (step C15), and the process proceeds to step C16.
If it is determined in step C14 that the value of the register N is “72” or more, the process of C15 is skipped and the process proceeds to step C16. In Step C16, “24” is subtracted from the value of the register N.

一方、ステップC13でレジスタNの値が「60」未満と判断された場合は、今度はレジスタNの値が「48」以上であるか否か判別する(ステップC17)。ここで「48」以上でかつ「60」未満と判断された場合は図1で示される鍵域A2内で押鍵されたことを意味する。この後レジスタDKの値をインクリメントし(ステップC18)、ステップC19に進む。
ステップC17でレジスタNの値が「48」未満と判別された場合は、このC18の処理をスキップしてステップC19に進む。このステップC19において、レジスタNの値に「24」を加算する。
On the other hand, if it is determined in step C13 that the value of the register N is less than “60”, it is determined whether or not the value of the register N is “48” or more (step C17). Here, when it is determined that the number is “48” or more and less than “60”, it means that the key is pressed in the key range A2 shown in FIG. Thereafter, the value of the register DK is incremented (step C18), and the process proceeds to step C19.
If it is determined in step C17 that the value of the register N is less than “48”, the process of C18 is skipped and the process proceeds to step C19. In step C19, “24” is added to the value of the register N.

このステップC19あるいはC16にて変更されたレジスタN内の鍵番号に基づいてノートオンコマンドを作成し(ステップC20)、音源13に送付する(ステップC21)。これによって音源13は楽音信号を生成する。   A note-on command is created based on the key number in the register N changed in step C19 or C16 (step C20) and sent to the sound source 13 (step C21). As a result, the sound source 13 generates a musical sound signal.

一方、図5のステップC7でフラグDFが「1」、つまりデュエットモードである場合は、図7のステップC22に進み、レジスタNにストアされている押鍵された鍵の鍵番号が「60」(スプリットポイント位置)以上であるか否か判別する。ここでレジスタNの値が「60」以上と判断された場合は、レジスタNの値から「24」を減算する(ステップC23)。逆に「60」未満と判別された場合は、レジスタNの値に「24」を加算する(ステップC24)。   On the other hand, if the flag DF is “1” in step C7 in FIG. 5, that is, in the duet mode, the process proceeds to step C22 in FIG. 7 and the key number of the pressed key stored in the register N is “60”. It is determined whether or not it is (split point position) or more. Here, when it is determined that the value of the register N is “60” or more, “24” is subtracted from the value of the register N (step C23). Conversely, if it is determined that the value is less than “60”, “24” is added to the value of the register N (step C24).

続くステップC25では、ステップC23あるいはC24にて加減算されたレジスタNの値に基づいたノートオフコマンドを作成し、音源13に送付する(ステップC26)。これにより音源13は発生している楽音信号の生成を停止する。   In the subsequent step C25, a note-off command based on the value of the register N added or subtracted in step C23 or C24 is created and sent to the sound source 13 (step C26). As a result, the sound source 13 stops generating the generated musical sound signal.

図8は、一定タイミングで起動するインタラプト処理ルーチンのフローチャートである。
まず、タイマTの値をインクリメントする(ステップD1)。続いてこのタイマTの値が所定時間以内か判別する(ステップD2)。ここで所定時間以内と判別されたなら、続くステップD3及びD4においてレジスタUK及びDKの値が所定値α以上であるか否か判別する。つまり、所定時間内に鍵域A1及びA2夫々で所定回数α以上押鍵がなされたか否かを判別している。ここで所定回数以上の押鍵があったと判別された場合は、デュエットフラグDFを「0」、つまりデュエットモードからノーマルモードに戻し(ステップD5)、タイマインタラプトを禁止して(ステップD6)この処理を終了する。
FIG. 8 is a flowchart of an interrupt processing routine that starts at a fixed timing.
First, the value of the timer T is incremented (step D1). Subsequently, it is determined whether the value of the timer T is within a predetermined time (step D2). If it is determined that the time is within the predetermined time, it is determined in subsequent steps D3 and D4 whether or not the values of the registers UK and DK are equal to or larger than the predetermined value α. That is, it is determined whether or not the key is pressed a predetermined number of times or more in each of the key ranges A1 and A2 within a predetermined time. If it is determined that the key has been depressed a predetermined number of times or more, the duet flag DF is set to “0”, that is, the duet mode is returned to the normal mode (step D5), and the timer interrupt is prohibited (step D6). Exit.

また、所定時間内に鍵域押鍵A1及びA2の少なくとも一方において押鍵が所定回数α未満であった場合は、ステップD5及びD6の処理をスキップしてこの処理を終了する。
一方、ステップD2においてタイマTの値が所定時間を越えた場合は、ステップD7に進み、レジスタUK及びDKの値をクリアしてステップD6に移行する。
If the key press is less than the predetermined number of times α in at least one of the key presses A1 and A2 within the predetermined time, the process of steps D5 and D6 is skipped and the process is terminated.
On the other hand, when the value of the timer T exceeds the predetermined time in step D2, the process proceeds to step D7, the values of the registers UK and DK are cleared, and the process proceeds to step D6.

このように、本実施形態においては、鍵域A1及びA2のいずれかで押鍵が検出されると、その時点から所定時間内に両鍵域A1、A2の両方で夫々所定回数α以上の押鍵があった場合は、デュエットスイッチ2を操作しなくともノーマルモードに移行させることができる。   As described above, in this embodiment, when a key press is detected in one of the key ranges A1 and A2, the key presses of both the key ranges A1 and A2 are pressed a predetermined number of times α or more within a predetermined time from that point. If there is a key, it is possible to shift to the normal mode without operating the duet switch 2.

つまり、デュエット演奏であれば、夫々の鍵域を別々に演奏するため、お互いに鍵盤上の離れたエリアで演奏することが多い。しかも鍵域を分割するスプリットポイント位置に近いエリアで、きわめて短時間の間に両方の鍵域で演奏が行われるということは、この2つの鍵域をまたいで演奏しているということであり、このような演奏はデュエット演奏で行われることはない。   In other words, in the case of a duet performance, since each key range is played separately, it is often performed in a separate area on the keyboard. Moreover, in the area close to the split point position that divides the key range, playing in both key ranges in a very short time means that the two key ranges are being played, Such a performance is not performed as a duet performance.

逆にノーマルな演奏では、こうした鍵域をまたいで演奏することは常時行われることである。したがって、本実施形態では、このノーマルな演奏を行ったと検知した場合は、デュエットモードからノーマルモードに移行させるようにしたものである。
このような構成にすることにより、デュエットスイッチ2を操作しなくとも、ノーマルモードで行なうようなごく当たり前の演奏を行えば、簡単にデュエットモードからノーマルモードへの移行が可能となる。
On the other hand, in normal performance, performing across such a key range is always performed. Therefore, in this embodiment, when it is detected that the normal performance is performed, the mode is changed from the duet mode to the normal mode.
By adopting such a configuration, it is possible to easily shift from the duet mode to the normal mode if an ordinary performance such as that performed in the normal mode is performed without operating the duet switch 2.

なお、本実施形態においては、スプリットポイント位置の両側1オクターブの範囲での押鍵回数を検知していたが、この範囲は1オクターブに限らず、半オクターブでもよいし、逆に1オクターブを超える範囲としてもよい。
また、本実施形態においては、鍵域A1及びA2における押鍵を検出するときに、所定時間及び所定回数αという判定基準値を用いているが、この判定基準値は固定値であってもよいし、任意に設定されるものであってもよい。
In this embodiment, the number of key presses in the range of one octave on both sides of the split point position is detected. However, this range is not limited to one octave, and may be a half octave, or conversely, exceeds one octave. It is good also as a range.
In the present embodiment, when the key depression in the key ranges A1 and A2 is detected, the determination reference value of the predetermined time and the predetermined number of times α is used. However, the determination reference value may be a fixed value. However, it may be set arbitrarily.

本発明を適用した電子鍵盤楽器の外観図である。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 (part) of the keyboard process (step A2) of FIG. 図3の鍵盤処理(ステップA2)の詳細なフローチャートである(続き)。FIG. 4 is a detailed flowchart of a keyboard process (step A2) in FIG. 3 (continued). 図3の鍵盤処理(ステップA2)の詳細なフローチャートである(続き)。FIG. 4 is a detailed flowchart of a keyboard process (step A2) in FIG. 3 (continued). 一定タイミングで起動するインタラプト処理ルーチンのフローチャートである。It is a flowchart of an interrupt processing routine that starts at a fixed timing.

符号の説明Explanation of symbols

1 鍵盤
2 デュエットスイッチ
10 CPU
11 プログラムROM
12 ワークRAM
13 音源
1 keyboard 2 duet switch 10 CPU
11 Program ROM
12 Work RAM
13 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,
Mode switching means for switching from normal mode to duet mode from the outside,
When any key of the keyboard is pressed and a key number is designated, when the normal mode is designated, the designated key number is output as it is to the connected musical sound generating means, and When the duet mode is designated by the mode switching means, the musical tone generation is performed by changing the designated key number by a preset octave corresponding to the key range to which the depressed key belongs. Octave changing means for outputting to the means;
Mode return means for returning the duet mode to the normal mode when a predetermined number of key presses are detected in each key range of the keyboard within a predetermined time when the duet mode is specified;
A performance device having
前記鍵盤は、所定の鍵位置をスプリットポイント位置として低鍵域と高鍵域に分割され、前記モード復帰手段は、前記両鍵域夫々で所定回数以上の押鍵を検出することを特徴とする請求項1記載の演奏装置。   The keyboard is divided into a low key range and a high key range with a predetermined key position as a split point position, and the mode return means detects a key depression of a predetermined number of times or more in each of the two key ranges. The performance device according to 1. 前記モード復帰手段は、前記スプリットポイント位置を中心とした両鍵域の少なくとも一部を含むエリアにて行なわれる押鍵の検出を行なうことを特徴とする請求項1記載の演奏制御装置。   2. The performance control device according to claim 1, wherein the mode return means detects a key depression performed in an area including at least a part of both key ranges centered on the split point position. 夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、外部よりノーマルモードからデュエットモードに切り替えるモード切替手段と、を有する演奏装置に適用されるコンピュータに、
前記鍵盤のいずれかの鍵が押鍵されて鍵番号が指定された場合、前記ノーマルモードが指定されているときは、この指定された鍵番号を接続された楽音生成手段にそのまま出力するとともに、前記モード切替手段によりデュエットモードが指定されているときは、前記押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、前記指定された鍵番号を変更して、前記楽音生成手段に出力するオクターブ変更ステップと、
前記デュエットモードが指定されているときに、所定時間以内に前記鍵盤の鍵域夫々で所定回数以上の押鍵が検出された場合に、前記デュエットモードを前記ノーマルモードに復帰させるモード復帰ステップと、
を実行させる演奏処理のプログラム。
The present invention is applied to a performance device having a keyboard having a plurality of keys assigned sequentially with key numbers for designating the pitches of musical sounds to be pronounced, and mode switching means for switching from the normal mode to the duet mode from the outside. On the computer,
When any key on the keyboard is pressed and a key number is specified, when the normal mode is specified, the specified key number is output as it is to the connected musical sound generating means, and When the duet mode is designated by the mode switching means, the musical tone generation is performed by changing the designated key number by a predetermined octave corresponding to the key range to which the depressed key belongs. Octave changing step to output to the means;
A mode return step for returning the duet mode to the normal mode when a predetermined number of key presses are detected in each key range of the keyboard within a predetermined time when the duet mode is specified;
A performance processing program that executes
JP2008070728A 2008-03-19 2008-03-19 Performance device and performance processing program Expired - Fee Related JP5640308B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JP2009223256A true JP2009223256A (en) 2009-10-01
JP5640308B2 JP5640308B2 (en) 2014-12-17

Family

ID=41240054

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP5640308B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020152924A1 (en) * 2019-01-22 2020-07-30 ヤマハ株式会社 Musical performance system, musical performance mode setting method and musical performance mode setting device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001067078A (en) * 1999-06-25 2001-03-16 Yamaha Corp Performance device, effect control device, and record medium therefor
JP2001312274A (en) * 2000-04-27 2001-11-09 Roland Corp Musical score display device
JP2002236485A (en) * 2002-02-18 2002-08-23 Yamaha Corp Electronic musical instrument
JP2004361482A (en) * 2003-06-02 2004-12-24 Casio Comput Co Ltd Waveform modulator and waveform modulation program
JP2008129044A (en) * 2006-11-16 2008-06-05 Roland Corp Electronic musical instrument and performance control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001067078A (en) * 1999-06-25 2001-03-16 Yamaha Corp Performance device, effect control device, and record medium therefor
JP2001312274A (en) * 2000-04-27 2001-11-09 Roland Corp Musical score display device
JP2002236485A (en) * 2002-02-18 2002-08-23 Yamaha Corp Electronic musical instrument
JP2004361482A (en) * 2003-06-02 2004-12-24 Casio Comput Co Ltd Waveform modulator and waveform modulation program
JP2008129044A (en) * 2006-11-16 2008-06-05 Roland Corp Electronic musical instrument and performance control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020152924A1 (en) * 2019-01-22 2020-07-30 ヤマハ株式会社 Musical performance system, musical performance mode setting method and musical performance mode setting device
JP2020118813A (en) * 2019-01-22 2020-08-06 ヤマハ株式会社 Performance system, performance mode setting method and performance mode setting device
CN113272891A (en) * 2019-01-22 2021-08-17 雅马哈株式会社 Musical performance system, musical performance mode setting method, and musical performance mode setting device
JP7331366B2 (en) 2019-01-22 2023-08-23 ヤマハ株式会社 Performance system, performance mode setting method and performance mode setting device
US11887569B2 (en) 2019-01-22 2024-01-30 Yamaha Corporation Performance system, performance mode setting method, and performance mode setting device
CN113272891B (en) * 2019-01-22 2024-02-27 雅马哈株式会社 Performance system, performance mode setting method, and performance mode setting device

Also Published As

Publication number Publication date
JP5640308B2 (en) 2014-12-17

Similar Documents

Publication Publication Date Title
JP4748011B2 (en) Electronic keyboard instrument
US7091410B2 (en) Apparatus and computer program for providing arpeggio patterns
JP5168297B2 (en) Automatic accompaniment device and automatic accompaniment program
US8324493B2 (en) Electronic musical instrument and recording medium
JP2008076708A (en) Tone color designation method, tone color designation device, and computer program for tone color designation
JP5640308B2 (en) Performance device and performance processing program
JP2006065186A (en) Device and method for tempo information output, computer program for tempo information output, device and method for touch information output, and computer program for touch information output
JP2010117419A (en) Electronic musical instrument
JP5692275B2 (en) Electronic musical instruments
JP5470728B2 (en) Performance control apparatus and performance control processing program
JP6410345B2 (en) Sound preview apparatus and program
JP3704851B2 (en) Electronic stringed instrument capable of playing tapping harmonics
JP5564921B2 (en) Electronic musical instruments
JP5560574B2 (en) Electronic musical instruments and automatic performance programs
JP6459237B2 (en) Automatic accompaniment apparatus, electronic musical instrument, automatic accompaniment method, and automatic accompaniment program
JP3620366B2 (en) Electronic keyboard instrument
JP5453966B2 (en) Musical sound generating device and musical sound generating program
JP2009186632A (en) Temperament control method, computer program for controlling temperament, and temperament control device
JP2006292954A (en) Electronic musical instrument
US20230035440A1 (en) Electronic device, electronic musical instrument, and method therefor
JP4978176B2 (en) Performance device, performance realization method and program
JP4624879B2 (en) Musical sound information generation program and musical sound information generator
JP2008020876A (en) Performance apparatus, performance implementing method and program
JP5347289B2 (en) Performance device and performance processing program
JP2580950B2 (en) Automatic scale generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101207

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140306

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141013

R150 Certificate of patent or registration of utility model

Ref document number: 5640308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees