JPH0827625B2 - Automatic playing device - Google Patents
Automatic playing deviceInfo
- Publication number
- JPH0827625B2 JPH0827625B2 JP63005377A JP537788A JPH0827625B2 JP H0827625 B2 JPH0827625 B2 JP H0827625B2 JP 63005377 A JP63005377 A JP 63005377A JP 537788 A JP537788 A JP 537788A JP H0827625 B2 JPH0827625 B2 JP H0827625B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- performance
- mode
- reading
- tempo
- 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 - Lifetime
Links
- 238000013500 data storage Methods 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000003860 storage Methods 0.000 claims description 11
- 238000005259 measurement Methods 0.000 claims description 2
- 230000000750 progressive effect Effects 0.000 claims description 2
- 230000015654 memory Effects 0.000 description 58
- 238000000034 method Methods 0.000 description 40
- 230000008569 process Effects 0.000 description 39
- 230000006870 function Effects 0.000 description 18
- 238000003825 pressing Methods 0.000 description 11
- 230000008859 change Effects 0.000 description 7
- 230000003936 working memory Effects 0.000 description 6
- 125000004122 cyclic group Chemical group 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000007774 longterm Effects 0.000 description 3
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Auxiliary Devices For Music (AREA)
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は演奏データを記憶するメモリを備えた自動演
奏装置に係り、特に該メモリに記憶された演奏データの
読出し時に楽曲の進行状態を表示する自動演奏装置に関
する。Description: TECHNICAL FIELD The present invention relates to an automatic performance device provided with a memory for storing performance data, and particularly to displaying the progress state of a musical piece when the performance data stored in the memory is read out. Automatic playing device.
[従来技術] この種の装置に関する従来技術としては、例えば実開
昭62−2096号公報に示されるように、メモリの使用量を
アドレス数により表示するものが知られている。[Prior Art] As a prior art relating to this type of device, there is known one that displays the amount of memory used by the number of addresses, as shown in Japanese Utility Model Laid-Open No. 62-2096.
[発明が解決しようとする課題] しかるに、上記従来の装置にあっては、メモリの残量
が視覚的に表示されるので演奏データの記録時には有効
であるが、該記録によりメモリ内に記憶される演奏デー
タの量は楽曲の種類により異なるので、演奏データの読
出し時において楽曲の進行位置を把握することはできな
かった。[Problems to be Solved by the Invention] However, in the above-mentioned conventional apparatus, since the remaining amount of the memory is visually displayed, it is effective at the time of recording the performance data, but it is stored in the memory by the recording. Since the amount of performance data to be played differs depending on the type of music, it was not possible to grasp the progress position of the music when reading the performance data.
本発明は上記問題に鑑み案出されたもので、その目的
は演奏データの読出し時に楽曲の進行状態を認識できる
ようにした自動演奏装置を提供するものである。The present invention has been devised in view of the above problems, and an object thereof is to provide an automatic performance device capable of recognizing a progress state of a music when reading performance data.
[課題を解決するための手段] 上記目的を達成するために、第1の発明(上記請求項
1に係る発明)の構成上の特徴は、楽曲演奏に係る複数
の演奏データを楽曲の進行に従って記憶する演奏データ
記憶手段と、所定のテンポで前記複数の演奏データを順
次読出す読出し手段とを備えた自動演奏装置において、
前記読出し手段による演奏データの読出し時における楽
曲の進行位置を楽曲の進行に従って計測する進行位置計
測手段と、前記演奏データ記憶手段に記憶されている演
奏データに関する楽曲全体の長さに対する前記計測した
楽曲の進行位置の割合を計算する割合計算手段と、前記
計算した割合を表示する表示手段とを設けたことにあ
る。[Means for Solving the Problems] In order to achieve the above-mentioned object, the structural feature of the first invention (the invention according to claim 1) is that a plurality of performance data relating to a musical performance is reproduced in accordance with the progress of the musical composition. In an automatic performance device provided with performance data storage means for storing and reading means for sequentially reading out the plurality of performance data at a predetermined tempo,
Progressive position measuring means for measuring the progress position of the music when the performance data is read by the reading means according to the progress of the music, and the measured music with respect to the entire length of the music relating to the performance data stored in the performance data storage means. The ratio calculating means for calculating the ratio of the moving position and the display means for displaying the calculated ratio are provided.
また、第2の発明(上記請求項2に係る発明)の構成
上の特徴は、楽音の発生を制御する演奏イベントデータ
及び各該演奏イベントデータの読出し間隔を表す相対時
間データからなる複数の演奏データを楽曲の進行に従っ
て記憶する演奏データ記憶手段と、楽曲の進行速度に対
応したレートでテンポクロック信号を発生するテンポク
ロック信号発生手段と、該テンポクロック信号を計数す
ることにより前記相対時間データに対応した時間間隔で
前記演奏イベントデータを順次読出す読出し手段とを備
えた自動演奏装置において、前記読出し手段により演奏
イベントデータの読出し時における経過時間を前記テン
ポクロック数に対応させて計測する経過時間計測手段
と、前記演奏データ記憶手段に記憶されている全ての演
奏イベントデータの読出しに必要であって前記テンポク
ロック数に対応した全体時間に対する前記計測した経過
時間の割合を計算する割合計算手段と、前記計算した割
合を表示する表示手段とを設けたことにある。The second aspect of the invention (the invention according to claim 2) is characterized in that a plurality of performances are composed of performance event data for controlling the generation of musical tones and relative time data representing a read interval of each performance event data. Performance data storage means for storing data as the music progresses, tempo clock signal generation means for generating a tempo clock signal at a rate corresponding to the speed at which the music progresses, and the relative time data is obtained by counting the tempo clock signal. In an automatic performance device having a reading means for sequentially reading the performance event data at corresponding time intervals, an elapsed time when the reading means reads the performance event data in correspondence with the tempo clock number. Measuring means and reading of all performance event data stored in the performance data storage means In that provided the percentage calculating means for calculating the percentage of elapsed time that the measurement for the entire time corresponding to the tempo number of clocks is required, and display means for displaying the rate that the calculated tooth.
また、第3の発明(上記請求項3に係る発明)の構成
上の特徴は、上記第2の発明の経過時間計測手段を、上
記読出し手段による演奏イベントデータの読出し開始時
から前記テンポクロック信号を計数する計数手段で構成
したことにある。The third aspect of the invention (the invention according to claim 3) is characterized in that the elapsed time measuring means of the second aspect of the invention is provided with the tempo clock signal from the start of reading the performance event data by the reading means. It is composed of counting means for counting.
また、第4の発明(上記請求項4に係る発明)の構成
上の特徴は、上記第2の発明の上記経過時間計測手段
を、上記読出し手段による演奏イベントデータの読出し
開始時から前記相対時間データを累算する累算手段で構
成したことにある。The fourth aspect of the invention (the invention according to claim 4) is characterized in that the elapsed time measuring means of the second invention is the relative time from the start of reading the performance event data by the reading means. It consists of an accumulation means for accumulating data.
また、第5の発明(上記請求項6に係る発明)の構成
上の特徴は、上記第2の発明の上記割合計算手段を、上
記全体時間を表す全体時間データを記憶する全体時間デ
ータ記憶手段と、前記全体時間記憶手段に記憶されてい
る全体時間データにより表された全体時間に対する上記
経過時間測定手段により計測された経過時間の割合を演
算する演算手段とにより構成したことにある。The fifth aspect of the invention (the invention according to claim 6) is characterized in that the ratio calculating means of the second invention stores the whole time data representing the whole time. And a calculating means for calculating the ratio of the elapsed time measured by the elapsed time measuring means to the total time represented by the total time data stored in the total time storage means.
また、第6の発明(上記請求項6に係る発明)の構成
上の特徴は、上記第2の発明の上記割合計算手段を、上
記読出し手段による演奏イベントデータの読出し開始前
に演奏データ記憶手段に記憶されている全ての相対時間
データを累算して上記全体時間を算出する累算手段と、
前記累算手段により算出された全体時間に対する上記経
過時間計測手段により計測された経過時間の割合を演算
する演算手段とにより構成したことにある。The sixth aspect of the present invention (the invention according to claim 6) is characterized in that the ratio calculating means of the second aspect of the present invention is used by the performance data storage means before the reading of the performance event data by the reading means is started. Accumulating means for accumulating all the relative time data stored in to calculate the total time,
The calculation means calculates the ratio of the elapsed time measured by the elapsed time measuring means to the total time calculated by the accumulating means.
また、第7の発明(上記請求項7に係る発明)の構成
上の特徴は、楽器演奏に係る複数の演奏データを楽曲の
進行に従って複数のアドレスにそれぞれ記憶する演奏デ
ータ記憶手段と、所定のテンポで歩進するアドレス信号
を発生し該アドレス信号により指定されるアドレスに記
憶されている演奏データを順次読出す読出し手段とを備
えた自動演奏装置において、前記演奏データ記憶手段に
おける演奏データの最終記憶アドレス値に対する前記読
出し手段による演奏データの読出し時におけるアドレス
値の割合を計算する割合計算手段と、前記計算した割合
を表示する表示手段とを設けたことにある。The seventh aspect of the invention (the invention according to claim 7) is characterized by a performance data storage means for storing a plurality of performance data related to musical instrument performance at a plurality of addresses in accordance with the progress of a musical composition, and a predetermined performance data storage means. In an automatic performance device having a read-out means for generating an address signal stepping at a tempo and sequentially reading performance data stored at an address designated by the address signal, the final performance data in the performance data storage means is provided. The ratio calculation means calculates the ratio of the address value to the stored address value at the time of reading the performance data by the read means, and the display means for displaying the calculated ratio.
[発明の作用] 上記のように構成した第1の発明においては、進行位
置計測手段が演奏データの読出しにおける楽曲の進行位
置を計測し、割合計算手段が楽曲全体の長さに対する前
記計測した楽曲の進行位置の割合を計算して、該計算し
た割合が表示手段によって表示される。[Operation of the Invention] In the first aspect of the invention configured as described above, the progress position measuring means measures the progress position of the music in reading the performance data, and the ratio calculating means measures the measured music with respect to the entire length of the music. The ratio of the advancing position is calculated, and the calculated ratio is displayed by the display means.
また、上記のように構成した第2の発明においては、
経過時間計測手段が演奏データの読出しにおける経過時
間をテンポクロック数に対応させて計測し、割合計算手
段が演奏データ記憶手段に記憶されている全ての演奏イ
ベントデータの読出しに必要な全体時間に対する前記計
測した経過時間の割合を計算して、該計算した割合が表
示手段によって表示される。Further, in the second invention configured as described above,
The elapsed time measuring means measures the elapsed time in reading the performance data in correspondence with the number of tempo clocks, and the ratio calculating means measures the total time required for reading all the performance event data stored in the performance data storage means. The ratio of the measured elapsed time is calculated, and the calculated ratio is displayed by the display means.
また、上記第3の発明においては、前記第2の発明に
おける経過時間計測手段としての計数手段が、テンポク
ロック信号を計数することにより、上記経過時間を計測
する。In the third invention, the counting means as the elapsed time measuring means in the second invention counts the elapsed time by counting the tempo clock signal.
また、上記第4の発明においては、前記第2の発明に
おける経過時間計測手段としての累算手段が、演奏イベ
ントデータの読出し開始から相対時間データを累算する
ことにより、上記経過時間を計測する。In the fourth invention, the elapsed time is measured by accumulating the relative time data from the start of reading the performance event data by the accumulating means as the elapsed time measuring means in the second invention. .
また、上記第5の発明においては、上記第2の発明割
合計算手段を構成する全体時間データ記憶手段及び演算
手段が協働して、全体時間記憶手段に記憶されている全
体時間データにより表された全体時間と経過時間計測手
段により計測された経過時間とに基づき、上記経過時間
割合を計算する。In the fifth aspect of the invention, the total time data storage means and the arithmetic means of the second aspect ratio calculation means cooperate with each other and are represented by the total time data stored in the total time storage means. The elapsed time ratio is calculated based on the total time and the elapsed time measured by the elapsed time measuring means.
また、上記第6の発明においては、上記第2の発明の
割合計算手段を構成する累算手段及び演算手段が協働し
て、全ての相対時間データを累算することにより計算し
た全体時間と経過時間計測手段により計測された経過時
間とに基づき、上記経過時間割合を計算する。Further, in the sixth aspect of the invention, the total time calculated by accumulating all the relative time data in cooperation with the accumulating means and the arithmetic means constituting the ratio calculating means of the second aspect of the invention, The elapsed time ratio is calculated based on the elapsed time measured by the elapsed time measuring means.
さらに、上記のように構成した第7の発明において
は、割合計算手段が演奏データ記憶手段における演奏デ
ータの最終記憶アドレス値に対する読出し手段による演
奏データの読出し時におけるアドレス値の割合を計算
し、該計算した割合が表示手段によって表示される。Further, in the seventh aspect of the invention configured as described above, the ratio calculation means calculates the ratio of the address value at the time of reading the performance data by the reading means with respect to the final storage address value of the performance data in the performance data storage means, The calculated ratio is displayed by the display means.
[発明の効果] 上記作用説明からも理解できるとおり、上記第1の発
明によれば、楽曲全体の長さに対する再生中の楽曲の進
行位置の割合が表示されるので、利用者は再生中の楽曲
の進行位置を認識できるとともに、前記割合表示により
楽曲が現在どの辺を進行中であるのか感覚的に把握し易
くなる。これにより、利用者は今後どの程度自動演奏が
続くのか把握できる。また、演奏データの早送り、後退
等の操作を混じえることにより、楽曲中、所望の位置に
楽曲の進行位置を設定でき、聴取したい部分を速やかに
探し出すことができる。[Effects of the Invention] As can be understood from the above description of the operation, according to the first invention, since the ratio of the progress position of the music being reproduced to the length of the entire music is displayed, the user can The progress position of the music can be recognized, and the display of the ratio makes it easy to intuitively grasp which side the music is currently progressing. This allows the user to know to what extent the automatic performance will continue. In addition, by admixing operations such as fast-forwarding and backward moving of performance data, the progress position of the music can be set at a desired position in the music, and the portion to be listened to can be quickly found.
また、上記第2乃至第6の発明によれば、楽曲の進行
はテンポクロック信号発生手段からのテンポクロック手
段に依存し、かつ割合計算手段により計算された経過時
間割合は該テンポクロック信号に基づくものであって、
表示される経過時間割合が精度のよいものとなるので、
上記第1の発明による効果に加えて、上記楽曲の進行状
態が正確に把握される。Further, according to the second to sixth inventions, the progress of the music depends on the tempo clock means from the tempo clock signal generating means, and the elapsed time ratio calculated by the ratio calculating means is based on the tempo clock signal. The thing
Since the displayed elapsed time ratio will be accurate,
In addition to the effect of the first invention, the progress state of the music is accurately grasped.
さらに、上記第7の発明によれば、現在の楽曲の進行
位置を読出し手段にて順次歩進されているアドレス信号
値により推定するようにして、格別の回路を設けなくて
も現在の楽曲の進行位置を検出できるようにしたので、
上記第1の発明による効果に加えて、構成を簡単にして
上記割合を表示することができる。その結果、当該自動
演奏装置の製造コストが安くなる。Further, according to the seventh aspect of the present invention, the progress position of the current music piece is estimated from the address signal value which is sequentially stepped up by the reading means, so that the current music piece can be detected without providing a special circuit. Since it is possible to detect the traveling position,
In addition to the effect of the first invention, the ratio can be displayed with a simple structure. As a result, the manufacturing cost of the automatic performance device is reduced.
[実施例] 以下、本発明の一実施例を図面を用いて説明する。第
1図は本発明に係る自動演奏装置の全体をブロック図に
より示しており、この自動演奏装置は操作パネル10を有
する。操作パネル10には、スタート操作子11、ストップ
操作子12、早送り操作子13、後退操作子14、記録操作子
15、ファンクション操作子16及びデンポ操作子17が配設
されており、各操作子11〜16は該自動演奏装置の各動作
モードを指定するとともに、テンポ操作子17は自動演奏
のテンポを設定する。これらの各操作子11〜17の操作は
スイッチ群10a内に同操作子11〜17に対応して設けた各
スイッチ又はディジタル位置センサにより検出されるよ
うになっており、各スイッチ及びディジタル位置センサ
はバス20に接続されている。また、操作パネル10には自
動演奏の進行位置を2桁の数字(0〜99)で表示する表
示器18が配設されており、表示器18はバス20に接続した
表示制御回路10bにより制御されるようになっている。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the entire automatic musical instrument according to the present invention. The automatic musical instrument has an operation panel 10. The operation panel 10 includes a start operator 11, a stop operator 12, a fast-forward operator 13, a backward operator 14, and a recording operator.
15, a function operator 16 and a denpo operator 17 are provided. Each operator 11 to 16 designates each operation mode of the automatic performance device, and the tempo operator 17 sets the tempo of automatic performance. . The operation of each of these operators 11 to 17 is detected by each switch or a digital position sensor provided corresponding to the operators 11 to 17 in the switch group 10a. Is connected to bus 20. Further, the operation panel 10 is provided with a display 18 for displaying the progress position of the automatic performance by a two-digit number (0 to 99), and the display 18 is controlled by the display control circuit 10b connected to the bus 20. It is supposed to be done.
バス20には、テンポ発振器31、ミディー(以下MIDIと
いう)受信器32及びMIDI送信器33も接続されている。テ
ンポ発振器31は可変発振器により構成され、設定テンポ
に応じた周期(レート)でテンポクロック手段を発生す
る。MIDI受信器32はMIDI(Musical Instrument Digital
Interface)コードにより表された演奏データを入力す
るインターフェース回路であり、該受信器32には電子楽
器、演奏操作装置(楽音信号発生装置を備えないで鍵盤
等による演奏データのみを出力する装置)、他の自動演
奏装置等が接続される。MIDI送信器33はMIDIコードによ
り表された演奏データを出力するインターフェース回路
であり、該送信器33には電子楽器、音源装置(鍵盤等の
演奏操作手段を備えないで入力演奏データに応じて楽音
信号を発生する装置)、他の自動演奏装置等が接続され
る。Also connected to the bus 20 are a tempo oscillator 31, a MIDI receiver 32 and a MIDI transmitter 33. The tempo oscillator 31 is composed of a variable oscillator, and generates tempo clock means at a cycle (rate) according to the set tempo. The MIDI receiver 32 is a MIDI (Musical Instrument Digital
Interface) is an interface circuit for inputting performance data represented by a code, and the receiver 32 has an electronic musical instrument, a performance operation device (a device for outputting only performance data by a keyboard or the like without a musical tone signal generator), Other automatic performance devices etc. are connected. The MIDI transmitter 33 is an interface circuit that outputs performance data represented by MIDI codes. The transmitter 33 does not include an electronic musical instrument, a sound source device (keyboard or other performance operating means, and produces musical sound according to input performance data. Signal generating device), other automatic performance devices, etc. are connected.
さらに、バス20にはマイクロコンピュータ40及び演奏
データメモリ50が接続されている。マイクロコンピュー
タ40はCPU41、プログラムメモリ42及びワーキングメモ
リ43からなる。CPU41は電源スイッチ(図示しない)の
投入により第2図のフローチャートに対応した「メイン
プログラム」を実行するとともに、テンポ発信器31から
のテンポクロック信号の到来に応答して第3図のフロー
チャートに対応した「テンポクロックインタラプトプロ
グラム」を割込み実行する。プログラムメモリ42はROM
により構成され、前記「メインプログラム」及び「テン
ポクロックインタラプトプログラム」を記憶するととも
に、該各プログラムのサブルーチンに相当する第4図乃
至第14図のフローチャートに対応したサブプログラムを
記憶している。Furthermore, a microcomputer 40 and a performance data memory 50 are connected to the bus 20. The microcomputer 40 comprises a CPU 41, a program memory 42 and a working memory 43. The CPU 41 executes the "main program" corresponding to the flowchart of FIG. 2 by turning on the power switch (not shown), and responds to the arrival of the tempo clock signal from the tempo oscillator 31 and responds to the flowchart of FIG. Execute the interrupted "tempo clock interrupt program". Program memory 42 is ROM
And stores the "main program" and the "tempo clock interrupt program", and also stores the sub-programs corresponding to the flowcharts of FIGS. 4 to 14 corresponding to the subroutines of the programs.
ワーキングメモリ43はRAMにより構成され、前記各プ
ログラムの実行に必要な変数データを一時的に記憶して
いる。該変数データの主なものを列挙すると次の通りで
ある。The working memory 43 is composed of a RAM, and temporarily stores the variable data necessary for executing the programs. The main items of the variable data are listed below.
テンポクロックTCL……テンポクロック信号の到来毎
に1ずつ増加して自動演奏装置の進行を表す。Tempo clock TCL: increments by 1 each time the tempo clock signal arrives, indicating the progress of the automatic performance device.
ポインタPNT……演奏データメモリ50のアドレスを表
す。(0〜DTEND) テンポデータTMP……自動演奏のテ
ンポスピードを表す。Pointer PNT: Indicates the address of performance data memory 50. (0 to DTEND) Tempo data TMP: Indicates the tempo speed of automatic performance.
現テンポクロック数NTM……現在までのテンポクロッ
ク数の累算値を表す。Current tempo clock count NTM: Indicates the cumulative value of the tempo clock counts up to the present.
総テンポクロック数TTM……一曲分のテンポクロック
数の総和を表す。Total tempo clock count TTM: Indicates the total tempo clock count for one song.
時間データDUR……イベントデータから次のイベント
データの発生までの時間を表す。Time data DUR: Indicates the time from the event data to the occurrence of the next event data.
表示テータDSP……表示器18にて表示される表示値を
示す。Display data DSP: Indicates the display value displayed on the display 18.
ジャンプデータPC10……ジャンプモードにおける飛び
先の進行位置を表す。Jump data PC10 ... Represents the jumping position in jump mode.
モードデータMODE……当該自動演奏装置が設定されて
いる5種類(次頁第1表参照)のモードを表す。Mode data MODE: Indicates the 5 types of modes (see Table 1 on the next page) for which the automatic performance device is set.
サブモードデータMODE……当該自動演奏装置が設定さ
れている5種類(次々頁第2表参照)のサブモードを表
す。Sub-mode data MODE: Indicates the five types of sub-modes (see Table 2 on the next page) for which the automatic performance device is set.
演奏データメモリ50は0〜DTENDに渡るアドレスに対
応した記憶領域を有するRAMに構成され、第15図のデー
タフォーマットにより表された以下の各種演奏データDA
TA及び音色、音量、効果等に関するその他の演奏データ
DATAを記憶する。なお、下記において、サフィックスH
は16進表示を表すとともに、Xは任意の値をとり得るこ
とを表す。 The performance data memory 50 is composed of a RAM having a storage area corresponding to addresses ranging from 0 to DTEND, and the following various performance data DA represented by the data format shown in FIG.
TA and other performance data related to timbre, volume, effects, etc.
Memorize the data. In the following, suffix H
Represents hexadecimal notation, and X represents that it can take any value.
キーオンデータ・・・第1バイト目に識別コード「9X
H」を含む3バイトのデータにより構成され、第2及び
第3バイト目の両最上位ビットMSBは0であり、下位7
ビットはそれぞれキーコードKCおよび押鍵タッチデータ
KTである。Key-on data: Identification code "9X" in the first byte
H '", the most significant bit MSB of the second and third bytes is 0, and the lower 7
Bits are key code KC and touch data
It is KT.
キーオフデータ・・・第1バイト目に識別コード「8X
H」を含む3バイトのデータにより構成され、第2及び
第3バイト目の両最上位ビットMSBは0であり、下位7
ビットはそれぞれキーコードKCおよび離鍵タッチデータ
KTである。Key-off data: Identification code "8X" in the first byte
H '", the most significant bit MSB of the second and third bytes is 0, and the lower 7
Bits are key code KC and key release touch data respectively
It is KT.
時間データ・・・第1バイト目に識別コード「F2H」
を含む2バイトのデータにより構成され、第2バイト目
の最上位ビットMSBは「0」であり、下位7ビットは時
間値TIMEである。Time data: Identification code "F2 H " in the first byte
, The most significant bit MSB of the second byte is “0”, and the lower 7 bits are the time value TIME.
長時間データ・・・第1バイト目に識別コード「F
3H」を含む3バイトのデータにより構成され、第2及び
第3バイト目の両最上位ビットMSBは「0」であり、下
位7ビットはそれぞれ14ビットで表された時間値TIMEの
うち上位及び下位7ビットある。Long-term data: Identification code "F" in the first byte
It consists of 3 bytes of data including "3 H ", the most significant bit MSB of the 2nd and 3rd bytes is "0", and the lower 7 bits are the upper part of the time value TIME represented by 14 bits. And the lower 7 bits.
曲開始データ・・・識別コード「F0H」のみからなる
1バイトのデータである。Is one byte of data consisting only of songs start data ... identification code "F0 H".
非動作データ・・・識別コード「F9H」のみからなる
1バイトのデータである。Is one byte of data consisting of a non-operational data ... identification code "F9 H" only.
曲終了データ・・・識別コード「FFH」のみからなる
1バイトのデータである。Song end data: 1-byte data consisting only of the identification code “FF H ”.
かかる場合、ワーキングメモリ43及び演奏データメモ
リ50として通常のRAMを用いてもよいが、バッテリバッ
クされたRAM又は不揮発性のRAMを用いてもよいことはも
ちろんである。In such a case, a normal RAM may be used as the working memory 43 and the performance data memory 50, but it goes without saying that a battery-backed RAM or a non-volatile RAM may be used.
次に、上記のように構成した自動演奏装置の動作につ
いて説明する。電源スイッチが投入されると、CPU41は
第2図のステップ100にて「メインプログラム」の実行
を開始し、ステップ101にて表示制御回路10bとの協働に
より表示器18を制御して該表示器18による表示状態を
“−−”に初期設定するとともに、ワーキングメモリ43
内の各種変数データを「0」に初期設定して、以降ステ
ップ102〜110からなる循環処理を実行し続ける。この循
環処理においては、ステップ102〜108にて各操作子11〜
15の操作に応じた処理が実行されるとともに、ステップ
109にてMIDI受信器32への演奏データの到来が検出され
る。また、ステップ110にてテンポ操作子17の操作位置
に応じてテンポ発振器31の発振周波数が制御されるとと
もに、テンポデータTMPが前記操作位置に応じた値に設
定される。かかる循環処理中、テンポ発振器31からテン
ポクロック信号が出力されると、CPU41は「テンポイン
タラプトプログラム」を実行する。Next, the operation of the automatic musical instrument constructed as above will be described. When the power switch is turned on, the CPU 41 starts executing the "main program" in step 100 of FIG. 2, and controls the display device 18 in cooperation with the display control circuit 10b in step 101 to display the display. The display state of the instrument 18 is initialized to "---" and the working memory 43
The various variable data in the above are initially set to "0", and thereafter, the cyclic processing including steps 102 to 110 is continuously executed. In this circulation process, in each of steps 102 to 108, each operator 11 to
The process according to the operation of 15 is executed and the step
At 109, arrival of performance data to the MIDI receiver 32 is detected. In step 110, the oscillation frequency of the tempo oscillator 31 is controlled according to the operation position of the tempo operator 17, and the tempo data TMP is set to a value according to the operation position. During the circulation processing, when the tempo clock signal is output from the tempo oscillator 31, the CPU 41 executes the “ten pointer interrupt program”.
以下、各操作子11〜16の操作に応じた処理動作につい
て説明するが、説明の便宜上、(1)演奏記録動作、
(2)演奏再生動作、(3)早送り動作、(4)後退動
作に分けて説明する。なお、当該自動演奏装置の基本状
態は、第16図に示すように、ストップモードであってモ
ードデータMODEは上記ステップ101(第2図)の処理に
より「0」に設定されており、該モードにおいては、テ
ンポクロック信号の到来により「テンポインタラプトプ
ログラム」(第3図)が実行されても、ステップ201に
て「YES」と判定され、実質的な処理が実行されないで
ステップ202にて該「テンポインタラプトプログラム」
の実行が終了される。Hereinafter, the processing operation according to the operation of each of the operators 11 to 16 will be described. For convenience of explanation, (1) performance recording operation,
(2) Performance playback operation, (3) fast forward operation, and (4) backward movement operation will be described separately. As shown in FIG. 16, the basic state of the automatic musical instrument is the stop mode, and the mode data MODE is set to "0" by the processing of step 101 (FIG. 2). In step 2, even if the “ten pointer interrupt program” (FIG. 3) is executed due to the arrival of the tempo clock signal, it is determined to be “YES” in step 201, and the substantial process is not executed and the “ten pointer interrupt program” is executed in step 202. Ten Pointer Rupto Program "
Execution is terminated.
(1)演奏記録動作 上記ストップモードにある状態において、記録操作子
15が操作されると、ステップ102〜110(第2図)からな
る循環処理を実行中のCPU41はステップ104にて「YES」
すなわち記録操作子15のオンイベント有りと判定し、ス
テップ104aにて「記録操作子オンイベントルーチン」
(第6図)を実行する。この「記録操作子オンイベント
ルーチン」においては、ステップ360にてその実行が開
始され、ステップ361にて「0」に設定されているモー
ドデータMODEに基づき「YES」と判定され、ステップ362
にてモードデータMODEが「4」に設定され、ステップ36
3にて表示器18にて“00"が表示されるように表示制御回
路10bが制御されて、ステップ364にて同ルーチンの実行
が終了される。これにより、第16図に示すように、当該
自動演奏装置はレコード待機モードに設定される。な
お、当該自動演奏装置のモードがストップモード(モー
ドデータMODE=0)以外の場合には、記録操作子15が操
作されても、前記ステップ361における「NO」との判定
により同自動演奏装置がレコード待機モードに変更され
ることはない。(1) Performance recording operation Recording operator in the stop mode
When 15 is operated, the CPU 41, which is executing the circulation process including steps 102 to 110 (FIG. 2), returns “YES” in step 104.
That is, it is determined that the recording operator 15 has an on-event, and the "recording operator on-event routine" is executed in step 104a.
(FIG. 6) is executed. In this "recording operator on-event routine", its execution is started in step 360, and it is determined to be "YES" based on the mode data MODE set to "0" in step 361.
Mode data MODE is set to "4" in step 36.
At 3 the display control circuit 10b is controlled so that "00" is displayed on the display 18, and at step 364 the execution of the routine is terminated. As a result, the automatic musical instrument is set to the record standby mode as shown in FIG. If the mode of the automatic musical instrument is other than the stop mode (mode data MODE = 0), even if the recording operator 15 is operated, the automatic musical instrument is judged to be “NO” in step 361. It does not change to record waiting mode.
このレコード待機モードは、第16図に示すように、ス
タート操作子11又はMIDI受信器32への演奏データ(鍵盤
等によるキーオンデータ)の到来によりレコードモード
に変更される。As shown in FIG. 16, the record standby mode is changed to the record mode by the arrival of performance data (key-on data by the keyboard or the like) to the start operator 11 or the MIDI receiver 32.
すなわち、スタート操作子11が操作されると、ステッ
プ102〜110(第2図)からなる循環処理を実行中のCPU4
1はステップ102にて「YES」すなわちスタート操作子11
のオンイベント有りと判定し、ステップ102aにて「スタ
ート操作子オンイベントルーチン」(第4図)を実行す
る。この「スタート操作子オンイベントルーチン」にお
いては、ステップ300にてその実行が開始され、ステッ
プ301の判定処理により、ステップ302〜304の処理が実
行されて、ステップ305にて同ルーチンの実行が終了さ
れる、かかる場合、CPU41はステップ302にてモードデー
タMODEを「3」に設定することにより当該自動演奏装置
をレコードモードに設定し、ステップ303にて演奏デー
タメモリ50内のポインタPNT(=0)により指定される
アドレスに演奏データDATA(PNT)として曲開始データ
「FOH」を書き込みとともに、ステップ304にてポインタ
PNTを「1」だけ進めておく。かかる状態では、テンポ
発振器31からテンポクロック信号が出力されて「テンポ
クロックインタラプトプログラム」(第3図)が実行さ
れると、モードデータMODEは前述のように「3」に設定
されているので、ステップ201,203,204にていずれも「N
O」と判定され、ステップ205以降(詳しくは後述する)
の処理が実行されて、テンポクロックTCLは同プログラ
ムの実行毎に「1」ずつ増加する。That is, when the start operator 11 is operated, the CPU 4 that is executing the circulation process including steps 102 to 110 (FIG. 2).
1 is “YES” in step 102, that is, the start operator 11
It is determined that there is an on-event of the above, and the "start operator on-event routine" (FIG. 4) is executed in step 102a. In this "start operator on-event routine", the execution thereof is started in step 300, the processing of steps 302 to 304 is executed by the determination processing of step 301, and the execution of the routine is ended in step 305. In such a case, the CPU 41 sets the automatic performance device to the record mode by setting the mode data MODE to "3" in step 302, and sets the pointer PNT (= 0 in the performance data memory 50 in step 303). ) Write the song start data "FO H " as performance data DATA (PNT) to the address specified by
Advance PNT by "1". In this state, when the tempo clock signal is output from the tempo oscillator 31 and the “tempo clock interrupt program” (FIG. 3) is executed, the mode data MODE is set to “3” as described above, In steps 201, 203, and 204, all
It is determined to be "O", and after step 205 (details will be described later).
Is executed and the tempo clock TCL is incremented by "1" each time the program is executed.
また、MIDI受信器32へ演奏データが到来すると、ステッ
プ102〜110(第2図)からなる循環処理を実行中のCPU4
1はステップ109にて「YES」すなわちMIDI入力有りと判
定し、ステップ109aにてMIDI受信器32へ入力された演奏
データをその識別コードに応じて必要な数(1〜3)だ
け入力データDT1,DT2,DT3として取り込み、ステップ109
bにて「イベントデータ入力ルーチン」(第11図)を実
行する。この「イベントデータ入力ルーチン」において
は、ステップ600にてその実行が開始され、ステップ60
1,602にてモードデータMODEに基づく判定がなされる。
かかる場合、上記のように当該自動演奏装置がレコード
待機状態にあってモードデータMODEは未だ「4」であれ
ば、ステップ601にて「NO」、ステップ602にて「YES」
判定され、ステップ603〜605にて、上述のステップ302
〜304(第4図)と同様に、モードデータMODEが「3」
に設定され、演奏データメモリ50内のポインタPNT(=
0)により指定されるアドレスに演奏データDATA(PN
T)として曲開始データ「F0H」が買い込まれるととも
に、ポインタPNTが「1」だけ進められる。これによ
り、当該自動演奏装置がレコード待機状態にあるとき
に、MIDI受信器32へ演奏データが到来しても、スタート
操作子11が操作された上記場合と同じように、演奏デー
タの演奏データメモリ50への買込みが準備されると同時
に、テンポクロックTCLの歩進を開始させる。Further, when performance data arrives at the MIDI receiver 32, the CPU 4 which is executing the circulation process including steps 102 to 110 (FIG. 2).
In step 109, 1 is "YES", that is, it is determined that MIDI input is present, and the required number (1 to 3) of input data DT1 of the performance data input to the MIDI receiver 32 in step 109a is determined according to the identification code. , DT2, DT3, import, step 109
At "b", execute the "event data input routine" (Fig. 11). In this "event data input routine", its execution is started in step 600
At 1,602, a judgment is made based on the mode data MODE.
In this case, if the automatic performance device is in the record standby state as described above and the mode data MODE is still "4", "NO" in step 601 and "YES" in step 602.
If it is determined, in steps 603-605, the above-mentioned step 302
~ 304 (Fig. 4), mode data MODE is "3"
Is set to the pointer PNT (= in the performance data memory 50
Performance data DATA (PN
As T), the song start data “F0 H ” is bought and the pointer PNT is advanced by “1”. As a result, even when performance data arrives at the MIDI receiver 32 when the automatic performance device is in the record standby state, the performance data memory for the performance data is stored in the same manner as in the case where the start operator 11 is operated. At the same time as the purchase to 50 is prepared, the tempo clock TCL starts to advance.
このようにレコード待機モードにて演奏データが到来
した場合には「イベントデータ入力ルーチン」(第11
図)のステップ601〜605の処理後、又は上記スタート操
作子11の操作若しくは前記演奏データの到来によりレコ
ードモードに変更された後に新たな演奏データが到来し
た場合には、ステップ601におる「YES」すなわちモード
データMODEが「3」であるとの判定後、CPU41はステッ
プ606以降の処理により到来した演奏データ及び時間デ
ータを演奏データメモリ50に書き込む。なお、かかる
「イベントデータ入力ルーチン」においては、モードデ
ータMODEが「3」又は「4」でなければ、ステップ601,
602における「NO」との判定により、該ルーチンの処理
が実質的に行われないでステップ607にてその実行が終
了される。In this way, when performance data arrives in the record standby mode, the “event data input routine” (No. 11)
If new performance data arrives after the processing of steps 601 to 605 in FIG. 6) or after the mode is changed to the record mode by the operation of the start operator 11 or the arrival of the performance data, YES in step 601. That is, after determining that the mode data MODE is "3", the CPU 41 writes the performance data and the time data arrived by the processing in step 606 and the subsequent steps into the performance data memory 50. In the "event data input routine", if the mode data MODE is not "3" or "4", step 601,
As a result of the determination of “NO” in 602, the execution of the routine is ended in step 607 without substantially performing the processing of the routine.
ステップ606においては、上記「テンポクロックイン
タラプトプログラム」の実行毎に「1」ずつ増加するテ
ンポクロックTCLが「7FH」以下すなわち同クロックTCL
が7ビットで表現できるか否かが判定される。かかる場
合、テンポクロックTCLが「7FH」以下であれば、ステッ
プ606における「YES」との判定の基に、ステップ608に
て演奏データメモリ50内にポインタPNT,PNT+1により
指定されるアドレスに演奏データDATA(PNT),DATA(PN
T+1)として時間識別データ「F2H」,テンポクロック
TCLがそれぞれ書き込まれ、ステップ609にてポインタPN
Tが「2」だけ進められる。また、テンポクロックTCLが
「7FH」より大きければ、ステップ606における「NO」と
の判定の基に、ステップ610にて時間データTM1,TM2がそ
れぞれテンポクロックTCLの上位7ビット及び下位7ビ
ットに設定された後、ステップ611にて演奏データメモ
リ50内のポインタPNT,PNT+1,PNT+2により指定される
アドレスに演奏データDATA(PNT),DATA(PNT+1),DA
TA(PNT+2)として長時間識別データ「F3H」及び時間
データTM1,TM2により表されたテンポクロックTCLがそれ
ぞれ書き込まれ、ステップ612にてポインタPNTが「3」
だけ進められる。In step 606, the tempo clock TCL that increases by "1" each time the "tempo clock interrupt program" is executed is "7F H " or less, that is, the same clock TCL.
Is determined by 7 bits. In this case, if the tempo clock TCL is equal to or lower than "7F H ", the performance data memory 50 is played at the address designated by the pointers PNT, PNT + 1 in the step 608 based on the judgment of "YES" in the step 606. Data DATA (PNT), DATA (PN
T + 1) time identification data "F2 H ", tempo clock
Each TCL is written, and pointer PN is written in step 609.
T can be advanced by "2". If the tempo clock TCL is larger than “7F H ”, based on the determination of “NO” in step 606, the time data TM1 and TM2 are set in the upper 7 bits and lower 7 bits of the tempo clock TCL in step 610, respectively. After being set, in step 611, the performance data DATA (PNT), DATA (PNT + 1), DA is stored in the performance data memory 50 at the address designated by the pointers PNT, PNT + 1, PNT + 2.
The long-term identification data “F3 H ” and the tempo clock TCL represented by the time data TM1 and TM2 are respectively written as TA (PNT + 2), and the pointer PNT is set to “3” at step 612.
Can only be advanced.
前記ステップ609、612の処理後、CPU41はステップ613
にて現テンポクロック数NTMにテンポクロックTCLを加算
することにより同クロック数NTMを更新した後、ステッ
プ614にてテンポクロックTCLを「0」に初期設定し、ス
テップ615にて「データ書込みルーチン」(第14図)を
実行する。かかる「データ書込みルーチン」において
は、上記ステップ109a(第2図)の処理により入力した
演奏データDT1,DT2,DT3が演奏データメモリ50に書き込
まれるが、CPU41はステップ800による実行開始後、ステ
ップ801〜803の処理により該入力演奏データDT1,DT2,DT
3の種類を判定する。かかる場合、入力演奏データDT1,D
T2,DT3は通常キーオンデータ、キーオフデータ又は音
色、音量等に関するその他の演奏データあり、該データ
DT1,DT2,DT3がキーオンデータ又はキーオフデータであ
れば、ステップ801における「YES」すなわち入力演奏デ
ータDT1が「9XH」又は「8XH」であるとの判定の基に、
ステップ804にて演奏データメモリ50内のポインタPNT,P
NT+1,PNT+2により指定されるアドレスに演奏データD
ATA(PNT),DATA(PNT+1),DATA(PNT+2)として入
力演奏データDT1,DT2,DT3がそれぞれ書き込まれ、ステ
ップ805にてポインタPNTが「3」だけ進められて、ステ
ップ806にて該「データ書込みルーチン」の実行が終了
される。また、該データDT1,DT2,DT3が音色、音量等の
その他のデータであれば、ステップ801〜803における
「NO」すなわち入力演奏データDT1が「9XH」,「8
XH」,「F9H」,「FFH」でないとの判定の基に、ステッ
プ807にて演奏データメモリ50内のポインタPNT,PNT+1,
PNT+2により指定されるアドレスに演奏データDATA(P
NT),DATA(PNT+1),DATA(PNT+2)として入力演奏
データDT1,DT2,DT3がそれぞれ書き込まれるとともにポ
インタPNTが「3」だけ進められて、ステップ806にて該
「データ書込みルーチン」の実行が終了される。なお、
この場合、該その他の演奏データが3バイトでなく1バ
イト又は2バイトであれば、書き込まれる演奏データは
一つ又は二つであると同時に、ポインタPNTの歩進も
「1」又は「2」である。After the processing of steps 609 and 612, the CPU 41 executes step 613.
After updating the same clock number NTM by adding the tempo clock TCL to the current tempo clock number NTM at step 614, the tempo clock TCL is initialized to "0" at step 614 and a "data write routine" is performed at step 615. Execute (Fig. 14). In such a "data writing routine", the performance data DT1, DT2, DT3 input by the processing of the above step 109a (Fig. 2) are written in the performance data memory 50, but the CPU 41 starts execution in step 800 and then executes step 801. The input performance data DT1, DT2, DT
Determine the 3 types. In such a case, the input performance data DT1, D
T2 and DT3 are usually key-on data, key-off data or other performance data regarding tone color, volume, etc.
If DT1, DT2, DT3 are the key-on data or the key-off data, based on the determination of "YES" in step 801, that is, the input performance data DT1 is "9X H " or "8X H ",
At step 804, the pointers PNT, P in the performance data memory 50
Performance data D at the address specified by NT + 1 and PNT + 2
Input performance data DT1, DT2, DT3 are respectively written as ATA (PNT), DATA (PNT + 1), DATA (PNT + 2), the pointer PNT is advanced by "3" in step 805, and the "data The execution of the "writing routine" is completed. Further, the data DT1, DT2, DT3 timbre, if other data such as volume, "NO", i.e. the input performance data DT1 is at step 801 to 803 "9X H", "8
Based on the determination that it is not X H ”,“ F 9 H ”, or“ FF H ”, in step 807 the pointers PNT, PNT + 1 in the performance data memory 50,
Performance data DATA (P
Input performance data DT1, DT2, and DT3 are written as NT), DATA (PNT + 1), and DATA (PNT + 2), respectively, and the pointer PNT is advanced by "3", and the "data writing routine" is executed in step 806. Will be terminated. In addition,
In this case, if the other performance data is 1 byte or 2 bytes instead of 3 bytes, the performance data to be written is 1 or 2 and the step of the pointer PNT is also "1" or "2". Is.
このようにMIDI受信器32に演奏データが到来する毎
に、「イベントデータ入力プログラム」(第11図)の実
行により、演奏データメモリ50には演奏データとともに
テンポクロックTCLが該演奏データ間のインターバルデ
ータとして順次記憶されていく。In this way, each time performance data arrives at the MIDI receiver 32, the "event data input program" (Fig. 11) is executed, and the performance data memory 50 displays the tempo clock TCL along with the interval between the performance data. It is sequentially stored as data.
一方、かかる演奏データの書込み中、テンポ発振器31
によるテンポクロック信号の発生毎に、上述のように、
「テンポクロックインタラプトプログラム」(第3図)
が実行され、ステップ201,203,204の処理後、ステップ2
05にてテンポクロックTCLは「1」ずつ増加する。そし
て、通常の場合には、MIDI受信器32に演奏データが到来
して上記ステップ614(第11図)の処理によりテンポク
ロックTCLは「0」に初期設定されるので、2バイト
(厳密には14ビット)からなる同クロックTCLがオーバ
ーフローすることはなく、前記ステップ205の処理後の
ステップ206にて「NO」すなわちテンポクロックTCLは14
ビットに対応した「4000H」以上でないと判定され、ス
テップ202にて該「テンポクロックインタラプトプログ
ラム」の実行が終了される。On the other hand, while writing the performance data, the tempo oscillator 31
Each time the tempo clock signal is generated by
"Tempo clock interrupt program" (Fig. 3)
Is executed, and after the processing of steps 201, 203, and 204, step 2
At 05, the tempo clock TCL increases by "1". In the normal case, since the performance data arrives at the MIDI receiver 32 and the tempo clock TCL is initialized to "0" by the processing of step 614 (FIG. 11), 2 bytes (strictly speaking, The same clock TCL consisting of 14 bits does not overflow, and “NO”, that is, the tempo clock TCL is 14 at step 206 after the processing of step 205.
It is determined that it is not "4000 H " or more corresponding to the bit, and the execution of the "tempo clock interrupt program" is ended in step 202.
しかし、長時間に渡りMIDI受信器32に演奏データが到
来しない場合には、テンポクロックTCLが増大して「400
0H」になると、上記ステップ206にて「YES」と判定され
て、プログラムはステップ207以降に進められる。かか
る場合、CPU41はステップ207にてテンポクロックTCLを1
4ビットで表現できる最大値に対応した「3FFFH」に設
定し、ステップ208にて「3」(レコードモード)に設
定されているモードデータMODEに基づき「YES」と判定
し、ステップ209にて入力データDT1を「F9H」(非動作
データ)に設定して、ステップ210にて「イベントデー
タ入力ルーチン」(第11図)を実行する。However, if no performance data arrives at the MIDI receiver 32 for a long time, the tempo clock TCL increases and the
When it becomes “0 H ”, it is determined as “YES” in the above step 206, and the program proceeds to step 207 and thereafter. In such a case, the CPU 41 sets the tempo clock TCL to 1 in step 207.
Set to “3FFF H ” corresponding to the maximum value that can be expressed by 4 bits, and in step 208, determine “YES” based on the mode data MODE set in “3” (record mode), and in step 209. set the input data DT1 to "F9 H" (inactive data) and executes the "event data input routine" (Fig. 11) at step 210.
かかる場合、モードデータMODEは「3」であり、かつ
テンポクロックTCLは「7FH」(7ビットで表現できる最
大値)より大きいので、CPU41は上記ステップ610〜614
の処理(演奏データとしてテンポクロックTCLの書込
み、現テンポクロック数NTMの更新及びテンポクロックT
CLの「0」への初期設定)後、ステップ615にて「デー
タ書込みルーチン」(第14図)を実行する。この場合、
上記ステップ209(第3図)の処理によって入力データD
T1は「F9H」に設定されているので、ステップ801におけ
る「NO」との判定後、ステップ802にて「YES」と判定さ
れ、ステップ808にて演奏データメモリ50内のポインタP
NTにより指定されるアドレスに演奏データDATA(PNT)
として入力演奏データDT1すなわち「F9H」が書き込まれ
るとともに、ステップ809にてポインタPNTが「1」だけ
進められて、ステップ806にて該「データ書込みルーチ
ン」の実行が終了される。その結果、演奏データメモリ
50には、テンポクロックTCLの最大値が識別コードとと
もに書き込まれると同時に、非動作データが書き込まれ
る。これにより、14ビットで表現できない時間データが
実質的に延長されたことになる。In such a case, the mode data MODE is “3” and the tempo clock TCL is larger than “7F H ” (the maximum value that can be represented by 7 bits), so the CPU 41 causes the steps 41 0 to 61 4 described above.
Processing (writing tempo clock TCL as performance data, updating the current tempo clock number NTM, and tempo clock T
After CL is initialized to "0", the "data write routine" (FIG. 14) is executed in step 615. in this case,
Input data D by the processing of step 209 (FIG. 3) above
Since T1 is set to "F9 H", after the determination of "NO" in step 801, is determined to be "YES" in step 802, the pointer P in the performance data memory 50 at step 808
Performance data DATA (PNT) at the address specified by NT
Together with the input performance data DT1 or "F9 H" is written as, with the pointer PNT is advanced by "1" at step 809, execution of the "data writing routine" is terminated in step 806. As a result, performance data memory
At 50, the maximum value of the tempo clock TCL is written together with the identification code, and at the same time, non-operation data is written. As a result, the time data that cannot be expressed in 14 bits is substantially extended.
上記ステップ210(第3図)の処理後、CPU41はステッ
プ211にてテンポクロックTCLを「0」に初期設定して、
ステップ202にて該「テンポクロックインタラプトプロ
グラム」の実行を終了する。なお、当該自動演奏装置が
レコード待機モード(モードデータMODE=4)に設定さ
れている場合には、テンポクロック信号の到来によって
該「テンポクロックインタラプトプログラム」の実行が
開始されても、ステップ201にて「NO」と判定されるの
で、実質的な処理が行われないままステップ202にて該
プログラムの実行は終了される。After the processing of step 210 (FIG. 3), the CPU 41 initializes the tempo clock TCL to “0” in step 211,
In step 202, the execution of the "tempo clock interrupt program" is completed. If the automatic performance device is set to the record standby mode (mode data MODE = 4), even if the execution of the "tempo clock interrupt program" is started by the arrival of the tempo clock signal, the process proceeds to step 201. Since it is determined to be “NO”, the execution of the program is ended in step 202 without performing substantial processing.
次に、かかる演奏データの書込み中における表示器18
の表示動作について説明する。上記「イベントデータ入
力ルーチン」(第11図)の実行中、CPU41はステップ616
にて、更新中のポインタPNT値及び演奏データメモリ50
の最終アドレス値DTEND(演奏データメモリ50の容量)
に基づき、下記式1の演算を実行する。なお、下記式1
において、関数INT(x)はxの整数部を意味する。Next, the display 18 during the writing of such performance data
The display operation of will be described. During execution of the "event data input routine" (Fig. 11), the CPU 41 executes step 616.
, Pointer PNT value being updated and performance data memory 50
Final address value DTEND (capacity of performance data memory 50)
Based on the above, the calculation of the following Expression 1 is executed. In addition, the following formula 1
In, the function INT (x) means the integer part of x.
DSP=INT{(1−PNT/DTEND)*100}・・・式1 これにより、表示データDSPは演奏データメモリ50の残
量を百分率で表すことになる。上記ステップ616の処理
後、ポインタPNT値が最後アドレスDTENDに達したか否か
が判定される。かかる場合、ポインタPNT値が未だ最終
アドレス値DTENDに達していないとすれば、CPU41はステ
ップ617にて「NO」と判定し、ステップ618にて表示制御
回路10bとの協働により表を制御して、表示器18にて表
示データDSPに対応した値が表示されるようにする。こ
れにより、該レコードモード及びレコード待機モード
(モードデータMODE=「3」,「4」)においては、表
示器18にて演奏データメモリ50のアドレス数に対応した
残量が表示されるようになる。DSP = INT {(1-PNT / DTEND) * 100} ... Equation 1 As a result, the display data DSP represents the remaining amount of the performance data memory 50 in percentage. After the processing of step 616, it is determined whether the pointer PNT value has reached the final address DTEND. In this case, if the pointer PNT value has not reached the final address value DTEND yet, the CPU 41 determines “NO” in step 617, and controls the table in cooperation with the display control circuit 10b in step 618. Then, the display 18 displays the value corresponding to the display data DSP. As a result, in the record mode and record standby mode (mode data MODE = “3”, “4”), the display 18 displays the remaining amount corresponding to the number of addresses of the performance data memory 50. .
次に、かかる演奏データの書込みを停止させる場合に
ついて説明する。かかる演奏データの書込み中(モード
データMODE=3)、ストップ操作子12が操作されると、
ステップ102〜110(第2図)からなる循環処理を実行中
のCPU41はステップ103にて「YES」すなわちストップ操
作子12のオンイベント有りと判定し、ステップ103aにて
「ストップ操作子オンイベントルーチン」(第5図)を
実行する。この「ストップ操作子オンイベントルーチ
ン」においては、ステップ330にてその実行が開始され
て、ステップ331にて「YES」すなわちモードデータMODE
は「3」であると判定されて、ステップ332にて入力デ
ータDT1が「FFH」(曲終了データ)に設定された後、ス
テップ333にて「イベントデータ入力ルーチン」が実行
される。かかる「イベントデータ入力ルーチン」(第11
図)においては、上述と同様の処理によりテンポクロッ
クTCLの演奏データメモリ50内への書込み及び表示制御
が実行されるとともに、ステップ615にて「データ書込
みルーチン」(第14図)が実行される。かかる場合、入
力データDT1は「FFH」に設定されているので、「データ
書込みルーチン」においては、ステップ801,802におけ
る「NO」との判定及びステップ803における「YES」との
判定の基に、ステップ810にて演奏データメモリ50内の
ポインタPNTにより指定されるアドレスに演奏データDAT
A(PNT)として前記入力演奏データDT1すなわち「FFH」
(曲終了データ)が書き込まれるとともに、ステップ81
1にて総テンポクロック数TTMが現テンポクロック数NTM
に設定されて、ステップ806にて該「データ書込みルー
チン」の実行が終了される。これにより、演奏データメ
モリ50には曲の終了を表すデータが記憶されるととも
に、総テンポクロック数TTMとして該曲の長さをテンポ
クロック数すなわち演奏時間に対応した量で表した値が
記憶される。Next, a case where the writing of the performance data is stopped will be described. When the stop operator 12 is operated while writing such performance data (mode data MODE = 3),
The CPU 41, which is executing the circulation process including steps 102 to 110 (FIG. 2), determines “YES” in step 103, that is, that the stop operator 12 has an on-event, and in step 103a, the “stop operator on-event routine”. ”(FIG. 5). In this "stop operator on event routine", its execution is started in step 330, and "YES" in step 331, that is, the mode data MODE
Is determined to be "3", after the input data DT1 at step 332 is set to "FF H" (song end data), "the event data input routine" is executed at step 333. Such "event data input routine" (11th
In the figure), the writing of the tempo clock TCL into the performance data memory 50 and the display control are executed by the same processing as described above, and the "data writing routine" (FIG. 14) is executed in step 615. . In this case, since the input data DT1 is set to “FF H ”, in the “data write routine”, based on the determination of “NO” in steps 801, 802 and the determination of “YES” in step 803, At 810, the performance data DAT is stored in the performance data memory 50 at the address designated by the pointer PNT.
The input performance data DT1 as A (PNT), that is, "FF H "
(Song end data) is written and step 81
At 1, the total tempo clock count TTM is the current tempo clock count NTM
Is set, and the execution of the "data writing routine" is ended in step 806. As a result, the performance data memory 50 stores data representing the end of a song, and also stores a value representing the length of the song as the total tempo clock number TTM in the amount corresponding to the tempo clock number, that is, the playing time. It
上記ステップ333(第5図)の処理後、CPU41はステッ
プ334にてモードデータMODEを「0」に設定するととも
に、ステップ335にて表示制御回路10bとの協働により表
状態が“−−”になるように表示器18を制御して、ステ
ップ336にてMIDI送信器33にオールオフデータを出力す
る。このオールオフデータの出力はMIDI送信器33に接続
した電子楽器及び音源装置における楽音信号の発生を強
制的に停止させるものであって、該演奏データの書込み
処理においては不要であるが、後述する演奏データの読
出し出力処理において必要である。上記ステップ336の
処理後、CPU41はステップ337〜339にてポインタPNT、現
テンポクロック数NTM及びテンポクロックTCLを「0」に
初期設定して、ステップ340にて該「ストップ操作子オ
ンイベントルーチン」の実行を終了する。このような
「ストップ操作子オンイベントルーチン」の実行によ
り、レコードモード(モードデータMODE=3)に設定さ
れていた当該自動演奏装置は、第16図に示すように、基
本状態としてのストップモード(モードデータMODE=
0)に変更される。After the processing of the above step 333 (FIG. 5), the CPU 41 sets the mode data MODE to “0” in step 334, and the table state becomes “−−” in step 335 in cooperation with the display control circuit 10b. The display 18 is controlled so that the all-off data is output to the MIDI transmitter 33 in step 336. The output of this all-off data is forcibly stopping the generation of the musical tone signal in the electronic musical instrument and the tone generator connected to the MIDI transmitter 33, and is not necessary in the writing process of the musical performance data, but it will be described later. It is necessary for reading and outputting performance data. After the processing of step 336, the CPU 41 initializes the pointer PNT, the current tempo clock number NTM and the tempo clock TCL to "0" in steps 337 to 339, and in step 340, the "stop operator on-event routine". Ends the execution of. By executing the "stop operator on-event routine" as described above, the automatic musical instrument set to the record mode (mode data MODE = 3) has the stop mode (basic state) as shown in FIG. Mode data MODE =
Changed to 0).
なお、当該自動演奏装置が上述のレコード待機モード
(モードデータMODE=4)にある状態で、ストップ操作
子12が操作された場合にも、上記「ストップ操作子オン
イベントルーチン」が実行される。かかる場合、モード
データMODEは「4」に設定されているので、CPU41はス
テップ331にて「NO」、ステップ341にて「YES」と判定
した後、ステップ342にて入力データDT1を曲終了データ
「FFH」に設定し、ステップ343にて「データ書込みルー
チン」(第14図)を実行する。かかる「データ書込みル
ーチン」においては、上述したレコードモード(モード
データMODE=3)においてストップ操作子12が操作され
た場合と同様に、ステップ810にて演奏データメモリ50
に曲終了データ「FFH」が書き込まれるとともに、ステ
ップ811にて総テンポクロック数TTMがテンポクロック数
NTMに設定される。上記ステップ343(第5図)の処理
後、CPU41は上記場合と同様なステップ334〜339の処理
を実行して、ステップ340にて該「ストップ操作子オン
イベントルーチン」の実行を終了する。これにより、か
かる場合にも、当該自動演奏装置は基本状態としてのス
トップモード(モードデータMODE=0)に変更される。The "stop operator on-event routine" is executed even when the stop operator 12 is operated while the automatic musical instrument is in the record standby mode (mode data MODE = 4). In this case, since the mode data MODE is set to "4", the CPU 41 determines "NO" in step 331 and "YES" in step 341, and then, in step 342, sets the input data DT1 to the song end data. It is set to "FF H " and the "data write routine" (FIG. 14) is executed at step 343. In the "data writing routine", the performance data memory 50 is set in step 810, as in the case where the stop operator 12 is operated in the above-described record mode (mode data MODE = 3).
The song end data “FF H ” is written in and the total tempo clock number TTM is the tempo clock number in step 811.
Set to NTM. After the processing of step 343 (FIG. 5), the CPU 41 executes the processing of steps 334 to 339 similar to the above case, and ends the execution of the "stop operator on event routine" in step 340. As a result, even in such a case, the automatic musical instrument is changed to the stop mode (mode data MODE = 0) as the basic state.
一方、演奏データの書込み中(モードデータMODE=
3)、ストップ操作子12が長時間操作されることがなく
演奏データメモリ50が満杯になると、上述した「イベン
トデータ入力ルーチン」(第11図)の実行中、CPU41が
ステップ617にて「YES」すなわちポインタPNT値が演奏
データメモリ50の最終アドレス値DTENDに等しいと判定
して、ステップ619〜624の処理後、ステップ607にて該
「イベントデータ入力ルーチン」の実行を終了する。か
かるステップ619〜624の処理においては、ステップ619
にてモードデータMODEが「0」に設定され、ステップ62
0にて表示器18の表示状態が“−−”に制御され、ステ
ップ621にて演奏データメモリ50内に演奏データDATA(P
NT)として曲終了データ「FFH」が書き込まれ、ステッ
プ622にてポインタPNTが「0」に初期設定され、ステッ
プ623にて総テンポクロック数TTMが現テンポクロック数
NTMに設定され、ステップ624にて現テンポクロック数NT
Mが「0」に初期設定される。その結果、上述の場合と
同様に、当該自動演奏装置は基本状態としてのストップ
モード(モードデータMODE=0)に変更される。Meanwhile, writing performance data (mode data MODE =
3) If the performance data memory 50 becomes full without the stop operator 12 being operated for a long time, the CPU 41 executes "YES" at step 617 during execution of the "event data input routine" (FIG. 11) described above. That is, it is determined that the pointer PNT value is equal to the final address value DTEND of the performance data memory 50, and after the processing of steps 619 to 624, the execution of the "event data input routine" is ended in step 607. In the processing of steps 619 to 624, step 619
Mode data MODE is set to "0" in step 62.
At 0, the display state of the display 18 is controlled to "---", and at step 621 the performance data DATA (P
The song end data “FF H ” is written as NT), the pointer PNT is initialized to “0” in step 622, and the total tempo clock number TTM is the current tempo clock number in step 623.
Set to NTM, and the current tempo clock number NT in step 624
M is initialized to "0". As a result, as in the case described above, the automatic musical instrument is changed to the stop mode (mode data MODE = 0) as the basic state.
さらに、当該自動演奏装置においては、レコードモー
ド(モードデータMODE=3)にある状態にて、スタート
操作子11が操作されると、第16図に示すように、該レコ
ードモードはレコード待機モード(モードデータMODE=
4)に変更される。すなわち、スタート操作子11が操作
されると、上述の場合と同様、「メインプログラム」を
実行中のCPU41は「スタート操作子オンイベントルーチ
ン」(第4図)の実行をステップ300にて開始し、ステ
ップ301の判定処理によりステップ306の処理を実行後、
ステップ305にて該「ステップ操作子オンイベントルー
チン」の実行を終了する。かかる場合、ステップ306に
てモードデータMODEは「4」に設定され、当該自動演奏
装置は上述したレコード待機モードに変更される。該モ
ードの変更後の動作については上述のとおりである。こ
れにより、かかる場合には、スタート操作子11は一時停
止(ポーズ)操作子として機能することになる。Further, in the automatic playing device, when the start operator 11 is operated in the record mode (mode data MODE = 3), the record mode is set to the record standby mode (as shown in FIG. 16). Mode data MODE =
It is changed to 4). That is, when the start operator 11 is operated, as in the case described above, the CPU 41 executing the "main program" starts executing the "start operator on-event routine" (FIG. 4) at step 300. After executing the processing of step 306 by the determination processing of step 301,
At step 305, the execution of the "step operator on event routine" is completed. In this case, the mode data MODE is set to "4" in step 306, and the automatic musical instrument is changed to the record standby mode described above. The operation after changing the mode is as described above. As a result, in such a case, the start operator 11 functions as a pause (pause) operator.
(2)演奏再生動作 当該自動演奏装置が基本状態としての上記ストップモ
ードにある状態において、スタート操作子11が操作され
ると、ステップ102〜110(第2図)からなる循環処理を
実行中のCPU41はステップ102にて「YES」すなわちスタ
ート操作子11のオンイベント有りと判定し、ステップ10
2aにて「スタート操作子オンイベントルーチン」(第4
図)を実行する。この「スタート操作子オンイベントル
ーチン」においては、ステップ300にてその実行が開始
され、ステップ301の判定処理により、「0」に設定さ
れているモードデータMODEに基づきステップ307以降の
処理が実行される。かかる場合、ステップ307にてモー
ドデータMODEが「1」に設定され、ステップ308にて表
示器18にて“00"が表示されるように表示制御回路10bが
制御されて、ステップ305にて該「スタート操作子オン
イベントルーチン」の実行が終了される。これにより、
当該自動演奏装置は、第16図に示すように、プレイモー
ドに設定される。(2) Performance playback operation When the start operator 11 is operated while the automatic performance device is in the above-mentioned stop mode as the basic state, the circulation process consisting of steps 102 to 110 (Fig. 2) is being executed. In step 102, the CPU 41 determines “YES”, that is, the start operator 11 has an on-event, and proceeds to step 10
2a "Start operator on event routine" (4th
(Figure). In this "start operator on-event routine", its execution is started in step 300, and the determination processing of step 301 executes the processing of step 307 and thereafter based on the mode data MODE set to "0". R. In this case, the mode data MODE is set to "1" in step 307, the display control circuit 10b is controlled in step 308 so that "00" is displayed on the display 18, and the display control circuit 10b is operated in step 305. The execution of the "start operator on-event routine" is ended. This allows
The automatic musical instrument is set to the play mode as shown in FIG.
かかる状態にて、テンポ発振器31がテンポクロック信
号を発生すると、CPU41は「テンポクロックインタラプ
トプログラム」(第3図)の実行をステップ200にて開
始し、「1」に設定されているモードデータMODEに基づ
き、ステップ201にて「NO」と判定し、ステップ203にて
「YES」と判定し、ステップ212にてサブモードデータMO
DEが「0」,「3」,「4」のいずれかであるか否かを
判定する。かかる場合、当該自動演奏装置のサブモード
はノーマルモードに設定されていて前記サブモードデー
タMODEは「0」であるので、前記ステップ212にて「YE
S」と判定され、ステップ213に「カウントアップルーチ
ン」(第12図)が実行される。In this state, when the tempo oscillator 31 generates a tempo clock signal, the CPU 41 starts executing the “tempo clock interrupt program” (FIG. 3) at step 200, and the mode data MODE set to “1” is set. Based on the above, it is determined to be “NO” in step 201, “YES” in step 203, and sub mode data MO in step 212.
It is determined whether DE is "0", "3", or "4". In this case, since the sub mode of the automatic musical instrument is set to the normal mode and the sub mode data MODE is "0", the "YE
It is determined to be "S", and the "count up routine" (FIG. 12) is executed in step 213.
かかる「カウントアップルーチン」の実行において
は、ステップ700にてその実行が開始され、ステップ701
にてテンポクロックTCLと時間データDURが等しいか否か
が判定される。かかる場合、前記両データが等しくなけ
れば、ステップ701にて「NO」と判定され、ステップ702
にて該「カウントアップルーチン」の実行が終了され
る。この「カウントアップルーチン」の実行後、CPU41
は再び「テンポクロックインタラプトプログラム」(第
3図)の実行に移り、ステップ205の処理によってテン
ポクロックTCLを順次「1」ずつ増加させる。In the execution of the "count-up routine", the execution is started in step 700,
At, it is determined whether the tempo clock TCL is equal to the time data DUR. In this case, if the two data are not equal, it is determined as "NO" in step 701, and step 702
Then, the execution of the "count-up routine" is finished. After executing this "count up routine", CPU41
Returns to the execution of the "tempo clock interrupt program" (FIG. 3), and the tempo clock TCL is sequentially increased by "1" by the processing of step 205.
このようなテンポクロックTCLのカウント動作中、同
クロックTCLと時間データDURとが等しくなると、CPU41
は上記ステップ701(第12図)の判定にて「YES」と判定
し、ステップ703にてポインタPNTにより指定される演奏
データメモリ50内のアドレスに記憶されている演奏デー
タDATA(PNT)を先頭データCD(識別データ)として読
出して、ステップ704〜708にて該先頭データCDに続く演
奏データがいかなる種類のデータであるかを判別する。During the counting operation of the tempo clock TCL, if the clock TCL and the time data DUR become equal, the CPU 41
Is determined to be "YES" in the above step 701 (FIG. 12), and in step 703 the performance data DATA (PNT) stored at the address in the performance data memory 50 designated by the pointer PNT is headed. It is read as data CD (identification data), and in steps 704 to 708 it is determined what kind of data the performance data following the head data CD is.
かかる場合、該先頭データCDがキーオンデータ又はキ
ーオフデータに関する識別データ「9XH」,「8XH」であ
れば、モードデータMODEは「1」でありかつサブモード
データMODEは「0」であるので、ステップ704における
「YES」との判定及びステップ709における「YES」との
判定の基に、ステップ710にて前記先頭データCDとポイ
ンタPNT+1,PNT+2により指定されて演奏データメモリ
50から読出された演奏データDATA(PNT+1),DATA(PN
T+1)すなわちキーコードKC及び鍵タッチデータKT
(第15図参照)とがMIDI送信器33に出力される。これに
より、MIDI送信器33は同送信器33に接続された電子楽
器、音源装置等へ前記データCD,DATA(PNT+1),DATA
(PNT+2)を出力するので、同電子楽器、音源装置等
からは前記キーコードKC及び鍵タッチデータKTに応じて
形成された楽音信号が出力される。上記ステップ710の
処理後、CPU41はステップ711にてポインタPNTを「3」
だけ進め、プログラムをステップ703に戻す。In this case, if the head data CD is identification data “9X H ” and “8X H ” related to key-on data or key-off data, the mode data MODE is “1” and the sub-mode data MODE is “0”. , Based on the determination of "YES" in step 704 and the determination of "YES" in step 709, the performance data memory designated by the start data CD and the pointers PNT + 1, PNT + 2 in step 710.
Performance data DATA (PNT + 1), DATA (PN
T + 1), that is, key code KC and key touch data KT
(See FIG. 15) are output to the MIDI transmitter 33. As a result, the MIDI transmitter 33 sends the data CD, DATA (PNT + 1), DATA to the electronic musical instrument, sound source device, etc. connected to the transmitter 33.
Since (PNT + 2) is output, a musical tone signal formed in accordance with the key code KC and the key touch data KT is output from the electronic musical instrument, the sound source device, or the like. After the processing of step 710, the CPU 41 sets the pointer PNT to “3” in step 711.
Only, and the program returns to step 703.
また、ステップ703の処理により設定された先頭デー
タCDが曲開始データ又は非動作データに関する識別デー
タ「F0H」,「F9H」であれば、ステップ704における「N
O」との判定及びステップ705における「NO」との判定の
基に、ステップ12にてポインタPNTが「1」だけ進めら
れて、プログラムがステップ703に戻される。また、ス
テップ703の処理により設定された先頭データCDが音
色、音量等その他のデータに関する識別データであれ
ば、ステップ704〜708における「NO」との判定の基に、
ステップ713にて該音色、音量等のその他のデータが先
頭データCDとともにMIDI送信器33に出力され、かつポイ
ンタPNTが前記出力データのバイト数だけ進められて、
プログラムがステップ703に戻される。これにより、上
述した電子楽器、音源装置等により形成される楽音信号
の音色、音量等が制御される。If the start data CD set by the process of step 703 is identification data “F0 H ” or “F9 H ” related to the song start data or non-motion data, “N
Based on the determination of "O" and the determination of "NO" in step 705, the pointer PNT is advanced by "1" in step 12, and the program is returned to step 703. Further, if the head data CD set by the process of step 703 is identification data relating to other data such as tone color and volume, based on the determination of “NO” in steps 704 to 708,
In step 713, the tone color, other data such as volume is output to the MIDI transmitter 33 together with the head data CD, and the pointer PNT is advanced by the number of bytes of the output data,
The program returns to step 703. As a result, the tone color, volume, etc. of the musical tone signal formed by the above-described electronic musical instrument, sound source device, etc. are controlled.
一方、上記キーオンデータ、キーオフデータ、曲開始
データ、非動作データ及びその他のデータの読出しに伴
うステップ703〜713に係る上記循環処理中、ステップ70
3の処理により設定された先頭データCDが時間データに
関する識別データ「F2H」になると、ステップ704、705
における「NO」との判定及びステップ706における「YE
S」との判定の基に、ステップ714〜716の処理が実行さ
れる。かかるステップ714〜716の処理においては、ステ
ップ714にて時間データDURがポインタPNT+1により指
定されて演奏データメモリ50から読出された演奏データ
DATA(PNT+1)値に設定され、ステップ715にてポイン
タPNTが「2」だけ進められ、ステップ716にてテンポク
ロックTCLが「0」に初期設定される。On the other hand, during the circulation processing according to steps 703 to 713 associated with the reading of the key-on data, the key-off data, the song start data, the non-motion data, and the other data, step 70
When the first data CD set by the process of 3 becomes the identification data “F2 H ” for time data, steps 704, 705
“NO” in step 706 and “YE in step 706.
Based on the determination of “S”, the processes of steps 714 to 716 are executed. In the processing of steps 714 to 716, the time data DUR is designated by the pointer PNT + 1 at step 714 and the performance data read from the performance data memory 50.
The DATA (PNT + 1) value is set, the pointer PNT is advanced by "2" in step 715, and the tempo clock TCL is initialized to "0" in step 716.
また、前記設定された先頭データCDが長時間データに
関する識別データ「F3H」であれば、ステップ704〜706
における「NO〕との判定及びステップ707における「YE
S」との判定の基に、ステップ717にて時間データDURが
ポインタPNT+1,PNT+2により指定されて演奏データメ
モリ50から読出された演奏データDATA(PNT+1),DATA
(PNT+1)に基づく下記式2の演算値に設定される。If the set head data CD is identification data “F3 H ” for long-term data, steps 704 to 706.
“NO” in step 707 and “YE
Based on the determination of "S", the time data DUR is designated by the pointers PNT + 1, PNT + 2 in step 717 and the performance data DATA (PNT + 1), DATA read from the performance data memory 50 is read.
It is set to the calculated value of the following Expression 2 based on (PNT + 1).
DUR=DATA(PNT+1)*80H+DATA(PNT+2)……
式2 前記式2はそれぞれ7ビットからなる2バイトのデータ
を14ビットのデータに変換するもので、前記式中の「*
80H」の乗算はDATA(PNT+1)の7ビットの桁上げを意
味する。上記ステップ717の処理後、ステップ718にてポ
インタPNTが「3」だけ進められ、ステップ719にてテン
ポクロックTCLが「0」に初期設定される。DUR = DATA (PNT + 1) * 80 H + DATA (PNT + 2) ......
Formula 2 Formula 2 above converts 2-byte data consisting of 7 bits into 14-bit data.
The multiplication of “80 H ” means carry of 7 bits of DATA (PNT + 1). After the processing of step 717, the pointer PNT is advanced by "3" in step 718, and the tempo clock TCL is initialized to "0" in step 719.
その結果、ステップ714〜719の処理により、時間デー
タDURが設定されるとともに、テンポクロックTCLが
「0」に初期設定されて、次の演奏データDATA(PNT)
の読出し準備がなされる。そして、テンポ発振器31から
テンポクロック信号の発生に伴う「テンポクロックイン
タラプトプログラム」の実行によりテンポクロックTCL
が増加して、同クロックTCLが前記新たに設定した時間
データDUR値に等しくなると、上記ステップ703〜713に
よるキーオンデータ、キーオフデータ、曲開始データ、
非動作データ及びその他のデータの読出しに応じて楽音
信号の発生が制御される。As a result, the time data DUR is set and the tempo clock TCL is initialized to "0" by the processing of steps 714 to 719, and the next performance data DATA (PNT) is set.
Is read out. Then, the tempo clock TCL is generated by executing the "tempo clock interrupt program" accompanying the generation of the tempo clock signal from the tempo oscillator 31.
Is increased and the clock TCL becomes equal to the newly set time data DUR value, key-on data, key-off data, song start data in steps 703 to 713 described above,
The generation of the tone signal is controlled according to the reading of non-operation data and other data.
なお、上記ステップ701にて「YES」すなわち時間デー
タDURとテンポクロックTCLとが等しいとの判定の基に、
演奏データとして非動作データ「F9H」が読出されて、
上記ステップ705,706の処理によりプログラムがステッ
プ703に戻されると、再度演奏データの読出しがなされ
てステップ714,717の処理により時間データDURが設定し
直されるとともに、ステップ716,719にてテンポクロッ
クTCLが「0」に初期設定される。これにより、再びテ
ンポクロックTCLのカウント動作がなされるとともに、
ステップ701の判定処理がなされるようになるので、上
述したようにキーオン、キーオフ等に関する演奏イベン
トデータ間の時間間隔が長くて上記演奏記録動作で述べ
たようにステップ808(第14図)の処理により非動作デ
ータ「F9H」が演奏データメモリ50に記憶されている場
合には、楽音の発生制御がなされず、長時間に渡るテン
ポクロックTCLのカウント動作が実質的になされる。In step 701, based on the determination of “YES”, that is, the time data DUR and the tempo clock TCL are equal,
The non-motion data "F9 H " is read as performance data,
When the program is returned to step 703 by the processing of steps 705 and 706, the performance data is read again, the time data DUR is reset by the processing of steps 714 and 717, and the tempo clock TCL is set to "0" at steps 716 and 719. Initialized. As a result, the counting operation of the tempo clock TCL is performed again, and
Since the determination processing of step 701 is performed, the time interval between the performance event data regarding key-on, key-off, etc. is long as described above, and the processing of step 808 (FIG. 14) is performed as described in the performance recording operation. inactive data "F9 H" is when stored in the performance data memory 50 is not made generation control of the musical tone, the count operation of the tempo clock TCL over a long period of time is substantially made by.
次に、かかる演奏再生動作時における表示器18の表示
動作ついて説明する。上記ステップ716,719の処理後、C
PU41はステップ720にて現テンポクロック数NTMに前記時
間データDURを加算することによりかかる時間データDUR
の更新毎に現テンポクロック数NTMを累算し、ステップ7
21にて該累算した現テンポクロック数NTM及び一曲分の
テンポクロックTCL数の総和に等しい総テンポクロック
数TTMに基づく下記式3の演算の実行により表示データD
SPを設定する。なお、下記式3において、関数INT
(x)はxの整数部を意味する。Next, the display operation of the display unit 18 during the performance reproducing operation will be described. After processing the above steps 716 and 719, C
PU41 takes time data DUR by adding the time data DUR to the current tempo clock number NTM in step 720.
The current tempo clock number NTM is accumulated each time
In step 21, the display data D
Set SP. In the following formula 3, the function INT
(X) means the integer part of x.
DSP=INT(NTM*100/TTM) ……式3 これにより、表示データDSPは演奏時間に対応した進行
位置を百分率で表すことになる。上記ステップ721の処
理後、CPU41はステップ722にて表示制御回路10bとの協
働により表示データDSPに対応した値が表示されるよう
に表示器18を制御し、ステップ702にて該「カウントア
ップルーチン」の実行を終了する、これにより、自動演
奏の進行状態が楽曲全体の長さに対する百分率で視覚的
に表示される。DSP = INT (NTM * 100 / TTM) ・ ・ ・ Equation 3 As a result, the display data DSP represents the progress position corresponding to the playing time in percentage. After the processing of step 721, the CPU 41 controls the display device 18 in step 722 so that the value corresponding to the display data DSP is displayed in cooperation with the display control circuit 10b, and in step 702, the “count-up” is performed. The execution of the "routine" is terminated, whereby the progress of the automatic performance is visually displayed as a percentage of the total length of the music.
一方、かかる自動演奏の再生中、時間が経過して、上
記ステップ703にて演奏データメモリ50から曲終了デー
タ「FFH」が読出されかつ該データが先頭データCDとし
て設定されると、ステップ704〜707における「NO」との
判定及びステップ708における「YES」との判定の基に、
ステップ723にてMIDI送信器33にオールオフデータが出
力される。これにより、上述の場合と同様に、楽音信号
の発生が強制的に停止される。上記ステップ723の処理
後、ステップ724の処理によりモードデータMODEが
「2」の設定され、ステップ725〜728の処理によりテン
ポクロックTCL、時間データDUR、ポインタPNT及び現テ
ンポクロック数NTMが「0」に初期設定されて、ステッ
プ702にて該「カウントアップルーチン」の実行が終了
される。これにより、プレイモードに設定されていた当
該自動演奏装置は、第16図に示すように、プレイ待機モ
ードに変更されるとともに、ポインタPNT等の演奏デー
タの読出しのための変数データが初期値に設定される。On the other hand, during the reproduction of the automatic performance, when time elapses and the song end data “FF H ” is read from the performance data memory 50 in step 703 and the data is set as the leading data CD, step 704 Based on the determination of "NO" in step 707 and the determination of "YES" in step 708,
In step 723, all-off data is output to the MIDI transmitter 33. As a result, similarly to the above case, the generation of the tone signal is forcibly stopped. After the process of step 723, the mode data MODE is set to "2" by the process of step 724, and the tempo clock TCL, the time data DUR, the pointer PNT and the current tempo clock number NTM are "0" by the processes of steps 725 to 728. Is initially set to, and in step 702, the execution of the "count up routine" is completed. As a result, the automatic performance device set in the play mode is changed to the play standby mode as shown in FIG. 16, and the variable data for reading the performance data such as the pointer PNT is set to the initial value. Is set.
また、上記のようにプレイモード(モードデータMODE
=1)において、演奏データメモリ50内の全ての演奏デ
ータが読出される前に、スタート操作子11が操作される
と、上記ステップ102,102a(第2図)の処理により「ス
タート操作子オンイベントルーチン」(第4図)が実行
される。かかる場合、モードデータMODEは「1」に設定
されているので、該「スタート操作子オンイベントルー
チン」においては、ステップ300による同ルーチンの実
行開始後のステップ301に判定処理により、プログラム
はステップ309に進められ、同ステップ309にてモードデ
ータMODEが「2」に設定されるとともに、ステップ310
にてMIDI送信器33にオールオフデータが出力されて楽音
信号の発生が停止され、ステップ305にて該ルーチンの
実行が終了される。これにより、プレイモードに設定さ
ていた当該自動演奏装置は、第16図に示すように、演奏
データの読出し途中でプレイ待機モードに変更される。
このようにスタート操作子11は上記レコードモード時と
同様に、一旦停止(ポーズ)操作子としても機能する。In addition, play mode (mode data MODE
= 1), if the start operator 11 is operated before all the performance data in the performance data memory 50 is read out, the "start operator on event" is performed by the processing of steps 102 and 102a (FIG. 2). Routine ”(FIG. 4) is executed. In this case, since the mode data MODE is set to "1", in the "start operator on-event routine", the program is determined by the determination processing in step 301 after the start of the execution of the routine in step 300, and the program proceeds to step 309. And the mode data MODE is set to "2" at the same step 309, and step 310
At, all-off data is output to the MIDI transmitter 33 to stop the generation of the tone signal, and at step 305, the execution of the routine is ended. As a result, the automatic performance device set in the play mode is changed to the play standby mode during the reading of the performance data, as shown in FIG.
In this way, the start operator 11 also functions as a temporary (pause) operator, as in the record mode.
上述のようにして変更されたプレイ待機モードにおい
ては、モードデータMODEは「2」に設定され、かつサブ
モードデータMODE以前から「0」に設定されているの
で、テンポ発振器31からテンポクロック信号が出力され
て上記のように「テンポクロックインタラプトプログラ
ム」(第3図)が実行されても、ステップ201,203にて
「NO」、ステップ204にて「YES」、ステップ214,215に
て「NO」と判定されて、ステップ202にて該ルーチンの
実行が終了される。これにより、該「テンポクロックイ
ンタラプトプログラム」においては、実質的な処理が何
ら行われず、楽音信号の発生は制御されない。In the play standby mode changed as described above, since the mode data MODE is set to "2" and is set to "0" before the sub mode data MODE, the tempo clock signal is output from the tempo oscillator 31. Even if it is output and the "tempo clock interrupt program" (Fig. 3) is executed as described above, it is determined to be "NO" in steps 201 and 203, "YES" in steps 204, and "NO" in steps 214 and 215. Then, in step 202, the execution of the routine ends. As a result, no substantial processing is performed in the "tempo clock interrupt program", and the generation of the tone signal is not controlled.
次に、かかるプレイ待機モード(モードデータMODE=
2)において、スタート操作子11が操作されると、上記
ステップ102,102a(第2図)の処理により、「スタート
操作子オンイベントルーチン」(第4図)が実行され
る。かかる場合、モードデータMODEは「2」に設定され
ているので、該「スタート操作子オンイベントルーチ
ン」においては、ステップ300による同ルーチンの実行
開始後のステップ301に判定処理により、プログラムは
ステップ311に進められ、同ステップ311にてモードデー
タMODEが「1」に設定されて、ステップ305にて該ルー
チンの実行が終了される。これにより、プレイ待機モー
ドに設定されていた当該自動演奏装置は、第16図に示す
ように、プレイモードに変更されて、停止していた演奏
データの読出しが再開されるようになる。Next, the play standby mode (mode data MODE =
In 2), when the start operator 11 is operated, the "start operator on-event routine" (Fig. 4) is executed by the processing of steps 102 and 102a (Fig. 2). In this case, since the mode data MODE is set to "2", in the "start operator on-event routine", the program proceeds to step 311 by the determination processing in step 301 after the execution of the routine in step 300 is started. The mode data MODE is set to "1" at step 311, and the execution of the routine is ended at step 305. As a result, the automatic performance device that has been set to the play standby mode is changed to the play mode and the stopped reading of the performance data is resumed, as shown in FIG.
さらに、上記プレイモード(モードデータMODE=1)
又はプレイ待機モード(モードデータMODE=2)におい
て、ストップ操作子12が操作されると、上記ステップ10
3,103a(第2図)の処理により「ストップ操作子オンイ
ベントルーチン」(第5図)が実行される。かかる場
合、モードデータMODEは「1」又は「2」に設定されて
いるので、CPU41は、ステップ331,341にてそれぞれ「N
O」と判定した後、ステップ334にてモードデータMODEを
「0」に設定し、ステップ335にて表示制御回路10bとの
協働により表示状態が“−−”になるように表示器18を
制御し、ステップ336にてMIDI送信器33にオールオフデ
ータを出力してMIDI送信器33に接続した電子楽器及び音
源装置における楽音信号の発生を強制的に停止させ、ス
テップ337〜339にてポインタPNT、現テンポクロック数N
TM及びテンポクロックTCLを「0」に初期設定して、ス
テップ340にて該「ストップ操作子オンイベントルーチ
ン」の実行を終了する。このような「ストップ操作子オ
ンイベントルーチン」の実行により、プレイモード又は
プレイ待機モードに設定されていた当該自動演奏装置
は、第16図に示すように、基本状態としてのストップモ
ード(モードデータMODE=0)に変更される。Furthermore, the above play mode (mode data MODE = 1)
Alternatively, when the stop operator 12 is operated in the play standby mode (mode data MODE = 2), the above step 10 is performed.
The "stop operator on-event routine" (Fig. 5) is executed by the processing of 3,103a (Fig. 2). In this case, since the mode data MODE is set to "1" or "2", the CPU 41 sets "N" at steps 331 and 341, respectively.
After determining "O", the mode data MODE is set to "0" in step 334, and the display device 18 is set in step 335 so that the display state becomes "-" in cooperation with the display control circuit 10b. In step 336, all-off data is output to the MIDI transmitter 33 to forcibly stop the generation of the musical tone signal in the electronic musical instrument and tone generator connected to the MIDI transmitter 33, and in steps 337 to 339, the pointer is controlled. PNT, current tempo clock number N
TM and the tempo clock TCL are initialized to "0", and the execution of the "stop operator on event routine" is ended in step 340. By executing such a "stop operator on-event routine", the automatic musical instrument that has been set to the play mode or the play standby mode has, as shown in FIG. 16, a stop mode (mode data MODE = 0).
(3)早送り動作 次に、早送り動作について説明するが、該動作は早送
り操作子13の操作に応じてポインタPNTを通常の演奏再
生速度より高速で進めるもので、当該自動演奏装置が上
記ストップモード(モードデータMODE=0)、プレイモ
ード(モードデータMODE=1)及びプレイ待機モード
(モードデータMODE=2)に設定されているときにのみ
有効である。(3) Fast-forward operation Next, the fast-forward operation will be described. The fast-forward operation advances the pointer PNT at a speed higher than the normal performance playback speed in response to the operation of the fast-forward operator 13. This is valid only when (mode data MODE = 0), play mode (mode data MODE = 1) and play standby mode (mode data MODE = 2) are set.
早送り操作子13が押圧操作されると、上記「メインプ
ログラム」(第2図)を実行中のCPU41はステップ105に
て「YES」すなわち早送り操作子13のオンイベント有り
と判定し、ステップ105aにて「早送り操作子オンイベン
トルーチン」(第7図)を実行する。かかる場合、該
「早送り操作子オンイベントルーチン」はステップ400
にてその実行が開始され、ステップ401にてモードデー
タMODEが「2」以下であるか否かが判定され、同データ
MODEが「2」より大きければ同ステップ401にて「NO」
と判定されてステップ402にて該ルーチンの実行が終了
され、同データMODEが「2」以下であれば同ステップ40
1にて「YES」と判定されてステップ403以降の処理が実
行される。これにより、当該自動演奏装置がレコードモ
ード又はレコード待機モードにあれは該早送り動作が無
効とされ、ストップモード、プレイモード及びプレイ待
機モードにあるときのみ該早送りモードが有効となる。When the fast-forward operator 13 is pressed, the CPU 41 executing the "main program" (Fig. 2) determines "YES" at step 105, that is, the on-event of the fast-forward operator 13 occurs, and proceeds to step 105a. Then, the "fast-forward operator on-event routine" (FIG. 7) is executed. In such a case, the "fast-forward operator on-event routine" executes step 400.
At step 401, it is judged whether the mode data MODE is "2" or less.
If MODE is larger than “2”, “NO” in step 401.
If it is determined that the routine is completed in step 402 and the data MODE is “2” or less, the same step 40
It is determined to be "YES" in 1 and the processes of step 403 and thereafter are executed. As a result, when the automatic musical instrument is in the record mode or the record standby mode, the fast-forwarding operation is invalidated, and the fast-forwarding mode is valid only in the stop mode, the play mode and the play standby mode.
最初に、早送り操作子13と同時にファンクション操作
子16が操作されていない場合について説明する。かかる
場合、上記ステップ401における「YES」との判定後、CP
U41はステップ403にて「NO」と判定し、ステップ404に
てサブモードデータMODEを「3」に設定する。その結
果、当該自動演奏装置のサブモードがポインタPNTを順
次早送りする早送りモードに設定される。前記ステップ
404の処理後、ステップ405にてモードデータMODE「1」
であるか否かが判定され、同データMODEが「1」であれ
ば、同ステップ405にて「YES」と判定されてステップ40
6にてテンポ発振器31におけるテンポクロック信号の周
期がT1に設定される。また、モードデータMODEが「1」
でなければ、ステップ404にて「NO」と判定されてステ
ップ407にて前記周期がT2に設定される。かかる場合、T
1は例えば10ミリ秒程度の値であるとともに、T2は例え
ば5ミリ秒程度の値であり、これらのT1,T2は通常演奏
時におけるテンポクロック信号の周期に対して数分の1
〜10数分の1程度のものすなわち自動演奏のテンポを速
めるものである。また、モードデータMODEが「1」であ
るときに比べて同データMODEが「1」以外すなわち
「0」又は「2」であるときのテンポを速くしたのは、
後述の処理により、該モードデータMODEが「1」のとき
には楽音信号の発生を許容し、それ以外のときには楽音
信号の発生を禁止するようにしたためである。First, a case where the fast-forward operator 13 and the function operator 16 are not operated at the same time will be described. In such a case, after the determination of “YES” in step 401 above, the CP
U41 determines "NO" in step 403, and sets submode data MODE to "3" in step 404. As a result, the sub mode of the automatic musical instrument is set to the fast-forward mode in which the pointer PNT is sequentially fast-forwarded. Step
After processing 404, in step 405 mode data MODE “1”
If the data MODE is “1”, it is determined to be “YES” in step 405 and step 40
At 6, the cycle of the tempo clock signal in the tempo oscillator 31 is set to T 1 . Also, the mode data MODE is "1".
If not, it is determined to be “NO” in step 404 and the cycle is set to T 2 in step 407. In such cases, T
1 is, for example, a value of about 10 milliseconds, T 2 is, for example, a value of about 5 milliseconds, and these T 1 and T 2 are a fraction of the period of the tempo clock signal during normal performance.
Approximately one tenth, that is, the speed of automatic performance tempo. In addition, the tempo when the data MODE is other than “1”, that is, “0” or “2” is faster than when the mode data MODE is “1”.
This is because the generation of the musical tone signal is permitted when the mode data MODE is "1" and the generation of the musical tone signal is prohibited by the processing described later.
次に、CPU41はステップ408にてモードデータMODEが
「0」であるか否かを判定し、同データMODEが「0」で
あればステップ409にてモードデータMODEを「2」に変
更するとともにステップ410にて表示器18の表示状態を
“00"に制御してプログラムをステップ411に進め、同デ
ータMODEが「0」でなければプログラムを直接ステップ
411に進める。かかるステップ408〜410の処理は、第16
図に示すように、当該自動演奏装置がストップモード
(モードデータMODE=0)に設定されている状態で早送
り操作子13が操作された場合には該ストップモードをプ
レイ待機モード(モードデータMODE=2)に変更し、か
つそれ以外のプレイモード及びプレイ待機モードに設定
されている場合には前記両モードを変更しないことを意
味する。かかる処理後、CPU41はステップ411にてMIDI送
信器33にオールオフデータを出力することにより、以前
から発生中の楽音信号があれば、該楽音信号の発生を停
止させてステップ402にて該「早送り操作子オンイベン
トルーチン」の実行を終了する。Next, the CPU 41 determines in step 408 whether or not the mode data MODE is “0”, and if the data MODE is “0”, changes the mode data MODE to “2” in step 409 and In step 410, the display state of the display 18 is controlled to "00" and the program proceeds to step 411. If the data MODE is not "0", the program is directly stepped.
Continue to 411. The processing of steps 408 to 410 is the 16th
As shown in the figure, when the fast forward operator 13 is operated while the automatic musical instrument is set to the stop mode (mode data MODE = 0), the stop mode is set to the play standby mode (mode data MODE = When it is changed to 2) and the other play mode and play standby mode are set, it means that both modes are not changed. After such processing, the CPU 41 outputs all-off data to the MIDI transmitter 33 in step 411, so that if there is a musical tone signal that has been generated before, the generation of the musical tone signal is stopped, and in step 402 the “ The execution of the "fast-forward operator on-event routine" ends.
かかる状態では、テンポ発振器31は通常より高速でテ
ンポクロック信号を発生し、該信号の発生毎に上記「テ
ンポクロックインタラプトプログラム」(第3図)が実
行される。かかる「テンポクロックインタラプトプログ
ラム」の実行においては、モードデータMODEは「1」又
は「2」に設定されかつサブモードデータMODEは「3」
に設定されているので、ステップ201にて「NO」、ステ
ップ203,212にて「YES」に判定されてステップ213にて
上記「カウントアップルーチン」(第12図)が実行され
るか、またはステップ201,203にて「NO」、ステップ20
4,214にて「YES」と判定されてステップ216にて同「カ
ウントアップルーチン」が実行される。かかる「カウン
トアップルーチン」の実行により、上述の場合と同様
に、演奏データの読出し、ポインタPNTの歩進及び自動
演奏の進行位置表示がなされるが、モードデータMODE
「2」である場合には、ステップ709に判定処理により
ステップ710におけるMIDI送信器33への演奏データの出
力処理が行われないので、楽音信号の発生はない。上記
ステップ213,216(第3図)の処理後、CPU41は上述した
ステップ205の処理によりテンポクロックTCLを歩進させ
る。このような処理により、テンポクロックTCL及びポ
インタPNTは、早送り操作子13が押圧操作されている限
り、高速で進められる。In such a state, the tempo oscillator 31 generates a tempo clock signal at a higher speed than usual, and the "tempo clock interrupt program" (FIG. 3) is executed each time the tempo clock signal is generated. In executing the "tempo clock interrupt program", the mode data MODE is set to "1" or "2" and the sub mode data MODE is "3".
Is set to "NO" in step 201, "YES" in steps 203 and 212, and the "count-up routine" (FIG. 12) is executed in step 213, or steps 201 and 203 are executed. At "NO", step 20
It is determined to be "YES" at 4,214, and the "count-up routine" is executed at step 216. By executing the "count-up routine", the performance data is read, the stepping of the pointer PNT and the progress position of the automatic performance are displayed as in the case described above.
If it is "2", the musical tone signal is not generated because the performance data output process to the MIDI transmitter 33 in step 710 is not performed by the determination process in step 709. After the processing of steps 213 and 216 (FIG. 3), the CPU 41 advances the tempo clock TCL by the processing of step 205 described above. Through such processing, the tempo clock TCL and the pointer PNT can be advanced at high speed as long as the fast-forward operator 13 is pressed.
一方、前記押圧中の早送り操作子13の押圧操作が解除
されると、ステップ106、106a(第2図)の処理によ
り、「早送り操作子オフイベントルーチン」(第8図)
が実行される。かかる「早送り操作子オフイベントルー
チン」においては、ステップ450にてその実行が開始さ
れ、ステップ451にてモードデータMODEが「2」以下で
あるとの判定の基に、ステップ452にてサブモードデー
タMODEが「0」に設定され、ステップ453にてテンポ発
振器31のテンポクロック信号の周期がテンポデータTMP
すなわち上述ステップ110(第2図)の処理によりテン
ポ操作子17の操作位置に対応した値に設定されて、ステ
ップ454にて該ルーチンの実行が終了される。これによ
り、当該自動演奏装置のサブモードがノーマルに戻され
るとともに、演奏データの読出し速度も元に戻される。
なお、上記ステップ451の判定処理は上記ステップ401
(第7図)の判定処理に対応するもので、当該自動演奏
装置がレコードモード(モードデータMODE=3)及びレ
コード待機モード(モードデータMODE=4)に設定され
ている状態で早送り操作子13が操作されても、該操作を
無効にするためのものである。On the other hand, when the pressing operation of the fast-forwarding operator 13 being released is released, the "fast-forwarding operator off event routine" (FIG. 8) is executed by the processing of steps 106 and 106a (FIG. 2).
Is executed. In the "fast-forward operator off-event routine", its execution is started in step 450, and it is determined in step 451 that the mode data MODE is "2" or less. MODE is set to “0”, and in step 453, the cycle of the tempo clock signal of the tempo oscillator 31 is the tempo data TMP.
That is, the value corresponding to the operation position of the tempo operator 17 is set by the processing of step 110 (FIG. 2) described above, and the execution of the routine is ended in step 454. As a result, the sub-mode of the automatic musical instrument is returned to normal and the reading speed of the musical performance data is also returned to the original.
Note that the determination processing in step 451 is performed in step 401
It corresponds to the determination process of FIG. 7 and is performed by the fast-forwarding operator 13 when the automatic musical instrument is set to the record mode (mode data MODE = 3) and the record standby mode (mode data MODE = 4). Even if is operated, the operation is invalidated.
次に、早送り操作子13の押圧操作と同時にファンクシ
ョン操作子16が操作された場合について説明する。かか
る場合には、早送り操作子13の操作に伴う上記と同様な
「早送り操作子オンイベントルーチン」(第7図)の上
記ステップ403にて「YES」すなわち早送り操作子13とフ
ァンクション操作子16とが同時押圧操作中であると判定
され、ステップ412にてサブモードデータMODEが「4」
に設定される。これにより、当該自動演奏装置のサブモ
ードがポインタPNTを所定量(演奏進行位置にして最大
で約10パーセント)ずつ飛び越させるジャンプモードに
設定される。前記ステップ412の処理後、CPU41は上記ス
テップ408〜410の処理と同様なステップ413〜415の処理
により、当該自動演奏装置が以前ストップモード(モー
ドデータMODE=0)に設定されていれば該ストップモー
ドをプレイ待機モード(モードデータMODE=2)に変更
し、かつそれ以外のプレイモード及びプレイ待機モード
に設定されいる場合には前記両モードを変更しないよう
にする(第16図参照)とともに、表示器18の表示状態を
“00"に制御し、ステップ416にてMIDI送信器33にオール
オフデータを出力することにより、以前から発生中の楽
音信号があれば該楽音信号の発生を停止させる。Next, a case where the function operator 16 is operated simultaneously with the pressing operation of the fast-forward operator 13 will be described. In such a case, "YES" in step 403 of the "fast-forward operator on-event routine" (FIG. 7) similar to the above with the operation of the fast-forward operator 13, that is, the fast-forward operator 13 and the function operator 16 Is determined to be in the simultaneous pressing operation, and the sub mode data MODE is “4” in step 412.
Is set to As a result, the sub-mode of the automatic performance device is set to the jump mode in which the pointer PNT is jumped by a predetermined amount (up to about 10% at the performance progress position). After the processing of step 412, the CPU 41 executes the processing of steps 413 to 415 similar to the processing of steps 408 to 410, if the automatic musical instrument is previously set to the stop mode (mode data MODE = 0). Change the mode to the play standby mode (mode data MODE = 2), and if the other play mode and play standby mode are set, do not change both modes (see FIG. 16), By controlling the display state of the display device 18 to "00" and outputting all-off data to the MIDI transmitter 33 in step 416, if there is a musical tone signal that has been generated before, the generation of the musical tone signal is stopped. .
次に、CPU41はステップ417にて現テンポクロック数NT
M及び総テンポクロック数TTMに基づく下記式4の演算の
実行によりジャンプデータPC10を設定する。なお、下記
式4において、関数INT(x)はxの整数部を意味す
る。Next, the CPU 41 determines in step 417 the current tempo clock number NT.
The jump data PC10 is set by executing the calculation of the following formula 4 based on M and the total tempo clock number TTM. In Expression 4, the function INT (x) means the integer part of x.
PC10=INT(NTM*10/TTM)*10+10・・・式4 かかる式4においては、INT(NTM*10/TTM)*10の部分
の演算により百分率で表された楽曲の進行位置を表す表
示データDSP=INT(NTM*010/TTM)の一の位が切捨てら
れるとともに、該切捨てられデータに「10」が加算され
るので、ジャンプデータPC10は現テンポクロック数NTM
に対応した進行位置から最大で10パーセント先の進行位
置、例えば進行位置が24パーセントであれば30パーセン
トの進行位置を表すことになる。PC10 = INT (NTM * 10 / TTM) * 10 + 10 ... Expression 4 In Expression 4, the display of the progress position of the song expressed in percentage by the operation of INT (NTM * 10 / TTM) * 10. Data DSP = INT (NTM * 010 / TTM) The first digit is truncated and "10" is added to the truncated data, so the jump data PC10 is the current tempo clock number NTM.
At a maximum of 10% ahead of the advance position corresponding to, for example, if the advance position is 24%, it means an advance position of 30%.
上記ステップ417の処理後、CPU41は、ステップ418に
よる「カウントアップルーチン」(第12図)の実行及び
ステップ419によるテンポクロックTCLの歩進をしなが
ら、ステップ420における判定処理DSP≧PC10に基づき、
表示データDSPがジャンプデータPC10以上になるまでス
テップ418〜420からなる循環処理を実行する。「カウン
トアップルーチン」の実行においては、上述の場合と同
様に、演奏データを読出し、ポインタPNTの歩進及び自
動演奏の進行位置表示がなされるが、サブモードデータ
MODEは「4」に設定されているので、ステップ709(第1
2図)の判定処理によりステップ710におけるMIDI送信器
33への演奏データの出力処理が行われず、この場合も楽
音信号の発生はない。After the processing of step 417, the CPU 41 executes the "count-up routine" (FIG. 12) at step 418 and advances the tempo clock TCL at step 419, based on the determination processing DSP ≧ PC10 at step 420,
The cyclic process including steps 418 to 420 is executed until the display data DSP becomes the jump data PC10 or more. In the execution of the "count up routine", as in the above case, the performance data is read and the stepping of the pointer PNT and the progress position of the automatic performance are displayed.
Since MODE is set to "4", step 709 (first
(Fig. 2) The MIDI transmitter in step 710
The performance data is not output to 33, and no tone signal is generated in this case either.
かかるテンポクロックTCLの歩進動作及び表示データD
SPの更新により、該表示データDSPがジャンプデータPC1
0以上になると、ステップ420(第7図)にて「YES」と
判定されて、ステップ402にて該「早送り操作子オンイ
ベントルーチン」の実行が終了される。これにより、ポ
インタPNTが飛び越して進められ、自動演奏の進行位置
が楽曲の長さに対応した割合で所定量だけ進められる。Stepping operation of such tempo clock TCL and display data D
By updating SP, the display data DSP is jump data PC1.
When it becomes 0 or more, it is determined to be "YES" in step 420 (Fig. 7), and the execution of the "fast-forward operator on-event routine" is ended in step 402. As a result, the pointer PNT jumps forward to advance the advance position of the automatic performance by a predetermined amount at a rate corresponding to the length of the music.
かかる状態で、前記押圧中の早送り操作子13の押圧操
作が解除されると、ファンクション操作子16が操作され
ないで早送り操作子13が操作された上記場合と同様、ス
テップ450〜454からなる「早送り操作子オフイベントル
ーチン」(第8図)が実行されて、当該自動演奏装置の
サブモードがノーマルに戻されるとともに、演奏データ
の読出し速度も元に戻される。In this state, when the pressing operation of the fast-forwarding operator 13 being pressed is released, the fast-forwarding operator 13 is operated without the function operator 16 being operated. The "operator off event routine" (FIG. 8) is executed to return the sub-mode of the automatic musical instrument to normal, and the performance data read speed is also restored.
一方、かかる早送り操作子13の押圧解除後、早送り操
作子13が再びファンクション操作子16と同時に押圧操作
されると、該押圧操作毎に上記「早送り操作子オンイベ
ントルーチン」(第7図)が再度実行され、自動演奏の
進行位置が約10パーセント進められる。そして、かかる
操作の繰り返しにより、自動演奏の進行位置は10パーセ
ントずる進められるので、所望の進行位置に変更し易く
なる。On the other hand, when the fast-forwarding operator 13 is pressed simultaneously with the function operator 16 after releasing the pressing of the fast-forwarding operator 13, the "fast-forwarding operator on-event routine" (FIG. 7) is executed for each pressing operation. It is re-executed, and the progress position of the automatic performance is advanced by about 10%. Then, by repeating such an operation, the progress position of the automatic performance is advanced by 10%, so that it becomes easy to change to the desired progress position.
(4)後退動作 次に、後退動作について説明するが、該動作は後退操
作子14の操作に応じてポインタPNTを通常の演奏再生速
度より高速で後退させるもので、当該自動演奏装置が上
記プレイモード(モードデータMODE=1)及びプレイ待
機モード(モードデータMODE=2)に設定されていると
きにのみ有効である。(4) Backward Operation Next, the backward operation will be described. The operation is to move the pointer PNT backward at a speed higher than the normal performance reproduction speed in response to the operation of the backward operation element 14. This is valid only when the mode (mode data MODE = 1) and the play standby mode (mode data MODE = 2) are set.
後退操作子14が押圧操作されると。上記「メインプロ
グラム」を実行中のCPU41はステップ107にて「YES」す
なわち後退操作子14のオンイベント有りと判定し、ステ
ップ107aにて「後退操作子オンイベントルーチン」(第
9図)を実行する。かかる場合、該「後退操作子オンイ
ベントルーチン」はステップ500にてその実行が開始さ
れ、ステップ501にてモードデータMODEが「1」又は
「2」であるか否かが判定され、同データMODE「1」又
は「2」以外であれれば同ステップ501にて「NO」と判
定されてステップ502にて該ルーチンの実行が終了さ
れ、同データMODEが「1」又は「2」であれば同ステッ
プ501にて「YES」と判定されてステップ503以降の処理
が実行される。これにより、当該自動演奏装置がストッ
プモード、レコードモード又はレコード待機モードにあ
れば該後退動作が無効とされ、プレイモード及びプレイ
待機モードにあるときのみ該後退モードが有効となる。When the retreat operator 14 is pressed. The CPU 41 that is executing the "main program" determines "YES" in step 107, that is, that there is an on-event for the reverse manipulator 14, and executes the "reverse manipulator on-event routine" (FIG. 9) in step 107a. To do. In such a case, the execution of the "reverse operating element on event routine" is started in step 500, and it is determined in step 501 whether the mode data MODE is "1" or "2". If it is other than "1" or "2", it is determined to be "NO" in the same step 501, the execution of the routine is ended in step 502, and if the data MODE is "1" or "2", it is the same. In step 501, it is determined to be "YES", and the processing of step 503 and thereafter is executed. As a result, if the automatic musical instrument is in the stop mode, the record mode, or the record standby mode, the backward movement is invalidated, and the backward movement mode is valid only in the play mode and the play standby mode.
最初に、後退操作子14と同時にファンクション操作子
16が操作されていない場合につてい説明する。かかる場
合、上記ステップ501における「YES」との判定後、CPU4
1はステップ503にて時間データDURからテンポクロックT
CLを減算した値をテンポクロックTCLとして新たに設定
し、ステップ504にて「NO」と判定してステップ505以降
の処理を実行する。かかる場合、前記ステップ503の演
算式TCL=DUR−TCLは、テンポクロックTCLが歩進中に、
現在進行中に係る時間データDURの残り分を初期値とし
て設定して、後述の「カウントダウンルーチン」(第13
図)の処理を含む「テンポクロックインタラプトプログ
ラム」(第3図)の実行により、テンポクロックTCLを
前記初期値から以前に設定されていたテンポクロックTC
L値分カウントさせて、既に進行したテンポクロックTCL
分だけ進行位置を後退させる準備としての意味を有す
る。First, the reverse control 14 and the function control at the same time
It will be explained when 16 is not operated. In such a case, after the determination of "YES" in step 501 above, the CPU4
1 is tempo clock T from time data DUR in step 503
A value obtained by subtracting CL is newly set as the tempo clock TCL, and it is determined as "NO" in step 504, and the processing of step 505 and thereafter is executed. In such a case, the arithmetic expression TCL = DUR−TCL in step 503 is as follows:
The remaining portion of the time data DUR currently in progress is set as an initial value, and the “countdown routine” (the 13th
By executing the "Tempo clock interrupt program" (Fig. 3) including the process of Fig. 3), the tempo clock TCL previously set from the initial value is set to the tempo clock TC.
The L value is counted, and the tempo clock TCL that has already progressed
It has a meaning as preparation for moving backward the advance position by the minute.
かかるステップ505(第9図)以降の処理において、C
PU41はステップ505にてサブモードデータMODEを「1」
に設定し、ステップ506にてテンポ発振器31におけるテ
ンポクロック信号の周期をT1(上記と同様例えば5ミリ
秒)に設定し、ステップ507にてMIDI送信器33にオール
オフデータを出力することにより楽音の発生を禁止し
て、ステップ502にて該「後退操作子オンイベントルー
チン」の実行を終了する。その結果、当該自動演奏装置
のサブモードがポインタPNTを順次後退させる後退モー
ドに設定されるとともに、該後退が高速で行われるため
にテンポ発振器31からテンポクロック信号が頻繁に発生
されるようになる。In the processing after step 505 (FIG. 9), C
PU41 sets submode data MODE to "1" in step 505.
By setting the period of the tempo clock signal in the tempo oscillator 31 to T 1 (for example, 5 milliseconds as above) in step 506, and outputting all-off data to the MIDI transmitter 33 in step 507. The generation of musical tones is prohibited, and the execution of the "reverse operating element on event routine" is ended in step 502. As a result, the sub mode of the automatic musical instrument is set to the backward mode in which the pointer PNT is sequentially moved backward, and the tempo clock signal is frequently generated from the tempo oscillator 31 because the backward movement is performed at high speed. .
かかるテンポクロック信号が発生されると、該テンポ
クロック信号の発生毎に上記「テンポクロックインタラ
プトプログラム」(第3図)が実行される。かかる「テ
ンポクロックインタラプトプログラム」の実行において
は、モードデータMODEは「1」又は「2」に設定されか
つサブモードデータMODEは「1」に設定されているの
で、ステップ201にて「NO」、ステップ203にて「YE
S」、ステップ212にて「NO」と判定されてステップ217
にて「カウントダウンルーチン」(第13図)が実行され
るか、またはステップ201,203にて「NO」、ステップ204
にて「YES」、ステップ214にて「NO」、ステップ215に
て「YES」と判定されてステップ218にて同「カウントダ
ウンルーチン」が実行される。かかる「カウントダウン
ルーチン」の実行においては、その実行がステップ750
にて開始され、ステップ751にてポインタPNTにより指定
され演奏データメモリ50から読出される演奏データDATA
(PNT)が曲開始データ「FOH」であるか否かが判定され
る。かかる場合、該演奏データDATA(PNT)が曲開始デ
ータ「FOH」であれば、CPU41はステップ751にて「YES」
と判定してステップ752にて該「カウントダウンルーチ
ン」の実行を終了する。この処理により、ポインタPNT
が演奏データの先頭に戻された後には同ポインタPNTの
後退が禁止される。When the tempo clock signal is generated, the "tempo clock interrupt program" (FIG. 3) is executed every time the tempo clock signal is generated. In executing the "tempo clock interrupt program", since the mode data MODE is set to "1" or "2" and the sub mode data MODE is set to "1", "NO" in step 201, In step 203, "YE
S ”, determined to be“ NO ”in step 212 and step 217
"Countdown routine" (Fig. 13) is executed at step 201, or "NO" at step 201, 203, step 204
“YES” in step 214, “NO” in step 214, “YES” in step 215, and the same “countdown routine” is executed in step 218. In executing the “countdown routine”, the execution is step 750.
Performance data DATA designated by the pointer PNT and read from the performance data memory 50 in step 751.
It is determined whether or not (PNT) is the song start data “FO H ”. In this case, if the performance data DATA (PNT) is the song start data “FO H ”, the CPU 41 returns “YES” in step 751.
Then, in step 752, the execution of the “countdown routine” is ended. By this process, the pointer PNT
After is returned to the beginning of the performance data, the backward movement of the pointer PNT is prohibited.
また、前記演奏データDATA(PNT)が曲開始データ「F
0H」でなければ、ステップ751にて「NO」と判定され、
ステップ753以降の処理が実行される。Also, the performance data DATA (PNT) is the song start data “F
If it is not "0 H ", it is determined to be "NO" in Step 751.
The processing after step 753 is executed.
このステップ753において、テンポクロックTCLが未だ
時間データDURに等しくなければ、CPU41はステップ753
における「NO」との判定の基に、ステップ752にて該
「カウントダウンルーチン」の実行を終了して、上記
「テンポクロックインタラプトプログラム」(第3図)
の実行に戻り、同プログラムのステップ205以降の処理
を実行する。その結果、ステップ205の処理により、テ
ンポクロックTCLが順次歩進される。このようなテンポ
クロック信号の発生毎に実行される「カウントダウンル
ーチン」の実行を含む「テンポクロックインタラプトプ
ログラム」の実行により、テンポクロックTCLが歩進し
て同クロックTCLと時間データDURとが等しくなると、CP
U41はステップ753(第13図)にて「YES」と判定し、ス
テップ754にて変数iをポインタPNT値から「1」を減算
した値PNT−1に設定してステップ755〜758からなる循
環処理により演奏データメモリ50のアドレス値を後退さ
せながら時間データ又は長時間データに関する識別デー
タを探す。この場合、ステップ755による演奏データDAT
A(i)の最上位ビットMSBが「1」であるか否かの判定
処理は第15図からも明らかなように識別データを探す判
定処理であり、ステップ756による演奏データDATA
(i)が「F2H」または「F3H」であるか否かの判定処理
は同第15図からも明らかなように識別データのうち時間
データ又は長時間データ用のものを探す判定処理であ
り、かつステップ757,758は前記アドレスを後退させる
処理である。In this step 753, if the tempo clock TCL is not equal to the time data DUR yet, the CPU 41 proceeds to step 753.
Based on the judgment of "NO" in step 752, the execution of the "countdown routine" is ended in step 752, and the "tempo clock interrupt program" (FIG. 3).
Then, the processing returns to the execution of step 205 and the processing of step 205 and the subsequent steps of the program is executed. As a result, the tempo clock TCL is sequentially incremented by the process of step 205. By executing the "tempo clock interrupt program" including the execution of the "countdown routine" that is executed each time the tempo clock signal is generated, the tempo clock TCL advances and the clock TCL becomes equal to the time data DUR. , CP
The U41 determines "YES" in step 753 (Fig. 13), sets the variable i to the value PNT-1 obtained by subtracting "1" from the pointer PNT value in step 754, and repeats steps 755 to 758. By processing, the address value of the performance data memory 50 is moved backward to search for identification data concerning time data or long time data. In this case, performance data DAT from step 755
The determination process for determining whether or not the most significant bit MSB of A (i) is "1" is a determination process for searching for identification data, as is apparent from FIG.
As is clear from FIG. 15, the determination process of whether (i) is “F2 H ” or “F3 H ” is a determination process of searching for identification data for time data or long time data. Yes, and steps 757 and 758 are processing to move the address backward.
かかるステップ755〜758からなる循環処理中、時間デ
ータ又は長時間データに関する識別データが探し出され
ると、COU41はステップ756にて「YES」と判定し、ステ
ップ759〜763からなる循環処理により、再び演奏データ
メモリ50のアドレス値を後退させながら時間データ又は
長時間データに関する識別データを探す。かかる場合、
ステップ759の処理は上記ステップ757,758に対応し、ス
テップ760の処理はステップ755に対応し、ステップ761
の処理はステップ756に対応し、かつステップ762の処理
はステップ751に対応するとともに、ステップ763の処理
は最終的に探し出された時間データ又は長時間データよ
り楽曲の進行方向に一つ進んだアドレス(前方のアドレ
ス)を変数STとして一時的に記憶しておくようにするた
めのものである。そして、かかる循環処理により、演奏
データメモリ50のアドレス値を後退させながら時間デー
タ又は長時間データが再び探し出されると、CPU41はス
テップ61にて「YES」と判定し、ステップ765にてポイン
タPNTを前記ステップ763の処理により記憶しておいて変
数STに設定して、プログラムをステップ766以降に進め
る。これらのステップ763、765の処理により、上述した
演奏データの読出し再生中と同様に、ポインタPNTは進
行中に係る時間データDURに対応した演奏データメモリ5
0内の時間データ又は長時間データの次の演奏イベント
に関するデータの記憶アドレス値に設定される。そし
て、このような後退動作中においても、上述の演奏デー
タの読出し再生中においても、ポインタPNTは進行中に
係る時間データDURに対応した演奏データメモリ50内の
時間データ又は長時間データの次の演奏イベントに関す
るデータの記憶アドレス値に設定されているので、時間
データ又は長時間データに関する識別データを探して現
在処理中の時間データから一つ後退した時間データを探
し出すためには、上記ステップ755〜758及びステップ75
9〜763からそれぞれなる2回の循環処理が必要となる。During the circulation process consisting of steps 755 to 758, if the identification data relating to the time data or the long time data is found, the COU 41 determines “YES” in step 756, and the circulation process consisting of steps 759 to 763 again causes While moving back the address value of the performance data memory 50, time data or identification data relating to long time data is searched. In such cases,
The process of step 759 corresponds to steps 757 and 758, the process of step 760 corresponds to step 755, and the step 761
The process of step 756 corresponds to the step 756, and the process of step 762 corresponds to the step 751. The process of step 763 advances one by one in the traveling direction of the music from the finally searched time data or long time data. This is for temporarily storing the address (forward address) as a variable ST. When the time data or the long time data is searched again while the address value of the performance data memory 50 is moved backward by the circulation processing, the CPU 41 determines "YES" in step 61, and determines the pointer PNT in step 765. Is stored by the processing of step 763 and set in the variable ST, and the program proceeds to step 766 and thereafter. By the processing of these steps 763 and 765, the pointer PNT is moved to the performance data memory 5 corresponding to the time data DUR related to the progress, as in the above-mentioned reading and reproduction of the performance data.
It is set to the storage address value of the time data within 0 or the data related to the performance event next to the long time data. Then, even during such a backward movement operation and during the reading and reproduction of the above-mentioned performance data, the pointer PNT is located next to the time data or the long-time data in the performance data memory 50 corresponding to the time data DUR in progress. Since it is set to the storage address value of the data related to the performance event, in order to search the time data or the identification data related to the long time data to find the time data which is one step backward from the time data currently being processed, the above steps 755- 758 and step 75
Two cycles of treatment, each consisting of 9 to 763, are required.
また、上記ステップ759〜763からなる循環処理中、読
み出された演奏データDATA(i)は曲開始データ「F
0H」になると、ステップ762にて「YES」と判定され、ス
テップ764にてテンポクロックTCL及び時間データDURが
それぞれ「0」に初期設定されてステップ752にて該
「カウントダウンルーチン」の実行が終了される。これ
により、上記ステップ751における処理と同様に、ポイ
ンタPNTが演奏データの先頭に戻された後には同ポイン
タPNTの後退が禁止されるようになる。Also, during the circulation processing consisting of steps 759 to 763 above, the read performance data DATA (i) is the song start data “F
When it becomes "0 H ", it is judged "YES" at step 762, the tempo clock TCL and the time data DUR are initialized to "0" at step 764, and the "countdown routine" is executed at step 752. Will be terminated. As a result, like the processing in step 751, the backward movement of the pointer PNT is prohibited after the pointer PNT is returned to the beginning of the performance data.
上記ステップ759〜763からなる循環処理により時間デ
ータ又は長時間データに関する識別コード「F2H」,「F
3H」が探し出され、かつステップ765にてポインタPNTが
設定された後、CPU41はステップ766にて前記識別コード
(演奏データDATA(i))が「F2H」であるか否かを判
定する。かかる場合、該識別データが「F2H」であれ
ば、同ステップ766における「YES」との判定の基に、ス
テップ767にて時間データDURが変数(ポインタ)i+1
により指定されて演奏データメモリ50から読出された演
奏データDATA(PNT+1)値に設定される。また、前記
識別データが「F3H」であれば、前記766における「NO」
の基に、ステップ768にて時間データDURが変数(ポイン
タ)i+1,i+2により指定されて演奏データメモリ50
から読出されて演奏データDATA(i+1),DATA(i+
1)に基づく下記式5の演算値に設定される。By the cyclic processing consisting of the above steps 759 to 763, the identification codes “F2 H ” and “F
3 H "is found and the pointer PNT is set in step 765, the CPU 41 determines in step 766 whether the identification code (performance data DATA (i)) is" F2 H ". To do. In this case, if the identification data is “F2 H ”, the time data DUR is changed to the variable (pointer) i + 1 in step 767 based on the determination of “YES” in step 766.
Is set to the performance data DATA (PNT + 1) value read from the performance data memory 50. If the identification data is “F3 H ”, “NO” in the 766
In step 768, the time data DUR is specified by the variables (pointers) i + 1, i + 2, and the performance data memory 50
Performance data DATA (i + 1), DATA (i +
It is set to the calculated value of the following Expression 5 based on 1).
DUR=DATA(i+1)*80H+DATA(i+2)・・・式
5 前記式5は、上記2式と同様、それぞ7ビットからなる
2バイトのデータを14ビットのデータに変換するもので
ある。DUR = DATA (i + 1) * 80 H + DATA (i + 2) ··· Equation 5 Formula 5 is for converting the same manner as described above two equations, respectively the 2-byte data composed of 7 bits to 14 bits of data .
上記ステップ767,768の処理後、CPU41はステップ769
にてテンポクロックTCLを「0」に初期設定し、ステッ
プ770にて現テンポクロック数NTMから前記設定時間デー
タDURを減算することによりかかる時間データDURの更新
毎に現テンポクロック数NTMを更新し、ステップ771にて
該更新した現テンポクロック数NTM及び総テンポクロッ
ク数TTMに基づく下記式6の演算の実行により表示デー
タDSPを設定する。なお、下記式6は上述した式3と同
じであって、表示データDSPは演奏時間に対応した進行
位置を百分率で表すことになる。After the processing of the above steps 767 and 768, the CPU 41 causes the step 769.
In step 770, the tempo clock TCL is initialized to 0, and the preset tempo clock number NTM is subtracted from the current tempo clock number NTM to update the current tempo clock number NTM each time the time data DUR is updated. In step 771, the display data DSP is set by executing the calculation of the following equation 6 based on the updated current tempo clock number NTM and total tempo clock number TTM. The following expression 6 is the same as the above-mentioned expression 3, and the display data DSP represents the progress position corresponding to the playing time in percentage.
DSP=INT(NTM*100/TTM) ・・・式6 次に、CPU41はステップ772にて表示制御回路10bとの協
働により表示データDSPに対応した値が表示されるよう
に表示器18を制御し、ステップ752にて該「カウントダ
ウンルーチン」の実行を終了する。これにより、かかる
後退動作時においても、自動演奏の進行状態が視覚的に
表示される。DSP = INT (NTM * 100 / TTM) ... Equation 6 Next, in step 772, the CPU 41 cooperates with the display control circuit 10b to display the display 18 so that the value corresponding to the display data DSP is displayed. The control is performed, and the execution of the "countdown routine" is ended in step 752. As a result, the progress of the automatic performance is visually displayed even during the backward movement.
このようにテンポ発振器31によるテンポクロック信号
(高速テンポクロック信号)の発生毎に実行される「カ
ウントダウンルーチン」を含む「テンポクロックインタ
ラプトプログラム」によって、ポインタPNTは、後退操
作子14が押圧操作されている限り、高速で後退する。In this way, the pointer PNT operates the backward operation element 14 by the "tempo clock interrupt program" including the "countdown routine" that is executed each time the tempo oscillator 31 generates the tempo clock signal (high-speed tempo clock signal). Retract at high speed as long as you stay.
一方、前記押圧中の後退操作子14の押圧操作が解除さ
れると、ステップ108,108a(第2図)の処理により、
「後退操作子オフイベントルーチン」(第10図)が実行
される。かかる「後退操作子オフイベントルーチン」に
おいては、ステップ550にてその実行が開始され、CPU41
はステップ551にてモードデータMODEが「1」又は
「2」であるとの判定の基に、ステップ552にてサブモ
ードデータMODEを「0」に設定し、ステップ553にてテ
ンポ発振器31のテンポクロック信号の周期をテンポデー
タTMPすなわち上記ステップ110(第2図)の処理により
テンポ操作子17の操作位置に対応した値に設定し、ステ
ップ554にて処理中の時間データDURから現在のテンポク
ロックTCL値(後退した分に対応)を減算した値DUR−TC
Lを新たなテンポクロックTCLとして設定することにより
テンポクロックTCLを前進方向に対する進行位置を表す
値に変更して、ステップ555にて該ルーチンの実行を終
了する。これにより、当該自動演奏装置のサブモードが
ノーマルに戻されるとともに、演奏データの読出し速度
も元に戻される。なお、上記ステップ551の判定処理は
上記ステップ501(第9図)の判定処理に対応するもの
で、当該自動演奏装置がストップモード(モードデータ
MODE=0)、レコードモード(モードデータMODE=3)
及びレコード待機モード(モードデータMODE=4)に設
定されている状態で後退操作子14が操作されても、該操
作を無効にするためのものである。On the other hand, when the pressing operation of the backward operation element 14 being pressed is released, the processing of steps 108 and 108a (FIG. 2) causes
The "reverse operator off event routine" (Fig. 10) is executed. In the "reverse control operator off event routine", its execution is started in step 550, and the CPU 41
Sets the sub mode data MODE to "0" in step 552 based on the judgment that the mode data MODE is "1" or "2" in step 551, and the tempo of the tempo oscillator 31 in step 553. The cycle of the clock signal is set to the tempo data TMP, that is, the value corresponding to the operation position of the tempo operator 17 by the processing of step 110 (FIG. 2) described above, and the current tempo clock is calculated from the time data DUR being processed in step 554. Value obtained by subtracting the TCL value (corresponding to the amount of backward movement) DUR-TC
By setting L as a new tempo clock TCL, the tempo clock TCL is changed to a value that represents the advance position in the forward direction, and in step 555, the execution of this routine ends. As a result, the sub-mode of the automatic musical instrument is returned to normal and the reading speed of the musical performance data is also returned to the original. The determination process of step 551 corresponds to the determination process of step 501 (FIG. 9), and the automatic performance device is in the stop mode (mode data).
MODE = 0), record mode (mode data MODE = 3)
Also, even if the retreat operator 14 is operated in a state where the record standby mode (mode data MODE = 4) is set, the operation is invalidated.
次に、後退操作子14の押圧操作と同時にファンクショ
ン操作子16が操作された場合について説明する。かかる
場合には、後退操作子14の操作に伴う上記と同様な「後
退操作子オンイベントルーチン」の上記ステップ504
(第9図)にて「YES」すなわち後退操作子14とファン
クション操作子16とが同時押圧操作中であると判定さ
れ、ステップ508にてサブモードデータMODEが「2」に
設定され。これにより、当該自動演奏装置のサブモード
がポインタPNTを所定量(演奏進行位置にして最大で約1
0パーセント)ずつ飛び越して後退するジャンプ後退モ
ードに設定される。前記ステップ508の処理後、CPU41は
ステップ509にてMIDI送信器33にオールオフデータを出
力することにより、以前から発生中の楽音信号があれば
該楽音信号の発生を停止させる。Next, the case where the function operator 16 is operated simultaneously with the pressing operation of the retreat operator 14 will be described. In such a case, the above-mentioned step 504 of the "reverse operating element on-event routine" similar to the above with the operation of the reverse operating element 14 is performed.
In FIG. 9, "YES", that is, it is determined that the backward operation element 14 and the function operation element 16 are being simultaneously pressed, and in step 508 the sub mode data MODE is set to "2". As a result, the sub-mode of the automatic performance device moves the pointer PNT to a predetermined amount (up to about 1 at the performance progress position).
(0%) is set in the jump backward mode in which the user jumps over and moves backward. After the processing of step 508, the CPU 41 outputs all-off data to the MIDI transmitter 33 in step 509 to stop the generation of the tone signal if there is a tone signal that has been generated before.
次に、CPU41はステップ510にて現テンポクロック数NT
M及び総テンポクロック数TTMに基づく下記式7の演算の
実行によりジャンプデータPC10を設定する。なお、下記
式7において、関数INX(x)はxの整数部を意味す
る。Next, in step 510, the CPU 41 sets the current tempo clock number NT.
The jump data PC10 is set by executing the calculation of the following formula 7 based on M and the total tempo clock number TTM. In the following formula 7, the function INX (x) means the integer part of x.
PC10=INT{(NTM−1)*10/TTM)}*10・・・
式7 かかる式においては、現在の進行位置より一演奏データ
分後退した楽曲の進行位置を表す百分率の一の位が切捨
てられるので、ジャンプデータPC10は現テンポクロック
数NTMに対応した進行位置から最大で10パーセント後退
した進行位置を表すことになる。例えば、値INT(NTM*
100/TTM)が25パーセントならばPC10は20パーセントに
設定され、また値INT(NTM*100/TTM)が丁度30パーセ
ントならばPC10は20パーセントに設定される。上記ステ
ップ510の処理後、CPU41は、ステップ511による「カウ
ントダウンルーチン」(第13図)の実行及びステップ51
2によるテンポクロックTCLの歩進をしながら、ステップ
513における判定処理DSP≦PC10に基づき、表示データDS
PがジャンプデータPC10以下になるまでステップ511〜51
3からなる循環処理を実行する。「カウントダウンルー
チン」の実行においては、上述の場合と同様に、ポイン
タPNTの後退及び自動演奏の進行(後退)位置表示がな
される。PC10 = INT {(NTM-1) * 10 / TTM)} * 10 ...
Formula 7 In such a formula, since the first digit of the percentage representing the progress position of the music which is retreated by one performance data from the current progress position is truncated, the jump data PC10 is the maximum from the progress position corresponding to the current tempo clock number NTM. Will represent the position where you have moved back 10%. For example, the value INT (NTM *
If 100 / TTM) is 25 percent, PC10 is set to 20 percent, and if the value INT (NTM * 100 / TTM) is exactly 30 percent, PC10 is set to 20 percent. After the processing in step 510, the CPU 41 executes the "countdown routine" (FIG. 13) in step 511 and step 51.
While stepping the tempo clock TCL by 2, step
Based on the judgment processing DSP ≦ PC10 in 513, display data DS
Steps 511 to 51 until P is jump data PC10 or less
Execute the cyclic process consisting of 3. In the execution of the "countdown routine", the backward movement of the pointer PNT and the progress (backward) position of the automatic performance are displayed as in the case described above.
かかるポインタPNTの後退動作及び表示データDSPの更
新により、該表示データDSPがジャンプデータPC10以下
になると、ステップ513(第9図)にて「YES」と判定さ
れて、ステップ502にて該「後退操作子オンイベントル
ーチン」の実行が終了される。これにより、ポインタPN
Tが飛び越して後退され、自動演奏の進行位置が楽曲全
体の長さに対応した割合で所定量だけ戻される。When the display data DSP becomes the jump data PC10 or less due to the backward movement of the pointer PNT and the update of the display data DSP, it is determined to be “YES” in step 513 (FIG. 9) and the “backward movement” is performed in step 502. Execution of the "operator-on event routine" is terminated. This makes the pointer PN
T jumps back and moves backward, and the progress position of the automatic performance is returned by a predetermined amount at a rate corresponding to the length of the entire song.
かかる状態で、前記押圧中の後退操作子14の押圧操作
が解除されると、ファンクション操作子16が操作されな
いで後退操作子14が操作された上記場合と同様、ステッ
プ550〜555からなる「後退操作子オフイベントルーチ
ン」(第10図)が実行されて、当該自動演奏装置のサブ
モードがノーマルに戻されるとともに、演奏データの読
出し速度も元に戻される。In such a state, when the pressing operation of the backward operating element 14 being pressed is released, the backward operating element 14 is operated without the function operating element 16 being operated. The "operator off event routine" (FIG. 10) is executed to return the sub-mode of the automatic musical instrument to normal, and the performance data reading speed is also restored.
一方、かかる後退操作子14の押圧解除後、後退操作子
14が再びファンクション操作子16と同時に押圧操作され
ると、該押圧操作毎に上記「後退操作子オンイベントル
ーチン」(第9図)が再度実行され、自動演奏の進行位
置が10パーセント後退される。そして、かかる操作の繰
り返しにより、自動演奏の進行位置は10パーセントずつ
後退させられるので、所望の進行位置に変更し易くな
る。On the other hand, after releasing the pressing of the retreat operator 14, the retreat operator
When 14 is pressed again at the same time as the function operator 16, the "reverse operator on-event routine" (FIG. 9) is again executed for each pressing operation, and the progress position of the automatic performance is retracted by 10%. . Then, by repeating such an operation, the progress position of the automatic performance is moved backward by 10%, so that it becomes easy to change to the desired progress position.
なお、上述のような後退モード又はジャンプ後退モー
ドにおいては、楽音信号の発生が制御されず、しかも第
16図に示すように、以前のプレイモード及びプレイ待機
モードが変更されることはない。In the reverse mode or the jump reverse mode as described above, the generation of the tone signal is not controlled, and
As shown in Fig. 16, the previous play mode and play standby mode are not changed.
変形例 a.上記実施例におけるプレイモード時においては、上記
ステップ720(第12図)にて時間データDURを累算するこ
とにより、自動演奏の現在の進行位置を表す現テンポク
ロック数NTMを導出するようにしているが、該モード時
にテンポクロックTCLを「1」ずつ増加させていく際、
すなわちステップ205(第3図)、ステップ419(第7
図)の処理の実行時に、テンポクロックTCLの更新と併
せて現テンポクロック数NTMを順次「1」ずつ増加させ
て、同クロック数NTMを順次更新させるようにしてもよ
い。Modification a. In the play mode of the above embodiment, the current tempo clock number NTM representing the current progress position of the automatic performance is derived by accumulating the time data DUR in step 720 (FIG. 12). However, when increasing the tempo clock TCL by "1" in the mode,
That is, step 205 (FIG. 3), step 419 (FIG. 7)
At the time of execution of the processing shown in the figure, the current tempo clock number NTM may be sequentially incremented by "1" together with the updating of the tempo clock TCL, and the same clock number NTM may be sequentially updated.
b.上記実施例においては、自動演奏の進行割合を示す表
示データDSPを算出するために、総テンポクロック数TTM
を記憶させておくようにした(演奏記録時にワーキング
メモリ43に記憶)が、上記プレイモードの開始時におけ
る演奏データの読出し前に、演奏データメモリ50内の曲
開始データと曲終了データとの間に記憶されている全て
の時間データDURを累算して総テンポクロック数TTM数を
演奏データの読出し開始毎に算出するようにしてもよ
い。b. In the above embodiment, in order to calculate the display data DSP indicating the progress rate of the automatic performance, the total tempo clock number TTM
Is stored (stored in the working memory 43 at the time of recording the performance), but before the reading of the performance data at the start of the play mode, between the song start data and the song end data in the performance data memory 50. It is also possible to accumulate all the time data DUR stored in to calculate the total tempo clock count TTM count each time the performance data is read.
c.上記実施例においては、表示データDSPとして現テン
ポクロック数NTMと総テンポクロック数TTMとにより自動
演奏の進行割合を計算するようにしたが、演奏データメ
モリ50のアドレスを指示するポインタPNTと曲終了デー
タを記憶している演奏データメモリ50のアドレス値とに
より自動演奏の進行位置割合を計算するようにしてもよ
い。かかる場合、プレイモードのおける演奏データの読
出し開始前に、演奏データメモリ50に記憶されている各
演奏データをサーチして曲終了データの記憶アドレス値
をワーキングメモリ43内に記憶しておき、演奏データの
読出し時にはポインタPNT値を前記記憶したアドレス値
で除算することによって前記進行位置割合を算出するよ
うにすればよい。また、演奏のデータの記録モード時の
最後に、曲終了データが記憶されたアドレス値を記憶す
るとともに保存しておくようにし、該保持されたアドレ
ス値を前記進行位置割合の算出に利用するようにしても
よい。その結果、上記実施例より不正確であるが、現テ
ンポクロック数NTMの累算の代わりに演奏データの読出
しに使うポインタPNTを兼用できるので、当該自動演奏
装置が簡単に構成される。c. In the above embodiment, the progress rate of the automatic performance is calculated by the current tempo clock number NTM and the total tempo clock number TTM as the display data DSP, but the pointer PNT for pointing the address of the performance data memory 50 is used. The progress position ratio of the automatic performance may be calculated based on the address value of the performance data memory 50 storing the song end data. In such a case, before the reading of the performance data in the play mode is started, each performance data stored in the performance data memory 50 is searched and the storage address value of the song end data is stored in the working memory 43 to perform the performance. When reading data, the advance position ratio may be calculated by dividing the pointer PNT value by the stored address value. Also, at the end of the performance data recording mode, the address value at which the song end data is stored is stored and saved, and the held address value is used for calculating the progress position ratio. You may As a result, although it is more inaccurate than the above embodiment, the automatic performance device can be easily constructed because the pointer PNT used for reading the performance data can be used instead of accumulating the current tempo clock number NTM.
d.上記実施例においては、自動演奏の進行位置割合を表
示器18にて数字表示するようにしたが、操作パネル10上
に一列若しくは複数列に配設したランプ、円形状に配設
したランプ又はこれらのランプに換えて帯状の表示器を
設け、該ランプ又は表示器の点灯量、色別の表示量で前
記進行位置割合を連続的に表示するようにしてもよい。d. In the above embodiment, the progress position ratio of the automatic performance is displayed numerically on the display 18, but the lamps arranged in a row or a plurality of rows on the operation panel 10, the lamps arranged in a circular shape. Alternatively, a band-shaped display device may be provided instead of these lamps, and the progress position ratio may be continuously displayed by the lighting amount of the lamp or the display device and the display amount of each color.
e.上記実施例においては、早送りモード及び後退モード
時におけるテンポ発振器31の周期は常に一定(5ミリ秒
又は10ミリ秒)になるようにしたが、前記周期をテンポ
操作子17により設定されるテンポデータTMP値に応じて
設定するようにしてもよい。e. In the above embodiment, the cycle of the tempo oscillator 31 in the fast-forward mode and the backward mode is always constant (5 milliseconds or 10 milliseconds), but the cycle is set by the tempo operator 17. It may be set according to the tempo data TMP value.
f.上記実施例においては、当該自動演奏装置のテンポを
変更する場合(テンポ操作子17によるテンポ変更、早送
りモード又は後退モード時におけるテンポ変更)、テン
ポデータTMP及びテンポ発振器31の周期を変更するよう
にしたが、時間データDURに計数を乗算する等の方法に
より該データDUR値を変更するようにしてもよい。f. In the above embodiment, when changing the tempo of the automatic performance device (tempo change by tempo operator 17, change of tempo in fast-forward mode or backward mode), the cycle of tempo data TMP and tempo oscillator 31 is changed. However, the data DUR value may be changed by a method such as multiplying the time data DUR by a count.
g.上記実施例においては、一曲分の演奏データのみを演
奏データメモリ50に記憶させるようにしたが、該メモリ
50を分割して複数曲分の演奏データを同メモリ50内に記
憶させるようにしてもよい。また、当該自動演奏装置に
時期ディスク、磁気テープ、光ディスク等の外部記憶装
置を設けるようにして、演奏データメモリ50との演奏デ
ータの授受を行わせるようにしてもよい。かかる場合、
総テンポクロック数TTMは前記演奏データとともに外部
記憶装置に記憶させるようにする必要がある。また、外
部記憶装置を演奏データメモリ50の代わりに用いてもよ
い。g. In the above embodiment, only the performance data for one song is stored in the performance data memory 50.
The performance data for a plurality of songs may be stored in the same memory 50 by dividing 50. Further, the automatic performance device may be provided with an external storage device such as a time disc, a magnetic tape, an optical disc or the like so that performance data can be exchanged with the performance data memory 50. In such cases,
It is necessary to store the total tempo clock number TTM in the external storage together with the performance data. An external storage device may be used instead of the performance data memory 50.
第1図は本発明の一実施例に係る自動演奏装置の概略ブ
ロック図、第2図乃至第14図は第1図のマイクロコンピ
ュータにて実行されるプログラムの一例に対応したフロ
ーチャート、第15図は第1図の演奏データメモリに記憶
される演奏データのデータフォーマット図、及び第16図
は第1図の自動演奏装置の状態遷移図である。 符号の説明 10……操作パネル、10a……スイッチ群、10b……表示制
御回路、11……スタート操作子、12……ストップ操作
子、13……早送り操作子、14……後退操作子、15……記
録操作子、16……ファンクション操作子、17……テンポ
操作子、18……表示器、31……テンポ発振器、32……MI
DI受信器、33……MIDI送信器、40……マイクロコンピュ
ータ、50……演奏データメモリ。FIG. 1 is a schematic block diagram of an automatic musical instrument according to an embodiment of the present invention, FIGS. 2 to 14 are flow charts corresponding to an example of a program executed by the microcomputer of FIG. 1, and FIG. Is a data format diagram of the performance data stored in the performance data memory of FIG. 1, and FIG. 16 is a state transition diagram of the automatic performance device of FIG. Explanation of symbols 10 …… Operation panel, 10a …… Switch group, 10b …… Display control circuit, 11 …… Start operator, 12 …… Stop operator, 13 …… Fast forward operator, 14 …… Reverse operator, 15 …… Record operator, 16 …… Function operator, 17 …… Tempo operator, 18 …… Display, 31 …… Temp oscillator, 32 …… MI
DI receiver, 33 ... MIDI transmitter, 40 ... microcomputer, 50 ... performance data memory.
Claims (7)
進行に従って記憶する演奏データ記憶手段と、所定のテ
ンポで前記複数の演奏データを順次読出す読出し手段と
を備えた自動演奏装置において、 前記読出し手段による演奏データの読出し時における楽
曲の進行位置を楽曲の進行に従って計測する進行位置計
測手段と、 前記演奏データ記憶手段に記憶されている演奏データに
関する楽曲全体の長さに対する前記計測した楽曲の進行
位置の割合を計算する割合計算手段と、 前記計算した割合を表示する表示手段と を設けたことを特徴とする自動演奏装置。1. An automatic performance device comprising: performance data storage means for storing a plurality of performance data related to musical instrument performance as a musical piece progresses; and reading means for sequentially reading out the plurality of performance data at a predetermined tempo. Progressive position measuring means for measuring the progress position of the musical composition when the performance data is read by the reading means according to the progress of the musical composition; An automatic performance device, comprising: a ratio calculation means for calculating a ratio of the advancing position and a display means for displaying the calculated ratio.
及び該各演奏イベントデータの読出し間隔を表す相対時
間データからなる複数の演奏データを楽曲の進行に従っ
て記憶する演奏データ記憶手段と、楽曲の進行速度に対
応したレートでテンポクロック信号を発生するテンポク
ロック信号発生手段と、該テンポクロック信号を計数す
ることにより前記相対時間データに対応した時間間隔で
前記演奏イベントデータを順次読出す読出し手段とを備
えた自動演奏装置において、 前記読出し手段による演奏イベントデータの読出し時に
おける経過時間を前記テンポクロック数に対応させて計
測する経過時間計測手段と、 前記演奏データ記憶手段に記憶されている全ての演奏イ
ベントデータの読出しに必要であって前記テンポクロッ
ク数に対応した全体時間に対する前記計測した経過時間
の割合を計算する割合計算手段と、 前記計算した割合を表示する表示手段と を設けたことを特徴とする自動演奏装置。2. Performance data storage means for storing a plurality of performance data consisting of performance event data for controlling the generation of musical tones and relative time data representing a read interval of each performance event data as the music progresses, and music progress. A tempo clock signal generating means for generating a tempo clock signal at a rate corresponding to the speed, and a reading means for sequentially reading the performance event data at a time interval corresponding to the relative time data by counting the tempo clock signal. In an automatic performance device provided with the performance time data, the elapsed time when the performance event data is read out by the reading means is measured in correspondence with the number of tempo clocks, and all performances stored in the performance data storage means. It is necessary to read event data and corresponds to the tempo clock count. The ratio calculating means for calculating the percentage of elapsed time that the measurement for the entire time, the automatic performance apparatus characterized in that a display means for displaying a percentage above calculation.
時から前記テンポクロック信号を計数する計数手段で構
成した上記請求項2に記載の自動演奏装置。3. The automatic musical instrument according to claim 2, wherein the elapsed time measuring means is constituted by counting means for counting the tempo clock signal from the start of reading the performance event data by the reading means.
時から前記相対時間データを累算する累算手段で構成し
た上記請求項2に記載の自動演奏装置。4. The automatic musical instrument according to claim 2, wherein the elapsed time measuring means is constituted by accumulating means for accumulating the relative time data from the start of reading the performance event data by the reading means.
データ記憶手段と、 前記全体時間データ記憶手段に記憶されている全体時間
データにより表された全体時間に対する上記経過時間計
測手段により計測された経過時間の割合を演算する演算
手段と により構成した上記請求項2に記載の自動演奏装置。5. The ratio calculation means includes: total time data storage means for storing total time data representing the total time; and total time represented by the total time data stored in the total time data storage means. 3. The automatic performance device according to claim 2, further comprising: a calculating unit that calculates a ratio of the elapsed time measured by the elapsed time measuring unit.
前に演奏データ記憶手段に記憶されている全ての相対時
間データを累算して上記全体時間を算出する累算手段
と、 前記累算手段により算出された全体時間に対する上記経
過時間計測手段により計測された経過時間の割合を演算
する演算手段と により構成した上記請求項2に記載の自動演奏装置。6. A totaling unit for calculating the total time by accumulating all relative time data stored in the performance data storage unit before the reading of the performance event data by the reading unit is started. 3. The automatic performance device according to claim 2, wherein the automatic performance device comprises: means for calculating the ratio of the elapsed time measured by the elapsed time measuring means to the total time calculated by the accumulating means.
進行に従って複数のアドレスにそれぞれ記憶する演奏デ
ータ記憶手段と、所定のテンポで歩進するアドレス信号
を発生し該アドレス信号により指定されるアドレスに記
憶されている演奏データを順次読出す読出し手段とを備
えた自動演奏装置において、 前記演奏データ記憶手段における演奏データの最終記憶
アドレス値に対する前記読出し手段による演奏データの
読出し時におけるアドレス値の割合を計算する割合計算
手段と、 前記計算した割合を表示する表示手段と を設けたことを特徴とする自動演奏装置。7. Performance data storage means for storing a plurality of performance data relating to musical instrument performance at a plurality of addresses as the music progresses, and generating an address signal stepping at a predetermined tempo and designating by the address signal. In an automatic performance device provided with a reading means for sequentially reading the performance data stored in the address, an address value at the time of reading the performance data by the reading means with respect to a final storage address value of the performance data in the performance data storage means. An automatic performance device comprising: a ratio calculation means for calculating a ratio; and a display means for displaying the calculated ratio.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63005377A JPH0827625B2 (en) | 1988-01-13 | 1988-01-13 | Automatic playing device |
| KR1019890000289A KR940002435B1 (en) | 1988-01-13 | 1989-01-13 | Automatic music playing device |
| US07/869,858 US5233521A (en) | 1988-01-13 | 1992-04-16 | Automatic performance apparatus with display showing progress of tune |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63005377A JPH0827625B2 (en) | 1988-01-13 | 1988-01-13 | Automatic playing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01180595A JPH01180595A (en) | 1989-07-18 |
| JPH0827625B2 true JPH0827625B2 (en) | 1996-03-21 |
Family
ID=11609483
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63005377A Expired - Lifetime JPH0827625B2 (en) | 1988-01-13 | 1988-01-13 | Automatic playing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0827625B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57176093A (en) * | 1981-04-22 | 1982-10-29 | Roland Kk | Arithmetical operation device for performance time |
| JPS5891798U (en) * | 1981-12-15 | 1983-06-21 | カシオ計算機株式会社 | electronic musical instruments |
| JPS58222478A (en) * | 1982-06-17 | 1983-12-24 | Matsushita Electric Ind Co Ltd | Display device of recording and reproducing device of high density |
| JPS6255961U (en) * | 1985-09-26 | 1987-04-07 |
-
1988
- 1988-01-13 JP JP63005377A patent/JPH0827625B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01180595A (en) | 1989-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2580720B2 (en) | Automatic performance device | |
| JP2705568B2 (en) | Automatic performance device | |
| US4694724A (en) | Synchronizing signal generator for musical instrument | |
| US5233521A (en) | Automatic performance apparatus with display showing progress of tune | |
| JP2595800B2 (en) | Automatic performance device | |
| JPH0827625B2 (en) | Automatic playing device | |
| JPH0827626B2 (en) | Automatic playing device | |
| JPH0766265B2 (en) | Interrupt processing controller of performance information processor | |
| KR940002435B1 (en) | Automatic music playing device | |
| JP3195111B2 (en) | Automatic performance device | |
| JPH07109553B2 (en) | Automatic playing device | |
| JPH03105396A (en) | Automatic playing device | |
| US20240119918A1 (en) | Automatic performing apparatus and automatic performing program | |
| JP3767418B2 (en) | Automatic performance device and automatic performance control program | |
| JP2626440B2 (en) | Automatic accompaniment device | |
| JP3873782B2 (en) | Data structure of automatic performance device, automatic performance program and automatic performance data | |
| JP2828119B2 (en) | Automatic accompaniment device | |
| JPH0375875B2 (en) | ||
| JP3303754B2 (en) | Tone control data generation device, recording medium storing a program for generating tone control data, and tone control data generation method | |
| JPH0480795A (en) | Automatic music player | |
| JP3404818B2 (en) | Automatic performance device | |
| JPH07101348B2 (en) | Automatic playing device | |
| JP2596111B2 (en) | Automatic performance device | |
| JP2720794B2 (en) | Automatic performance device | |
| JP2000276142A (en) | Music sound performing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |