JPH0594178A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0594178A
JPH0594178A JP3167259A JP16725991A JPH0594178A JP H0594178 A JPH0594178 A JP H0594178A JP 3167259 A JP3167259 A JP 3167259A JP 16725991 A JP16725991 A JP 16725991A JP H0594178 A JPH0594178 A JP H0594178A
Authority
JP
Japan
Prior art keywords
chord
information
performance
key
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.)
Granted
Application number
JP3167259A
Other languages
Japanese (ja)
Other versions
JP2825030B2 (en
Inventor
Masao Kondo
昌夫 近藤
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 JP3167259A priority Critical patent/JP2825030B2/en
Publication of JPH0594178A publication Critical patent/JPH0594178A/en
Application granted granted Critical
Publication of JP2825030B2 publication Critical patent/JP2825030B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide an automatic accompanying device which can take a melody performance form using the whole key area even in the case an automatic accompanying performance by reproducing code sound information is performed. CONSTITUTION:A performance information generating means generates key-push information corresponding to a performance operation, and a reproducing means outputs first chord information stored in advance. Subsequently, in the case a selecting means selects first chord information, a chord detecting means outputs first chord information and key-push information, and an automatic accompanying means 9 performs automatic accompaniment based on this first chord information. In such a way, even in the case an automatic accompanying performance is performed in accordance with code sound information, a melody performance using the whole key area can be performed.

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

【0001】この発明は、例えば、電子ピアノなどの電
子楽器に係り、特に、自動伴奏がなされている場合で
も、全鍵域を用いたメロディ演奏を行うことができる電
子楽器に関する。
The present invention relates to an electronic musical instrument such as an electronic piano, and more particularly to an electronic musical instrument capable of playing a melody using the entire key range even when an automatic accompaniment is performed.

【0002】[0002]

【従来の技術】周知のように、電子ピアノ等の電子楽器
においては、予めコード(和音)進行をプログラムして
おき、このプログラムに従って自動伴奏演奏する機種が
各種実用化されている。こうした電子ピアノには、コー
ドシーケンサと呼ばれる自動伴奏装置が具備されてい
る。この自動伴奏装置は、予め記録しておいたコード音
情報を順次読み出し、これに基づき伴奏音源を駆動する
ように構成されている。
2. Description of the Related Art As is well known, in electronic musical instruments such as electronic pianos, various models have been put into practical use in which chord (chord) progression is programmed in advance and automatic accompaniment performance is performed in accordance with this program. Such an electronic piano is equipped with an automatic accompaniment device called a chord sequencer. The automatic accompaniment apparatus is configured to sequentially read chord sound information recorded in advance and drive an accompaniment sound source based on the sequentially read out chord sound information.

【0003】ところで、このような自動伴奏装置を具備
する電子楽器にあっては、単に、コード音情報を再生し
て自動的に伴奏演奏を行うだけでは、音楽的変化に欠け
た単調な演奏になってしまう。そこで、近年では、こう
した伴奏演奏中に、演奏者による実際のコード演奏を挿
入するようにして、変化に富んだ伴奏演奏を可能にして
いる。
By the way, in an electronic musical instrument equipped with such an automatic accompaniment device, simply playing back the chord information and automatically performing the accompaniment will result in a monotonous performance lacking in musical changes. turn into. Therefore, in recent years, an actual chord performance by the performer is inserted into such an accompaniment performance to enable a variety of accompaniment performances.

【0004】すなわち、この種の電子楽器では、伴奏鍵
域における押鍵操作を検出すると、記憶手段から読み出
したコード音情報に基づく伴奏演奏を自動的に禁止し、
該押鍵操作に従ったコード演奏に応じて伴奏音源を駆動
するようにしている。なお、この種の技術については、
例えば、実公昭63−26869号公報に開示されてい
る。
That is, in this type of electronic musical instrument, when a key depression operation in the accompaniment key range is detected, the accompaniment performance based on the chord sound information read from the storage means is automatically prohibited,
The accompaniment sound source is driven according to the chord performance according to the key depression operation. Regarding this type of technology,
For example, it is disclosed in Japanese Utility Model Publication No. 63-26869.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来の電子楽器にあっては、演奏者が伴奏鍵域を押鍵
操作すると、一意的にコード演奏と見做されてしまうた
め、全鍵域を用いたメロディ演奏を行うことができない
という問題があった。この発明は上述した事情に鑑みて
なされたもので、コード音情報再生による自動伴奏演奏
がなされている場合にあっても、全鍵域を用いたメロデ
ィ演奏を行うことができる電子楽器を提供することを目
的としている。
However, in the above-described conventional electronic musical instrument, when the performer performs a key operation on the accompaniment key area, it is uniquely regarded as a chord performance. There was a problem that it was not possible to play a melody using. The present invention has been made in view of the above circumstances, and provides an electronic musical instrument capable of performing a melody performance using the entire key range even when an automatic accompaniment performance is performed by playing chord information. The purpose is to

【0006】[0006]

【課題を解決するための手段】この発明は、演奏操作に
応じた押鍵情報を発生する演奏情報発生手段と、予めコ
ード演奏に対応した第1の和音情報を記憶しておき、外
部から供給されるタイミング信号に応じて前記第1の和
音情報を順次読み出して出力する再生手段と、操作子の
設定条件に従って前記押鍵情報と前記第1の和音情報と
のいずれかを選択する選択手段と、この選択手段によっ
て前記押鍵情報が選択された場合には、該押鍵情報から
第2の和音情報を検出して出力し、前記第1の和音情報
が選択された場合には、該第1の和音情報と前記押鍵情
報とを出力する和音検出手段と、この和音検出手段から
出力される情報であって、前記第1の和音情報あるいは
前記第2の和音情報のいずれかに基づいて自動的に伴奏
する自動伴奏手段とを具備することを特徴としている。
According to the present invention, performance information generating means for generating key-depression information according to a performance operation and first chord information corresponding to a chord performance are stored in advance and supplied from the outside. Reproducing means for sequentially reading and outputting the first chord information according to a timing signal to be generated, and selecting means for selecting one of the key depression information and the first chord information according to a setting condition of an operator. When the key depression information is selected by the selecting means, the second chord information is detected and output from the key depression information, and when the first chord information is selected, the second chord information is detected. Chord detection means for outputting one chord information and the key depression information, and information output from the chord detection means, based on either the first chord information or the second chord information. Automatic accompaniment means that automatically accompanies It is characterized by having a.

【0007】[0007]

【作用】上記構成によれば、演奏情報発生手段が演奏操
作に応じた押鍵情報を発生し、再生手段が予め記憶して
おいた第1の和音情報を出力する。そして、選択手段が
前記第1の和音情報を選択した場合、和音検出手段が前
記第1の和音情報と前記押鍵情報とを出力し、自動伴奏
手段がこの第1の和音情報に基づいて自動伴奏する。こ
れにより、コード音情報に従って自動伴奏演奏がなされ
ている場合にあっても、全鍵域を用いたメロディ演奏を
行うことが可能になる。一方、選択手段が前記押鍵情報
を選択した場合には、和音検出手段が該押鍵情報から第
2の和音情報を検出して出力し、自動伴奏手段がこの第
2の和音情報に基づいて自動伴奏する。
According to the above construction, the performance information generating means generates key-depression information according to the performance operation, and the reproducing means outputs the first chord information stored in advance. When the selecting means selects the first chord information, the chord detecting means outputs the first chord information and the key depression information, and the automatic accompaniment means automatically outputs the chord information based on the first chord information. Accompanied. As a result, even when the automatic accompaniment performance is performed according to the chord sound information, it becomes possible to perform the melody performance using the entire key range. On the other hand, when the selection means selects the key depression information, the chord detection means detects the second chord information from the key depression information and outputs it, and the automatic accompaniment means based on the second chord information. Accompanied automatically.

【0008】[0008]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。 A.実施例の構成 図1はこの発明による一実施例の構成を示すブロック図
である。この図において、1はバスを介して供給される
各種信号に基づき装置各部を制御するCPUであり、そ
の動作については後述する。2はこのCPU1にロード
される各種制御プログラムが記憶されるプログラムメモ
リ(ROM)である。3はCPU1のワークエリアとし
て、各種演算結果や、レジスタデータおよびフラグが一
時記憶されるワーキングメモリ(RAM)である。4は
テンポクロック発生回路であり、自動伴奏時の演奏テン
ポを指定するテンポクロックTcを発生し、これをCP
U1に供給する。なお、このテンポクロックTcがCP
U1に供給されると、該CPU1は、このクロック周期
毎に後述する割込み処理を実行する。
Embodiments of the present invention will be described below with reference to the drawings. A. Configuration of Embodiment FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In this figure, reference numeral 1 is a CPU that controls each part of the apparatus based on various signals supplied via a bus, and its operation will be described later. A program memory (ROM) 2 stores various control programs loaded into the CPU 1. As a work area of the CPU 1, a working memory (RAM) 3 temporarily stores various calculation results, register data and flags. Reference numeral 4 denotes a tempo clock generation circuit, which generates a tempo clock Tc that specifies a performance tempo during automatic accompaniment, and uses this as a CP.
Supply to U1. This tempo clock Tc is CP
When supplied to U1, the CPU 1 executes an interrupt process described later every clock cycle.

【0009】5は各鍵毎に設けられたキースイッチのオ
ンオフ状態から押離鍵を検出し、押鍵に応じたキーコー
ド信号およびキーオン信号と、離鍵に応じたキーオフ信
号とを発生する鍵盤である。なお、この鍵盤5では、通
常、コード演奏時に和音を指定する左鍵域と、メロディ
演奏がなされる右鍵域とに区別されている。6はパネル
上に配設される各種操作子である。この各種操作子6に
は、例えば、自動伴奏を開始/停止する際に操作される
RUNスイッチ、後述する伴奏スタイル(リズムの種
類)を選択するスタイルスイッチ、コード演奏を記録す
る際に操作されるRECスイッチ、記録したコード演奏
を再生するPLAYスイッチ等が配設されている。ま
た、この操作子6には、図示されていないスイッチイベ
ント検出回路が具備されており、これによって各スイッ
チ操作に対応したイベント信号が生成される。
Reference numeral 5 is a keyboard which detects a key press / release from the on / off state of a key switch provided for each key, and generates a key code signal and a key on signal according to the key press, and a key off signal according to the key release. Is. It should be noted that the keyboard 5 is normally divided into a left key range for specifying chords during chord performance and a right key range for performing melody performance. Reference numeral 6 denotes various operators arranged on the panel. The various operators 6 are, for example, RUN switches operated when starting / stopping automatic accompaniment, style switches for selecting an accompaniment style (rhythm type) described later, and operated when recording chord performances. A REC switch, a PLAY switch for reproducing a recorded chord performance, and the like are provided. Further, the operator 6 is provided with a switch event detection circuit (not shown), which generates an event signal corresponding to each switch operation.

【0010】7は伴奏パターンメモリ(ROM)であ
る。この伴奏パターンメモリ7には、上述したテンポク
ロックTcに対応してコード音の発音タイミングを制御
する所定小節分のリズムパターンが記憶されている。8
はコードメモリ(RAM)である。このコードメモリ8
には、コード演奏記録時において左鍵域でなされる押鍵
操作に基づき検出されたコード音情報が一時記憶され
る。ここで、コード音情報とは、演奏された和音の根音
とそのコードパターンとを表す情報である。
Reference numeral 7 is an accompaniment pattern memory (ROM). The accompaniment pattern memory 7 stores a rhythm pattern for a predetermined measure for controlling the sounding timing of the chord sound corresponding to the above-mentioned tempo clock Tc. 8
Is a code memory (RAM). This code memory 8
Temporarily stores chord sound information detected based on a key depression operation performed in the left key range when recording a chord performance. Here, the chord tone information is information that represents the root note of the played chord and its chord pattern.

【0011】9は自動伴奏装置である。この自動伴奏装
置9は、伴奏音源を有し、コードメモリ8から読み出さ
れたコード音情報を、伴奏パターンメモリ7から読み出
されたリズムパターンに従った発音タイミングで該伴奏
音源を駆動し、伴奏音信号Scを発生する。10は、例
えば周知の波形メモリ読み出し方式により生成される楽
音信号Sgを出力するノーマル音源である。11はこの
楽音信号Sgと伴奏音信号Scとを混合して出力するミ
クサである。13はこのミクサ11から出力される信号
を増幅し、これをスピーカから発音させるサウンドシス
テムである。
Reference numeral 9 is an automatic accompaniment device. The automatic accompaniment device 9 has an accompaniment sound source, and drives the chord sound information read from the chord memory 8 at a sounding timing according to the rhythm pattern read from the accompaniment pattern memory 7, The accompaniment sound signal Sc is generated. Reference numeral 10 is a normal sound source that outputs a tone signal Sg generated by a well-known waveform memory reading method, for example. Reference numeral 11 denotes a mixer for mixing and outputting the musical sound signal Sg and the accompaniment sound signal Sc. Reference numeral 13 is a sound system that amplifies the signal output from the mixer 11 and outputs it from a speaker.

【0012】B.実施例の概略動作 次に、上記構成による実施例の概略動作について図2に
示すフローチャートを参照し、説明する。まず、この実
施例である電子楽器に電源が投入されると、CPU1は
プログラムメモリ2に記憶された制御プログラムをロー
ドする。これにより、図2に示すメインルーチンが起動
され、ステップSa1に進む。ステップSa1では、各
種レジスタやフラグ等をリセットする初期設定が行わ
れ、次のステップSa2に進む。ステップSa2では、
キーイベントが有るか否か、すなわち、押離鍵操作に基
づくキーオン/キーオフ信号が生成されたか否かを判断
する。ここで、キーイベントがあると、この判断結果が
「YES」となり、次のステップSa3に進み、一方、
キーイベントが無い場合には、ステップSa4に進む。
B. Schematic operation of the embodiment Next, the schematic operation of the embodiment having the above-described configuration will be described with reference to the flowchart shown in FIG. First, when the electronic musical instrument of this embodiment is powered on, the CPU 1 loads the control program stored in the program memory 2. As a result, the main routine shown in FIG. 2 is started, and the process proceeds to step Sa1. At step Sa1, initialization is performed to reset various registers and flags, and the process proceeds to next step Sa2. In step Sa2,
It is determined whether or not there is a key event, that is, whether or not the key-on / key-off signal based on the key release operation is generated. Here, if there is a key event, the result of this determination is “YES”, and the routine proceeds to the next Step Sa3, while
If there is no key event, the process proceeds to step Sa4.

【0013】ステップSa3に進むと、キーイベント処
理ルーチンが起動され、押離鍵操作に応じたキーオン/
キーオフ処理、あるいは和音検出処理がなされる。な
お、このキーイベント処理ルーチンの詳細については後
述する。次いで、ステップSa4に進むと、前述したR
UNスイッチが操作されたか否かを判断する。ここで、
演奏者がこのRUNスイッチを操作すると、この判断結
果が「YES」となり、次のステップSa5に進む。こ
れに対し、このRUNスイッチが操作されない場合に
は、判断結果が「NO」となり、ステップSa6に進
む。
When the process proceeds to step Sa3, a key event processing routine is started, and a key-on / key-on / key-down operation is performed in response to a key pressing operation.
Key-off processing or chord detection processing is performed. The details of this key event processing routine will be described later. Then, when the process proceeds to step Sa4, the above-mentioned R
It is determined whether the UN switch has been operated. here,
When the performer operates this RUN switch, the result of this determination becomes "YES", and the routine proceeds to the next Step Sa5. On the other hand, when the RUN switch is not operated, the determination result is “NO” and the process proceeds to step Sa6.

【0014】ステップSa5では、伴奏スタート/スト
ップ処理ルーチンが起動される。この伴奏スタート/ス
トップ処理ルーチンでは、後述するように、RUNスイ
ッチ操作に応じた制御信号を発生し、これを自動伴奏装
置9に供給する。すなわち、RUNスイッチがオン状態
に設定された際には、伴奏スタート信号を自動伴奏装置
9に供給する。一方、該スイッチがオフ状態に設定され
た際には、伴奏ストップ信号を供給する。次に、ステッ
プSa6に進むと、前述したRECスイッチが操作され
たか否かを判断する。ここで、演奏者がこのRECスイ
ッチを操作すると、この判断結果が「YES」となり、
次のステップSa7に進む。これに対し、RECスイッ
チが操作されない場合には、判断結果が「NO」とな
り、ステップSa8に進む。
At step Sa5, an accompaniment start / stop processing routine is started. In the accompaniment start / stop processing routine, as will be described later, a control signal corresponding to the operation of the RUN switch is generated and supplied to the automatic accompaniment device 9. That is, when the RUN switch is turned on, the accompaniment start signal is supplied to the automatic accompaniment apparatus 9. On the other hand, when the switch is set to the off state, the accompaniment stop signal is supplied. Next, in step Sa6, it is determined whether or not the above-mentioned REC switch has been operated. Here, when the performer operates this REC switch, the result of this judgment is "YES",
It proceeds to the next step Sa7. On the other hand, when the REC switch is not operated, the determination result is “NO” and the process proceeds to step Sa8.

【0015】そして、ステップSa7では、左鍵域にお
いてなされるコード演奏を記録するコードレコード処理
ルーチンが起動される。なお、このルーチンの詳細につ
いては後述する。次いで、この処理ルーチンが完了する
と、次のステップSa8に進む。ステップSa8では、
PLAYスイッチが操作されたか否かを判断する。ここ
で、演奏者が該スイッチを操作すると、判断結果が「Y
ES」となり、次のステップSa9に進み、一方、操作
されない場合には、この判断結果が「NO」となり、ス
テップSa10に進む。
Then, in step Sa7, a chord record processing routine for recording the chord performance performed in the left key range is started. The details of this routine will be described later. Then, when this processing routine is completed, the routine proceeds to the next Step Sa8. In step Sa8,
It is determined whether or not the PLAY switch has been operated. Here, when the player operates the switch, the judgment result is "Y.
ES ”, and the process proceeds to the next step Sa9. On the other hand, if it is not operated, this determination result becomes“ NO ”and the process proceeds to step Sa10.

【0016】ステップSa9では、上記ステップSa7
において記録されたコード演奏を再生するコードプレイ
処理ルーチンが起動される。なお、このルーチンの詳細
については後述する。次いで、このルーチンが完了する
と、次のステップSa10に進む。ステップSa10で
は、伴奏演奏のリズム種類を選択するスタイルスイッチ
が操作されたか否かを判断する。ここで、演奏者が該ス
イッチを操作すると、判断結果が「YES」となり、次
のステップSa11に進む。一方、操作されない場合に
は、この判断結果が「NO」となり、ステップSa2に
戻る。ステップSa11では、スタイル選択処理ルーチ
ンが起動され、スイッチ操作に応じたスタイルを設定
し、設定したスタイルナンバを自動伴奏装置9に出力す
る。ここで、伴奏スタイルとは、例えばワルツ、ロッ
ク、ボサノバ等の内、所定のリズム種類を表すものであ
る。そして、このルーチンが完了すると、ステップSa
2に戻り、以降上述した動作が繰返される。
In step Sa9, the above step Sa7 is executed.
A chord play processing routine for reproducing the chord performance recorded at is started. The details of this routine will be described later. Then, when this routine is completed, the routine proceeds to the next Step Sa10. In step Sa10, it is determined whether or not the style switch for selecting the rhythm type of the accompaniment performance has been operated. Here, when the player operates the switch, the determination result is "YES", and the process proceeds to the next step Sa11. On the other hand, if it is not operated, the determination result is “NO”, and the process returns to step Sa2. In step Sa11, a style selection processing routine is started, a style corresponding to the switch operation is set, and the set style number is output to the automatic accompaniment apparatus 9. Here, the accompaniment style represents a predetermined rhythm type among waltz, rock, bossa nova, and the like. Then, when this routine is completed, step Sa
Returning to 2, the above operation is repeated thereafter.

【0017】このように、上述したメインルーチンにあ
っては、演奏者の押離鍵操作と各スイッチ操作とに対応
した処理ルーチンが実行されるようになっており、以下
では各操作毎に起動される処理ルーチンの動作について
図3〜図8を参照し、説明する。
As described above, in the above-mentioned main routine, the processing routine corresponding to the key pressing operation and the key pressing operation by the player and each switch operation is executed. In the following, each processing operation is started. The operation of the processing routine performed will be described with reference to FIGS.

【0018】C.キーイベント処理ルーチンの動作 このルーチンは、演奏者が鍵盤5を押離鍵操作した場合
に起動され、これにより、CPU1の処理が図3に示す
ステップSb1へ進む。ステップSb1では、まず、レ
ジスタRUNの値が「1」であるか否かを判断する。こ
のレジスタRUNには、RUNスイッチがオン状態に設
定された場合に「1」、オフ状態に設定されている場合
に「0」がセットされる。なお、このRUNスイッチが
オン状態であると、自動伴奏開始を表し、オフ状態であ
ると自動伴奏停止を表す。以下では、このRUNスイッ
チの設定状況に対応した動作について説明する。
C. Operation of Key Event Processing Routine This routine is started when the player presses and releases the keyboard 5, and the processing of the CPU 1 proceeds to step Sb1 shown in FIG. In step Sb1, first, it is determined whether or not the value of the register RUN is "1". In this register RUN, "1" is set when the RUN switch is set to the ON state, and "0" is set when the RUN switch is set to the OFF state. It should be noted that when the RUN switch is on, the automatic accompaniment start is indicated, and when the RUN switch is off, the automatic accompaniment stop is indicated. The operation corresponding to the setting status of the RUN switch will be described below.

【0019】RUNスイッチがオフ状態に設定されて
いる場合 この場合、ステップSb1の判断結果が「NO」とな
り、ステップSb2に進む。ステップSb2では、検出
したキーイベントが押鍵操作に対応したオンイベントで
あるか否かを判断する。ここで、オンイベントである
と、この判断結果が「YES」となり、ステップSb3
に進み、キーオン処理が実行される。このキーオン処理
では、押鍵に伴って発生するキーオン信号とキーコード
とに基づき所定の音高の楽音信号を発生させる。一方、
オンイベントでない場合には、この判断結果が「NO」
となり、ステップSb4に進み、発音を完了させるキー
オフ処理が実行される。そして、これらステップSb
3,Sb4が終了すると、このルーチンからメインルー
チンへ復帰する。このように、RUNスイッチがオフ状
態、すなわち、自動伴奏が開始されない状態では、単
に、押離鍵操作による楽音信号が形成される。
When the RUN switch is set to the off state In this case, the determination result of step Sb1 is "NO", and the process proceeds to step Sb2. In step Sb2, it is determined whether or not the detected key event is an on event corresponding to a key pressing operation. Here, if it is an on event, the result of this determination is "YES", and step Sb3
Then, the key-on process is executed. In this key-on processing, a musical tone signal having a predetermined pitch is generated based on a key-on signal and a key code which are generated when a key is depressed. on the other hand,
If it is not an on event, the result of this judgment is "NO".
Then, the process proceeds to step Sb4, and a key-off process for completing sound generation is executed. Then, these steps Sb
When Sb4 and Sb4 are completed, the routine returns from this routine to the main routine. As described above, when the RUN switch is in the off state, that is, when the automatic accompaniment is not started, a tone signal is simply formed by the key pressing operation.

【0020】RUNスイッチがオン状態に設定されて
いる場合 この場合、ステップSb1の判断結果が「YES」とな
り、ステップSb5に進む。ステップSb5では、レジ
スタCSMODの値が「2」でないことを判断する。こ
のレジスタCSMODとは、自動伴奏装置9の動作モー
ドを表すデータが一時記憶される。すなわち、該装置9
が停止モードにある場合には「0」がセットされ、記録
モードにある場合には「1」がセットされ、再生モード
にある場合には「2」がセットされる。なお、この自動
伴奏装置9の動作モードは、前述したRECスイッチお
よびPLAYスイッチの操作で規定される。そして、こ
のステップSb5において、該装置9が停止モードまた
は記録モードにあると、判断結果が「YES」となり、
次のステップSb6に進む。
When the RUN switch is set to the ON state In this case, the determination result of step Sb1 is "YES", and the process proceeds to step Sb5. In step Sb5, it is determined that the value of the register CSMOD is not "2". The register CSMOD temporarily stores data representing the operation mode of the automatic accompaniment apparatus 9. That is, the device 9
Is set to the stop mode, "0" is set, the recording mode is set to "1", and the reproduction mode is set to "2". The operation mode of the automatic accompaniment device 9 is defined by the operation of the REC switch and the PLAY switch described above. Then, in step Sb5, if the device 9 is in the stop mode or the recording mode, the determination result is "YES",
It proceeds to the next step Sb6.

【0021】一方、自動伴奏装置9が再生モードにある
場合には、判断結果が「NO」になり、上述のステップ
Sb2に進む。この結果、再生モードにより自動的に伴
奏演奏がなされていても、左鍵域と右鍵域との区別がな
くなり、全鍵域を用いた通常のメロディ演奏を行うこと
が可能になる。
On the other hand, when the automatic accompaniment apparatus 9 is in the reproduction mode, the determination result is "NO", and the process proceeds to step Sb2 described above. As a result, even if the accompaniment performance is automatically performed in the reproduction mode, the left key range and the right key range are not distinguished, and the normal melody performance using the entire key range can be performed.

【0022】次いで、ステップSb6では、キーイベン
トが左鍵域の押離鍵操作に基づくものであるか否かを判
断する。ここで、左鍵域でない場合には、判断結果が
「NO」となり、ステップSb2に進む。一方、左鍵域
におけるキーイベントであると、判断結果が「YES」
となり、次のステップSb7に進む。ステップSb7で
は、この左鍵域における押鍵からコード(和音)を検出
する。このコード検出では、周知のローティション方式
に基づき、根音とコードタイプとが検出され、これらに
対応するデータがそれぞれレジスタRT,TPに一時記
憶される。ついで、ステップSb8では、このレジスタ
RTに記憶された根音と、レジスタTPに記憶されたコ
ードタイプとが読み出され、自動伴奏装置9に供給され
る。この結果、自動伴奏装置9が記録モードにあれば、
演奏者によるコード演奏が記録される。
Next, in step Sb6, it is determined whether or not the key event is based on a key release operation in the left key range. Here, when it is not in the left key range, the determination result is “NO”, and the process proceeds to step Sb2. On the other hand, if the key event is in the left keyboard range, the determination result is “YES”.
Then, the process proceeds to the next step Sb7. In step Sb7, a chord (chord) is detected from the key depression in this left key range. In this chord detection, the root note and chord type are detected based on the well-known rotation method, and the data corresponding to these are temporarily stored in registers RT and TP, respectively. Next, in step Sb8, the root note stored in the register RT and the chord type stored in the register TP are read out and supplied to the automatic accompaniment apparatus 9. As a result, if the automatic accompaniment apparatus 9 is in the recording mode,
The chord performance by the performer is recorded.

【0023】D.伴奏スタート/ストップ処理ルーチン このルーチンは、演奏者によりRUNスイッチが操作さ
れた場合に起動され、これにより、CPU1の処理が図
4に示すステップSc1へ進む。ステップSc1では、
レジスタRUNの内容をビット反転させ、次のステップ
Sc2に進む。ステップSc2では、この反転されたレ
ジスタRUNの値が「1」、すなわち、自動伴奏スター
トを表す状態にセットされているか否かを判断する。以
下では、このレジスタRUNの値に対応した動作につい
て説明する。
D. Accompaniment start / stop processing routine This routine is started when the player operates the RUN switch, and the processing of the CPU 1 advances to step Sc1 shown in FIG. In step Sc1,
The contents of the register RUN are bit-inverted, and the process proceeds to the next step Sc2. In step Sc2, it is determined whether or not the value of the inverted register RUN is set to "1", that is, the state indicating the automatic accompaniment start. The operation corresponding to the value of the register RUN will be described below.

【0024】レジスタRUNの値が「1」である場合 この場合、ステップSc2の判断結果が「YES」とな
り、次のステップSc3に進む。ステップSc3では、
前述したレジスタCSMODが「0」、すなわち、自動
伴奏装置9が停止モードでないことを判断する。ここ
で、該装置9が記録モードまたは再生モードにあると、
判断結果が「YES」となり、次のステップSc4に進
む。一方、自動伴奏装置9が停止モードにある場合に
は、ステップSc5へ進む。
When the value of the register RUN is "1" In this case, the determination result of step Sc2 is "YES", and the process proceeds to the next step Sc3. In step Sc3,
It is determined that the register CSMOD described above is "0", that is, the automatic accompaniment apparatus 9 is not in the stop mode. Here, when the device 9 is in the recording mode or the reproduction mode,
The determination result is “YES”, and the process proceeds to the next step Sc4. On the other hand, when the automatic accompaniment device 9 is in the stop mode, the process proceeds to step Sc5.

【0025】ステップSc4では、コードメモリ8のア
ドレス値が記憶されるレジスタBTに「0」をセット
し、次のステップSc5に進む。ステップSc5では、
自動伴奏開始の旨を表すスタート信号を生成し、これを
自動伴奏装置9に供給する。このように、RUNスイッ
チが操作された結果、レジスタRUNの値が「1」にな
ると、自動伴奏装置9が停止モードにある場合には、停
止した時点から再び開始する。一方、記録モードまたは
再生モードにある場合には、レジスタBTのアドレス値
に従って、コードメモリ8の先頭アドレスから読み出し
(再生モード時)、または書込み(記録モード)が開始
される。
At step Sc4, "0" is set in the register BT in which the address value of the code memory 8 is stored, and the process proceeds to the next step Sc5. In step Sc5,
A start signal indicating the start of automatic accompaniment is generated and supplied to the automatic accompaniment apparatus 9. In this way, when the value of the register RUN becomes "1" as a result of the operation of the RUN switch, if the automatic accompaniment apparatus 9 is in the stop mode, the automatic accompaniment apparatus 9 restarts from the time of the stop. On the other hand, in the recording mode or the reproducing mode, reading (in the reproducing mode) or writing (in the recording mode) is started from the head address of the code memory 8 according to the address value of the register BT.

【0026】レジスタRUNの値が「1」でない場合 この場合、ステップSc2の判断結果が「NO」とな
り、ステップSc6に進む。ステップSc6では、前述
したレジスタCSMODが「1」、すなわち、自動伴奏
装置9が記録モードにあるか否かを判断する。ここで、
該装置9が記録モードにあると、判断結果が「YES」
となり、次のステップSc7に進む。ステップSc7で
は、コードメモリ8の記憶エリアである配列CM(B
T)にエンドコードをセットする。なお、このエンドコ
ードとは、記憶完了を表すデータである。
When the value of the register RUN is not "1" In this case, the determination result of step Sc2 is "NO", and the routine proceeds to step Sc6. In step Sc6, it is determined whether the register CSMOD described above is "1", that is, whether the automatic accompaniment apparatus 9 is in the recording mode. here,
If the device 9 is in the recording mode, the determination result is "YES".
Then, the process proceeds to the next step Sc7. At step Sc7, the array CM (B
Set the end code in T). The end code is data indicating the completion of storage.

【0027】一方、自動伴奏装置9が記録モード以外の
モードにある場合には、このステップSc6での判断結
果が「NO」となり、ステップSc8に進む。ステップ
Sc8では、自動伴奏装置9を停止させるストップ信号
を発生して該装置9へ供給する。このように、レジスタ
RUNの値が「1」でない場合に、自動伴奏装置9が記
録モードにあると、コードメモリ8にエンドコードが記
録されて停止し、その他のモードではRUNスイッチの
操作と共に、該装置9を停止させている。
On the other hand, when the automatic accompaniment device 9 is in a mode other than the recording mode, the result of the determination in step Sc6 is "NO", and the process proceeds to step Sc8. In step Sc8, a stop signal for stopping the automatic accompaniment device 9 is generated and supplied to the device 9. As described above, when the value of the register RUN is not "1" and the automatic accompaniment apparatus 9 is in the recording mode, the end code is recorded in the code memory 8 and stopped. In other modes, the RUN switch is operated, The device 9 is stopped.

【0028】E.コードレコード処理ルーチンの動作 このルーチンは、RECスイッチが操作された場合に起
動され、これにより、CPU1の処理が図5に示すステ
ップSd1へ進む。ステップSd1では、レジスタCS
MODの値が「1」(記録モード)であるか否かを判断
する。ここで、自動伴奏装置9が記録モードにあると、
判断結果が「YES」となり、次のステップSd2に進
む。ステップSd2では、レジスタRUNの値が「1」
であるか否かを判断する。そして、該装置9が自動伴奏
スタートを表す状態にセットされている場合には、この
判断結果が「YES」となり、次のステップSd3に進
み、一方、そうでない場合にはステップSd4へ進む。
E. Operation of Code Record Processing Routine This routine is started when the REC switch is operated, whereby the processing of the CPU 1 proceeds to step Sd1 shown in FIG. In step Sd1, the register CS
It is determined whether or not the MOD value is "1" (recording mode). Here, when the automatic accompaniment device 9 is in the recording mode,
The determination result is “YES”, and the process proceeds to the next step Sd2. At step Sd2, the value of the register RUN is "1".
Or not. Then, when the device 9 is set to the state indicating the automatic accompaniment start, the determination result is "YES", and the process proceeds to the next step Sd3, while otherwise, the process proceeds to step Sd4.

【0029】ステップSd3では、コードメモリ8にお
ける配列CM(BT)にエンドコードをセットし、次の
ステップSd4に進む。次いで、ステップSd4では、
レジスタCSMODの値を「0」、すなわち、自動伴奏
装置9を停止モードに設定し、このルーチンを終了す
る。
In step Sd3, the end code is set in the array CM (BT) in the code memory 8, and the process proceeds to the next step Sd4. Then, in step Sd4,
The value of the register CSMOD is set to "0", that is, the automatic accompaniment apparatus 9 is set to the stop mode, and this routine is finished.

【0030】一方、上述したステップSd1の判断結果
が「NO」、つまり、自動演奏装置9が停止モードまた
は再生モードであると、ステップSd5に進む。ステッ
プSd5では、レジスタBTに「0」をセットし、次い
で、ステップSd6に進むと、レジスタCSMODに
「1」(記録モード)をセットする。これにより、コー
ドメモリ8の先頭アドレスから順次検出されたコード音
情報が記録されることになる。
On the other hand, if the result of the determination made in step Sd1 is "NO", that is, if the automatic performance device 9 is in the stop mode or the reproduction mode, the process proceeds to step Sd5. In step Sd5, "0" is set in the register BT, and then in step Sd6, "1" (recording mode) is set in the register CSMOD. As a result, the chord sound information sequentially detected from the head address of the chord memory 8 is recorded.

【0031】このように、コードレコード処理ルーチン
にあっては、自動演奏装置9が記録モードで動作してい
る場合に、RECスイッチがオン状態に設定されると、
該装置9を停止モードに移行させる。また、該装置9が
停止モードまたは再生モードにある時に、RECスイッ
チがオン状態に設定されると、一意的に記録モードに設
定され、コード演奏が記録される。
As described above, in the chord record processing routine, when the REC switch is set to the ON state while the automatic performance device 9 is operating in the recording mode,
The device 9 is shifted to the stop mode. When the REC switch is turned on when the device 9 is in the stop mode or the reproduction mode, the recording mode is uniquely set and the chord performance is recorded.

【0032】F.コードプレイ処理ルーチンの動作 このルーチンは、PLAYスイッチが操作された場合に
起動され、これにより、CPU1の処理が図6に示すス
テップSe1へ進む。まず、ステップSe1では、レジ
スタCSMODの値が「1」(記録モード)であるか否
かを判断する。ここで、自動伴奏装置9が記録モードに
あると、この判断結果が「YES」となり、次のステッ
プSe2に進む。ステップSe2では、コードメモリ8
の記憶エリアCM(BT)にエンドコードをセットし、
次のステップSe3に進む。
F. Operation of Code Play Processing Routine This routine is started when the PLAY switch is operated, and the processing of the CPU 1 proceeds to step Se1 shown in FIG. First, in step Se1, it is determined whether or not the value of the register CSMOD is "1" (recording mode). Here, if the automatic accompaniment apparatus 9 is in the recording mode, the result of this determination is "YES", and the routine goes to the subsequent Step Se2. In step Se2, the code memory 8
Set the end code in the storage area CM (BT) of
It proceeds to the next step Se3.

【0033】ステップSe3では、レジスタCSMOD
の値を「2」、すなわち、自動演奏装置9を再生モード
に設定する。次に、ステップSe4に進むと、レジスタ
RUNの値が「1」であって、かつ、レジスタCSMO
Dの値が「2」であるか否かを判断する。ここで、自動
伴奏開始状態であって、再生モードにあると、この判断
結果が「YES」となり、次のステップSe5に進む。
そして、ステップSe5では、レジスタBTに「0」を
セットする。この結果、コードメモリ8の先頭アドレス
から順次コード音情報が読み出され、再生がなされる。
これに対し、自動伴奏開始状態でない時には、上記ステ
ップSe4の判断結果が「NO」となり、このルーチン
を終了する。
At step Se3, the register CSMOD
Value of "2", that is, the automatic performance device 9 is set to the reproduction mode. Next, when proceeding to step Se4, the value of the register RUN is "1", and the register CSMO
It is determined whether the value of D is "2". Here, in the automatic accompaniment start state and in the reproduction mode, the determination result is "YES", and the process proceeds to the next step Se5.
Then, in step Se5, "0" is set in the register BT. As a result, the chord sound information is sequentially read from the head address of the chord memory 8 and reproduced.
On the other hand, when it is not in the automatic accompaniment start state, the determination result of the step Se4 is "NO", and this routine is ended.

【0034】一方、上述したステップSe1の判断結果
が「NO」の場合には、ステップSe6に処理が進む。
ステップSe6では、レジスタCSMODが「0」、つ
まり自動伴奏装置9が停止モードにあるか否かを判断す
る。ここで、停止モードにあると、判断結果が「YE
S」となり、ステップSe7に進み、再生モードにある
と、この判断結果が「NO」となり、ステップSe8に
進む。そして、ステップSe7では、レジスタCSMO
Dの値を「2」(再生モード)に設定し、ステップSe
8ではレジスタCSMODの値を「0」(停止モード)
に設定し、いずれの場合もステップSe4へ進む。
On the other hand, if the result of the determination in step Se1 is "NO", the process proceeds to step Se6.
In step Se6, it is determined whether the register CSMOD is "0", that is, the automatic accompaniment apparatus 9 is in the stop mode. Here, in the stop mode, the determination result is “YE
S ", the process proceeds to step Se7, and in the reproduction mode, the determination result is" NO ", and the process proceeds to step Se8. Then, in step Se7, the register CSMO
Set the value of D to "2" (playback mode), and go to Step Se
In 8, the value of register CSMOD is "0" (stop mode)
Is set, and in any case, the process proceeds to step Se4.

【0035】このように、コードプレイ処理ルーチンに
あっては、自動演奏装置9が再生モードにある時にPL
AYスイッチをオン状態に設定すると、該装置9を停止
モードに移行させる。また、該装置9が記録モードにあ
る時にPLAYスイッチをオン状態に設定すると、一旦
記録を完了させた後、コードメモリ8の先頭アドレスか
ら読み出しがなされ、再生が行われる。さらに、停止モ
ードにある場合には、再生モードに設定される。
As described above, in the code play processing routine, when the automatic performance device 9 is in the reproduction mode, the PL
When the AY switch is set to the ON state, the device 9 shifts to the stop mode. If the PLAY switch is set to the ON state when the device 9 is in the recording mode, the recording is once completed, and then the reading is performed from the head address of the code memory 8 and the reproduction is performed. Furthermore, when in the stop mode, the reproduction mode is set.

【0036】G.スタイル選択処理ルーチンの動作 このルーチンは、演奏者によりスタイルスイッチが操作
された場合に起動され、これにより、CPU1の処理が
図7に示すステップSf1へ進む。ステップSf1で
は、まず、CPU1がスタイルスイッチの操作に応じて
発生するイベント信号を取込み、これに基づき伴奏時の
リズム種類を表すスタイルナンバデータを生成し、これ
をレジスタSTLNにセットする。次いで、ステップS
f2に進むと、このレジスタSTLNに一時記憶された
スタイルナンバデータを自動伴奏装置9に供給し、この
ルーチンを終了する。
G. Operation of Style Selection Processing Routine This routine is activated when the player operates the style switch, and the processing of the CPU 1 proceeds to step Sf1 shown in FIG. In step Sf1, first, the CPU 1 takes in an event signal generated in response to the operation of the style switch, generates style number data representing the rhythm type at the time of accompaniment based on the event signal, and sets it in the register STLN. Then, step S
When proceeding to f2, the style number data temporarily stored in the register STLN is supplied to the automatic accompaniment apparatus 9, and this routine is finished.

【0037】H.割込み処理ルーチンの動作 ところで、自動伴奏装置9が記録モードまたは再生モー
ドにある場合、CPU1はテンポクロックTc周期(例
えば、1拍毎)に、図8に示す割込み処理ルーチンを起
動し、ステップSg1に進む。ステップSg1では、前
述したレジスタRUNに「1」がセットされているか否
か、すなわち、自動伴奏スタート状態にあるか否かを判
断する。ここで、レジスタRUNに「0」がセットされ
ていると、自動伴奏がスタートしないので、判断結果が
「NO」となり、このルーチンを終了する。一方、自動
伴奏がスタートしている場合には、ステップSg2,S
g3において動作モードを区別する。以下、各動作モー
ド毎の動作について説明する。
H. Operation of Interrupt Processing Routine By the way, when the automatic accompaniment apparatus 9 is in the recording mode or the reproducing mode, the CPU 1 activates the interrupt processing routine shown in FIG. 8 in the tempo clock Tc cycle (for example, every beat), and proceeds to step Sg1. move on. In step Sg1, it is determined whether or not "1" is set in the register RUN described above, that is, whether or not the automatic accompaniment start state is set. Here, if "0" is set in the register RUN, the automatic accompaniment does not start, so the determination result is "NO", and this routine is ended. On the other hand, if the automatic accompaniment has started, steps Sg2, S
The operation modes are distinguished in g3. The operation in each operation mode will be described below.

【0038】記録モード時の割込み動作 自動伴奏装置9が記録モードにある時には、ステップS
g2の判断結果が「NO」になり、ステップSg3に進
む。そして、ステップSg3では、レジスタCSMOD
が「1」(記録モード)であるか否かを判断する。この
場合、判断結果は「YES」となり、次のステップSg
4に進む。ステップSg4では、レジスタRTの内容を
配列CM(BT)に書込むと共に、レジスタTPの内容
を配列CM(BT+1)に書込む。ここで、レジスタR
T、TPの内容は、それぞれ前述したキーイベント処理
ルーチン(図3参照)にて検出したコードの根音および
コードパターンを表すデータである。また、BTは書込
みアドレスである。
Interrupt Operation in Recording Mode When the automatic accompaniment apparatus 9 is in recording mode, step S
The determination result of g2 becomes "NO", and the process proceeds to step Sg3. Then, in step Sg3, the register CSMOD
Is "1" (recording mode). In this case, the determination result is “YES”, and the next step Sg
Go to 4. In step Sg4, the contents of the register RT are written in the array CM (BT) and the contents of the register TP are written in the array CM (BT + 1). Where register R
The contents of T and TP are data representing the root note and chord pattern of the chord detected by the above-mentioned key event processing routine (see FIG. 3). BT is a write address.

【0039】続いて、ステップSg7に進むと、次の書
込みアドレスを設定するため、レジスタBTの内容を
「2」インクリメントする。そして、ステップSg8で
は、記録完了の旨を表すエンドコードが、このインクリ
メントされた書込みアドレスにセットされているか否か
を判断する。ここで、この書込みアドレスにエンドコー
ドがセットされていると、判断結果が「YES」とな
り、次のステップSg9に進む。ステップSg9では、
レジスタBTに「0」をセットし、書込みアドレスをリ
セットする。そして、この割込み処理ルーチンを終了す
る。
Then, in step Sg7, the content of the register BT is incremented by "2" to set the next write address. Then, in step Sg8, it is determined whether or not the end code indicating the completion of recording is set in the incremented write address. Here, if the end code is set in this write address, the determination result is "YES", and the process proceeds to the next step Sg9. In step Sg9,
"0" is set in the register BT and the write address is reset. Then, this interrupt processing routine ends.

【0040】再生モード時の割込み動作 自動伴奏装置9が再生モードにある時には、ステップS
g2の判断結果が「YES」になり、ステップSg5に
進む。ステップSg5では、上述した記録モード時にお
いて記録されたコードの根音およびコードパターンを、
それぞれ配列CM(BT)およびに配列CM(BT+
1)から読み出し、読み出したデータをレジスタRT,
TPにセットする。そして、ステップSg6に進むと、
各レジスタRT,TPの内容が自動伴奏装置9に出力さ
れ、この結果、記録しておいたコード演奏が再生され、
自動伴奏が行われる。
Interrupt Operation in Playback Mode When the automatic accompaniment apparatus 9 is in the playback mode, step S
The determination result of g2 is “YES”, and the process proceeds to step Sg5. In step Sg5, the root note and chord pattern of the chord recorded in the above-mentioned recording mode are
Sequence CM (BT) and sequence CM (BT +
1) is read from the register, the read data is read from the register RT,
Set to TP. Then, when the process proceeds to step Sg6,
The contents of the registers RT and TP are output to the automatic accompaniment device 9, and as a result, the recorded chord performance is reproduced,
Automatic accompaniment is performed.

【0041】停止モード時の割込み動作 ところで、自動伴奏装置9が停止モードにあると、上述
したステップSg3の判断結果が「NO」となり、ステ
ップSg7に進むことで、レジスタBTの内容が「2」
インクリメントされる。これにより、停止モードからそ
の他モードへ移行する場合の書込みアドレス、または読
み出しアドレスが更新されることになる。
Interrupt Operation in Stop Mode By the way, when the automatic accompaniment apparatus 9 is in the stop mode, the result of the determination in step Sg3 is "NO", and the process proceeds to step Sg7, whereby the content of the register BT is "2".
Incremented. As a result, the write address or read address when the stop mode is changed to the other mode is updated.

【0042】以上のように、この実施例においては、ま
ず、演奏者がスタイルスイッチを操作して伴奏スタイル
となる所定のリズム種類を選択する。次いで、予め記録
しておいたコード演奏を再生する場合には、PLAYス
イッチを操作する。次に、このPLAYスイッチ操作に
応じて自動伴奏装置9が再生モードになると、RUNス
イッチを操作することで、選択されたリズムに従ってコ
ードメモリ8に記録されたコード音情報が読み出され、
これにより自動伴奏演奏がなされる。そして、この再生
モード中にあっては、鍵盤5の全鍵域がメロディ鍵盤と
見做されるため、自動伴奏演奏と共に、通常のメロディ
演奏が可能となる。なお、記録されたコード音情報が最
後まで読み出された場合には、最初に戻って繰返し再生
がなさるようになっている。
As described above, in this embodiment, first, the performer operates the style switch to select a predetermined rhythm type as an accompaniment style. Next, when reproducing the chord performance recorded in advance, the PLAY switch is operated. Next, when the automatic accompaniment apparatus 9 enters the reproduction mode in response to the operation of the PLAY switch, the RUN switch is operated to read out the chord sound information recorded in the chord memory 8 in accordance with the selected rhythm,
As a result, an automatic accompaniment performance is performed. In this reproduction mode, the entire keyboard 5 is regarded as a melody keyboard, so that a normal melody performance is possible together with an automatic accompaniment performance. When the recorded chord sound information is read out to the end, the reproduction is repeated by returning to the beginning.

【0043】一方、コード演奏を記録する際には、RE
Cスイッチが操作され、この操作に応じて自動伴奏装置
9が記録モードになると、テンポクロックTc(例え
ば、1拍)毎に左鍵域での和音検出がなされ、検出され
たコード音情報が順次コードメモリ8に記録される。
On the other hand, when recording a chord performance, RE
When the C switch is operated and the automatic accompaniment apparatus 9 enters the recording mode in response to this operation, chord detection in the left keyboard region is performed at each tempo clock Tc (for example, 1 beat), and the detected chord sound information is sequentially output. It is recorded in the code memory 8.

【0044】[0044]

【発明の効果】以上説明したように、この発明によれ
ば、演奏情報発生手段が演奏操作に応じた押鍵情報を発
生し、再生手段が予め記憶しておいた第1の和音情報を
出力する。そして、選択手段が前記第1の和音情報を選
択した場合、和音検出手段が前記第1の和音情報と前記
押鍵情報とを出力し、自動伴奏手段がこの第1の和音情
報に基づいて自動伴奏するので、コード音情報再生によ
る自動伴奏演奏がなされている場合にあっても、全鍵域
を用いたメロディ演奏形態をとることができる。
As described above, according to the present invention, the performance information generating means generates key-depression information according to a performance operation, and the reproducing means outputs the first chord information stored in advance. To do. When the selecting means selects the first chord information, the chord detecting means outputs the first chord information and the key depression information, and the automatic accompaniment means automatically outputs the chord information based on the first chord information. Since the accompaniment is performed, even when the automatic accompaniment performance is performed by reproducing the chord sound information, it is possible to take a melody performance form using the entire key range.

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

【図1】 この発明による一実施例の全体構成を示すブ
ロック図。
FIG. 1 is a block diagram showing the overall configuration of an embodiment according to the present invention.

【図2】 同実施例におけるメインルーチンの動作を示
すフローチャート。
FIG. 2 is a flowchart showing the operation of a main routine in the embodiment.

【図3】 同実施例におけるキーイベント処理ルーチン
の動作を示すフローチャート。
FIG. 3 is a flowchart showing an operation of a key event processing routine in the embodiment.

【図4】 同実施例における伴奏スタート/ストップ処
理ルーチンの動作を示すフローチャート。
FIG. 4 is a flowchart showing an operation of an accompaniment start / stop processing routine in the embodiment.

【図5】 同実施例におけるコードレコード処理ルーチ
ンの動作を示すフローチャート。
FIG. 5 is a flowchart showing an operation of a code record processing routine in the embodiment.

【図6】 同実施例におけるコードプレイ処理ルーチン
の動作を示すフローチャート。
FIG. 6 is a flowchart showing the operation of a code play processing routine in the embodiment.

【図7】 同実施例におけるスタイル選択ルーチンの動
作を示すフローチャート。
FIG. 7 is a flowchart showing an operation of a style selection routine in the embodiment.

【図8】 同実施例における割込み処理ルーチンの動作
を示すフローチャート。
FIG. 8 is a flowchart showing the operation of an interrupt processing routine in the embodiment.

【符号の説明】[Explanation of symbols]

1…CPU、2…プログラムメモリ(ROM)、3…ワ
ーキングメモリ(RAM)、4…テンポクロック発生回
路、5…鍵盤、6…操作子、7…伴奏パターンメモリ
(ROM)、8…コードメモリ、9…自動伴奏装置。
1 ... CPU, 2 ... Program memory (ROM), 3 ... Working memory (RAM), 4 ... Tempo clock generation circuit, 5 ... Keyboard, 6 ... Operator, 7 ... Accompaniment pattern memory (ROM), 8 ... Code memory, 9 ... Automatic accompaniment device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 演奏操作に応じた押鍵情報を発生する演
奏情報発生手段と、 予めコード演奏に対応した第1の和音情報を記憶してお
き、外部から供給されるタイミング信号に応じて前記第
1の和音情報を順次読み出して出力する再生手段と、 操作子の設定条件に従って前記押鍵情報と前記第1の和
音情報とのいずれかを選択する選択手段と、 この選択手段によって前記押鍵情報が選択された場合に
は、該押鍵情報から第2の和音情報を検出して出力し、
前記第1の和音情報が選択された場合には、該第1の和
音情報と前記押鍵情報とを出力する和音検出手段と、 この和音検出手段から出力される情報であって、前記第
1の和音情報あるいは前記第2の和音情報のいずれかに
基づいて自動的に伴奏する自動伴奏手段とを具備するこ
とを特徴とする電子楽器。
1. Performance information generating means for generating key-depression information according to a performance operation, and first chord information corresponding to a chord performance are stored in advance, and the first chord information is stored according to a timing signal supplied from the outside. Reproduction means for sequentially reading and outputting the first chord information, selection means for selecting either the key depression information or the first chord information according to the setting condition of the operator, and the key depression by the selection means. When the information is selected, the second chord information is detected and output from the key depression information,
When the first chord information is selected, the chord detection unit outputs the first chord information and the key depression information, and the information output from the chord detection unit is the first chord information. And an automatic accompaniment means for automatically performing an accompaniment based on either the chord information or the second chord information.
JP3167259A 1991-07-08 1991-07-08 Electronic musical instrument Expired - Fee Related JP2825030B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3167259A JP2825030B2 (en) 1991-07-08 1991-07-08 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3167259A JP2825030B2 (en) 1991-07-08 1991-07-08 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH0594178A true JPH0594178A (en) 1993-04-16
JP2825030B2 JP2825030B2 (en) 1998-11-18

Family

ID=15846422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3167259A Expired - Fee Related JP2825030B2 (en) 1991-07-08 1991-07-08 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2825030B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59164090U (en) * 1983-04-19 1984-11-02 ヤマハ株式会社 Chord signal generator for automatic performance machines
JPS6282612A (en) * 1985-10-07 1987-04-16 昭和電線電纜株式会社 Manufacture of superconducting shaped conductor
JPS63195394U (en) * 1987-05-29 1988-12-15

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59164090U (en) * 1983-04-19 1984-11-02 ヤマハ株式会社 Chord signal generator for automatic performance machines
JPS6282612A (en) * 1985-10-07 1987-04-16 昭和電線電纜株式会社 Manufacture of superconducting shaped conductor
JPS63195394U (en) * 1987-05-29 1988-12-15

Also Published As

Publication number Publication date
JP2825030B2 (en) 1998-11-18

Similar Documents

Publication Publication Date Title
JP2677146B2 (en) Automatic performance device
JP2002251185A (en) Device and method for automatic musical performance
JP2825030B2 (en) Electronic musical instrument
JP3613935B2 (en) Performance practice device and medium recording program
JPH09244647A (en) Electronic musical instrument
JP2500492B2 (en) Automatic accompaniment device
JP3528230B2 (en) Automatic performance device
JP2712851B2 (en) Electronic musical instrument
JP3318944B2 (en) Automatic performance device
JP3632606B2 (en) Automatic performance device
JP3743993B2 (en) Code determination apparatus, code determination method, and medium recording code determination method
JP3887957B2 (en) Karaoke equipment
JP3744667B2 (en) Automatic accompaniment device and automatic accompaniment method
JP3620321B2 (en) Automatic accompaniment device
JP2643277B2 (en) Automatic performance device
JP5257842B2 (en) Musical sound generating device and musical sound generating program
JP3918308B2 (en) Karaoke equipment
JP2842440B2 (en) Automatic accompaniment device
JPH0637439Y2 (en) Automatic playing device
JP2848092B2 (en) Automatic accompaniment device
JP2722880B2 (en) Electronic musical instrument
JP2705421B2 (en) Automatic accompaniment device
JP3885708B2 (en) Performance information editing apparatus, performance information editing method, and performance information editing program
JP3303754B2 (en) Tone control data generation device, recording medium storing a program for generating tone control data, and tone control data generation method
JP2639380B2 (en) Automatic performance device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980811

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070911

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080911

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees