JP2611467B2 - Electronic keyboard instrument - Google Patents

Electronic keyboard instrument

Info

Publication number
JP2611467B2
JP2611467B2 JP2009037A JP903790A JP2611467B2 JP 2611467 B2 JP2611467 B2 JP 2611467B2 JP 2009037 A JP2009037 A JP 2009037A JP 903790 A JP903790 A JP 903790A JP 2611467 B2 JP2611467 B2 JP 2611467B2
Authority
JP
Japan
Prior art keywords
mode
key
chord
keyboard
automatic accompaniment
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
JP2009037A
Other languages
Japanese (ja)
Other versions
JPH03213899A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2009037A priority Critical patent/JP2611467B2/en
Publication of JPH03213899A publication Critical patent/JPH03213899A/en
Application granted granted Critical
Publication of JP2611467B2 publication Critical patent/JP2611467B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、外部から音高情報を入力した和音を検出
することにより、通常の演奏が使用できる鍵盤のキーの
数を減らすことなく自動伴奏を付加することのできる電
子鍵盤楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention detects a chord to which pitch information has been input from the outside, and thereby automatically accompaniment without reducing the number of keys on a keyboard that can be used for normal performance. The present invention relates to an electronic keyboard instrument to which a character can be added.

[従来技術] 従来、いわゆる自動伴奏機能を備えた電子鍵盤楽器が
知られている。これは予め鍵盤の所定の範囲を伴奏用の
鍵盤の範囲として定めておき、自動伴奏を付加するとき
にはこの伴奏用の鍵盤において1つまたは複数のキーの
押鍵を検出し、この押鍵の状態から和音を検出し、指定
されたリズム(自動伴奏パターン)に基づいてベース音
およびカード音などからなる自動伴奏音を発生するもの
である。
[Prior Art] Conventionally, an electronic keyboard instrument having a so-called automatic accompaniment function has been known. In this case, a predetermined range of the keyboard is determined in advance as a range of a key for accompaniment, and when an automatic accompaniment is added, a key depression of one or a plurality of keys on the keyboard for accompaniment is detected, and the state of the key depression is determined. , And generates an automatic accompaniment sound composed of a base sound, a card sound and the like based on a designated rhythm (automatic accompaniment pattern).

鍵盤のうち伴奏用の範囲以外の部分はメロディ用の鍵
盤として用いることができる。このメロディ用の鍵盤の
範囲で押鍵がなされた場合には、その押鍵されたキーに
対応する楽音(鍵盤音)が発生する。このようにして、
演奏者は伴奏用の鍵盤では幾つかの鍵を押鍵して自動伴
奏を付加することができ、メロディ用の鍵盤では押鍵に
対応したメロディ音を発生するようにして、演奏するこ
とができる。
A portion of the keyboard other than the range for accompaniment can be used as a melody keyboard. When a key is pressed within the range of the melody keyboard, a musical tone (keyboard sound) corresponding to the pressed key is generated. In this way,
The performer can perform automatic accompaniment by pressing a few keys on the keyboard for accompaniment, and generating a melody sound corresponding to the key pressed on the melody keyboard. .

[発明が解決しようとする課題] ところで、通常、自動伴奏用には1オクターブあるい
はそれ以上の鍵域を割当て、その範囲でキーの押鍵を検
出する。そのため、自動伴奏を付与しつつ演奏を行う場
合には、自動演奏以外の鍵域(メロディ用の鍵域)が狭
くなり、満足のいく演奏ができなくなるという不都合が
あった。
[Problems to be Solved by the Invention] Usually, a key range of one octave or more is assigned for automatic accompaniment, and key depression is detected within that range. Therefore, when performing a performance while giving an automatic accompaniment, a key range other than the automatic performance (a key range for a melody) is narrowed, and there is a disadvantage that a satisfactory performance cannot be performed.

この発明は、上述の従来形における問題点に鑑み、自
動伴奏を付加しない通常の演奏で用いることのできる鍵
盤のキーの数を減らすことなく自動伴奏を付加すること
のできる電子鍵盤楽器を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention provides an electronic keyboard instrument that can add an automatic accompaniment without reducing the number of keys on a keyboard that can be used in a normal performance without an automatic accompaniment. The purpose is to:

[課題を解決するための手段] この目的を達成するため、この発明は、音高情報を入
力するための複数のキーを備えた鍵盤を有し、各キーの
押鍵によって同時に複数の楽音を発生することができる
電子鍵盤楽器において、外部からの信号に応じて第1の
モードと第2のモードとを択一的に切り替えるモード切
り替え手段と、外部から音高情報を入力する外部入力手
段と、上記モード切り替え手段によって第1のモードが
選択されていた場合は、上記鍵盤の所定の鍵域から入力
された音高情報に基づいて和音を検出し、上記モード切
り替え手段によって第2のモードが選択されていた場合
は、上記外部入力手段により入力された音高情報に基づ
いて和音を検出する和音検出手段と、自動伴奏パターン
を発生する自動伴奏パターン発生手段と、上記和音検出
手段により検出される和音および上記自動伴奏パターン
発生手段により発生された自動伴奏パターンに基づい
て、自動伴奏の楽音を発生する楽音発生手段とを具備す
ることを特徴とする。
[Means for Solving the Problems] In order to achieve this object, the present invention has a keyboard having a plurality of keys for inputting pitch information, and a plurality of musical tones are simultaneously produced by pressing each key. In an electronic keyboard musical instrument capable of generating, a mode switching means for selectively switching between a first mode and a second mode in accordance with an external signal, and an external input means for externally inputting pitch information. If the first mode is selected by the mode switching means, a chord is detected based on pitch information input from a predetermined range of the keyboard, and the second mode is switched by the mode switching means. If selected, a chord detecting means for detecting a chord based on the pitch information input by the external input means, an automatic accompaniment pattern generating means for generating an automatic accompaniment pattern, A musical tone generating means for generating an automatic accompaniment musical tone based on the chord detected by the chord detecting means and the automatic accompaniment pattern generated by the automatic accompaniment pattern generating means.

[作 用] このような構成によれば、モード切り替え手段は外部
からの信号に応じて第1のモードと第2のモードとを択
一的に切り替える。和音検出手段は、第1のモードのと
きには鍵盤の所定の鍵域から入力された音高情報に基づ
いて和音を検出し、第2のモードのときには外部から入
力された音高情報に基づいて和音を検出する。自動伴奏
パターン発生手段は自動伴奏のためのパターンを発生す
る。そして、和音検出手段により検出される和音および
自動伴奏パターン発生手段により発生される自動伴奏の
パターンに基づき、楽音発生手段によって自動伴奏の楽
音を発生する。一方、演奏者は、第1のモードのときに
は、上記所定の鍵域で自動伴奏のための和音の押鍵を行
ない、それ以外の鍵域では通常の演奏を行なうことがで
き、その通常の演奏に対しては対応する楽音が発生され
る。また、第2のモードのときには、演奏者は鍵盤のす
べての鍵を用いて演奏することができ、この押鍵に対し
ては対応する楽音が発生される。
[Operation] According to such a configuration, the mode switching means selectively switches between the first mode and the second mode according to an external signal. The chord detecting means detects a chord based on pitch information input from a predetermined key range of the keyboard in the first mode, and a chord based on pitch information input from the outside in the second mode. Is detected. The automatic accompaniment pattern generating means generates a pattern for automatic accompaniment. Then, based on the chord detected by the chord detecting means and the pattern of the automatic accompaniment generated by the automatic accompaniment pattern generating means, the musical sound generating means generates a musical tone of the automatic accompaniment. On the other hand, in the first mode, the player can depress a chord for an automatic accompaniment in the predetermined key range, and can perform a normal performance in other key ranges. , A corresponding tone is generated. In the second mode, the player can perform using all keys on the keyboard, and a corresponding tone is generated in response to the key depression.

[実施例] 以下、図面を用いてこの発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は、この発明の一実施例に係る電子鍵盤楽器の
ブロック構成図である。この図において、11は電子鍵盤
楽器の全体の動作を制御するための中央処理装置(CP
U)、12はCPU11に対してタイマ割込みを行うためのテン
ポクロック発生器、13はワークレジスタあるいはフラグ
などに用いるランダムアクセスメモリ(RAM)、14はCPU
11が実行するプログラムなどが格納されているリードオ
ンリィメモリ(ROM)、15は自動伴奏パターンが格納さ
れたパターンメモリ、16は鍵盤、17はモードスイッチ、
18はモードスイッチ以外のその他のスイッチ、19はMIDI
方式の入力を受付けるMIDIインターフェース、20は楽音
形成手段(音源)、21はサウンドシステムである。これ
らの各ブロックは双方向のバスライン22に接続されてい
る。
FIG. 1 is a block diagram of an electronic keyboard instrument according to an embodiment of the present invention. In this figure, reference numeral 11 denotes a central processing unit (CP) for controlling the entire operation of the electronic keyboard instrument.
U) and 12 are tempo clock generators for performing timer interrupts to the CPU 11, 13 is a random access memory (RAM) used for work registers or flags, and 14 is a CPU
11 is a read-only memory (ROM) that stores programs to be executed, 15 is a pattern memory that stores automatic accompaniment patterns, 16 is a keyboard, 17 is a mode switch,
18 is other switch except mode switch, 19 is MIDI
A MIDI interface that accepts the input of the system, 20 is a musical tone forming means (sound source), and 21 is a sound system. Each of these blocks is connected to a bidirectional bus line 22.

次に、この実施例の電子鍵盤楽器で用いられているレ
ジスタあるいはフラグの説明をする。
Next, a register or a flag used in the electronic keyboard instrument of this embodiment will be described.

(1)MODE:モードレジスタ。“0"でノーマルモード、
“1"で伴奏鍵自動演奏モード(キーABC(オートベース
コード)モード)、“2"でMIDI自動演奏モード(MIDI・
ABCモード)を、それぞれ表す。
(1) MODE: Mode register. Normal mode with “0”,
“1” indicates the accompaniment key automatic performance mode (key ABC (auto bass chord) mode), and “2” indicates the MIDI automatic performance mode (MIDI
ABC mode).

(2)KCD:キーコードを格納するキーコードレジスタ。
各発音チャンネルごとに設けられ、発音チャンネルがi
チャンネルのキーコードレジスタはKCDiで表すものとす
る。
(2) KCD: Key code register for storing a key code.
A sound channel is provided for each sound channel.
The key code register of the channel is represented by KCDi.

(3)ROOT:検出した和音の根音を格納するための根音
レジスタ。
(3) ROOT: A root register for storing the root of the detected chord.

(4)TYPE:検出した和音の和音種類を格納するための
和音種類レジスタ。
(4) TYPE: Chord type register for storing the chord type of the detected chord.

(5)KON:鍵盤キーのキーオンがあった場合に“1"がセ
ットされ、キーオフされた場合に“0"がリセットされ
る、キーオンフラグ。
(5) KON: A key-on flag that is set to "1" when a keyboard key is turned on and reset to "0" when the key is turned off.

次に第2図のフローチャートを参照して、この実施例
に係る電子鍵盤楽器の動作を説明する。この電子鍵盤楽
器において処理がスタートすると、まずステップS11で
イニシャライズを行い、ステップS12が押鍵処理を行
い、ステップS13でMIDI処理を行い、ステップS14でモー
ドスイッチ処理を行い、ステップS15でその他の処理を
行った後、再びステップS12に戻る。以上のループ処理
を繰返す。
Next, the operation of the electronic keyboard instrument according to this embodiment will be described with reference to the flowchart of FIG. When processing is started in this electronic keyboard instrument, first, initialization is performed in step S11, key depression processing is performed in step S12, MIDI processing is performed in step S13, mode switch processing is performed in step S14, and other processing is performed in step S15. Is performed, and the process returns to step S12. The above loop processing is repeated.

第3図を参照して、第2図ステップS14のモードスイ
ッチ処理ルーチンについて説明する。
The mode switch processing routine in step S14 in FIG. 2 will be described with reference to FIG.

モードスイッチ処理ルーチンにおいては、ステップS2
1でモードスイッチ17のうちキーABCスイッチがオンされ
たか否かを判別する。ステップS21でキーABCスイッチが
オンされている場合、演奏者の伴奏鍵域における押鍵に
基づいて自動演奏を行う伴奏鍵自動演奏モード(キーAB
Cモード)とするために、ステップS22でモードレジスタ
MODEに“1"を格納し、ステップS23へと進む。ステップS
21でキーABCスイッチのオンイベントがない場合は、直
接スイッチS23へと進む。
In the mode switch processing routine, step S2
At step 1, it is determined whether or not the key ABC switch of the mode switch 17 has been turned on. If the key ABC switch is turned on in step S21, the accompaniment key automatic performance mode (key AB
C mode), set the mode register in step S22.
“1” is stored in MODE, and the process proceeds to step S23. Step S
If there is no key ABC switch ON event at 21, the process proceeds directly to the switch S23.

ステップS23ではモードスイッチ17のうちMIDI・ABCス
イッチがオンされたか否かを判別する。MIDI・ABCスイ
ッチがオンされている場合は、外部からの入力に基づい
て自動演奏を行うMIDI自動演奏モード(MIDI・ABCモー
ド)とするため、ステップS24でモードレジスタMODEに
“2"を格納した後、ステップS25へと進む。ステップS23
でMIDI・ABCスイッチのオンではない場合は、直接ステ
ップS25へと進む。
In step S23, it is determined whether or not the MIDI / ABC switch among the mode switches 17 has been turned on. If the MIDI / ABC switch is on, "2" is stored in the mode register MODE in step S24 to set the MIDI automatic performance mode (MIDI / ABC mode) in which automatic performance is performed based on external input. Thereafter, the process proceeds to step S25. Step S23
If the MIDI / ABC switch is not on, the process proceeds directly to step S25.

ステップS25ではモードスイッチ17のうちノーマルス
イッチがオンされているか否かを判別する。ノーマルス
イッチがオンされている場合は、自動伴奏は行わず演奏
者の押鍵に対応した楽音(鍵盤音)を発生するノーマル
モードとするため、ステップS26でモードレジスタMODE
に“0"を格納した後、リターンする。ステップS25でノ
ーマルスイッチのオンイベントがない場合は、直接リタ
ーンする。
In step S25, it is determined whether or not the normal switch among the mode switches 17 is turned on. If the normal switch is on, the mode register MODE is set in step S26 to set the normal mode in which a musical tone (keyboard sound) corresponding to a player's key press is generated without performing automatic accompaniment.
After "0" is stored in, return. If there is no ON event of the normal switch in step S25, the process directly returns.

以上の処理によりモードスイッチの操作に応じた演奏
のモードがモードレジスタMODEに設定される。
Through the above processing, the performance mode corresponding to the operation of the mode switch is set in the mode register MODE.

この実施例の電子鍵盤楽器では、上記モードスイッチ
の操作に応じたモードの切り替えに加え、MIDIインター
フェース19から入力したMIDI信号を用いて、外部から、
ノーマル、キーABC、またはMIDI・ABCのモードの切り替
えを行なうことができる。特許請求の範囲第1項の記載
中、「第1のモード」はノーマルモードに、「第2のモ
ード」はMIDI・ABCモードに、それぞれ対応する。
In the electronic keyboard instrument of this embodiment, in addition to the mode switching in accordance with the operation of the mode switch, an external device is used by using a MIDI signal input from the MIDI interface 19.
You can switch between Normal, Key ABC, and MIDI / ABC modes. In the first claim, "first mode" corresponds to a normal mode, and "second mode" corresponds to a MIDI / ABC mode.

第4図を参照して、第2図のステップS12の押鍵処理
において、まずステップS31でモードレジスタMODEが
“1"であるか否かを判別する。“1"である場合は伴奏自
動演奏モードであるから、ステップS41へと分岐する。
ステップS31でモードレジスタMODEが“1"でない場合
は、ステップS32でキーオンイベントがあるか否か判別
する。キーオンイベントがあればステップS33へと進
み、なければステップS36へと分岐する。
Referring to FIG. 4, in the key pressing process in step S12 in FIG. 2, first, in step S31, it is determined whether or not the mode register MODE is "1". If the value is "1", the mode is the accompaniment automatic performance mode, and the process branches to step S41.
If the mode register MODE is not "1" in step S31, it is determined in step S32 whether or not there is a key-on event. If there is a key-on event, the process proceeds to step S33; otherwise, the process branches to step S36.

ステップS33ではオンされた鍵盤キーに対応する楽音
を発生されるためにチャンネルの割当て処理を行う。割
当てチャンネルナンバはiとする。次に、ステップS34
でiチャンネルのキーオンフラグKONiに“1"を、キーコ
ードレジスタKCDiにオンイベントのあったキーのキーコ
ードを、それぞれ格納する。そして、ステップS35で音
源20にノートオンおよびキーコードKCDiを送出して楽音
を発生させ、ステップS36へと進む。
In step S33, a channel assignment process is performed to generate a tone corresponding to the turned on keyboard key. The assigned channel number is i. Next, step S34
Then, "1" is stored in the key-on flag KONi of the i-channel, and the key code of the key having the ON event is stored in the key code register KCDi. In step S35, note-on and key code KCDi are transmitted to the sound source 20 to generate a musical tone, and the process proceeds to step S36.

ステップS36ではキーオフイベントがあるか否かを判
別する。キーオフイベントがない場合は、そのままリタ
ーンし、ある場合はステップS37へと進む。ステップS37
でキーオフイベントのあったキーのキーコードと一致す
るキーコードで発音されているチャンネルをサーチす
る。そして、ステップS38で該当するチャンネルがある
か否かを判別する。該当するチャンネルナンバiのチャ
ンネルがある場合は、ステップS39へと進み、ない場合
はそのままリターンする。ステップS39でiチャンネル
のキーオンフラグKONiをゼロクリアし、ステップS40で
音源20のiチャンネルにノートオフを送出して消音し、
リターンする。
In step S36, it is determined whether or not there is a key-off event. If there is no key-off event, the process returns as it is, and if there is, the process proceeds to step S37. Step S37
To search for a channel that is sounding with a key code that matches the key code of the key that had the key-off event. Then, in a step S38, it is determined whether or not there is a corresponding channel. If there is a channel with the corresponding channel number i, the process proceeds to step S39; otherwise, the process returns. In step S39, the key-on flag KONi of the i-channel is cleared to zero, and in step S40, a note-off is sent to the i-channel of the sound source 20 to mute the sound.
To return.

ステップS31でモードレジスタMODEが“1"である場合
は、ステップS41でキーオンイベントがあるか否かを判
別する。キーオンイベントがある場合はステップS42へ
と進み、ない場合はそのままリターンする。ステップS4
2ではオンイベントのあったキーの鍵域を判別する。そ
の鍵域がノーマル域すなわちメロディ用の鍵盤の範囲で
ある場合は、その押鍵に対応する楽音を発生する必要が
あるから、ステップS33へと分岐し対応する鍵盤音を発
生させる。
If the mode register MODE is "1" in step S31, it is determined in step S41 whether or not there is a key-on event. If there is a key-on event, the process proceeds to step S42; otherwise, the process returns. Step S4
In step 2, the key range of the key having the ON event is determined. If the key range is the normal range, that is, the range of the melody keyboard, it is necessary to generate a musical tone corresponding to the key depression, and the process branches to step S33 to generate a corresponding keyboard sound.

ステップS42でキーオンイベントのあったキーの鍵域
がABC域すなわち伴奏用の鍵盤の範囲である場合は、ス
テップS43で押鍵の組合わせから和音を検出し、根音を
レジスタROOTに、和音の種類をレジスタTYPEに、それぞ
れ格納し、リターンする。
If the key range of the key having the key-on event in step S42 is the ABC range, that is, the range of the keyboard for accompaniment, a chord is detected from the combination of key presses in step S43, the root note is stored in the register ROOT, and the chord of the chord is detected. The type is stored in the register TYPE, respectively, and the process returns.

以上のようにして、ノーマルモードまたはMIDI自動演
奏モードのときは、すべての鍵盤の範囲において押鍵に
対応する楽音(鍵盤音)が発生される。一方、伴奏鍵自
動演奏モードのときは押鍵の鍵域に対応して自動伴奏ま
たは押鍵に対応する発音がなされる。
As described above, in the normal mode or the MIDI automatic performance mode, a musical tone (keyboard sound) corresponding to a key depression is generated in the range of all keys. On the other hand, in the accompaniment key automatic performance mode, a sound corresponding to the automatic accompaniment or the key depression is produced corresponding to the key range of the key depression.

第5図を参照して、第2図のステップS13のMIDI処理
において、まずステップS51でモードレジスタMODEが
“2"であるか否かを判別する。モードレジスタMODEが
“2"のときはMIDI自動演奏モードであるから、ステップ
S52で外部からMIDI入力により音高情報を入力し、その
キーコードの組合わせから和音を検出し、根音をレジス
タROOTに、和音の種類をレジスタTYPEに、それぞれ格納
する。その後、ステップS53に進む。ステップS51でモー
ドレジスタMODE“2"でない場合は、ノーマルモードまた
は伴奏鍵自動演奏モードであるから、ステップS53へと
分岐する。ステップS53でその他のMIDI処理を行った
後、リターンする。
Referring to FIG. 5, in the MIDI processing in step S13 in FIG. 2, first, in step S51, it is determined whether or not the mode register MODE is "2". When the mode register MODE is "2", the MIDI automatic performance mode is selected.
At step S52, pitch information is input from the outside by MIDI input, a chord is detected from the combination of the key codes, and the root note is stored in the register ROOT and the type of the chord is stored in the register TYPE. After that, it advances to step S53. If the mode register MODE is not "2" in step S51, the process branches to step S53 because the mode is the normal mode or the accompaniment key automatic performance mode. After performing other MIDI processing in step S53, the process returns.

以上のMIDI処理により、MIDI自動演奏モードにおいて
外部入力から和音を検出しその根音および和音種類が所
定のレジスタに格納される。
Through the above MIDI processing, a chord is detected from an external input in the MIDI automatic performance mode, and its root and chord type are stored in a predetermined register.

第6図を参照して、この実施例の電子鍵盤楽器におけ
るテンポクロック割込み処理ルーチンについて説明す
る。テンポクロック割込み処理ルーチンは、所定時間間
隔でテンポクロック発生器12から発生される割込み信号
に基づいて、CPU11が実行する処理である。
With reference to FIG. 6, a description will be given of a tempo clock interrupt processing routine in the electronic keyboard instrument of this embodiment. The tempo clock interrupt processing routine is a process executed by the CPU 11 based on an interrupt signal generated from the tempo clock generator 12 at predetermined time intervals.

テンポクロック割込み処理においては、まずステップ
S61でモードレジスタMODEが“0"であるか否かを判別す
る。モードMODEが“0"であるときはノーマルモードであ
るから、そのままリターンする。モードMODEが“0"以外
であるときは伴奏鍵自動演奏モードまたはMIDI自動演奏
モードであるから、ステップS62でリズム種類に応じた
パターンを選択しテンポクロックの値に基づいて発音す
べきデータを読み出す。
In the tempo clock interrupt processing, first step
In S61, it is determined whether or not the mode register MODE is "0". When the mode MODE is "0", the mode is the normal mode, and therefore, the process returns. If the mode MODE is other than "0", the mode is the accompaniment key automatic performance mode or the MIDI automatic performance mode, so in step S62 a pattern corresponding to the rhythm type is selected and data to be generated is read out based on the value of the tempo clock. .

次にステップS63で発音すべき制御データがあるか否
か判別する。発音すべきデータがある場合はステップS6
4へと進み、ない場合はステップS67へと分岐する。ステ
ップS64では読み出した制御データを和音種類TYPEに基
づいて修正し、さに根音ROOTを加算して発音すべきノー
トデータを生成する。そして、ステップS65で発音すべ
き音域のオクターブ情報を付与し、ステップS66でこの
ように加工したデータを音源20へと送出して楽音を発生
させる。そして、ステップS67でテンポクロックを歩進
して、リターンする。
Next, in step S63, it is determined whether there is control data to be sounded. If there is data to pronounce, step S6
Proceed to 4, and if not, branch to step S67. In step S64, the read control data is corrected based on the chord type TYPE, and a root note ROOT is added to the corrected control data to generate note data to be generated. Then, in step S65, octave information of a sound range to be sounded is given, and in step S66, the data thus processed is transmitted to the sound source 20 to generate a musical tone. Then, in step S67, the tempo clock is advanced, and the process returns.

以上のようなテンポクロック割込み処理によって、伴
奏自動演奏モードまたはMIDI自動演奏モードにおける自
動演奏の楽音が発生される。
By the tempo clock interrupt processing as described above, a musical tone of the automatic performance in the accompaniment automatic performance mode or the MIDI automatic performance mode is generated.

なお、外部からの音高情報の入力は、例えば他のMIDI
キーボードまはシーケンサなど、音高情報を発生するこ
とのできるものであればどのようなものを用いてもよ
い。1台の親機としての電子楽器に複数台の子機として
の電子楽器を接続したような教習用の電子楽器のシステ
ムにこの発明を適用すれば、親機から自動伴奏用の音高
情報を各子機へ送出し、各子機において自動演奏を附加
しつつ、子機において押鍵演奏を行うことができる。
Note that input of pitch information from the outside is, for example,
Any device that can generate pitch information, such as a keyboard or a sequencer, may be used. If the present invention is applied to an electronic musical instrument system for training in which a plurality of electronic musical instruments as child devices are connected to one electronic musical instrument as a parent device, pitch information for automatic accompaniment is transmitted from the parent device. A key press performance can be performed in each of the slave units while the automatic performance is added to each slave unit.

上述の実施例においては、音高情報の入力をMIDI方式
の入力によったが、これに限らず、その他の伝送方式を
用いることもできる。また、上記の実施例では、ベース
音およびコード音を付与するオートベースコードの例を
示したが、これに限らず、どのような自動伴奏に適用す
ることもできる。また、ソフトウェアでなくともハード
ウェアを用いて制御することもできる。
In the above-described embodiment, the input of the pitch information is based on the input of the MIDI method. However, the input is not limited to this, and other transmission methods can be used. Further, in the above-described embodiment, an example of the auto bass chord for providing the bass sound and the chord sound has been described. Also, the control can be performed using hardware instead of software.

[発明の効果] 以上説明したように、この発明によれば、MIDIなどの
外部からの音高情報を入力により、和音を検出して自動
伴奏を行っており、さらに外部からの信号に応じてモー
ドを切り替えそのモードに応じて自動伴奏をどのような
態様で行なうかを決定しているので、外部機器から自動
伴奏のモードの変更を容易に行なうことができるととも
に、キーの押鍵に対応する楽音を発生することのできる
鍵盤のキーの数を少なくすることがなく、自動伴奏を付
加しつつ、広い鍵域での演奏を行うことができる。
[Effects of the Invention] As described above, according to the present invention, an external accompaniment is performed by detecting a chord by inputting external pitch information such as MIDI, and further, in accordance with an external signal. Since the mode of automatic accompaniment is determined according to the mode by switching the mode, it is possible to easily change the mode of automatic accompaniment from an external device and to respond to key depression. It is possible to perform in a wide range of keys while adding automatic accompaniment without reducing the number of keys on the keyboard capable of generating musical tones.

【図面の簡単な説明】[Brief description of the drawings]

第1図は、この発明の一実施例に係る電子鍵盤楽器のブ
ロック構成図、 第2図は、この実施例の電子鍵盤楽器のメインルーチン
の動作を説明するためのフローチャート、 第3図は、この実施例の電子鍵盤楽器のモードスイッチ
処理ルーチンの動作を説明するためのフローチャート、 第4図は、この実施例の電子鍵盤楽器の押鍵処理ルーチ
ンの動作を説明するためのフローチャート、 第5図は、この実施例の電子鍵盤楽器のMIDI処理ルーチ
ンの動作を説明するためのフローチャート、 第6図は、その実施例の電子鍵盤楽器のテンポクロック
割込み処理ルーチンの動作を説明するためのフローチャ
ートである。 11:CPU、12:テンポクロック発生器、13:RAM、14:ROM、1
5:パターンメモリ、16:鍵盤、17:モードスイッチ、18:
その他スイッチ、19:MIDIインターフェース、20:楽音形
成手段、21:サウンドシステム。
FIG. 1 is a block diagram of an electronic keyboard instrument according to an embodiment of the present invention. FIG. 2 is a flowchart for explaining the operation of a main routine of the electronic keyboard instrument of this embodiment. FIG. 4 is a flowchart for explaining an operation of a mode switch processing routine of the electronic keyboard instrument of this embodiment. FIG. 4 is a flowchart for explaining an operation of a key pressing processing routine of the electronic keyboard instrument of this embodiment. Is a flowchart for explaining the operation of the MIDI processing routine of the electronic keyboard instrument of this embodiment. FIG. 6 is a flowchart for explaining the operation of the tempo clock interruption processing routine of the electronic keyboard instrument of the embodiment. . 11: CPU, 12: Tempo clock generator, 13: RAM, 14: ROM, 1
5: Pattern memory, 16: Keyboard, 17: Mode switch, 18:
Other switches, 19: MIDI interface, 20: musical tone formation means, 21: sound system.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】音高情報を入力するための複数のキーを備
えた鍵盤を有し、各キーの押鍵によって同時に複数の楽
音を発生することができる電子鍵盤楽器において、 外部からの信号に応じて第1のモードと第2のモードと
を択一的に切り替えるモード切り替え手段と、 外部からの音高情報を入力する外部入力手段と、 上記モード切り替え手段によって第1のモードが選択さ
れていた場合は、上記鍵盤の所定の鍵域から入力された
音高情報に基づいて和音を検出し、上記モード切り替え
手段によって第2のモードが選択されていた場合は、上
記外部入力手段により入力された音高情報に基づいて和
音を検出する和音検出手段と、 自動伴奏パターンを発生する自動伴奏パターン発生手段
と、 上記和音検出手段により検出された和音および上記自動
伴奏パターン発生手段により発生される自動伴奏パター
ンに基づいて、自動伴奏の楽音を発生する楽音発生手段
と を具備することを特徴とする電子鍵盤楽器。
An electronic keyboard musical instrument having a keyboard provided with a plurality of keys for inputting pitch information and capable of simultaneously generating a plurality of musical tones by depressing each key. Mode switching means for selectively switching between the first mode and the second mode in response thereto, external input means for inputting pitch information from outside, and the first mode is selected by the mode switching means. If the second mode is selected by the mode switching means, a chord is detected based on pitch information input from a predetermined key range of the keyboard. A chord detecting means for detecting a chord based on the pitch information, an automatic accompaniment pattern generating means for generating an automatic accompaniment pattern, a chord detected by the chord detecting means, Based on the automatic accompaniment pattern generated by the accompaniment pattern generating means, the electronic keyboard instrument, characterized by comprising a tone generating means for generating a music of automatic accompaniment.
JP2009037A 1990-01-18 1990-01-18 Electronic keyboard instrument Expired - Fee Related JP2611467B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009037A JP2611467B2 (en) 1990-01-18 1990-01-18 Electronic keyboard instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009037A JP2611467B2 (en) 1990-01-18 1990-01-18 Electronic keyboard instrument

Publications (2)

Publication Number Publication Date
JPH03213899A JPH03213899A (en) 1991-09-19
JP2611467B2 true JP2611467B2 (en) 1997-05-21

Family

ID=11709455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009037A Expired - Fee Related JP2611467B2 (en) 1990-01-18 1990-01-18 Electronic keyboard instrument

Country Status (1)

Country Link
JP (1) JP2611467B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0553582A (en) * 1991-08-27 1993-03-05 Kawai Musical Instr Mfg Co Ltd Automatic accompaniment device
JP3049989B2 (en) * 1993-04-09 2000-06-05 ヤマハ株式会社 Performance information analyzer and chord detector
USRE38477E1 (en) 1993-04-09 2004-03-30 Yamaha Corporation Performance information analyzer and chord detection device associated therewith

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59192288A (en) * 1983-04-15 1984-10-31 カシオ計算機株式会社 System electronic musical instrument

Also Published As

Publication number Publication date
JPH03213899A (en) 1991-09-19

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JP3177374B2 (en) Automatic accompaniment information generator
JP2611467B2 (en) Electronic keyboard instrument
JP2583809B2 (en) Electronic musical instrument
US5319152A (en) Chord information output apparatus and automatic accompaniment apparatus
US5523521A (en) Electronic musical instrument including at least two tone-generation assigners
JP2768233B2 (en) Electronic musical instrument
JP3405020B2 (en) Electronic musical instrument
JP2530744Y2 (en) Electronic musical instrument
JPH0566776A (en) Automatic orchestration device
JPH04166895A (en) Electronic musical instrument
JP3097382B2 (en) Chord detector
JP3363962B2 (en) Electronic musical instrument
JPH0631964B2 (en) Electronic musical instrument
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
KR970008441B1 (en) Key sprit position set-up method for electronic musical instrument
JPH04319999A (en) Sound generation instruction device for electronic musical instrument
JPH0320758B2 (en)
JP2001051681A (en) Automatic accompaniment information generator
JP3015226B2 (en) Electronic musical instrument
JP2714893B2 (en) Chord information output device
JP3476863B2 (en) Automatic accompaniment device for electronic musical instruments
JPH05108068A (en) Phrase information input and output device
JPH01179089A (en) Automatic playing device
JPH0518437B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees