Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2556640B2 - Automatic playing device - Google Patents
[go: Go Back, main page]

JP2556640B2 - Automatic playing device - Google Patents

Automatic playing device

Info

Publication number
JP2556640B2
JP2556640B2 JP4011432A JP1143292A JP2556640B2 JP 2556640 B2 JP2556640 B2 JP 2556640B2 JP 4011432 A JP4011432 A JP 4011432A JP 1143292 A JP1143292 A JP 1143292A JP 2556640 B2 JP2556640 B2 JP 2556640B2
Authority
JP
Japan
Prior art keywords
time
information
time data
conversion
progress
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP4011432A
Other languages
Japanese (ja)
Other versions
JPH05204381A (en
Inventor
はるひこ 松井
哲哉 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments 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 Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments Manufacturing Co Ltd
Priority to JP4011432A priority Critical patent/JP2556640B2/en
Priority to US08/008,499 priority patent/US5357046A/en
Publication of JPH05204381A publication Critical patent/JPH05204381A/en
Application granted granted Critical
Publication of JP2556640B2 publication Critical patent/JP2556640B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動演奏装置に関し、
特に自動演奏の早送りの制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device,
Particularly, it relates to the control of fast-forwarding of automatic performance.

【0002】[0002]

【従来技術】従来、自動演奏装置は、大体次のような構
成となっている。すなわち、楽音情報と時間情報との組
み合せを複数組シーケンスメモリに記憶しておき、この
楽音情報と時間情報との組み合せを読み出す。一方、時
間の進行を刻むタイムカウンタを設け、このタイムカウ
ンタに一定周波数のクロック信号を送る。そして、この
タイムカウンタのタイムカウント値と、上記読み出され
た楽音情報と時間情報との組み合せの時間情報とを比較
し、タイムカウント値が時間情報により大きくなれば、
楽音情報と時間情報との組み合せの楽音情報に基づいた
処理、例えば発音/消音の処理を行う。さらに、この処
理の後、次の楽音情報と時間情報との組み合せを読み出
して、上述の処理を繰り返す。
2. Description of the Related Art Conventionally, an automatic performance device is generally constructed as follows. That is, a plurality of combinations of musical tone information and time information are stored in the sequence memory, and the combinations of musical tone information and time information are read out. On the other hand, a time counter that keeps track of time is provided, and a clock signal of a constant frequency is sent to this time counter. Then, the time count value of this time counter is compared with the time information of the combination of the read musical tone information and time information, and if the time count value becomes larger than the time information,
A process based on the tone information, which is a combination of the tone information and the time information, is performed, for example, a sounding / muting process. Further, after this processing, the next combination of the musical tone information and the time information is read out, and the above processing is repeated.

【0003】ここで、このような自動演奏の早送りを行
う装置には、従来、以下のような2つのものがある。ま
ず、図9に示すように、通常の低い周波数のクロック信
号を発振出力する低速クロックジェネレータ91と、高
い周波数のクロック信号を発振出力する高速クロックジ
ェネレータ92とを設ける。そして、これら低周波クロ
ック信号と、高周波クロック信号とを、切換回路93を
介して、バスラインを通じ、上記タイムカウンタ94に
送り込む。切換回路93では、早送りの指示があったと
き高周波クロック信号が選択され、早送りの指示がない
とき低周波クロック信号が選択される。これにより、早
送りの指示があれば、タイムカウンタ94が高速でイン
クリメントされ、この結果自動演奏の進行が速くなる。
Conventionally, there are the following two devices for performing such fast-forwarding of automatic performance. First, as shown in FIG. 9, a low-speed clock generator 91 that oscillates and outputs a normal low-frequency clock signal and a high-speed clock generator 92 that oscillates and outputs a high-frequency clock signal are provided. Then, the low-frequency clock signal and the high-frequency clock signal are sent to the time counter 94 through the switching circuit 93 and the bus line. In the switching circuit 93, the high frequency clock signal is selected when there is a fast-forward instruction, and the low-frequency clock signal is selected when there is no fast-forward instruction. As a result, if there is a fast-forward instruction, the time counter 94 is incremented at high speed, and as a result, the progress of the automatic performance becomes faster.

【0004】また、図10に示すように、クロックジェ
ネレータ95より発振出力されたクロック信号を分周器
96に入力して、通常の低周波クロック信号と高周波ク
ロック信号に変換する。そして、これら低周波クロック
信号と、高周波クロック信号とを、切換回路97を介し
て、バスラインを通じ、上記タイムカウンタ94に送り
込む。切換回路97では、早送りの指示があったとき高
周波クロック信号が選択され、早送りの指示がないとき
低周波クロック信号が選択される。これにより、同様に
早送りの指示があれば、タイムカウンタ94が高速でイ
ンクリメントされ、この結果自動演奏の進行が速くな
る。
As shown in FIG. 10, the clock signal oscillated and output from the clock generator 95 is input to the frequency divider 96 to be converted into a normal low frequency clock signal and a normal high frequency clock signal. Then, the low-frequency clock signal and the high-frequency clock signal are sent to the time counter 94 through the switching circuit 97 and the bus line. The switching circuit 97 selects the high frequency clock signal when there is a fast-forward instruction, and selects the low-frequency clock signal when there is no fast-forward instruction. Accordingly, if there is a fast-forward instruction, the time counter 94 is incremented at high speed, and as a result, the automatic performance progresses faster.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
2つの装置では、通常の低周波クロック信号のほか、高
調波クロック信号も出力しなければならず、複数のクロ
ックジェネレータ91、92または分周器96が必要で
あり、回路構成が複雑となり、コストアップの原因とな
っていた。
However, in the above two devices, in addition to the normal low frequency clock signal, a harmonic clock signal must be output, and a plurality of clock generators 91, 92 or frequency dividers are required. 96 is required, which complicates the circuit configuration and causes a cost increase.

【0006】本発明は、上述した課題を解決するために
なされたものであり、高周波クロック信号を発生する回
路が不要であり、回路構成を複雑にすることなく、自動
演奏の早送りを行うことができる自動演奏装置を提供す
ることを目的としている。
The present invention has been made in order to solve the above-mentioned problems and does not require a circuit for generating a high-frequency clock signal, so that the automatic performance can be fast-forwarded without complicating the circuit configuration. It is intended to provide an automatic performance device that can perform.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、時間の進行を示す進行時間データをより
大きな変換時間データ値に変換し、このデータに応じて
自動演奏を行うようにしたものである。上記変換は、例
えば、進行時間データに対応させて上記変換時間データ
を記憶しておいて、これを読み出したり、上記進行時間
データの変化のレートをより大きくなる演算を行った
り、通常の演奏時の方で進行時間データをより小さな値
に変換したり、自動演奏情報の中の時間情報の方を小さ
い値に変換したりすることである。すなわち、本発明
は、自動演奏情報内の時間情報に対して、進行時間デー
タの変化レートを相対的に大きくしたものである。
In order to achieve the above object, the present invention converts the progress time data indicating the progress of time into a larger conversion time data value, and performs automatic performance according to this data. It is the one. In the conversion, for example, the conversion time data is stored in association with the progress time data, and is read out, or an operation for increasing the rate of change of the progress time data is performed, or during normal performance. Is to convert the progress time data into a smaller value, or to convert the time information in the automatic performance information into a smaller value. That is, the present invention is such that the change rate of the progress time data is relatively large with respect to the time information in the automatic performance information.

【0008】[0008]

【作用】これにより、進行時間データまたは自動演奏情
報の時間情報を変換するだけで済み、高周波クロック信
号を発生する回路が不要となり、従って回路構成をシン
プルにすることができる。
As a result, only the progress time data or the time information of the automatic performance information needs to be converted, and the circuit for generating the high frequency clock signal is not required. Therefore, the circuit structure can be simplified.

【0009】[0009]

【実施例】1.全体回路 図1は、自動演奏ピアノの自動演奏装置の全体回路を示
す。パネルスイッチ群1では、後述する自動演奏の制御
指示等が行われる。このパネルスイッチ群1の各キーの
操作内容を示すキーデータは、入出力インターフェイス
2に一時記憶され、バスライン3を介して、CPU5に
与えられ、操作キーに応じた処理が実行される。上記キ
ーデータは、例えばパネルスイッチ群1のキー数と同じ
ビット数を有し、操作キーに応じたビットが“1”とな
る。このパネルスイッチ群1は、オンキーを通じて電圧
源からハイレベル信号が出力されるものでも、サンプリ
ング信号によってキースキャンを行うものでもよい。上
記バスライン3を介して、データ、情報、アドレスデー
タ等が送られる。
[Example] 1. Overall Circuit FIG. 1 shows the overall circuit of an automatic performance device for an automatic performance piano. In the panel switch group 1, control instructions for automatic performance, which will be described later, and the like are performed. The key data indicating the operation content of each key of the panel switch group 1 is temporarily stored in the input / output interface 2 and given to the CPU 5 via the bus line 3 to execute the processing according to the operation key. The key data has the same number of bits as the number of keys of the panel switch group 1, and the bit corresponding to the operation key is "1". The panel switch group 1 may output a high-level signal from a voltage source through an ON key, or may perform a key scan using a sampling signal. Data, information, address data and the like are sent via the bus line 3.

【0010】ディスプレイ4には、CPU5等からバス
ライン3、入出力インターフェイス2を介して送られて
きた表示データが入力されて、表示が行われる。この表
示データは、上記パネルスイッチ群1の操作内容やCP
U5の処理内容、演奏時間等を示す。フロッピーディス
ク8には、自動演奏情報APIが記憶されており、この
自動演奏情報APIは、各曲ごとまたは全曲、フロッピ
ーディスクドライバ9を介して、入出力インターフェイ
ス2、バスライン3を通じて、RAM6にロードされ、
自動演奏が行われる。また、逆にRAM6内の自動演奏
情報APIがフロッピーディスク8にセーブされること
もある。フロッピーディスク8は、RAM/ROMカー
ド、磁気テープ、磁気ディスク、光ディスク等で代用で
きる。
Display data sent from the CPU 5 or the like via the bus line 3 and the input / output interface 2 is input to the display 4 for display. This display data is the operation contents of the panel switch group 1 and the CP.
The processing contents of U5, performance time, etc. are shown. An automatic performance information API is stored in the floppy disk 8, and this automatic performance information API is loaded into the RAM 6 through the input / output interface 2 and the bus line 3 via the floppy disk driver 9 for each song or all songs. Is
Automatic performance is performed. On the contrary, the automatic performance information API in the RAM 6 may be saved in the floppy disk 8. The floppy disk 8 can be replaced with a RAM / ROM card, a magnetic tape, a magnetic disk, an optical disk, or the like.

【0011】RAM6には、この自動演奏情報APIの
ほか、CPU5の処理した各種データも記憶される。こ
のRAM6内には、タイムカウンタ10も形成されてい
る。このタイムカウンタ10は、クロックジェネレータ
11から発生されるクロック信号φに応じてインクリメ
ントされ、進行時間データPTのカウントが行われる。
すなわち、クロック信号φは、CPU5に与えられ、ク
ロック信号φがハイレベルになるごとに、後述するイン
タラプト処理が実行され、この処理でタイムカウンタ1
0が+1される。
In addition to the automatic performance information API, the RAM 6 also stores various data processed by the CPU 5. A time counter 10 is also formed in the RAM 6. The time counter 10 is incremented according to the clock signal φ generated from the clock generator 11 to count the progress time data PT.
That is, the clock signal φ is given to the CPU 5, and every time the clock signal φ becomes high level, an interrupt process described later is executed. In this process, the time counter 1
0 is incremented by 1.

【0012】このタイムカウンタ10は、クロックジェ
ネレータ11に連結させて、直接クロック信号φに応じ
てインクリメントされるようにしてもよい。このクロッ
クジェネレータ11からのクロック信号φの周波数は一
定である。しかし、パネルスイッチ群1においてセット
されたテンポデータに応じたものとすることも可能であ
る。これに応じて、通常の自動演奏の速さ及び自動演奏
の早送りの速さも設定テンポに応じて変化する。
The time counter 10 may be connected to the clock generator 11 so as to be incremented directly according to the clock signal φ. The frequency of the clock signal φ from this clock generator 11 is constant. However, it is also possible to make it correspond to the tempo data set in the panel switch group 1. In response to this, the normal automatic performance speed and the automatic performance fast-forward speed also change according to the set tempo.

【0013】ROM7には、後述するフローチャートに
対応し、かつCPU5が実行するプログラム、その他の
処理に応じたプログラムが記憶されている。このROM
7内には、拡大変換時間テーブル12a、通常変換時間
テーブル12bも形成されている。拡大変換時間テーブ
ル12aには、上記タイムカウンタ10の進行時間デー
タPTをより大きな値に変換した拡大変換時間データE
CTが多数記憶されている。通常の自動演奏は、タイム
カウンタ10の進行時間データPTを通常変換時間テー
ブル12bで変換した通常変換時間データNCTに基づ
いて実行されるが、自動演奏の早送りは、この進行時間
データPTを拡大変換時間テーブル12aで変換した拡
大変換時間データECTに基づいて実行される。
The ROM 7 stores a program corresponding to a flowchart described later, which is executed by the CPU 5, and a program corresponding to other processing. This ROM
An expansion conversion time table 12a and a normal conversion time table 12b are also formed in the table 7. In the expansion conversion time table 12a, the expansion conversion time data E obtained by converting the progress time data PT of the time counter 10 into a larger value.
Many CTs are stored. The normal automatic performance is executed on the basis of the normal conversion time data NCT obtained by converting the progress time data PT of the time counter 10 by the normal conversion time table 12b, but the fast forward of the automatic performance is expanded conversion of the progress time data PT. This is executed based on the expanded conversion time data ECT converted by the time table 12a.

【0014】ソレノイド14は、自動演奏ピアノの各
鍵、各ペダルの下に設けられており、このソレノイド1
4…が起動すると、ピアノの鍵、ペダルがオンされ、同
ソレノイド14…が停止すると、該鍵、ペダルがオフさ
れる。上記RAM6内の自動演奏情報APIは、CPU
5によって読み出され、ソレノイドドライバ13に送ら
れ、上記ソレノイド14の駆動/停止が行われる。これ
により、ピアノの自動演奏が行われる。
The solenoid 14 is provided below each key and pedal of the automatic playing piano.
When the keys 4 and 4 are activated, the keys and pedals of the piano are turned on, and when the solenoids 14 are stopped, the keys and pedals are turned off. The automatic performance information API in the RAM 6 is the CPU
The data is read out by 5 and sent to the solenoid driver 13 to drive / stop the solenoid 14. Thereby, the automatic performance of the piano is performed.

【0015】上記パネルスイッチ群1には、リワインド
キー21、プレイキー22、フォワードキー23、レコ
ードキー24及びストップキー25が設けられている。
リワインドキー21は、自動演奏の早戻しを指示するキ
ーである。プレイキー22は、通常の自動演奏を指示す
るキーである。フォワードキー23は、自動演奏の早送
りを指示するキーである。レコードキー24は自動演奏
情報APIの記録を指示するキーである。ストップキー
25は、自動演奏の停止を指示するキーである。
The panel switch group 1 is provided with a rewind key 21, a play key 22, a forward key 23, a record key 24 and a stop key 25.
The rewind key 21 is a key for instructing fast rewind of the automatic performance. The play key 22 is a key for instructing a normal automatic performance. The forward key 23 is a key for instructing fast forward of an automatic performance. The record key 24 is a key for instructing recording of the automatic performance information API. The stop key 25 is a key for instructing to stop the automatic performance.

【0016】このパネルスイッチ群1には、他に図示し
ないがロードキー、セーブキー、パワーキー等も設けら
れている。ロードキーは、フロッピーディスク8の自動
演奏情報APIをRAM6へのロードを指示するキーで
あり、セーブキーは、RAM6の自動演奏情報APIを
フロッピーディスク8へのセーブを指示するキーであ
る。このほか、パネルスイッチ群1には、テンポ設定の
ためのキー群、選曲のためのキー群等も設けられてい
る。
The panel switch group 1 is also provided with a load key, a save key, a power key, etc., which are not shown. The load key is a key for instructing the automatic performance information API of the floppy disk 8 to be loaded into the RAM 6, and the save key is a key for instructing the automatic performance information API of the RAM 6 to be saved in the floppy disk 8. In addition, the panel switch group 1 is provided with a key group for setting a tempo, a key group for selecting music, and the like.

【0017】2.自動演奏情報API 図2は、上記フロッピーディスク8またはRAM6に記
憶されている自動演奏情報APIを示している。自動演
奏情報APIはヘッダーHD、楽音情報MI及び時間情
報TIの組合せ複数分よりなっている。楽音情報MI
は、さらにキーナンバデータKNとタッチデータTCよ
りなっている。ヘッダーHDは、1組分の楽音情報MI
及び時間情報TIの識別データである。
2. Automatic Performance Information API FIG. 2 shows the automatic performance information API stored in the floppy disk 8 or the RAM 6. The automatic performance information API includes a plurality of combinations of the header HD, the tone information MI, and the time information TI. Music information MI
Further comprises key number data KN and touch data TC. The header HD is one set of musical sound information MI
And identification data of the time information TI.

【0018】キーナンバデータKNは、自動演奏ピアノ
の鍵盤の各鍵を示すナンバデータであり、音高を示して
いる。このキーナンバデータKNは、キーオン
(“1”)、キーオフ(“0”)を示すデータも含んで
いる。このキーナンバデータKNの代りに、各ペダルの
オン/オフを示すデータが記憶されることもある。タッ
チデータTCは、ベロシティデータとも呼ばれ、上記鍵
のオン/オフの強さまたは速さを示すデータである。時
間情報TIは、上記楽音情報MIを実行するタイミング
を示す情報である。これら楽音情報MI及び時間情報T
Iは演奏順にフロッピーディスク8に記憶されている。
The key number data KN is number data indicating each key on the keyboard of the automatic performance piano and indicates a pitch. The key number data KN also includes data indicating key-on ("1") and key-off ("0"). In place of the key number data KN, data indicating ON / OFF of each pedal may be stored. The touch data TC is also called velocity data, and is data indicating the strength or speed of the on / off of the key. The time information TI is information indicating the timing at which the tone information MI is executed. These musical sound information MI and time information T
I is stored in the floppy disk 8 in the order of performance.

【0019】また、自動演奏情報API内には、基準時
間情報STもいくつか記憶されている。基準時間情報S
Tは、図8下方に示すように、上記時間情報TIの基準
“0”ポイントであり、時間情報TIはこのポイントか
らの経過時間を示している。すなわち、時間情報TIは
相対時間ではなく絶対時間を示す。基準時間情報ST
は、バーマークデータで置き換えることもできる。バー
マークデータは、小節の区切りを示す。
Further, some reference time information ST is also stored in the automatic performance information API. Reference time information S
As shown in the lower part of FIG. 8, T is a reference “0” point of the time information TI, and the time information TI shows the elapsed time from this point. That is, the time information TI indicates not the relative time but the absolute time. Reference time information ST
Can also be replaced with bar mark data. The bar mark data indicates a bar division.

【0020】上記基準時間情報STは、所定時間間隔ご
と、例えばタイムカウンタ10のカウント値“100”
ごとであって、500ミリ秒間隔ごとに読み出され実行
される。このとき、タイムカウンタ10は“0”にクリ
アされ、演奏時間データが+0.5される。この基準時
間情報STは、ヘッダーHDと3つのダミーデータとか
らなっている。このヘッダーHDが基準時間情報STで
あることを示している。基準時間情報STのヘッダーH
Dのデータ形式は、上記楽音情報MIのヘッダーHDの
データ形式と異なる。この自動演奏情報APIには、他
に曲名データ、曲番データ、テンポデータ、ビットデー
タ、エフェクトデータ等を含めることもできる。
The reference time information ST is, for example, a count value "100" of the time counter 10 at predetermined time intervals.
Every 500 milliseconds. At this time, the time counter 10 is cleared to "0" and the performance time data is incremented by +0.5. The reference time information ST includes a header HD and three dummy data. This header HD indicates that it is the reference time information ST. Header H of reference time information ST
The data format of D is different from the data format of the header HD of the tone information MI. The automatic performance information API can also include song name data, song number data, tempo data, bit data, effect data, and the like.

【0021】3.RAM6 図3は、RAM6内の各種レジスタを示す。すなわち、
RAM6内には、モードフラグレジスタ31、シーケン
スバッファレジスタ32、変換時間レジスタ33、アド
レスポイントレジスタ34、上述のタイムカウンタ10
が形成されている。モードフラグレジスタ31には、上
記リワインドキー21、プレイキー22、フォワードキ
ー23、レコードキー24、ストップキー25の各オン
を示すフラグデータが記憶される。このフラグデータ
は、各キー21〜25に対応したビットにセットされる
“1”である。
3. RAM6 FIG. 3 shows various registers in the RAM6. That is,
In the RAM 6, a mode flag register 31, a sequence buffer register 32, a conversion time register 33, an address point register 34, and the time counter 10 described above.
Are formed. The mode flag register 31 stores flag data indicating that the rewind key 21, the play key 22, the forward key 23, the record key 24, and the stop key 25 are turned on. This flag data is "1" set in the bit corresponding to each key 21-25.

【0022】シーケンスバッファレジスタ32には、自
動演奏情報APIの中の順次読み出される1組の楽音情
報MI及び時間情報TIが一時記憶される。変換時間レ
ジスタ33には、後述する拡大変換時間データECTま
たは通常変換時間データNCTが記憶される。アドレス
ポイントレジスタ34には、RAM6内の自動演奏情報
APIのアクセス番地を示すアドレスデータADが記憶
される。
The sequence buffer register 32 temporarily stores a set of musical tone information MI and time information TI which are sequentially read out from the automatic performance information API. The conversion time register 33 stores expanded conversion time data ECT or normal conversion time data NCT which will be described later. The address point register 34 stores address data AD indicating an access address of the automatic performance information API in the RAM 6.

【0023】4.拡大変換時間テーブル12a 図4は、上記ROM7の拡大変換時間テーブル12aを
示す。拡大変換時間テーブル12aの“0000”、
“0001”、“0002”、“0003”…“001
0”番地に、“09”、“19”、“29”、“39”
…“100”の拡大変換時間データECTが記憶されて
いる。この“0000”、“0001”、“0002”
…“0010”のアドレスデータは、上記進行時間デー
タPTに対応しており、進行時間データPTはこの拡大
変換時間テーブル12aで、より大きな値、すなわち
(10倍+9)の値である、“09”、“19”、“2
9”…“100”の拡大変換時間データECTに変換さ
れる。
[0023] 4. Expansion Conversion Time Table 12a FIG. 4 shows the expansion conversion time table 12a of the ROM 7. "0000" in the expanded conversion time table 12a,
"0001", "0002", "0003" ... "001"
"09", "19", "29", "39" at address 0 "
The expanded conversion time data ECT of "100" is stored. These "0000", "0001", "0002"
The address data of "0010" corresponds to the progress time data PT, and the progress time data PT has a larger value, that is, a value of (10 times +9), "09" in the expanded conversion time table 12a. "," 19 "," 2
9 "..." 100 "expanded conversion time data ECT is converted.

【0024】自動演奏の早送り時には、自動演奏情報A
PIの時間情報TIが拡大変換時間データECTと比較
されて自動演奏が行われ、通常の自動演奏時には、時間
情報TIが後述する通常変換時間データNCTと比較さ
れて自動演奏が行われる。なお、拡大変換時間テーブル
12aの拡大変換時間データECTは、上述のものに限
られず、例えば、“08”、“16”、“24”、“3
2”…や、“10”、“18”、“26”、“34”、
“42”…等でもよい。また、拡大変換時間データEC
Tは、“00”〜“100”の値をとるが、基準時間情
報STが“100”以外の間隔で記憶されれば、この範
囲以外の値をとることもできる。さらに、12個以上、
10個以下のの拡大変換時間データECTを自動演奏情
報APIに記憶してもよい。
When the automatic performance is fast-forwarded, the automatic performance information A
The time information TI of PI is compared with the expanded conversion time data ECT for automatic performance, and during normal automatic performance, the time information TI is compared with normal conversion time data NCT described later for automatic performance. The expansion conversion time data ECT of the expansion conversion time table 12a is not limited to the above-described one, and may be, for example, "08", "16", "24", "3".
2 ”...,“ 10 ”,“ 18 ”,“ 26 ”,“ 34 ”,
"42" ... may be used. Also, the expanded conversion time data EC
T takes a value from "00" to "100", but if the reference time information ST is stored at an interval other than "100", it can take a value outside this range. Furthermore, 12 or more,
Ten or less pieces of expanded conversion time data ECT may be stored in the automatic performance information API.

【0025】5.通常変換時間テーブル12b 図5は、ROM7の通常変換時間テーブル12bを示
す。通常変換時間テーブル12bの“0000”、“0
001”、“0002”、“0003”…“0100”
番地に、“00”、“01”、“02”、“03”…
“100”の通常変換時間データNCTが記憶されてい
る。この“0000”、“0001”、“0002”…
“0100”のアドレスデータは、上記進行時間データ
PTに対応しており、この進行時間データPTは、この
通常変換時間テーブル12bで、通常変換時間データN
CTに変換される。
[0025] 5. Normal Conversion Time Table 12b FIG. 5 shows the normal conversion time table 12b of the ROM 7. "0000" and "0" in the normal conversion time table 12b
"001", "0002", "0003" ... "0100"
At the address, "00", "01", "02", "03" ...
The normal conversion time data NCT of "100" is stored. These "0000", "0001", "0002" ...
The address data "0100" corresponds to the above-mentioned progress time data PT, and this progress time data PT is the normal conversion time data N in the normal conversion time table 12b.
Converted to CT.

【0026】図5の例では、通常変換時間データNCT
は進行時間データPTと等しく、通常変換時間テーブル
12bを使わず、進行時間データPTをそのまま通常変
換時間データNCTとして使うことができる。しかし、
図5に示す通常変換時間データNCTを、進行時間デー
タPTに対して、値を変化させる場合には、通常変換時
間テーブル12bは必要である。例えば、“01”、
“02”、“03”、“04”、“05”、“06”…
“10”、“11”…の進行時間データPTに対して、
例えば、“00”、“00”、“01”、“01”、
“02”、“02”…“05”、“05”…の通常変換
時間データNCT、“02”、“04”、“06”、
“08”、“10”、“12”…“20”、“22”…
の通常変換時間データNCTに変換する場合等である。
In the example of FIG. 5, normal conversion time data NCT
Is equal to the progress time data PT, the normal conversion time table 12b is not used, and the progress time data PT can be directly used as the normal conversion time data NCT. But,
When the value of the normal conversion time data NCT shown in FIG. 5 is changed with respect to the progress time data PT, the normal conversion time table 12b is necessary. For example, "01",
"02", "03", "04", "05", "06" ...
For the progress time data PT of “10”, “11” ...
For example, "00", "00", "01", "01",
Normal conversion time data NCT of "02", "02" ... "05", "05" ... "02", "04", "06",
"08", "10", "12" ... "20", "22" ...
This is the case when converting to the normal conversion time data NCT.

【0027】なお、通常変換時間データNCTの方を、
進行時間データPTからより小さな値に変換したものと
し、拡大変換時間データECTの方を、進行時間データ
PTをそのまま用いるか、または進行時間データPTに
近い値に変換したものとしてもよい。この場合、上記ク
ロック信号φの周波数をアップすれば、同様に、通常の
自動演奏と自動演奏の早送りとを切り換えることができ
る。
The normal conversion time data NCT is
The progress time data PT may be converted to a smaller value, and the expanded conversion time data ECT may be used as the progress time data PT as it is or may be converted to a value closer to the progress time data PT. In this case, if the frequency of the clock signal φ is increased, the normal automatic performance and the fast-forwarding of the automatic performance can be similarly switched.

【0028】6.インタラプト処理 図6は、CPU5によって実行されるインタラプト処理
のフローチャートを示す。この処理では、タイムカウン
タ10の進行時間データPTが順次インクリメントされ
(ステップ12)、自動演奏の早送り中ならば、進行時
間データPTが拡大変換時間データECTに変換され
(ステップ15)、通常の自動演奏中ならば進行時間デ
ータPTが通常変換時間データNCTに変換される(ス
テップ19)。この処理は、クロックジェネレータ11
からCPU5に与えられる、クロック信号φがハイレベ
ルになるごとに実行される。
[0028] 6. Interrupt Process FIG. 6 shows a flowchart of the interrupt process executed by the CPU 5. In this process, the progress time data PT of the time counter 10 is sequentially incremented (step 12), and if the automatic performance is fast-forwarding, the progress time data PT is converted into the expanded conversion time data ECT (step 15), and the normal automatic operation is performed. If the performance is in progress, the progress time data PT is converted into normal conversion time data NCT (step 19). This process is performed by the clock generator 11
Is executed every time the clock signal φ applied to the CPU 5 goes high.

【0029】この処理では、まず自動演奏中か否かが判
別される(ステップ11)。この判別は、モードフラグ
レジスタ31内のプレイキー22またはフォワードキー
23の対応ビットが“1”か否かに基づいて行われる。
次いで、タイムカウンタ10が+1され(ステップ1
2)、フォワードキー23がオンされたか否かが判別さ
れる(ステップ13)。この判別は、モードフラグレジ
スタ31内のフォワードキー23の対応ビットが“1”
か否かに基づいて行われる。
In this process, it is first determined whether or not the automatic performance is being performed (step 11). This determination is made based on whether the corresponding bit of the play key 22 or the forward key 23 in the mode flag register 31 is "1".
Then, the time counter 10 is incremented by 1 (step 1
2) It is determined whether or not the forward key 23 is turned on (step 13). In this determination, the corresponding bit of the forward key 23 in the mode flag register 31 is "1".
It is done based on whether or not.

【0030】フォワードキー23がオンされていれば、
タイムカウンタ10の進行時間データPTが読み出され
(ステップ14)、拡大変換時間テーブル12aで拡大
変換時間データECTに変換され(ステップ15)、変
換時間レジスタ33にセットされる(ステップ16)。
これにより、タイムカウンタ10の進行時間データPT
がインタラプト処理ごとに+1され、進行時間データP
Tが(10倍+9)の大きさに拡大される。
If the forward key 23 is turned on,
The progress time data PT of the time counter 10 is read (step 14), converted into expanded conversion time data ECT by the expanded conversion time table 12a (step 15), and set in the conversion time register 33 (step 16).
As a result, the progress time data PT of the time counter 10
Is incremented by 1 for each interrupt process, and the progress time data P
T is enlarged to a size of (10 times +9).

【0031】また、上記ステップ13で、プレイキー2
2がオンされていれば、タイムカウンタ10の進行時間
データPTが読み出され(ステップ18)、通常変換時
間テーブル12bで通常変換時間データNCTに変換さ
れて(ステップ19)、変換時間レジスタ33にセット
され(ステップ16)、その他の処理が実行されて(ス
テップ20)、元の処理にリターンされる。これによ
り、タイムカウンタ10の進行時間データPTがインタ
ラプト処理ごとに+1され、進行時間データPTは拡大
されず、そのままの値で処理される。
In step 13, the play key 2
If 2 is turned on, the progress time data PT of the time counter 10 is read (step 18), converted into the normal conversion time data NCT in the normal conversion time table 12b (step 19), and stored in the conversion time register 33. It is set (step 16), other processing is executed (step 20), and the original processing is returned. As a result, the progress time data PT of the time counter 10 is incremented by 1 for each interrupt process, and the progress time data PT is not expanded but is processed as it is.

【0032】ここで、ステップ13のモードフラグレジ
スタ31のリワインドキー21のフラグデータの判別処
理は、拡大変換時間テーブル12aを選択するか通常変
換時間テーブル12bを選択するか、すなわち拡大変換
時間データECTと通常変換時間データNCTとを切換
選択する役目を果している。
Here, in the determination processing of the flag data of the rewind key 21 of the mode flag register 31 in step 13, the expansion conversion time table 12a or the normal conversion time table 12b is selected, that is, the expansion conversion time data ECT. And the normal conversion time data NCT are switched and selected.

【0033】なお、上記ステップ19で、進行時間デー
タPTを通常変換時間テーブル12bで通常変換時間デ
ータNCTに変換せず、進行時間データPTをそのまま
変換時間レジスタ33にセットしてもよい。
In step 19, the progress time data PT may be set in the conversion time register 33 as it is without converting the progress time data PT to the normal conversion time data NCT in the normal conversion time table 12b.

【0034】また、上記ステップ15では、進行時間デ
ータPTを拡大変換時間テーブル12aで変換するので
はなく、進行時間データPTに“1”以上の値、例えば
“9”を乗算してもよいし、クロック信号φがハイレベ
ルになるごとに進行時間データPTを+9してもよい。
そうすれば、拡大変換時間テーブル12aは不要とな
る。
Further, in the above step 15, the progress time data PT may be multiplied by a value of "1" or more, for example, "9", instead of converting the progress time data PT by the expanded conversion time table 12a. , The progress time data PT may be incremented by +9 every time the clock signal φ becomes high level.
Then, the expansion conversion time table 12a becomes unnecessary.

【0035】さらに、通常変換時間テーブル12bに記
憶される通常変換時間データNCTは、進行時間データ
PTをより小さくする値、例えば進行時間データPTを
“1/9”にしたものとしてもよいし、ステップ19
で、進行時間データPTに“1”以下の値、例えば“1
/9”を乗算してもよいし、クロック信号φがハイレベ
ルになるごとに進行時間データPTに“1/9”を加算
してもよい。このような進行時間データPTに対して演
算するにあたり、後述するステップ01でタイムカウン
タ10をクリアしないようにしてもよい。
Further, the normal conversion time data NCT stored in the normal conversion time table 12b may be a value that makes the progress time data PT smaller, for example, the progress time data PT set to "1/9". Step 19
Then, the progress time data PT has a value equal to or less than “1”, for example
/ 9 "may be multiplied, or" 1/9 "may be added to the progress time data PT each time the clock signal φ becomes high level. Such progress time data PT is calculated. At this time, the time counter 10 may not be cleared in step 01 described later.

【0036】7.自動演奏処理 図7は、CPU5によって実行される自動演奏処理のフ
ローチャートを示す。この処理では、自動演奏情報AP
Iが読み出され(ステップ06、02)、基準時間情報
STが読み出されれば待機し(ステップ03、04)、
楽音情報MIと時間情報TIとが読み出されれば、時間
情報TIに応じたタイミングでイベントが実行される
(ステップ07、08)。この場合、ステップ07の拡
大変換時間データECTは通常変換時間データNCTよ
り大きく拡大されているので、それだけ速くイベントが
実行される。
7. Automatic Performance Processing FIG. 7 shows a flowchart of the automatic performance processing executed by the CPU 5. In this process, the automatic performance information AP
I is read (steps 06 and 02), and if the reference time information ST is read, the process waits (steps 03 and 04),
When the musical tone information MI and the time information TI are read, the event is executed at the timing according to the time information TI (steps 07 and 08). In this case, the expanded conversion time data ECT of step 07 is expanded more than the normal conversion time data NCT, so that the event is executed faster.

【0037】この処理は、メインルーチンの中のキー処
理において、上記プレイキー22またはフォワードキー
23のオンによりスタートされる。メインルーチンは、
パワーキーのオンによりスタートされ、イニシャライズ
処理の後、キー処理が繰り返される。イニシャライズ処
理では、RAM6、入出力インターフェイス2、ソレノ
イドドライバ13内の全データのクリア等が行われる。
この場合、自動演奏情報APIのRAM6へのロード先
の先頭番地が“00…0”でなければ、RAM6のアド
レスポイントレジスタ34のアドレスデータADは、こ
の先頭番地と同じ値とされる。
This process is started by turning on the play key 22 or the forward key 23 in the key process in the main routine. The main routine is
It is started by turning on the power key, and after the initialization process, the key process is repeated. In the initialization process, the RAM 6, the input / output interface 2, and the solenoid driver 13 are cleared of all data.
In this case, if the start address of the load destination of the automatic performance information API to the RAM 6 is not "00 ... 0", the address data AD of the address point register 34 of the RAM 6 is set to the same value as this start address.

【0038】まず、プレイキー22がオンされると、イ
ニシャライズ処理が行われる(ステップ01)。このイ
ニシャライズ処理では、RAM6のタイムカウンタ1
0、変換時間レジスタ33、モードフラグレジスタ31
等がクリアされ、モードフラグレジスタ31のプレイキ
ー22の対応ビットに“1”のフラグデータがセット等
される。
First, when the play key 22 is turned on, initialization processing is performed (step 01). In this initialization process, the time counter 1 of the RAM 6
0, conversion time register 33, mode flag register 31
Etc. are cleared, and flag data of "1" is set in the corresponding bit of the play key 22 of the mode flag register 31.

【0039】また、フォワードキー23がオンされて
も、イニシャライズ処理が行われる(ステップ01)。
このイニシャライズ処理では、タイムカウンタ10、変
換時間レジスタ33、モードフラグレジスタ31等がク
リアされ、モードフラグレジスタ31のフォワードキー
23の対応ビットに“1”のフラグデータがセット等さ
れる。上記タイムカウンタ10は、クロックジェネレー
タ11よりCPU5に与えられるクロック信号φがハイ
レベルになるごとに+1される。この+1は、上記イン
タラプト処理の中の1つとして行われる。
Even if the forward key 23 is turned on, the initialization process is performed (step 01).
In this initialization processing, the time counter 10, the conversion time register 33, the mode flag register 31, etc. are cleared, and the corresponding bit of the forward key 23 of the mode flag register 31 is set with "1" flag data. The time counter 10 is incremented by 1 each time the clock signal φ supplied from the clock generator 11 to the CPU 5 goes high. This +1 is performed as one of the interrupt processes.

【0040】次いで、上記アドレスポイントレジスタ3
4のアドレスデータADで指定されるRAM6内の自動
演奏情報APIの情報が読み出され、シーケンスバッフ
ァレジスタ32にセットされる(ステップ02)。ここ
で、基準時間情報STが読み出されれば(ステップ0
3)、上記拡大変換時間データECTまたは上記通常変
換時間データNCTが“100”になるまで、すなわ
ち、基準時間情報STに応じたタイミングになるまで待
機される(ステップ04)。拡大変換時間データECT
または通常変換時間データNCTは、上記ステップ16
で変換時間レジスタ33にセットされている。変換時間
データECT、NCTが“100”になれば、タイムカ
ウンタ10がクリアされ(ステップ05)、演奏時間デ
ータが+0.5され、アドレスポイントレジスタ34が
+4される(ステップ06)。
Next, the address point register 3
The information of the automatic performance information API in the RAM 6 designated by the address data AD of 4 is read out and set in the sequence buffer register 32 (step 02). Here, if the reference time information ST is read (step 0
3) The process waits until the expanded conversion time data ECT or the normal conversion time data NCT becomes "100", that is, the timing corresponding to the reference time information ST (step 04). Extended conversion time data ECT
Alternatively, the normal conversion time data NCT is obtained by the above step 16
Is set in the conversion time register 33. When the conversion time data ECT and NCT become "100", the time counter 10 is cleared (step 05), the performance time data is +0.5, and the address point register 34 is +4 (step 06).

【0041】また、上記ステップ02で、楽音情報MI
及び時間情報TIが読み出されれば、この時間情報TI
と上記拡大変換時間データECTまたは上記通常変換時
間データNCTとが比較される(ステップ07)。変換
時間データECT、NCTの方がまだ小さければ、その
まま待機する。時間が経過して変換時間データECT、
NCTが時間情報TI以上になれば、シーケンスバッフ
ァレジスタ32内の楽音情報MIに応じたイベントが実
行されることになる(ステップ08)。そして、アドレ
スポイントレジスタ34が+4される(ステップ0
6)。
In step 02, the musical tone information MI
And the time information TI is read, this time information TI
And the expanded conversion time data ECT or the normal conversion time data NCT are compared (step 07). If the conversion time data ECT and NCT are still smaller, the process stands by. As time passes, the conversion time data ECT,
When the NCT becomes equal to or more than the time information TI, an event corresponding to the musical tone information MI in the sequence buffer register 32 is executed (step 08). Then, the address point register 34 is incremented by 4 (step 0
6).

【0042】この場合、フォワードキー23がオンされ
ていれば、上記ステップ15でタイムカウンタ10の進
行時間データPTが(10倍+9)の大きさに拡大され
ているので、ステップ07で、拡大変換時間データEC
Tが自動演奏情報APIの時間情報TIを越えるまでの
時間が短くなり、それだけ早く次のイベントへ進んでい
くことになる。こうして、クロック信号φの周波数をア
ップしなくても、自動演奏の早送りを行うことができ
る。
In this case, if the forward key 23 is turned on, the progress time data PT of the time counter 10 is expanded to the size of (10 times +9) in the above step 15, and therefore the expansion conversion is executed in the step 07. Time data EC
The time until T exceeds the time information TI of the automatic performance information API is shortened, and the next event is advanced earlier. Thus, the automatic performance can be fast-forwarded without increasing the frequency of the clock signal φ.

【0043】上記イベント実行処理は、鍵やペダルを駆
動することではなく、単に次のイベント読み出しのため
の準備、演奏時間データの累算等である。鍵やペダルの
駆動は後述するステップ10の再生処理で行われる。こ
の再生処理は自動演奏の早送り時には、実行されない。
従って、自動演奏の早送りは無音で進められる。早送り
時には、ソレノイド14の駆動が自動演奏の早送りに追
従しないからである。むろん、ステップ09の処理を省
略して、自動演奏の早送り時に鍵やペダルの駆動を行っ
てもよい。
The above-mentioned event execution processing is not driving a key or pedal, but is merely preparation for the next event reading, accumulation of performance time data, and the like. The driving of the keys and pedals is performed in the reproduction process of step 10 described later. This reproduction process is not executed during fast-forwarding of the automatic performance.
Therefore, the fast-forwarding of the automatic performance proceeds silently. This is because the drive of the solenoid 14 does not follow the fast-forward of the automatic performance during the fast-forward. Of course, the processing of step 09 may be omitted, and the keys and pedals may be driven during fast-forwarding of the automatic performance.

【0044】また、上記ステップ07で、時間情報TI
と上記通常変換時間データNCTとが比較されれば、こ
の通常変換時間データNCTは進行時間データPTと同
じ値であるので、ステップ07で、通常変換時間データ
NCTが自動演奏情報APIの時間情報TIを越える時
間が短くなることはなく、通常の自動演奏が行われる。
In step 07, the time information TI
When the normal conversion time data NCT is compared with the normal conversion time data NCT, the normal conversion time data NCT has the same value as the progress time data PT. Therefore, in step 07, the normal conversion time data NCT is the time information TI of the automatic performance information API. Normal automatic performance is performed without shortening the time over.

【0045】上記ステップ06の後、フォワードキー2
3がオンされたか否かが判別される(ステップ09)。
この判別は、モードフラグレジスタ31内のフォワード
キー23の対応ビットが“1”か否かに基づいて行われ
る。フォワードキー23がオンされていれば、上記ステ
ップ02に戻り、自動演奏処理が繰り返される。
After the above step 06, the forward key 2
It is determined whether or not 3 is turned on (step 09).
This determination is made based on whether or not the corresponding bit of the forward key 23 in the mode flag register 31 is "1". If the forward key 23 is turned on, the process returns to step 02 and the automatic performance process is repeated.

【0046】また、上記ステップ09で、プレイキー2
2がオンされていれば、再生処理が実行される(ステッ
プ10)。この再生処理は、楽音情報MIのキーナンバ
データKNに応じたソレノイドドライバ13の入力ライ
ンに、タッチデータTCに応じたデータを送る処理であ
る。これにより、キーナンバデータKNに応じた鍵また
はペダルが、タッチデータTCに応じた速さまたは強さ
で駆動される。
In step 09, the play key 2
If 2 is turned on, the reproduction process is executed (step 10). This reproducing process is a process of sending data corresponding to the touch data TC to the input line of the solenoid driver 13 corresponding to the key number data KN of the musical tone information MI. As a result, the key or pedal corresponding to the key number data KN is driven at the speed or strength corresponding to the touch data TC.

【0047】上述の自動演奏処理は、ストップキー25
がオンされると、この自動演奏処理に応じたプログラム
の読み出しが無条件で停止され、処理が終了する。な
お、シーケンスバッファレジスタ32、アドレスポイン
トレジスタ34は、パワーキーのオンでクリアされ、プ
レイキー22、フォワードキー23、リワインドキー2
1、ストップキー25のオンではクリアされない。むろ
ん、これらのキー21、22、23、25のオンでクリ
アしてもよい。そうすると、これらのキー21、22、
23、25の操作に応じた処理は曲の先頭または末尾か
ら実行される。
The above-mentioned automatic performance processing is performed by the stop key 25.
When is turned on, the reading of the program corresponding to this automatic performance process is unconditionally stopped, and the process ends. The sequence buffer register 32 and the address point register 34 are cleared by turning on the power key, and the play key 22, the forward key 23, and the rewind key 2
1. If the stop key 25 is turned on, it will not be cleared. Of course, you may clear by turning on these keys 21, 22, 23, 25. Then, these keys 21, 22,
The processing according to the operations of 23 and 25 is executed from the beginning or the end of the music.

【0048】また、上記ステップ03とステップ07と
の間で、次のような処理を実行してもよい。すなわち、
ステップ09と同じくフォワードキー23のオン/オフ
が判別され、フォワードキー23がオンされていれば、
ステップ02で読み出された時間情報TIが、より小さ
な値に変換され、プレイキー22がオンされていれば、
なにもせずステップ07に進む。
Further, the following processing may be executed between step 03 and step 07. That is,
As in step 09, it is determined whether the forward key 23 is on or off, and if the forward key 23 is on,
If the time information TI read in step 02 is converted to a smaller value and the play key 22 is turned on,
Do nothing and proceed to step 07.

【0049】この時間情報TIの変換は、拡大変換時間
テーブル12aと同じ構成であって、時間情報TIをよ
り小さくした値を記憶したメモリを使ってもよいし、時
間情報TIに“1”以下の値、例えば“1/9”を乗算
してもよい。この場合でも、同じように、自動演奏の早
送りを行うことができる。なお、プレイキー22がオン
されていれば、時間情報TIを通常変換時間テーブル1
2bで変換して、ステップ07に進むようにしてもよ
い。
This conversion of the time information TI may have the same structure as the expanded conversion time table 12a, and a memory that stores a smaller value of the time information TI may be used, or the time information TI may be "1" or less. , For example, “1/9” may be multiplied. Even in this case, the automatic performance can be fast-forwarded in the same manner. If the play key 22 is turned on, the time information TI is converted into the normal conversion time table 1
The conversion may be performed in 2b and the process may proceed to step 07.

【0050】図7の自動演奏処理は、ストップキー25
がオンされるまで繰り返し実行される。しかし、フォワ
ードキー23またはプレイキー22がオンされたときの
み図7の処理を行い、ステップ07で“NO”ならば、
次に処理へリターンしてもよい。この場合、上述のイン
タラプト処理のステップ16の後に、ステップ02に入
り、ステップ02〜10の処理が行われ、この中のステ
ップ07で“NO”ならば、元の処理へリターンされ
る。
In the automatic performance process of FIG. 7, the stop key 25
Is repeated until is turned on. However, the processing of FIG. 7 is performed only when the forward key 23 or the play key 22 is turned on, and if “NO” in the step 07,
Then, the process may return. In this case, after step 16 of the above-described interrupt processing, step 02 is entered and the processing of steps 02 to 10 is performed. If “NO” in step 07 of these, the processing is returned to the original processing.

【0051】また、図7の自動演奏処理は次のような内
容で実行することも可能である。上記ステップ07で
“NO”ならば、図6のインタラプト処理のステップ1
3〜16、18〜19の処理を行い、ステップ07に戻
る。そうすれば、インタラプト処理は不要になる。ただ
し、ステップ12のタイムカウンタ10のインクリメン
ト処理だけは必要である。
The automatic performance process of FIG. 7 can also be executed with the following contents. If "NO" in the above step 07, step 1 of the interrupt processing in FIG.
The processes of 3 to 16 and 18 to 19 are performed, and the process returns to step 07. Then, the interrupt process becomes unnecessary. However, only the increment processing of the time counter 10 in step 12 is necessary.

【0052】7.自動演奏の早送りの例 図8は、自動演奏の早送りの例を示している。図中、
“e1”、“e2”…は、楽音情報MIを示し、“S
T”は基準時間情報STを示している。いま、楽音情報
MI、基準時間情報STが、図8の下方に示すように、
絶対時間方式で記憶されている。図8の“e1”、“e
2”、“e3”の楽音情報MIが通常の自動演奏で実行
され、A地点でフォワードキー23がオンされたとす
る。
7. Example of fast-forward of automatic performance FIG. 8 shows an example of fast-forward of automatic performance. In the figure,
“E1”, “e2” ... Denote musical tone information MI, and “S”
T "indicates the reference time information ST. Now, the musical tone information MI and the reference time information ST are as shown in the lower part of FIG.
It is stored in the absolute time system. "E1" and "e" in FIG.
It is assumed that the musical tone information MI of "2" and "e3" is executed by a normal automatic performance, and the forward key 23 is turned on at the point A.

【0053】すると、ソレノイドドライバ13へ送られ
ていたデータはすべてクリアされて、鍵、ペダルはオフ
状態となり、変換時間レジスタ33とタイムカウンタ1
0がクリアされる(ステップ01)。このとき、“e
4”の楽音情報MIがシーケンスバッファレジスタ32
にセットされて、実行タイミングの到来を待っている。
Then, all the data sent to the solenoid driver 13 are cleared, the keys and pedals are turned off, and the conversion time register 33 and the time counter 1 are turned on.
0 is cleared (step 01). At this time, "e
The musical tone information MI of 4 "is the sequence buffer register 32.
Set to, waiting for the arrival of execution timing.

【0054】そして、“00”にクリアされたタイムカ
ウンタ10の進行時間データPTは、拡大変換時間テー
ブル12aで“09”の拡大変換時間データECTに変
換される(ステップ15)。すると、“e4”の時間情
報TIは“8”であるから(ステップ07)、直ちに
“e4”の楽音情報MIが実行され(ステップ08)、
次の“e5”の楽音情報MI及び時間情報TIが読み出
される(ステップ02)。この“e5”の時間情報TI
は“9”であるから(ステップ07)、やはり直ちに
“e5”の楽音情報MIも実行される(ステップ0
8)。こうして、“e4”、“e5”の楽音情報MIが
続けて実行される。
Then, the progress time data PT of the time counter 10 cleared to "00" is converted into the expanded conversion time data ECT of "09" in the expanded conversion time table 12a (step 15). Then, since the time information TI of "e4" is "8" (step 07), the musical tone information MI of "e4" is immediately executed (step 08),
The next "e5" tone information MI and time information TI are read (step 02). This "e5" time information TI
Is "9" (step 07), the musical tone information MI of "e5" is also immediately executed (step 0).
8). In this way, the musical tone information MI of "e4" and "e5" is continuously executed.

【0055】次に、タイムカウンタ10の進行時間デー
タPTが“01”になると、この進行時間データPTは
拡大変換時間テーブル12aで“19”の拡大変換時間
データECTに変換される(ステップ15)。すると、
同様にして“e6”、“e7”、“e8”、“e9”の
楽音情報MIが続けて実行される(ステップ07、0
8、06、02)。こうして、クロック信号φの周波数
をアップしなくても、自動演奏の早送りを行うことがで
きる。
Next, when the progress time data PT of the time counter 10 becomes "01", this progress time data PT is converted into the extended conversion time data ECT of "19" in the extended conversion time table 12a (step 15). . Then
Similarly, the musical tone information MI of "e6", "e7", "e8", and "e9" is continuously executed (steps 07, 0).
8, 06, 02). Thus, the automatic performance can be fast-forwarded without increasing the frequency of the clock signal φ.

【0056】次いで、図8のB地点でプレイキー22が
オンされたとする。すると、ソレノイドドライバ13へ
送られていたデータはすべてクリアされて、鍵、ペダル
はオフ状態となり、変換時間レジスタ33とタイムカウ
ンタ10がクリアされる(ステップ01)。このとき、
“e10”の楽音情報MIがシーケンスバッファレジス
タ32にセットされて、実行タイミングの到来を待って
いる。
Next, it is assumed that the play key 22 is turned on at point B in FIG. Then, all the data sent to the solenoid driver 13 are cleared, the key and the pedal are turned off, and the conversion time register 33 and the time counter 10 are cleared (step 01). At this time,
The tone information MI of "e10" is set in the sequence buffer register 32 and waits for the execution timing.

【0057】そして、タイムカウンタ10の進行時間デ
ータPTは“00”にクリアされており、シーケンスバ
ッファレジスタ32には“e10”の“21”の時間情
報TIがセットされているので、進行時間データPTが
“21”になるまで、何の楽音情報MIも実行されな
い。進行時間データPTが“21”になったとき(ステ
ップ07)、“e10”の楽音情報MIが実行され(ス
テップ08)、次の“e11”の楽音情報MI及び時間
情報TIが読み出される(ステップ02)。この後、通
常の自動演奏が続けられる。
Since the progress time data PT of the time counter 10 is cleared to "00" and the time information TI of "21" of "e10" is set in the sequence buffer register 32, the progress time data PT is set. No musical sound information MI is executed until PT becomes “21”. When the progress time data PT becomes "21" (step 07), the musical tone information MI of "e10" is executed (step 08), and the musical tone information MI and time information TI of the next "e11" are read (step). 02). After this, normal automatic performance is continued.

【0058】図8の例では、基準時間情報STを越えて
自動演奏の早送りを行わず、短い区間についての早送り
であるが、基準時間情報STを越えて自動演奏の早送り
を行うことももちろん可能である。
In the example of FIG. 8, the automatic performance is not fast-forwarded beyond the reference time information ST, but the fast-forwarding is performed for a short section, but it is of course possible to perform the automatic performance fast-forward beyond the reference time information ST. Is.

【0059】なお、このような自動演奏の早送りは、図
8の下方の絶対時間方式で記憶された自動演奏情報AP
Iについてのみ実行することができる。しかし、図8の
上方の相対時間方式で記憶された自動演奏情報APIに
ついて、上述の自動演奏ができないことはない。この場
合、相対時間方式の時間情報TIを、ステップ02での
読み出しごとに累算していき、この累算時間情報TIと
拡大変換時間データECTまたは通常変換時間データN
CTとをステップ07で比較していくことになる。そし
て、図7のステップ03〜05の処理は省略される。
Note that such fast-forwarding of the automatic performance is performed by the automatic performance information AP stored in the absolute time system shown in the lower part of FIG.
It can only be performed for I. However, the automatic performance described above cannot be disabled for the automatic performance information API stored by the relative time method shown in the upper part of FIG. In this case, the time information TI of the relative time system is accumulated every time it is read in step 02, and the accumulated time information TI and the expanded conversion time data ECT or the normal conversion time data N is accumulated.
CT will be compared in step 07. Then, the processes of steps 03 to 05 in FIG. 7 are omitted.

【0060】本発明は上記実施例に限定されず、本発明
の趣旨を逸脱しない範囲で種々変更可能である。例え
ば、本発明は、電子楽器に適用することも可能である。
この場合、ステップ08の楽音情報MIの実行処理で
は、楽音情報MIをトーンジェネレータまたはMIDI
インターフェイスへ送る。また、フロッピーディスク8
の自動演奏情報APIは、自動演奏ピアノの鍵操作によ
り、キーセンサで検出される信号を記憶したものや、コ
ンピュータにより、入力されたデータであってもよい。
The present invention is not limited to the above embodiments, and various modifications can be made without departing from the spirit of the present invention. For example, the present invention can be applied to an electronic musical instrument.
In this case, in the execution processing of the musical tone information MI in step 08, the musical tone information MI is converted into a tone generator or MIDI.
Send to interface. Also, a floppy disk 8
The automatic performance information API may be a signal in which a signal detected by a key sensor is stored by a key operation of an automatic performance piano, or data input by a computer.

【0061】さらに、上記ステップ15、19で進行時
間データPTを変換するにあたり、特定の演算式に基づ
いて変換してもよい。この演算式は、例えば、ECT=
a(PT)±b、a(PT)2 ±b、b/{a(P
T)}(a、b:定数、PT:進行時間データ、EC
T:拡大変換時間データ)である。このほか、自動演奏
情報APIは、フロッピーディスク8及びRAM6以外
に、RAM/ROMカード、磁気テープ、磁気ディス
ク、光ディスク等に記憶してもよい。
Furthermore, when converting the progress time data PT in steps 15 and 19, the conversion may be performed based on a specific arithmetic expression. This arithmetic expression is, for example, ECT =
a (PT) ± b, a (PT) 2 ± b, b / {a (P
T)} (a, b: constant, PT: progress time data, EC
T: expanded conversion time data). In addition to the floppy disk 8 and the RAM 6, the automatic performance information API may be stored in a RAM / ROM card, a magnetic tape, a magnetic disk, an optical disk, or the like.

【0062】[0062]

【発明の効果】以上詳述したように、本発明は、時間の
進行を示す進行時間データをより大きな変換時間データ
値に変換し、このデータに応じて自動演奏を行うように
したものである。この変換は、例えば、進行時間データ
に対応させて上記変換時間データを記憶しておいて、こ
れを読み出したり、上記進行時間データの変化のレート
をより大きくなる演算を行ったり、通常の演奏時の方で
進行時間データをより小さな値に変換したり、自動演奏
情報の中の時間情報の方を小さい値に変換したりするこ
とである。従って、進行時間データまたは自動演奏情報
の時間情報を変換するだけで済み、高周波クロック信号
を発生する回路が不要となり、この結果、回路構成をシ
ンプルにすることができる等の効果を奏する。
As described above in detail, according to the present invention, the progress time data indicating the progress of time is converted into a larger conversion time data value, and the automatic performance is performed according to this data. . This conversion is performed, for example, by storing the conversion time data in correspondence with the progress time data, reading the conversion time data, performing an operation for increasing the rate of change of the progress time data, or performing a normal performance. Is to convert the progress time data into a smaller value, or to convert the time information in the automatic performance information into a smaller value. Therefore, it is only necessary to convert the time information of the progress time data or the automatic performance information, and a circuit for generating a high frequency clock signal is not required. As a result, the circuit configuration can be simplified.

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

【図1】自動演奏ピアノの全体回路図である。FIG. 1 is an overall circuit diagram of an automatic performance piano.

【図2】フロッピーディスク8またはRAM6に記憶さ
れる自動演奏情報APIを示す図である。
FIG. 2 is a diagram showing automatic performance information API stored in a floppy disk 8 or a RAM 6.

【図3】RAM6の各種レジスタを示す図である。FIG. 3 is a diagram showing various registers of a RAM 6;

【図4】ROM7の拡大変換時間テーブル12aを示す
図である。
FIG. 4 is a diagram showing an enlarged conversion time table 12a in a ROM 7.

【図5】ROM7の通常変換時間テーブル12bを示す
図である。
FIG. 5 is a diagram showing a normal conversion time table 12b of a ROM 7.

【図6】インタラプト処理のフローチャートを示す図で
ある。
FIG. 6 is a diagram showing a flowchart of an interrupt process.

【図7】自動演奏処理のフローチャートを示す図であ
る。
FIG. 7 is a diagram showing a flowchart of automatic performance processing.

【図8】自動演奏の早送りの例を示す図である。FIG. 8 is a diagram showing an example of fast-forwarding of automatic performance.

【図9】従来例を示す回路図である。FIG. 9 is a circuit diagram showing a conventional example.

【図10】従来例を示す回路図である。FIG. 10 is a circuit diagram showing a conventional example.

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

1…パネルスイッチ群、5…CPU、6…RAM、7…
ROM、8…フロッピーディスク、10…タイムカウン
タ、11…クロックジェネレータ、12a…拡大変換時
間テーブル、12b…通常変換時間テーブル、14…ソ
レノイド、21…リワインドキー、22…プレイキー、
23…フォワードキー、24…レコードキー、25…ス
トップキー、31…モードフラグレジスタ、32…シー
ケンスバッファレジスタ、33…変換時間レジスタ、3
4…アドレスポイントレジスタ。
1 Panel switch group, 5 CPU, 6 RAM, 7
ROM, 8 ... Floppy disk, 10 ... Time counter, 11 ... Clock generator, 12a ... Enlarged conversion time table, 12b ... Normal conversion time table, 14 ... Solenoid, 21 ... Rewind key, 22 ... Play key,
23 ... Forward key, 24 ... Record key, 25 ... Stop key, 31 ... Mode flag register, 32 ... Sequence buffer register, 33 ... Conversion time register, 3
4 ... Address point register.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】楽音情報と時間情報との組み合せを複数組
記憶する記憶手段と、 この記憶手段より楽音情報と時間情報との組み合せを、
演奏の進行順に読み出す情報読み出し手段とを備えた自
動演奏装置において、 時間の進行を刻む時間刻み手段と、 この時間刻み手段によって刻まれた進行時間データを、
自動演奏の早送り時に、より大きな値に変換する時間デ
ータ変換手段と、 この時間情報変換手段によって変換される変換時間デー
タと、上記時間刻み手段によって刻まれる進行時間デー
タとを、切換選択する切換選択手段と、 この切換選択手段によって、切換選択された変換時間デ
ータ及び進行時間データのいずれかと、上記情報読み出
し手段によって読み出された時間情報とを比較する比較
手段と、 この比較手段の比較結果に応じて、上記情報読み出し手
段によって読み出された楽音情報に基づいた処理を行う
ことにより、自動演奏の早送りまたは通常の自動演奏を
行う楽音処理手段とを備えたことを特徴とする自動演奏
装置。
1. A storage means for storing a plurality of combinations of tone information and time information, and a combination of the tone information and time information from the storage means.
In an automatic performance device provided with an information reading means for reading out in the order of progress of a performance, a time stepping means for ticking the progress of time, and progress time data ticked by the time ticking means,
Switching selection for switching and selecting time data conversion means for converting to a larger value during fast-forwarding of automatic performance, conversion time data converted by this time information conversion means, and progress time data carved by the time stepping means. Means, a comparing means for comparing either the conversion time data or the progress time data switched and selected by the switching selecting means with the time information read by the information reading means, and a comparison result of the comparing means. Accordingly, the automatic musical instrument is provided with musical tone processing means for performing fast-forwarding of automatic musical performance or normal automatic musical performance by performing processing based on the musical tone information read by the information reading means.
【請求項2】上記時間データ変換手段は、上記時間刻み
手段によって刻まれた進行時間データを、より大きな値
に変換した変換時間データ群を記憶する変換データ記憶
手段と、 この変換データ記憶手段より、上記時間刻み手段によっ
て刻まれた進行時間データに応じた変換時間データを読
み出す変換データ読み出し手段とよりなることを特徴と
する請求項1記載の自動演奏装置。
2. The time data conversion means stores conversion time data group obtained by converting the progress time data carved by the time stepping means into a larger value, and the conversion data storage means. 2. The automatic musical instrument according to claim 1, further comprising: conversion data reading means for reading conversion time data corresponding to the progress time data carved by the time stepping means.
【請求項3】上記時間データ変換手段は、上記時間刻み
手段によって刻まれる進行時間データの変化のレートを
より大きくなる演算を行うことを特徴とする請求項1記
載の自動演奏装置。
3. The automatic performance apparatus according to claim 1, wherein the time data converting means performs a calculation for increasing the rate of change of the progress time data carved by the time stepping means.
【請求項4】楽音情報と時間情報との組み合せを複数組
記憶する記憶手段と、 この記憶手段より楽音情報と時間情報との組み合せを、
演奏の進行順に読み出す情報読み出し手段とを備えた自
動演奏装置において、 時間の進行を刻む時間刻み手段と、 この時間刻み手段によって刻まれた進行時間データを、
通常の自動演奏時に、より小さな値に変換する時間デー
タ変換手段と、 この時間データ変換手段によって変換される変換時間デ
ータと、上記時間刻み手段によって刻まれる進行時間デ
ータとを、切換選択する切換選択手段と、 この切換選択手段によって、切換選択された変換時間デ
ータ及び進行時間データのいずれかと、上記情報読み出
し手段によって読み出された時間情報とを比較する比較
手段と、 この比較手段の比較結果に応じて、上記情報読み出し手
段によって読み出された楽音情報に基づいた処理を行う
ことにより、自動演奏の早送りまたは通常の自動演奏を
行う楽音処理手段とを備えたことを特徴とする自動演奏
装置。
4. Storage means for storing a plurality of combinations of tone information and time information, and a combination of tone information and time information from the storage means.
In an automatic performance device provided with an information reading means for reading out in the order of progress of a performance, a time stepping means for ticking the progress of time, and progress time data ticked by the time ticking means,
During normal automatic performance, time data conversion means for converting to a smaller value, conversion time data converted by the time data conversion means, and progress time data carved by the time stepping means are selected for switching. Means, a comparing means for comparing either the conversion time data or the progress time data switched and selected by the switching selecting means with the time information read by the information reading means, and a comparison result of the comparing means. Accordingly, the automatic musical instrument is provided with musical tone processing means for performing fast-forwarding of automatic musical performance or normal automatic musical performance by performing processing based on the musical tone information read by the information reading means.
【請求項5】上記時間データ変換手段は、上記時間刻み
手段によって刻まれた進行時間データを、より小さな値
に変換した変換時間データ群を記憶する変換データ記憶
手段と、 この変換データ記憶手段より、上記時間刻み手段によっ
て刻まれた進行時間データに応じた変換時間データを読
み出す変換データ読み出し手段とよりなることを特徴と
する請求項4記載の自動演奏装置。
5. The time data conversion means stores conversion time data groups obtained by converting the progress time data carved by the time stepping means into smaller values, and the conversion data storage means. 5. The automatic musical instrument according to claim 4, further comprising conversion data reading means for reading the conversion time data corresponding to the progress time data carved by the time notifying means.
【請求項6】上記時間データ変換手段は、上記時間刻み
手段によって刻まれる進行時間データの変化のレートを
より小さな値に変換することを特徴とする請求項4記載
の自動演奏装置。
6. The automatic musical instrument according to claim 4, wherein the time data converting means converts the rate of change of the progress time data carved by the time stepping means into a smaller value.
【請求項7】上記楽音処理手段は、早送りの指示があっ
たとき、すでに実行された楽音情報以降の楽音情報につ
いて実行することを特徴とする請求項1または4記載の
自動演奏装置。
7. The automatic musical instrument according to claim 1, wherein the musical tone processing means executes musical tone information after the musical tone information which has already been executed when a fast-forward instruction is given.
【請求項8】楽音情報と時間情報との組み合せを複数組
記憶する記憶手段と、 この記憶手段より楽音情報と時間情報との組み合せを、
演奏の進行順に読み出す情報読み出し手段とを備えた自
動演奏装置において、 この情報読み出し手段によって読み出された時間情報
を、自動演奏の早送り時に、より小さな値に変換する時
間情報変換手段と、 この時間情報変換手段によって変換される変換時間情報
と、上記情報読み出し手段によって読み出された時間情
報とを、切換選択する切換選択手段と、 時間の進行を刻む時間刻み手段と、 上記切換選択手段によって、切換選択された変換時間情
報及び時間情報のいずれかと、上記時間刻み手段によっ
て刻まれた進行時間データとを比較する比較手段と、 この比較手段の比較結果に応じて、上記情報読み出し手
段によって読み出された楽音情報に基づいた処理を行う
ことにより、自動演奏の早送りまたは通常の自動演奏を
行う楽音処理手段とを備えたことを特徴とする自動演奏
装置。
8. Storage means for storing a plurality of combinations of tone information and time information, and a combination of tone information and time information from the storage means.
In an automatic performance device provided with information reading means for reading in the order of progress of a performance, time information conversion means for converting the time information read by this information reading means into a smaller value during fast-forwarding of the automatic performance, and this time The conversion time information converted by the information conversion means and the time information read by the information reading means are switched and selected by switching selection means, a time stepping means for ticking the progress of time, and the switching selection means. Comparing means for comparing either the conversion time information or the time information selected by switching with the progress time data engraved by the time stepping means, and read by the information reading means in accordance with the comparison result of the comparing means. By performing processing based on the generated musical tone information, the musical tone processing that performs fast-forwarding of automatic performance or normal automatic performance Automatic performance apparatus characterized by comprising a means.
JP4011432A 1992-01-24 1992-01-24 Automatic playing device Expired - Fee Related JP2556640B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4011432A JP2556640B2 (en) 1992-01-24 1992-01-24 Automatic playing device
US08/008,499 US5357046A (en) 1992-01-24 1993-01-25 Automatic performance apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4011432A JP2556640B2 (en) 1992-01-24 1992-01-24 Automatic playing device

Publications (2)

Publication Number Publication Date
JPH05204381A JPH05204381A (en) 1993-08-13
JP2556640B2 true JP2556640B2 (en) 1996-11-20

Family

ID=11777923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4011432A Expired - Fee Related JP2556640B2 (en) 1992-01-24 1992-01-24 Automatic playing device

Country Status (1)

Country Link
JP (1) JP2556640B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6414597A (en) * 1987-07-03 1989-01-18 Matsushita Refrigeration Heat exchanging device
JPH0827626B2 (en) * 1988-01-13 1996-03-21 ヤマハ株式会社 Automatic playing device
JPH07111625B2 (en) * 1990-03-30 1995-11-29 株式会社河合楽器製作所 Playback device for performance information

Also Published As

Publication number Publication date
JPH05204381A (en) 1993-08-13

Similar Documents

Publication Publication Date Title
JP2896716B2 (en) Automatic performance device
JP3293515B2 (en) Tone generator
JP2556640B2 (en) Automatic playing device
JP2556641B2 (en) Automatic playing device
US5357046A (en) Automatic performance apparatus and method
JP2574964B2 (en) Automatic performance device
JP4350198B2 (en) Musical performance device
JP2556639B2 (en) Automatic playing device
JP3031392B2 (en) Performance reproducing apparatus and performance reproducing method
JP3389803B2 (en) Electronic musical instrument
JP2556640C (en)
JPH0375874B2 (en)
JP2641851B2 (en) Automatic performance device
JP3029339B2 (en) Apparatus and method for processing sound waveform data
JP3178176B2 (en) Automatic accompaniment device
JP3098352B2 (en) Automatic performance device
JPH10254467A (en) Lyrics display device, recording medium which stores lyrics display control program and lyrics display method
JP3649117B2 (en) Musical sound reproducing apparatus and method, and storage medium
JP2583377B2 (en) Automatic performance device
JP2001350469A (en) Device and method for deciding sounding length and recording medium
JP3479141B2 (en) Automatic performance device
JP2616752B2 (en) Automatic performance device
JP2005010458A (en) Automatic arpeggio device and computer program applied to the device
JP2681146B2 (en) Electronic musical instrument automatic performance device and automatic performance method
JP3503487B2 (en) Automatic performance device and storage medium

Legal Events

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