JP2606446B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP2606446B2
JP2606446B2 JP2334882A JP33488290A JP2606446B2 JP 2606446 B2 JP2606446 B2 JP 2606446B2 JP 2334882 A JP2334882 A JP 2334882A JP 33488290 A JP33488290 A JP 33488290A JP 2606446 B2 JP2606446 B2 JP 2606446B2
Authority
JP
Japan
Prior art keywords
data
setting data
start point
outputting
repeat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2334882A
Other languages
Japanese (ja)
Other versions
JPH04204500A (en
Inventor
正忠 和智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2334882A priority Critical patent/JP2606446B2/en
Publication of JPH04204500A publication Critical patent/JPH04204500A/en
Application granted granted Critical
Publication of JP2606446B2 publication Critical patent/JP2606446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、予め記憶された演奏データを再生出力す
る自動演奏装置に関し、特に、早送り,巻き戻しやリピ
ート時において再生開始までの時間を短縮した自動演奏
装置に関する。
Description: BACKGROUND OF THE INVENTION (a) Industrial application field The present invention relates to an automatic performance apparatus for reproducing and outputting performance data stored in advance, and more particularly, to a time required to start reproduction at the time of fast-forward, rewind or repeat. It relates to a shortened automatic performance device.

(b)従来の技術 いわゆるシーケンサなどの自動演奏装置は、再生順に
演奏データを記憶しており、通常の再生モードにおいて
は先頭から順次データを読み出し出力することにより、
音源装置に発音させるようにしている。演奏データに
は、発音すべき楽音の音高や長さなどを指定するデータ
の他に、その曲のテンポや拍子,楽音の音色などを指定
する設定データが含まれる。一般の自動演奏装置や音源
装置においては、設定データが読み出されると(送られ
て来ると)次に新たな設定データが読み出されるまでは
そのデータを用いて自動演奏を行う。すなわち、テンポ
や拍子は新たに指定されるまでは最後に読み出されたも
のを有効なデータとして自動演奏を行い、音色データに
関しても新たな音色指定が行われるまでは最後に指定さ
れた音色で楽音を形成する。したがって、曲の途中から
再生を開始する場合でも、そのときどのような設定デー
タで再生されるべきかを知るためには再生開始点前で最
後に記憶されている設定データを検索して読み出す必要
がある。
(B) Conventional technology Automatic performance devices such as a sequencer store performance data in the order of playback, and in a normal playback mode, read and output data sequentially from the beginning to output the data.
The sound source device is made to sound. The performance data includes, in addition to data for specifying the pitch and duration of a musical tone to be pronounced, setting data for specifying the tempo, time signature, tone color and the like of the music. In a general automatic performance device or sound source device, when the setting data is read (sent), an automatic performance is performed using the new setting data until the next setting data is read. In other words, the tempo and time signature are automatically played using the last read data as valid data until a new tone is specified, and the tone data is also used in the last specified tone until a new tone is specified. Form a musical tone. Therefore, even when playback is started from the middle of a song, it is necessary to search and read the last stored setting data before the playback start point in order to know what setting data should be played back at that time. There is.

(c)発明が解決しようとする課題 このため、従来の自動演奏装置では、早送り,巻き戻
し,リピート再生を行う場合、再生を開始する点におい
てどのような設定データが有効であるかは演奏データの
先頭から順次読み出していかなければそれを知ることが
できなかった。さらに、設定データが読み出された場合
には、必ず音源装置にこれを送信するようにしていた。
音源装置は、設定データが送られてきた場合には必ずそ
の設定データに対応した設定動作(音色データをROMか
ら読み出して音源回路にセットする動作等)を行うた
め、曲の先頭から再生開始点までに多くの設定データ
(設定変更データ)がある場合には、この動作を何度も
繰り返して行わねばならず、再生開始まで極めて長時間
を要するという欠点があった。
(C) Problems to be Solved by the Invention For this reason, in the conventional automatic performance device, when performing fast forward, rewind, and repeat playback, what kind of setting data is effective at the point of starting playback is determined by the performance data. Could not be known unless they were read sequentially from the beginning of Further, when the setting data is read, it is always transmitted to the sound source device.
The sound source device always performs the setting operation corresponding to the setting data (operation for reading out the tone data from the ROM and setting it in the sound source circuit) when the setting data is transmitted. If there is a lot of setting data (setting change data) before this operation, this operation must be repeated many times, and there is a disadvantage that it takes an extremely long time to start reproduction.

この発明は、再生開始点前最後の設定データのみを出
力することにより上記課題を解決した自動演奏装置を提
供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an automatic performance apparatus which solves the above-mentioned problem by outputting only the last setting data before the reproduction start point.

(d)課題を解決するための手段 この出願の請求項(1)の発明は、再生順序に従って
設定データを含む演奏データを記憶する記憶手段と、前
記記憶手段のうち少なくとも再生開始点を指定する再生
位置指定手段と、前記再生開始点前における最後の設定
データをサーチするサーチ手段と、前記再生開始点から
演奏データの読み出し出力を開始するとき先ず前記サー
チされた設定データを出力する設定データ出力手段と、
を設けたことを特徴とする。
(D) Means for Solving the Problems According to the invention of claim (1) of the present application, storage means for storing performance data including setting data in accordance with a reproduction order, and at least a reproduction start point of the storage means is designated. Playback position designating means, search means for searching for the last setting data before the playback start point, and setting data output for outputting the searched setting data first when reading and outputting performance data from the playback start point Means,
Is provided.

この出願の請求項(2)の発明は、再生順序に従って
設定データを含む演奏データを記憶する記憶手段と、前
記記憶手段の先頭から順次前記演奏データを読み出し出
力する再生手段と、前記再生手段の動作中に再生開始点
を指示する再生開始点指示手段と、前記再生開始点指示
手段により再生開始点が指示されたときそのとき設定さ
れている設定データを記憶する設定データバッファリン
グ手段と、前記再生開始点から演奏データの読み出し出
力を開始するとき前記設定データをまず出力する設定デ
ータ出力手段と、を設けたことを特徴とする。
The invention of claim (2) of this application is a storage means for storing performance data including setting data in accordance with a reproduction order, a reproduction means for sequentially reading and outputting the performance data from the head of the storage means, Playback start point instructing means for instructing a playback start point during operation; setting data buffering means for storing setting data set at that time when a playback start point is instructed by the playback start point instructing means; Setting data output means for outputting the setting data first when reading and outputting the performance data from the reproduction start point are provided.

この発明の請求項(3)の発明は、再生順序に従って
設定データを含む演奏データを記憶する記憶手段と、前
記記憶手段の先頭から順次前記演奏データを読み出し出
力する再生手段と、設定データバッファと、前記再生手
段の動作中に再生開始点を指示する再生開始点指示手段
と、前記再生開始点指示手段によって再生開始点が指示
されるまで前記演奏データから読み出された最新の設定
データで前記設定データバッファの記憶内容を更新する
バッファ更新手段と、前記再生開始点から演奏データの
読み出し出力を開始するとき前記設定データバッファに
記憶されている設定データをまず出力する設定データ出
力手段と、を設けたことを特徴とする。
According to a third aspect of the present invention, there is provided a storage means for storing performance data including setting data in accordance with a reproduction order, a reproducing means for sequentially reading and outputting the performance data from the head of the storage means, a setting data buffer, A reproduction start point instructing means for instructing a reproduction start point during operation of the reproduction means, and the latest setting data read from the performance data until a reproduction start point is instructed by the reproduction start point instructing means. Buffer update means for updating the storage content of the setting data buffer; and setting data output means for first outputting the setting data stored in the setting data buffer when reading and outputting the performance data from the reproduction start point. It is characterized by having been provided.

(e)作用 この発明の自動演奏装置は、再生順序に従って演奏デ
ータを記憶する記憶手段を備え、通常はこの演奏データ
を先頭から順次読み出して音源装置などに出力する。演
奏データの途中から読み出しを開始するときには、再生
開始点指定手段によって少なくとも再生開始点が指定さ
れる。この再生開始点からの再生開始に先立って、この
再生開始点前における最後の設定データをサーチ手段に
よってサーチする。サーチ手段は演奏データの先頭から
設定データのみを検索する手段であってもよく、また、
設定開始点の演奏データからさかのぼって演奏データを
読み出していく手段であってもよい。サーチののち、再
生開始点から再生を開始するが、この再生開始に先立っ
てサーチされた設定データを出力する。これによって、
音源装置には必要は設定データのみが出力され、波形デ
ータのセットなどの時間を要する作業を最小限の時間に
止め、再生開始までに要する時間を短縮することができ
る。
(E) Operation The automatic performance device of the present invention includes storage means for storing performance data in accordance with the reproduction order, and normally reads out the performance data sequentially from the beginning and outputs it to a tone generator or the like. When reading is started from the middle of the performance data, at least the reproduction start point is designated by the reproduction start point designation means. Prior to the start of reproduction from the reproduction start point, the search means searches for the last setting data before the reproduction start point. The search means may be means for searching only the setting data from the beginning of the performance data,
A means for reading performance data retroactively from the performance data at the setting start point may be used. After the search, the reproduction is started from the reproduction start point, and the setting data searched before the reproduction is started is output. by this,
Only necessary setting data is output to the sound source device, and time-consuming operations such as setting of waveform data can be minimized, and the time required to start reproduction can be reduced.

ここで、請求項(2)の発明は、プレイ中に指示され
た再生開始点における設定データ(バルクデータ)をバ
ッファリングしておき、ここからの再生開始時にこの設
定データを送信して再生を開始する。また、請求項
(3)の発明は、プレイ中に新たな設定データ(レジス
トナンバデータ)が読み出される毎にこのデータで設定
データバッファを更新しておき、再生開始点が指定され
たときこの設定データバッファの更新を停止する。再生
開始点から再生を開始するときには、設定データバッフ
ァに記憶されている設定データを出力することによって
初期設定を行う。以上のようにすることにより、リピー
ト再生等のときのスタートを迅速にすることができる。
Here, according to the invention of claim (2), the setting data (bulk data) at the reproduction start point designated during the play is buffered, and when the reproduction is started from here, the setting data is transmitted to reproduce the data. Start. Further, according to the invention of claim (3), each time new setting data (registration number data) is read during play, the setting data buffer is updated with this data, and when a reproduction start point is designated, the setting data buffer is updated. Stop updating the data buffer. When the reproduction is started from the reproduction start point, the initial setting is performed by outputting the setting data stored in the setting data buffer. By doing as described above, the start at the time of repeat reproduction or the like can be speeded up.

なお、この発明における設定データは、いわゆるバル
クデータ,レジストナンバデータの両方を包含する概念
である。
The setting data in the present invention is a concept that includes both so-called bulk data and registration number data.

(f)実施例 第1図はこの発明の実施例である自動演奏装置および
音源を備えた電子楽器のブロック図である。自動演奏装
置1はマイクロコンピュータ13がその全体動作を制御
し、このマイクロコンピュータ13には操作パネル11,RAM
14およびフロッピィディスクドライブ12が接続されてい
る。フロッピィディスクドライブ12に挿入されるフロッ
ピィディスクに自動演奏用の演奏データ(自動演奏デー
タ)が記憶されている。
(F) Embodiment FIG. 1 is a block diagram of an electronic musical instrument having an automatic performance device and a sound source according to an embodiment of the present invention. The microcomputer 13 controls the entire operation of the automatic performance apparatus 1, and the microcomputer 13 has an operation panel 11, a RAM, and the like.
14 and a floppy disk drive 12 are connected. Performance data for automatic performance (automatic performance data) is stored in a floppy disk inserted into the floppy disk drive 12.

フロッピィディスクに記憶される自動演奏データの例
を第3図および第11図に示す。自動演奏データはバルク
データ50およびそれ以後の曲データからなっている。バ
ルクデータ50は音色データやリズムデータからなってい
る。それぞれの音色データやリズムデータはレジストナ
ンバで識別できるようになっている。レジストナンバは
曲データの先頭のヘッドデータや曲途中のレジストナン
バデータに書き込まれる。曲データは主としてノードデ
ータ,デュレーションデータ等で構成されており、これ
らが曲の進行にしたがって順次記憶されている。また、
曲の途中で音色やリズム等の設定内容を変更する場合に
はレジストナンバデータ51,52が記憶される。自動演奏
中にレジストナンバデータが読み出された場合には、こ
のレジストナンバで識別される設定データをバルクデー
タから検索して読み出し、このデータを自動演奏装置内
にセットするとともに電子楽器2(音源装置)に送信す
る。この送信にはMIDIケーブル3が用いられる。また、
リピートデータ53,54は自動演奏中に操作者によって設
定されるものである。エンドコード55は曲データの最後
に記憶されている。プレイモード時には、上記曲データ
が順次読み出されて電子楽器2に送信される。電子楽器
2では受信したデータに基づいて楽音信号を形成・発音
する。
FIGS. 3 and 11 show examples of the automatic performance data stored in the floppy disk. The automatic performance data is composed of bulk data 50 and music data thereafter. The bulk data 50 is composed of timbre data and rhythm data. Each tone color data and rhythm data can be identified by a registration number. The registration number is written in the head data at the head of the music data or the registration number data in the middle of the music. The music data is mainly composed of node data, duration data and the like, and these are sequentially stored as the music progresses. Also,
When setting contents such as tone color and rhythm are changed in the middle of a song, registration number data 51 and 52 are stored. When the registration number data is read out during the automatic performance, the setting data identified by the registration number is searched and read out from the bulk data, and this data is set in the automatic performance device and the electronic musical instrument 2 (sound source) Device). The MIDI cable 3 is used for this transmission. Also,
The repeat data 53 and 54 are set by the operator during the automatic performance. The end code 55 is stored at the end of the music data. In the play mode, the music data is sequentially read and transmitted to the electronic musical instrument 2. The electronic musical instrument 2 forms and generates a tone signal based on the received data.

電子楽器2はマイクロコンピュータ23によって制御さ
れる。マイクロコンピュータ23には操作パネル21,音源2
2,RAM24およびキーボード25が備えられている。すなわ
ち、この電子楽器2はキーボードを備えた一般的な電子
鍵盤楽器である。
The electronic musical instrument 2 is controlled by a microcomputer 23. The microcomputer 23 has an operation panel 21 and a sound source 2
2, a RAM 24 and a keyboard 25 are provided. That is, the electronic musical instrument 2 is a general electronic keyboard musical instrument having a keyboard.

第2図は自動演奏装置1の操作パネル11の詳細図であ
る。この操作パネル11にはLCD表示器30が設けられてい
るとともに、各種の機能スイッチが設けられている。機
能スイッチとしては、録音スイッチ31,ストップスイッ
チ32,巻き戻しスイッチ33,ポーズスイッチ34,プレイス
イッチ35,早送りスイッチ36およびリピートスイッチ37
である。録音スイッチ31は自動演奏データを書き込む
(録音する)ときオンするスイッチである。プレイスイ
ッチ35は自動演奏を開始する(再生する)ときオンする
スイッチである。このスイッチをオンすると自動演奏デ
ータの先頭(バルクデータ)からデータが読み出され、
電子楽器2に送られる。巻き戻しスイッチ33,早送りス
イッチ36は曲の再生中に再生点を前に進ませたり逆戻り
させたりするときオンするスイッチである。これらのス
イッチがオンされると自動演奏データの読み出しアドレ
スをスキップして前に進めたり逆戻ししたりする。ポー
ズスイッチ34は再生中に再生を一旦停止するスイッチで
ある。リピートスイッチ37は演奏データの一部区間(フ
レーズ)の繰り返し再生を行う場合(リピートモード)
に、その繰り返し区間の開始点と終了点とを指定すると
き用いられるスイッチである。再生中にまずこのスイッ
チをオンすると、そのときの再生点がリピート開始点第
11図の53参照)となり、2回目にこのスイッチをオンす
ると、そのときの再生点がリピート終了点になる(同54
参照)。
FIG. 2 is a detailed view of the operation panel 11 of the automatic performance device 1. The operation panel 11 is provided with an LCD display 30 and various function switches. The function switches include a recording switch 31, a stop switch 32, a rewind switch 33, a pause switch 34, a play switch 35, a fast forward switch 36, and a repeat switch 37.
It is. The recording switch 31 is a switch that is turned on when writing (recording) automatic performance data. The play switch 35 is a switch that is turned on when the automatic performance starts (reproduces). When this switch is turned on, data is read from the beginning (bulk data) of the automatic performance data,
It is sent to the electronic musical instrument 2. The rewind switch 33 and the fast-forward switch 36 are switches that are turned on when the playback point is moved forward or backward during playback of a music piece. When these switches are turned on, the read address of the automatic performance data is skipped to advance or reverse. The pause switch 34 is a switch for temporarily stopping the reproduction during the reproduction. The repeat switch 37 is used to repeat playback of a section (phrase) of performance data (repeat mode)
Are switches used to designate the start point and end point of the repetition section. When this switch is first turned on during playback, the playback point at that time is set to the repeat start point.
When the switch is turned on for the second time, the playback point at that time becomes the repeat end point (see FIG. 11).
reference).

第4図のレジスタ群を示す図,第5図〜第10図のフロ
ーチャートおよび第11図の自動演奏の流れを示す図を参
照して前記自動演奏装置の動作を説明する。第5図はメ
インルーチンを示すフローチャートである。自動再生装
置の電源がオンされると先ずレジスタのリセットなどの
イニシャライズ動作を実行し(n1)、録音処理(n2)、
再生処理(n3)およびその他の処理(n4)を繰り返し実
行する。録音処理(n2)はフロッピィディクスに演奏デ
ータを書き込んでいく動作である。また、その他の処理
動作(n4)は表示内容の変更動作などである。
The operation of the automatic performance device will be described with reference to the register group shown in FIG. 4, the flowcharts shown in FIGS. 5 to 10 and the flowchart showing the flow of the automatic performance shown in FIG. FIG. 5 is a flowchart showing a main routine. When the power of the automatic playback device is turned on, first, an initialization operation such as resetting a register is performed (n1), and a recording process (n2) is performed.
The reproduction process (n3) and other processes (n4) are repeatedly executed. The recording process (n2) is an operation of writing performance data to floppy disks. The other processing operation (n4) is an operation of changing display contents.

第6図はタイマインタラプト動作である。この動作は
約10ms毎に繰り返し実行される動作である。この動作は
マイクロコンピュータ13内に設けられているタイマの割
り込みによって一定時間毎に強制的に実行される。この
動作ではテンポクロックTCに1が加算される。
FIG. 6 shows a timer interrupt operation. This operation is an operation repeatedly executed about every 10 ms. This operation is forcibly executed at predetermined time intervals by an interrupt of a timer provided in the microcomputer 13. In this operation, 1 is added to the tempo clock TC.

第7図は再生処理動作を示すフローチャートである。
この動作においては先ず最初に操作パネル11の各スイッ
チのオン/オフに対応する動作を実行する(n10〜n1
4)。すなわち、プレイスイッチ処理(n10)、ストップ
スイッチ処理(n11)、リピートスイッチ処理(n12)、
ポーズスイッチ処理(n13)および早送り,巻戻しスイ
ッチ処理(n14)である。次に、n15,n16でプレイモード
であり、かつテンポクロックが1以上であるか否かを判
断する。以上の条件が満たされた場合には演奏データの
読出動作(n17〜n35)が行われる。まず、テンポクロッ
クTCから1を減算し(n17)、デュレーションデータを
読み出してDURレジスタにセットする(n18)。タイミン
グデータレジスタTIMEが次のデータの読出タイミングす
なわちDUR+OTになっていれば(n19)アドレスを歩進し
て新たなデータを読み出す(n20,n21)。次のデータ読
出タイミングになっていなければTIMEに1を加算して
(n36)リターンする。n21で読み出されたデータを音源
装置や自動演奏装置の各部に対して出力する(n22)。
このデータがエンドデータであれば(n23)再生フラグP
LAYをリセットして(n24)リターンする。エンドデータ
以外であればリピートフラグがセットしており且つリピ
ートエンドアドレスであるか否かを判断する(n25,n2
6)。すなわち、リピートモード時にフレーズの終了点
に来たか否かを判断する。この条件が満たされた場合に
は、ノートオフ信号を出力するとともに(n27)バッフ
ァREGBに記憶されているレジストデータおよび小節ナン
バMEASを出力する(n28)。バッファREGBは予め検索さ
れたリピート開始点におけるレジストデータを記憶して
いる。さらにリピートスタートアドレスREPAを読出アド
レスレジスタにセットし(n29)、タイミングデータを
リピートタイミングデータに書き換える(n30)。この
のちn31に進む。一方、リピートプレイモードでない場
合およびリピートプレイモードであってもアドレスがリ
ピートエンドアドレスに至っていない場合には直接n31
に進む。n31においてはそのときのタイミングデータを
前タイミングデータレジスタOTにセットする(n31)。
アドレスを更新し(n32)、新たな演奏データを読み出
す(n33)。このデータがデュレーションデータであれ
ばこのデュレーションデータをカウントするまで次の演
奏データの読み出しが行われないためタイミングデータ
レジスタに1を加算して(n35)リターンする。またデ
ュレーションデータ以外であればn22に戻る。
FIG. 7 is a flowchart showing the reproduction processing operation.
In this operation, first, an operation corresponding to ON / OFF of each switch of the operation panel 11 is executed (n10 to n1).
Four). That is, play switch processing (n10), stop switch processing (n11), repeat switch processing (n12),
The pause switch process (n13) and the fast forward / rewind switch process (n14). Next, it is determined whether or not the play mode is set at n15 and n16 and the tempo clock is 1 or more. When the above conditions are satisfied, the performance data reading operation (n17 to n35) is performed. First, 1 is subtracted from the tempo clock TC (n17), the duration data is read out, and set in the DUR register (n18). If the timing data register TIME indicates the next data read timing, that is, DUR + OT (n19), the address is incremented and new data is read (n20, n21). If the next data read timing has not come, 1 is added to TIME (n36) and the routine returns. The data read in n21 is output to each part of the tone generator and the automatic performance device (n22).
If this data is end data (n23), the reproduction flag P
Reset LAY (n24) and return. If it is other than end data, it is determined whether the repeat flag is set and whether it is a repeat end address (n25, n2).
6). That is, it is determined whether or not the end point of the phrase has been reached in the repeat mode. When this condition is satisfied, a note-off signal is output (n27), and the register data and the measure number MEAS stored in the buffer REGB are output (n28). The buffer REGB stores the resist data at the repeat start point searched in advance. Further, the repeat start address REPA is set in the read address register (n29), and the timing data is rewritten to the repeat timing data (n30). Then, proceed to n31. On the other hand, if the address is not at the repeat end address in the repeat play mode or even in the repeat play mode, n31
Proceed to. In n31, the timing data at that time is set in the previous timing data register OT (n31).
The address is updated (n32), and new performance data is read (n33). If this data is duration data, the next performance data is not read until the duration data is counted, so 1 is added to the timing data register (n35) and the routine returns. If the data is other than the duration data, the process returns to n22.

第8図はプレイスイッチ処理動作を示すフローチャー
トである。この動作では先ずプレイスイッチ35がオンさ
れているかを判断する(n40)。オンされていなければ
そのままリターンする。オンされている場合には現在プ
レイモードであるか否かを判断し、プレイモードでなけ
れば演奏を開始するための動作(n42〜n47)を実行す
る。また現在プレイモードであれば自動演奏動作を継続
するがリピートプレイモードフラグをリセットして(n4
8)リターンする。すなわち、リピートモード中にプレ
イスイッチ35がオンされた場合にはリピートモードを解
除するためである。n42では自動演奏を開始するため演
奏データの先頭のアドレスをセットし(n42)、バルク
データおよびヘッダを読み出し必要なデータを電子楽器
に対して出力する(n43)。こののち次のデータの位置
までアドレスを更新し(n44)、テンポクロック,タイ
ミングデータをクリアする(n45,n46)。次に再生フラ
グをセットして(n47)n48に進む。
FIG. 8 is a flowchart showing the play switch processing operation. In this operation, first, it is determined whether or not the play switch 35 is turned on (n40). If it is not turned on, it returns as it is. If it is turned on, it is determined whether or not the current mode is the play mode. If not, the operation (n42 to n47) for starting the performance is executed. If the current play mode is set, the automatic play operation is continued, but the repeat play mode flag is reset (n4
8) Return. That is, if the play switch 35 is turned on during the repeat mode, the repeat mode is released. In n42, the head address of the performance data is set to start the automatic performance (n42), and the bulk data and the header are read out and necessary data is output to the electronic musical instrument (n43). Thereafter, the address is updated to the next data position (n44), and the tempo clock and timing data are cleared (n45, n46). Next, a reproduction flag is set (n47), and the process proceeds to n48.

第9図はストップスイッチ対応処理を示すフローチャ
ートである。この動作の最初に先ずストップスイッチが
オンされたか否かを判断する(n50)。ストップスイッ
チがオンされた場合には再生フラグPLAYをリセットして
リターンする(n51)。ストップスイッチがオンされな
い場合にはn50から直接リターンする。
FIG. 9 is a flowchart showing a stop switch handling process. At the beginning of this operation, it is first determined whether or not the stop switch has been turned on (n50). If the stop switch is turned on, the reproduction flag PLAY is reset and the process returns (n51). If the stop switch is not turned on, it returns directly from n50.

第10図はリピートスイッチ対応処理を示すフローチャ
ートである。リピートスイッチはリピート再生を行う場
合に、先頭アドレスおよび終了アドレスを指定するとき
オンされる。まず、リピートスイッチ37がオンされたか
否かを判断する(n59)。オンされてない場合にはその
ままリターンする。オンされた場合にはすでにリピート
スタートアドレスがセットされているか否かを判断する
(n60)。リピートスイッチフラグREPSがセットされて
いなければ今回のリピートスイッチのオンはリピートス
イッチアドレスの設定動作であり、リピートスイッチフ
ラグREPSがセットされている場合にはリピートエンドア
ドレスのセット動作である。
FIG. 10 is a flowchart showing a repeat switch corresponding process. The repeat switch is turned on when designating the start address and the end address in performing the repeat reproduction. First, it is determined whether or not the repeat switch 37 has been turned on (n59). If it is not turned on, the routine returns. If it is turned on, it is determined whether or not the repeat start address has already been set (n60). If the repeat switch flag RPS is not set, turning on the repeat switch this time is a setting operation of the repeat switch address, and if the repeat switch flag REPS is set, it is a setting operation of the repeat end address.

リピートスタートアドレスはリピートスイッチがオン
されたタイミングの直前の小節線のアドレスがセットさ
れる。リピート再生は小節単位で行われるためである。
n62〜n65でリピートスイッチがオンされたタイミングの
直前の小節線を検索する。検索された小節線のアドレス
をREPAにセットする(n66)。次にリピートスタートア
ドレスがセットされたことを示すリピートスイッチフラ
グREPSをセットし(n67)、アドレスを元のアドレスに
戻して(n66)リターンする。
As the repeat start address, the address of the bar immediately before the timing at which the repeat switch is turned on is set. This is because repeat playback is performed in measures.
The bar line immediately before the timing at which the repeat switch is turned on is searched for in n62 to n65. The address of the searched bar line is set in REPA (n66). Next, a repeat switch flag RPS indicating that the repeat start address has been set is set (n67), the address is returned to the original address (n66), and the routine returns.

一方、リピートエンドアドレスのセット動作では、ノ
ートオフ信号を出力して(n61)楽音を消去したのち、
リピートスイッチがオンされたタイミングの直後に記憶
されている小節線を検索する(n70〜n72)。その小節線
のアドレスをリピートエンドアドレスレジスタREPBに記
憶する(n73)。こののちリピート再生区間の最初にセ
ットされるべきレジストデータがどれであるかを知るた
め、演奏データの先頭から順次データを読み出し、最新
のレジストナンバデータをレジストナンバデータバッフ
ァREGBにバッファリングしていく。リピートスタートア
ドレスに達したときこの動作を終了し(n81)、バッフ
ァリングされているレジストナンバデータおよび小節ナ
ンバデータを出力する(n82)。小節ナンバのデータよ
りリピートタイミングンデータRTIMEを算出し(n83)、
これをタイミングデータレジスタTIMEにセットするとと
もに、その時のタイミングデータを前タイミングデータ
OTにセットする(n84)。こののち、リピートスイッチ
フラグをリセットするとともにリピートプレイフラグを
セットして(n85,n86)リターンする。
On the other hand, in the set operation of the repeat end address, after outputting the note-off signal (n61) to erase the musical tone,
A bar line stored immediately after the timing at which the repeat switch is turned on is searched (n70 to n72). The address of the bar line is stored in the repeat end address register REPB (n73). After that, in order to know which register data should be set at the beginning of the repeat playback section, data is sequentially read from the beginning of the performance data, and the latest register number data is buffered in the register number data buffer REGB. . When the repeat start address is reached, this operation is terminated (n81), and the buffered register number data and bar number data are output (n82). The repeat timing data RTIME is calculated from the measure number data (n83).
This is set in the timing data register TIME, and the timing data at that time is stored in the previous timing data.
Set to OT (n84). After that, the repeat switch flag is reset and the repeat play flag is set (n85, n86), and the routine returns.

以上の動作により第11図においてバルクデータ50に以
後に読み出されるレジストナンバデータ51のうち、53,5
4のリピート記号で示されるリピート区間手前で最後の
レジストナンバデータ52がバッファREGBにセットされ、
このレジストナンバデータで示される設定データが音源
回路などにセットされる。
By the above operation, among the register number data 51 subsequently read out into the bulk data 50 in FIG.
The last registration number data 52 is set in the buffer REGB just before the repeat section indicated by the repeat symbol of 4,
The setting data indicated by the registration number data is set in a tone generator circuit or the like.

なお、本実施例はCPUが制御するソフトウェアで構成
したが、ハードウェアで実現することも可能である。ま
た、上記実施例はリピート再生のみ示しているが早送
り,巻戻し,小節数による指定などどのようなモードに
おいても用いることができる。さらに、リピートスター
トアドレスにおけるレジストナンバデータの読み出しは
演奏データの先頭から読み出していくことによって検索
したが、リピートスタートアドレスから演奏データの先
頭へ向けて逆にデータを読み出していくことによって検
索してもよい。
Although the present embodiment is configured by software controlled by the CPU, it can be realized by hardware. Although the above embodiment shows only the repeat reproduction, it can be used in any mode such as fast forward, rewind, and designation by the number of measures. Further, the registration number data at the repeat start address was searched by reading from the beginning of the performance data. However, the search could also be performed by reading data from the repeat start address to the beginning of the performance data. Good.

さらに、上記実施例のようにプレイ時にリピートスタ
ートアドレスを指定する方式の場合、リピートスタート
アドレスが指定された(リピートスイッチ37がオンされ
た)ときのレジストナンバデータまたはバルクデータを
記憶しておき、リピート再生時にまずこれを送信するよ
うにするようにしてもよい。さらに、このようにプレイ
時にリピートスタートアドレスを指定する方式の場合、
レジストナンババッファを設け、プレイ中に読み出され
た最新のレジストナンバデータでこれを更新してゆく。
そして、リピートスイッチ37がオンされたとき更新を停
止し、その直前のレジストナンバを保存することによっ
ても同様の効果を実現することができる。
Further, in the case of the method of designating the repeat start address at the time of play as in the above embodiment, the register number data or the bulk data when the repeat start address is designated (the repeat switch 37 is turned on) is stored, This may be transmitted first at the time of repeat reproduction. Furthermore, in the case of a method in which a repeat start address is specified at the time of play as described above,
A registration number buffer is provided and updated with the latest registration number data read during play.
Then, when the repeat switch 37 is turned on, the updating is stopped, and the same effect can be realized by storing the registration number immediately before that.

(g)発明の効果 以上のようにこの発明の自動演奏装置によれば、音源
装置に対する設定データの送信は再生開始点からの演奏
データの読み出し時に、最新のものが一回送信されるの
みであるため、音源装置側においてはデータセットなど
の時間を節約することができ、リピート再生や巻戻し再
生時の再生開始までに要する時間を大幅に短縮すること
ができる。
(G) Effects of the Invention As described above, according to the automatic performance device of the present invention, the transmission of the setting data to the sound source device is performed only once when the performance data is read out from the reproduction start point. Therefore, the time required for data set and the like can be saved on the sound source device side, and the time required for starting reproduction in repeat reproduction or rewind reproduction can be greatly reduced.

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

第1図はこの発明の実施例である自動演奏装置およびこ
の自動演奏装置に接続される電子楽器のブロック図、第
2図は同自動演奏装置の操作パネルを示す図、第3図は
同自動演奏装置の演奏データの記憶フォーマットを示す
図、第4図は同自動演奏装置のメモリに設定されるレジ
スタを示す図、第5図〜第10図は同電子楽器の動作を示
すフローチャート、第11図は同自動演奏装置の自動演奏
データの流れを説明するための図である。 37……リピートスイッチ。
FIG. 1 is a block diagram of an automatic musical instrument according to an embodiment of the present invention and an electronic musical instrument connected to the automatic musical instrument, FIG. 2 is a diagram showing an operation panel of the automatic musical instrument, and FIG. FIG. 4 is a diagram showing a storage format of performance data of the performance device, FIG. 4 is a diagram showing registers set in a memory of the automatic performance device, FIGS. 5 to 10 are flowcharts showing operations of the electronic musical instrument, and FIG. The figure is a diagram for explaining the flow of automatic performance data of the automatic performance device. 37 …… Repeat switch.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】再生順序に従って設定データを含む演奏デ
ータを記憶する記憶手段と、 前記記憶手段のうち、少なくとも再生開始点を指定する
再生位置指定手段と、 前記再生開始点前における最後の設定データをサーチす
るサーチ手段と、 前記再生開始点から演奏データの読み出し出力を開始す
るとき、先ず前記サーチされた設定データを出力する設
定データ出力手段と、 を設けたことを特徴とする自動演奏装置。
1. A storage means for storing performance data including setting data in accordance with a playback order; a playback position designation means for designating at least a playback start point among the storage means; and last setup data before the playback start point And a setting data output means for outputting the searched setting data when reading and outputting the performance data from the reproduction start point.
【請求項2】再生順序に従って設定データを含む演奏デ
ータを記憶する記憶手段と、 前記記憶手段の先頭から順次、前記演奏データを読み出
し出力する再生手段と、 前記再生手段の動作中に、再生開始点を指定する再生開
始点指示手段と、 前記再生開始点指示手段により再生開始点が指示された
とき、そのとき設定されている設定データを記憶する設
定データバッファリング手段と、 前記再生開始点から演奏データの読み出し出力を開始す
るとき、前記設定データをまず出力する設定データ出力
手段と、 を設けたことを特徴とする自動演奏装置。
2. A storage means for storing performance data including setting data in accordance with a playback order; a playback means for reading and outputting the performance data sequentially from the beginning of the storage means; A reproduction start point designating means for designating a point; and when a reproduction start point is designated by the reproduction start point designating means, setting data buffering means for storing setting data set at that time; and An automatic performance device comprising: setting data output means for first outputting the setting data when reading and outputting performance data are started.
【請求項3】再生順序に従って設定データを含む演奏デ
ータを記憶する記憶手段と、 前記記憶手段の先頭から順次、前記演奏データを読み出
し出力する再生手段と、 設定データバッファと、 前記再生手段の動作中に、再生開始点を指示する再生開
始点指示手段と、 前記再生開始点指示手段によって再生開始点が指示され
るまで、前記演奏データから読み出された最新の設定デ
ータで前記設定データバッファの記憶内容を更新するバ
ッファ更新手段と、 前記再生開始点から演奏データの読み出し出力を開始す
るとき、前記設定データバッファに記憶されている設定
データをまず出力する設定データ出力手段と、 を設けたことを特徴とする自動演奏装置。
3. A storage means for storing performance data including setting data in accordance with a reproduction order; a reproducing means for sequentially reading and outputting the performance data from the head of the storage means; a setting data buffer; In the meantime, reproduction start point instructing means for instructing a reproduction start point, and until the reproduction start point is instructed by the reproduction start point instructing means, the setting data buffer of the setting data buffer is read with the latest setting data read from the performance data. Buffer updating means for updating the stored content; and setting data output means for first outputting the setting data stored in the setting data buffer when reading and outputting the performance data from the reproduction start point are provided. An automatic performance device characterized by the following.
JP2334882A 1990-11-29 1990-11-29 Automatic performance device Expired - Fee Related JP2606446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2334882A JP2606446B2 (en) 1990-11-29 1990-11-29 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2334882A JP2606446B2 (en) 1990-11-29 1990-11-29 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH04204500A JPH04204500A (en) 1992-07-24
JP2606446B2 true JP2606446B2 (en) 1997-05-07

Family

ID=18282281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2334882A Expired - Fee Related JP2606446B2 (en) 1990-11-29 1990-11-29 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2606446B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3620366B2 (en) * 1999-06-25 2005-02-16 ヤマハ株式会社 Electronic keyboard instrument
JP4685226B2 (en) * 2000-09-20 2011-05-18 ローランド株式会社 Automatic performance device for waveform playback
JP4620293B2 (en) * 2001-06-26 2011-01-26 ローランド株式会社 Automatic performance device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07109553B2 (en) * 1987-06-26 1995-11-22 ヤマハ株式会社 Automatic playing device

Also Published As

Publication number Publication date
JPH04204500A (en) 1992-07-24

Similar Documents

Publication Publication Date Title
US4694724A (en) Synchronizing signal generator for musical instrument
US4630518A (en) Electronic musical instrument
JP3086315B2 (en) Sound source device
JP2606446B2 (en) Automatic performance device
US5347082A (en) Automatic musical playing instrument having playing order control operable during playing
JP3090123B2 (en) Waveform generation method
JP3204014B2 (en) Performance instruction device and electronic musical instrument
US5326930A (en) Musical playing data processor
JP2851075B2 (en) Automatic performance device
JP3282605B2 (en) Automatic performance device
JP2720794B2 (en) Automatic performance device
JP2538733Y2 (en) Automatic performance device
JPS58224387A (en) Musical score display
JP2596187B2 (en) Performance information display device
JP3407324B2 (en) Performance data recording device
JP2531030B2 (en) Electronic musical instrument
JP3189825B2 (en) Music playback method
JP2692400B2 (en) Power supply control device for electronic musical instruments
JP2508858B2 (en) Performance data processor
JPH07325571A (en) Automatic playing device
JP3578106B2 (en) Sound source system
JPH04242291A (en) Performance data recording device
JP3630097B2 (en) Performance instruction device and electronic musical instrument
JP2616752B2 (en) Automatic performance device
JP3261727B2 (en) Automatic performance device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees