JP2715804B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP2715804B2
JP2715804B2 JP4103942A JP10394292A JP2715804B2 JP 2715804 B2 JP2715804 B2 JP 2715804B2 JP 4103942 A JP4103942 A JP 4103942A JP 10394292 A JP10394292 A JP 10394292A JP 2715804 B2 JP2715804 B2 JP 2715804B2
Authority
JP
Japan
Prior art keywords
tempo
pattern
performance
change
switch
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
JP4103942A
Other languages
Japanese (ja)
Other versions
JPH05281963A (en
Inventor
▲勤▼ 今泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP4103942A priority Critical patent/JP2715804B2/en
Publication of JPH05281963A publication Critical patent/JPH05281963A/en
Application granted granted Critical
Publication of JP2715804B2 publication Critical patent/JP2715804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は電子楽器のシーケンサ
や自動伴奏装置あるいは自動リズム演奏装置等の自動演
奏装置に係り、特に自動演奏時にテンポを任意に変更で
きるテンポ変更機能を有する自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic musical instrument such as a sequencer of an electronic musical instrument, an automatic accompaniment apparatus or an automatic rhythm musical instrument, and more particularly to an automatic musical instrument having a tempo changing function capable of arbitrarily changing the tempo during automatic performance. .

【0002】[0002]

【従来の技術】従来の自動演奏装置は、電子楽器のキー
ボードやコンピュータ等から入力される演奏情報を記憶
しておき、その記憶された演奏情報に基づいて演奏音を
再生するシーケンサタイプのものである。この種の自動
演奏装置においては、テンポクロックに従って演奏情報
をメモリから読み出し、その演奏情報に基づき楽音信号
を発生する。この場合、テンポクロックの周波数はテン
ポ設定スイッチ等によって自由に可変制御できるので、
操作者はこのテンポ設定スイッチ等を操作することによ
って再生時の演奏テンポを所望のものに自由に変化させ
ることができる。
2. Description of the Related Art A conventional automatic performance device is of a sequencer type that stores performance information input from a keyboard or a computer of an electronic musical instrument and reproduces performance sounds based on the stored performance information. is there. In this type of automatic performance apparatus, performance information is read from a memory according to a tempo clock, and a tone signal is generated based on the performance information. In this case, the frequency of the tempo clock can be freely variably controlled by a tempo setting switch or the like.
The operator can freely change the performance tempo during reproduction to a desired one by operating the tempo setting switch and the like.

【0003】この演奏テンポの値は、テンポ設定スイッ
チの操作によって連続的に設定変更したり、適宜のアッ
プダウンスイッチ等の操作に応じて不連続的に設定変更
することができた。また、最近では、操作者が速度標語
(リタルダンドやアッチェレランド等)に対応したスイ
ッチ(リタルダンドモードスイッチやアッチェレランド
モードスイッチ等)を操作することによって、所定の割
合で自動的に演奏テンポを徐々に遅くしたり早くしたり
できる。
The value of the performance tempo can be changed continuously by operating a tempo setting switch, or can be changed discontinuously by operating an appropriate up / down switch. Also, recently, the operator operates a switch (such as a ritardand mode switch or an accelerand mode switch) corresponding to a speed slogan (such as a ritardand or an acceleland mode) so that the playing tempo is automatically gradually reduced at a predetermined rate. And faster.

【0004】一方、電子楽器の自動リズム演奏において
は、共通のリズム名に対して複数のリズムパターンを準
備しており、操作者はその中から所望のリズムパターン
を選択できるようになっている。例えば、電子楽器の中
にボサノバならボサノバというリズム名に対して、ノー
マルパターン(メインパターン)とバリエーションパタ
ーン(サブパターン)が予め準備されており、操作者は
それを選択できるようになっている。このバリエーショ
ンパターンは1個とは限らず、複数準備されている場合
もある。一般に、これらのパターンは1から数小節分の
長さを有しており、電子楽器はこのパターンを繰り返し
演奏することによって連続的な自動リズム演奏処理を実
行している。
On the other hand, in an automatic rhythm performance of an electronic musical instrument, a plurality of rhythm patterns are prepared for a common rhythm name, and an operator can select a desired rhythm pattern from the rhythm patterns. For example, a normal pattern (main pattern) and a variation pattern (sub-pattern) are prepared in advance for the rhythm name of Bossa Nova in the electronic musical instrument, and the operator can select it. The number of variation patterns is not limited to one, and a plurality of variation patterns may be prepared. Generally, these patterns have a length of one to several measures, and the electronic musical instrument executes a continuous automatic rhythm playing process by repeatedly playing these patterns.

【0005】電子楽器はこのようにして選択されたリズ
ムパターンを繰り返し演奏処理するものであり、同じリ
ズムパターンを繰り返して演奏処理するので、全体的に
演奏曲に単調な感じを与えてしまうという欠点を有す
る。そこで、最近の電子楽器では、フィルイン、ブレー
ク又はアドリブと呼ばれる複数のサブパターンを準備し
ておき、操作者のスイッチ操作等による人為的指示に応
じてこのサブパターンに応じた演奏を一時的に実行し、
サブパターン演奏終了後に再びメインのリズムパターン
演奏に戻るという処理を行っている。
[0005] The electronic musical instrument repeatedly performs the rhythm pattern selected in this manner. Since the same rhythm pattern is repeatedly performed, the musical piece is given a monotonous feeling as a whole. Having. Therefore, in recent electronic musical instruments, a plurality of sub-patterns called fill-in, break or ad-lib are prepared, and a performance according to this sub-pattern is temporarily executed in response to an artificial instruction by an operator's switch operation or the like. And
After the sub-pattern performance, the process returns to the main rhythm pattern performance again.

【0006】[0006]

【発明が解決しようとする課題】従来の自動演奏装置
は、つまみ又はスイッチ等のテンポ設定用操作子によっ
て演奏中に演奏テンポの変更操作を行うことによって、
演奏テンポを連続的又は滑らかに変化させたり、または
フィルイン等によってリズムパターンを適宜変更させた
りして、演奏曲のテンポやリズムを種々変化させ、演奏
曲にはばを持たせていた。ところが、従来の自動演奏装
置は、演奏テンポの変化とリズムパターンの変更とをそ
れぞれ別々に行っていたため、リタルダンド処理やアッ
チェレランド処理をフィルイン演奏の終了と同時に演奏
テンポをリタルダンド処理やアッチェレランド処理以前
のテンポに戻す(ア・テンポ)というような動作を行わ
せることができなかった。
A conventional automatic performance device performs an operation of changing a performance tempo during a performance by a tempo setting operator such as a knob or a switch.
By changing the performance tempo continuously or smoothly, or by appropriately changing the rhythm pattern by fill-in or the like, the tempo and rhythm of the performance music are variously changed, and the performance music is given a flurry. However, the conventional automatic performance device changes the performance tempo and changes the rhythm pattern separately. It was not possible to perform an operation such as returning to (tempo).

【0007】また、従来の自動演奏装置の中には、リタ
ルダンド処理とフィルイン演奏とを同期させて、フィル
イン演奏中のみにリタルダンド処理を有効なものとして
扱い、フィルイン演奏中だけ演奏テンポを徐々に遅くし
ていき、フィルイン演奏の終了と同時に演奏テンポをリ
タルダンド処理前のテンポに戻す(ア・テンポ)という
動作を行うものがある。しかしながら、これはフィルイ
ン処理とリタルダンド処理とを同期させずにリタルダン
ド処理を単独で行うことができず、また、リタルダンド
処理の途中からフィルイン処理を行ったりすることがで
きず、演奏のはばが狭いという問題を有する。
[0007] Some conventional automatic performance devices synchronize the ritard-and-process with the fill-in and treat the ritard-and-process as effective only during the fill-in performance, and gradually reduce the performance tempo only during the fill-in performance. Some perform an operation of returning the performance tempo to the tempo before the ritardando processing at the same time as the end of the fill-in performance (a tempo). However, this cannot perform the ritardando processing alone without synchronizing the fill-in processing and the ritardando processing, and cannot perform the fill-in processing in the middle of the ritardando processing, so that the performance is narrow. There is a problem that.

【0008】この発明は上述の点に鑑みてなされたもの
であり、リタルダンド処理やアッチェレランド処理等の
ように演奏テンポを変化させるテンポ変化処理と、フィ
ルイン演奏等のように演奏パターンをノーマルパターン
からサブパターンに変更させるパターン変更処理とをそ
れぞれ別々に実行することも、また同期させて実行する
こともできる自動演奏装置を提供することを目的とす
る。
The present invention has been made in view of the above points, and includes a tempo change process for changing a performance tempo such as a ritardand process and an accelerand process, and a subroutine for converting a performance pattern from a normal pattern such as a fill-in performance. It is an object of the present invention to provide an automatic performance device that can separately execute a pattern change process for changing a pattern and can also execute the process in synchronization.

【0009】[0009]

【課題を解決するための手段】 この発明に係る自動演
奏装置は、複数のメインパターン及び複数のサブパター
ンを記憶する演奏パターン記憶手段と、前記メインパタ
ーンに応じた自動演奏の途中に前記サブパターンに応じ
た自動演奏を一時的に挿入することを指示するパターン
変更指示手段と、テンポ信号を発生するテンポ信号発生
手段と、前記テンポ信号の速さを変化させることを指示
するテンポ変化指示手段と、このテンポ変化指示手段か
らの指示に従って前記テンポ信号発生手段の発生するテ
ンポ信号の速さを所定の変化率で所定の速さへ徐々に
化させるテンポ変化制御手段と、前記演奏パターン記憶
手段から前記メインパターンを読み出し、読み出された
メインパターンに応じた自動演奏を前記テンポ信号に応
じたテンポで行い、前記パターン変更指示手段からの指
示に従って前記演奏パターン記憶手段から前記サブパタ
ーンを読み出し、読み出されたサブパターンに応じた自
動演奏を前記テンポ信号に応じたテンポで一時的に行
い、前記サブパターンによる自動演奏終了後に再びメイ
ンパターンに応じた自動演奏を前記テンポ信号に応じた
テンポで行う制御手段と、前記制御手段による前記サブ
パターンの自動演奏処理と前記テンポ変化制御手段によ
る前記テンポ信号の変化処理とが同時に実行される場合
において、前記サブパターンの演奏終了時において前記
テンポ変化制御が終了していないならば該サブパターン
の自動演奏処理の終了に同期させて前記テンポ信号の速
さを変化処理前の元のテンポ信号の速さに戻す処理を行
ない、前記サブパターンの演奏終了時において前記テン
ポ変化制御が終了しているならば現状のテンポ信号を維
持するテンポ復帰手段とから構成されるものである。
An automatic performance device according to the present invention includes a performance pattern storage means for storing a plurality of main patterns and a plurality of sub-patterns, wherein the sub-pattern is stored during automatic performance according to the main pattern. Pattern change instructing means for instructing temporary insertion of an automatic performance corresponding to the tempo signal, tempo signal generating means for generating a tempo signal, and tempo change instructing means for instructing to change the speed of the tempo signal. A tempo change control means for gradually changing the speed of the tempo signal generated by the tempo signal generation means to a predetermined speed at a predetermined change rate in accordance with an instruction from the tempo change instruction means; The main pattern is read from the performance pattern storage means, and an automatic performance corresponding to the read main pattern is performed in response to the tempo signal.
The sub-pattern is read from the performance pattern storage unit in accordance with an instruction from the pattern change instruction unit, and an automatic performance corresponding to the read sub-pattern is temporarily performed at a tempo corresponding to the tempo signal. Control means for performing automatic performance according to the main pattern again at the tempo according to the tempo signal after completion of the automatic performance by the sub-pattern; and automatic performance processing of the sub-pattern by the control means and the tempo change control means. In the case where the tempo signal change processing is executed simultaneously, if the tempo change control is not completed at the end of the performance of the sub-pattern, the tempo signal is synchronized with the end of the automatic performance processing of the sub-pattern. To restore the original tempo signal speed before the change process to the sub-pattern If the tempo change control at the time of playing the end of the emission is completed are those composed of a tempo return means for maintaining the current state of the tempo signal.

【0010】[0010]

【作用】 パターン変更指示手段はメインパターンに応
じた自動演奏の途中にサブパターンに応じた自動演奏を
一時的に挿入することを指示する者である。テンポ変化
指示手段はテンポ信号発生手段の発生するテンポ信号の
速さを変化させることを指示するものである。テンポ変
化制御手段はこのテンポ変化指示手段からの指示に従っ
て前記テンポ信号発生手段の発生するテンポ信号の速さ
所定の変化率で所定の速さへ徐々に変化させるもので
ある。
The pattern change instructing means is a person who instructs to temporarily insert an automatic performance according to the sub-pattern during the automatic performance according to the main pattern. The tempo change instructing means instructs to change the speed of the tempo signal generated by the tempo signal generating means. The tempo change control means gradually changes the speed of the tempo signal generated by the tempo signal generation means to a predetermined speed at a predetermined change rate in accordance with an instruction from the tempo change instruction means.

【0011】 制御手段は、演奏パターン記憶手段から
メインパターンを読み出し、読み出されたメインパター
ンに応じた自動演奏をテンポ信号に応じたテンポで行
う。従って、このメインパターンに応じた自動演奏時に
テンポ変化指示手段でテンポ信号の速さを変化させるこ
とを指示することによって、その時のテンポを変化させ
る言ができる。また、制御手段は、パターン変更指示手
段からの指示に従って演奏パターン記憶手段から前記サ
ブパターンを読み出し、読み出されたサブパターンに応
じた自動演奏をテンポ信号に応じたテンポで一時的に行
い、サブパターンによる自動演奏終了後に再びメインパ
ターンに応じた自動演奏を前記テンポ信号に応じたテン
ポで行う。
The control means reads the main pattern from the performance pattern storage means and performs an automatic performance according to the read main pattern at a tempo according to a tempo signal. Therefore, by giving an instruction to change the speed of the tempo signal by the tempo change instructing means during the automatic performance according to the main pattern, it is possible to say that the tempo at that time is changed. The control means reads the sub-pattern from the performance pattern storage means in accordance with an instruction from the pattern change instructing means , and temporarily performs an automatic performance according to the read sub-pattern at a tempo according to a tempo signal. After the automatic performance by the pattern is completed, the automatic performance according to the main pattern is performed again at the tempo according to the tempo signal.

【0012】 従って、制御手段がサブパターンに応じ
た自動演奏を行っている時にテンポ変化指示手段でテン
ポ信号の速さを変化させることを指示することによっ
て、その時のテンポを変化させることができる。また、
テンポ変化制御手段がテンポ信号発生手段の発生するテ
ンポ信号の速さを所定の変化率で所定の速さへ徐々に変
化させる制御を行っている時に、パターン変更指示手段
でメインパターンに応じた自動演奏の途中にサブパター
ンに応じた自動演奏を一時的に挿入することを指示する
ことによって、制御手段はパターン変更指示手段からの
指示に従って演奏パターン記憶手段からサブパターンを
読み出し、読み出されたサブパターンに応じた自動演奏
を変化中のテンポ信号に応じたテンポで一時的に行うこ
とができる。このような場合は、サブパターンの自動演
奏処理とテンポ変化制御手段によるテンポ信号の変化処
理とが同時に実行される場合に該当するので、テンポ復
帰手段は、サブパターンの演奏終了時においてテンポ変
化制御が終了していないならば該サブパターンの自動演
奏処理の終了に同期させて前記テンポ信号の速さを変化
処理前の元のテンポ信号の速さに戻す処理を行ない、一
方、サブパターンの演奏終了時においてテンポ変化制御
が終了しているならば、元のテンポ信号の速さに戻す処
理を行わずに、現状のテンポ信号を維持する。
Therefore, the tempo at that time can be changed by instructing the tempo change instructing means to change the speed of the tempo signal when the control means is performing the automatic performance according to the sub-pattern. Also,
Tempo change control means gradually changes the speed of the tempo signal generated by the tempo signal generation means to a predetermined speed at a predetermined change rate.
When performing the control for changing the pattern, the pattern change instruction means instructs the temporary insertion of the automatic performance corresponding to the sub-pattern during the automatic performance corresponding to the main pattern, thereby controlling the pattern change instruction. The sub-pattern is read from the performance pattern storage means in accordance with an instruction from the means, and an automatic performance corresponding to the read sub-pattern can be temporarily performed at a tempo corresponding to a changing tempo signal. Such a case corresponds to the case where the automatic performance processing of the sub-pattern and the processing of changing the tempo signal by the tempo change control means are executed simultaneously, so that the tempo return means controls the tempo change control at the end of the performance of the sub-pattern. If the processing of the sub-pattern is not completed, the processing of returning the speed of the tempo signal to the original tempo signal before the change processing is performed in synchronization with the end of the automatic performance processing of the sub-pattern. If the tempo change control has been completed at the end, the current tempo signal is maintained without performing the process of returning to the original tempo signal speed.

【0013】 すなわち、この発明に係る自動演奏装置
では、パターン変更指示手段とテンポ変化指示手段とが
互いに独立して存在し、通常の動作時にはパターン変更
処理とテンポ変化処理とは別々に動作するようになって
おり、制御手段によるサブパターンの自動演奏処理とテ
ンポ変化制御手段によるテンポ信号の変化処理とが同時
に実行される場合に限りサブパターンの自動演奏処理の
終了に同期させて、テンポ信号の速さを変化処理前の元
のテンポ信号の速さに戻すようにしているので、リタル
ダンド処理やアッチェレランド処理等のように演奏テン
ポを変化させるテンポ変化処理と、フィルイン演奏等の
ように演奏パターンをノーマルパターンからサブパター
ンに変更させるパターン変更処理とをそれぞれ別々に実
行することもできるし、また両方の処理を同期させて実
行することもできるという効果がある。また、テンポ信
号の速さを変化処理前の元のテンポ信号の速さに戻す処
理(テンポ復帰処理)を、サブパターンの演奏終了時に
同期して必ず行うわけではなく、サブパターンの演奏終
了時においてテンポ変化制御が終了しているか否かに応
じて、自動的に行うようにしているので、テンポ変化処
理をパターン変更処理に自動的に同期させることができ
る一方で、演奏者の操作意図を優先したテンポ変化制御
を自動的に行うことができるという優れた効果を奏す
る。すなわち、サブパターンの演奏終了前にテンポ変化
制御が終了している場合は、既に安定状態となっている
現状のテンポが、テンポ変化指示手段の操作によって演
奏者が意図した望みのテンポであるとみなし、この安定
した現状のテンポを、無理に、変化処理前の元のテンポ
に戻すことをしないように構成してある。これによっ
て、演奏者は、テンポ変化制御がサブパターン変更制御
に連動していることを必要以上に気にすることなく、テ
ンポ変化制御(リタルダンド処理やアッチェレランド処
理等)を気楽に利用することができる。また、これによ
って、演奏表現範囲を拡張することもできる。
That is, in the automatic performance device according to the present invention, the pattern change instructing means and the tempo change instructing means exist independently of each other, and the pattern changing process and the tempo changing process operate separately in a normal operation. Only when the automatic performance processing of the sub-pattern by the control means and the change processing of the tempo signal by the tempo change control means are executed simultaneously, the tempo signal is synchronized with the end of the automatic performance processing of the sub-pattern. Since the speed is returned to the original tempo signal speed before the change process, tempo change process that changes the performance tempo such as ritardando process or accelerand process, and performance pattern such as fill-in performance etc. It is also possible to separately execute the pattern change process for changing from the normal pattern to the sub pattern In addition, there is an effect that both processes can be executed in synchronization. Also, the tempo signal
To return the speed of the signal to the original tempo signal speed before the change process
Process (tempo return processing) at the end of the performance of the sub-pattern
Synchronization is not always performed,
The tempo change control has ended
Automatically, the tempo change
Process can be automatically synchronized with the pattern change process.
Tempo change control that prioritizes the player's operation intentions
Has an excellent effect that it can be performed automatically.
You. That is, the tempo changes before the end of the sub-pattern performance.
If control has been completed, it is already in a stable state
The current tempo is performed by operating the tempo change instruction means.
Assuming that the player has the desired tempo,
Forcibly change the current tempo to the original tempo before the change process.
It is configured not to return to. By this
For the player, the tempo change control is
Without worrying more than necessary
Change control (ritardand processing and acceleland processing)
Can be used easily. This also
Thus, the performance expression range can be extended.

【0014】[0014]

【実施例】以下、添付図面を参照してこの発明の一実施
例を詳細に説明する。図1はこの発明に係る自動演奏装
置を適用した電子楽器の一実施例を示すハード構成ブロ
ック図である。この実施例においては、CPU10、プ
ログラムROM11、データおよびワーキングRAM1
2を含むマイクロコンピュータの制御の下に各種の処理
が実行されるようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram of a hardware configuration showing an embodiment of an electronic musical instrument to which the automatic performance device according to the present invention is applied. In this embodiment, a CPU 10, a program ROM 11, a data and a working RAM 1
Various processes are executed under the control of the microcomputer including the CPU 2.

【0015】マイクロプロセッサユニット(CPU)1
0は、この電子楽器全体の動作を制御するものである。
このCPU10に対して、データ及びアドレスバス18
を介してプログラムROM11、データ及びワーキング
RAM12、押鍵検出回路13、スイッチ検出回路1
4、表示回路15、音源回路16及びタイマ17が接続
されている。プログラムROM11はCPU10のシス
テムプログラムや自動演奏パターンデータや楽音に関す
る各種パラメータや各種データを格納するものであり、
リードオンリーメモリ(ROM)で構成されている。デ
ータ及びワーキングRAM12は、演奏情報やCPU1
0がプログラムを実行する際に発生する各種データを一
時的に記憶するものであり、ランダムアクセスメモリ
(RAM)の所定のアドレス領域がそれぞれ割り当てら
れ、レジスタ及びフラグとして利用される。
Microprocessor unit (CPU) 1
0 controls the operation of the entire electronic musical instrument.
A data and address bus 18 is provided to the CPU 10.
ROM 11, data and working RAM 12, key press detection circuit 13, switch detection circuit 1
4, display circuit 15, sound source circuit 16 and timer 17 are connected. The program ROM 11 stores a system program of the CPU 10, automatic performance pattern data, and various parameters and various data related to musical sounds.
It is composed of a read only memory (ROM). The data and working RAM 12 stores performance information and CPU 1
Numeral 0 temporarily stores various data generated when the program is executed, and predetermined address areas of a random access memory (RAM) are respectively allocated and used as registers and flags.

【0016】鍵盤19は、発音すべき楽音の音高を選択
するための複数の鍵を備えており、各鍵に対応したキー
スイッチを有しており、また必要に応じて押圧力検出装
置等のタッチ検出手段を有している。鍵盤19は音楽演
奏のための基本的な操作子であり、これ以外の演奏操作
子でもよいことはいうまでもない。押鍵検出回路13
は、発生すべき楽音の音高を指定する鍵盤19のそれぞ
れの鍵に対応して設けられたキースイッチ回路を含むも
のである。この押鍵検出回路13は、鍵盤19の離鍵状
態から押鍵状態への変化を検出してキーオンイベントを
出力し、押鍵状態から離鍵状態への変化を検出してキー
オフイベントを出力すると共にそれぞれのキーオンイベ
ント及びキーオフイベントに関する鍵の音高を示すキー
コードを出力する。押鍵検出回路13は、この他にも鍵
押し下げ時の押鍵操作速度又は押圧力等を判別してタッ
チデータを生成し、このタッチデータをベロシティデー
タとして出力する。押鍵検出回路13及び鍵盤19の代
わりにコンピュータ等を接続し、所望の演奏情報を入力
するようにしてもよい。
The keyboard 19 has a plurality of keys for selecting the pitch of a musical tone to be produced, has key switches corresponding to each key, and has a pressing force detecting device and the like as necessary. Touch detection means. The keyboard 19 is a basic operation element for music performance, and it goes without saying that other operation elements may be used. Key press detection circuit 13
Includes a key switch circuit provided corresponding to each key of the keyboard 19 for designating a pitch of a musical tone to be generated. The key press detection circuit 13 detects a change of the keyboard 19 from the key release state to the key press state and outputs a key-on event, and detects a change from the key press state to the key release state and outputs a key-off event. At the same time, a key code indicating the pitch of the key for each key-on event and key-off event is output. In addition, the key press detection circuit 13 determines the key press operation speed or the press force when the key is pressed down, generates touch data, and outputs the touch data as velocity data. A computer or the like may be connected in place of the key press detection circuit 13 and the keyboard 19 to input desired performance information.

【0017】スイッチ検出回路14は、パネルスイッチ
20に設けられた各々の操作子(スイッチ)に対応して
設けられており、各々の操作子の操作状況に応じた操作
データをイベント情報として出力する。パネルスイッチ
20は、発生すべき楽音の音色、音量、音高、効果等を
選択、設定、制御するための各種の操作子を含むもので
あり、次のようなスイッチを有する。スタート/ストッ
プ(START/STOP)スイッチ2Aは伴奏開始と
伴奏停止を指示するためのスイッチである。フィルイン
(FILL IN)スイッチ2Bはフィルイン演奏の開
始を指示するスイッチである。シンクロ(SYNC.)
スイッチ2Cはリタルダンドやアッチェレランドのテン
ポ変化の開始を小節線タイミングに同期させて行うかど
うかを指示するスイッチである。
The switch detection circuit 14 is provided corresponding to each of the operators (switches) provided on the panel switch 20, and outputs operation data corresponding to the operation status of each of the operators as event information. . The panel switch 20 includes various operators for selecting, setting, and controlling the tone color, volume, pitch, effect, and the like of a musical tone to be generated, and has the following switches. A start / stop (START / STOP) switch 2A is a switch for instructing start and stop of accompaniment. A fill-in (FILL IN) switch 2B is a switch for instructing the start of a fill-in performance. Synchro (SYNC.)
The switch 2C is a switch for instructing whether to start the change of the tempo of the ritardando or accelerando in synchronization with the bar timing.

【0018】リタルダンド(RIT.)スイッチ2Dは
現在の演奏テンポを徐々に遅くするという速度標語のリ
タルダンドに対応したスイッチである。アッチェレラン
ド(ACC.)スイッチ2Eは現在の演奏テンポを徐々
に早くするという速度標語のアッチェレランドに対応し
たスイッチである。テンポアップスイッチ2F及びテン
ポダウンスイッチ2Gは演奏テンポの早さを指示するた
めのスイッチである。この電子楽器は、このスイッチ2
F又は2Gを操作することによって演奏テンポを早くし
たり遅くしたりできる。パネルスイッチ20にはこの他
にも演奏音の音色を特定するための音色選択スイッチや
ワルツ、ボサノバ等といった演奏スタイルを特定するた
めのスタイル選択スイッチ等のような様々なスイッチが
存在するが、ここでは説明の便宜上省略する。
A ritardando (RIT.) Switch 2D is a switch corresponding to the ritardando of the speed slogan that gradually lowers the current performance tempo. The accelerando (ACC.) Switch 2E is a switch corresponding to accelerand of the speed slogan for gradually increasing the current performance tempo. The tempo up switch 2F and the tempo down switch 2G are switches for instructing the speed of the performance tempo. This electronic musical instrument uses this switch 2
By operating F or 2G, the performance tempo can be increased or decreased. In addition to the panel switch 20, there are various switches such as a tone selection switch for specifying the tone of the performance sound and a style selection switch for specifying a performance style such as waltz or bossa nova. Then, it is omitted for convenience of explanation.

【0019】表示回路15はCPU10の制御状態、設
定パラメータの内容等の各種の情報を表示部21に表示
するものであり、例えば音色名やエンベロープの形状等
を表示する。表示部21は液晶表示パネル(LCD)か
らなり、表示回路15によってその表示動作を制御され
る。表示部21は現在設定されているパラメータの内容
を全て表示する形式のものであってもよいし、変更され
たパラメータのみを表示する形式のものであってもよ
い。
The display circuit 15 displays various kinds of information such as the control state of the CPU 10 and the contents of setting parameters on the display unit 21, and displays, for example, a tone color name and an envelope shape. The display unit 21 is composed of a liquid crystal display panel (LCD), and its display operation is controlled by the display circuit 15. The display unit 21 may be of a format for displaying all the contents of the currently set parameters, or of a format for displaying only changed parameters.

【0020】音源回路16は、複数のチャンネルで楽音
信号の同時発生が可能であり、データ及びアドレスバス
18を経由して与えられた演奏情報(MIDI規格に準
拠したデータ)を入力し、このデータに基づき楽音信号
を発生する。音源回路16における楽音信号発生方式は
いかなるものを用いてもよい。例えば、発生すべき楽音
の音高に対応して変化するアドレスデータに応じて波形
メモリに記憶した楽音波形サンプル値データを順次読み
出すメモリ読み出し方式、又は上記アドレスデータを位
相角パラメータデータとして所定の周波数変調演算を実
行して楽音波形サンプル値データを求めるFM方式、あ
るいは上記アドレスデータを位相角パラメータデータと
して所定の振幅変調演算を実行して楽音波形サンプル値
データを求めるAM方式等の公知の方式を適宜採用して
もよい。音源回路16から発生された楽音信号は、図示
しないアンプ及びスピーカからなるサウンドシステム2
2を介して発音される。
The tone generator 16 is capable of simultaneously generating musical tone signals on a plurality of channels. The tone generator 16 receives data and performance information (data conforming to the MIDI standard) given via an address bus 18 and receives the data. The tone signal is generated based on Any tone signal generation method may be used in the tone generator 16. For example, a memory reading method for sequentially reading out musical tone waveform sample value data stored in a waveform memory according to address data that changes in accordance with the pitch of a musical tone to be generated, or a method in which the address data is used as phase angle parameter data at a predetermined frequency A known method such as an FM method for performing a modulation operation to obtain musical tone waveform sample value data, or an AM method for performing a predetermined amplitude modulation operation using the above address data as phase angle parameter data to obtain musical sound waveform sample value data. You may employ suitably. A tone signal generated from the tone generator 16 is transmitted to a sound system 2 including an amplifier and a speaker (not shown).
2 is pronounced.

【0021】タイマ17は自動演奏のテンポを設定する
ためのテンポクロックパルスを発生するものであり、こ
のテンポクロックパルスの周波数はパネルスイッチ20
上のテンポ設定スイッチ(図示せず)によって設定・調
整可能である。テンポクロックパルスはCPU10に対
してインタラプト命令として与えられ、CPU10はイ
ンタラプト処理により自動演奏処理を実行する。
The timer 17 generates a tempo clock pulse for setting the tempo of the automatic performance.
It can be set and adjusted by the upper tempo setting switch (not shown). The tempo clock pulse is given to the CPU 10 as an interrupt command, and the CPU 10 executes an automatic performance process by an interrupt process.

【0022】データ及びワーキングRAM12内には以
下のようなレジスタ群が準備され、後述の各種の処理で
使用されるようになっている。 RUN:パネルスイッチ20のスタート/ストップスイ
ッチ2Aの操作によって順次書き換えられる走行フラグ
であり、『1』の時に現在のモードが自動演奏モードで
あることを示し、『0』の時に停止状態であることを示
す。
The following register groups are prepared in the data and working RAM 12 and are used in various processes described later. RUN: A running flag which is sequentially rewritten by operating the start / stop switch 2A of the panel switch 20, when "1" indicates that the current mode is the automatic performance mode, and when "0", it is in the stopped state. Is shown.

【0023】COUNT:一小節内における演奏位置を
タイミングデータとして示すタイミングカウンタであ
る。 FILL:パネルスイッチ20のフィルインスイッチ2
Bの操作によって順次書き換えられるフィルインフラグ
であり、『1』の時にフィルインパターンによるフィル
イン演奏中であることを示し、『0』の時にノーマルパ
ターンによるノーマル演奏中であることを示す。 SYNC:パネルスイッチ20のシンクロスイッチ2C
の操作によって順次書き換えられるシンクロモードフラ
グであり、『1』の時にリタルダンドやアッチェレラン
ドのテンポ変化の開始を小節線タイミングに同期させて
行うことを示し、『0』の時にはこのような同期演奏を
行わないことを示す。
COUNT: a timing counter indicating the performance position within one bar as timing data. FILL: Fill-in switch 2 of panel switch 20
A fill-in flag that is sequentially rewritten by the operation of B. A value of "1" indicates that the fill-in performance is being performed by the fill-in pattern, and a value of "0" indicates that the normal performance is being performed by the normal pattern. SYNC: Sync switch 2C of panel switch 20
Is a synchro mode flag that is sequentially rewritten by the operation of "1", indicating that the start of tempo change of ritardando or accelerand is performed in synchronization with the bar line timing at "1", and such synchronized performance is performed at "0". Indicates no.

【0024】TMM:パネルスイッチ20のリタルダン
ドスイッチ2Dが操作された時に『1』がセットされ、
アッチェレランドスイッチ2Eが操作された時に『0』
がセットされるテンポモードスイッチであり、『1』時
に現在の演奏テンポモードがリタルダンドモードである
ことを示し、『0』の時に現在の演奏テンポモードがア
ッチェレランドモードであることを示す。 NEXT:シンクロモード(SYNC=1)の時にパネ
ルスイッチ20のリタルダンドスイッチ2Dが操作され
た時に『1』がセットされ、アッチェレランドスイッチ
2Eが操作された時に『2』がセットされ、これ以外で
は『0』がセットされるテンポモード変更フラグであ
る。このテンポモード変更フラグNEXTは、『1』の
時に次の小節線タイミングに同期して演奏テンポモード
をリタルダンドモードに変更することを示し、『0』の
時に次の小節線タイミングに同期して演奏テンポをアッ
チェレランドモードに変更することを示す。 TCC:リタルダンドモード又はアッチェレランドモー
ドに対応した時間を格納するテンポチェンジカウンタで
ある。このテンポチェンジカンウタTCCは『0』以外
の値を格納している時は演奏テンポモードがリタルダン
ドモード又はアッチェレランドモードであることを示
し、『0』を格納している時はテンポ変化を行わない通
常の演奏テンポモードであることを示すテンポモードフ
ラグとしても利用される。
TMM: "1" is set when the ritard switch 2D of the panel switch 20 is operated,
"0" when accelerando switch 2E is operated
Is set to "1", which indicates that the current performance tempo mode is the ritardando mode, and "0" indicates that the current performance tempo mode is the acceleland mode. NEXT: In the synchro mode (SYNC = 1), “1” is set when the retard switch 2D of the panel switch 20 is operated, “2” is set when the accelerand switch 2E is operated, and “0” otherwise. Is set in the tempo mode change flag. The tempo mode change flag NEXT indicates that the performance tempo mode is changed to the ritardando mode in synchronism with the next bar line timing when "1", and the performance is synchronized in synchronism with the next bar line timing when "0". Indicates that the tempo is changed to Accelerando mode. TCC: a tempo change counter for storing a time corresponding to the ritardand mode or the acceleland mode. When this tempo change counter TCC stores a value other than "0", it indicates that the performance tempo mode is the ritardando mode or the acceleland mode, and when "0" is stored, the tempo does not change. It is also used as a tempo mode flag indicating a normal performance tempo mode.

【0025】次に、マイクロコンピュータ(CPU1
0)によって実行される自動演奏装置の処理の一例を図
2から図9のフローチャートに基づいて説明する。図2
はマイクロコンピュータが処理するメインルーチンの一
例を示す図である。まず、電源が投入されると、CPU
10はプログラムROM11に格納されている制御プロ
グラムに応じた処理を開始する。「イニシャライズ」処
理では、データ及びワーキングRAM12内の各種レジ
スタ及びフラグ等を初期化する。所定の「イニシャライ
ズ」処理を行った後、スイッチ検出回路14をスキャン
してスイッチオンイベントの有無を検出して、イベント
有り(YES)の場合にはそのイベントに対応した「対
応スイッチ処理」を実行し、イベント無し(NO)の場
合には「その他の処理」を実行する。
Next, a microcomputer (CPU 1
An example of the processing performed by the automatic performance device according to step (0) will be described with reference to the flowcharts of FIGS. FIG.
FIG. 3 is a diagram showing an example of a main routine processed by a microcomputer. First, when the power is turned on, the CPU
10 starts processing according to the control program stored in the program ROM 11. In the “initialize” process, data and various registers and flags in the working RAM 12 are initialized. After performing a predetermined "initialization" process, the switch detection circuit 14 is scanned to detect the presence / absence of a switch-on event. If an event is present (YES), a "corresponding switch process" corresponding to the event is executed. If there is no event (NO), “other processing” is executed.

【0026】すなわち、スイッチ検出回路14をスキャ
ンした結果、特に、スタート/ストップスイッチ2A、
フィルインスイッチ2B、シンクロスイッチ2C、リタ
ルダンドスイッチ2D、アッチェレランドスイッチ2E
からスイッチイベントが発生したかどうかを検出し、ス
イッチイベントが検出された場合には、その検出された
スイッチイベントに対応した各種のイベント処理を実行
する。この「対応スイッチ処理」の一例は図3から図7
に示されている。「その他の処理」では、パネルスイッ
チ20におけるその他の操作子の操作に基づく処理や、
その他の音量変更や鍵盤19による演奏の処理等の種々
の処理が行われる。
That is, as a result of scanning the switch detection circuit 14, in particular, the start / stop switch 2A,
Fill-in switch 2B, Synchro switch 2C, Rital dand switch 2D, Accelerand switch 2E
It detects whether or not a switch event has occurred, and if a switch event is detected, executes various event processes corresponding to the detected switch event. An example of this “corresponding switch process” is shown in FIGS.
Is shown in In "other processing", processing based on the operation of other operators on the panel switch 20,
Various other processes, such as a change in volume and a process of playing on the keyboard 19, are performed.

【0027】図3は、図2の「対応スイッチ処理」の中
の一つの処理であり、スタート/ストップスイッチ2A
が操作された場合に行われる「スタート/ストップ処
理」の一例を示す図である。まず、「スタート/ストッ
プ処理」ではスタート/ストップスイッチ2Aの操作時
における走行フラグRUNの状態を判定し、その状態に
応じた処理を実行する。走行フラグRUNが『0』(Y
ES)の場合は、これ以前が自動演奏停止状態だったの
で、これからの自動演奏に備えてノーマルパターンの先
頭アドレスにポインタをセットする。そして、タイミン
グカウンタCOUNTをリセットし、走行フラグRUN
に『1』をセットしてリターンする。逆に、走行フラグ
RUNが『1』(NO)の場合は、これ以前が自動演奏
走行状態だったので、自動演奏を停止させるために走行
フラグRUNをリセットしてリターンする。
FIG. 3 shows one of the processes in the "corresponding switch process" of FIG.
It is a figure showing an example of “start / stop processing” performed when is operated. First, in "start / stop processing", the state of the traveling flag RUN at the time of operating the start / stop switch 2A is determined, and processing according to the state is executed. When the running flag RUN is "0" (Y
In the case of ES), since the automatic performance was stopped before this, the pointer is set to the head address of the normal pattern in preparation for the automatic performance. Then, the timing counter COUNT is reset, and the running flag RUN is set.
Is set to "1" and the routine returns. Conversely, if the running flag RUN is "1" (NO), the automatic performance running state was set before that, so the running flag RUN is reset to stop the automatic performance, and the routine returns.

【0028】図4は、図2の「対応スイッチ処理」の中
の一つの処理であり、フィルインスイッチ2Bが操作さ
れた場合に行われる「フィルイン処理」の一例を示す図
である。まず、「フィルイン処理」ではフィルインスイ
ッチ2Bの操作時におけるフィルインフラグFILLの
状態を判定し、その状態に応じた処理を実行する。フィ
ルインフラグFILLが『1』(YES)の場合は、フ
ィルインスイッチ2Bの操作前にフィルイン演奏を行っ
ていたことを意味するので、これから行うノーマル演奏
処理に備えて、タイミングカウンタCOUNTに基づき
ノーマルパターン中の現在位置(一小節内におけるタイ
ミング)をサーチし、その現在位置に対応したノーマル
パターンのアドレスをポインタにセットする。そして、
フィルインフラグFILLを『0』にリセットしてリタ
ーンする。すなわち、フィルイン演奏中にフィルインス
イッチ2Bが押された時はフィルイン演奏を直ちに停止
し、ノーマル演奏を行うようにしている。
FIG. 4 is a diagram showing one example of the “corresponding switch process” of FIG. 2 and an example of the “fill-in process” performed when the fill-in switch 2B is operated. First, in the “fill-in processing”, the state of the fill-in flag FILL when the fill-in switch 2B is operated is determined, and processing according to the state is executed. If the fill-in flag FILL is "1" (YES), it means that the fill-in performance was performed before the operation of the fill-in switch 2B, so that in preparation for the normal performance processing to be performed, the normal pattern is generated based on the timing counter COUNT. Is searched for (the timing within one bar), and the address of the normal pattern corresponding to the current position is set in the pointer. And
The fill-in flag FILL is reset to “0” and the process returns. That is, when the fill-in switch 2B is pressed during the fill-in performance, the fill-in performance is immediately stopped, and the normal performance is performed.

【0029】逆に、フィルインフラグFILLが『0』
(NO)の場合は、フィルインスイッチ2Bの操作前に
ノーマル演奏を行っていたことを意味するので、これか
ら行うフィルイン演奏処理に備えて、タイミングカウン
タCOUNTに基づきフィルインパターン中の現在位置
(一小節内におけるタイミング)をサーチし、その現在
位置に対応したフィルインパターンのアドレスをポイン
タにセットする。そして、フィルインフラグFILLを
『1』にセットしてリターンする。
Conversely, the fill-in flag FILL is set to "0".
In the case of (NO), it means that the normal performance was performed before the operation of the fill-in switch 2B. Therefore, in preparation for the next fill-in performance processing, the current position (in one bar) in the fill-in pattern is determined based on the timing counter COUNT. ), And the address of the fill-in pattern corresponding to the current position is set in the pointer. Then, the fill-in flag FILL is set to "1" and the routine returns.

【0030】図5は、図2の「対応スイッチ処理」の中
の一つの処理であり、シンクロスイッチ2Cが操作され
た場合に行われる「シンクロ処理」の一例を示す図であ
る。この「シンクロ処理」では、シンクロスイッチ2C
の操作毎にシンクロモードフラグSYNCを反転する。
FIG. 5 shows one example of the "corresponding switch process" of FIG. 2, and shows an example of the "sync process" performed when the sync switch 2C is operated. In this “sync processing”, the sync switch 2C
The sync mode flag SYNC is inverted every time the operation is performed.

【0031】図6は、図2の「対応スイッチ処理」の中
の一つの処理であり、リタルダンドスイッチ2Dが操作
された場合に行われる「リタルダンド処理」の一例を示
す図である。まず、「リタルダンド処理」ではリタルダ
ンドスイッチ2Dの操作時におけるシンクロモードフラ
グSYNCの状態を判定し、その状態に応じた処理を実
行する。シンクロモードフラグSYNCが『0』(N
O)の場合は、シンクロ演奏を行わないことを意味する
ので、テンポチェンジカウンタTCCにリタルダンド演
奏時間に相当する所定値(例えば、2小節分の値)をセ
ットする。そして、これ以降のテンポモードがリタルダ
ンドモードであることを示すためにテンポモードフラグ
TMMに『1』をセットする。次のア・テンポ処理に備
えてリタルダンドスイッチ2Dの操作時におけるテンポ
現在値を記憶してリターンする。逆に、シンクロモード
フラグSYNCが『1』(YES)の場合は、次の小節
線タイミングに同期させて演奏テンポモードをリタルダ
ンドモードに変更するためにテンポモード変更フラグN
EXTに『1』をセットしてリターンする。
FIG. 6 shows one example of the "corresponding switch process" of FIG. 2, and is an example of the "ritard process" performed when the ritard switch 2D is operated. First, in the “retarding process”, the state of the synchro mode flag SYNC at the time of operating the retard switch 2D is determined, and a process corresponding to the state is executed. When the sync mode flag SYNC is "0" (N
In the case of O), which means that the synchronized performance is not performed, a predetermined value (for example, a value for two measures) corresponding to the ritardando performance time is set in the tempo change counter TCC. Then, the tempo mode flag TMM is set to "1" to indicate that the subsequent tempo mode is the ritard mode. In preparation for the next a-tempo processing, the current tempo value at the time of operating the ritard switch 2D is stored and the routine returns. Conversely, if the sync mode flag SYNC is "1" (YES), the tempo mode change flag N is changed to change the performance tempo mode to the ritard mode in synchronization with the next bar line timing.
EXT is set to "1" and the routine returns.

【0032】図7は、図2の「対応スイッチ処理」の中
の一つの処理であり、アッチェレランドスイッチ2Eが
操作された場合に行われる「アッチェレランド処理」の
一例を示す図である。まず、「アッチェレランド処理」
ではアッチェレランドスイッチ2Eの操作時におけるシ
ンクロモードフラグSYNCの状態を判定し、その状態
に応じた処理を実行する。シンクロモードフラグSYN
Cが『0』(NO)の場合は、シンクロ演奏を行わない
ことを意味するので、テンポチェンジカウンタTCCに
アッチェレランド演奏時間に相当する所定値(例えば2
小節分の値)をセットする。これ以降のテンポモードが
アッチェレランドモードであることを示すためにテンポ
モードフラグTMMに『0』をセットする。次のア・テ
ンポ処理に備えてアッチェレランドスイッチ2Eの操作
時におけるテンポ現在値を記憶してリターンする。逆
に、シンクロモードフラグSYNCが『1』(YES)
の場合は、次の小節線タイミングに同期させて演奏テン
ポモードをアッチェレランドモードに変更するためにテ
ンポモード変更フラグNEXTに『2』をセットしてリ
ターンする。
FIG. 7 is a diagram showing one example of the "corresponding switch process" of FIG. 2, and is an example of the "accelerand process" performed when the acceler land switch 2E is operated. First, "Acchelerland processing"
In the state, the state of the synchro mode flag SYNC at the time of operating the acceler land switch 2E is determined, and a process corresponding to the state is executed. Synchro mode flag SYN
When C is "0" (NO), it means that the synchronized performance is not performed, so that the tempo change counter TCC stores a predetermined value (for example, 2) corresponding to the acceleland performance time.
Set the value for the bar). The tempo mode flag TMM is set to "0" to indicate that the subsequent tempo mode is the acceleland mode. In preparation for the next a-tempo processing, the current tempo value at the time of operating the accelerland switch 2E is stored and the routine returns. Conversely, the synchronization mode flag SYNC is set to “1” (YES)
In the case of, the tempo mode change flag NEXT is set to "2" to change the performance tempo mode to the acceleland mode in synchronization with the next bar line timing, and the routine returns.

【0033】図8及び図9は、タイマ17からのインタ
ラプト命令(テンポクロック)によってCPU10が実
行する「タイマインタラプト処理」の詳細を示す図であ
る。この「タイマインタラプト処理」では、まず走行レ
ジスタRUNが『1』か否かを判定し、『1』(YE
S)の場合にのみインタラプト処理を実行し、『0』
(NO)の場合には直ちにリターンする。以下、各ステ
ップの内容について説明する。
FIGS. 8 and 9 are diagrams showing the details of the "timer interrupt processing" executed by the CPU 10 in response to an interrupt instruction (tempo clock) from the timer 17. FIG. In this “timer interrupt processing”, first, it is determined whether or not the running register RUN is “1”, and “1” (YE
Only in the case of S), the interrupt processing is executed and "0"
In the case of (NO), it returns immediately. Hereinafter, the contents of each step will be described.

【0034】ステップ31:走行フラグRUNが『1』
か否か、すなわち自動演奏モードであるか否かを判定
し、YESの場合は次のステップ32に進み、NOの場
合はリターンする。 ステップ32:タイミングカウンタCOUNTに格納さ
れているタイミング値に基づいてROM11から伴奏パ
ターンデータを読み出して音源回路16に出力する。 ステップ33:テンポチェンジカウンタTCCに格納さ
れている値が『0』か否かを判定し、『0』(YES)
の場合は現在のテンポモードがテンポ変更処理を行わな
い通常のテンポモードであることを意味するのでステッ
プ34〜37の処理を省略するためにステップ38にジ
ャンプし、『0』以外の値の場合は現在のテンポモード
がテンポ変更モードなので、テンポ変更モードに対応し
た処理を行うために次のステップに進む。
Step 31: Running flag RUN is "1"
It is determined whether or not the automatic performance mode is set. If YES, the process proceeds to the next step 32, and if NO, the process returns. Step 32: The accompaniment pattern data is read from the ROM 11 based on the timing value stored in the timing counter COUNT and output to the tone generator circuit 16. Step 33: It is determined whether or not the value stored in the tempo change counter TCC is "0", and "0" (YES)
In the case of, it means that the current tempo mode is the normal tempo mode in which the tempo change process is not performed, so that the process jumps to step 38 in order to omit the processes of steps 34 to 37, and when the value is other than "0". Since the current tempo mode is the tempo change mode, the process proceeds to the next step to perform processing corresponding to the tempo change mode.

【0035】ステップ34:前のステップ33でテンポ
チェンジカウンタTCCが『0』以外の値と判定された
ので、ここではテンポチェンジカウンタTCCを1だけ
デクリメント処理する。 ステップ35:テンポモードフラグTMMに格納されて
いる値が『1』か否かを判定し、『1』(YES)の場
合はステップ36に進み、『0』(NO)の場合はステ
ップ37に進む。
Step 34: Since the tempo change counter TCC is determined to be a value other than "0" in the previous step 33, the tempo change counter TCC is decremented by one here. Step 35: It is determined whether or not the value stored in the tempo mode flag TMM is "1". If the value is "1" (YES), the process proceeds to Step 36. If the value is "0" (NO), the process proceeds to Step 37. move on.

【0036】ステップ36:テンポモードフラグTMM
に格納されている値が『1』なので、テンポを所定値ダ
ウンさせるリタルダンド処理を行う。 ステップ37:テンポモードフラグTMMに格納されて
いる値が『0』なので、テンポを所定値アップさせるア
ッチェレランド処理を行う。
Step 36: Tempo mode flag TMM
Since the value stored in is "1", the ritardund process for lowering the tempo by a predetermined value is performed. Step 37: Since the value stored in the tempo mode flag TMM is "0", an accelerand process for increasing the tempo by a predetermined value is performed.

【0037】ステップ38:タイミングカウンタCOU
NTに格納されている値が一小節分の時間に対応する最
大値MAXと等しいかどうか、すなわち四分音符が24
のカウント値に相当し、演奏曲の拍子が4/4の場合に
はタイミングカウンタCOUNTの値が最大値MAX=
95であるかどうか、また拍子が3/4の場合にはタイ
ミングカウンタCOUNTの値が最大値MAX=71で
あるかどうかを判定し、等しくない(NO)場合はステ
ップ39に進み、等しい(YES)場合はステップ40
に進む。つまり、ここでYESと判断された場合は小節
線タイミングであることを意味する。 ステップ39:タイミングカウンタCOUNTに格納さ
れている値が最大値ではなかったので、ここではタイミ
ングカウンタCOUNTの値を1だけインクリメント処
理して、リターンする。
Step 38: Timing counter COU
Whether the value stored in NT is equal to the maximum value MAX corresponding to the time for one bar, that is, if the quarter note is 24
When the time signature of the music piece is 4/4, the value of the timing counter COUNT is set to the maximum value MAX =
95, and if the time signature is 3/4, it is determined whether the value of the timing counter COUNT is the maximum value MAX = 71. If they are not equal (NO), the process proceeds to step 39 and is equal (YES). ) If step 40
Proceed to. That is, if YES is determined here, it means the bar timing. Step 39: Since the value stored in the timing counter COUNT is not the maximum value, here, the value of the timing counter COUNT is incremented by 1 and the process returns.

【0038】ステップ40:フィルインフラグFILL
に格納されるている値が『1』か否かを判定し、『1』
(YES)の場合は次のステップ41に進み、『0』
(NO)の場合は結合子Aを介して図9のステップ45
にジャンプする。 ステップ41:フィルインフラグFILLをリセットす
る。
Step 40: Fill-in flag FILL
It is determined whether the value stored in is “1” or not, and “1”
In the case of (YES), the process proceeds to the next step 41, where "0" is set.
In the case of (NO), step 45 in FIG.
Jump to Step 41: reset the fill-in flag FILL.

【0039】ステップ42:テンポチェンジカウンタT
CCに格納されている値が『0』か否かを判定し、
『0』(YES)の場合はテンポ変更処理が終了した直
後か又は現在のテンポモードがテンポ変更処理を行わな
い通常のテンポモードであることを意味するのでステッ
プ43,44の処理を省略するために結合子Aを介して
図9のステップ45にジャンプし、『0』以外の値(N
O)の場合は現在のタイミングが小節線に対応し、現在
のテンポモードがテンポ変更モードなので、テンポ変更
モードを中止し、元のテンポに復帰するために次のステ
ップ43に進む。
Step 42: Tempo change counter T
Determine whether the value stored in CC is "0",
In the case of “0” (YES), it means that the tempo change process is completed immediately or that the current tempo mode is a normal tempo mode in which the tempo change process is not performed. Jumps to the step 45 in FIG. 9 through the connector A, and outputs a value other than “0” (N
In the case of O), since the current timing corresponds to the bar line and the current tempo mode is the tempo change mode, the process goes to the next step 43 to stop the tempo change mode and return to the original tempo.

【0040】ステップ43:テンポ変更モードに入る前
に予め記憶していた演奏テンポに現在の演奏テンポを復
帰する。 ステップ44:テンポチェンジカウンタTCCをリセッ
トし、これ以降は通常のテンポモードであることを示
す。
Step 43: Before entering the tempo change mode, the current performance tempo is returned to the previously stored performance tempo. Step 44: Reset the tempo change counter TCC to indicate that it is the normal tempo mode thereafter.

【0041】ステップ45:テンポモード変更フラグN
EXTが『0』であるか否かを判定し、『0』(YE
S)の場合はステップ52にジャンプし、そうでない
『1』又は『2』(NO)の場合は、次のステップ46
に進む。 ステップ46:テンポチェンジカウンタTCCにテンポ
を変更する時間(例えば、2小節分の値)を所定値とし
てセットする。
Step 45: Tempo mode change flag N
It is determined whether or not EXT is “0”, and “0” (YE
In the case of S), the process jumps to step 52; otherwise, in the case of "1" or "2" (NO), the next step 46
Proceed to. Step 46: The time for changing the tempo (for example, a value for two measures) is set as a predetermined value in the tempo change counter TCC.

【0042】ステップ47:今度はテンポモード変更フ
ラグNEXTが『1』であるか否かを判定し、『1』
(YES)の場合はステップ48に進み、そうでない
『2』(NO)の場合はステップ49に進む。 ステップ48:テンポモードフラグTMMに『1』をセ
ットし、これ以降のテンポモードがリタルダンドモード
であることを示す。 ステップ49:テンポモードフラグTMMを『0』にリ
セットし、これ以降のテンポモードがアッチェレランド
モードであることを示す。
Step 47: This time, it is determined whether or not the tempo mode change flag NEXT is "1".
In the case of (YES), the process proceeds to step 48; otherwise, the process proceeds to step 49 in the case of "2" (NO). Step 48: Set "1" to the tempo mode flag TMM to indicate that the subsequent tempo mode is the ritard mode. Step 49: Reset the tempo mode flag TMM to "0" to indicate that the tempo mode thereafter is the acceleland mode.

【0043】ステップ50:テンポモード変更フラグN
EXTを『0』にリセットする。 ステップ51:次のア・テンポ処理に備えて、テンポ現
在値すなわちテンポ変更処理に入る直前のテンポを記憶
する。 ステップ52:ノーマルパターンの先頭にポインタをセ
ットする。すなわち、この実施例においては、伴奏パタ
ーンは1小節分のパターンとしており、小節線タイミン
グ毎に先頭に戻すようにしている。 ステップ53:タイミングカウンタCOUNTを『0』
にリセットする。
Step 50: tempo mode change flag N
EXT is reset to “0”. Step 51: The current tempo value, that is, the tempo immediately before the start of the tempo change process is stored in preparation for the next a-tempo process. Step 52: Set a pointer at the head of the normal pattern. That is, in this embodiment, the accompaniment pattern is a pattern for one measure, and is returned to the beginning at each measure line timing. Step 53: Set the timing counter COUNT to "0"
Reset to.

【0044】次にこの発明の動作例を図10から図14
を用いて説明する。図10は、小節線タイミングの発生
時刻t1以後の時刻tfでフィルインスイッチ2Bが操
作された場合の小節線タイミングとテンポとの関係を示
す図である。時刻tfでフィルインスイッチ2Bが操作
されるまでは、電子楽器はタイマインタラプト処理にて
図8及び図9のステップ31〜33,38〜40,4
5,52,53を繰り返してノーマルパターンによるノ
ーマル演奏を実行している。
Next, operation examples of the present invention will be described with reference to FIGS.
This will be described with reference to FIG. FIG. 10 is a diagram showing the relationship between the bar line timing and the tempo when the fill-in switch 2B is operated at time tf after the bar line timing generation time t1. Until the fill-in switch 2B is operated at the time tf, the electronic musical instrument performs steps 31 to 33, 38 to 40, and 4 in FIGS.
5, 52 and 53 are repeated to execute a normal performance with a normal pattern.

【0045】時刻tfでフィルインスイッチ2Bが操作
されると図4のフィルイン処理が実行され、フィルイン
スイッチ2Bの操作時点tf(現在位置)に対応したフ
ィルインパターンのアドレスがポインタにセットされ
る。時刻tfから時刻t2に達するまでの間、タイマイ
ンタラプト処理にて図8及び図9のステップ31〜3
3,38,39を繰り返しながら、フィルインパターン
によるフィルイン演奏を行う。時刻t2に達した時点
で、ステップ31〜33,38,40〜42,45,5
2,53を実行し、これ以降のフィルイン演奏を中止
し、時刻t2の小節線タイミング以降は再びステップ3
1〜33,38〜40,45,52,53を繰り返して
ノーマルパターンによるノーマル演奏を実行する。
When the fill-in switch 2B is operated at time tf, the fill-in processing shown in FIG. 4 is executed, and the address of the fill-in pattern corresponding to the operation time tf (current position) of the fill-in switch 2B is set in the pointer. During a period from time tf to time t2, steps 31 to 3 in FIGS.
While repeating 3, 38, and 39, a fill-in performance is performed using the fill-in pattern. When the time t2 is reached, steps 31 to 33, 38, 40 to 42, 45, 5
Steps 2 and 53 are executed, and the subsequent fill-in performance is stopped. After the bar timing at time t2, step 3 is performed again.
1 to 33, 38 to 40, 45, 52, and 53 are repeated to execute a normal performance with a normal pattern.

【0046】図11は、シンクロモードフラグSYNC
が『0』で、小節線タイミングの発生時刻t1以前の時
刻trでリタルダンドスイッチ2Dが操作され、時刻t
1より後の時刻tfでフィルインスイッチ2Bが操作さ
れた場合の小節線タイミングとテンポとの関係を示す図
である。図11において、時刻trでリタルダンドスイ
ッチ2Dが操作されるまでは、電子楽器はタイマインタ
ラプト処理にて図8及び図9のステップ31〜33,3
8〜40,45,52,53を繰り返してノーマルパタ
ーンによるノーマル演奏を実行している。
FIG. 11 shows a sync mode flag SYNC.
Is "0", the retard switch 2D is operated at a time tr before the bar line timing occurrence time t1, and the time t
FIG. 14 is a diagram showing a relationship between a bar timing and a tempo when the fill-in switch 2B is operated at a time tf after 1; In FIG. 11, until the ritard switch 2D is operated at the time tr, the electronic musical instrument performs steps 31 to 33, 3 in FIGS.
8 to 40, 45, 52 and 53 are repeated to execute a normal performance according to a normal pattern.

【0047】時刻trでリタルダンドスイッチ2Dが操
作されると図6のリタルダンド処理が実行される。な
お、シンクロモードフラグSYNCは『0』なので、リ
タルダンド処理ではテンポチェンジカウンタTCCに2
小節分の値がセットされ、テンポモードフラグTMMに
は『1』がセットされ、時刻trにおけるテンポ現在値
が記憶される。時刻trから時刻tfまでの間は、タイ
マインタラプト処理にて図8及び図9のステップ31〜
36,38〜40,45,52,53を繰り返し実行
し、ノーマルパターンによるノーマル演奏とリタルダン
ド処理を行う。
When the retard switch 2D is operated at the time tr, the retard process shown in FIG. 6 is executed. Since the synchro mode flag SYNC is “0”, the tempo change counter TCC is set to 2 in the retard processing.
The value of the bar is set, the tempo mode flag TMM is set to "1", and the current tempo value at the time tr is stored. During the period from time tr to time tf, the timer interrupt process is performed in steps 31 to 31 of FIGS.
36, 38 to 40, 45, 52, and 53 are repeatedly executed to perform a normal performance and a ritard-and-ditch process using a normal pattern.

【0048】時刻tfでフィルインスイッチ2Bが操作
されると図4のフィルイン処理が実行され、フィルイン
スイッチ2Bの操作時点tf(現在位置)に対応したフ
ィルインパターンのアドレスがポインタにセットされ
る。時刻tfから時刻t2までは、ステップ31〜3
6,38,39を実行し、リタルダンド処理とフィルイ
ン演奏とを並行して行う。そして、時刻t2に達した時
点で、ステップ40〜45,52,53を実行し、フィ
ルイン演奏及びリタルダンド処理を終了させ、リタルダ
ンド処理前の演奏テンポに復帰する。時刻t2の小節線
タイミング以降はステップ31〜33,38〜40,4
5,52,53を繰り返してノーマルパターンによるノ
ーマル演奏を実行する。
When the fill-in switch 2B is operated at time tf, the fill-in process shown in FIG. 4 is executed, and the address of the fill-in pattern corresponding to the operation time tf (current position) of the fill-in switch 2B is set in the pointer. Steps 31 to 3 are performed from time tf to time t2.
6, 38, and 39 are performed, and the ritardand processing and the fill-in performance are performed in parallel. Then, when the time t2 is reached, steps 40 to 45, 52 and 53 are executed to terminate the fill-in performance and the ritard-and-play process and return to the performance tempo before the ritand-and-process. After the bar timing at time t2, steps 31 to 33, 38 to 40, 4
5, 52 and 53 are repeated to execute a normal performance with a normal pattern.

【0049】図12は、シンクロモードフラグSYNC
が『0』で、時刻tfでフィルインスイッチ2Bが操作
され、その後の時刻trでリタルダンドスイッチ2Dが
操作された場合の小節線タイミングとテンポとの関係を
示す図である。時刻tfでフィルインスイッチ2Bが操
作されるまでは、電子楽器はタイマインタラプト処理に
て図8及び図9のステップ31〜33,38〜40,4
5,52,53を繰り返してノーマルパターンによるノ
ーマル演奏を実行している。
FIG. 12 shows a sync mode flag SYNC.
Is a diagram showing the relationship between the bar timing and the tempo when the fill-in switch 2B is operated at time tf and the ritard switch 2D is operated at time tr thereafter. Until the fill-in switch 2B is operated at the time tf, the electronic musical instrument performs steps 31 to 33, 38 to 40, and 4 in FIGS.
5, 52 and 53 are repeated to execute a normal performance with a normal pattern.

【0050】時刻tfでフィルインスイッチ2Bが操作
されると図4のフィルイン処理が実行され、フィルイン
スイッチ2Bの操作時点tf(現在位置)に対応したフ
ィルインパターンのアドレスがポインタにセットされ
る。時刻tfから時刻trまでの間は、タイマインタラ
プト処理にて図8及び図9のステップ31〜33,3
8,39を繰り返してフィルインパターンによるフィル
イン演奏を実行する。時刻trでリタルダンドスイッチ
2Dが操作されると図6のリタルダンド処理が実行され
る。なお、シンクロモードフラグSYNCは『0』なの
で、リタルダンド処理ではテンポチェンジカウンタTC
Cに2小節分の値がセットされ、テンポモードフラグT
MMには『1』がセットされ、時刻trにおけるテンポ
現在値が記憶される。
When the fill-in switch 2B is operated at time tf, the fill-in process shown in FIG. 4 is executed, and the address of the fill-in pattern corresponding to the operation time tf (current position) of the fill-in switch 2B is set in the pointer. During the period from time tf to time tr, the timer interrupt process is performed in steps 31 to 33, 3 of FIGS.
Steps 8 and 39 are repeated to execute a fill-in performance based on the fill-in pattern. When the retard switch 2D is operated at the time tr, the retard process of FIG. 6 is executed. Since the synchro mode flag SYNC is "0", the tempo change counter TC
The value of two measures is set in C, and the tempo mode flag T
“1” is set in MM, and the current tempo value at time tr is stored.

【0051】時刻trから時刻t2までは、ステップ3
1〜36,38,39を繰り返して、リタルダンド処理
とフィルイン演奏とを並行して行う。そして、時刻t2
に達した時点で、ステップ40〜45,52,53を実
行し、フィルイン演奏及びリタルダンド処理を終了さ
せ、リタルダンド処理前の演奏テンポに復帰する。時刻
t2の小節線タイミング以降はステップ31〜33,3
8〜40,45,52,53を繰り返してノーマルパタ
ーンによるノーマル演奏を実行する。
From time tr to time t2, step 3
The ritardand processing and the fill-in performance are performed in parallel by repeating steps 1 to 36, 38, and 39. Then, at time t2
Are reached, the steps 40 to 45, 52, and 53 are executed to terminate the fill-in performance and the ritard-and-play process, and return to the performance tempo before the ritard-and-play process. After the bar timing at time t2, steps 31 to 33, 3
8 to 40, 45, 52 and 53 are repeated to execute a normal performance according to a normal pattern.

【0052】図13は、シンクロモードフラグSYNC
が『1』で、小節線タイミングの発生時刻t1以前の時
刻trでリタルダンドスイッチ2Dが操作され、その後
の時刻tfでフィルインスイッチ2Bが操作された場合
の小節線タイミングとテンポとの関係を示す図である。
時刻trでリタルダンドスイッチ2Dが操作されるまで
は、電子楽器はタイマインタラプト処理にて図8及び図
9のステップ31〜33,38〜40,45,52,5
3を繰り返してノーマルパターンによるノーマル演奏を
実行している。
FIG. 13 shows a sync mode flag SYNC.
Is a diagram showing the relationship between bar line timing and tempo when the ritard switch 2D is operated at time tr before the bar line timing generation time t1 and the fill-in switch 2B is operated at time tf thereafter. It is.
Until the retard switch 2D is operated at the time tr, the electronic musical instrument performs steps 31 to 33, 38 to 40, 45, 52, and 5 in FIGS.
3 is repeated to execute a normal performance with a normal pattern.

【0053】時刻trでリタルダンドスイッチ2Dが操
作されると図6のリタルダンド処理が実行される。な
お、シンクロモードフラグSYNCは『1』なので、リ
タルダンド処理ではテンポモード変更フラグNEXTに
『1』をセットするだけである。時刻trから時刻t1
までは、タイマインタラプト処理にてステップ31〜3
3,38,39を繰り返してノーマルパターンによるノ
ーマル演奏を実行する。時刻t1に達した時点でタイマ
インタラプト処理にてステップ38,40,45〜4
8,50〜53を実行する。時刻t1から時刻tfまで
は、ステップ31〜36,38,39を繰り返して、ノ
ーマルパターンによるノーマル演奏とリタルダンド処理
とを並行して行う。
When the ritard switch 2D is operated at the time tr, the ritard process shown in FIG. 6 is executed. Since the synchro mode flag SYNC is “1”, the retard processing simply sets the tempo mode change flag NEXT to “1”. From time tr to time t1
Up to steps 31 to 3 in the timer interrupt processing.
The normal performance with the normal pattern is executed by repeating steps 3, 38 and 39. When the time t1 is reached, steps 38, 40, 45 to 4 are executed by the timer interrupt processing.
8. Perform steps 50-53. From time t1 to time tf, steps 31 to 36, 38, and 39 are repeated, and the normal performance using the normal pattern and the ritard processing are performed in parallel.

【0054】時刻tfでフィルインスイッチ2Bが操作
されると図4のフィルイン処理が実行され、フィルイン
スイッチ2Bの操作時点tf(現在位置)に対応したフ
ィルインパターンのアドレスがポインタにセットされ
る。時刻tfから時刻t2までは、ステップ31〜3
6,38,39を実行し、フィルインパターンによるフ
ィルイン演奏とリタルダンド処理とを並行して行う。時
刻t2に達した時点で、ステップ40〜45,52,5
3を実行し、フィルイン演奏及びリタルダンド処理を終
了させ、リタルダンド処理前の演奏テンポに復帰させ
る。時刻t2の小節線タイミング以降はステップ31〜
33,38〜40,45,52,53を繰り返してノー
マルパターンによるノーマル演奏を実行する。
When the fill-in switch 2B is operated at time tf, the fill-in processing shown in FIG. 4 is executed, and the address of the fill-in pattern corresponding to the operation time tf (current position) of the fill-in switch 2B is set in the pointer. Steps 31 to 3 are performed from time tf to time t2.
Steps 6, 38 and 39 are executed, and the fill-in performance by the fill-in pattern and the ritard processing are performed in parallel. When the time t2 is reached, steps 40 to 45, 52, 5
Step 3 is executed to end the fill-in performance and the ritard-and-play process and return to the performance tempo before the ritard-and-play process. After the bar line timing at time t2, steps 31 to
33, 38 to 40, 45, 52 and 53 are repeated to execute a normal performance according to a normal pattern.

【0055】図14は、シンクロモードフラグSYNC
が『0』で、小節線タイミングの発生時刻t1以前の時
刻trsでリタルダンドスイッチ2Dが操作された場合
の小節線タイミングとテンポとの関係を示す図である。
時刻trでリタルダンドスイッチ2Dが操作されるまで
は、電子楽器はタイマインタラプト処理にてステップ3
1〜33,38〜40,45,52,53を繰り返して
ノーマルパターンによるノーマル演奏を実行している。
FIG. 14 shows the sync mode flag SYNC.
Is a diagram showing the relationship between bar line timing and tempo when the ritard switch 2D is operated at a time trs before the bar line timing generation time t1.
Until the retard switch 2D is operated at the time tr, the electronic musical instrument performs the timer interrupt processing in step 3
1 to 33, 38 to 40, 45, 52 and 53 are repeated to execute a normal performance according to a normal pattern.

【0056】時刻trsでリタルダンドスイッチ2Dが
操作されると図6のリタルダンド処理が実行される。な
お、シンクロモードフラグSYNCは『0』なので、リ
タルダンド処理ではテンポチェンジカウンタTCCに2
小節分の値をセットし、テンポモードフラグTMMに
『1』をセットし、時刻trsにおけるテンポ現在値を
記憶する。時刻trsから時刻treまでは、タイマイ
ンタラプト処理にてステップ31〜36,38〜40,
45,52,53を繰り返してリタルダンド処理を行
う。2小節分のリタルダンド処理が終了した時刻tre
では、テンポチェンジカウンタTCCの値が『0』にな
るので、ステップ34〜37は実行されなくなり、リタ
ルダンド処理は終了する。そして、時刻tre以降はス
テップ31〜33,38〜40,45,52,53を繰
り返してノーマルパターンによるノーマル演奏をリタル
ダンド処理終了時の演奏テンポで実行する。
When the retard switch 2D is operated at the time trs, the ritard process shown in FIG. 6 is executed. Since the synchro mode flag SYNC is “0”, the tempo change counter TCC is set to 2 in the retard processing.
The value for the bar is set, the tempo mode flag TMM is set to "1", and the current tempo value at the time trs is stored. From time trs to time tr, steps 31 to 36, 38 to 40,
45, 52, and 53 are repeated to perform the ritardando processing. Time tre when the ritardando processing for two measures ends
Then, since the value of the tempo change counter TCC becomes "0", steps 34 to 37 are not executed, and the ritard-done processing ends. Then, after time tre, steps 31 to 33, 38 to 40, 45, 52, and 53 are repeated to execute a normal performance according to the normal pattern at the performance tempo at the end of the ritard processing.

【0057】上述の実施例では図8のステップ34〜3
7に示すように、リタルダンド処理(テンポダウン処
理)やアッチェレランド処理(テンポアップ処理)をタ
イマインタラプト処理毎(自動演奏の最小分解能毎)に
行っているが、もっとあらいタイミングでテンポを変更
してもよい。すなわち、ステップ34のデクリメンタル
処理を複数回行う毎にステップ35〜37の処理を行う
ようにする。また、上述の実施例では、フィルインやリ
タルダンド処理等の指示をマニュアル操作にてリアルタ
イムに指示する場合について説明したが、これに限らず
シーケンサ等にこれらの指示データを記憶させておき、
自動的にフィルインを行ったり、リタルダンド処理等を
行うようにしてもよい。
In the above embodiment, steps 34 to 3 in FIG.
As shown in FIG. 7, the ritardando processing (tempo-down processing) and the accelerando processing (tempo-up processing) are performed for each timer interrupt processing (for each minimum resolution of automatic performance). Good. That is, each time the decremental process of step 34 is performed a plurality of times, the processes of steps 35 to 37 are performed. Further, in the above-described embodiment, a case has been described in which instructions such as fill-in and ritard processing are instructed in real time by manual operation.However, the present invention is not limited to this.
Fill-in may be performed automatically, or ritard processing may be performed.

【0058】 以上のように、上述の実施例では、ステ
ップ42〜44の処理によって、フィルイン演奏がリタ
ルダンド処理又はアッチェレランド処理の途中で終了し
た場合だけテンポ復帰処理を行い、フィルイン演奏の途
中でリタルダンド処理又はアッチェレランド処理が終了
した場合には行わないようになっている。すなわち、図
15に示すように、例えば、シンクロモードフラグSY
NCが『0』で、時刻trsでリタルダンドスイッチ2
Dが操作され、その後の時刻tfでフィルインスイッチ
2Bが操作され、その後の小節線タイミングの発生時刻
t3以前の時刻treで2小節分のリタルダンド処理が
終了した場合にはテンポ復帰処理を行わないようになっ
ているまた、リタルダンド処理及びアッチェレランド
処理等のように演奏テンポを変化させるテンポ変化処理
と、フィルイン演奏等のように演奏パターンをノーマル
パターンからサブパターンに変更させるパターン変更処
理とを全く同期させないで別々に実行することができる
ように選択可能な非同期選択スイッチを更に設けてもよ
い。
[0058] As described above, in the above embodiment, the processing of steps 42 to 44, performed only tempo restoration process if the fill-play is completed in the middle of rit processing or accelerando process, rit treatment during the fill-performance Alternatively, it is not performed when the accelerand processing is completed. That is, for example, as shown in FIG.
NC is “0” and the ritard switch 2 at time trs
If the D is operated, the fill-in switch 2B is operated at the subsequent time tf, and the ritardando processing for two measures is completed at the time tr before the time t3 at which the subsequent bar line timing occurs, the tempo return processing is not performed. It has become . Also, the tempo change processing for changing the performance tempo such as ritardand processing and acceleland processing and the pattern change processing for changing the performance pattern from a normal pattern to a sub-pattern such as fill-in performance are executed separately without any synchronization. A selectable asynchronous selection switch may be further provided to enable the selection.

【0059】[0059]

【発明の効果】 以上のようにこの発明によれば、リタ
ルダンド処理やアッチェレランド処理等のように演奏テ
ンポを変化させるテンポ変化処理と、フィルイン演奏等
のように演奏パターンをノーマルパターンからサブパタ
ーンに変更させるパターン変更処理とをそれぞれ別々に
実行することも、また同期させて実行することもできる
という効果がある。また、テンポ信号の速さを変化処理
前の元のテンポ信号の速さに戻す処理(テンポ復帰処
理)を、サブパターンの演奏終了時に同期して必ず行う
わけではなく、サブパターンの演奏終了時においてテン
ポ変化制御が終了しているか否かに応じて、自動的に行
うようにしているので、テンポ変化処理をパターン変更
処理に自動的に同期させることができる一方で、演奏者
の操作意図を優先したテンポ変化制御を自動的に行うこ
とができるという優れた効果を奏する。すなわち、サブ
パターンの演奏終了前にテンポ変化制御が終了している
場合は、既に安定状態となっている現状のテンポが、テ
ンポ変化指示手段の操作によって演奏者が意図した望み
のテンポであるとみなし、この安定した現状のテンポ
を、無理に、変化処理前の元のテンポに戻すことをしな
いように構成してある。これによって、演奏者は、テン
ポ変化制御がサブパターン変更制御に連動していること
を必要以上に気にすることなく、テンポ変化制御(リタ
ルダンド処理やアッチェレランド処理等)を気楽に利用
することができる。また、これによって、演奏表現範囲
を拡張することもできる。
As described above, according to the present invention, tempo change processing for changing the performance tempo such as ritardando processing or accelerand processing, and performance pattern change from a normal pattern to a sub-pattern such as fill-in performance There is an effect that the pattern changing process to be performed can be executed separately or in synchronization. Also changes the speed of the tempo signal
Processing to return to the speed of the previous tempo signal (tempo return processing
Is performed at the end of the performance of the sub-pattern
This does not mean that the temp
Automatically depending on whether or not the
The tempo change process to change the pattern
Performer can be automatically synchronized with the process
Automatic tempo change control that prioritizes
It has an excellent effect that it can be performed. That is, the sub
Tempo change control has been completed before the performance of the pattern ends
If the current tempo is already stable,
Desired by the performer by operating the
Of the current tempo
To the original tempo before the change process.
It is configured as follows. This allows the performer to
Point change control is linked to sub pattern change control
Tempo change control (reset) without worrying about
Easy use of redundant processing and acceleland processing)
can do. Also, this allows the performance expression range
Can also be extended.

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

【図1】 この発明に係る自動演奏装置を適用した電子
楽器の一実施例のハードウェア構成例を示すブロック図
である。
FIG. 1 is a block diagram showing a hardware configuration example of an embodiment of an electronic musical instrument to which an automatic performance device according to the present invention is applied.

【図2】 図1のマイクロコンピュータが処理するメイ
ンルーチンの一例を示すフローチャート図である。
FIG. 2 is a flowchart illustrating an example of a main routine processed by the microcomputer in FIG. 1;

【図3】 図2の対応スイッチ処理の中のスタート/ス
トップ処理の一例を示すフローチャート図である。
FIG. 3 is a flowchart illustrating an example of a start / stop process in the corresponding switch process of FIG. 2;

【図4】 図2の対応スイッチ処理の中のフィルイン処
理の一例を示すフローチャート図である。
FIG. 4 is a flowchart illustrating an example of a fill-in process in the corresponding switch process of FIG. 2;

【図5】 図2の対応スイッチ処理の中のシンクロ処理
の一例を示すフローチャート図である。
FIG. 5 is a flowchart illustrating an example of a synchronization process in the corresponding switch process of FIG. 2;

【図6】 図2の対応スイッチ処理の中のリタルダンド
処理の一例を示すフローチャート図である。
FIG. 6 is a flowchart illustrating an example of a ritardand process in the corresponding switch process of FIG. 2;

【図7】 図2の対応スイッチ処理の中のアッチェレラ
ンド処理の一例を示すフローチャート図である。
FIG. 7 is a flowchart illustrating an example of an accelerand process in the corresponding switch process of FIG. 2;

【図8】 図1のCPUがタイマからインタラプト命令
を入力する毎に実行するタイマインタラプト処理の前半
部分を示すフローチャート図である。
8 is a flowchart showing a first half of a timer interrupt process executed each time the CPU of FIG. 1 inputs an interrupt command from a timer.

【図9】 図1のCPUがタイマからインタラプト命令
を入力する毎に実行するタイマインタラプト処理の後半
部分を示すフローチャート図である。
9 is a flowchart showing a latter half of a timer interrupt process executed each time the CPU of FIG. 1 inputs an interrupt command from a timer.

【図10】 シンクロモードフラグSYNCが『0』
で、小節線タイミングの発生時刻以後にフィルインスイ
ッチが操作された場合の小節線タイミングとテンポとの
関係を示す図である。
FIG. 10 shows that the synchro mode flag SYNC is “0”
FIG. 9 is a diagram showing the relationship between the bar timing and the tempo when the fill-in switch is operated after the occurrence time of the bar timing.

【図11】 シンクロモードフラグSYNCが『0』
で、小節線タイミングの発生時刻以前にリタルダンドス
イッチが操作され、その後にフィルインスイッチが操作
された場合の小節線タイミングとテンポとの関係を示す
図である。
FIG. 11 shows that the synchro mode flag SYNC is “0”
FIG. 8 is a diagram showing the relationship between bar line timing and tempo when the ritard switch is operated before the bar line timing occurs and the fill-in switch is operated after that.

【図12】 シンクロモードフラグSYNCが『0』
で、フィルインスイッチが操作され、その後にリタルダ
ンドスイッチが操作された場合の小節線タイミングとテ
ンポとの関係を示す図である。
FIG. 12 shows that the synchro mode flag SYNC is “0”
FIG. 8 is a diagram showing the relationship between bar line timing and tempo when a fill-in switch is operated and then a retard switch is operated.

【図13】 シンクロモードフラグSYNCが『1』
で、小節線タイミングの発生時刻以前にリタルダンドス
イッチが操作され、その後にフィルインスイッチが操作
された場合の小節線タイミングとテンポとの関係を示す
図である。
FIG. 13 shows that the synchro mode flag SYNC is “1”
FIG. 8 is a diagram showing the relationship between bar line timing and tempo when the ritard switch is operated before the bar line timing occurs and the fill-in switch is operated after that.

【図14】 シンクロモードフラグSYNCが『0』
で、小節線タイミングの発生時刻以前にリタルダンドス
イッチが操作された場合の小節線タイミングとテンポと
の関係を示す図である。
FIG. 14 shows that the sync mode flag SYNC is “0”
FIG. 9 is a diagram showing the relationship between the bar timing and the tempo when the ritard switch is operated before the time at which the bar timing occurs.

【図15】 シンクロモードフラグSYNCが『0』
で、小節線タイミングの発生時刻以前にリタルダンドス
イッチが操作された場合の小節線タイミングとテンポと
の関係を示す図である。
FIG. 15 shows that the synchro mode flag SYNC is “0”
FIG. 9 is a diagram showing the relationship between the bar timing and the tempo when the ritard switch is operated before the time at which the bar timing occurs.

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

10…CPU、11…プログラムROM、12…データ
及びワーキングRAM、13…押離鍵検出回路、14…
スイッチ検出回路、15…表示回路、16…音源回路、
17…タイマ、18…データ及びアドレスバス、19…
鍵盤、20…パネルスイッチ、21…表示部、22…サ
ウンドシステム、2A…スタート/ストップスイッチ、
2B…フィルインスイッチ、2C…シンクロスイッチ、
2D…リタルダンドスイッチ、2E…アッチェレランド
スイッチ、2F…テンポアップスイッチ、2G…テンポ
ダウンスイッチ
10 CPU, 11 Program ROM, 12 Data and Working RAM, 13 Key press / release detection circuit, 14
Switch detection circuit, 15 display circuit, 16 sound source circuit,
17 ... timer, 18 ... data and address bus, 19 ...
Keyboard, 20 panel switch, 21 display unit, 22 sound system, 2A start / stop switch,
2B: Fill-in switch, 2C: Synchro switch,
2D: Rital dand switch, 2E: Accelerand switch, 2F: Tempo up switch, 2G: Tempo down switch

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のメインパターン及び複数のサブパ
ターンを記憶する演奏パターン記憶手段と、 前記メインパターンに応じた自動演奏の途中に前記サブ
パターンに応じた自動演奏を一時的に挿入することを指
示するパターン変更指示手段と、 テンポ信号を発生するテンポ信号発生手段と、 前記テンポ信号の速さを変化させることを指示するテン
ポ変化指示手段と、 このテンポ変化指示手段からの指示に従って前記テンポ
信号発生手段の発生するテンポ信号の速さを所定の変化
率で所定の速さへ徐々に変化させるテンポ変化制御手段
と、 前記演奏パターン記憶手段から前記メインパターンを読
み出し、読み出されたメインパターンに応じた自動演奏
前記テンポ信号に応じたテンポで行い、前記パターン
変更指示手段からの指示に従って前記演奏パターン記憶
手段から前記サブパターンを読み出し、読み出されたサ
ブパターンに応じた自動演奏を前記テンポ信号に応じた
テンポで一時的に行い、前記サブパターンによる自動演
奏終了後に再びメインパターンに応じた自動演奏を前記
テンポ信号に応じたテンポで行う制御手段と、 前記制御手段による前記サブパターンの自動演奏処理と
前記テンポ変化制御手段による前記テンポ信号の変化処
理とが同時に実行される場合において、前記サブパター
ンの演奏終了時において前記テンポ変化制御が終了して
いないならば該サブパターンの自動演奏処理の終了に同
期させて前記テンポ信号の速さを変化処理前の元のテン
ポ信号の速さに戻す処理を行ない、前記サブパターンの
演奏終了時において前記テンポ変化制御が終了している
ならば現状のテンポ信号を維持するテンポ復帰手段とか
ら構成されることを特徴とする自動演奏装置。
1. A performance pattern storage means for storing a plurality of main patterns and a plurality of sub-patterns, and temporarily inserting an automatic performance according to the sub-pattern during the automatic performance according to the main pattern. Pattern change instructing means for instructing; tempo signal generating means for generating a tempo signal; tempo change instructing means for instructing to change the speed of the tempo signal; and tempo signal in accordance with an instruction from the tempo change instructing means. Change the speed of the tempo signal generated by the generation means
Tempo change control means for gradually changing to a predetermined speed at a rate ; reading the main pattern from the performance pattern storage means; performing an automatic performance according to the read main pattern at a tempo according to the tempo signal; Reading the sub-pattern from the performance pattern storage means in accordance with an instruction from the pattern change instructing means, and performing an automatic performance according to the read sub-pattern in accordance with the tempo signal.
Control means for temporarily performing at the tempo, automatically performing the automatic performance according to the main pattern again at the tempo according to the tempo signal after completion of the automatic performance by the sub-pattern, and performing automatic performance processing of the sub-pattern by the control means. In a case where the tempo change control means executes the tempo signal change processing at the same time, if the tempo change control is not completed at the end of the performance of the sub-pattern, it is synchronized with the end of the automatic performance processing of the sub-pattern. Then, a process of returning the speed of the tempo signal to the original speed of the tempo signal before the change process is performed, and if the tempo change control is completed at the end of the performance of the sub-pattern, the current tempo signal is changed. An automatic performance device comprising: a tempo return means for maintaining the tempo.
JP4103942A 1992-03-31 1992-03-31 Automatic performance device Expired - Fee Related JP2715804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4103942A JP2715804B2 (en) 1992-03-31 1992-03-31 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4103942A JP2715804B2 (en) 1992-03-31 1992-03-31 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH05281963A JPH05281963A (en) 1993-10-29
JP2715804B2 true JP2715804B2 (en) 1998-02-18

Family

ID=14367504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4103942A Expired - Fee Related JP2715804B2 (en) 1992-03-31 1992-03-31 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2715804B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0285497U (en) * 1988-12-21 1990-07-04

Also Published As

Publication number Publication date
JPH05281963A (en) 1993-10-29

Similar Documents

Publication Publication Date Title
US7432437B2 (en) Apparatus and computer program for playing arpeggio with regular pattern and accentuated pattern
JP2616274B2 (en) Automatic performance device
JPH04153697A (en) Automatic music player
US6211453B1 (en) Performance information making device and method based on random selection of accompaniment patterns
JPH05173568A (en) Electronic musical instrument
JP2638428B2 (en) Automatic accompaniment device
JP3080261B2 (en) Automatic performance device
US5880391A (en) Controller for use with a music sequencer in generating musical chords
JP2715804B2 (en) Automatic performance device
JP2689812B2 (en) Automatic performance device
JP2768233B2 (en) Electronic musical instrument
JPH07306679A (en) Electronic keyed instrument
JP2546467B2 (en) Electronic musical instrument
JP2768348B2 (en) Automatic performance device
JPH06161452A (en) Automatic accompaniment device
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP3033393B2 (en) Automatic accompaniment device
JP2002258847A (en) Electronic musical instrument
JPH07121177A (en) Automatic accompaniment device
JP2564811B2 (en) Performance recorder
JP2904020B2 (en) Automatic accompaniment device
JP3436636B2 (en) Automatic accompaniment device for electronic and electric musical instruments
JP2879742B2 (en) Automatic accompaniment device
JP2629564B2 (en) Chord detector
JP3438617B2 (en) Automatic rhythm playing device

Legal Events

Date Code Title Description
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: 20071107

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees