JPH0954580A - Automatic player and automatic playing method - Google Patents

Automatic player and automatic playing method

Info

Publication number
JPH0954580A
JPH0954580A JP7231972A JP23197295A JPH0954580A JP H0954580 A JPH0954580 A JP H0954580A JP 7231972 A JP7231972 A JP 7231972A JP 23197295 A JP23197295 A JP 23197295A JP H0954580 A JPH0954580 A JP H0954580A
Authority
JP
Japan
Prior art keywords
time
sound
key
automatic performance
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7231972A
Other languages
Japanese (ja)
Other versions
JP3192579B2 (en
Inventor
Sadasuke Wakuta
定資 和久田
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 JP23197295A priority Critical patent/JP3192579B2/en
Priority to US08/680,865 priority patent/US5760324A/en
Publication of JPH0954580A publication Critical patent/JPH0954580A/en
Application granted granted Critical
Publication of JP3192579B2 publication Critical patent/JP3192579B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an automatic player and automatic playing method capable of preventing the sustained sounding and executing smooth automatic playing even if automatic playing is stopped in mid-way of music. SOLUTION: This automatic player has a memory means 18 in which plural pieces of note data are stored and key touch detecting means 10, 16 and progresses the automatic playing by reading the note data out of the storage means every time a key touch is detected and producing sound. The automatic player described above is composed of a step value calculating means 10 which calculates the step values from the sounding of this time before the next sounding, a first control means 10 which subtracts the step value and gate time of the sounds under production respectively at the time intervals proportional to tempo and silences the sounds when the gate time attains zero in case the where key touch is not detected and a second control means 10 which starts the next sounding after respectively subtracting the step value and gate time of the sounds under production at the point of the time of detection until the step value attains zero and silences the sounds when the gate time attains zero by the subtraction in case where the key touch is detected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は電子楽器の分野に属
し、特に自動演奏データに基づいて自動演奏を行う自動
演奏装置及び自動演奏方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of electronic musical instruments, and more particularly, to an automatic performance device and an automatic performance method for performing automatic performance based on automatic performance data.

【0002】[0002]

【従来の技術】従来の自動演奏装置は、予め自動演奏デ
ータメモリに自動演奏データを記憶している。そして、
例えば自動演奏開始スイッチが操作されると、自動演奏
データメモリから自動演奏データが順次読み出され、こ
の読み出された自動演奏データに基づいて発音がなされ
ることにより自動的に所定曲の演奏が行われる。
2. Description of the Related Art A conventional automatic performance device stores automatic performance data in advance in an automatic performance data memory. And
For example, when the automatic performance start switch is operated, the automatic performance data is sequentially read from the automatic performance data memory, and a sound is generated based on the read automatic performance data, so that the performance of the predetermined music is automatically performed. Done.

【0003】更に詳しく説明すると、自動演奏データメ
モリに予め用意される自動演奏データは、1音を発生す
るためのデータ(以下、「音符データ」という。)の集
合で構成されている。各音符データは、例えば図10に
示すように、それぞれが1バイトで構成されたキーナン
バ、ステップタイム、ゲートタイム及びベロシティ/パ
ートの各データで構成されている。「キーナンバ」は例
えば鍵盤装置の各鍵に付された番号に対応するものであ
り、音高(音程)を指定するために使用される。「ステ
ップタイム」は発音開始のタイミング(時刻)を指定す
るために使用される。「ゲートタイム」は発音すべき音
の長さ(音長)を指定するために使用される。「ベロシ
ティ/パート」のうち、「ベロシティ」は例えば5ビッ
トで成り、音の強さを指定するために使用される。ま
た、「パート」は例えば3ビットで成り、当該音の属す
るパートを指定するために使用される。1つの曲に対応
する自動演奏データは、かかる音符データがステップタ
イム順に並べられて構成されている。
More specifically, the automatic performance data prepared in advance in the automatic performance data memory is composed of a set of data for generating one note (hereinafter referred to as "note data"). For example, as shown in FIG. 10, each note data is composed of key number, step time, gate time, and velocity / part data each of which is composed of 1 byte. The "key number" corresponds to the number attached to each key of the keyboard device, for example, and is used to specify a pitch (pitch). The "step time" is used to specify the timing (time) at which the sound is started. “Gate time” is used to specify the length of a sound to be pronounced (sound length). Of the "velocity / part", the "velocity" consists of, for example, 5 bits and is used to specify the strength of the sound. The "part" is made up of, for example, 3 bits and is used to specify the part to which the relevant sound belongs. The automatic performance data corresponding to one piece of music is composed of such note data arranged in the order of step time.

【0004】自動演奏が開始されると、ステップタイム
カウンタのカウントアップ動作が開始される。ステップ
タイムカウンタは、1ステップ毎にインクリメントされ
る。1ステップは、例えば1拍の1/24、1/48、
1/96、1/128、1/256等といった具合に任
意に定義される。1拍の実時間はテンポに従って定ま
る。従って、1ステップの実時間、つまりステップタイ
ムカウンタのカウントアップの実時間間隔はテンポに従
って決定されることになる。
When the automatic performance is started, the count-up operation of the step time counter is started. The step time counter is incremented for each step. One step is, for example, 1/24, 1/48 of one beat,
It is arbitrarily defined such as 1/96, 1/128, 1/256 and the like. The real time of one beat depends on the tempo. Therefore, the real time of one step, that is, the real time interval for counting up the step time counter is determined according to the tempo.

【0005】このようなステップタイムカウンタが動作
している状態で、自動演奏データメモリから1つの音符
データが読み出される。そして、音符データ中のステッ
プタイムデータとステップタイムカウンタの内容とが比
較される。そして、これらが一致しない場合は、その音
符データは発音タイミングに至っていないものと判断さ
れ、以後、この比較動作が所定周期で繰り返される。こ
の比較動作の繰り返しと並行してステップタイムカウン
タの内容は、テンポに応じた時間間隔でインクリメント
される。そして、上記比較動作において、音符データ中
のステップタイムデータとステップタイムカウンタの内
容とが一致すると、その音符データは発音タイミングに
至ったものと判断され、発音処理が行われる。この発音
処理では、音符データ中のキーナンバで指定された音高
及びベロシティで指定された強さを有する音の発音が開
始される。1つの音符データに対する発音処理が終了す
ると、次の音符データが自動演奏データメモリから読み
出され、上述したと同様の処理が行われる。
While the step time counter is operating, one note data is read from the automatic performance data memory. Then, the step time data in the note data and the contents of the step time counter are compared. If they do not match, it is determined that the note data has not reached the tone generation timing, and thereafter this comparison operation is repeated in a predetermined cycle. In parallel with the repetition of this comparison operation, the content of the step time counter is incremented at time intervals according to the tempo. In the comparison operation, when the step time data in the note data and the contents of the step time counter match, it is determined that the note data has reached the sound generation timing, and sound generation processing is performed. In this sound generation process, sound generation having a pitch specified by the key number in the note data and a strength specified by the velocity is started. When the tone generation process for one note data is completed, the next note data is read from the automatic performance data memory, and the same process as described above is performed.

【0006】一方、発音が開始された音は、音符データ
中のゲートタイムデータで指定された時間が経過するこ
とにより消音される。消音は次のようにして行われる。
即ち、上記発音処理において、発音に使用される音符デ
ータ中のゲートタイムデータがゲートタイムカウンタに
セットされる。ゲートタイムカウンタは、上記発音処理
とは独立に、1ステップ毎にデクリメントされる。そし
て、ゲートタイムカウンタの内容がゼロになると発音中
の音の消音処理が行われる。以上のようにして発音処理
と消音処理とが次々に実行されることにより1つの曲の
自動演奏が行われる。
On the other hand, the sound which has started to be sounded is muted when the time designated by the gate time data in the note data elapses. The muffling is performed as follows.
That is, in the sounding process, the gate time data in the note data used for sounding is set in the gate time counter. The gate time counter is decremented step by step independently of the sound generation processing. Then, when the content of the gate time counter becomes zero, the mute processing of the sound being sounded is performed. As described above, the tone generation process and the mute process are executed one after another to automatically perform one piece of music.

【0007】ところで、近年、上述した自動演奏装置の
技術を応用した装置の1つとして、コンサートマジック
機能付き自動演奏装置が開発されている。ここに、「コ
ンサートマジック機能」とは、演奏者により指示された
タイミング(例えば押鍵されたタイミング)で音符デー
タを自動演奏データメモリから読み出し、この音符デー
タに基づいて発音を開始させる機能である。このコンサ
ートマジック機能付き自動演奏装置では、一般に、上述
した通常の自動演奏装置で使用される自動演奏データと
同じ自動演奏データが使用される。しかし、自動演奏デ
ータを構成する各音符データ中のステップタイムデータ
は使用されない。その代わりに、発音タイミングは、外
部から演奏者によって与えられる。
By the way, in recent years, an automatic performance device with a concert magic function has been developed as one of the devices to which the technique of the automatic performance device described above is applied. Here, the "concert magic function" is a function of reading note data from the automatic performance data memory at a timing designated by the performer (for example, a key pressing timing) and starting sound generation based on the note data. . In this automatic performance device with a concert magic function, generally, the same automatic performance data as the automatic performance data used in the above-mentioned normal automatic performance device is used. However, the step time data in each note data forming the automatic performance data is not used. Instead, the pronunciation timing is given externally by the performer.

【0008】また、コンサートマジック機能付き自動演
奏装置においては、鍵盤装置は単に発音タイミングを与
える手段として使用される。従って、演奏者は、曲の発
音すべきタイミングに合わせて鍵盤装置の何れか任意の
鍵を押すことにより、自動演奏を進行させることができ
る。換言すれば、コンサートマジック機能付きの自動演
奏装置は、音高及び音の強さは自動演奏データに基づい
て決定され、発音タイミングは演奏者の指示に基づいて
決定されて楽音が発生される自動演奏装置ということが
できる。
In the automatic performance device with the concert magic function, the keyboard device is simply used as a means for giving a sounding timing. Therefore, the performer can advance the automatic performance by pressing any one of the keys of the keyboard device in accordance with the timing at which the music should be sounded. In other words, in the automatic performance device with the concert magic function, the pitch and the strength of the sound are determined based on the automatic performance data, and the sounding timing is determined based on the instructions of the performer to automatically generate the musical sound. It can be called a performance device.

【0009】従来の自動演奏装置では、自動演奏開始ス
イッチが操作されると自動的に所定の曲の自動演奏が行
われるので演奏者が介入する余地がないのに対し、コン
サートマジック機能付き自動演奏装置では、演奏者が発
音タイミングを指示することによって自動演奏が進行す
るので、演奏者は、自分が演奏をしているという満足感
を得ることができる。
In the conventional automatic performance apparatus, when the automatic performance start switch is operated, a predetermined piece of music is automatically performed, so that there is no room for the performer to intervene. In the apparatus, the player performs the automatic performance by instructing the sounding timing, so that the player can be satisfied that he is playing.

【0010】[0010]

【発明が解決しようとする課題】ところで、上述したコ
ンサートマジック機能付き自動演奏装置では、発音が開
始された音を消音するために幾つかの方法が考えられて
いる。第1の方法は、押鍵がなされた際にステップタイ
ムカウンタの内容を強制的に進めることにより発音中の
音を消音する方法である。第2の方法は押鍵によって発
音中の音を消音する方法である。第3の方法は全鍵が離
された時に発音中の全ての音を消音する方法である。
By the way, in the above-mentioned automatic musical instrument having the concert magic function, some methods have been considered to mute the sound at which the sound generation is started. The first method is to mute the sound being generated by forcibly advancing the contents of the step time counter when a key is pressed. The second method is a method of muting a sound being generated by pressing a key. The third method is a method of muting all the sounds being sounded when all keys are released.

【0011】しかし、上記の各方法にはいずれも欠点が
ある。第1の方法においては、押鍵がなされると、自動
演奏データメモリから音符データが1つだけ読み出さ
れ、その音符データに含まれているステップタイムデー
タとステップタイムカウンタの内容とが比較される。そ
して、一致しないことが判断されるとステップタイムカ
ウンタの内容がインクリメントされると共に、その時点
で既に発音中である音に対応するゲートタイムカウンタ
の内容(以下、単に「ゲートタイム」という。)がデク
リメントされる。以下、その音符データに含まれている
ステップタイムデータとステップタイムカウンタの内容
とが一致するまで、上述した動作が強制的に繰り返され
る。この繰り返し動作は、上述した1ステップの実時間
とは無関係に高速で行われる。そして、音符データに含
まれているステップタイムデータとステップタイムカウ
ンタの内容とが一致した時点で、上記音符データに基づ
く発音が行われる。また、上記繰り返し動作によってゲ
ートタイムがゼロになった音は消音される。これによ
り、押鍵がなされると、1つの音符データに基づく1つ
の音が必ず発音されると共に、押鍵前に発音されていた
音であって、ゲートタイムがゼロになったものは消音さ
れるという機能が実現されている。
However, each of the above methods has drawbacks. In the first method, when a key is pressed, only one note data is read from the automatic performance data memory, and the step time data contained in the note data is compared with the contents of the step time counter. It When it is determined that they do not match, the content of the step time counter is incremented, and the content of the gate time counter (hereinafter, simply referred to as “gate time”) corresponding to the note that is being sounded at that time. Decremented. Hereinafter, the above operation is forcibly repeated until the step time data included in the note data and the content of the step time counter match. This repetitive operation is performed at high speed irrespective of the real time of one step described above. Then, when the step time data included in the note data and the contents of the step time counter match, sound is generated based on the note data. Further, the sound of which the gate time becomes zero by the above repeating operation is muted. As a result, when a key is pressed, one sound based on one note data is always generated, and a sound that was generated before the key was pressed is muted. Function has been realized.

【0012】しかしながら、この第1の方法によれば、
発音中の音のゲートタイムがゼロにならないとその音は
消音されない。ところが、次に押鍵がなされることによ
ってゲートタイムがデクリメントされないと発音中の音
のゲートタイムがゼロにならないので、曲の途中で自動
演奏を進める操作(押鍵)を止めてしまった場合は、発
音中の音は消音されることなく鳴り続けるという問題を
生じていた。
However, according to this first method,
The sound cannot be muted unless the gate time of the sound being sounded reaches zero. However, if the gate time is not decremented by the next key press, the gate time of the note being sounded will not reach zero, so if you stop the operation (key press) to advance the automatic performance in the middle of the song, , There was a problem that the sound being produced continued to sound without being muted.

【0013】また、第2の方法は、ステップタイムやゲ
ートタイムとは無関係に、押鍵がなされたことを検出し
て発音中の音を消音する方法である。しかしながら、こ
の場合も、上記第1の方法の場合と同様に、次の押鍵が
なされないと発音中の音の消音は行われないので、曲を
最後まで演奏せずに途中で止めてしまった場合は、発音
中の音は消音されることなく鳴り続けるという問題を生
じていた。なお、上記第1及び第2の方法において、曲
の最後まで自動演奏を行った場合は、最後の自動演奏デ
ータ(これを「エンドマーク」という。)では新たな発
音は開始されないので、発音中の音が消音されることな
く鳴り続けるという問題は生じない。
The second method is a method of detecting that a key is pressed and muting the sound being generated regardless of the step time and the gate time. However, also in this case, as in the case of the first method described above, the sound being produced is not muted unless the next key is pressed, so the song is stopped halfway without playing it to the end. In this case, there is a problem that the sound being sounded continues to sound without being muted. In the first and second methods, when the automatic performance is performed up to the end of the song, a new pronunciation is not started at the last automatic performance data (this is called "end mark"). There is no problem that the sound of continues to sound without being muted.

【0014】そこで、かかる第1及び第2の方法の問題
点を解消するために、第3の方法が考えられている。こ
の第3の方法においては、全鍵が離されると発音中の全
ての音が消音される。従って、曲の途中で全鍵を離して
自動演奏を進める操作を止めれば、発音中の音が消音さ
れずに鳴り続けるという不具合は発生しない。しかし、
例えば鍵盤装置の1鍵だけを用いて自動演奏を行ってい
るような場合は、その鍵が離されると全鍵が離された状
態になる。従って、離鍵の度に発音中の音が消音されて
しまい、恰かもスタッカートで演奏しているように音が
途切れてしまって滑らかな演奏ができないという問題が
あった。
Therefore, in order to solve the problems of the first and second methods, the third method is considered. In the third method, when all keys are released, all sounds being sounded are muted. Therefore, if all the keys are released in the middle of the song and the operation of advancing the automatic performance is stopped, the problem that the sound being sounded is not muted but continues to sound does not occur. But,
For example, when an automatic performance is performed using only one key of the keyboard device, when that key is released, all keys are released. Therefore, there is a problem that the sound being sounded is muted each time the key is released, and the sound is interrupted as if playing staccato, which prevents smooth playing.

【0015】本発明は、かかる従来のコンサートマジッ
ク機能付きの自動演奏装置の問題点を解消するためにな
されたものであり、演奏者が曲の途中で自動演奏を進め
る操作を止めても音が鳴り続けることがなく、また1鍵
だけを用いた場合であっても滑らかな自動演奏を行うこ
とのできる自動演奏装置及び自動演奏方法を提供するこ
とを目的とする。
The present invention has been made in order to solve the problems of the conventional automatic performance device having the concert magic function, and the sound is produced even if the player stops the operation of the automatic performance in the middle of the song. It is an object of the present invention to provide an automatic performance device and an automatic performance method capable of performing a smooth automatic performance even when only one key is used, without continuously ringing.

【0016】[0016]

【課題を解決するための手段】本発明の自動演奏装置
は、上記目的を達成するために、少なくとも発音タイミ
ングを規定するステップタイムを表すデータと音長を規
定するゲートタイムを表すデータとが含まれた音符デー
タを複数記憶した記憶手段と、押鍵がなされたことを検
出する押鍵検出手段とを有し、該押鍵検出手段で押鍵が
なされたことが検出される毎に、該記憶手段から音符デ
ータを読み出し、該読み出された音符データに基づいて
発音を開始することにより自動演奏を進める自動演奏装
置であって、発音開始時に、今回発音が開始される音の
ステップタイムから次に発音が開始されるべき音のステ
ップタイムまでのステップ値を算出するステップ値算出
手段と、該押鍵検出手段で押鍵が検出されない場合に、
発音中の音に対応する該ステップ値及びゲートタイムを
それぞれテンポに比例した時間間隔でデクリメントし、
ゲートタイムがゼロになったら該音を消音する第1の制
御手段と、該押鍵検出手段で押鍵が検出された場合に、
該検出時点における発音中の音に対応するステップ値及
びゲートタイムを、該ステップ値がゼロになるまでそれ
ぞれデクリメントした後に次の音の発音を開始し、該デ
クリメントによってゲートタイムがゼロになったら該発
音中の音を消音する第2の制御手段を備えている。
In order to achieve the above-mentioned object, the automatic performance device of the present invention includes at least data representing a step time defining a sounding timing and data representing a gate time defining a note length. And a key-depression detecting means for detecting that a key-depression has been performed. Each time the key-depression detecting means detects that a key-depression has been performed, An automatic performance device for advancing an automatic performance by reading note data from a storage means and starting sound generation based on the read note data. When a key depression is not detected by the step value calculation means for calculating the step value up to the step time of the sound to be sounded next, and the key depression detection means,
Decrement the step value and the gate time corresponding to the sound being sounded at time intervals proportional to the tempo,
When a key press is detected by the first key control means for muting the sound when the gate time becomes zero and the key press detecting means,
After decrementing the step value and gate time corresponding to the sound being sounded at the time of detection until the step value becomes zero, the next sound is started to be sounded, and when the gate time becomes zero due to the decrement, The second control means is provided to mute the sound being produced.

【0017】本自動演奏装置においては、発音の開始は
演奏者の指示(押鍵)によって行われるが、一旦発音が
開始された音は、従来の自動演奏装置の場合と同様に、
当該音に対応するゲートタイムがテンポに比例した時間
間隔でデクリメントされ、そのゲートタイムがゼロにな
った時に消音される。この「テンポに比例した時間間
隔」としては、例えば1ステップタイムを用いることが
できる。従って、発音中の音は、その発音の元となった
音符データ中のゲートタイムで指定された時間が経過す
ることにより消音される。これにより、演奏者が曲の途
中で自動演奏を進める操作を止めても音が鳴り続けるこ
とはない。逆に、全鍵が離された場合であっても、発音
中の音は、その発音の元となった音符データ中のゲート
タイムで指定された時間が経過するまでは消音されな
い。従って、1鍵だけを用いて自動演奏を進める場合で
あっても音が途切れることがなく滑らかな自動演奏を行
うことができる。
In the present automatic performance device, sound generation is started by a player's instruction (key depression), but the sound once sound generation is started is the same as in the conventional automatic performance device.
The gate time corresponding to the sound is decremented at time intervals proportional to the tempo, and the sound is muted when the gate time becomes zero. As this "time interval proportional to tempo", for example, one step time can be used. Therefore, the sound being sounded is muted when the time designated by the gate time in the note data that is the source of the sound elapses. As a result, even if the performer stops the operation of advancing the automatic performance in the middle of the music, the sound does not continue to sound. On the contrary, even when all the keys are released, the sound being sounded is not muted until the time specified by the gate time in the note data that is the source of the sound elapses. Therefore, even when the automatic performance is advanced using only one key, the smooth automatic performance can be performed without the sound being interrupted.

【0018】また、一旦発音が開始されると、テンポに
比例した時間間隔でステップ値とゲートタイムのデクリ
メントが開始され、そのまま放置しておくとゲートタイ
ムがゼロになった時点で消音される。しかし、上記デク
リメント中に新たな押鍵が検出されると、新たな音符デ
ータに基づく発音が開始される。即ち、新たな押鍵が検
出された時に、ステップ値がゼロでなければ(この状態
は、本来の発音タイミングより早く押鍵された場合に発
生する)、押鍵が検出された時点のステップ値及びゲー
トタイムからデクリメントが開始される。このデクリメ
ントは、上記テンポに比例した時間間隔とは無関係に例
えは高速に行われる。そして、このデクリメントによっ
てステップ値がゼロになった時に次の新たな音符データ
に基づく発音が開始される。この際、上記デクリメント
の途中でゲートタイムがゼロになれば発音中の音は消音
される。
Further, once the sound generation is started, the step value and the gate time are decremented at time intervals proportional to the tempo, and if left unattended, the sound is muted when the gate time becomes zero. However, when a new key depression is detected during the decrement, sound generation based on the new note data is started. That is, if the step value is not zero when a new key is detected (this state occurs when the key is pressed earlier than the original sounding timing), the step value at the time when the key is detected is detected. And the decrement starts from the gate time. This decrement is performed at a high speed, for example, regardless of the time interval proportional to the tempo. Then, when the step value becomes zero due to this decrement, sound generation based on the next new note data is started. At this time, if the gate time becomes zero during the decrement, the sound being sounded is muted.

【0019】これにより、例えば演奏者が本来の発音タ
イミングより早く押鍵した場合であっても、本来の発音
タイミングで押鍵された場合と同じゲートタイムになる
ようにゲートタイムが調整(短縮)されるので、次の新
たな音の発音が開始された際に、既に発音中の音が消音
されずに残ってしまって音が重なるという事態は回避さ
れる。なお、上記デクリメントによりゲートタイムがゼ
ロにならなければ発音は継続されるが、これは自動演奏
データが2音以上を発音するように作製されている場合
であるので、既に発音中の音と新たに発音が開始された
音とが重なることに問題はない。
Thus, for example, even when the player presses a key earlier than the original sounding timing, the gate time is adjusted (shortened) so that the gate time becomes the same as when the key is pressed at the original sounding timing. Therefore, when the pronunciation of the next new sound is started, it is possible to avoid a situation in which the sound that is already being sounded remains without being muted and the sounds overlap. Note that if the gate time does not reach zero due to the above decrement, the pronunciation will continue, but since this is the case where the automatic performance data is created so that two or more notes are produced, the note that is already being pronounced and a new note will be generated. There is no problem in overlapping with the sound that started to sound.

【0020】一方、押鍵が検出された時にステップ値が
ゼロであれば(この状態は、本来の発音タイミングより
遅く押鍵された場合に発生する)、直ちに新たな音符デ
ータに基づく発音が開始される。この際、当該発音タイ
ミングまでに消音されるべき音は既に消音されているの
で、新たに発音された音が既に発音中の音と重なること
はないが、音が早めに途切れる。なお、当該発音タイミ
ングで発音が継続されている音は、自動演奏データが2
音以上を発音するように作製されている場合であるの
で、新たに発音が開始された音とが重なることに問題は
ない。
On the other hand, if the step value is zero when the key depression is detected (this state occurs when the key is depressed later than the original tone generation timing), the tone generation based on the new note data is immediately started. To be done. At this time, since the sound to be muted by the sounding timing has already been muted, the newly sounded sound does not overlap with the sound being sounded, but the sound is cut off early. Note that the automatic performance data is 2 for sounds that continue to be sounded at the sounding timing.
This is a case in which the sound is produced so as to generate more than the sound, so there is no problem in overlapping with the sound that has been newly generated.

【0021】また、本自動演奏装置は、前記押鍵検出手
段で検出された押鍵間隔に基づいてテンポを検出するテ
ンポ検出手段を更に備え、前記テンポに比例した時間間
隔は、該テンポ検出手段で検出されたテンポに基づいて
定めるように構成できる。このテンポ検出手段は、例え
ば押鍵検出手段で検出された2回の押鍵間隔の実時間
と、2回の押鍵に応じて記憶手段から読み出された2つ
の音符データ中のステップタイムデータの差との比から
テンポを検出するように構成できる。
Further, the present automatic performance device further comprises tempo detecting means for detecting a tempo based on the key pressing interval detected by the key pressing detecting means, and the time interval proportional to the tempo is the tempo detecting means. It can be configured to determine based on the tempo detected in. This tempo detecting means is, for example, the real time of the two key depression intervals detected by the key depression detecting means and the step time data in the two note data read from the memory means in response to the two key depressions. It can be configured to detect the tempo from the ratio to the difference between.

【0022】ここで、検出されたテンポは、上述した
「テンポに比例した時間間隔」に反映される。従って、
発音された音が消音されるまでの時間は、演奏者の押鍵
間隔に応じて常に補正されることになる。換言すれば、
演奏者が例えば鍵盤によって指示する発音タイミングが
ズレると、以後は、そのズレたタイミングに合わせてテ
ンポが補正されて発音されるので、演奏者の意図に沿っ
た自動演奏が可能となる。
Here, the detected tempo is reflected in the above-mentioned "time interval proportional to tempo". Therefore,
The time until the generated sound is muted is always corrected according to the key depression interval of the performer. In other words,
When the sounding timing designated by the player, for example, by the keyboard is deviated, the tempo is corrected in accordance with the deviated timing and the sound is produced. Therefore, it is possible to perform the automatic performance according to the intention of the player.

【0023】また、上述したように、本来の発音タイミ
ングより遅く押鍵された場合に音が早めに途切れるとい
う事態が発生するが、これは、上記テンポ検出手段で検
出されたテンポを若干遅めに修正し、この修正されたテ
ンポに基づいて「テンポに比例した時間間隔」を決定す
るように構成すればよい。これにより、例えば演奏者が
押鍵に手間取って押鍵が遅れても音が途切れるという事
態を回避できる。
Further, as described above, when a key is pressed later than the original sounding timing, a situation occurs in which the sound is interrupted earlier, but this is slightly delayed from the tempo detected by the tempo detecting means. The time interval proportional to the tempo may be determined based on the corrected tempo. As a result, for example, it is possible to avoid a situation in which the sound is interrupted even if the player takes time to press the key and the key is delayed.

【0024】また、本発明の自動演奏方法は、上記目的
を達成するために、押鍵がなされたことが検出される毎
に、記憶された少なくとも発音タイミングを規定するス
テップタイムを表すデータと音長を規定するゲートタイ
ムを表すデータとが含まれた音符データを読み出し、該
読み出された音符データに基づいて発音を開始すること
により自動演奏を進める自動演奏方法であって、発音開
始時に、今回発音が開始される音のステップタイムから
次に発音が開始されるべき音のステップタイムまでのス
テップ値を算出し、押鍵が検出されない場合に、発音中
の音に対応する該ステップ値及びゲートタイムをそれぞ
れテンポに比例した時間間隔でデクリメントし、ゲート
タイムがゼロになったら該音を消音し、押鍵が検出され
た場合に、該検出時点における発音中の音に対応するス
テップ値及びゲートタイムを、該ステップ値がゼロにな
るまでそれぞれデクリメントした後に次の音の発音を開
始し、該デクリメントによってゲートタイムがゼロにな
ったら該発音中の音を消音することを特徴とする。
Further, in order to achieve the above object, the automatic playing method of the present invention stores the data and the sound representing the step time which defines at least the stored sounding timing each time it is detected that a key is pressed. An automatic performance method of advancing an automatic performance by reading out note data including data representing a gate time defining a length and starting sound generation based on the read note data, wherein at the start of sound generation, The step value from the step time of the sound to be sounded this time to the step time of the sound to be sounded next is calculated, and when the key depression is not detected, the step value corresponding to the sound being sounded and The gate time is decremented at time intervals proportional to the tempo, the sound is muted when the gate time reaches zero, and the key is detected when a key press is detected. The step value and gate time corresponding to the sound being sounded at the point are decremented until the step value becomes zero, and then the next sound is started to sound, and when the gate time becomes zero by the decrement, the sound is being generated. It is characterized by muting the sound of.

【0025】これにより、上記自動演奏装置と同様に、
演奏者が曲の途中で自動演奏を進める操作を止めても音
が鳴り続けることはない。逆に、全鍵が離された場合で
あっても、発音中の音は、その発音の元となった音符デ
ータ中のゲートタイムで指定された時間が経過するまで
は消音されないので、1鍵だけを用いて自動演奏を進め
る場合であっても音が途切れることがなく滑らかな自動
演奏を行うことができる。
As a result, like the above automatic performance device,
Even if the performer stops the operation of advancing the automatic performance in the middle of the song, the sound does not continue to sound. Conversely, even if all keys are released, the sound being sounded is not muted until the time specified by the gate time in the note data that is the source of the sound has passed, so one key Even when the automatic performance is advanced using only, the smooth automatic performance can be performed without the sound being interrupted.

【0026】また、前記テンポに比例した時間間隔は、
押鍵間隔に基づいて検出されたテンポに基づいて定める
ことができる。これにより、演奏者が例えば鍵盤によっ
て指示する発音タイミングがズレても、以後は、そのズ
レたタイミングに合わせてテンポが補正されて発音され
るので、演奏者の意図に沿った自動演奏が可能となる。
また、検出されたテンポを若干遅めに修正し、この修正
されたテンポに基づいて「テンポに比例した時間間隔」
を決定すれば、例えば演奏者が押鍵に手間取って押鍵が
遅れても音が途切れるという事態を回避できる。
The time interval proportional to the tempo is
It can be determined based on the tempo detected based on the key depression interval. As a result, even if the sounding timing indicated by the performer, for example, on the keyboard, is shifted, the tempo is corrected in accordance with the shifted timing, and the sound is produced, enabling automatic performance according to the performer's intention. Become.
In addition, the detected tempo is corrected slightly later, and based on this corrected tempo, "time interval proportional to tempo"
By determining, it is possible to avoid a situation in which the sound is interrupted even if the player takes time to press the key and the key is delayed.

【0027】[0027]

【発明の実施の形態】以下、本発明の自動演奏装置及び
自動演奏方法の一実施の形態につき図面を参照しながら
詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of an automatic playing device and an automatic playing method of the present invention will be described in detail below with reference to the drawings.

【0028】図1は、本発明の自動演奏装置の構成を示
すブロック図である。本自動演奏装置は、システムバス
30で相互に接続された中央処理装置(以下、「CP
U」という。)10、プログラムメモリ12、ワークメ
モリ13、パネルインタフェース回路14、鍵盤インタ
フェース回路16、自動演奏データメモリ18、波形メ
モリ19及び音源20で構成されている。システムバス
30は、例えばアドレス信号、データ信号又は制御信号
等を送受するためのバスラインである。
FIG. 1 is a block diagram showing the structure of the automatic musical instrument of the present invention. This automatic performance device is a central processing unit (hereinafter referred to as “CP
U ". ) 10, a program memory 12, a work memory 13, a panel interface circuit 14, a keyboard interface circuit 16, an automatic performance data memory 18, a waveform memory 19 and a tone generator 20. The system bus 30 is a bus line for transmitting and receiving, for example, an address signal, a data signal or a control signal.

【0029】本発明の押鍵検出手段及びテンポ検出手段
の各一部、ステップ値算出手段並びに第1及び第2の制
御手段はCPU10の処理によって実現されている。C
PU10は、プログラムメモリ12に記憶されている制
御プログラムに従って本自動演奏装置の全体を制御す
る。このCPU10が行う処理の詳細については後述す
る。また、CPU10には、タイマ10aが接続されて
おり、一定時間間隔、例えば2ミリ秒間隔で割込信号を
発生する。なお、このタイマ10aは、CPU10から
所定のデータをセットすることによって、割込信号の発
生間隔を変更することができる。本発明のテンポ値検出
手段は、このタイマ10aとCPU10の処理により構
成することができる。このタイマ10aで発生された割
込信号はCPU10に供給され、後述する割込処理ルー
チンを起動するトリガーとなる。また、このCPU10
には外部インタフェース回路11が接続されている。
Each part of the key depression detecting means and tempo detecting means of the present invention, the step value calculating means, and the first and second control means are realized by the processing of the CPU 10. C
The PU 10 controls the entire automatic performance device according to a control program stored in the program memory 12. Details of the processing performed by the CPU 10 will be described later. A timer 10a is connected to the CPU 10 and generates an interrupt signal at regular time intervals, for example, at 2 millisecond intervals. The timer 10a can change the generation interval of the interrupt signal by setting predetermined data from the CPU 10. The tempo value detecting means of the present invention can be configured by the processing of the timer 10a and the CPU 10. The interrupt signal generated by the timer 10a is supplied to the CPU 10 and serves as a trigger for activating an interrupt processing routine described later. Also, this CPU 10
An external interface circuit 11 is connected to.

【0030】外部インタフェース回路11は、本自動演
奏装置と外部装置との間のデータの送受を制御するため
に使用される。この外部インタフェース回路11として
は、外部に接続される機器の種類に応じて、例えばMI
DIインタフェース、RS232Cインタフェース、S
CSIインタフェース等の汎用インタフェース又は独自
の規格を有する各種インタフェースを用いることができ
る。外部装置としては、例えば他の電子楽器、パーソナ
ルコンピュータ、シーケンサ等が挙げられる。
The external interface circuit 11 is used to control transmission / reception of data between the present automatic performance device and an external device. The external interface circuit 11 may be, for example, MI depending on the type of equipment connected to the outside.
DI interface, RS232C interface, S
A general-purpose interface such as a CSI interface or various interfaces having a unique standard can be used. Examples of the external device include other electronic musical instruments, personal computers, sequencers, and the like.

【0031】この外部インタフェース回路11は外部装
置から送られてきたデータを受信し、CPU10に送
る。CPU10は、このデータに基づいて発音処理を行
い、また操作パネル15の設定状態を変更する。逆に、
後述する操作パネル15及び鍵盤装置17が操作される
ことによって発生されたデータは、外部インタフェース
回路11を介して外部装置に送信される。これにより、
本自動演奏装置の操作パネル15及び鍵盤装置17から
外部装置を制御することが可能となっている。以下にお
いては、外部インタフェース回路11としてMIDIイ
ンタフェース回路が用いられるものとする。
The external interface circuit 11 receives the data sent from the external device and sends it to the CPU 10. The CPU 10 performs sound generation processing based on this data and changes the setting state of the operation panel 15. vice versa,
Data generated by operating the operation panel 15 and keyboard device 17 described later are transmitted to the external device via the external interface circuit 11. This allows
It is possible to control an external device from the operation panel 15 and the keyboard device 17 of the automatic performance device. In the following, a MIDI interface circuit is used as the external interface circuit 11.

【0032】プログラムメモリ12は、例えばリードオ
ンリメモリ(以下、「ROM」という。)で構成するこ
とができる。このプログラムメモリ12には、上述した
制御プログラムの他に、CPU10が使用する種々の固
定データが記憶されている。このプログラムメモリ12
には、更に複数の楽器音の複数の音域に対応した音色を
指定するための複数の音色パラメータが記憶されてい
る。1つの音色パラメータは、所定の楽器音の所定の音
域の音色を規定するために使用される。各音色パラメー
タは、例えば波形アドレス、周波数データ、エンベロー
プデータ、フィルタ係数等で構成されている。なお、こ
のプログラムメモリ12は、ランダムアクセスメモリ
(以下、「RAM」という。)で構成することもでき
る。この場合、本自動演奏装置を動作させるに先立っ
て、上記制御プログラム、固定データ、音色パラメータ
等をプログラムメモリ(RAM)にロードするように構
成すればよい。
The program memory 12 can be composed of, for example, a read only memory (hereinafter referred to as "ROM"). The program memory 12 stores various fixed data used by the CPU 10 in addition to the control program described above. This program memory 12
In addition, a plurality of tone color parameters for designating a tone color corresponding to a plurality of tone ranges of a plurality of instrument sounds are stored. One timbre parameter is used to define the timbre of a predetermined musical range of a predetermined musical instrument sound. Each timbre parameter is composed of, for example, a waveform address, frequency data, envelope data, filter coefficient and the like. The program memory 12 can also be configured by a random access memory (hereinafter referred to as “RAM”). In this case, the control program, fixed data, tone color parameters and the like may be loaded into a program memory (RAM) prior to operating the present automatic performance device.

【0033】ワークメモリ13は、CPU10が各種処
理を行う際に、種々のデータを一時記憶するために使用
される。このワークメモリ13には、本自動演奏装置を
制御するための各種レジスタ、カウンタ、フラグ等が定
義されている。以下に主要なレジスタ、カウンタ、フラ
グ等を示す。なお、下記以外については、以下において
出現する都度説明する。 (1)自動演奏フラグ:本自動演奏装置が自動演奏モー
ドにあるかどうかを記憶するフラグである。 (2)コンサートマジックフラグ(CMフラグ):本自
動演奏装置がコンサートマジックモード(CMモード)
にあるかどうかを記憶するフラグである。 (3)アドレスレジスタ:現在実行中の自動演奏データ
が置かれている自動演奏データメモリ18上のアドレス
(以下、「読出アドレス」という。)を保持する。 (4)データ読出リクエストフラグ:押鍵があった場合
にセットされるフラグであり、自動演奏データメモリ1
8から音符データを読み出すべきことを指示するために
使用される。 (5)同時押しタイマカウンタ:タイマ割込が発生する
度にデクリメントされるカウンタであり、鍵の同時押し
があったかどうかを判断するために使用される。 (6)巻戻しタイマカウンタ:タイマ割込が発生する度
にデクリメントされるカウンタであり、コンサートマジ
ック演奏が停止されてから一定時間が経過したかどうか
を判断するために使用される。 (7)クロックカウンタ:タイマ割込が発生する度にイ
ンクリメントされるカウンタである。 (8)読出タイミングカウンタ:その時点で設定されて
いるテンポに応じたインターバル(1ステップタイムに
相当する時間)でインクリメントされるカウンタであ
る。この読出タイミングカウンタの内容が変化した場合
に、発音タイミングになったかどうかを調べるタイミン
グ(以下、「チェックタイミング」という。)であるこ
とが認識される。 (9)オフカウンタ:発音中の音から次に発音されるべ
き音までのステップ値を記憶するレジスタである。発音
開始時に、当該音に対応する音符データ中のステップタ
イムと次に発音されるべき音に対応する音符データ中の
ステップタイムとの差がセットされる。
The work memory 13 is used for temporarily storing various data when the CPU 10 performs various processes. In this work memory 13, various registers, counters, flags and the like for controlling the present automatic performance device are defined. The main registers, counters, flags, etc. are shown below. It should be noted that, except for the following, they will be described each time they appear below. (1) Automatic performance flag: This flag stores whether or not the automatic performance device is in the automatic performance mode. (2) Concert magic flag (CM flag): This automatic performance device is in the concert magic mode (CM mode)
Is a flag that stores whether or not (3) Address register: Holds an address (hereinafter referred to as "read address") in the automatic performance data memory 18 in which the automatic performance data currently being executed is stored. (4) Data read request flag: This is a flag that is set when a key is pressed, and the automatic performance data memory 1
8 is used to indicate that note data should be read. (5) Simultaneous press timer counter: A counter that is decremented each time a timer interrupt occurs, and is used to determine whether or not there is a simultaneous key press. (6) Rewind timer counter: A counter that is decremented each time a timer interrupt occurs, and is used to determine whether or not a fixed time has elapsed since the concert magic performance was stopped. (7) Clock counter: A counter that is incremented each time a timer interrupt occurs. (8) Read Timing Counter: This is a counter that is incremented at an interval (time corresponding to one step time) according to the tempo set at that time. When the content of the read timing counter changes, it is recognized that it is a timing (hereinafter, referred to as "check timing") for checking whether or not it is the sound generation timing. (9) Off counter: A register that stores the step value from the sound being sounded to the sound to be sounded next. At the start of sounding, the difference between the step time in the note data corresponding to the note and the step time in the note data corresponding to the note to be sounded next is set.

【0034】パネルインタフェース回路14には操作パ
ネル15が接続されている。操作パネル15には、何れ
も図示しないが、本自動演奏装置を制御するための各種
スイッチ、例えば自動演奏開始スイッチ、コンサートマ
ジックスイッチ(CMスイッチ)、選曲スイッチ、音色
選択スイッチ、音響効果指定スイッチ、音量スイッチ等
が設けられている。また、各スイッチの設定状態を表示
するLED表示器、演奏者が本自動演奏装置と対話する
ためのメッセージ等を表示するLCD表示器等が設けら
れている。
An operation panel 15 is connected to the panel interface circuit 14. Although not shown on the operation panel 15, various switches for controlling the present automatic performance device, for example, an automatic performance start switch, a concert magic switch (CM switch), a music selection switch, a tone color selection switch, a sound effect designation switch, A volume switch and the like are provided. Further, an LED display for displaying the setting state of each switch, an LCD display for displaying a message for the performer to interact with the automatic performance device, and the like are provided.

【0035】上記各種スイッチのうち、主要なスイッチ
について簡単に説明する。自動演奏開始スイッチは、演
奏者が自動演奏の開始又は停止を制御するために使用さ
れる。この自動演奏開始スイッチは、例えば押釦スイッ
チで構成することができる。この自動演奏開始スイッチ
の設定状態は、上述した自動演奏フラグによって記憶さ
れる。自動演奏フラグは、自動演奏開始スイッチが押さ
れる度に反転する。即ち、自動演奏停止中(自動演奏フ
ラグ=0)に自動演奏開始スイッチが押されると自動演
奏フラグが「1」にセットされると共に自動演奏が開始
される。一方、自動演奏中(自動演奏フラグ=1)に自
動演奏開始スイッチが押されると自動演奏フラグが
「0」にクリアされると共に自動演奏が停止される。
Of the various switches described above, the main switches will be briefly described. The automatic performance start switch is used by the performer to control the start or stop of the automatic performance. This automatic performance start switch can be constituted by, for example, a push button switch. The setting state of the automatic performance start switch is stored by the automatic performance flag described above. The automatic performance flag is inverted every time the automatic performance start switch is pressed. That is, when the automatic performance start switch is pressed while the automatic performance is stopped (automatic performance flag = 0), the automatic performance flag is set to "1" and the automatic performance is started. On the other hand, when the automatic performance start switch is pressed during automatic performance (automatic performance flag = 1), the automatic performance flag is cleared to "0" and the automatic performance is stopped.

【0036】CMスイッチは、コンサートマジック機能
を使用するかどうかを指定するために使用される。この
CMスイッチは、例えば押釦スイッチで構成することが
できる。このCMスイッチの設定状態は、上述したCM
フラグによって記憶される。CMフラグは、CMスイッ
チが押される度に反転する。即ち、CMモードでない時
(CMフラグ=0)にCMスイッチが押されるとCMフ
ラグが「1」にセットされてCMモードに移る。一方、
CMモードの時(CMフラグ=1)にCMスイッチが押
されるとCMフラグが「0」にクリアされて通常演奏モ
ードに移る。
The CM switch is used to specify whether to use the concert magic function. This CM switch can be configured by, for example, a push button switch. The setting state of this CM switch is the above-mentioned CM.
Stored by flag. The CM flag is inverted each time the CM switch is pressed. That is, when the CM switch is pressed while not in the CM mode (CM flag = 0), the CM flag is set to "1" and the CM mode is entered. on the other hand,
When the CM switch is pressed in the CM mode (CM flag = 1), the CM flag is cleared to "0" and the normal performance mode is entered.

【0037】上記パネルインタフェース回路14は、C
PU10からの指令に応じて操作パネル15上の各スイ
ッチをスキャンする。パネルインタフェース回路14
は、このスキャンにより得られた各スイッチの開閉状態
を示す信号に基づいて、各スイッチを1ビットに対応さ
せたパネルデータを作成する。各ビットは、例えば
「1」でオン、「0」でオフ状態を表す。このパネルデ
ータは、システムバス30を介してCPU10に送られ
る。このパネルデータは、操作パネル15上のスイッチ
のオン又はオフイベントが発生したかどうかを判断する
ために使用される(詳細は後述する)。
The panel interface circuit 14 has a C
Each switch on the operation panel 15 is scanned according to a command from the PU 10. Panel interface circuit 14
Creates panel data in which each switch corresponds to one bit based on a signal indicating the open / closed state of each switch obtained by this scan. Each bit represents, for example, "1" to be on, and "0" to be off. This panel data is sent to the CPU 10 via the system bus 30. This panel data is used to determine whether an on or off event of a switch on the operation panel 15 has occurred (details will be described later).

【0038】また、パネルインタフェース回路14は、
CPU10から送られてきた表示データを操作パネル1
5上の表示器に送る。これにより、CPU10から送ら
れてきた例えば文字データに従ったメッセージが図示し
ないLCD表示器に表示され、また図示しないLED表
示器等が点灯/消灯される。
Further, the panel interface circuit 14 is
The display data sent from the CPU 10 is transmitted to the operation panel 1
5 Send to the display above. As a result, a message according to, for example, character data sent from the CPU 10 is displayed on an LCD display (not shown), and an LED display (not shown) is turned on / off.

【0039】鍵盤インタフェース回路16には鍵盤装置
17が接続されている。鍵盤装置17は複数の鍵を有し
ている。この鍵盤装置17は、通常は、押鍵によって当
該鍵に対応する音の発音を指示し、離鍵によって当該鍵
に対応する音の消音を指示するために使用される。一
方、CMモードにおいては、自動演奏を進めるトリガー
(より具体的には、次の音符データを読み出すトリガ
ー)として使用される。この鍵盤装置17としては、例
えば、異なる押圧深さでそれぞれオンになる第1及び第
2のキースイッチを各鍵に備えた2接点方式の鍵盤装置
を用いることができる。
A keyboard device 17 is connected to the keyboard interface circuit 16. The keyboard device 17 has a plurality of keys. The keyboard device 17 is usually used for instructing the sound generation of a sound corresponding to the key by pressing the key and for muting the sound corresponding to the key by releasing the key. On the other hand, in the CM mode, it is used as a trigger for advancing the automatic performance (more specifically, a trigger for reading the next note data). As the keyboard device 17, for example, a two-contact type keyboard device in which first and second key switches that are turned on at different pressing depths are provided for each key can be used.

【0040】本発明の押鍵検出手段は、上記鍵盤インタ
フェース回路16及びCPU10によって実現されてい
る。上記鍵盤インタフェース回路16は、CPU10か
らの指令に応じて鍵盤装置17上の各キースイッチをス
キャンする。鍵盤インタフェース回路16は、このスキ
ャンにより得られた各キースイッチの開閉状態を示す信
号に基づいて鍵盤データを作製する。鍵盤データは、各
鍵を1ビットに対応させたビット列で成り、各ビット
は、例えば「1」で押鍵中、「0」で離鍵中であること
を表す。この際、例えば第1及び第2のキースイッチの
双方がオンになっている場合に押鍵中であることを表す
「1」のデータを作製し、それ以外の場合は離鍵中であ
ることを表す「0」のデータを作製するように構成でき
る。
The key depression detecting means of the present invention is realized by the keyboard interface circuit 16 and the CPU 10. The keyboard interface circuit 16 scans each key switch on the keyboard device 17 in response to a command from the CPU 10. The keyboard interface circuit 16 creates keyboard data based on the signal indicating the open / closed state of each key switch obtained by this scanning. The keyboard data consists of a bit string in which each key is associated with 1 bit, and each bit represents, for example, "1" indicating that a key is being pressed and "0" indicating that a key is being released. At this time, for example, when both the first and second key switches are turned on, data of "1" indicating that the key is being pressed is created, and in other cases, the key is being released. Can be configured to produce "0" data.

【0041】また、鍵盤インタフェース回路16では、
押鍵によって第1のキースイッチがオンになってから第
2のキースイッチがオンになるまでの時間が計測され、
この計測された時間に基づいてベロシティデータが作製
される。これら鍵盤データ及びベロシティデータは、シ
ステムバス30を介してCPU10に送られる。CPU
10は、鍵盤データに基づいて鍵盤イベントがあったか
どうかを判断する(詳細は後述する)。なお、鍵盤イン
タフェース回路16及び鍵盤装置17は、電子弦楽器、
電子管楽器、電子打楽器、コンピュータのキーボードで
代用することができる。この場合、これらの電子弦楽器
等からは、上記鍵盤データ及びベロシティデータに相当
するデータがCPU10に送られる。そして、CPU1
0は、これらのデータに基づいてイベントの有無を判断
するように構成できる。
Further, in the keyboard interface circuit 16,
The time from when the first key switch is turned on by pressing the key until the second key switch is turned on is measured,
Velocity data is created based on this measured time. These keyboard data and velocity data are sent to the CPU 10 via the system bus 30. CPU
10 determines whether or not there is a keyboard event based on the keyboard data (details will be described later). The keyboard interface circuit 16 and the keyboard device 17 are electronic string instruments,
Electronic wind instruments, electronic percussion instruments, and computer keyboards can be substituted. In this case, data corresponding to the above keyboard data and velocity data is sent to the CPU 10 from these electronic string instruments and the like. And CPU1
0 can be configured to determine the presence or absence of an event based on these data.

【0042】自動演奏データメモリ18は記憶手段に対
応するものであり、例えばROMで構成することができ
る。この自動演奏データメモリ18には、複数の曲に対
応する自動演奏データが記憶されている。これらの自動
演奏データは、通常の自動伴奏、コンサートマジック機
能を使用した自動演奏、デモンストレーション演奏等に
使用される。各自動演奏データは、「ソング番号」と呼
ばれる識別子が付されており、ユーザは操作パネル15
上の選曲スイッチを用いてソング番号を指定することに
より任意の曲を選択できる。これら各曲に対応する自動
演奏データは、従来の技術の欄で説明したと同様に、音
符データの集合で構成されている。なお、この自動演奏
データメモリ18は、RAM、ROMカード、RAMカ
ード、フロッピーディスク、CD−ROM等で構成する
ことができる。自動演奏データメモリ18としてフロッ
ピーディスク、CD−ROMを用いた場合は、これらに
記憶された自動演奏データを一旦RAMにロードし、R
AM内の自動演奏データにアクセスするように構成する
のが好ましい。
The automatic performance data memory 18 corresponds to a storage means, and can be constituted by, for example, a ROM. The automatic performance data memory 18 stores automatic performance data corresponding to a plurality of songs. These automatic performance data are used for normal automatic accompaniment, automatic performance using the concert magic function, demonstration performance, and the like. An identifier called “song number” is attached to each automatic performance data, and the user can operate the operation panel 15
Any song can be selected by specifying the song number using the above song selection switch. The automatic performance data corresponding to each of these pieces of music is composed of a set of note data, as described in the section of the prior art. The automatic performance data memory 18 can be composed of a RAM, a ROM card, a RAM card, a floppy disk, a CD-ROM or the like. When a floppy disk or a CD-ROM is used as the automatic performance data memory 18, the automatic performance data stored therein is temporarily loaded into the RAM, and R
It is preferably arranged to access the automatic performance data in the AM.

【0043】波形メモリ19は、各音色パラメータに対
応する波形データを記憶している。波形データは、例え
ば自然楽器音を録音して得られた楽音信号をパルスコー
ド変調(PCM)することによって作製することができ
る。この波形メモリ19は、例えばROMで構成するこ
とができる。この波形メモリ19に記憶された波形デー
タは、音源20によって読み出される。
The waveform memory 19 stores waveform data corresponding to each timbre parameter. The waveform data can be created by pulse code modulation (PCM) of a musical tone signal obtained by recording a natural musical instrument sound, for example. The waveform memory 19 can be composed of, for example, a ROM. The waveform data stored in the waveform memory 19 is read by the sound source 20.

【0044】音源20は複数のオシレータを備えてい
る。この音源20は、詳細は図示しないが、波形メモリ
19から波形データを読み出す波形読出回路、この波形
読出回路で読み出された波形データにエンベロープを付
加するためのエンベロープ生成回路等により構成されて
いる。CPU10は、鍵盤装置17の押鍵、外部インタ
フェース回路11からのノートオンデータの受信、又は
音符データの読み出しがあると、少なくとも1個のオシ
レータを発音用に割り当て、この割り当てられたオシレ
ータに音色パラメータを供給する。この音源20の中の
発音が割り当てられたオシレータは、音色パラメータを
受け取ることによりデジタル楽音信号の生成を開始す
る。即ち、波形メモリ19から波形データを順次読み出
し、これにエンベロープを付加してデジタル楽音信号を
生成する。
The sound source 20 has a plurality of oscillators. Although not shown in detail, the sound source 20 is composed of a waveform reading circuit for reading waveform data from the waveform memory 19, an envelope generation circuit for adding an envelope to the waveform data read by the waveform reading circuit, and the like. . When there is a key depression of the keyboard device 17, reception of note-on data from the external interface circuit 11, or reading of note data, the CPU 10 assigns at least one oscillator for sound generation, and assigns a tone color parameter to the assigned oscillator. To supply. The oscillator to which the sound in the sound source 20 is assigned starts to generate a digital musical tone signal by receiving the tone color parameter. That is, the waveform data is sequentially read from the waveform memory 19 and the envelope is added to this to generate a digital tone signal.

【0045】この音源20で生成されたデジタル楽音信
号はD/A変換器21でアナログ信号に変換され、次い
で、増幅器22で増幅されてスピーカ23に送られる。
そして、スピーカ23で音響信号に変換されて放音され
る。
The digital tone signal generated by the sound source 20 is converted into an analog signal by the D / A converter 21, then amplified by the amplifier 22 and sent to the speaker 23.
Then, the speaker 23 converts the sound signal and outputs the sound.

【0046】次に、上記構成において、図2〜図10に
示したフローチャートを参照しながら本自動演奏装置の
動作について説明する。なお、各フローチャートに示さ
れた動作は、何れもCPU10の処理により実現される
ものである。
Next, the operation of the automatic musical instrument having the above-mentioned structure will be described with reference to the flow charts shown in FIGS. It should be noted that the operations shown in the respective flowcharts are all realized by the processing of the CPU 10.

【0047】(1)メイン処理 図2は本自動演奏装置のメインルーチンを示すフローチ
ャートである。このメインルーチンは電源の投入により
起動される。電源が投入されると、先ず、初期化処理が
行われる(ステップS10)。この初期化処理では、C
PU10の内部のハードウエアが初期状態に設定される
と共に、ワークメモリ13に定義されているレジスタ、
カウンタ、フラグ等に初期値が設定される。また、この
初期化処理では、音源20に所定のデータが送られるこ
とにより、電源投入時に不要な音が発生されるのを防止
するための処理が行われる。
(1) Main Processing FIG. 2 is a flow chart showing the main routine of the present automatic performance device. This main routine is started when the power is turned on. When the power is turned on, first, an initialization process is performed (step S10). In this initialization process, C
The internal hardware of the PU 10 is set to the initial state, and the registers defined in the work memory 13
Initial values are set in counters, flags, and the like. Further, in this initialization processing, processing is performed to prevent generation of unnecessary sound when power is turned on by sending predetermined data to the sound source 20.

【0048】この初期化処理が終了すると、次いで、ス
イッチイベント処理が行われる(ステップS11)。こ
のスイッチイベント処理では、先ず、スイッチイベント
の有無が調べられる。即ち、CPU10は、後述するタ
イマ割込処理において一定周期で更新されるスキャンバ
ッファから1つのパネルデータ(以下、「新パネルデー
タ」という。)を取り出し、ワークメモリ13に設けら
れた新パネルデータレジスタに格納する。次いで、この
新パネルデータと、前回のスイッチイベント処理で取り
込まれて既にワークメモリ13に設けられた旧パネルデ
ータレジスタに記憶されているパネルデータ(以下、
「旧パネルデータ」という。)との排他的論理和をとっ
てパネルイベントマップを作製する。このパネルイベン
トマップがゼロであればスイッチイベントは発生しなか
ったものと判断され、ゼロでなければスイッチイベント
が発生したものと判断される。
When this initialization process is completed, a switch event process is then performed (step S11). In this switch event process, first, the presence or absence of a switch event is checked. That is, the CPU 10 takes out one panel data (hereinafter, referred to as “new panel data”) from the scan buffer which is updated at a constant cycle in the timer interrupt process described later, and the new panel data register provided in the work memory 13. To store. Next, the new panel data and the panel data (hereinafter, referred to as “the panel data” stored in the old panel data register already provided in the work memory 13 and fetched by the previous switch event process)
It is called "old panel data". ) And an exclusive OR of the panel event map. If this panel event map is zero, it is determined that the switch event has not occurred, and if it is not zero, it is determined that the switch event has occurred.

【0049】例えば、パネルイベントマップ中の自動演
奏開始スイッチに対応するビットが「1」であり、且つ
新パネルデータ中の自動演奏開始スイッチに対応するビ
ットが「1」であれば、自動演奏開始スイッチのオンイ
ベントが発生したものと判断され、自動演奏フラグが反
転される。この反転によって自動演奏フラグが「1」に
された時は、その時点で選択されているソング番号で指
定される曲の自動演奏データの先頭アドレスがアドレス
レジスタにセットされる。これにより、自動演奏データ
の読出アドレスが決定される。なお、「その時点で選択
されているソング番号」は、予め行われた操作パネル1
5上の選曲スイッチの操作によって、ワークメモリ13
に定義されたソング番号レジスタにセットされている。
For example, if the bit corresponding to the automatic performance start switch in the panel event map is "1" and the bit corresponding to the automatic performance start switch in the new panel data is "1", the automatic performance start is started. It is determined that a switch on event has occurred, and the automatic performance flag is inverted. When the automatic performance flag is set to "1" by this inversion, the start address of the automatic performance data of the music designated by the song number selected at that time is set in the address register. As a result, the read address of the automatic performance data is determined. In addition, "the song number selected at that time" is the operation panel 1 previously performed.
By operating the song selection switch on 5, the work memory 13
It is set in the song number register defined in.

【0050】同様に、パネルイベントマップ中のCMス
イッチに対応するビットが「1」であり、且つ新パネル
データ中のCMスイッチに対応するビットが「1」であ
れば、CMスイッチのオンイベントが発生したものと判
断され、CMフラグが反転される。その他、例えば音色
選択スイッチのイベントであることが判断されると、現
在設定されている音色が、そのイベントが発生した音色
選択スイッチに対応する音色に変更される。このよう
に、スイッチイベント処理においては、操作パネル15
上の各スイッチに割り当てられている機能を実現するた
めの処理が実行される。そして、最後に、新パネルデー
タが旧パネルデータレジスタに移動され、スイッチイベ
ント処理は終了する。
Similarly, if the bit corresponding to the CM switch in the panel event map is "1" and the bit corresponding to the CM switch in the new panel data is "1", the on event of the CM switch is It is determined that it has occurred, and the CM flag is inverted. In addition, for example, when it is determined that the event is a tone color selection switch event, the currently set tone color is changed to the tone color corresponding to the tone color selection switch in which the event occurred. Thus, in the switch event processing, the operation panel 15
Processing for implementing the function assigned to each switch above is executed. Then, finally, the new panel data is moved to the old panel data register, and the switch event process ends.

【0051】メインルーチンでは、次いで、鍵盤イベン
ト処理が行われる(ステップS12)。この鍵盤イベン
ト処理では、先ず、鍵盤イベントの有無が調べられる。
即ち、CPU10は、鍵盤インタフェース回路16から
鍵盤データ(以下、「新鍵盤データ」という。)を取り
込み、ワークメモリ13に設けられた新鍵盤データレジ
スタに格納する。次いで、この新鍵盤データと、前回の
鍵盤イベント処理で取り込まれて既にワークメモリ13
に設けられた旧鍵盤データレジスタに記憶されている鍵
盤データ(以下、「旧鍵盤データ」という。)との排他
的論理和をとって鍵盤イベントマップを作製する。そし
て、このイベントマップ中に「1」であるビットが存在
すれば、そのビットに対応する鍵のイベントが発生した
と判断され、存在しなければ鍵盤イベントは発生しなか
ったものと判断される。次いで、その鍵盤イベントは押
鍵イベントであるか離鍵イベントであるかが調べられ
る。これは、鍵盤イベントマップ中で「1」になってい
るビットに対応する新鍵盤データ中のビットを調べるこ
とにより行われる。即ち、新鍵盤データ中の対応するビ
ットが「1」であれば押鍵イベントがあったものと判断
されて押鍵イベント処理が行われる。一方、「0」であ
れば離鍵イベントがあったものと判断されて離鍵イベン
ト処理が行われる。これら押鍵イベント処理及び離鍵イ
ベント処理の詳細は後述する。
In the main routine, keyboard event processing is then performed (step S12). In this keyboard event process, the presence or absence of a keyboard event is first checked.
That is, the CPU 10 fetches keyboard data (hereinafter referred to as “new keyboard data”) from the keyboard interface circuit 16 and stores it in a new keyboard data register provided in the work memory 13. Next, this new keyboard data and the work memory 13 already loaded by the previous keyboard event processing are stored.
The keyboard event map is created by exclusive ORing with the keyboard data stored in the old keyboard data register (hereinafter referred to as "old keyboard data"). If a bit of "1" exists in this event map, it is determined that a key event corresponding to the bit has occurred, and if not, it is determined that no keyboard event has occurred. Then, it is checked whether the keyboard event is a key pressing event or a key releasing event. This is done by looking up the bit in the new keyboard data that corresponds to the bit that is "1" in the keyboard event map. That is, if the corresponding bit in the new keyboard data is "1", it is determined that there is a key depression event, and the key depression event process is performed. On the other hand, if "0", it is determined that there is a key release event, and the key release event process is performed. Details of the key press event processing and the key release event processing will be described later.

【0052】次いで、MIDI処理が行われる(ステッ
プS13)。このMIDI処理においては、外部インタ
フェース回路11で受信されたMIDIデータに基づき
発音・消音等が行われる。このMIDI処理自体は、本
発明とは直接関係しないので説明は省略する。
Next, MIDI processing is performed (step S13). In this MIDI processing, sounding and muting are performed based on the MIDI data received by the external interface circuit 11. This MIDI processing itself is not directly related to the present invention, so its explanation is omitted.

【0053】次いで、自動演奏処理が行われる(ステッ
プS14)。この自動演奏処理では、コンサートマジッ
ク演奏処理、自動伴奏処理、デモンストレーション処理
等が行われる。これらの詳細については後述する。
Then, an automatic performance process is performed (step S14). In this automatic performance processing, concert magic performance processing, automatic accompaniment processing, demonstration processing and the like are performed. Details of these will be described later.

【0054】次いで、「その他の処理」が実行される
(ステップS15)。この「その他の処理」では、上述
した以外の処理、例えばスイッチを押し続けた場合の特
殊な動作を実現するための処理等といった、メインルー
チンで定期的なチェックが必要な処理が行われる。その
後ステップS11に戻り、以下ステップS11〜S15
の処理が繰り返される。この繰り返し実行の過程で、ス
イッチイベント若しくは鍵盤イベントが発生し、又は外
部インタフェース回路11でデータを受信すると、それ
らに応じた処理が行われ、また自動演奏データに基づく
発音処理が行われる。これにより自動演奏装置としての
各種機能が実現されている。
Then, "other processing" is executed (step S15). In this "other processing", processing other than the above-mentioned processing, for example, processing for realizing a special operation when the switch is kept pressed, or the like, which requires regular checks in the main routine, is performed. After that, the process returns to step S11, and the following steps S11 to S15.
Is repeated. When a switch event or a keyboard event occurs or data is received by the external interface circuit 11 in the course of this repeated execution, processing corresponding to them is performed, and sound generation processing based on automatic performance data is performed. As a result, various functions as an automatic performance device are realized.

【0055】(2)タイマ割込処理 タイマ割込処理は、タイマ10aから発生された割込信
号に応じて、上記メインルーチンの各処理に割り込んで
実行される。このタイマ割込処理の詳細は、図3のフロ
ーチャートに示されている。
(2) Timer Interrupt Processing The timer interrupt processing is executed by interrupting each processing of the main routine according to an interrupt signal generated from the timer 10a. Details of this timer interrupt processing are shown in the flowchart of FIG.

【0056】このタイマ割込処理では、先ず、パネルス
キャンが行われる(ステップS20)。即ち、CPU1
0は、パネルインタフェース回路14からパネルデータ
を取り込み、例えばワークメモリ13上に形成されたス
キャンバッファに順次蓄積する。このスキャンバッファ
は、例えばCPU10の制御の下で動作するFIFOメ
モリとして構成できる。なお、このワークメモリ13上
にFIFOメモリを形成する代わりにFIFO素子を用
いてスキャンバッファを構成してもよい。次いで、クロ
ックカウンタの内容がインクリメントされる(ステップ
S21)。従って、このクロックカウンタは、例えば2
ミリ秒毎にインクリメントされることになる。
In this timer interrupt process, first, a panel scan is performed (step S20). That is, CPU1
0 captures panel data from the panel interface circuit 14 and sequentially stores it in a scan buffer formed on the work memory 13, for example. This scan buffer can be configured as a FIFO memory that operates under the control of the CPU 10, for example. Instead of forming a FIFO memory on the work memory 13, a FIFO buffer may be used to form a scan buffer. Next, the content of the clock counter is incremented (step S21). Therefore, this clock counter is, for example, 2
It will be incremented every millisecond.

【0057】次いで、クロックカウンタの内容が所定値
になったかどうかが調べられる(ステップS22)。こ
こに所定値とは、その時点で設定されているテンポ(ワ
ークメモリ13に設けられたテンポレジスタに記憶され
ている)における1ステップタイムに相当する値をい
う。そして、所定値であることが判断されると、読出タ
イミングカウンタの内容がインクリメントされる(ステ
ップS23)。この読出タイミングカウンタの内容は、
後述する自動演奏処理において参照され、上述したチェ
ックタイミングが到来したかどうかを判断するために使
用される。このチェックタイミングは、ゲートタイムを
デクリメントするタイミングとしても使用される。上記
ステップS22で所定値でないことが判断されるとステ
ップS23の処理はスキップされる。
Then, it is checked whether or not the content of the clock counter has reached a predetermined value (step S22). Here, the predetermined value is a value corresponding to one step time in the tempo set at that time (stored in the tempo register provided in the work memory 13). When it is determined that the value is the predetermined value, the content of the read timing counter is incremented (step S23). The contents of this read timing counter are
It is referred to in an automatic performance process, which will be described later, and is used to determine whether or not the above-described check timing has arrived. This check timing is also used as the timing for decrementing the gate time. If it is determined in step S22 that the value is not the predetermined value, the process of step S23 is skipped.

【0058】次いで、コンサートマジック同時押しタイ
マ処理が行われる(ステップS24)。この処理では、
同時押しタイマカウンタの内容がデクリメントされる。
次いで、コンサートマジック巻戻しタイマ処理が行われ
る(ステップS25)。この処理では、巻戻しタイマカ
ウンタの内容がデクリメントされる。その後、このタイ
マ割込処理ルーチンからリターンして、メインルーチン
の割り込まれた位置に戻る。なお、本実施の形態では、
パネルスキャンはタイマ割込処理内で行うように構成し
ているが、メインルーチン(図2)のスイッチイベント
処理(ステップS11)内で行うように構成してもよ
い。
Next, a concert magic simultaneous pressing timer process is performed (step S24). In this process,
The contents of the simultaneous push timer counter are decremented.
Next, a concert magic rewind timer process is performed (step S25). In this process, the contents of the rewind timer counter are decremented. After that, the process returns from this timer interrupt processing routine and returns to the interrupted position of the main routine. In the present embodiment,
Although the panel scan is configured to be performed in the timer interrupt process, it may be configured to be performed in the switch event process (step S11) of the main routine (FIG. 2).

【0059】(3)押鍵イベント処理 押鍵イベント処理の詳細は、図4のフローチャートに示
されている。押鍵イベント処理では、先ず、コンサート
マジックモード(CMモード)であるかどうかが調べら
れる(ステップS31)。これは、CMフラグを調べる
ことにより行われ、以下においても同じである。ここ
で、CMモードでないことが判断されると、押鍵に応じ
た通常の発音処理が行われる(ステップS39)。この
通常の発音処理では、押鍵イベントのあった鍵のキーナ
ンバが算出されると共に、鍵盤インタフェース回路16
から当該鍵に対応するベロシティデータが読み込まれ
る。そして、このキーナンバに対応する音色パラメータ
がプログラムメモリ12から読み出され、ベロシティデ
ータと一緒に音源20に送られる。これにより、押鍵に
応じた音が押鍵に応じた強さでスピーカ23から発生さ
れる。
(3) Key Press Event Processing Details of the key press event processing are shown in the flowchart of FIG. In the key-depression event process, it is first checked whether or not the concert magic mode (CM mode) is set (step S31). This is done by examining the CM flag, and so on. Here, if it is determined that the CM mode is not set, a normal sounding process corresponding to the key depression is performed (step S39). In this normal sound generation processing, the key number of the key having the key depression event is calculated, and the keyboard interface circuit 16
The velocity data corresponding to the key is read from. Then, the timbre parameter corresponding to the key number is read from the program memory 12 and sent to the sound source 20 together with the velocity data. As a result, the sound corresponding to the key depression is generated from the speaker 23 with the strength corresponding to the key depression.

【0060】上記ステップS31でCMモードであるこ
とが判断されると、次いで自動演奏中であるかどうかが
調べられる(ステップS32)。これは自動演奏フラグ
を調べることにより行われ、以下においても同じであ
る。ここで、自動演奏中であることが判断されると、ス
テップS39へ分岐し、通常の発音処理が行われる。こ
れにより、CMモードであって自動演奏中であれば、鍵
盤操作に応じた音が発生されることになる。従って、後
述する離鍵イベント処理における通常の消音処理(ステ
ップS55)と相俟って、演奏者は、例えば自動演奏を
バックに鍵盤装置17によるメロディ演奏等ができるよ
うになっている。
When it is determined in step S31 that the CM mode is set, it is then checked whether or not the automatic performance is being performed (step S32). This is done by looking at the automatic performance flag, and so on. Here, if it is determined that the automatic performance is being performed, the process branches to step S39, and normal sound generation processing is performed. As a result, in the CM mode and during automatic performance, a sound corresponding to the keyboard operation is generated. Therefore, in combination with the normal mute processing (step S55) in the key release event processing, which will be described later, the player can play a melody or the like by the keyboard device 17 with the automatic performance as a background, for example.

【0061】一方、ステップS32で自動演奏中でない
ことが判断されると、以下、コンサートマジック機能を
実現するための処理が行われる。即ち、先ず、ベロシテ
ィとキーナンバのセーブが行われる(ステップS3
3)。具体的には、押鍵イベントがあった鍵のキーナン
バが算出されると共に、鍵盤インタフェース回路16か
ら当該鍵に対応するベロシティデータが読み込まれ、ワ
ークメモリ13の所定のバッファ領域にセーブされる。
ここでセーブされたキーナンバは、本自動演奏装置がス
プリットモードで動作する場合に、後述するコンサート
マジックメイン処理において、押鍵に応じて自動演奏を
進めるかどうかを判断するために使用される。また、ベ
ロシティは、後述するコンサートマジックメイン処理に
おいて、音符データに基づく発音を行う際の音量を制御
するために使用される。
On the other hand, if it is determined in step S32 that the automatic performance is not being performed, then a process for realizing the concert magic function is performed. That is, first, the velocity and the key number are saved (step S3).
3). Specifically, the key number of the key having the key depression event is calculated, the velocity data corresponding to the key is read from the keyboard interface circuit 16, and is saved in a predetermined buffer area of the work memory 13.
The key number saved here is used in the concert magic main process, which will be described later, to determine whether or not to proceed with automatic performance when the automatic performance device operates in the split mode. Further, the velocity is used to control the volume when performing sound generation based on the note data in the concert magic main process described later.

【0062】次いで、2鍵以上の同時押しであるかどう
かが調べられる(ステップS34)。これは、前回の押
鍵から今回の押鍵までに所定時間、例えば30ミリ秒程
度が経過しているかどうかを調べることによって判断さ
れる。より具体的には、前回の押鍵イベント処理でセッ
トされた同時押しタイマカウンタの内容がゼロになって
いるかどうかを調べることにより行われる。そして、同
時押しであることが判断されると、押鍵に対する処理は
行わずにこの押鍵イベント処理ルーチンからリターンし
てメインルーチンに戻る。即ち、同時押しであることが
判断されると、後の押鍵は無視されることになる。この
ように、1つの押鍵があってから次の押鍵までに所定時
間が経過していない場合は、後の押鍵を無視することに
より、例えば誤って2鍵以上を同時に押したような場合
に、自動演奏が誤って進んでしまうことを防止できるよ
うになっている。
Then, it is checked whether or not two or more keys are simultaneously pressed (step S34). This is judged by checking whether or not a predetermined time, for example, about 30 milliseconds has elapsed from the previous key depression to the current key depression. More specifically, this is performed by checking whether or not the content of the simultaneous pressing timer counter set in the previous key pressing event processing is zero. When it is determined that the keys are pressed simultaneously, the key pressing event processing routine is not performed and the processing returns to the main routine. That is, if it is determined that the keys are pressed simultaneously, the subsequent key pressing is ignored. In this way, when one key is pressed and the predetermined time has not elapsed until the next key is pressed, by ignoring the subsequent key presses, for example, two or more keys are mistakenly pressed at the same time. In this case, it is possible to prevent the automatic performance from accidentally advancing.

【0063】一方、同時押しでないことが判断される
と、先ず、データ読出リクエストフラグがセットされる
(ステップS35)。このデータ読出リクエストフラグ
は、後に行われる自動演奏処理で参照される。次いで、
同時押しタイマカウンタに所定値がセットされる(ステ
ップS36)。この所定値としては、上述したように、
例えば30ミリ秒程度の時間経過を計測するために必要
なデータが用いられる。次いで、巻戻しタイマカウンタ
に所定値がセットされる(ステップS37)。この所定
値としては、例えば1分程度の時間経過を計測するため
に必要なデータが用いられる。この巻戻しタイマは、後
述するように、自動演奏が所定時間が経過しても進行し
ない場合に、アドレスレジスタの内容を当該曲の自動演
奏データの先頭に戻すために使用される。次いで、テン
ポデータセット処理が行われる(ステップS38)。テ
ンポデータセット処理の詳細については、図5のフロー
チャートに示されている。
On the other hand, when it is determined that the simultaneous pressing is not performed, first, the data read request flag is set (step S35). This data read request flag is referred to in an automatic performance process performed later. Then
A predetermined value is set in the simultaneous pressing timer counter (step S36). As the predetermined value, as described above,
For example, the data necessary for measuring the elapsed time of about 30 milliseconds is used. Next, a predetermined value is set in the rewind timer counter (step S37). As this predetermined value, for example, data necessary for measuring the passage of time of about 1 minute is used. As will be described later, this rewind timer is used to return the contents of the address register to the beginning of the automatic performance data of the piece of music when the automatic performance does not proceed even after a lapse of a predetermined time. Next, tempo data set processing is performed (step S38). Details of the tempo data set processing are shown in the flowchart of FIG.

【0064】本発明のテンポ検出手段は、本テンポデー
タセット処理により実現されている。テンポデータセッ
ト処理では、先ず、新音符データ(当該押鍵イベント処
理において発音に供される音符データ)中のステップタ
イムデータが取り出される(ステップS40)。ここで
取り出されたステップタイムデータは、ワークメモリ1
3に設けられた新ステップタイムレジスタに格納され
る。次いで、ステップチェック値が算出される(ステッ
プS41)。即ち、新ステップタイムレジスタに格納さ
れた上記ステップタイムデータから、前回のテンポデー
タセット処理で取り出されて既にワークメモリ13に設
けられた旧ステップタイムレジスタに記憶されているス
テップタイムデータ(直前に発音処理がなされた音符デ
ータ中のステップタイムデータ)が減算される。そし
て、この減算により得られたデータがステップチェック
値として用いられる。
The tempo detecting means of the present invention is realized by this tempo data set processing. In the tempo data set process, first, step time data in new note data (note data used for sound generation in the key depression event process) is extracted (step S40). The step time data fetched here is the work memory 1
3 is stored in the new step time register. Next, the step check value is calculated (step S41). That is, from the above step time data stored in the new step time register, the step time data (previously sounded immediately before being taken out by the previous tempo data set process and stored in the old step time register already provided in the work memory 13) is generated. The step time data) of the processed note data is subtracted. Then, the data obtained by this subtraction is used as the step check value.

【0065】次いで、クロックカウンタの内容が取り出
される(ステップS42)。ここで取り出されたクロッ
クカウンタの内容は、ワークメモリ13に設けられた新
クロックレジスタに格納される。次いで、タイマチェッ
ク値が算出される(ステップS43)。即ち、新クロッ
クレジスタに格納された上記クロックデータから、前回
のテンポデータセット処理で取り出されて既にワークメ
モリ13に設けられた旧クロックレジスタに記憶されて
いるクロックデータ(直前に発音処理がなされた時に取
り出されたクロックデータ)が減算される。そして、こ
の減算により得られたデータがタイマチェック値として
用いられる。
Next, the contents of the clock counter are taken out (step S42). The contents of the clock counter fetched here are stored in a new clock register provided in the work memory 13. Next, the timer check value is calculated (step S43). That is, from the clock data stored in the new clock register, the clock data extracted in the previous tempo data set process and stored in the old clock register already provided in the work memory 13 (the sound generation process was performed immediately before was performed. The clock data taken out at times) is subtracted. Then, the data obtained by this subtraction is used as the timer check value.

【0066】次いで、テンポチェック値が算出される
(ステップS44)。このテンポチェック値は、例えば
下記(1)式により算出することができる。 テンポチェック値=ステップチェック値×K/タイマチェック値・・・(1) ここに、Kは適当な大きさのテンポチェック値を得るた
めの定数である。
Then, the tempo check value is calculated (step S44). This tempo check value can be calculated, for example, by the following equation (1). Tempo check value = step check value × K / timer check value (1) Here, K is a constant for obtaining a tempo check value of an appropriate size.

【0067】上記(1)式に基づき計算されたテンポチ
ェック値は、単位時間当たりのステップ値を示してい
る。従って、このテンポチェック値に基づいてテンポを
算出することができる。なお、テンポチェック値の求め
方は、上記(1)式による方法に限定されず、ステップ
チェック値とタイマチェック値との比率を算出できるよ
うな方法であれば如何なる方法をも用いることができ
る。
The tempo check value calculated based on the above equation (1) represents a step value per unit time. Therefore, the tempo can be calculated based on this tempo check value. Note that the method of obtaining the tempo check value is not limited to the method according to the above equation (1), and any method can be used as long as it can calculate the ratio of the step check value and the timer check value.

【0068】次いで、テンポ値が算出される(ステップ
S45)。テンポ値の算出は、例えば上記(1)式で求
められたテンポチェック値を適当な幅で量子化し、この
量子化された値によってテーブルを参照することにより
求めることができる。このテーブルには、上記量子化さ
れるべき各値に対応して予めテンポ値が記憶されてい
る。このテーブルは、予めプログラムメモリ12内に作
製しておけばよい。なお、テンポ値は、テーブル参照に
よらず、所定の計算式を用いて算出することもできる。
このステップS45で算出されるテンポ値は、押鍵の間
隔のばらつきにより音が早く途切れてしまうことを防止
するために、上記ステップチェック値とタイマチェック
値とから算出される正確なテンポ値よりも若干遅い値に
しておくことが好ましい。
Next, the tempo value is calculated (step S45). The tempo value can be calculated, for example, by quantizing the tempo check value obtained by the above equation (1) with an appropriate width and referring to the table with the quantized value. In this table, tempo values are stored in advance corresponding to the respective values to be quantized. This table may be created in the program memory 12 in advance. The tempo value can be calculated using a predetermined calculation formula instead of referring to the table.
The tempo value calculated in step S45 is more accurate than the accurate tempo value calculated from the step check value and the timer check value in order to prevent the sound from being interrupted early due to the variation in the key press interval. It is preferable to keep the value slightly slower.

【0069】このようにして算出されたテンポ値は、ワ
ークメモリ13に設けられたテンポレジスタに記憶され
る。このテンポレジスタの内容は、上述したタイマ割込
処理のステップS22において、クロックカウンタの内
容が所定値になったかどうかを判断するために参照され
る。次いで、データ更新処理が行われる(ステップS4
6)。即ち、新ステップタイムレジスタの内容が旧ステ
ップタイムレジスタに、新クロックレジスタの内容が旧
クロックレジスタにそれぞれ移動され、次回の押鍵時の
テンポデータセット処理に備えられる。その後、このテ
ンポデータセット処理ルーチンからリターンして押鍵イ
ベント処理ルーチンに戻り、押鍵イベント処理ルーチン
からもリターンしてメインルーチンに戻る。
The tempo value calculated in this manner is stored in the tempo register provided in the work memory 13. The contents of the tempo register are referred to in step S22 of the above-mentioned timer interrupt process to determine whether or not the contents of the clock counter have reached a predetermined value. Next, a data update process is performed (step S4).
6). That is, the contents of the new step time register are moved to the old step time register and the contents of the new clock register are moved to the old clock register, respectively, to prepare for the tempo data setting process at the next key depression. After that, the process returns from this tempo data set processing routine to return to the key pressing event processing routine, and also returns from the key pressing event processing routine to return to the main routine.

【0070】(4)離鍵イベント処理 離鍵イベント処理の詳細は、図6のフローチャートに示
されている。離鍵イベント処理では、先ず、コンサート
マジックモード(CMモード)であるかどうかが調べら
れる(ステップS51)。ここで、CMモードでないこ
とが判断されると、通常の消音処理が行われる(ステッ
プS55)。この消音処理では、離鍵イベントがあった
鍵のキーナンバが算出される。そして、このキーナンバ
に対応する発音中のオシレータに対し、高速で減衰する
エンベロープデータが送られる。これにより、離鍵に応
じて発音中の音が消音される。
(4) Key Release Event Processing Details of the key release event processing are shown in the flowchart of FIG. In the key release event processing, it is first checked whether or not the concert magic mode (CM mode) is set (step S51). Here, when it is determined that the CM mode is not set, normal muffling processing is performed (step S55). In this mute processing, the key number of the key having the key release event is calculated. Then, the envelope data that attenuates at a high speed is sent to the oscillator that is sounding and that corresponds to this key number. As a result, the sound being sounded is muted in response to the key release.

【0071】上記ステップS51でCMモードであるこ
とが判断されると、次いで自動演奏中であるかどうかが
調べられる(ステップS52)。ここで、自動演奏中で
あることが判断されると、ステップS55へ分岐し、通
常の消音処理が行われる。これにより、CMモードであ
って自動演奏中であれば、離鍵操作に応じた消音がなさ
れる。従って、上述した押鍵イベント処理における通常
の発音処理(ステップS39)と相俟って、例えば自動
演奏をバックに鍵盤装置17によるメロディ演奏等がで
きるようになっている。
When it is determined in step S51 that the CM mode is set, it is then checked whether or not the automatic performance is being performed (step S52). Here, if it is determined that the automatic performance is being performed, the process branches to step S55, and normal mute processing is performed. As a result, in the CM mode and during automatic performance, the sound is muted according to the key release operation. Therefore, in combination with the normal sounding process (step S39) in the above-mentioned key depression event process, for example, the melody performance by the keyboard device 17 can be performed with the automatic performance as the background.

【0072】一方、ステップS52で自動演奏中でない
ことが判断されると、この離鍵イベント処理ルーチンか
らリターンしてメインルーチンに戻る。コンサートマジ
ックモードにおいては、発音中の音は、当該音に対応す
るゲートタイムが1ステップタイム毎にデクリメントさ
れ、ゼロになったときに消音される。この消音処理は、
後述するコンサートマジック演奏処理内において行われ
る。従って、離鍵イベントがあっても、当該離鍵イベン
トに関しては何等の処理も行われない。
On the other hand, when it is determined in step S52 that the automatic performance is not being performed, the key release event processing routine is returned to the main routine. In the concert magic mode, the sound being sounded is decremented every one step time of the gate time corresponding to the sound, and is muted when the gate time becomes zero. This muffling process
It is performed in the concert magic performance process described later. Therefore, even if there is a key release event, no processing is performed on the key release event.

【0073】(5)自動演奏処理 次に、メインルーチンのステップS14で行われる自動
演奏処理の詳細について説明する。この自動演奏処理で
は、上述したように、コンサートマジック演奏処理、自
動伴奏処理、デモンストレーション処理等が行われる
が、ここではコンサートマジック演奏処理の詳細につい
て説明し、自動伴奏処理及びデモンストレーション処理
については説明を省略する。コンサートマジック演奏処
理の詳細は図7のフローチャートに示されている。
(5) Automatic Performance Processing Next, details of the automatic performance processing performed in step S14 of the main routine will be described. In this automatic performance process, as described above, the concert magic performance process, the automatic accompaniment process, the demonstration process, etc. are performed. Here, the details of the concert magic performance process will be described, and the automatic accompaniment process and the demonstration process will be described. Omit it. Details of the concert magic performance process are shown in the flowchart of FIG.

【0074】コンサートマジック演奏処理では、先ず、
自動演奏中であるかどうかが調べられる(ステップS6
1)。そして、自動演奏中であることが判断されると、
通常の自動演奏処理が行われる(ステップS62)。こ
の通常の自動演奏処理では、チェックタイミングにおい
て音符データ中のステップタイムデータとステップタイ
ムカウンタの内容とが比較され、これらが一致した時に
発音タイミングが到来したと判断されて自動演奏データ
メモリ18から音符データが読み出される。そして、こ
の音符データに基づいて発音が行われる。これにより、
自動演奏データ本来の発音タイミング(ステップタイ
ム)に従った自動演奏が所定のテンポに従って行われる
ことになる。この通常の自動演奏処理の内容は周知であ
るので詳細な説明は省略する。
In the concert magic performance processing, first,
It is checked whether or not the automatic performance is being performed (step S6).
1). Then, when it is determined that the automatic performance is being performed,
Normal automatic performance processing is performed (step S62). In this normal automatic performance processing, the step time data in the note data is compared with the contents of the step time counter at the check timing, and when they match, it is determined that the sound generation timing has arrived and the automatic performance data memory 18 outputs the musical note. The data is read. Then, sound is produced based on the note data. This allows
The automatic performance according to the original sounding timing (step time) of the automatic performance data is performed at a predetermined tempo. Since the contents of this normal automatic performance process are well known, detailed description will be omitted.

【0075】上記ステップS61で自動演奏中でないこ
とが判断されると、以下、コンサートマジック演奏処理
が行われる。即ち、先ず巻戻しタイマがゼロであるかど
うかが調べられる(ステップS63)。そして、巻戻し
タイマがゼロであることが判断されると、自動演奏デー
タの読出アドレス(アドレスレジスタの内容)がリセッ
トされる(ステップS64)。即ち、その時点で選択さ
れている曲の先頭アドレスが読出アドレスとしてアドレ
スレジスタにセットされる。これにより、所定時間(例
えば1分間)が経過しても鍵盤操作がなかった場合に、
次に鍵盤を操作した場合は曲の先頭からコンサートマジ
ック演奏が開始されるという機能が実現されている。上
記ステップS63で巻戻しタイマがゼロでないことが判
断されると、ステップS64はスキップされる。
When it is determined in step S61 that the automatic performance is not being performed, the concert magic performance process is performed. That is, it is first checked whether the rewind timer is zero (step S63). When it is determined that the rewind timer is zero, the read address (contents of the address register) of the automatic performance data is reset (step S64). That is, the start address of the music piece selected at that time is set in the address register as the read address. As a result, if there is no keyboard operation even after a lapse of a predetermined time (for example, 1 minute),
Next time, when the keyboard is operated, the concert magic performance is started from the beginning of the song. If it is determined in step S63 that the rewind timer is not zero, step S64 is skipped.

【0076】次いで、データ読出リクエストフラグが
「1」であるか、つまり押鍵があったかどうかが調べら
れる(ステップS65)。ここで、データ読出リクエス
トフラグが「0」であることが判断されると押鍵はなか
ったものと認識され、発音中の音をゲートタイムに従っ
て消音させる処理が行われる(ステップS66〜S7
0)。この処理では、発音中の音のゲートタイムが1ス
テップタイム毎に(テンポに比例した時間間隔で)デク
リメントされ、ゲートタイムがゼロになったら消音する
処理が行われる。本発明の第1の制御手段は、これらス
テップS66〜S70の処理により実現されている。
Then, it is checked whether or not the data read request flag is "1", that is, whether or not there is a key depression (step S65). Here, if it is determined that the data read request flag is "0", it is recognized that no key has been pressed, and a process of muting the sound being sounded according to the gate time is performed (steps S66 to S7).
0). In this process, the gate time of the sound being sounded is decremented at every step time (at a time interval proportional to the tempo), and a process of muting the sound when the gate time becomes zero is performed. The first control means of the present invention is realized by the processing of these steps S66 to S70.

【0077】即ち、先ず、読出タイミングカウンタの内
容がゼロであるかどうかが調べられる(ステップS6
6)。ここで、読出タイミングカウンタの内容がゼロで
あることが判断されると、何等の処理も行わずにこのコ
ンサートマジック演奏処理ルーチンからリターンしてメ
インルーチンに戻る。ここで、読出タイミングカウンタ
の内容がゼロであるということは、チェックタイミング
に至っていないことを意味する。換言すれば、前回のチ
ェックタイミングから1ステップタイム分の時間が経過
しておらず、ゲートタイムをデクリメントするタイミン
グに至っていないことを意味する。
That is, first, it is checked whether or not the content of the read timing counter is zero (step S6).
6). Here, if it is determined that the content of the read timing counter is zero, no processing is performed and the routine returns from the concert magic performance processing routine to the main routine. Here, the fact that the content of the read timing counter is zero means that the check timing has not been reached. In other words, it means that the time for one step time has not elapsed from the previous check timing, and the timing for decrementing the gate time has not come.

【0078】このコンサートマジック演奏処理ルーチン
はメインルーチンから所定周期でコールされ、押鍵がな
ければステップS66が所定周期で実行される。これと
並行して、タイマ割込処理ルーチンではクロックカウン
タの内容がインクリメントされ、前回のチェックタイミ
ングから1ステップタイム分の時間が経過すると読出タ
イミングカウンタの内容がインクリメントされる(図3
参照)。従って、前回のチェックタイミングから1ステ
ップタイムの時間が経過するとステップS66で読出タ
イミングカウンタの内容がゼロでないことが判断される
ことになる。このステップS66で読出タイミングカウ
ンタの内容がゼロでないことが判断されると、自動演奏
ゲートオフ処理が行われる(ステップS67)。自動演
奏ゲートオフ処理では、自動演奏アサイナで発音が割り
当てられて発音中であるチャンネルを探し、該当するチ
ャンネルがあればゲートタイムをデクリメントし、その
結果ゲートタイムがゼロになれば消音処理を行う。この
自動演奏ゲートオフ処理ルーチンは、チェックタイミン
グに至った時点でコールされるので、テンポに比例した
時間間隔、つまり1ステップタイム毎にゲートタイムを
デクリメントして消音させる機能が実現されている。こ
の自動演奏ゲートオフ処理の詳細は、図10フローチャ
ートに示されている。
This concert magic performance processing routine is called from the main routine in a predetermined cycle, and if there is no key depression, step S66 is executed in a predetermined cycle. In parallel with this, the content of the clock counter is incremented in the timer interrupt processing routine, and the content of the read timing counter is incremented when one step time has elapsed from the previous check timing (FIG. 3).
reference). Therefore, when one step time has elapsed from the previous check timing, it is determined in step S66 that the content of the read timing counter is not zero. If it is determined in step S66 that the content of the read timing counter is not zero, automatic performance gate-off processing is performed (step S67). In the automatic performance gate-off processing, the automatic performance assigner searches for a channel to which a sound is assigned and is sounding. If there is a corresponding channel, the gate time is decremented. As a result, the mute processing is performed. Since this automatic performance gate-off processing routine is called at the time when the check timing is reached, it has a function of decrementing the gate time at a time interval proportional to the tempo, that is, at each step time, and muting the sound. The details of this automatic performance gate-off processing are shown in the flowchart of FIG.

【0079】ここで、自動演奏ゲートオフ処理について
説明する。この自動演奏ゲートオフ処理では、先ず、当
該チャンネルが発音中であるかどうかが調べられる(ス
テップS100)。そして、発音中でないことが判断さ
れると、ステップS105へ分岐し、未処理のチャンネ
ルがあるかどうかが調べられる。そして、未処理のチャ
ンネルがないことが判断されると、この自動演奏ゲート
オフ処理ルーチンからリターンする。
Here, the automatic performance gate-off process will be described. In this automatic performance gate-off process, it is first checked whether or not the channel is sounding (step S100). When it is determined that the sound is not being generated, the process branches to step S105 to check whether there is an unprocessed channel. When it is determined that there is no unprocessed channel, the automatic performance gate off processing routine returns.

【0080】一方、ステップS105で未処理のチャン
ネルがあることが判断されると、ステップS100へ戻
って同様の処理が行われる。上記ステップS100で、
当該チャンネルが発音中であることが判断されると、次
いで、当該チャンネルのゲートタイムが「00H」(末
尾の「H」は16進数であることを示す。以下において
も同じ。)であるかどうかが調べられる(ステップS1
01)。ここで、ゲートタイムが「00H」であること
が判断されると、ステップS104へ分岐し、当該チャ
ンネルに対応する音の消音処理が行われる。この消音処
理は、上述した図6のステップS55における消音処理
と同様の方法で行われる。一方、ゲートタイムが「00
H」でないことが判断されると、当該チャンネルのゲー
トタイムがデクリメントされる(ステップS102)。
その後、ゲートタイムが「00H」であるかどうかが調
べられる(ステップS103)。ここで、ゲートタイム
が「00H」であることが判断されるとステップS10
4へ進み、消音処理が行われる。一方、ゲートタイムが
「00H」でないことが判断されると、ステップS10
5へ分岐し、上述したと同様の処理が行われる。
On the other hand, if it is determined in step S105 that there is an unprocessed channel, the process returns to step S100 and the same process is performed. In step S100 above,
When it is determined that the channel is sounding, whether or not the gate time of the channel is “00H” (“H” at the end indicates a hexadecimal number. The same applies below). Is checked (step S1
01). Here, if it is determined that the gate time is "00H", the process branches to step S104, and the sound deadening process of the sound corresponding to the channel is performed. This muffling process is performed by the same method as the muffling process in step S55 of FIG. 6 described above. On the other hand, the gate time is "00
If it is determined that it is not "H", the gate time of the channel is decremented (step S102).
Then, it is checked whether or not the gate time is "00H" (step S103). Here, if it is determined that the gate time is "00H", step S10 is performed.
Then, the process proceeds to 4, and the muffling process is performed. On the other hand, if it is determined that the gate time is not “00H”, step S10
The process branches to 5, and the same processing as described above is performed.

【0081】コンサートマジック演奏処理(図7)の説
明に戻る。自動演奏ゲートオフ処理(ステップS67)
が終了すると、次いで、オフカウンタの内容がゼロであ
るかどうかが調べられる(ステップS68)。そして、
ゼロでないことが判断されるとオフカウンタの内容がデ
クリメントされる(ステップS69)。一方、ゼロであ
ることが判断されるとステップS69の処理はスキップ
される。なお、オフカウンタは、後述するコンサートマ
ジックメイン処理においてセットされる。次いで、読出
タイミングカウンタの内容がデクリメントされる(ステ
ップS70)。その後、ステップS66に戻って同様の
処理を繰り返す。なお、通常は、読出タイミングカウン
タの内容は「+1」にしかならないが、何れかの処理に
多大な時間がかかり、読出タイミングカウンタの内容
が、「+2」以上になった場合は、ステップS66〜S
70が複数回繰り返される。これにより、ゲートタイム
がゼロになるまでの時間は、ゲートタイムデータで指定
された通りの時間となるように制御されることになる。
Returning to the explanation of the concert magic performance process (FIG. 7). Automatic performance gate off process (step S67)
When is finished, it is then checked whether or not the content of the off counter is zero (step S68). And
If it is determined that it is not zero, the contents of the off counter are decremented (step S69). On the other hand, if it is determined to be zero, the process of step S69 is skipped. The off counter is set in the concert magic main process described later. Next, the content of the read timing counter is decremented (step S70). Then, it returns to step S66 and repeats the same processing. Normally, the content of the read timing counter is only "+1", but if any of the processing takes a lot of time and the content of the read timing counter becomes "+2" or more, steps S66- are executed. S
70 is repeated a plurality of times. As a result, the time until the gate time becomes zero is controlled to be the time specified by the gate time data.

【0082】このように、ステップS66〜S70の処
理により、発音が開始された音は、当該音を発音する元
になった音符データ中のゲートタイムに応じた時間だけ
発音され、その後消音される機能が実現されている。従
って、演奏者が曲の途中で自動演奏を進める操作を止め
ても音が鳴り続けることはない。また、全鍵が離されて
も、既に発音中の音は、その離されたタイミングで直ち
に消音されることはないので、従来のように、音が途切
れてしまって滑らかな演奏ができないという問題は解消
される。
As described above, by the processing of steps S66 to S70, the sound whose sound is started is sounded only for the time corresponding to the gate time in the note data that is the source of the sound, and is then muted. The function is realized. Therefore, even if the performer stops the operation of advancing the automatic performance in the middle of the music, the sound does not continue to sound. Also, even if all keys are released, the sound that is already sounding will not be muted immediately at the time when it was released, so there is a problem that the sound will be interrupted and smooth performance will not be possible as in the past. Is eliminated.

【0083】一方、上記ステップS65で、データ読出
リクエストフラグが「1」であることが判断されると、
押鍵があったことが認識され、音符データに基づいた発
音処理等が行われる(ステップS71〜S75)。本発
明の第2の制御手段は、ステップS71〜S75の処理
により実現されている。
On the other hand, if it is determined in step S65 that the data read request flag is "1",
It is recognized that a key has been pressed, and sound generation processing based on the note data is performed (steps S71 to S75). The second control means of the present invention is realized by the processing of steps S71 to S75.

【0084】この処理では、先ず、オフカウンタがゼロ
であるかどうかが調べられる(ステップS71)。そし
て、ゼロでないことが判断されると自動演奏ゲートオフ
処理が行われる(ステップS72)。この処理は、上述
したステップS67で行われる処理と同じである。これ
により、既に発音中の音のゲートタイムがデクリメント
される。次いで、オフカウンタの内容がデクリメントさ
れ(ステップS73)、その後ステップS71に戻る。
以下、オフカウンタの内容がゼロになるまでステップS
71〜S73の処理が繰り返される。この繰り返しによ
り、本来の発音タイミングより早く押鍵された場合に、
早く押された分のゲートタイムが高速でデクリメントさ
れることになる。
In this process, it is first checked whether the off counter is zero (step S71). When it is determined that the value is not zero, the automatic performance gate off process is performed (step S72). This process is the same as the process performed in step S67 described above. This decrements the gate time of the note that is already being sounded. Next, the content of the off counter is decremented (step S73), and then the process returns to step S71.
Hereinafter, step S until the content of the off counter becomes zero
The processing from 71 to S73 is repeated. By repeating this, when the key is pressed earlier than the original sound timing,
The gate time that is pushed early will be decremented at high speed.

【0085】上記ステップS71でオフカウンタがゼロ
になったことが判断されると、コンサートマジックメイ
ン処理が行われる(ステップS74)。このコンサート
マジックメイン処理は、自動演奏データメモリ18から
1つの音符データを読み出して発音する処理である。こ
こで、コンサートマジックメイン処理の詳細について、
図8及び図9のフローチャートを参照しながら説明す
る。
When it is determined in step S71 that the off counter has reached zero, the concert magic main process is performed (step S74). This concert magic main process is a process of reading out one note data from the automatic performance data memory 18 and generating it. Here, for the details of the concert magic main processing,
This will be described with reference to the flowcharts of FIGS. 8 and 9.

【0086】コンサートマジックメイン処理では、先
ず、CMモードであるかどうかが調べられる(ステップ
S80)。ここで、CMモードでないことが判断される
と、このコンサートマジックメイン処理ルーチンからリ
ターンしてコンサートマジック演奏処理ルーチンに戻
る。つまり、CMモードでない場合は、押鍵があっても
自動演奏データに基づく発音処理は行われない。
In the concert magic main process, it is first checked whether or not the CM mode is set (step S80). If it is determined that the CM mode is not set, the routine returns from this concert magic main processing routine to the concert magic performance processing routine. That is, when the mode is not the CM mode, the tone generation process based on the automatic performance data is not performed even if the key is pressed.

【0087】上記ステップS80で、CMモードである
ことが判断されると、次いで、ステップが一致するかど
うかが調べられる(ステップS81)。即ち、アドレス
レジスタにセットされている読出アドレスで指定される
音符データ中のステップタイムデータがステップタイム
カウンタの内容と一致するかどうかが調べられる。ここ
で、一致しないことが判断されると、ステップタイムカ
ウンタの内容をインクリメントし(ステップS82)、
その後、このコンサートマジックメイン処理ルーチンか
らリターンしてコンサートマジック演奏処理ルーチンに
戻る。そして、コンサートマジック演奏処理ルーチンで
は、データ読出リクエストフラグが「1」であるかどう
かが調べられ(ステップS75)、「1」であればステ
ップS74に戻って以下同様の処理が繰り返される。以
上の繰り返し(ステップS74→S80→S81→S8
2→S75→S74→・・・・)により、ステップタイ
ムカウンタの内容が強制的にインクリメントされる。な
お、上記の繰り返し処理は、チェックタイミング又は発
音タイミングとは無関係に、CPU10の処理速度で行
われる。そして、ステップS81で、アドレスレジスタ
にセットされている読出アドレスで指定される音符デー
タ中のステップタイムがステップタイムカウンタの内容
と一致することが判断されると、音符データの読み出し
が行われる(ステップS83)。
When it is determined in step S80 that the mode is the CM mode, it is then checked whether or not the steps match (step S81). That is, it is checked whether or not the step time data in the note data designated by the read address set in the address register matches the contents of the step time counter. If it is determined that they do not match, the content of the step time counter is incremented (step S82),
Then, the routine returns from the concert magic main processing routine to return to the concert magic performance processing routine. Then, in the concert magic performance processing routine, it is checked whether or not the data read request flag is "1" (step S75). If it is "1", the process returns to step S74 and the same processing is repeated. Repeat the above (steps S74 → S80 → S81 → S8
2 → S75 → S74 → ...), the contents of the step time counter are forcibly incremented. The above-mentioned repetitive processing is performed at the processing speed of the CPU 10 regardless of the check timing or the sound generation timing. When it is determined in step S81 that the step time in the note data designated by the read address set in the address register matches the content of the step time counter, the note data is read (step S83).

【0088】次いで、読み出された音符データがノート
データであるかどうかが調べられる(ステップS8
4)。これは、例えば、音符データの第1バイト目(キ
ーナンバ)のMSBを調べることにより行われる。ここ
で、ノートデータでないことが判断されるとシステム処
理が行われる(ステップS85)。このシステム処理で
は、例えば音色変更、効果変更等の処理が行われる。
Next, it is checked whether the read note data is note data (step S8).
4). This is performed, for example, by checking the MSB of the first byte (key number) of the note data. If it is determined that the data is not note data, system processing is performed (step S85). In this system processing, for example, processing such as tone color change and effect change is performed.

【0089】上記ステップS84でノートデータである
ことが判断されると、次いで、パートナンバが「7」で
あるかどうかが調べられる(ステップS86)。これ
は、例えば音符データの第4バイト目の下位3ビットを
参照することにより行われる。ここに、パートナンバ
「7」はドラムチャンネルに割り当てられているパート
である。そして、パートナンバ「7」であることが判断
されると、ドラムチャンネルセット処理が行われる(ス
テップS87)。この処理は、音符データ中のパートの
番号を音源20で規定されているドラムチャンネルのパ
ートの番号に合わせるために、パートナンバ「7」を
「10」に変更する処理である。上記ステップS86
で、パートナンバが「7」でないことが判断された場合
は、ステップS87はスキップされる。
When it is determined in step S84 that the data is note data, it is then checked whether or not the part number is "7" (step S86). This is done, for example, by referring to the lower 3 bits of the 4th byte of the note data. Here, the part number “7” is the part assigned to the drum channel. When it is determined that the part number is "7", the drum channel setting process is performed (step S87). This process is a process of changing the part number “7” to “10” in order to match the part number in the note data with the part number of the drum channel defined by the sound source 20. Step S86
If it is determined that the part number is not "7", step S87 is skipped.

【0090】次いで、ベロシティセット及びスプリット
処理が行われる(ステップS88)。ベロシティセット
処理では、押鍵イベント処理ルーチンのステップS33
でワークメモリ13の所定のバッファ領域にセーブされ
ているベロシティが音源20に送られる。また、スプリ
ット処理では、同じくセーブされているキーデータに基
づいて、押された鍵のキーナンバが通常の演奏用鍵域に
属するかコンサートマジック用鍵域に属するかが調べら
れ、コンサートマジック用鍵域に属する場合は、音符デ
ータに基づく発音を行うべくその音符データに対応した
音色パラメータが音源20に送られる。一方、押された
鍵のキーナンバが通常の演奏用鍵域に属する場合は、発
音処理は行われない。
Next, velocity set and split processing is performed (step S88). In the velocity set process, step S33 of the key depression event process routine.
Then, the velocity saved in a predetermined buffer area of the work memory 13 is sent to the tone generator 20. Also, in the split processing, based on the key data that is also saved, it is checked whether the key number of the pressed key belongs to the normal playing key range or the concert magic key range, and the concert magic key range is determined. , The tone color parameter corresponding to the note data is sent to the sound source 20 in order to make a sound based on the note data. On the other hand, when the key number of the pressed key belongs to the normal playing key range, the tone generation processing is not performed.

【0091】次いで、上記ステップS88でセットされ
た音色パラメータ及びベロシティに基づいて発音処理が
行われる(ステップS89)。この発音処理の内容は、
押鍵イベント処理のステップS39で行った内容と同じ
である。次いで、データ読出リクエストフラグがクリア
される(ステップS90)。次いで、次の音符データの
読出アドレスがアドレスレジスタにセットされる(ステ
ップS91)。
Next, a tone generation process is performed based on the tone color parameter and velocity set in step S88 (step S89). The content of this pronunciation process is
This is the same as the content performed in step S39 of the key depression event processing. Then, the data read request flag is cleared (step S90). Then, the read address of the next note data is set in the address register (step S91).

【0092】次いで、ステップが一致するかどうかが調
べられる(ステップS92)。即ち、次の音符データ中
のステップタイムデータがステップタイムカウンタの内
容と一致するかどうかが調べられる。ここで、一致する
ことが判断されると、ステップS80に戻って、以下同
様の処理が繰り返される。これにより、同一ステップタ
イムを有する音符データが複数存在する場合に、それら
の全ての音符データに基づく発音が同時になされること
になる。
Then, it is checked whether the steps match (step S92). That is, it is checked whether or not the step time data in the next note data matches the contents of the step time counter. If it is determined that they match, the process returns to step S80, and the same processing is repeated thereafter. As a result, when there are a plurality of note data having the same step time, sound generation based on all the note data is performed at the same time.

【0093】一方、上記ステップS92でステップが一
致しないことが判断されると、オフカウンタにセットす
べきステップ値の計算処理が行われる(ステップS93
〜S97)。本発明のステップ値算出手段は、ステップ
S93〜S97の処理により実現されている。
On the other hand, if it is determined in step S92 that the steps do not match, a calculation process of the step value to be set in the off counter is performed (step S93).
~ S97). The step value calculation means of the present invention is realized by the processing of steps S93 to S97.

【0094】このステップ値の計算処理では、先ずステ
ップタイムカウンタの内容がセーブされる(ステップS
93)。このステップタイムカウンタの内容は、例えば
ワークメモリ13の待避領域にセーブすることができ
る。次いで、ステップが一致するかどうかが調べられ
(ステップS94)、一致しなければステップタイムカ
ウンタの内容をインクリメントし(ステップS95)、
次いで、オフカウンタの内容をインクリメントする(ス
テップS96)。その後、ステップS94に戻り、ステ
ップが一致するまで上記ステップS94〜S96が繰り
返される。そして、ステップS94でステップが一致す
ることが判断されると、上記ステップS93でセーブし
たステップタイムカウンタの内容をリストアし(ステッ
プS97)、その後ステップS80に戻って同様の処理
を繰り返す。これにより、次の発音までのステップ値が
オフカウンタにセットされる。
In this step value calculation process, the contents of the step time counter are first saved (step S
93). The contents of the step time counter can be saved in the save area of the work memory 13, for example. Then, it is checked whether or not the steps match (step S94), and if they do not match, the content of the step time counter is incremented (step S95),
Next, the content of the off counter is incremented (step S96). Then, the process returns to step S94, and steps S94 to S96 are repeated until the steps match. Then, if it is determined in step S94 that the steps match, the contents of the step time counter saved in step S93 are restored (step S97), and then the process returns to step S80 to repeat the same processing. As a result, the step value until the next sound generation is set in the off counter.

【0095】なお、オフカウンタは、自動演奏中でない
場合にしか使用しないので、自動演奏中の場合は、ステ
ップS92〜S97の処理は行わず、ステップS91の
処理が終了したらステップS80に戻るように構成して
もよい。
Since the off counter is used only when the automatic performance is not being performed, the steps S92 to S97 are not performed when the automatic performance is being performed, and the process returns to the step S80 when the process of the step S91 is completed. You may comprise.

【0096】以上のコンサートマジックメイン処理が終
了すると、コンサートマジック演奏処理のステップS7
5に戻り、データ読出リクエストフラグが「1」である
かどうかが調べられる。そして、「1」であることが判
断されると、ステップS74に戻って再度コンサートマ
ジックメイン処理が実行される。これは、先にコンサー
トマジックメイン処理ルーチンで処理されたデータがノ
ートデータでなかった場合(データ読出リクエストフラ
グはクリアされない)のシーケンスである。これによ
り、1回の押鍵で1つの音が必ず発音されるという機能
が担保されている。そして、ステップS75でデータ読
出リクエストフラグが「0」であることが判断される
と、このコンサートマジック演奏処理ルーチンからリタ
ーンしてメインルーチンに戻る。
When the above concert magic main processing is completed, step S7 of the concert magic performance processing is performed.
Returning to step 5, it is checked whether the data read request flag is "1". When it is determined that the value is "1", the process returns to step S74 and the concert magic main process is executed again. This is a sequence when the data previously processed by the concert magic main processing routine is not the note data (the data read request flag is not cleared). As a result, the function of ensuring that one sound is always produced by pressing the key once is secured. When it is determined in step S75 that the data read request flag is "0", the routine returns from the concert magic performance processing routine and returns to the main routine.

【0097】以上説明した実施の形態では、鍵盤装置1
7の何れかの鍵を押下することにより自動演奏が進めら
れるように構成したが、鍵に限らず、操作パネル15上
の所定のスイッチ、フットスイッチ等によって自動演奏
を進めるように構成しても良い。
In the embodiment described above, the keyboard device 1
Although the automatic performance can be advanced by pressing any one of the keys 7, the automatic performance can be advanced by a predetermined switch, a foot switch, or the like on the operation panel 15 without being limited to the key. good.

【0098】[0098]

【発明の効果】以上詳述したように、本発明によれば、
演奏者が曲の途中で自動演奏を進める操作を止めても音
が鳴り続けることがなく、また1鍵だけを用いた場合で
あっても滑らかな自動演奏を行うことのできる自動演奏
装置及び自動演奏方法を提供できる。
As described in detail above, according to the present invention,
Even if the performer stops the operation of advancing the automatic performance in the middle of the song, no sound continues to be produced, and even if only one key is used, a smooth automatic performance device and an automatic performance device are provided. Can provide a playing method.

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

【図1】本発明の自動演奏装置の一実施の形態を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an automatic performance device of the present invention.

【図2】本発明の一実施の形態で使用されるメイン処理
を示すフローチャートである。
FIG. 2 is a flowchart showing a main process used in the embodiment of the present invention.

【図3】本発明の一実施の形態で使用されるタイマ割込
処理を示すフローチャートである。
FIG. 3 is a flowchart showing a timer interrupt process used in the embodiment of the present invention.

【図4】本発明の一実施の形態で使用される押鍵イベン
ト処理を示すフローチャートである。
FIG. 4 is a flowchart showing key depression event processing used in an embodiment of the present invention.

【図5】本発明の一実施の形態で使用されるテンポデー
タセット処理を示すフローチャートである。
FIG. 5 is a flowchart showing tempo data set processing used in an embodiment of the present invention.

【図6】本発明の一実施の形態で使用される離鍵イベン
ト処理を示すフローチャートである。
FIG. 6 is a flowchart showing key release event processing used in an embodiment of the present invention.

【図7】本発明の一実施の形態で使用されるコンサート
マジック演奏処理を示すフローチャートである。
FIG. 7 is a flowchart showing a concert magic performance process used in the embodiment of the present invention.

【図8】本発明の一実施の形態で使用されるコンサート
マジックメイン処理(その1)を示すフローチャートで
ある。
FIG. 8 is a flowchart showing a concert magic main process (No. 1) used in the embodiment of the present invention.

【図9】本発明の一実施の形態で使用されるコンサート
マジックメイン処理(その2)を示すフローチャートで
ある。
FIG. 9 is a flowchart showing a concert magic main process (No. 2) used in the embodiment of the present invention.

【図10】本発明の一実施の形態で使用される自動演奏
ゲートオフ処理を示すフローチャートである。
FIG. 10 is a flowchart showing an automatic performance gate-off process used in the embodiment of the present invention.

【図11】本発明の一実施の形態で使用する音符データ
の構成を示す図である。
FIG. 11 is a diagram showing a structure of note data used in the embodiment of the present invention.

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

10 CPU 10a タイマ 11 外部インタフェース回路 12 プログラムメモリ 13 ワークメモリ 14 パネルインタフェース回路 15 操作パネル 16 鍵盤インタフェース回路 17 鍵盤装置 18 自動演奏データメモリ 19 波形メモリ 20 音源 21 D/A変換器 22 増幅器 23 スピーカ DESCRIPTION OF SYMBOLS 10 CPU 10a Timer 11 External interface circuit 12 Program memory 13 Work memory 14 Panel interface circuit 15 Operation panel 16 Keyboard interface circuit 17 Keyboard device 18 Automatic performance data memory 19 Waveform memory 20 Sound source 21 D / A converter 22 Amplifier 23 Speaker

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも発音タイミングを規定するス
テップタイムを表すデータと音長を規定するゲートタイ
ムを表すデータとが含まれた音符データを複数記憶した
記憶手段と、 押鍵がなされたことを検出する押鍵検出手段とを有し、 該押鍵検出手段で押鍵がなされたことが検出される毎
に、該記憶手段から音符データを読み出し、該読み出さ
れた音符データに基づいて発音を開始することにより自
動演奏を進める自動演奏装置であって、 発音開始時に、今回発音が開始される音のステップタイ
ムから次に発音が開始されるべき音のステップタイムま
でのステップ値を算出するステップ値算出手段と、 該押鍵検出手段で押鍵が検出されない場合に、発音中の
音に対応する該ステップ値及びゲートタイムをそれぞれ
テンポに比例した時間間隔でデクリメントし、ゲートタ
イムがゼロになったら該音を消音する第1の制御手段
と、 該押鍵検出手段で押鍵が検出された場合に、該検出時点
における発音中の音に対応するステップ値及びゲートタ
イムを、該ステップ値がゼロになるまでそれぞれデクリ
メントした後に次の音の発音を開始し、該デクリメント
によってゲートタイムがゼロになったら該発音中の音を
消音する第2の制御手段、を備えたことを特徴とする自
動演奏装置。
1. Storage means for storing a plurality of musical note data containing at least data representing a step time defining a tone generation timing and data representing a gate time defining a note length, and detecting that a key is pressed. Each time the key-depression detecting means detects that a key has been pressed, note data is read from the storage means, and a sound is generated based on the read note data. An automatic performance device for advancing an automatic performance by starting a step of calculating a step value from a step time of a sound to be sounded this time to a step time of a sound to be sounded next time at the start of sounding. When a key depression is not detected by the value calculation means and the key depression detection means, the step value and the gate time corresponding to the sound being sounded are time intervals proportional to the tempo, respectively. Decrement with the first control means for muting the sound when the gate time becomes zero, and a step corresponding to the sound being sounded at the time when the key is detected by the key detecting means. Second control means for decrementing the value and the gate time until the step value becomes zero, and then starting the sounding of the next sound, and muting the sound being sounded when the gate time becomes zero by the decrementing An automatic performance device characterized by being equipped with.
【請求項2】 前記押鍵検出手段で検出された押鍵間隔
に基づいてテンポを検出するテンポ検出手段を更に備
え、前記テンポに比例した時間間隔は、該テンポ検出手
段で検出されたテンポに基づいて定められることを特徴
とする請求項1に記載の自動演奏装置。
2. A tempo detection means for detecting a tempo based on a key depression interval detected by the key depression detection means is further provided, and the time interval proportional to the tempo is equal to the tempo detected by the tempo detection means. The automatic performance device according to claim 1, wherein the automatic performance device is defined based on the above.
【請求項3】 押鍵がなされたことが検出される毎に、
記憶された少なくとも発音タイミングを規定するステッ
プタイムを表すデータと音長を規定するゲートタイムを
表すデータとが含まれた音符データを読み出し、該読み
出された音符データに基づいて発音を開始することによ
り自動演奏を進める自動演奏方法であって、 発音開始時に、今回発音が開始される音のステップタイ
ムから次に発音が開始されるべき音のステップタイムま
でのステップ値を算出し、 押鍵が検出されない場合に、発音中の音に対応する該ス
テップ値及びゲートタイムをそれぞれテンポに比例した
時間間隔でデクリメントし、ゲートタイムがゼロになっ
たら該音を消音し、 押鍵が検出された場合に、該検出時点における発音中の
音に対応するステップ値及びゲートタイムを、該ステッ
プ値がゼロになるまでそれぞれデクリメントした後に次
の音の発音を開始し、該デクリメントによってゲートタ
イムがゼロになったら該発音中の音を消音することを特
徴とする自動演奏方法。
3. Each time it is detected that a key has been pressed,
To read out the note data containing at least the stored data representing the step time defining the sounding timing and the data representing the gate time defining the note length, and starting the sound generation based on the read note data. Is an automatic performance method that advances the automatic performance by calculating the step value from the step time of the sound to be sounded this time to the step time of the sound to be sounded next at the start of sounding, and pressing the key If it is not detected, the step value and gate time corresponding to the sound being sounded are decremented at time intervals proportional to the tempo respectively, and when the gate time becomes zero, the sound is muted, and a key depression is detected. In addition, the step value and gate time corresponding to the sound being generated at the time of detection are respectively decremented until the step value becomes zero. Automatic performance method, characterized in that to start the pronunciation of the next sound after the placement, the gate time by the decrement to mute the sound in emitting sound Once it becomes a zero.
【請求項4】 前記テンポに比例した時間間隔は、押鍵
間隔に基づいて検出されたテンポに基づいて定められる
ことを特徴とする請求項3に記載の自動演奏方法。
4. The automatic performance method according to claim 3, wherein the time interval proportional to the tempo is determined based on the tempo detected based on the key pressing interval.
JP23197295A 1995-07-28 1995-08-17 Automatic performance device and automatic performance method Expired - Fee Related JP3192579B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP23197295A JP3192579B2 (en) 1995-08-17 1995-08-17 Automatic performance device and automatic performance method
US08/680,865 US5760324A (en) 1995-07-28 1996-07-16 Automatic performance device with sound stopping feature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23197295A JP3192579B2 (en) 1995-08-17 1995-08-17 Automatic performance device and automatic performance method

Publications (2)

Publication Number Publication Date
JPH0954580A true JPH0954580A (en) 1997-02-25
JP3192579B2 JP3192579B2 (en) 2001-07-30

Family

ID=16931943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23197295A Expired - Fee Related JP3192579B2 (en) 1995-07-28 1995-08-17 Automatic performance device and automatic performance method

Country Status (1)

Country Link
JP (1) JP3192579B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001266029A (en) * 2000-03-07 2001-09-28 Thomson Multimedia Sa Electronic wallet system accompanied by safe operation between purses
JP2003015647A (en) * 2001-06-29 2003-01-17 Kawai Musical Instr Mfg Co Ltd Automatic player and electronic musical instrument

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4320782B2 (en) * 2006-03-23 2009-08-26 ヤマハ株式会社 Performance control device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001266029A (en) * 2000-03-07 2001-09-28 Thomson Multimedia Sa Electronic wallet system accompanied by safe operation between purses
JP2003015647A (en) * 2001-06-29 2003-01-17 Kawai Musical Instr Mfg Co Ltd Automatic player and electronic musical instrument

Also Published As

Publication number Publication date
JP3192579B2 (en) 2001-07-30

Similar Documents

Publication Publication Date Title
JPH09179559A (en) Device and method for automatic accompaniment
JP4232882B2 (en) Electronic musical instrument demo song playing apparatus and demo song playing method
JP3192579B2 (en) Automatic performance device and automatic performance method
JP3844286B2 (en) Automatic accompaniment device for electronic musical instruments
JP3192597B2 (en) Automatic musical instrument for electronic musical instruments
JP3150580B2 (en) Automatic performance device and automatic performance method
JP3455050B2 (en) Automatic accompaniment device
JP3169535B2 (en) Automatic performance device and automatic performance method
JP4056902B2 (en) Automatic performance apparatus and automatic performance method
JP3226268B2 (en) Concert magic automatic performance device
JP3195111B2 (en) Automatic performance device
JP3171759B2 (en) Automatic performance device
JPH06337674A (en) Automatic musical performance device for electronic musical instrument
JPH0944156A (en) Device and method for automatic musical performance
JP2643277B2 (en) Automatic performance device
JP2002032083A (en) Electronic musical instrument
JP2002215147A (en) Method and device for automatic accompaniment of electronic musical instrument
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP3630266B2 (en) Automatic accompaniment device
JPH11311989A (en) Device and method for automatic playing
JPH06314096A (en) Device for detecting front code of electronic musical instrument
JPH02181794A (en) Performance device
JP2665854B2 (en) Automatic performance device
JP3033393B2 (en) Automatic accompaniment device
JPH08221072A (en) Automatic accompaniment device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010510

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

Free format text: PAYMENT UNTIL: 20080525

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120525

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130525

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20140525

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees