JP3436636B2 - Automatic accompaniment device for electronic and electric musical instruments - Google Patents

Automatic accompaniment device for electronic and electric musical instruments

Info

Publication number
JP3436636B2
JP3436636B2 JP13258896A JP13258896A JP3436636B2 JP 3436636 B2 JP3436636 B2 JP 3436636B2 JP 13258896 A JP13258896 A JP 13258896A JP 13258896 A JP13258896 A JP 13258896A JP 3436636 B2 JP3436636 B2 JP 3436636B2
Authority
JP
Japan
Prior art keywords
automatic accompaniment
chord
detection
data
key
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
JP13258896A
Other languages
Japanese (ja)
Other versions
JPH09297583A (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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP13258896A priority Critical patent/JP3436636B2/en
Publication of JPH09297583A publication Critical patent/JPH09297583A/en
Application granted granted Critical
Publication of JP3436636B2 publication Critical patent/JP3436636B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えばシンセサイ
ザ、電子ピアノ、電子オルガン、MIDI装置等の電子
楽器に用いられる自動伴奏装置に関し、自動伴奏中に一
時的にコード検出を抑制し、演奏者がキー入力したコー
ドを和音として重ね演奏可能とする機能を有する電子・
電気楽器の自動伴奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic accompaniment device used in electronic musical instruments such as synthesizers, electronic pianos, electronic organs, MIDI devices, etc., in which chord detection is temporarily suppressed during automatic accompaniment. An electronic function that allows you to play chords that you key in as chords.
The present invention relates to an automatic accompaniment device for electric musical instruments.

【0002】[0002]

【従来の技術】一般に、電子・電気楽器に備えられる自
動伴奏機能は、コード、ベース、ドラム等といった各パ
ートの楽音を自動的に発生させる機能であり、演奏者
は、発生された伴奏音に乗せて例えばメロディの演奏が
できるようになっている。
2. Description of the Related Art Generally, an automatic accompaniment function provided in an electronic or electric musical instrument is a function for automatically generating a musical sound of each part such as a chord, a bass, a drum, etc. You can play it, for example, to play a melody.

【0003】かかる自動伴奏機能は、予め自動伴奏デー
タがメモリ(ROM)に記憶されており、演奏者の指示
やシーケンサからのデータに応じて上記自動伴奏データ
をメモリから読み出して発音することにより実現されて
いる。
The automatic accompaniment function is realized by preliminarily storing the automatic accompaniment data in the memory (ROM) and reading out the automatic accompaniment data from the memory according to the instructions of the performer or the data from the sequencer to generate sound. Has been done.

【0004】このような自動伴奏機能を有するデジタル
ピアノやシングルキーボード、MIDI楽器に接続され
て自動伴奏を行う自動伴奏装置等、リアルタイムにコー
ドを検出して演奏する自動伴奏装置は、ワンフィンガ
ー、フィンガート、フルキー等のコード検出モードが設
定できるようになっている。
An automatic accompaniment device for detecting a chord in real time and playing, such as a digital piano having such an automatic accompaniment function, a single keyboard, an automatic accompaniment device connected to a MIDI musical instrument to perform an automatic accompaniment, is a one-finger or a finger. It is possible to set the code detection mode such as the key and full key.

【0005】しかしながら、これらの従来の自動伴奏装
置においては、上記のワンフィンガーやフィンガート等
のコード検出モードの設定はできるが、演奏者が自動演
奏間に一時的にコード検出を抑制して、今まで演奏され
ていた自動伴奏パターンに、演奏者が鍵入力した音を重
ね演奏する時間を任意に設定することはできなかった。
However, in these conventional automatic accompaniment devices, although the chord detection mode such as the one finger or the fingert can be set, the performer temporarily suppresses the chord detection during the automatic performance, It has not been possible to arbitrarily set the time at which a note input by the performer is overlaid on the automatic accompaniment pattern that has been played so far.

【0006】このため、限られたスプリットポイントよ
り下の音域のキー操作やフルキー検出のとき、鍵を押下
するとコードが検出されてしまい、例えば即興演奏の
際、任意の時間、あるいは、任意の小節間を今まで演奏
されていたコードに演奏者の好みに応じた和音を挿入し
て重ね演奏することができなかった。
For this reason, when a key is pressed or a full key is detected in the range below the limited split point, a chord is detected when the key is pressed. For example, when performing improvisation, an arbitrary time or an arbitrary measure. It was not possible to insert chords according to the player's preference into the chords that had been played until now, and to play them overlaid.

【0007】従って、従来の自動伴奏装置の伴奏音は固
定的で変化を与える余地がなく、自動伴奏そのものが機
械的で単調になりやすく、伴奏に表現力を与えることが
出来ないという問題点があり、自動伴奏に演奏者の感覚
を加味した自由な表現力を与えることのできる自動伴奏
装置が求められていた。
Therefore, the accompaniment sound of the conventional automatic accompaniment apparatus is fixed and there is no room for change, and the automatic accompaniment itself tends to be mechanical and monotonous, so that it is impossible to give expressive power to the accompaniment. Therefore, there has been a demand for an automatic accompaniment device capable of giving a free expressive power to the automatic accompaniment in consideration of a player's sense.

【0008】[0008]

【発明が解決しようとする課題】本発明は、上記の問題
点を解消するためになされたものであり、自動伴奏中
に、任意の時間、あるいは、任意の小節間のコード検出
を抑制して今まで演奏されていた自動伴奏パターンで演
奏するとともに、演奏者がキーの操作により入力した音
を重ね演奏可能にする自動伴奏装置を提供することを課
題とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and suppresses chord detection at an arbitrary time or between arbitrary bars during automatic accompaniment. It is an object of the present invention to provide an automatic accompaniment device that allows an operator to perform a musical accompaniment pattern that has been played so far and to overplay a sound input by a player by operating a key.

【0009】[0009]

【課題を解決するための手段】本発明は、自動伴奏機能
としての手動コード進行モードを有し、記憶されている
楽音情報を順次読み出して自動伴奏を行う電子・電気楽
器の自動伴奏装置において、 演奏開始前に、エディタ
によりコード検出をオン/オフするテータを入力してコ
ード検出データメモリに記憶し、手動コード進行モード
で自動伴奏中に所定のタイミングになると、該コード検
出データメモリに書き込まれたデータに基づいてコード
検出のオン/オフを指示するコード検出切換手段と、前
記コード検出切換手段の設定に基づいてコード検出のオ
ン/オフを制御するコード検出制御手段と、を有し、前
記コード検出制御手段がコード検出オフの際、コード検
出オフが指示される直前に発音した自動伴奏パターンの
発音を継続するとともに、演奏者が鍵入力した音を重ね
て演奏可能とするように構成される。
SUMMARY OF THE INVENTION The present invention provides an automatic accompaniment device for an electronic / electric musical instrument, which has a manual chord progression mode as an automatic accompaniment function, and sequentially reads stored musical tone information to perform automatic accompaniment. Before starting the performance, input the data to turn chord detection on / off with the editor and store it in the chord detection data memory. At the predetermined timing during the automatic accompaniment in the manual chord progression mode, it is written in the chord detection data memory. The code detection switching means for instructing on / off of the code detection based on the data, and the code detection control means for controlling the on / off of the code detection based on the setting of the code detection switching means. When the chord detection control means is off chord detection, the automatic accompaniment pattern that was pronounced immediately before the chord detection off instruction is continued to sound. In addition, it is configured so that the sound inputted by the performer can be overlaid and played.

【0010】本発明に係る前記コード検出データメモリ
に記憶されたデータは、各小節、拍数、及び/又はクロ
ックロケーションごとに書き込まれることを特徴とす
る。
The data stored in the code detection data memory according to the present invention is characterized in that it is written for each bar, beat number, and / or clock location.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【作用】本発明の自動伴奏装置は、自動伴奏中の任意の
一定時間、あるいは、任意の小節間は自動伴奏のための
コードの検出を抑制して、コード検出のオフが指示され
る直前に発音した自動伴奏パターンを発音するととも
に、鍵入力された音を重ね演奏可能にすることにより即
興演奏を可能にするものである。
The automatic accompaniment apparatus of the present invention suppresses chord detection for automatic accompaniment during an arbitrary fixed time during automatic accompaniment or between arbitrary bars, and immediately before the instruction to turn off chord detection is given. By imitating the auto-accompaniment pattern that has been sounded and by allowing keyed sounds to be played repeatedly, improvisational performance is possible.

【0017】このため、本発明は、前記コード検出切換
手段3aとしてのコード検出用切換スイッチ3aをパネ
ル上またはペダルに設け、コード検出制御手段21は、
前記コード検出切換スイッチ3aの設定状態を検出し
て、該コード検出用切換スイッチ3aの設定状態に応じ
て、コード検出のオン/オフを制御するものである。
Therefore, in the present invention, the chord detection changeover switch 3a as the chord detection changeover means 3a is provided on the panel or on the pedal, and the chord detection control means 21 is
The setting state of the code detection changeover switch 3a is detected, and on / off of code detection is controlled according to the setting state of the code detection changeover switch 3a.

【0018】この際、前記コード検出制御手段21は、
コード検出切換手段3aがオンの場合は通常の自動伴奏
を行うが、コード検出切換手段3aがオフの場合は、該
コード検出切換手段3aがオフされる直前に発音された
自動伴奏パターンを発音するとともに、演奏者がキー入
力した音を重ね演奏可能にするものである。
At this time, the code detection control means 21 is
When the chord detection switching means 3a is on, normal automatic accompaniment is performed, but when the chord detection switching means 3a is off, the automatic accompaniment pattern sounded immediately before the chord detection switching means 3a is turned off is sounded. At the same time, the sound entered by the performer can be played repeatedly.

【0019】これにより、演奏者は自動伴奏間に任意の
時間、あるいは任意の小節間、自由にコード検出のオン
/オフを容易に指定でき、リアルタイムに該指定を反映
できるので、即興演奏のやりやすい使い勝手のよい自動
伴奏装置を提供できる。
Thus, the performer can easily specify on / off of chord detection at any time during the automatic accompaniment or during any bar, and the designation can be reflected in real time. An easy-to-use and easy-to-use automatic accompaniment device can be provided.

【0020】また、本発明によれば、コード検出切換手
段3aの設定に応じて制御するので、構造が簡単で低価
格の自動伴奏装置が提供できる。さらに、前記コード検
出切換手段3aをペダルに設けると、両手は演奏に集中
できるので、さらに、使いやすい自動伴奏装置となる。
Further, according to the present invention, since the control is performed according to the setting of the chord detection switching means 3a, it is possible to provide an automatic accompaniment apparatus having a simple structure and low cost. Further, if the chord detection switching means 3a is provided on the pedal, both hands can concentrate on the performance, so that the automatic accompaniment apparatus becomes easier to use.

【0021】また、前記コード検出切換手段3aとして
エディタを用い、演奏者は演奏開始前に該エディタによ
りコード検出を抑制する時間あるいは区間を入力する。
Further, an editor is used as the chord detection switching means 3a, and the performer inputs the time or section during which chord detection is suppressed by the editor before the performance starts.

【0022】該コード検出切換手段3aにより入力され
たコード検出のオン/オフを示すデータは、RAM13
上に設けられコード検出データメモリ28に記憶され、
所定のタイミングになると、該メモリからデータが読み
出されてコード検出が制御される。
The data indicating ON / OFF of the code detection input by the code detection switching means 3a is stored in the RAM 13.
Stored in the code detection data memory 28 provided above,
At a predetermined timing, the data is read from the memory and the code detection is controlled.

【0023】これにより、演奏間、コード検出制御手段
21は、先ずコード検出データメモリ28に記憶されて
いるデータを読み出し、オンの場合は通常の自動伴奏を
行い、オフの場合はコード検出を抑制するとともに重ね
演奏を可能とするものである。
As a result, during the performance, the chord detection control means 21 first reads the data stored in the chord detection data memory 28, performs normal automatic accompaniment when it is on, and suppresses chord detection when it is off. In addition, it enables repeated playing.

【0024】このようにして、演奏者は演奏開始前にコ
ード検出のオン/オフを設定できるので、計画的にキメ
細かな設定ができ、しかも、演奏間、演奏者は演奏に集
中できるので使いやすい自動伴奏装置が提供できる。
In this way, the performer can set the chord detection on / off before starting the performance, so that the detailed setting can be planned and the performer can concentrate on the performance during the performance. A simple automatic accompaniment device can be provided.

【0025】なお、本発明は、キーボードを有さない電
子・電気楽器の自動伴奏装置にも適用可能である。
The present invention can also be applied to an automatic accompaniment device for an electronic or electric musical instrument having no keyboard.

【0026】さらに、本発明はコード検出切換手段3a
として鍵を用い、コード検出の有無の判定は、タッチセ
ンサ2により検出された各鍵のベロシティに応じて行う
ものである。このため、コード検出制御手段21はコー
ド検出のオン/オフを判定する判定基準を記憶してお
り、コード検出のオン/オフは、タッチセンサ2により
検出された各鍵のベロシティを前記判定基準と比較して
判定される。
Further, according to the present invention, the code detection switching means 3a.
As a key, the presence or absence of code detection is determined according to the velocity of each key detected by the touch sensor 2. For this reason, the code detection control means 21 stores a judgment criterion for judging ON / OFF of the code detection, and the ON / OFF of the code detection uses the velocity of each key detected by the touch sensor 2 as the judgment criterion. It is judged by comparison.

【0027】そして、判定結果に基づき所定のコード変
換の加えられたデータは、RAM13上の自動伴奏パタ
ーンメモリ27に記憶され、所定のタイミングになると
コード検出制御手段21は、該自動伴奏パターンメモリ
27から自動伴奏データを読み出して自動伴奏を行う。
Then, the data to which the predetermined chord conversion is added based on the judgment result is stored in the automatic accompaniment pattern memory 27 on the RAM 13, and at a predetermined timing, the chord detection control means 21 causes the automatic accompaniment pattern memory 27. The automatic accompaniment data is read from and the automatic accompaniment is performed.

【0028】これにより、演奏間、コード検出オンの場
合は通常の自動伴奏を行い、オフの場合は重ね演奏を行
うものである。
As a result, during the performance, the normal automatic accompaniment is performed when the chord detection is on, and the repeated performance is performed when the chord detection is off.

【0029】これにより、演奏者は鍵を押下する強さに
より自由にコード検出のオン/オフを制御でき、しか
も、設定結果はリアルタイムに反映できるので、即興演
奏のやりやすい使い勝手のよい自動伴奏装置を提供でき
る。
As a result, the player can freely control the on / off of the chord detection according to the strength with which the key is pressed, and the setting result can be reflected in real time. Can be provided.

【0030】また、演奏者は複数のキーを続けて早く弾
きすぎたためにコード検出をしてしまうのではないかと
いうような心配をする必要はなくなり、安心して即興演
奏を楽しむことが可能となる。
Further, the performer does not have to worry that the chord will be detected because he or she repeatedly played a plurality of keys too quickly, and can enjoy improvisation with peace of mind. .

【0031】[0031]

【発明の実施の形態】図1は、本発明のコード検出抑制
機能を備えた自動伴奏装置の概略構成を示すブロック図
である。以下図面を参照しながら本発明の自動伴奏装置
の全体構成について説明する。
1 is a block diagram showing a schematic configuration of an automatic accompaniment apparatus having a chord detection suppressing function of the present invention. The overall configuration of the automatic accompaniment apparatus of the present invention will be described below with reference to the drawings.

【0032】図において、11はCPUであり、12は
ROM,13はRAMである。また、1は鍵盤、2はタ
ッチセンサ、3は操作パネル、4はパネルスキャン回
路、5は楽音信号発生部、6は波形メモリ、7はD/A
変換器、8は増幅器、9はスピーカである。
In the figure, 11 is a CPU, 12 is a ROM, and 13 is a RAM. Further, 1 is a keyboard, 2 is a touch sensor, 3 is an operation panel, 4 is a panel scan circuit, 5 is a tone signal generator, 6 is a waveform memory, and 7 is D / A.
A converter, 8 is an amplifier, and 9 is a speaker.

【0033】CPU11は、プログラムメモリに記憶さ
れている制御プログラムに従って該自動伴奏装置全体を
制御するものであり、コード検出を制御する他、その他
の各種の制御を行う制御部21、検出されたキーに基づ
いてコードの検出やコード変換を行う伴奏データ変換部
22が設けられている。
The CPU 11 controls the entire automatic accompaniment apparatus according to the control program stored in the program memory, and controls the chord detection as well as various other controls, and the detected keys. An accompaniment data converter 22 is provided for performing chord detection and chord conversion based on the above.

【0034】このCPU11には、自動伴奏パターンデ
ータの基本形を記憶するROM12や、コード検出のオ
ン/オフに基づいてコード変換された自動伴奏パターン
データを記憶するRAM13、楽音信号発生部5等が接
続されている。
Connected to the CPU 11 are a ROM 12 for storing the basic form of the automatic accompaniment pattern data, a RAM 13 for storing the automatic accompaniment pattern data that has been code-converted based on whether chord detection is on or off, and a tone signal generation section 5 and the like. Has been done.

【0035】CPU11に設けられた制御部21はソフ
トウエアで実現されるものであり、パネルスキャンによ
り検出され、RAM13の所定の領域に設定されている
コード検出のオン/オフを示すフラグまたはデータに基
づいてコード検出を制御する。
The control unit 21 provided in the CPU 11 is realized by software, and is a flag or data which is detected by a panel scan and is set in a predetermined area of the RAM 13 to indicate ON / OFF of code detection. Control code detection based on

【0036】さらに、上記制御部21は、基本パターン
メモリ24から読み出され、自動伴奏データ変換部22
により所要の変換を加えられた基本パターンデータの自
動伴奏パターンメモリ27への書込みや、所定のタイミ
ングになると該自動伴奏パターンメモリ27からのデー
タ読出しの制御を行う。
Further, the control section 21 is read from the basic pattern memory 24, and the automatic accompaniment data conversion section 22.
Thus, the basic pattern data to which the required conversion is added is written to the automatic accompaniment pattern memory 27, and the data is read from the automatic accompaniment pattern memory 27 at a predetermined timing.

【0037】自動伴奏データ変換部22もソフトウェア
で実現されるものであり、制御部21の制御のもとにキ
ースキャンにより検出されたキー情報に基づいて、所定
のタイミングに同時に押下されているキーに基づいて、
先ずコード検出テーブル26を参照して入力されたキー
のコードを決定する。
The automatic accompaniment data conversion unit 22 is also realized by software, and the keys that are simultaneously pressed at a predetermined timing based on the key information detected by the key scan under the control of the control unit 21. On the basis of,
First, the code of the input key is determined by referring to the code detection table 26.

【0038】続いて、決定されたコードに基づいてコー
ド変換テーブル25より自動伴奏のパターンの基本形に
どの様なオフセットをかけて演奏するかを示すデータを
読み取り、該データに基づいて自動伴奏の基本パターン
に所定のオフセットをかけて制御部21に送り、該制御
部21がこのデータを自動伴奏パターンメモリ27に記
憶させる。
Next, based on the determined chord, data indicating what kind of offset is applied to the basic form of the automatic accompaniment pattern is read from the chord conversion table 25, and the basic of the automatic accompaniment is read based on the data. The pattern is given a predetermined offset and sent to the control unit 21, and the control unit 21 stores this data in the automatic accompaniment pattern memory 27.

【0039】ROM12には、上述したCPU11を動
作させる制御プログラムの他、コード検出テーブル2
6、コード変換テーブル25、自動伴奏用の基本パター
ンデータを記憶する基本パターンメモリ24、その他、
種々の固定データを記憶している。
The ROM 12 has a code detection table 2 in addition to the control program for operating the CPU 11 described above.
6, a chord conversion table 25, a basic pattern memory 24 for storing basic pattern data for automatic accompaniment, and others,
It stores various fixed data.

【0040】自動伴奏の基本パターンメモリ24には、
例えば、ボサノバ、スイング等の音楽ジャンル別の演奏
パターンの基本形が内蔵するパターン数だけ記憶されて
いる。
The basic pattern memory 24 for automatic accompaniment is
For example, basic shapes of performance patterns for each music genre such as bossa nova and swing are stored by the number of built-in patterns.

【0041】また、コード変換テーブル25には、Cマ
イナとかDセブン等、検出されたコードタイプに応じ
て、自動伴奏の基本パターンにどのようなオフセットを
かけて演奏するかを示すデータがコードパターンの数だ
け記憶されている。
Further, in the chord conversion table 25, data indicating what kind of offset is applied to the basic pattern of automatic accompaniment according to the detected chord type, such as C minor or D seven, is chord pattern. The number is remembered.

【0042】また、コード検出テーブル26には、同時
に押下されているキーに応じて、現在外部入力により指
示されているコードが何であるかを決定するためのデー
タが記憶されており、自動伴奏データ変換部22により
読み取られる。
The chord detection table 26 also stores data for determining what chord is currently instructed by the external input according to the keys that are simultaneously pressed, and the automatic accompaniment data is stored. It is read by the conversion unit 22.

【0043】RAM13には、装置のステータス情報を
記憶する領域やCPU11の作業用領域が設けられてい
る他、当該電子楽器を制御するための各種レジスタ、カ
ウンタ、フラグ等が定義されている。また、ROM12
に記憶されているデータのうち必要なデータが転送され
て一時的に格納されるデータエリアを有している。
The RAM 13 is provided with an area for storing status information of the apparatus and a work area for the CPU 11, and various registers, counters, flags and the like for controlling the electronic musical instrument are defined. Also, the ROM 12
It has a data area in which necessary data among the data stored in is stored and temporarily stored.

【0044】なお、RAM13には、本発明に直接関係
する自動伴奏パターンメモリ27、コード検出データメ
モリ28、スイッチフラグ29、ベロシティフラグ30
が設けられている。
The RAM 13 has an automatic accompaniment pattern memory 27, a chord detection data memory 28, a switch flag 29, and a velocity flag 30 which are directly related to the present invention.
Is provided.

【0045】自動伴奏パターンメモリ27は次に発音さ
れる自動伴奏のパターンデータを記憶するものであり、
該自動伴奏パターンメモリ27には制御部21及び自動
伴奏データ変換部22により検出され所定の変換の加え
られた自動伴奏パターンデータが記憶されている。
The automatic accompaniment pattern memory 27 stores pattern data of an automatic accompaniment to be sounded next,
The automatic accompaniment pattern memory 27 stores the automatic accompaniment pattern data detected by the control unit 21 and the automatic accompaniment data conversion unit 22 and subjected to predetermined conversion.

【0046】なお、上記自動伴奏パターンデータメモリ
27に記憶されるのは、鍵情報(キーナンバ)、小節情
報、ENDマーク、ステップタイムSTEP、ゲートタ
イムGATE及びベロシティを1つの演奏データ単位と
した複数の演奏データである。
The automatic accompaniment pattern data memory 27 stores a plurality of key information (key number), bar information, END mark, step time STEP, gate time GATE and velocity as one performance data unit. This is performance data.

【0047】ここで、キーナンバKEYは、音高を指定
するものであり、鍵盤1の各鍵に対応して付された番号
である。小節情報は、小節の終りを示す情報である。E
NDマークは演奏データの終りを示す情報である。
Here, the key number KEY designates a pitch, and is a number assigned to each key of the keyboard 1. The bar information is information indicating the end of the bar. E
The ND mark is information indicating the end of performance data.

【0048】また、ステップタイムSTEPは、小節内
における発音時刻を指定する情報である。ゲートタイム
GATEは、発音すべき時間を指定する情報である。ベ
ロシティVELOは、発音する音の強さを指定する情報
である。
The step time STEP is information for designating a sounding time within a bar. The gate time GATE is information that specifies the time at which the sound should be generated. Velocity VELO is information that specifies the strength of the sound to be produced.

【0049】コード検出データメモリ28はエディタに
よりコード検出を制御する際に使用されるメモリであ
り、演奏開始前にエディタにより入力されたコード検出
のオン/オフを示すデータを記憶するメモリである。
The chord detection data memory 28 is a memory used when the chord detection is controlled by the editor, and is a memory for storing data indicating chord detection ON / OFF inputted by the editor before the performance starts.

【0050】該メモリ28には演奏を中止または再開す
るタイミングをアドレスや小節ナンバ、拍数、あるいは
クロックロケーシション等で記憶する。
The memory 28 stores the timing of stopping or resuming the performance by address, bar number, beat number, clock location, or the like.

【0051】コード検出用スイッチフラグ29は、コー
ド検出用切換スイッチ3aのオン/オフを記憶するフラ
グであり、コード検出用切換スイッチ3aを使用してコ
ード検出のオン/オフを制御する際に使用される。
The code detection switch flag 29 is a flag for storing ON / OFF of the code detection changeover switch 3a, and is used when controlling the code detection ON / OFF using the code detection changeover switch 3a. To be done.

【0052】コード検出用ベロシティフラグ30は押鍵
されたキーのベロシティが所定の強さを越えコード検出
のオフが指示されたキーを記憶するフラグであり、ベロ
シティによりコード検出を制御する際に使用される。
The chord detection velocity flag 30 is a flag for storing the key for which the velocity of the depressed key exceeds a predetermined strength and the chord detection is instructed to be turned off, and is used when the chord detection is controlled by the velocity. To be done.

【0053】この他、該RAM13には、現在演奏が行
われている位置を示すアドレスを記憶する領域、現在押
下されている鍵盤1のキーナンバやベロシティデータを
記憶する領域、検出されたコードを記憶する領域、コー
ド検出の基準となるベロシティ値を記憶する領域、所定
の強さ以上のベロシティで押下された鍵盤1のキーナン
バを記憶する領域等が設けられている。
In addition to this, the RAM 13 stores an area for storing an address indicating a position where the performance is currently performed, an area for storing the key number and velocity data of the currently pressed keyboard 1, and a detected code. Area, a area for storing a velocity value serving as a reference for code detection, an area for storing a key number of the keyboard 1 pressed with a velocity of a predetermined strength or more, and the like.

【0054】鍵盤1は押鍵情報としての鍵番号をCPU
11に送るものであり、複数のキーと、これらのキーの
押鍵・離鍵動作に連動して開閉するキースイッチとで構
成され、演奏者の押鍵・離鍵動作は図示しないキースキ
ャン回路によって検出され、CPU11の制御のもとに
検出された信号は楽音信号発生部5に供給される。
The keyboard 1 uses the key number as the key depression information for the CPU.
The key scanning circuit is composed of a plurality of keys and a key switch that opens and closes in conjunction with the key pressing / release operations of these keys. The signal detected by the CPU 11 is supplied to the tone signal generator 5 under the control of the CPU 11.

【0055】タッチセンサ2は、鍵盤1に対してスキャ
ン信号を送出し、鍵盤1からの信号に応じてキータッチ
の強弱(速さ)を検出するものであり、鍵盤1の押下の
状態を示すデータ及びキータッチの強弱を示すタッチデ
ータは、鍵盤1から受けたキースイッチの開閉状態を示
す信号から形成する。
The touch sensor 2 sends a scan signal to the keyboard 1 to detect the strength (speed) of the key touch according to the signal from the keyboard 1, and indicates the pressed state of the keyboard 1. The data and the touch data indicating the strength of the key touch are formed from the signal indicating the open / closed state of the key switch received from the keyboard 1.

【0056】このタッチセンサ2の形成する信号は、押
鍵又は離鍵されたキーの鍵番号及び押鍵又は離鍵の速度
を示すタッチデータに基づいて形成され、得られたベロ
シティデータはCPU11の制御部21によりコード検
出のオン/オフ信号に変換されRAM13のベロシティ
フラグ30に記憶される。
The signal formed by the touch sensor 2 is formed on the basis of the key number of the key pressed or released and the touch data indicating the speed of key depression or release, and the obtained velocity data is stored in the CPU 11. It is converted into a code detection ON / OFF signal by the control unit 21 and stored in the velocity flag 30 of the RAM 13.

【0057】なお、タッチセンサ2からCPU11への
データ転送は、該タッチセンサ2がCPU11に対し、
キーボードのイベントがあった旨の割り込みをかけるこ
とにより行われる。
Data transfer from the touch sensor 2 to the CPU 11 is performed by the touch sensor 2 to the CPU 11.
This is done by interrupting that there was a keyboard event.

【0058】操作パネル3は、音色の選択情報、エディ
ットパラメータの選択情報、エディットデータのライト
リクエスト情報の設定等を行なうものであり、該操作パ
ネル3には、電源スイッチの他、音色選択スイッチ、メ
ロディ選択スイッチ、リズム選択スイッチ、自動伴奏の
スタート/ストップの制御に使用される自動伴奏スイッ
チ等、各種のスイッチや表示器が設けられている。
The operation panel 3 is used to set tone color selection information, edit parameter selection information, edit data write request information, and the like. The operation panel 3 includes a power switch, a tone color selection switch, Various switches and indicators such as a melody selection switch, a rhythm selection switch, and an automatic accompaniment switch used for controlling start / stop of automatic accompaniment are provided.

【0059】なお、本発明に直接関係するコード検出用
切換スイッチ3aは、該操作パネル3上に設けられてお
り、該コード検出用切換スイッチ3aにより設定されて
いるモードはパネルスキャンにより検出され、RAM1
3のコード検出スイッチフラグ29に設定される。
The code detection changeover switch 3a directly related to the present invention is provided on the operation panel 3, and the mode set by the code detection changeover switch 3a is detected by panel scanning. RAM1
No. 3 code detection switch flag 29 is set.

【0060】また、上記コード検出用切換スイッチ3a
は独立したスイッチとして、あるいは、例えば、ロータ
リースイッチの一部として、例えば、ワンフィンガー、
フィンガート、フルキー等と組み合わせたシステムスイ
ッチの一部として組み込むように構成してもよい。
Further, the code detecting changeover switch 3a.
As an independent switch, or as part of a rotary switch, for example, one finger,
It may be configured to be incorporated as part of a system switch in combination with a finger, a full key, or the like.

【0061】なお、該コード検出用切換スイッチ3aを
ペダル部に設けると両手は常に演奏に集中できるので、
さらに使いやすい自動伴奏装置となる。
If the chord detecting changeover switch 3a is provided in the pedal portion, both hands can always concentrate on the performance.
The automatic accompaniment device is even easier to use.

【0062】操作パネル3の各スイッチのセット/リセ
ット状態は内部に含まれるパネルスキャン回路4によっ
て検出されるようになっており、このパネルスキャン回
路4で検出したスイッチのセット状態に関するデータは
制御部21の制御のもとRAM13上の所定の領域に記
憶される。
The set / reset state of each switch of the operation panel 3 is detected by the panel scan circuit 4 included therein, and the data relating to the set state of the switch detected by the panel scan circuit 4 is stored in the control section. It is stored in a predetermined area on the RAM 13 under the control of 21.

【0063】また、該操作パネル3には図示しない表示
器が設けられており、例えば1個のLEDで構成されて
おり、エディタによりコード検出のオン/オフを入力す
る際に使用される。
Further, the operation panel 3 is provided with a display device (not shown), which is composed of, for example, one LED, and is used when inputting ON / OFF of code detection by an editor.

【0064】また、この操作パネル3には、各種スイッ
チのオン/オフを検出するパネルスキャン回路4を含ん
でおり、該操作パネル3で検出されたスイッチのオン/
オフ状態を示す信号は、パネルインタフェースを介して
CPU11に送られ、RAM13の所定領域に記憶され
る。
Further, the operation panel 3 includes a panel scan circuit 4 for detecting ON / OFF of various switches, and the switch ON / OFF of the switch detected by the operation panel 3 is included.
The signal indicating the off state is sent to the CPU 11 via the panel interface and stored in a predetermined area of the RAM 13.

【0065】5は楽音信号発生部であり、CPU11か
ら出力される信号に対応する楽音波形データ及びエンベ
ロープデータを波形メモリ6から読み出し、読み出した
楽音波形データにエンベロープを付加して楽音信号とし
て出力するものである。なお、楽音信号発生部5には波
形データやエンベロープデータを記憶する波形メモリ6
が接続されている。
Reference numeral 5 denotes a tone signal generator which reads tone waveform data and envelope data corresponding to the signal output from the CPU 11 from the waveform memory 6, adds the envelope to the read tone waveform data, and outputs the tone signal. It is a thing. The tone signal generator 5 includes a waveform memory 6 for storing waveform data and envelope data.
Are connected.

【0066】6は楽音波形メモリであり、各種音色や音
域に応じた楽音波形データ及びエンベロープデータが記
憶される。この楽音波形メモリ6は楽音信号発生部5に
より、システムバスを介してアクセスされる。
Reference numeral 6 is a tone waveform memory, which stores tone waveform data and envelope data corresponding to various tone colors and tone ranges. The tone waveform memory 6 is accessed by the tone signal generator 5 via the system bus.

【0067】7はD/A変換器であり、入力されたデジ
タル楽音信号をアナログ楽音信号に変換するものであ
る。このD/A変換器7で変換されたアナログ楽音信号
は、増幅器8に供給されるようになっている。
Reference numeral 7 is a D / A converter which converts the input digital musical tone signal into an analog musical tone signal. The analog tone signal converted by the D / A converter 7 is supplied to the amplifier 8.

【0068】増幅器8は、楽音信号発生部5から供給さ
れる楽音信号を所定の利得で増幅し、スピーカ9に供給
するものである。
The amplifier 8 amplifies the tone signal supplied from the tone signal generator 5 with a predetermined gain and supplies it to the speaker 9.

【0069】スピーカ9は、入力された電気信号として
のアナログ楽音信号を音響信号に変換するものである。
つまり、発生された楽音信号に応じて楽音を放音するも
のである。このスピーカ9により、鍵盤1の鍵の押下に
対応した楽音が放音され、また、指定された要領で伴奏
が放音される。
The speaker 9 converts the input analog musical tone signal as an electric signal into an acoustic signal.
That is, the musical tone is emitted according to the generated musical tone signal. The speaker 9 emits a musical sound corresponding to the pressing of a key on the keyboard 1 and also an accompaniment in a designated manner.

【0070】かかる構成において、例えば、演奏者が自
動伴奏中にコード検出用切換スイッチ3aをオン/オフ
にすると、該操作はパネルスキャン回路4により検出さ
れ、検出結果は制御部21の制御のもとRAM13のコ
ード検出スイッチフラグ29に設定される。
In such a configuration, for example, when the performer turns on / off the chord detection changeover switch 3a during automatic accompaniment, the operation is detected by the panel scan circuit 4, and the detection result is also controlled by the control section 21. And the code detection switch flag 29 of the RAM 13 are set.

【0071】従って演奏間、制御部21は、所定のタイ
ミングになるとコード検出スイッチフラグ29より読み
出したコード検出のオン/オフに基づいて自動伴奏デー
タ変換部22を制御して、例えばコード検出がオンの場
合は、先ず、同時に押下されているキーに対応するコー
ドをコード検出テーブル26より読み出す。
Therefore, during the performance, the control section 21 controls the automatic accompaniment data conversion section 22 based on the on / off of the chord detection read from the chord detection switch flag 29 at a predetermined timing, for example, chord detection is turned on. In this case, first, the code corresponding to the keys that are simultaneously pressed is read from the code detection table 26.

【0072】続いて、前記自動伴奏データ変換部22
は、検出されたコードに基づいたコードタイプにより、
自動伴奏パターンの基本形にどのようなオフセットをか
けて演奏するかを示すデータをコード変換テーブル25
より読み出す。
Subsequently, the automatic accompaniment data converter 22
Is a code type based on the detected code,
The code conversion table 25 stores data indicating what kind of offset is applied to the basic form of the automatic accompaniment pattern.
Read more.

【0073】制御部21は、この読み出されたデータに
基づき自動伴奏の基本パターンに所要の変換を加え、こ
れをRAM13の自動伴奏パターンメモリ27に上書き
する。これにより所定の発音のタイミングになると、制
御部21は該自動伴奏パターンメモリ27のデータを順
次読み出して発音させる。
The control unit 21 adds a required conversion to the basic pattern of the automatic accompaniment based on the read data, and overwrites it on the automatic accompaniment pattern memory 27 of the RAM 13. As a result, when the predetermined sounding timing is reached, the control section 21 sequentially reads out the data of the automatic accompaniment pattern memory 27 and sounds it.

【0074】一方、読み取られたコード検出スイッチフ
ラグ29がオフの場合は、コード検出用切換スイッチ3
aがオフされる直前に発音されていた自動伴奏のパター
ンデータはすでに自動伴奏のパターンメモリ27に記憶
されており、本発明においてはそのまま発音すればよい
ので、制御部21によるデータの更新は行われない。
On the other hand, when the read code detection switch flag 29 is off, the code detection changeover switch 3
The pattern data of the automatic accompaniment sounded immediately before the a is turned off is already stored in the pattern memory 27 of the automatic accompaniment. In the present invention, the data can be reproduced as it is. I don't know.

【0075】従って、制御部21は、所定のタイミング
になるとコード検出用切換スイッチ3aがオフされる直
前に発音された自動伴奏のパターンデータを自動伴奏デ
ータメモリ27よりそのまま読み出して発音させるとと
もに、演奏者がキー入力したキーに応じた音を発音させ
て重ね演奏を可能にする制御を行う。
Therefore, the control unit 21 reads out the pattern data of the automatic accompaniment sounded immediately before the chord detection changeover switch 3a is turned off at a predetermined timing from the automatic accompaniment data memory 27 as it is and sounds it. Control is performed to generate a sound corresponding to a key input by a person to enable repeated playing.

【0076】[0076]

【0077】[0077]

【0078】[0078]

【0079】[0079]

【0080】[0080]

【0081】次に、上記の構成における本発明の実施例
の動作について説明する。図3は本発明の電子楽器の動
作を示すメインルーチンのフローチャートである。
Next, the operation of the embodiment of the present invention having the above configuration will be described. FIG. 3 is a flowchart of the main routine showing the operation of the electronic musical instrument of the present invention.

【0082】電源が投入されると、先ず初期化処理を行
う(ステップS1)。この初期化処理は、楽音信号発生
部5の内部状態を初期状態に設定して電源投入時に不要
な音が発生されるのを防止したり、RAM13の作業用
領域をクリアしたり、レジスタ、フラグ、音量、音色等
のデータを初期設定する処理である。
When the power is turned on, first, initialization processing is performed (step S1). This initialization processing sets the internal state of the tone signal generator 5 to the initial state to prevent unnecessary sounds from being generated when the power is turned on, clears the working area of the RAM 13, registers, and flags. This is processing for initializing data such as volume, tone color, and the like.

【0083】次いで、鍵盤スキャン処理を行う(ステッ
プS2)。この鍵盤スキャン処理は、鍵盤1のキーの押
鍵/離鍵に伴なうデータを取り込みRAM13の所定の
領域に記憶させる。この記憶されたデータは、後に行う
発音処理に用いられる。
Next, a keyboard scan process is performed (step S2). In this keyboard scanning process, data associated with key depression / key release of the keyboard 1 is fetched and stored in a predetermined area of the RAM 13. This stored data is used for the sound generation processing which will be performed later.

【0084】次いで、パネルスキャン処理を行う(ステ
ップS3)。これは、パネルスイッチの設定にしたがっ
て、例えばピアノからギターに音色を切り換えたり、ボ
リュームを切り換える等の処理であり、本発明のコード
検出用切換スイッチ3aの設定は該パネルスキャン処理
で検出される。
Then, a panel scan process is performed (step S3). This is a process such as switching the tone color from a piano to a guitar or switching the volume according to the setting of the panel switch, and the setting of the chord detecting changeover switch 3a of the present invention is detected by the panel scanning process.

【0085】次いで、その他の処理を行う(ステップS
4)。即ち、上記ステップS2の鍵盤スキャン処理で得
られた鍵のオン/オフ情報、並びに、ステップS3のパ
ネルスキャン処理で得られたオン/オフ情報がRAM1
3に記憶されており、その他の処理では該オン/オフ情
報に基づいた発音処理や消音処理が行われる。なお、M
IDI装置の接続に伴う処理等は該「その他の処理」で
行われる。
Next, other processing is performed (step S
4). That is, the on / off information of the key obtained by the keyboard scanning process of step S2 and the on / off information obtained by the panel scanning process of step S3 are RAM1.
No. 3, which is stored in No. 3, and in other processing, sounding processing and mute processing based on the on / off information are performed. In addition, M
The processing and the like associated with the connection of the IDI device are performed in the "other processing".

【0086】次いで、演奏終了か否かが調べられる(ス
テップSS5)。該演奏終了のチェックは、制御部21
がコード進行データの曲の終了を示すエンドマークを検
出する、あるいは図示しない自動伴奏開始スイッチのオ
フを検出することにより行われる。
Then, it is checked whether or not the performance has ended (step SS5). The control unit 21 checks the end of the performance.
Is detected by detecting an end mark indicating the end of the song of the chord progression data, or by detecting the turning off of an automatic accompaniment start switch (not shown).

【0087】該ステップS5で、未だ演奏終了ではない
場合はステップS2に戻り、上記の説明で記述した処理
が繰り返される。
If it is determined in step S5 that the performance has not ended, the process returns to step S2, and the processing described in the above description is repeated.

【0088】このように、メインルーチンの各ステップ
を繰り返して実行することにより、鍵盤1の操作、並び
に操作パネル3の操作に応じて、当該電子楽器で所望の
演奏が行われることになる。
By repeating the steps of the main routine as described above, a desired performance is performed by the electronic musical instrument in response to the operation of the keyboard 1 and the operation of the operation panel 3.

【0089】次に、コード検出用切換スイッチ3aによ
りコード検出のオン/オフを制御する本発明の第1の実
施例のパネル処理の動作について、図4のフローチャー
トを参照しながら説明する。なお、本実施例ではコード
検出用切換スイッチ3aがオフの場合はコード検出をし
ないものとする。
Next, the operation of the panel processing of the first embodiment of the present invention in which the code detection changeover switch 3a controls the ON / OFF of the code detection will be described with reference to the flowchart of FIG. In this embodiment, the code detection is not performed when the code detection changeover switch 3a is off.

【0090】パネルスキャン処理においては、パネルス
キャンが行われる(ステップS11)。このパネルスキ
ャンでは、先ず、操作パネル3のパネルスキャン回路4
で検出された各スイッチのオン/オフ状態を示す信号
が、パネルインタフェースを介してCPU11に取り込
まれ、RAM13の所定の領域に記憶される。
In the panel scan process, panel scan is performed (step S11). In this panel scan, first, the panel scan circuit 4 of the operation panel 3
The signal indicating the ON / OFF state of each switch detected in step S6 is fetched by the CPU 11 via the panel interface and stored in a predetermined area of the RAM 13.

【0091】そして、前回操作パネル3から取り込んだ
各スイッチのオン/オフ状態(RAM13の他の領域に
既に記憶されている)と、今回操作パネル3から取り込
んだ各スイッチのオン/オフ状態とを比較し、新たにオ
ンになったスイッチに対応するビットのみがセットされ
たイベントマップがRAM13上に作成される。
Then, the on / off state of each switch which has been fetched from the operation panel 3 last time (which is already stored in another area of the RAM 13) and the on / off state of each switch which has been fetched from the operation panel 3 this time are set. By comparison, an event map in which only the bit corresponding to the newly turned on switch is set is created in the RAM 13.

【0092】次いで自動伴奏中であるか否かが調べられ
る(ステップS12)。これは、制御部21が自動伴奏
中を示すモードフラグを調べることにより行われる。な
お、該モードフラグは自動伴奏開始スイッチのオン/オ
フに基づいて設定されるものである。
Then, it is checked whether or not the automatic accompaniment is being performed (step S12). This is performed by the control unit 21 checking the mode flag indicating that automatic accompaniment is in progress. The mode flag is set based on ON / OFF of the automatic accompaniment start switch.

【0093】モードフラグがオフ、即ち自動伴奏中でな
い場合は、続いて、自動伴奏スイッチがオンされたか否
かが調べられる(ステップS13)。自動伴奏スイッチ
がオンでない場合は、未だ自動伴奏は行われていないの
でステップS11に戻り、以下同様の処理を繰り返す。
When the mode flag is off, that is, when the automatic accompaniment is not in progress, it is subsequently checked whether or not the automatic accompaniment switch is turned on (step S13). If the automatic accompaniment switch is not turned on, the automatic accompaniment has not been performed yet, so the process returns to step S11 and the same processing is repeated thereafter.

【0094】一方、上記ステップS13で自動伴奏スイ
ッチがオンの場合は、自動伴奏スイッチが新たにオンさ
れ演奏開始が指示されたので、自動伴奏中であることを
示すモードフラグをオンにし、演奏開始位置を示すアド
レスにフラグを立てて(ステップS14)、ステップS
16に進む。
On the other hand, if the automatic accompaniment switch is turned on in step S13, the automatic accompaniment switch is newly turned on and the start of performance is instructed. Therefore, the mode flag indicating that automatic accompaniment is in progress is turned on, and the performance is started. A flag is set at the address indicating the position (step S14), and then step S
Proceed to 16.

【0095】一方、上記ステップS12でモードフラグ
がオンで、既に自動伴奏中であることを示している場合
は、現発音位置から次の発音位置にフラグを進める(ス
テップS15)。
On the other hand, if the mode flag is on in step S12, which indicates that automatic accompaniment is already in progress, the flag is advanced from the current sound generation position to the next sound generation position (step S15).

【0096】次いで、押鍵されているキーに変更があっ
たか否かが調べられる(ステップS16)。これは、メ
インルーチンのステップS2で行われたの鍵盤スキャン
処理で取り込まれたキーデータをサーチしてキーイベン
トに変更があったか否かを調べることにより行われる。
Then, it is checked whether or not there is a change in the depressed key (step S16). This is performed by searching the key data fetched by the keyboard scanning process performed in step S2 of the main routine to check whether the key event has been changed.

【0097】その結果、押鍵されているキーに変更がな
かった場合は、演奏中のコード変更はないので、前回の
コードパターンで演奏を続ければよいので、そのままメ
インルーチンに戻る。
As a result, when there is no change in the depressed key, there is no change in the chord during the performance, and since it is sufficient to continue the performance with the previous chord pattern, the process directly returns to the main routine.

【0098】一方、押鍵されているキーに変更のあった
場合、即ち発音する自動伴奏コードに変更があった場合
はステップS17に進み、コード検出用切換スイッチ3
aがオフであるか否かが調べられる(ステップS1
7)。
On the other hand, when there is a change in the depressed key, that is, when there is a change in the auto accompaniment chord to be pronounced, the process proceeds to step S17, and the chord detection changeover switch 3
It is checked whether or not a is off (step S1).
7).

【0099】これはパネルスキャンで取り込まれたコー
ド検出用切換スイッチ3aの設定状態を示すコード検出
フラグを調べることにより判定される。ここで、コード
検出用切換スイッチ3aがオフであればコード検出抑制
モードである。
This is determined by checking the code detection flag indicating the setting state of the code detection changeover switch 3a captured by the panel scan. If the code detection changeover switch 3a is off, the code detection suppression mode is set.

【0100】従って、コード検出用切換スイッチ3aが
オフされる直前に演奏されており、既に自動伴奏パター
ンメモリ27に記憶されている自動伴奏パターンととも
に、例えば即興演奏のため新たにキー入力されたキーに
応じた音を発音する必要がある。
Therefore, with the automatic accompaniment pattern that is being played immediately before the chord detection changeover switch 3a is turned off and already stored in the automatic accompaniment pattern memory 27, for example, a key newly input for improvisational performance. It is necessary to pronounce the sound according to.

【0101】このため、キー入力されたキーに応じた演
奏データを読み出し、RAM13の図示しない所定の領
域に展開し(ステップS18)、メインルーチンに戻
る。
Therefore, the performance data corresponding to the key input by the key input is read out, expanded in a predetermined area (not shown) of the RAM 13 (step S18), and the process returns to the main routine.

【0102】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出す
とともに、キー入力されRAM13の所定の領域に展開
されている楽音データを読み出すことにより重ね演奏を
可能にする。
As a result, the musical tone signal generator 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined timing of sound generation in the other processing of step S4 of the main routine. , The musical tone data which is key-in and expanded in a predetermined area of the RAM 13 is read out to enable the overplay.

【0103】一方、上記ステップS17でコード検出用
切換スイッチ3aがオンの場合は従来の自動伴奏モード
であるので、先ず、検出されたキーのノートナンバ等の
データをRAM13の図示しない所定の領域に記憶させ
る(ステップS19)。
On the other hand, when the chord detection changeover switch 3a is turned on in step S17, it means the conventional automatic accompaniment mode. Therefore, first, the data such as the note number of the detected key is stored in a predetermined area (not shown) of the RAM 13. It is stored (step S19).

【0104】次いで、自動伴奏データ変換部22は、上
記ステップS19で書き換えられたキーのノートナンバ
に基づいてコード検出テーブル26を参照して同時に押
下されていたキーに基づくコードを決定する(ステップ
S20)。
Next, the automatic accompaniment data converter 22 refers to the chord detection table 26 on the basis of the note number of the key rewritten in step S19, and determines the chord based on the simultaneously pressed keys (step S20). ).

【0105】さらに、決定されたコードに基づいてコー
ド変換テーブル25を参照して、自動伴奏の基本パター
ンにどのようなオフセットをかけるかを決定し、基本パ
ターンメモリ24に記憶されている基本パターンに所定
の変換を加え、これを、RAM13の自動伴奏パターン
メモリ27に記憶させ(ステップS21)、メインルー
チンに戻る。
Further, based on the decided chord, the chord conversion table 25 is referred to, which offset is to be applied to the basic pattern of the automatic accompaniment, and the basic pattern stored in the basic pattern memory 24 is set. A predetermined conversion is applied, and this is stored in the automatic accompaniment pattern memory 27 of the RAM 13 (step S21), and the process returns to the main routine.

【0106】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出し
て発音させる。
As a result, the musical tone signal generating section 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined timing of sound generation in the other processing of step S4 of the main routine. Make it sound.

【0107】このように、本実施例によればコード検出
用切換スイッチ3aを操作する簡単な動作で随意コード
検出の中止や再開ができるので即興演奏に適し、しかも
構造が簡単で扱いやすく低価格で、初心者にも使いやす
い電子・電気楽器の自動伴奏装置が提供できる。
As described above, according to this embodiment, the chord detection changeover switch 3a can be stopped or restarted by a simple operation to operate the chord detection switch 3a, which is suitable for improvisational performance and has a simple structure and is easy to handle and inexpensive. Thus, it is possible to provide an automatic accompaniment device for electronic and electric musical instruments that is easy for beginners to use.

【0108】なお、上記コード検出用切換スイッチ3a
をペダルまたはフットスイッチに設けることにより、演
奏者は両手をメロディ演奏のために集中することが可能
となり、さらに扱いやすい自動伴奏装置となる。
The code detection changeover switch 3a is used.
By providing a pedal or a foot switch, the player can concentrate both hands for playing the melody, and the automatic accompaniment device becomes easier to handle.

【0109】次に、演奏開始前にエディタによりコード
検出をオン/オフするデータを入力し、演奏間は該入力
されたデータに基づいて自動的にコード検出のオン/オ
フを制御する第2の実施例のパネル処理の動作につい
て、図5のフローチャートを参照しながら説明する。
Next, data for turning on / off the chord detection is input by the editor before the performance starts, and during the performance, the chord detection on / off is automatically controlled based on the input data. The operation of the panel processing of the embodiment will be described with reference to the flowchart of FIG.

【0110】パネルスキャン処理においては、先ずパネ
ルスキャンが行われる(ステップS31)。このパネル
スキャンでは、先ず、操作パネル3のパネルスキャン回
路4で検出された各スイッチのオン/オフ状態を示す信
号が、パネルインタフェースを介してCPU11に取り
込まれ、RAM13の所定の領域に記憶される。
In the panel scan processing, panel scan is first performed (step S31). In this panel scan, first, a signal indicating the on / off state of each switch detected by the panel scan circuit 4 of the operation panel 3 is fetched by the CPU 11 via the panel interface and stored in a predetermined area of the RAM 13. .

【0111】そして、前回操作パネル3から取り込んだ
各スイッチのオン/オフ状態(RAM13の他の領域に
既に記憶されている)と、今回操作パネル3から取り込
んだ各スイッチのオン/オフ状態とを比較し、新たにオ
ンになったスイッチに対応するビットのみがセットされ
たイベントマップがRAM13上に作成される。
Then, the ON / OFF state of each switch (previously stored in another area of the RAM 13) fetched from the operation panel 3 last time and the ON / OFF state of each switch fetched from the operation panel 3 this time are set. By comparison, an event map in which only the bit corresponding to the newly turned on switch is set is created in the RAM 13.

【0112】次いで、エディットモードであるか否かが
調べられる(ステップS32)。これは、イベントマッ
プを調べることにより図示しないエディタのスイッチが
オンされているか否かを調べるものである。エディット
モードでない場合は、そのままステップS35に分岐す
る。
Then, it is checked whether or not the edit mode is set (step S32). This is to check whether or not the switch of the editor (not shown) is turned on by checking the event map. If not in the edit mode, the process directly branches to step S35.

【0113】一方、上記ステップS32でエディットモ
ードの場合は、エディタによりコード検出中止アドレス
とコード検出再開アドレスを入力し、これをRAM13
のコード検出データメモリ28に記憶させる(ステップ
S33、ステップS34)。なお、該コード検出の中止
や再開位置は、小節、拍数、またはクロックデータで入
力するように構成してもよい。
On the other hand, if the edit mode is selected in step S32, the code detection stop address and the code detection restart address are input by the editor, and this is input to the RAM 13
It is stored in the code detection data memory 28 (step S33, step S34). Note that the stop or restart position of the chord detection may be input by a bar, a beat number, or clock data.

【0114】次いで自動伴奏中であるか否かが調べられ
る(ステップS35)。これは、制御部21が次に発音
されるアドレスが、コード検出中止のアドレスとコード
検出再開のアドレスの間にあるかを調べることにより行
われる。
Next, it is checked whether or not the automatic accompaniment is being performed (step S35). This is performed by the control unit 21 by checking whether the address to be sounded next is between the code detection stop address and the code detection restart address.

【0115】その結果、自動伴奏中ではない場合は、続
いて、自動伴奏スイッチがオンされたか否かが調べられ
る(ステップS36)。自動伴奏スイッチがオンでない
場合は、未だ自動伴奏は行われていないのでステップS
31に戻り、以下同様の処理を繰り返えしながら新たな
入力を待つ。
As a result, when the automatic accompaniment is not being performed, it is subsequently checked whether or not the automatic accompaniment switch is turned on (step S36). If the automatic accompaniment switch is not on, the automatic accompaniment has not been performed yet, so step S
The process returns to step 31 and waits for a new input while repeating the same processing.

【0116】一方、上記ステップS36で自動伴奏スイ
ッチがオンの場合は、今回、新たに自動伴奏スイッチの
オンイベントがあり演奏開始が指示されたので、自動伴
奏中であることを示すモードフラグをオンにし、演奏開
始位置を示すアドレスを設定して(ステップS37)、
ステップS39に進む。
On the other hand, when the automatic accompaniment switch is turned on in step S36, since there is a new on event of the automatic accompaniment switch this time and the performance start is instructed, the mode flag indicating that the automatic accompaniment is being performed is turned on. And set an address indicating the performance start position (step S37),
It proceeds to step S39.

【0117】一方、上記ステップS35でモードフラグ
がオンで、既に自動伴奏中であることを示している場合
は、現在の発音位置から次の発音位置にアドレスを1つ
進める(ステップS38)。
On the other hand, if the mode flag is turned on in step S35, which indicates that automatic accompaniment is already in progress, the address is advanced by one from the current sound generation position to the next sound generation position (step S38).

【0118】続いて、押鍵されているキーに変更があっ
たか否かが調べられる(ステップS39)。これは、メ
インルーチンのステップS2で行われたの鍵盤スキャン
処理で取り込まれたキーデータをサーチしてキーイベン
トに変更があったかを調べることにより行われる。
Subsequently, it is checked whether or not the depressed key has been changed (step S39). This is performed by searching the key data fetched by the keyboard scanning process performed in step S2 of the main routine to check whether the key event has been changed.

【0119】その結果、押下されているキーに変更がな
ければ自動伴奏のコードに変更はないので、今まで演奏
していた自動伴奏パターンで演奏を続ければよく、自動
伴奏パターンメモリ27のデータを更新することなく、
そのままメインルーチンに戻る。
As a result, the automatic accompaniment chord does not change unless the pressed key is changed. Therefore, it is sufficient to continue playing with the automatic accompaniment pattern that has been played until now. Without updating
It returns to the main routine as it is.

【0120】一方、上記ステップS39で同時に押下さ
れているキーに変化のあった場合は、次に発音するデー
タの位置はコード検出中止の位置に該当するか否かが調
べられる(ステップS40)。
On the other hand, if there is a change in the keys pressed simultaneously in step S39, it is checked whether or not the position of the data to be sounded next corresponds to the chord detection stop position (step S40).

【0121】これは制御部21が、次に発音されるデー
タの位置が、エディタにより入力されて既にコード検出
データメモリ28に記憶されているコード検出中止位置
とコード検出再開位置の間にあるか否かを調べることに
より行われる。
This means that the control unit 21 determines whether the position of the data to be sounded next is between the code detection stop position and the code detection restart position which are input by the editor and already stored in the code detection data memory 28. It is done by checking whether or not.

【0122】その結果、コード検出オフの場合、本発明
においてはコード検出がオフされる直前に演奏されてお
り、既に自動伴奏パターンメモリ27に記憶されている
自動伴奏パターンで発音するとともに、新たにキー入力
されたキーに応じた音を重ね演奏する必要がある。
As a result, in the case where the chord detection is off, in the present invention, the performance is performed immediately before the chord detection is turned off, the automatic accompaniment pattern already stored in the automatic accompaniment pattern memory 27 is sounded, and a new one is newly generated. It is necessary to repeat the sound corresponding to the key input.

【0123】従って、新たにキー入力されたキーに応じ
た演奏データを読み出し、RAM13の図示しない所定
の領域に展開して(ステップS41)、重ね演奏のため
の準備をしてメインルーチンに戻る。
Therefore, the performance data corresponding to the newly input key is read out, expanded in a predetermined area (not shown) of the RAM 13 (step S41), the preparation for the repeated performance is made, and the process returns to the main routine.

【0124】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出す
とともに、キー入力されRAM13の所定の領域に展開
されている楽音データを読み出すことにより重ね演奏を
可能にする。
As a result, the musical tone signal generating section 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined timing of sound generation in the other processing of step S4 of the main routine. , The musical tone data which is key-in and expanded in a predetermined area of the RAM 13 is read out to enable the overplay.

【0125】一方、上記ステップS40でコード検出オ
ンの場合は通常の自動伴奏モードであるので、キースキ
ャンにより検出されたキーのノートナンバ等のデータを
RAM13の図示しない所定の領域に記憶させる(ステ
ップS42)。
On the other hand, when the chord detection is turned on in the above step S40, since the normal automatic accompaniment mode is set, the data such as the note number of the key detected by the key scan is stored in a predetermined area (not shown) of the RAM 13 (step S42).

【0126】次いで、自動伴奏データ変換部22は、上
記ステップS42で書き換えられたキーのノートナンバ
に基づいてコード検出テーブル26を参照して同時に押
下されているキーに基づくコードを決定する(ステップ
S43)。
Next, the automatic accompaniment data converter 22 refers to the chord detection table 26 based on the note number of the key rewritten in step S42, and determines the chord based on the simultaneously pressed keys (step S43). ).

【0127】続いて、決定されたコードに基づいてコー
ド変換テーブル25を参照して、自動伴奏の基本パター
ンにどの様なオフセットをかけるかを決定し、基本パタ
ーンメモリ24に記憶されている基本パターンに所定の
変換を加え、これを、RAM13の自動伴奏パターンメ
モリ27に記憶させ(ステップS44)、メインルーチ
ンに戻る。
Subsequently, the basic pattern stored in the basic pattern memory 24 is determined by referring to the chord conversion table 25 based on the decided chords to determine what offset is to be applied to the basic pattern of automatic accompaniment. Is subjected to a predetermined conversion, stored in the automatic accompaniment pattern memory 27 of the RAM 13 (step S44), and the process returns to the main routine.

【0128】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出し
て発音させる。
As a result, the musical tone signal generating section 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined sounding timing in the other processing of step S4 of the main routine. Make it sound.

【0129】このように、本実施例によれば、演奏者が
演奏開始前にエディタを操作してコード検出を抑制する
タイミングを設定することにより、楽曲の進行に伴った
キメ細かなコード検出の抑制が設定でき、しかも演奏間
にコード検出の要否を指示する必要はないので使いやす
い自動伴奏装置が提供できる。
As described above, according to this embodiment, the player operates the editor to set the timing for suppressing the chord detection before the performance is started, so that the chord can be detected finely as the music progresses. It is possible to provide an easy-to-use automatic accompaniment apparatus because the suppression can be set and there is no need to instruct whether or not chord detection is required during performance.

【0130】なお、上記第1、第2の実施例に係わる自
動伴奏装置は、特に鍵盤を持たない電気楽器にも適用可
能である。
The automatic accompaniment apparatus according to the first and second embodiments can be applied to an electric musical instrument having no keyboard.

【0131】次に、演奏中に押下されたキーのベロシテ
ィによりコード検出のオン/オフを制御する第3の実施
例のパネル処理の動作について、図6のフローチャート
を参照しながら説明する。
Next, the operation of the panel processing of the third embodiment for controlling the on / off of the chord detection by the velocity of the key pressed during the performance will be described with reference to the flowchart of FIG.

【0132】本実施例におけるパネルスキャン処理にお
いては、先ずパネルスキャンが行われる(ステップS6
1)。このパネルスキャンでは、先ず、操作パネル3の
パネルスキャン回路4で検出された各スイッチのオン/
オフ状態を示す信号が、パネルインタフェースを介して
CPU11に取り込まれ、RAM13の所定の領域に記
憶される。
In the panel scan processing of this embodiment, first, the panel scan is performed (step S6).
1). In this panel scan, first, each switch detected by the panel scan circuit 4 of the operation panel 3 is turned on / off.
A signal indicating the off state is fetched by the CPU 11 via the panel interface and stored in a predetermined area of the RAM 13.

【0133】そして、前回操作パネル3から取り込んだ
各スイッチのオン/オフ状態(RAM13の他の領域に
既に記憶されている)と、今回操作パネル3から取り込
んだ各スイッチのオン/オフ状態とを比較し、新たにオ
ンになったスイッチに対応するビットのみがセットされ
たイベントマップがRAM13上に作成される。
Then, the ON / OFF state of each switch that has been fetched from the operation panel 3 last time (which has been already stored in another area of the RAM 13) and the ON / OFF state of each switch that has been fetched from the operation panel 3 this time are set. By comparison, an event map in which only the bit corresponding to the newly turned on switch is set is created in the RAM 13.

【0134】次いで、ベロシティの基準値入力モードで
あるか否かが調べられる(ステップS62)。これは、
イベントマップを調べることにより図示しない基準値入
力のスイッチがオンされているか否かを調べるものであ
る。基準値入力モードでない場合は、そのままステップ
S64に分岐する。
Next, it is checked whether or not the mode is the velocity reference value input mode (step S62). this is,
By checking the event map, it is checked whether or not a reference value input switch (not shown) is turned on. If not in the reference value input mode, the process directly branches to step S64.

【0135】一方、上記ステップS62で基準値入力モ
ードの場合は、エディタによりコード検出のオン/オフ
を制御する基準となるベロシティを入力し、これをRA
M13の所定の領域に記憶させる(ステップS63)。
On the other hand, in the case of the reference value input mode in step S62, the velocity as the reference for controlling the on / off of the code detection is input by the editor, and this is input to RA.
It is stored in a predetermined area of M13 (step S63).

【0136】次いで自動伴奏中であるか否かが調べられ
る(ステップS64)。これは、制御部21が現在自動
伴奏中であることを示すモードフラグがオンになってい
るかを調べることにより行われる。
Next, it is checked whether or not the automatic accompaniment is being performed (step S64). This is performed by the control unit 21 checking whether or not the mode flag indicating that the automatic accompaniment is currently performed is turned on.

【0137】その結果、自動伴奏中ではない場合は、続
いて、自動伴奏スイッチがオンされたか否かが調べられ
る(ステップS65)。自動伴奏スイッチがオンでない
場合は、未だ自動伴奏は行われていないのでステップS
61に戻り、以下同様の処理を繰り返えし新たな入力を
待つ。
As a result, when the automatic accompaniment is not being performed, it is subsequently checked whether or not the automatic accompaniment switch is turned on (step S65). If the automatic accompaniment switch is not on, the automatic accompaniment has not been performed yet, so step S
Returning to step 61, the same processing is repeated thereafter and waits for a new input.

【0138】一方、上記ステップS65で自動伴奏スイ
ッチがオンの場合は、今回、新たに自動伴奏スイッチの
オンイベントがあり演奏開始であるので、自動伴奏中で
あることを示すモードフラグをオンにし、演奏開始位置
を示すフラグを設定して(ステップS66)、ステップ
S68に進む。
On the other hand, if the automatic accompaniment switch is turned on in step S65, since there is a new on event of the automatic accompaniment switch this time and the performance is started, the mode flag indicating that the automatic accompaniment is being performed is turned on, A flag indicating the performance start position is set (step S66), and the process proceeds to step S68.

【0139】一方、上記ステップS64でモードフラグ
がオンで、既に自動伴奏中であることを示している場合
は、現在の発音位置から次の発音位置にフラグを1つ進
める(ステップS67)。
On the other hand, if the mode flag is on in step S64, which indicates that automatic accompaniment is already in progress, the flag is advanced by one from the current sound generation position to the next sound generation position (step S67).

【0140】続いて、押鍵されているキーに変更があっ
たか否かが調べられる(ステップS68)。これは、メ
インルーチンのステップS2で行われた鍵盤スキャン処
理で取り込まれたキーデータをサーチしてキーイベント
に変更があったかを調べることにより行われる。
Then, it is checked whether or not the depressed key is changed (step S68). This is performed by searching the key data taken in the keyboard scanning process performed in step S2 of the main routine to check whether the key event has been changed.

【0141】その結果、押下されているキーに変更がな
い場合は自動伴奏のためのコードに変更はなく、そのま
ま演奏を続ければよいのでメインルーチンに戻る。
As a result, when there is no change in the pressed key, there is no change in the chord for automatic accompaniment, and it is sufficient to continue playing as it is, and the process returns to the main routine.

【0142】一方、上記ステップS68で押下されてい
るキーに変更のあった場合は、次に発音するデータを示
すためキー入力されたノートナンバにコード検出オンを
指示する基準値を越えたベロシティのキー入力があった
か否かが調べられる(ステップS69)。
On the other hand, if the key pressed in step S68 is changed, the velocity of the velocity exceeding the reference value for instructing the chord detection on the note number keyed in to indicate the data to be sounded next. It is checked whether or not there is a key input (step S69).

【0143】これは制御部21が、新たにキー入力され
タッチセンサ2が検出したベロシティにベロシティの基
準値を越えたものがあるか否かを調べることにより行わ
れる。
This is carried out by the control unit 21 by checking whether or not there is a velocity newly detected by the touch sensor 2 that has been input by a key and exceeds the velocity reference value.

【0144】なお、コード検出のオン/オフを判定する
要領としては、同時に押下されているキーのいづれか1
つでも基準値を越えた場合はコード検出オンと判定す
る、あるいは、同時に押下されていたキーの全てが基準
値を越えた場合にコード検出オンと判定する等の方法が
あり、いづれの方法によってもよい。
It should be noted that the procedure for judging whether the code detection is on or off is as follows.
There is a method to judge that the code detection is turned on when all of them exceed the reference value, or to judge that the code detection is turned on when all the keys pressed at the same time exceed the reference value. Good.

【0145】その結果、コード検出オフの場合、即ち、
新たにキー入力されたキーのベロシティが基準値に達し
ていなかった場合はコード検出がオフであり、直前に演
奏されており、既に自動伴奏パターンメモリ27に記憶
されている自動伴奏パターンを演奏するとともに、新た
にキー入力されたキーに応じた音を発音する必要があ
る。
As a result, when the code detection is off, that is,
When the velocity of the newly input key does not reach the reference value, the chord detection is off and the automatic accompaniment pattern that has been played immediately before and is already stored in the automatic accompaniment pattern memory 27 is played. At the same time, it is necessary to generate a sound corresponding to the key newly input.

【0146】このため、新たにキー入力されたキーに応
じた演奏データを読み出し、RAM13の図示しない所
定の領域に展開して(ステップS70)、メインルーチ
ンに戻る。
Therefore, the performance data corresponding to the newly input key is read, expanded in a predetermined area (not shown) of the RAM 13 (step S70), and the process returns to the main routine.

【0147】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出す
とともに、キー入力されRAM13の所定の領域に展開
されている楽音データを読み出すことにより重ね演奏を
可能にする。
As a result, the musical tone signal generator 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined timing of sound generation in the other processing of step S4 of the main routine. , The musical tone data which is key-in and expanded in a predetermined area of the RAM 13 is read out to enable the overplay.

【0148】一方、上記ステップS69でコード検出オ
ンの場合は通常の自動伴奏モードであるので、同時に押
下されており基準のベロシティを越えてキー入力された
ノートナンバ等のデータをRAM13の図示しない所定
の領域に記憶させる(ステップS71)。
On the other hand, when the chord detection is turned on in the above step S69, the normal automatic accompaniment mode is set, so that the data such as the note numbers which are simultaneously pressed and key-input beyond the reference velocity is stored in the RAM 13 at a predetermined not shown. Is stored in the area (step S71).

【0149】次いで、自動伴奏データ変換部22は、上
記ステップS71で更新されたキーのノートナンバに基
づいてコード検出テーブル26を参照して同時に押下さ
れているキーに基づくコードを決定する(ステップS7
2)。
Next, the automatic accompaniment data conversion section 22 refers to the chord detection table 26 based on the note number of the key updated in the above step S71, and determines the chord based on the simultaneously pressed keys (step S7).
2).

【0150】続いて、決定されたコードに基づいてコー
ド変換テーブル25を参照して、基本パターンメモリ2
4に記憶されている自動伴奏の基本パターンにどのよう
なオフセットをかけるかを決定し、該基本パターンに所
定の変換を加え、これを、RAM13の自動伴奏パター
ンメモリ27に記憶させ(ステップS73)、メインル
ーチンに戻る。
Subsequently, the basic pattern memory 2 is referred to by referring to the code conversion table 25 based on the determined code.
It is determined what offset is to be applied to the basic pattern of the automatic accompaniment stored in No. 4, the predetermined conversion is applied to the basic pattern, and this is stored in the automatic accompaniment pattern memory 27 of the RAM 13 (step S73). , Return to the main routine.

【0151】これにより、楽音信号発生部5は、メイン
ルーチンのステップS4のその他の処理で、所定の発音
のタイミングになると、自動伴奏パターンメモリ27に
記憶されている自動伴奏パターンデータを順次読み出し
て発音させる。
As a result, the musical tone signal generating section 5 sequentially reads the automatic accompaniment pattern data stored in the automatic accompaniment pattern memory 27 at a predetermined sounding timing in the other processing of step S4 of the main routine. Make it sound.

【0152】以上説明したように、本発明によれば、自
動伴奏中にキー入力されたキーのベロシティが所定の基
準値に達しなかった場合は検出を抑制して、コード検出
が抑制される直前に演奏されていた自動伴奏パターンで
演奏を行うとともに、キー入力されたキーのノートナン
バに基づく音によりそのまま重ね演奏を可能にするの
で、即興演奏の可能な自動伴奏装置を提供できる。
As described above, according to the present invention, when the velocity of the key input by the key during the automatic accompaniment does not reach the predetermined reference value, the detection is suppressed and immediately before the chord detection is suppressed. The automatic accompaniment device capable of improvisational performance can be provided, because the automatic accompaniment pattern that has been played at the same time can be played, and the overplay can be performed as it is by the sound based on the note number of the key entered.

【0153】さらに、キーの押下されるベロシティに応
じてコード検出のオン/オフが自動的に制御されるの
で、演奏者は特にコード検出のための操作を必要とせ
ず、演奏に集中可能となる。しかもコード検出のための
基準値は自由に設定できる。
Furthermore, since the on / off of chord detection is automatically controlled according to the velocity with which the key is pressed, the performer does not need an operation for chord detection and can concentrate on the performance. . Moreover, the reference value for code detection can be set freely.

【0154】なお、上記ステップS71では、基準値を
越えて入力されたキーのデータのみの書換えを行い、ス
テップS72では基準値を越えたキーに基づくコード検
出を行っているが、該ステップS71では、同時に押下
されているキーの1鍵でも基準値を越えた場合はコード
検出をオンとし、この際、同時に押下されているキー全
てを書き換えるように構成してもよい。
In step S71, only the data of the key input exceeding the reference value is rewritten, and in step S72, the code detection based on the key exceeding the reference value is performed. The code detection may be turned on when even one of the simultaneously pressed keys exceeds the reference value, and at this time, all the simultaneously pressed keys may be rewritten.

【0155】さらに、本実施例ではベロシティが基準値
に達しなかった場合はコード検出をオフ、基準値を越え
た場合はコード検出をオンとする場合を例に説明した
が、逆に、ベロシティが基準値に達しなかった場合はコ
ード検出をオン、基準値を越えた場合はコード検出をオ
フとしてもよい。
Further, in this embodiment, the case where the code detection is turned off when the velocity does not reach the reference value and the code detection is turned on when the velocity exceeds the reference value has been described as an example. The code detection may be turned on when the reference value is not reached, and the code detection may be turned off when the reference value is exceeded.

【0156】また、上記各実施例は、コード検出をスイ
ッチにより制御する場合、エディタにより予め設定して
制御する場合、ベロシティにより制御する場合の3つの
実施例について、それぞれ単独で制御する場合を例に説
明したが、本発明はこれに限定されるものではない。
Further, in each of the above-mentioned embodiments, the case where the code detection is controlled by the switch, the case where it is preset by the editor, and the case where the code is controlled by the velocity are independently controlled. However, the present invention is not limited to this.

【0157】上記実施例のいづれか2つ以上を組み合わ
せた構成とすればさらに柔軟性に富みバラエティに富ん
だ機能を有する自動伴奏装置となる。
If any two or more of the above embodiments are combined, an automatic accompaniment device having more flexible and variety of functions can be obtained.

【0158】[0158]

【発明の効果】以上詳述したように、本発明によれば、
演奏者が自動伴奏中に一時的にコード検出をせずに、直
前に演奏されていた自動伴奏パターンで演奏するととも
に、演奏者のキー入力した音を重ね演奏可能にするモー
ドを設定できるので、表現力の豊かな即興演奏が可能と
なる。
As described in detail above, according to the present invention,
Since the performer can perform the automatic accompaniment pattern that was played immediately before without performing chord detection during automatic accompaniment, and can set the mode that allows the performer's key input notes to be played repeatedly. Improvisational performance with rich expressiveness is possible.

【0159】しかも、コード検出抑制開始やコード検出
再開のタイミングを自由に設定できるので使いやすく演
奏者の感覚を表現しやすい電子・電気楽器の自動伴奏装
置が提供できる。
Moreover, since the timing of chord detection suppression start and chord detection restart can be freely set, it is possible to provide an automatic accompaniment device for an electronic / electric musical instrument which is easy to use and expresses the feeling of the player.

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

【図1】本発明に係る自動伴奏装置の全体的な構成を示
す概略ブロック図である。
FIG. 1 is a schematic block diagram showing an overall configuration of an automatic accompaniment apparatus according to the present invention.

【図2】コード進行データの構成を説明する図である。FIG. 2 is a diagram illustrating a structure of chord progression data.

【図3】本発明の自動伴奏装置の全般動作を説明するメ
インフローチャートである。
FIG. 3 is a main flowchart explaining the overall operation of the automatic accompaniment apparatus of the present invention.

【図4】第1の実施例のパネル処理の動作を説明するフ
ローチャートである。
FIG. 4 is a flowchart illustrating an operation of panel processing according to the first embodiment.

【図5】第2の実施例のパネル処理の動作を説明するフ
ローチャートである。
FIG. 5 is a flowchart illustrating an operation of panel processing according to a second embodiment.

【図6】第3の実施例のパネル処理の動作を説明するフ
ローチャートである。
FIG. 6 is a flowchart illustrating an operation of panel processing according to a third embodiment.

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

1 鍵盤 2 タッチセンサ 3 操作パネル 3a コード検出用切換スイッチ(コード検出切換手
段) 4 パネルスキャン回路 5 楽音信号発生部 6 波形メモリ 7 D/A変換器 8 増幅器 9 スピーカ 11 CPU 12 ROM 13 RAM 21 制御部(コード検出制御手段) 22 自動伴奏データ変換部 24 基本パターンメモリ 25 コード変換テーブルメモリ 26 コード検出テーブルメモリ 27 自動伴奏パターンメモリ 28 コード検出用データメモリ 29 コード検出用スイッチフラグ 30 コード検出用ベロシティフラグ
1 keyboard 2 touch sensor 3 operation panel 3a code detection changeover switch (code detection changeover means) 4 panel scan circuit 5 tone signal generation section 6 waveform memory 7 D / A converter 8 amplifier 9 speaker 11 CPU 12 ROM 13 RAM 21 control Section (chord detection control means) 22 automatic accompaniment data conversion section 24 basic pattern memory 25 chord conversion table memory 26 chord detection table memory 27 auto accompaniment pattern memory 28 chord detection data memory 29 chord detection switch flag 30 chord detection velocity flag

フロントページの続き (56)参考文献 特開 平4−46394(JP,A) 特開 平5−94178(JP,A) 特開 昭54−4116(JP,A) 特開 平9−6359(JP,A) 特開 平7−64560(JP,A) 特開 平7−64557(JP,A) 特開 昭52−72215(JP,A) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/12 Continuation of the front page (56) Reference JP-A-4-46394 (JP, A) JP-A-5-94178 (JP, A) JP-A-54-4116 (JP, A) JP-A-9-6359 (JP , A) JP-A-7-64560 (JP, A) JP-A-7-64557 (JP, A) JP-A-52-72215 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB) Name) G10H 1/00-7/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自動伴奏機能としての手動コード進行モ
ードを有し、記憶されている楽音情報を順次読み出して
自動伴奏を行う電子・電気楽器の自動伴奏装置におい
て、 演奏開始前に、エディタによりコード検出をオン/オフ
するテータを入力してコード検出データメモリに記憶
し、手動コード進行モードで自動伴奏中に所定のタイミ
ングになると、該コード検出データメモリに書き込まれ
たデータに基づいてコード検出のオン/オフを指示する
コード検出切換手段と、 前記コード検出切換手段の設定に基づいてコード検出の
オン/オフを制御するコード検出制御手段と、を有し、 前記コード検出制御手段がコード検出オフの際、コード
検出オフが指示される直前に発音した自動伴奏パターン
の発音を継続するとともに、演奏者が鍵入力した音を重
ねて演奏可能とすることを特徴とする電子・電気楽器の
自動伴奏装置。
1. An automatic accompaniment device for an electronic / electrical musical instrument, which has a manual chord progression mode as an automatic accompaniment function and sequentially reads stored musical tone information to perform automatic accompaniment. When the data for turning the detection on / off is input and stored in the chord detection data memory, and when a predetermined timing is reached during the automatic accompaniment in the manual chord progression mode, chord detection is performed based on the data written in the chord detection data memory. A code detection switching means for instructing on / off, and a code detection control means for controlling on / off of code detection based on the setting of the code detection switching means. At this time, the auto accompaniment pattern that was pronounced immediately before the chord detection off instruction was continued and the performer entered a key. An automatic accompaniment device for electronic and electric musical instruments, which is capable of playing multiple sounds.
【請求項2】 前記コード検出データメモリに記憶され
たデータは、各小節、拍数、及び/又はクロックロケー
ションごとに書き込まれることを特徴とする請求項1記
載の電子・電気楽器の自動伴奏装置。
2. The automatic accompaniment device for an electronic / electric musical instrument according to claim 1, wherein the data stored in the chord detection data memory is written for each measure, beat number, and / or clock location. .
JP13258896A 1996-05-01 1996-05-01 Automatic accompaniment device for electronic and electric musical instruments Expired - Fee Related JP3436636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13258896A JP3436636B2 (en) 1996-05-01 1996-05-01 Automatic accompaniment device for electronic and electric musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13258896A JP3436636B2 (en) 1996-05-01 1996-05-01 Automatic accompaniment device for electronic and electric musical instruments

Publications (2)

Publication Number Publication Date
JPH09297583A JPH09297583A (en) 1997-11-18
JP3436636B2 true JP3436636B2 (en) 2003-08-11

Family

ID=15084859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13258896A Expired - Fee Related JP3436636B2 (en) 1996-05-01 1996-05-01 Automatic accompaniment device for electronic and electric musical instruments

Country Status (1)

Country Link
JP (1) JP3436636B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4492923B2 (en) * 2003-08-20 2010-06-30 株式会社河合楽器製作所 Electronic musical instrument function assignment device

Also Published As

Publication number Publication date
JPH09297583A (en) 1997-11-18

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JPH05188944A (en) Automatic playing device
JP2562370B2 (en) Automatic accompaniment device
JP2003099032A (en) Chord presenting device and computer program for chord presentation
JP3207091B2 (en) Automatic accompaniment device
JP2516085B2 (en) Automatic playing device
JP3436636B2 (en) Automatic accompaniment device for electronic and electric musical instruments
JPH06332449A (en) Singing voice reproducing device for electronic musical instrument
JP4670686B2 (en) Code display device and program
JP2546467B2 (en) Electronic musical instrument
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
JP2619278B2 (en) Electronic musical instrument with rhythm solo performance function
JP3630266B2 (en) Automatic accompaniment device
JP2665854B2 (en) Automatic performance device
JP2879742B2 (en) Automatic accompaniment device
JP3862988B2 (en) Electronic musical instruments
JPH07160255A (en) Automatic accompaniment device for electronic instrument
JP3375220B2 (en) Electronic musical instrument
JPH07230286A (en) Tempo setting device of electronic musical instrument
JPH06250657A (en) Electronic musical instrument
JPH0772857A (en) Automatic music playing device for electronic musical instrument
JP3033393B2 (en) Automatic accompaniment device
JP2953937B2 (en) Electronic musical instrument volume control device
JP3150580B2 (en) Automatic performance device and automatic performance method
JPH08106284A (en) Automatic playing device of electronic musical instrument

Legal Events

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