JP4946280B2 - Electronic musical instruments and programs - Google Patents
Electronic musical instruments and programs Download PDFInfo
- Publication number
- JP4946280B2 JP4946280B2 JP2006241891A JP2006241891A JP4946280B2 JP 4946280 B2 JP4946280 B2 JP 4946280B2 JP 2006241891 A JP2006241891 A JP 2006241891A JP 2006241891 A JP2006241891 A JP 2006241891A JP 4946280 B2 JP4946280 B2 JP 4946280B2
- Authority
- JP
- Japan
- Prior art keywords
- keyboard
- keyboard unit
- key
- touch
- information
- 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.)
- Active
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、複数種類の鍵盤ユニットのうちのいずれかを選択的に採用可能な電子楽器およびその制御方法を実現するプログラムに関する。 The present invention relates to an electronic musical instrument that can selectively employ any one of a plurality of types of keyboard units and a program that realizes a control method thereof.
複数種類の鍵盤ユニットのうちのいずれかを選択的に採用可能な電子楽器は、従来から知られている。 An electronic musical instrument that can selectively employ any one of a plurality of types of keyboard units is conventionally known.
このような電子楽器として、上鍵盤および下鍵盤のそれぞれについて、上位グレードの鍵盤または下位グレードの鍵盤のいずれかを選択して装着可能なものがある(たとえば、特許文献1参照)。 As such an electronic musical instrument, there is an electronic musical instrument in which either an upper grade keyboard or a lower grade keyboard can be selected and mounted for each of the upper keyboard and the lower keyboard (see, for example, Patent Document 1).
また、鍵数の異なった複数種類の鍵盤からいずれか2種類を選択して装着することにより、鍵数の異なる鍵盤が組み合わされた複数バリエーションの電子楽器をラインナップすることがある。具体的には、上鍵盤および下鍵盤をともに49鍵とした電子楽器と、上鍵盤を49鍵とし、下鍵盤を61鍵とした電子楽器をラインナップすると言うようにである。このような構成は、ユニット化された鍵盤を組み合わせることによって実現されている。そして、複数の鍵盤ユニットを共通化させる必要から、いずれの鍵盤ユニットも、固定的な押離鍵情報(ノートオン/オフ情報)を発生するようにしている。具体的には、いずれの鍵盤ユニットであっても、最低音(最下位の鍵を押したときに発生する音)は必ず“C1”の音高が発音される。
ところで、上鍵盤と下鍵盤における鍵数の組み合わせによっては、次のような鍵盤配置とオクターブシフトが必要であった。すなわち、
(i)上鍵盤=49鍵&下鍵盤=49鍵:上鍵盤を下鍵盤より右方向にずらして配置するとともに、上鍵盤の各鍵の音高を1オクターブ高音側にシフトする
(ii)上鍵盤=61鍵&下鍵盤=61鍵:上鍵盤と下鍵盤の左右方向の配置のずれはなく、オクターブシフトもない(この場合、上鍵盤および下鍵盤はともに、低音域から高音域までをカバーできるからである。また、上鍵盤を下鍵盤より右方向にずらして配置するとともに、上鍵盤の各鍵の音高を1オクターブ高音側にシフトすると、音域をさらに広げられるものの、電子楽器の筐体が大きくなり過ぎてしまう。)
と言うようにである。
By the way, depending on the combination of the number of keys in the upper keyboard and the lower keyboard, the following keyboard layout and octave shift are necessary. That is,
(I) Upper keyboard = 49 keys & lower keyboard = 49 keys: The upper keyboard is shifted to the right from the lower keyboard, and the pitch of each key on the upper keyboard is shifted to the octave higher side (ii) Keyboard = 61 keys & Lower keyboard = 61 keys: There is no shift in the left and right arrangement of the upper and lower keyboards, and there is no octave shift (in this case, both the upper and lower keyboards cover the low to high range) Although the upper keyboard is shifted to the right from the lower keyboard and the pitch of each key on the upper keyboard is shifted to the octave higher side, the range can be further expanded, but the housing of the electronic musical instrument can be expanded. Your body gets too big.)
As you say.
したがって、上記(i)および(ii)の要求に、上記従来の電子楽器で応えようとすると、当該電子楽器に装着される鍵盤の鍵数の組み合わせに応じて、異なるオクターブシフトに関する処理を含んだプログラムを各電子楽器毎に開発する必要があり、開発効率が悪くなってしまう。 Therefore, when trying to meet the above requirements (i) and (ii) with the above-mentioned conventional electronic musical instrument, it includes processing related to different octave shifts depending on the combination of the number of keys of the keyboard mounted on the electronic musical instrument. It is necessary to develop a program for each electronic musical instrument, resulting in poor development efficiency.
本発明は、この点に着目してなされたものであり、どのような鍵数の鍵盤を組み合わせて装着したとしても、オクターブシフトに関するプログラムを変更する必要のない電子楽器およびプログラムを提供することを目的とする。 The present invention has been made paying attention to this point, and it is possible to provide an electronic musical instrument and a program that do not need to change a program related to octave shift no matter what number of keys are combined and mounted. Objective.
上記目的を達成するため、請求項1に記載の電子楽器は、装着された鍵盤ユニットから、当該鍵盤ユニットが備えた鍵の数を示す鍵数情報を取得する取得手段と、該取得手段によって取得された鍵数情報に応じて、当該鍵盤ユニットから出力される音高情報についてのオクターブシフトを制御する制御手段とを有することを特徴とする。
請求項2に記載の電子楽器は、請求項1の電子楽器において、前記鍵盤ユニットを接続する第1および第2の接続手段をさらに有し、前記取得手段は、前記第1および第2の接続手段に接続された鍵盤ユニットから前記鍵数情報をそれぞれ取得し、前記制御手段は、前記第1の接続手段に接続された鍵盤ユニットから取得された前記鍵数情報に応じて、当該第1の接続手段に接続された鍵盤ユニットから出力される音高情報についてのオクターブシフトを制御することを特徴とする。
請求項3に記載の電子楽器は、請求項1または2の電子楽器において、前記鍵盤ユニットは、前記鍵の数が異なる複数種類の鍵盤ユニットから選択的に装着されるものであり、前記装着される鍵盤ユニットはいずれも、最下位鍵に対応して出力される前記音高情報が前記装着される鍵盤ユニットが備える鍵の数の異同に依らず同一であることを特徴とする。
In order to achieve the above object, an electronic musical instrument according to
According to a second aspect of the present invention, in the electronic musical instrument of the first aspect, the electronic musical instrument further includes first and second connection means for connecting the keyboard unit, and the acquisition means includes the first and second connections. The key number information is respectively obtained from the keyboard unit connected to the means, and the control means is configured to respond to the key number information obtained from the keyboard unit connected to the first connection means. The octave shift for pitch information output from the keyboard unit connected to the connection means is controlled.
An electronic musical instrument according to a third aspect is the electronic musical instrument according to the first or second aspect, wherein the keyboard unit is selectively mounted from a plurality of types of keyboard units having different numbers of keys. In any of the keyboard units, the pitch information output corresponding to the lowest key is the same regardless of the number of keys included in the attached keyboard unit.
上記目的を達成するため、請求項4に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。
In order to achieve the above object, the program according to
請求項1または4に記載の発明によれば、装着された鍵盤ユニットから、当該鍵盤ユニットが備えた鍵の数を示す鍵数情報が取得され、該取得された鍵数情報に応じて、当該鍵盤ユニットから出力される音高情報についてのオクターブシフトが制御されるので、どのような鍵数の鍵盤ユニットを取り付けたとしても、オクターブシフトを制御するプログラムを変更する必要がなく、開発効率が向上する。 According to the first or fourth aspect of the invention, key number information indicating the number of keys included in the keyboard unit is acquired from the mounted keyboard unit, and according to the acquired key number information, Since the octave shift for pitch information output from the keyboard unit is controlled, no matter how many keyboard units are installed, there is no need to change the program that controls the octave shift, improving development efficiency To do.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る電子楽器の概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument according to an embodiment of the present invention.
同図に示すように、本実施の形態の電子楽器は、音高情報を入力するための第1の鍵盤を含む第1の演奏操作子1と、音高情報を入力するための第2の鍵盤を含む第2の演奏操作子2と、各種情報を入力するための複数のスイッチやホイール、ジョイスティックを含む設定操作子3と、第1の演奏操作子1の操作状態を検出する検出回路4と、第2の演奏操作子2の操作状態を検出する検出回路5と、設定操作子3の操作状態を検出する検出回路6と、装置全体の制御を司るメインCPU7と、該メインCPU7が実行する制御プログラムや、各種テーブルデータ等を記憶するROM8と、楽曲データ、各種入力情報および演算結果等を一時的に記憶するRAM9と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ10と、各種情報等を表示する、たとえば液晶ディスプレイ(LCD)および発光ダイオード(LED)等を備えた表示装置11と、前記制御プログラムを含む各種アプリケーションプログラムや各種楽曲データ、各種データ等を記憶する外部記憶装置12と、外部からのMIDI(Musical Instrument Digital Interface)メッセージを入力したり、MIDIメッセージを外部に出力したりするMIDIインターフェース(I/F)13と、通信ネットワーク101を介して、たとえばサーバコンピュータ(以下、「サーバ」と略して言う)102とデータの送受信を行う通信インターフェース(I/F)14と、第1および第2の演奏操作子1および2から入力された演奏データや上記記憶された楽曲データ等をオーディオ信号に変換する音源回路15と、該音源回路15からのオーディオ信号に各種効果を付与するための効果回路16と、該効果回路16からのオーディオ信号を音響に変換する、たとえば、DAC(Digital-to-Analog Converter)やアンプ、スピーカ等のサウンドシステム17とにより構成されている。
As shown in the figure, the electronic musical instrument according to the present embodiment includes a
上記構成要素4〜16は、バス18を介して相互に接続され、メインCPU7にはタイマ10が接続され、MIDII/F13には他のMIDI機器100が接続され、通信I/F14には通信ネットワーク101が接続され、音源回路15には効果回路16が接続され、効果回路16にはサウンドシステム17が接続されている。ここで、通信I/F14および通信ネットワーク101は、有線方式のものに限らず、無線方式のものであってもよい。また、両方式のものを備えていてもよい。
The
外部記憶装置12としては、たとえば、フレキシブルディスクドライブ(FDD)、ハードディスクドライブ(HDD)、CD−ROMドライブおよび光磁気ディスク(MO)ドライブ等を挙げることができる。そして、外部記憶装置12には、前述のように、メインCPU7が実行する制御プログラムも記憶でき、ROM8に制御プログラムが記憶されていない場合には、この外部記憶装置12に制御プログラムを記憶させておき、それをRAM9に読み込むことにより、ROM8に制御プログラムを記憶している場合と同様の動作をメインCPU7にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。
Examples of the
第1の演奏操作子1と検出回路4は、第1の鍵盤ユニットKU1を構成し、第2の演奏操作子2と検出回路5は、第2の鍵盤ユニットKU2を構成する。そして便宜上、第1の鍵盤ユニットKU1を上鍵盤とし、第2の鍵盤ユニットKU2を下鍵盤とする。第1および第2の鍵盤ユニットKU1およびKU2はともに、複数種類の鍵盤ユニットのうちのいずれかを選択的に採用することができるようになっている。図2は、鍵盤ユニットの種類とその組み合わせの一例を示す図である。同図に示すように、本実施の形態では、鍵盤ユニットは、2種類の鍵数(49キーおよび61キー)と2種類の鍵タッチ分解能(高分解能および低分解能)を組み合わせた、全4種類の鍵盤ユニットから選択することができる。これにより、鍵数および鍵タッチ分解能が異なる鍵盤ユニットが組み合わされた複数バリエーションの電子楽器をラインナップすることができる。全4種類の鍵盤ユニットから、重複を許して2つのユニットを選択し、第1および第2の鍵盤ユニットKU1およびKU2とする場合の場合の数は、42=16であるが、図2には、そのうちの主な4通りの鍵盤ユニットの組み合わせが図示されている。
The
図1に戻り、本実施の形態の電子楽器は、上記第1および第2の鍵盤ユニットKU1およびKU2と、構成要素3および6〜18からなる電子楽器メインユニットMUとによって構成されている。
Returning to FIG. 1, the electronic musical instrument of the present embodiment is constituted by the first and second keyboard units KU1 and KU2 and the electronic musical instrument main unit MU composed of the
検出回路4,5および音源回路15には、それぞれサブCPU4a,5aおよび15aが搭載されている。各サブCPU4a,5aおよび15aは、メインCPU7と同様に、それぞれサブCPU用制御プログラムを実行することで、各種制御を行う。
The
以上のように構成された電子楽器が実行する制御処理を、まず図3および図4を参照してその概要を説明し、次に図5を参照して詳細に説明する。 The control process executed by the electronic musical instrument configured as described above will be described first with reference to FIGS. 3 and 4 and then in detail with reference to FIG.
本実施の形態の電子楽器は、主として、
(1)取り付けられた鍵盤ユニットとの情報の送受信処理
(2)取り付けられた鍵盤ユニットの鍵数および配置位置に応じて、オクターブシフトの要否を設定するオクターブシフト要否設定処理
(3)取り付けられた鍵盤ユニットの鍵タッチ分解能に応じて、タッチカーブを選択設定するタッチカーブ選択設定処理
(4)押離鍵情報を制御して音源回路に供給する押離鍵情報供給処理
(5)タッチ情報を生成して音源回路に供給するタッチ情報供給処理
を行う。
The electronic musical instrument of the present embodiment is mainly
(1) Information transmission / reception processing with attached keyboard unit (2) Octave shift necessity setting processing for setting necessity / unnecessity of octave shift according to number of keys and arrangement position of attached keyboard unit (3) Attachment Touch curve selection setting process for selecting and setting a touch curve in accordance with the key touch resolution of the given keyboard unit (4) key release key information supply process for controlling the key release key information and supplying it to the tone generator circuit (5) touch information Is generated and supplied to the tone generator circuit.
図3は、上記(2)のオクターブシフト要否設定処理の概要を説明するための図である。 FIG. 3 is a diagram for explaining the outline of the octave shift necessity setting process (2).
鍵盤ユニットは、本実施の形態では、鍵数の多少に拘わらず、最下位鍵が押離鍵されると“C1”の音高の押離鍵情報を出力するように構成されている。鍵盤ユニットを上鍵盤および下鍵盤に取り付けて、電子楽器を構成した場合、下鍵盤の最低音は、常に“C1”でよい(オクターブシフト不要)が、上鍵盤の最低音は、採用する鍵盤ユニットの鍵数に応じて“C1”である(オクターブシフト不要)場合と、“C2”である(オクターブシフト要)場合とがある。そこで、本発明では、上鍵盤に取り付けた鍵盤ユニットの鍵数に応じて、オクターブシフトの要否を設定するようにしている。具体的には、図3に示すように、49鍵の鍵盤ユニットを上鍵盤に取り付けたときに、オクターブシフトあり(オクターブシフト要)に設定するようにしている。(2)オクターブシフト要否設定処理では、このオクターブシフトの要否の設定を行っている。なお、(2)オクターブシフト要否設定処理によってオクターブシフト要に設定された鍵盤ユニットが出力した押離鍵情報中の音高に対する、実際のオクターブシフトは、前記(4)の押離鍵情報供給処理中で行われる。 In this embodiment, the keyboard unit is configured to output key release / release information of the pitch of “C1” when the lowest key is pressed / released regardless of the number of keys. When the keyboard unit is attached to the upper and lower keyboards, and the electronic musical instrument is configured, the lowest note of the lower keyboard may always be “C1” (no octave shift is required), but the lowest note of the upper keyboard is the adopted keyboard unit. Depending on the number of keys, “C1” (no octave shift required) and “C2” (octave shift required) may occur. Therefore, in the present invention, whether or not the octave shift is necessary is set according to the number of keys of the keyboard unit attached to the upper keyboard. Specifically, as shown in FIG. 3, when a 49-key keyboard unit is attached to the upper keyboard, an octave shift is set (with an octave shift required). (2) In the octave shift necessity setting process, the necessity of the octave shift is set. Note that (2) the actual octave shift with respect to the pitch in the key release information output by the keyboard unit set to require the octave shift by the octave shift necessity setting process is the supply of the key release information of (4) above. It is done in the process.
図4は、前記(3)のタッチカーブ選択設定処理によって選択設定されるタッチカーブの一例を示す図である。 FIG. 4 is a diagram illustrating an example of a touch curve selected and set by the touch curve selection setting process (3).
鍵盤ユニットは、前述のように、高低2種類の鍵タッチ分解能のものがある。分解能の高いタッチ検出機構を備えている鍵盤ユニットは、図4(a)および(b)に示すように、たとえば512段階の押鍵力を検出できるので、押鍵力の微妙な変化も検出できる。このため、検出された押鍵力をタッチ出力(タッチ情報)に変換するときに用いるタッチカーブとして、図4(a)および(b)に示すようなノンリニアなものを選択し、これを用いて、微妙な押鍵力変化でタッチ出力を大きく変化させるようにしたとしても、タッチ出力は滑らかに変化する(図4(a)および(b)中の区間IaおよびIbを参照)。これにより、演奏表現力が向上する。これに対して、分解能の低いタッチ検出機構を備えている鍵盤ユニットは、図4(c)に示すように、たとえば128段階の押鍵力しか検出できないので、押鍵力の微妙な変化が検出できない。このため、タッチカーブとして、上記ノンリニアなものを選択すると、少しの押鍵力変化でもタッチ出力が大きく変化し、タッチ出力は滑らかに変化しない。そこで、タッチカーブは、図4(c)に示すような(ほぼ)リニアなものを選択するようにしている。これにより、不自然さが解消する。 As described above, the keyboard unit has two types of high and low key touch resolutions. As shown in FIGS. 4A and 4B, the keyboard unit having a high-resolution touch detection mechanism can detect, for example, 512 steps of key pressing force, and can also detect subtle changes in key pressing force. . Therefore, a non-linear curve as shown in FIGS. 4A and 4B is selected and used as a touch curve used when converting the detected key pressing force into touch output (touch information). Even if the touch output is greatly changed by a slight change in the key pressing force, the touch output changes smoothly (see the sections Ia and Ib in FIGS. 4A and 4B). Thereby, performance expression power improves. On the other hand, a keyboard unit having a low-resolution touch detection mechanism can only detect, for example, 128 steps of key pressing force, as shown in FIG. Can not. For this reason, when the non-linear curve is selected as the touch curve, the touch output changes greatly even with a slight change in the key pressing force, and the touch output does not change smoothly. Therefore, a (nearly) linear curve as shown in FIG. 4C is selected as the touch curve. This eliminates the unnaturalness.
(3)タッチカーブ選択設定処理では、取り付けられた鍵盤ユニットの鍵タッチ分解能に応じて、当該鍵盤ユニットからの押鍵力をタッチ出力に変換するためのタッチカーブの選択設定を行っている。なお、選択設定されたタッチカーブを用いた、実際の変換処理は、前記(5)のタッチ情報供給処理中で行われる。 (3) In the touch curve selection setting process, the touch curve selection setting for converting the key pressing force from the keyboard unit into the touch output is performed according to the key touch resolution of the attached keyboard unit. The actual conversion process using the selected and set touch curve is performed during the touch information supply process (5).
次に、この制御処理を詳細に説明する。 Next, this control process will be described in detail.
図5は、本実施の形態の電子楽器、特にメインCPU7およびサブCPU4a,5aが実行する制御処理の手順を示すフローチャートであり、同図の制御処理には、前記(1)〜(5)の各処理に加え、その他の処理(ステップS15)とサブCPU4a,5aによって実行される処理が記載されている。
FIG. 5 is a flowchart showing a procedure of control processing executed by the electronic musical instrument of the present embodiment, in particular, the
図5のフローチャート中、ステップS1の処理が前記(1)情報の送受信処理に、ステップS2〜S4の処理が前記(2)オクターブシフト要否設定処理に、ステップS5〜S7の処理が前記(3)タッチカーブ選択設定処理に、ステップS9〜S11の処理が前記(4)押離鍵情報供給処理に、ステップS13およびS14の処理が前記(5)タッチ情報供給処理にそれぞれ対応している。 In the flowchart of FIG. 5, the process of step S1 is the (1) information transmission / reception process, the processes of steps S2 to S4 are the (2) octave shift necessity setting process, and the processes of steps S5 to S7 are the (3 ) In the touch curve selection setting process, the processes in steps S9 to S11 correspond to the (4) press / release key information supply process, and the processes in steps S13 and S14 correspond to the (5) touch information supply process.
(1)情報の送受信処理では、メインCPU7は前記第1および第2の鍵盤ユニットKU1およびKU2に対して種別情報を要求する(ステップS1)。種別情報とは、本実施の形態では、当該鍵盤ユニットの鍵数と鍵タッチ分解能の高低が記載された情報である。この要求を受信した、第1および第2の鍵盤ユニットKU1およびKU2は、それぞれ自身の鍵数と鍵タッチ分解能を記載した種別情報を生成し、これをメインCPU7に送信する(ステップS101)。メインCPU7は、この種別情報を受信し、前記RAM9の所定位置に確保された種別情報格納領域(図示せず)に格納する。なお、種別情報格納領域は、少なくとも2つの領域からなり、該各領域に、第1の鍵盤ユニットKU1からの種別情報と、第2の鍵盤ユニットKU2からの種別情報とが別々に格納される。なお、鍵数と鍵タッチ分解能を直接的に記載した情報に限らず、種別情報としては、単なるIDが記載され、電子楽器本体側で、IDと鍵数および鍵タッチ分解能との対応を規定しておき、IDを基に、これらの情報を得るようにしてもよい。
(1) In the information transmission / reception process, the
(2)オクターブシフト要否設定処理では、メインCPU7は、前記種別情報格納領域に格納された、上鍵盤、つまり第1の鍵盤ユニットKU1からの種別情報を読み出し、その種別情報に基づいて鍵数を判別する(ステップS2)。その結果、上鍵盤の鍵数が“61”のときには、メインCPU7は、オクターブシフト要(あり)の場合にセット(“1”)され、オクターブシフト不要(なし)の場合にリセット(“0”)されるオクターブシフトフラグをリセットする(ステップS3)一方、上鍵盤の鍵数が“61”でないとき、つまり“49”のときには、メインCPU7は、オクターブシフトフラグをセットする(ステップS4)。
(2) In the octave shift necessity setting process, the
(3)タッチカーブ選択設定処理では、メインCPU7は、種別情報格納領域に格納された、第1の鍵盤ユニットKU1からの種別情報を読み出し、その種別情報に基づいて鍵タッチ分解能の種類を判別する(ステップS5)。その結果、第1の鍵盤ユニットKU1の鍵タッチ分解能が高分解能のときには、メインCPU7は、第1の鍵盤ユニットKU1に対して、ノンリニアのタッチカーブが選択された場合にセットされ、リニアのタッチカーブが選択された場合にリセットされる上鍵盤用タッチカーブ選択フラグをセットする(ステップS6)一方、第1の鍵盤ユニットKU1の鍵タッチ分解能が低分解能のときには、メインCPU7は、上鍵盤用タッチカーブ選択フラグをリセットする(ステップS7)。さらに、メインCPU7は、種別情報格納領域に格納された、第2の鍵盤ユニットKU2からの種別情報を読み出し、その種別情報に基づいて鍵タッチ分解能の種類を判別し(ステップS5)、その結果、第2の鍵盤ユニットKU2の鍵タッチ分解能が高分解能のときには、第2の鍵盤ユニットKU2に対して、ノンリニアのタッチカーブが選択された場合にセットされ、リニアのタッチカーブが選択された場合にリセットされる下鍵盤用タッチカーブ選択フラグをセットする(ステップS6)一方、第2の鍵盤ユニットKU2の鍵タッチ分解能が低分解能のときには、下鍵盤用タッチカーブ選択フラグをリセットする(ステップS7)。
(3) In the touch curve selection setting process, the
ユーザが第1の鍵盤ユニットKU1に対して押離鍵操作を行うと、第1の鍵盤ユニットKU1は、この押離鍵および押鍵力を検出し、検出した押離鍵および押鍵力の情報を含む検出情報を生成して、メインCPU7に送信する(ステップS102)。同様にして、ユーザが第2の鍵盤ユニットKU2に対して押離鍵操作を行うと、第2の鍵盤ユニットKU2は、この押離鍵および押鍵力を検出し、検出した押離鍵および押鍵力に応じた検出情報を生成して、メインCPU7に送信する(ステップS102)。メインCPU7は、第1の鍵盤ユニットKU1あるいは第2の鍵盤ユニットKU2から送信されてきた検出情報を受信すると、受信した検出情報を、RAM9の所定位置に確保された検出情報格納領域(図示せず)中、この検出情報を送信した鍵盤ユニットに対応する領域に格納する。メインCPU7は、検出情報格納領域に新たな検出情報が格納されたかどうかを常時チェックする。そして、新たな検出情報が検出情報格納領域に格納されると、メインCPU7は、検出情報格納領域から新たに格納された検出情報を読み出し、読み出した検出情報が押離鍵情報であれば、その処理を(4)押離鍵情報供給処理に進め、読み出した検出情報が押鍵力情報であれば、その処理を(5)タッチ情報供給処理に進める。
When the user performs a key pressing operation on the first keyboard unit KU1, the first keyboard unit KU1 detects the key pressing / pressing force and information on the detected key pressing / key pressing force. Is generated and transmitted to the main CPU 7 (step S102). Similarly, when the user performs a key pressing operation on the second keyboard unit KU2, the second keyboard unit KU2 detects the key pressing and pressing force and detects the detected key pressing and pressing. Detection information corresponding to the key strength is generated and transmitted to the main CPU 7 (step S102). When the
(4)押離鍵情報供給処理では、当該押離鍵情報が上鍵盤からのものであり、かつオクターブシフトフラグがセット状態であるときには、メインCPU7は、当該押離鍵情報の音高を1オクターブ高音側にシフトした(ステップS9→S10)後、その押離鍵情報を前記音源回路15に供給する(ステップS11)一方、当該押離鍵情報が下鍵盤からのものであるか、あるいは、上鍵盤からのものであっても、オクターブシフトフラグがリセット状態であるときには、メインCPU7は、当該押離鍵情報をそのまま音源回路15に供給する(ステップS9→S11)。
(4) In the pressed / released key information supply process, when the pressed / released key information is from the upper keyboard and the octave shift flag is set, the
(5)タッチ情報供給処理では、メインCPU7は、当該押鍵力情報が上鍵盤からのものであるか、下鍵盤のものであるかを判別し、上鍵盤からのものであるときには、上鍵盤用タッチカーブ選択フラグの状態に応じたタッチテーブルに従い、当該押鍵力情報をタッチ情報に変換した(ステップS13)後、そのタッチ情報を音源回路15に供給する(ステップS14)一方、下鍵盤からのものであるときには、下鍵盤用タッチカーブ選択フラグの状態に応じたタッチテーブルに従い、当該押鍵力情報をタッチ情報に変換した(ステップS13)後、そのタッチ情報を音源回路15に供給する(ステップS14)。ここで、タッチテーブルとは、前記タッチカーブの特性がテーブルデータ化されたものであり、分解能の種類に応じた数(本実施の形態では、2つ)のタッチテーブルが予め作成され、たとえば、前記ROM8に格納されている。前記図4では、高分解能の鍵盤ユニットが取り付けられた場合に選択されるタッチカーブとして、2種類のタッチカーブが図示されていたが、いずれか一方のタッチカーブの特性を示すタッチテーブルのみ選択できるようにしておけばよい。もちろん、複数のタッチテーブルをROM8に格納しておき、いずれかをユーザが選択できるようにしてもよい。
(5) In the touch information supply process, the
このように、本実施の形態では、取り付けられた鍵盤ユニットから鍵数を取得し、取得した鍵数に応じて、当該鍵盤ユニットからの音高についてのオクターブシフトを制御するようにしたので、どのような鍵数の鍵盤ユニットを取り付けたとしても、オクターブシフトを制御するプログラムを変更する必要がなく、開発効率が向上する。 As described above, in this embodiment, the number of keys is acquired from the attached keyboard unit, and the octave shift for the pitch from the keyboard unit is controlled according to the acquired number of keys. Even if a keyboard unit with such a number of keys is attached, it is not necessary to change the program for controlling the octave shift, and the development efficiency is improved.
また、本実施の形態では、取り付けられた鍵盤ユニットから鍵タッチ分解能を取得し、取得した鍵タッチ分解能に応じて、タッチカーブを制御するようにしたので、どのような鍵タッチ分解能の鍵盤ユニットを取り付けたとしても、タッチカーブを制御するプログラムを変更する必要がなく、開発効率が向上する。 In the present embodiment, the key touch resolution is acquired from the attached keyboard unit, and the touch curve is controlled in accordance with the acquired key touch resolution. Even if it is installed, there is no need to change the program that controls the touch curve, improving development efficiency.
なお、本実施の形態では、いずれの鍵盤ユニットも、固定的な音高の押離鍵情報を出力し、その押離鍵情報がオクターブシフトすべきものである場合に、電子楽器メインユニットが、その押離鍵情報に対してオクターブシフトするようにしたが、これに限らず、電子楽器メインユニットは、オクターブシフトが必要な鍵盤ユニットに対してオクターブシフト命令を出力し、これを受信した鍵盤ユニットは、オクターブシフトした後の押離鍵情報を出力するようにしてもよい。この場合の制御を実現するには、前記図5のフローチャートを次のように変更すればよい。すなわち、
(A)ステップS4の処理を「オクターブシフト命令を送信」に変更
(B)ステップS3の処理を削除
(C)ステップS9およびS10の各処理を削除
(D)ステップS102の処理を「押離鍵および押鍵力を検出し、オクターブシフト命令を受信していれば、検出した押離鍵の音高をオクターブシフトした後、その検出情報を送信」に変更
というように変更する。
In this embodiment, when any keyboard unit outputs key release / release key information with a fixed pitch and the key release / release information is to be octave shifted, the electronic musical instrument main unit Although the octave shift is performed with respect to the key release / release information, the electronic musical instrument main unit outputs an octave shift command to the keyboard unit that needs the octave shift, and the keyboard unit that receives the octave shift The key release / release key information after the octave shift may be output. In order to realize the control in this case, the flowchart of FIG. 5 may be changed as follows. That is,
(A) The process of step S4 is changed to “send octave shift command” (B) The process of step S3 is deleted (C) Each process of steps S9 and S10 is deleted (D) The process of step S102 is “key-release key” If the key-pressing force is detected and an octave shift command is received, the pitch of the detected key-release key is shifted octave and then the detection information is changed to “send”.
また、本実施の形態では、鍵タッチ分解能を2種類としたが、3種類以上あってもよく、その場合には、タッチカーブの種類を3つ以上とし、取り付けた鍵盤ユニットの鍵タッチ分解能に応じて、3種類以上のタッチカーブの中からいずれかを選択設定するようにすればよい。 In this embodiment, two types of key touch resolutions are used, but there may be three or more types. In that case, three or more types of touch curves are used, and the key touch resolution of the attached keyboard unit is set. Accordingly, any one of three or more types of touch curves may be selected and set.
さらに、本実施の形態では、タッチカーブは、取り付けた鍵盤ユニットの鍵タッチ分解能に応じて選択設定したが、これに、設置されている音源の種類を加味するようにしてもよい。つまり、微妙な押鍵力変化でタッチ出力を大きく変化させるような、ノンリニアのタッチカーブを、高鍵タッチ分解能に応じて選択設定したとしても、その大きく変化するタッチ出力が活かされない音源が設置されていたのでは、ノンリニアのタッチカーブを選択設定する必要はなく、むしろ、リニアのタッチカーブを選択設定した方がよいからである。ここで、大きく変化するタッチ出力が活かされない音源とは、たとえば、波形メモリ音源であり、逆に、大きく変化するタッチ出力が活きる音源とは、たとえば、物理モデル音源やFM音源である。また、本実施の形態では、音源は、着脱自在に構成されていないが、最近の電子楽器の音源は、着脱自在に構成されているものもある。このように、音源を着脱自在に構成した場合には、タッチカーブは、音源の種類のみに応じて選択設定するようにしてもよい。 Further, in the present embodiment, the touch curve is selected and set according to the key touch resolution of the attached keyboard unit, but the type of the sound source installed may be added to this. In other words, even if a non-linear touch curve that greatly changes the touch output due to a slight change in key pressing force is selected and set according to the high key touch resolution, a sound source that does not take advantage of the greatly changing touch output is installed This is because it is not necessary to select and set a non-linear touch curve. Rather, it is better to select and set a linear touch curve. Here, the sound source that does not make use of the greatly changing touch output is, for example, a waveform memory sound source, and conversely, the sound source that makes use of the greatly changing touch output is, for example, a physical model sound source or an FM sound source. In the present embodiment, the sound source is not configured to be detachable, but some sound sources of recent electronic musical instruments are configured to be detachable. Thus, when the sound source is configured to be detachable, the touch curve may be selected and set according to only the type of the sound source.
なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.
この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。 As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.
また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
7…メインCPU(取得手段、制御手段),9…RAM(取得手段),18…バス(取得手段),KU1,KU2…鍵盤ユニット 7 ... main CPU (acquisition means, control means), 9 ... RAM (acquisition means), 18 ... bus (acquisition means), KU1, KU2 ... keyboard unit
Claims (4)
該取得手段によって取得された鍵数情報に応じて、当該鍵盤ユニットから出力される音高情報についてのオクターブシフトを制御する制御手段と
を有することを特徴とする電子楽器。 Obtaining means for obtaining key number information indicating the number of keys provided in the keyboard unit from the mounted keyboard unit;
An electronic musical instrument comprising: control means for controlling an octave shift for pitch information output from the keyboard unit in accordance with the key number information acquired by the acquisition means.
前記取得手段は、前記第1および第2の接続手段に接続された鍵盤ユニットから前記鍵数情報をそれぞれ取得し、 The acquisition means acquires the key number information from the keyboard units connected to the first and second connection means, respectively.
前記制御手段は、前記第1の接続手段に接続された鍵盤ユニットから取得された前記鍵数情報に応じて、当該第1の接続手段に接続された鍵盤ユニットから出力される音高情報についてのオクターブシフトを制御する In accordance with the number-of-keys information acquired from the keyboard unit connected to the first connection means, the control means performs pitch information output from the keyboard unit connected to the first connection means. Control octave shift
ことを特徴とする請求項1に記載の電子楽器。The electronic musical instrument according to claim 1.
前記装着される鍵盤ユニットはいずれも、最下位鍵に対応して出力される前記音高情報が前記装着される鍵盤ユニットが備える鍵の数の異同に依らず同一である In any of the keyboard units to be mounted, the pitch information output corresponding to the lowest key is the same regardless of the number of keys included in the keyboard unit to be mounted.
ことを特徴とする請求項1または2に記載の電子楽器。The electronic musical instrument according to claim 1 or 2, wherein
該取得モジュールによって取得された鍵数情報に応じて、当該鍵盤ユニットから出力される音高情報についてのオクターブシフトを制御する制御モジュールと
をコンピュータに実行させるためのプログラム。 An acquisition module for acquiring key number information indicating the number of keys provided in the keyboard unit from the mounted keyboard unit;
A program for causing a computer to execute a control module that controls octave shift for pitch information output from the keyboard unit in accordance with key number information acquired by the acquisition module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006241891A JP4946280B2 (en) | 2006-09-06 | 2006-09-06 | Electronic musical instruments and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006241891A JP4946280B2 (en) | 2006-09-06 | 2006-09-06 | Electronic musical instruments and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008064982A JP2008064982A (en) | 2008-03-21 |
JP4946280B2 true JP4946280B2 (en) | 2012-06-06 |
Family
ID=39287762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006241891A Active JP4946280B2 (en) | 2006-09-06 | 2006-09-06 | Electronic musical instruments and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4946280B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56161688A (en) * | 1980-05-16 | 1981-12-12 | Matsushita Electric Ind Co Ltd | Semiconductor laser |
JP3223273B2 (en) * | 1991-09-18 | 2001-10-29 | カシオ計算機株式会社 | Keyboard device |
JP3901166B2 (en) * | 2003-03-24 | 2007-04-04 | ヤマハ株式会社 | Electronic musical instruments |
-
2006
- 2006-09-06 JP JP2006241891A patent/JP4946280B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008064982A (en) | 2008-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101405790B (en) | Simultaneous sharing of system resources by multiple input devices | |
US7799985B2 (en) | Electronic musical apparatus, control method therefor, and storage medium storing instructions for implementing the method | |
US20060254410A1 (en) | Electronic musical instrument system and method emulating a removable media drive | |
JP5163100B2 (en) | Automatic accompaniment apparatus and program | |
JP4946281B2 (en) | Electronic musical instruments and programs | |
JP4946280B2 (en) | Electronic musical instruments and programs | |
US7368653B2 (en) | Electronic musical apparatus and program for controlling the same | |
JP2004117613A (en) | Electronic musical instrument | |
JP4543432B2 (en) | Electronic music apparatus, server and program | |
JP3738695B2 (en) | Electronic device, setting method thereof, and storage medium | |
JP2006145855A (en) | Automatic accompaniment apparatus and program for realizing control method thereof | |
JP6455270B2 (en) | Electronic music equipment | |
JP2005274597A (en) | Electronic music apparatus and program | |
JP4556896B2 (en) | Electronic musical instruments | |
JP4159439B2 (en) | Electronic musical instrument, musical sound generation method, and computer program | |
JP4214916B2 (en) | Electronic music equipment | |
JP4648177B2 (en) | Electronic musical instruments and computer programs | |
JP3228394B2 (en) | Electronic musical instrument | |
JP4957606B2 (en) | Electronic keyboard instrument | |
JP3728915B2 (en) | Pitch display device and storage medium | |
JP2007155806A (en) | Controller and computer program for electronic musical instrument | |
JP4648756B2 (en) | Electronic musical instruments | |
JP4640467B2 (en) | Electronic music apparatus and program | |
JP5091281B2 (en) | Electronic musical instruments | |
JP4920946B2 (en) | Music generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090717 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110415 |
|
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: 20120207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120220 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150316 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4946280 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |