JPH0434753B2 - - Google Patents

Info

Publication number
JPH0434753B2
JPH0434753B2 JP57140842A JP14084282A JPH0434753B2 JP H0434753 B2 JPH0434753 B2 JP H0434753B2 JP 57140842 A JP57140842 A JP 57140842A JP 14084282 A JP14084282 A JP 14084282A JP H0434753 B2 JPH0434753 B2 JP H0434753B2
Authority
JP
Japan
Prior art keywords
slave
command
master
electronic musical
acia
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
Application number
JP57140842A
Other languages
Japanese (ja)
Other versions
JPS5930594A (en
Inventor
Mutsuhiro Oomori
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 JP57140842A priority Critical patent/JPS5930594A/en
Publication of JPS5930594A publication Critical patent/JPS5930594A/en
Publication of JPH0434753B2 publication Critical patent/JPH0434753B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は、自動演奏可能な複数の電子楽器を
同期運転する電子楽器の同期運転方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for synchronously operating a plurality of electronic musical instruments that can perform automatically.

近年、鍵盤による演奏の過程をフロツピイデイ
スク等の記憶部に記憶させ、この記憶させたデー
タを読出し、自動演奏を行う電子楽器が種々開発
されている。ところで、このような電子楽器を複
数台用意し、各電子楽器を数msecのオーダーで
同期させて運転するには、マニユアル操作では不
可能であり、何らかの同期運転方法が必要とな
る。
In recent years, various electronic musical instruments have been developed in which the process of playing a keyboard is stored in a storage unit such as a floppy disk, and the stored data is read out to automatically perform the performance. By the way, it is impossible to prepare a plurality of such electronic musical instruments and operate each electronic musical instrument in synchronization on the order of several milliseconds by manual operation, and some kind of synchronized operation method is required.

そこでこの発明は複数台の電子楽器を数msec
のオーダーで同期させて運転することができる電
子楽器の同期運転方法を提供するもので、演奏デ
ータの書き込みおよび読み出しが可能な記憶手段
と、 第1のインターフエイスアダプタを介して、上
位側の電子楽器から自動演奏スタート、ストツプ
のコマンドを受信する受信手段と、 前記受信手段によつて受信した前記コマンドに
従い、プレイモードに設定されている時は前記記
憶手段に記憶された演奏データの再生を行ない、
レコードモードに設定されている時は前記記憶手
段への演奏データの記憶を行なう自動演奏手段
と、 第2のインターフエイスアダプタを介して、前
記受信手段によつて受信した前記コマンドを下位
側電子楽器へ供給する送信手段と を備えることを特徴とする。
Therefore, this invention allows multiple electronic musical instruments to be connected for several milliseconds.
This provides a method for synchronized operation of electronic musical instruments that can be operated in synchronization with the order of performance data. receiving means for receiving automatic performance start and stop commands from the musical instrument; and according to the commands received by the receiving means, when the play mode is set, the performance data stored in the storage means is played back. ,
When the record mode is set, automatic performance means stores performance data in the storage means, and the commands received by the reception means are transmitted to the lower electronic musical instrument via the second interface adapter. and transmitting means for supplying the information to the computer.

以下、図面を参照しこの発明の一実施例につい
て説明する。
An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明による同期運転方法によつて
駆動される電子楽器の構成を示すブロツク図であ
る。この図において、1はCPU(中央処理装置)
であり、バスライン2を介して装置各部と接続さ
れている。3はCPU1において用いられるプロ
グラムが記憶されているROM(リードオンリメ
モリ)、4は各種データが記憶されるRAM(ラン
ダムアクセスメモリ)である。5は楽音発生部で
あり、CPU1を介して供給される演奏データに
基づいて楽音信号を形成し、増幅器6を介してス
ピーカー7へ供給する。8は入力コンソールであ
り、プレイスイツチ、ストツプスイツチ、レコー
ドスイツチその他の制御スイツチを有して構成さ
れている。9は、鍵盤である。この鍵盤9には、
各キー(鍵)に対応してキー操作検出用のキース
イツチおよび打鍵強度検出用の打鍵強度検出器が
設けられており、各キースイツチおよび打鍵強度
検出器の出力が各々キーデータ発生装置10へ供
給される。キーデータ発生装置10は鍵盤9の各
キースイツチの出力を走査することによりオン状
態にあるキーを検出し、同キーのキーコードおよ
び打鍵強度データをバスライン2へ出力する。フ
ロツピイデイスク11はCPU1からデイスクコ
ントローラ12を介して供給される演奏データを
順次記憶する。
FIG. 1 is a block diagram showing the configuration of an electronic musical instrument driven by the synchronous operation method according to the present invention. In this diagram, 1 is the CPU (central processing unit)
It is connected to each part of the device via a bus line 2. 3 is a ROM (read only memory) in which programs used by the CPU 1 are stored; 4 is a RAM (random access memory) in which various data are stored. Reference numeral 5 denotes a musical tone generating section, which forms a musical tone signal based on the performance data supplied via the CPU 1 and supplies it to the speaker 7 via the amplifier 6. Reference numeral 8 denotes an input console, which includes a play switch, a stop switch, a record switch, and other control switches. 9 is a keyboard. This keyboard 9 has
A key switch for detecting key operations and a keystroke strength detector for detecting keystroke strength are provided corresponding to each key, and the outputs of each key switch and keystroke strength detector are supplied to the key data generating device 10. Ru. The key data generator 10 scans the output of each key switch of the keyboard 9 to detect a key in an on state, and outputs the key code and keystroke strength data of the key to the bus line 2. The floppy disk 11 sequentially stores performance data supplied from the CPU 1 via the disk controller 12.

以上の構成において、フロツピイデイスク11
に演奏データを収録する場合は、演奏者の鍵盤9
の操作にしたがつてキーデータ発生装置10から
出力されるキーコードおよび打鍵強度データを、
CPU1が一定のサンプリング周期で読込み、こ
の読込んだデータに基づいて演奏データを作成
し、RAM4へ順次書込む。そして、RAM4に
一定量の演奏データが書込まれた時点で、その演
奏データをデイスクコントローラ12を介してフ
ロツピイデイスク11へ転送する。またこの場
合、 CPU1はキーデータ発生装置10から出力さ
れるキーコードーおよび打鍵強度データを順次楽
音発生部5へ供給する。これにより、スピーカ7
から鍵盤9の操作に対応する楽音が発生する。一
方、フロツピイデイスク11に収録された演奏デ
ータを再生する場合は、CPU1がフロツピイデ
イスク11に収録された演奏データを読出し、順
次、楽音発生部5へ供給する。これにより、スピ
ーカ7から再生楽音が発生する。
In the above configuration, the floppy disk 11
If you want to record performance data on the performer's keyboard 9.
The key code and keystroke strength data output from the key data generator 10 in accordance with the operation of
The CPU 1 reads the data at a constant sampling period, creates performance data based on the read data, and sequentially writes it to the RAM 4. When a certain amount of performance data is written into the RAM 4, the performance data is transferred to the floppy disk 11 via the disk controller 12. Further, in this case, the CPU 1 sequentially supplies the key code and keystroke strength data outputted from the key data generating device 10 to the tone generating section 5. As a result, speaker 7
A musical tone corresponding to the operation of the keyboard 9 is generated. On the other hand, when reproducing the performance data recorded on the floppy disk 11, the CPU 1 reads out the performance data recorded on the floppy disk 11 and sequentially supplies it to the musical tone generating section 5. As a result, reproduced musical tones are generated from the speaker 7.

しかして、以上述べた各部は従来の電子楽器の
構成と同一である。ところで、第1図に示す電子
楽器には、以上の構成に加えて、この電子楽器を
複数台並設し同期運転をするための非同期型通信
用インターフエイス・アダプタACIA・および
ACIA・が各々設けられている。次に、これら
ACIA・およびについて説明する。ACIA・
およびは各々、例えばモトローラ社製・
MC6850として周知のもので、そのデータライ
ン、割込み端子等がバスライン2に接続され、ま
た、その伝送データ端子、受信データ端子、
DCD(Data Carrier Detect)端子等が端子T1
(またはT2)に接続されている。そして、CPU1
から供給されるコマンドまたはデータを内部のト
ランスミツトデータレジスタに一旦蓄えた後、伝
送データ端子からシリアルに出力し、また、受信
データ端子へ供給されたシリアルデータ(または
コマンド)を内部のレシーブデータレジスタに一
旦蓄えた後、8ビツトのパラレルデータとしてバ
スライン2へ出力する。また、CPU1は後述す
るようにACIA・およびのDCD端子が“H”
レベルにあるか否かにより他の電子楽器との接続
状態を検知する。
However, each part described above is the same as the configuration of a conventional electronic musical instrument. By the way, in addition to the above-mentioned configuration, the electronic musical instrument shown in FIG. 1 is equipped with an asynchronous communication interface adapter ACIA and a
ACIA・ is established for each. Then these
Explain ACIA・and. ACIA・
and are each made by Motorola, for example.
It is well known as MC6850, and its data line, interrupt terminal, etc. are connected to bus line 2, and its transmission data terminal, reception data terminal,
DCD (Data Carrier Detect) terminal etc. is terminal T1
(or T2). And CPU1
After storing the command or data supplied from the transmitter in the internal transmit data register, it is serially output from the transmit data terminal, and the serial data (or command) supplied to the receive data terminal is stored in the internal receive data register. After being temporarily stored in , it is output to bus line 2 as 8-bit parallel data. In addition, in CPU1, the ACIA and DCD terminals are “H” as described later.
The connection status with other electronic musical instruments is detected depending on whether the level is high or not.

第2図は、上述した電子楽器を複数台並設した
ところを示す図である。以下、説明の便宜上最左
端の電子楽器をMASTERとし、以下順に
SLAVE・1、SLAVE・2……SLAVE・Mと
し、また最右端の電子楽器をEND・SLAVEとす
る。また、MASTERを最上位の電子楽器、
END・SLAVEを最下位の電子楽器とする。
FIG. 2 is a diagram showing a plurality of the above-mentioned electronic musical instruments arranged side by side. In the following, for convenience of explanation, the leftmost electronic instrument will be referred to as MASTER, and in the following order:
SLAVE・1, SLAVE・2...Set it as SLAVE・M, and let the rightmost electronic instrument be END・SLAVE. In addition, MASTER is a top-of-the-line electronic musical instrument,
Make END/SLAVE the lowest electronic instrument.

第2図において、MASTERのACIA・が
SLAVE・1のACIA・に接続され、SLAVE・
1のACIA・がSLAVE・2のACIA・に接
続され、……、SLAVE・MのACIA・が
END・SLAVEのACIA・に接続されている。
これにより、MASTERとSLAVE・1との間、
SLAVE・1とSLAVE・2との間、……、
SLAVE・MとEND・SLAVEとの間において
各々コマンドの伝送が行われる。なお、この実施
例においては各電子楽器間におおいてデータが伝
送されることはない。また、MASTERの
ACIA・のDCD端子はSLAVE・1内において
“H”レベルにプルアツプされ、SLAVE・1の
ACIA・のDCD端子はMASTER内においてプ
ルアツプされ、SLAVE・1のACIA・のDCD
端子はSLAVE・2内においてプルアツプされ、
……、END・SLAVEのACIA・のDCD端子は
SLAVE・M内においてプルアツプされている。
これに対し、MASTERのACIA・のDCD端子
およびEND・SLAVEのACIA・のDCD端子は
プルアツプされていない。そして、このDCD端
子の接続により、各電子楽器内のCPU1は自己
がMASTERのCPUか、SLAVE・1〜
SLAVE・MのいずれかのCPUか、END・
SLAVEのCPUかを検知するこのができる。
In Figure 2, MASTER's ACIA is
Connected to ACIA of SLAVE・1, SLAVE・
The ACIA of 1 is connected to the ACIA of SLAVE 2, and the ACIA of SLAVE M is connected to the ACIA of SLAVE 2.
Connected to ACIA of END and SLAVE.
As a result, between MASTER and SLAVE・1,
Between SLAVE・1 and SLAVE・2...
Commands are transmitted between SLAVE・M and END・SLAVE. Note that in this embodiment, no data is transmitted between the electronic musical instruments. Also, MASTER
The DCD terminal of ACIA・ is pulled up to “H” level in SLAVE・1, and the
The DCD terminal of ACIA・ is pulled up in MASTER, and the DCD terminal of ACIA・ of SLAVE・1 is pulled up in MASTER.
The terminal is pulled up in SLAVE・2,
..., the DCD terminal of END/SLAVE's ACIA/
It is pulled up in SLAVE・M.
On the other hand, the MASTER's ACIA• DCD terminal and the END/SLAVE's ACIA• DCD terminal are not pulled up. By connecting this DCD terminal, CPU 1 in each electronic musical instrument is either the master CPU or SLAVE 1~
Either SLAVE/M CPU or END/
This can be used to detect the SLAVE CPU.

次に、第2図に示す各電子楽器を同期運転する
場合の各電子楽器の動作を第3図〜第12図を参
照して説明する。なお、説明の便宜上SLAVEが
1台であるものとする。
Next, the operation of each electronic musical instrument shown in FIG. 2 when the electronic musical instruments are operated synchronously will be explained with reference to FIGS. 3 to 12. For convenience of explanation, it is assumed that there is only one SLAVE.

(1) STOP(停止)状態にあるMASTER、
SLAVE、END・SLAVEを同時にPLAY(楽
音再生)状態とする場合(第3図)。
(1) MASTER in STOP state,
When SLAVE, END and SLAVE are set to PLAY (musical sound playback) state at the same time (Figure 3).

この場合、操作者はMASTERの入力コンソ
ール8に設けられているプレイスイツチを操作
する。プレイスイツチが操作されると、
MASTERのCPU1はこれを検出し、コマンド
PRQ(Play request)をACIA・へ出力する
と共に、デイスクコントローラ12へPLAY準
備指令を出力する。ACIA・へコマンドPRQ
が供給されると、ACIA・がこのコマンドを
直列データに変換し、伝送データ端子から出力
し、SLAVEのACIA・の受信データ端子へ
供給する。
In this case, the operator operates a play switch provided on the input console 8 of the MASTER. When the play switch is operated,
MASTER CPU1 detects this and commands
It outputs a PRQ (Play request) to ACIA and also outputs a PLAY preparation command to the disk controller 12. ACIA・He command PRQ
When supplied, ACIA• converts this command into serial data, outputs it from the transmit data terminal, and supplies it to the receive data terminal of ACIA• on the SLAVE.

SLAVEのACIA・の受信データ端子へコ
マンドPRQが供給されると、同ACIA・がこ
のコマンドPQRを内部のレシーブデータレジ
スタに順次読込み、この読込みが終了した時点
で、割込み信号をCPU1へ出力する。CPU1
はこの割込み信号を受け、ACIA・からコマ
ンドPRQを読込み、読込んだコマンドの解読
を行う。そしてCPU1が、読込んだコマンド
をコマンドPRQと解読すると、まず、コマン
ドPRQをACIA・を介してEND・SLAVEの
ACIA・へ出力し、次いで、デイスクコント
ローラ12へPLAY準備指令を出力する。
END・SLAVEのACIA・へコマンドPRQが
供給されると、このコマンドPRQがEND・
SLAVEのCPU1へ読込まれ、解読される。そ
して、CPU1はこの解読結果に基づいて
PLAY準備指令をデイスクコントローラ12へ
出力する。なお、END・SLAVEの下位には電
子楽器が接続されておらず、したがつて、
END・SLAVEのCPU1がコマンドPRQを出
力することはない。
When a command PRQ is supplied to the receive data terminal of ACIA• of SLAVE, ACIA• sequentially reads this command PQR into its internal receive data register, and outputs an interrupt signal to CPU 1 when this read is completed. CPU1
receives this interrupt signal, reads the command PRQ from ACIA, and decodes the read command. Then, when CPU1 decodes the read command as command PRQ, it first sends command PRQ to END and SLAVE via ACIA.
ACIA. Then, a PLAY preparation command is output to the disk controller 12.
When a command PRQ is supplied to ACIA of END/SLAVE, this command PRQ is sent to END/SLAVE.
It is read into CPU1 of SLAVE and decoded. Then, based on this decoding result, CPU1
A PLAY preparation command is output to the disk controller 12. Note that no electronic instruments are connected below END/SLAVE, so
END/SLAVE CPU1 never outputs the command PRQ.

次に、END・SLAVEのデイスクコントロー
ラ12がPLAY準備を完了すると、完了信号を
CPU1へ出力する。CPU1はこの完了信号を
受け、コマンドPEB(Play enable)をACIA・
を介してSLAVEのACIA・へ転送する。
このコマンドPEBはSLAVEのCPU1へ読込ま
れ、解読される。次に、SLAVEのCPU1は、
この時点でデイスクコントローラ12から
PLAY準備完了信号が到達していれば即刻、到
達していなければ、到達を待つてコマンド
PEBをACIA・を介してMASTERの
ACIA・へ転送する。このコマンドPEBは
MASTERのCPU1へ読込まれ、解読される。
そして、MASTERのCPU1は、この時点でデ
イスクコントローラ12からPLAY準備完了信
号が到達していれば即刻、到達していなければ
到達を待つてコマンドPST(Play start)を
ACIA・を介してSLAVEへ出力し、次いで、
デイスクコントローラ12へスタート指令を出
力する。以後、MASTERのフロツピイデイス
ク11に記録されている演奏データが順次読出
され、CPU1を介して楽音発生部5へ供給さ
れ、これにより、再生楽音がスピーカ7から発
生する。また、SLAVEへコマンドPSTが供給
されると、SLAVEのCPU1がこのコマンド
PSTを読込み、解読する。そして、この解読
結果に基いてコマンドPSTをEND・SLAVE
へ出力して、次いで、デイスクコントローラ1
2へスタート指令を出力する。これにより、
SLAVEの楽音再生が開始される。また、
END・SLAVEへコマンドPSTが供給される
と、END・SLAVEのCPU1がこのコマンド
PSTを読込み、解読し、この解読結果に基づ
いてデイスクコントローラ12へスタート指令
を出力する。これにより、END・SLAVEの楽
音再生が開始される。
Next, when the END/SLAVE disk controller 12 completes the PLAY preparation, it sends a completion signal.
Output to CPU1. CPU1 receives this completion signal and sends the command PEB (Play enable) to ACIA.
Transfer to SLAVE's ACIA via .
This command PEB is read into CPU1 of SLAVE and decoded. Next, CPU1 of SLAVE is
At this point, from disk controller 12
If the PLAY ready signal has arrived, immediately, if not, wait for it to arrive and issue the command
MASTER via ACIA/PEB
Transfer to ACIA. This command PEB is
It is read into MASTER's CPU1 and decoded.
If the PLAY ready signal has arrived from the disk controller 12 at this point, the MASTER's CPU 1 will immediately issue the command PST (Play start) if it has not yet arrived.
Output to SLAVE via ACIA, then
A start command is output to the disk controller 12. Thereafter, the performance data recorded on the floppy disk 11 of the MASTER is sequentially read out and supplied to the musical tone generator 5 via the CPU 1, whereby reproduced musical tones are generated from the speaker 7. Also, when the command PST is supplied to SLAVE, CPU1 of SLAVE receives this command.
Read and decrypt PST. Then, based on this decoding result, the command PST is END/SLAVE.
and then output to disk controller 1.
Outputs a start command to 2. This results in
Musical sound playback of SLAVE begins. Also,
When the command PST is supplied to END/SLAVE, CPU1 of END/SLAVE receives this command.
The PST is read and decoded, and a start command is output to the disk controller 12 based on the decoding result. As a result, the musical tones of END and SLAVE start playing.

このようにして、3台の電子楽器の楽音再生
が略同時に開始される。ここで、各ACIA間の
コマンド伝送の速度を9600ポーとし、また、各
コマンドを各々8ビツト構成とすると、各電子
楽器相互間の伝送遅れは約1msecであり、し
たがつて、約2msec以内に3台の電子楽器の
楽音再生を開始することができる。
In this way, the musical tones of the three electronic musical instruments begin to be reproduced almost simultaneously. Here, if the command transmission speed between each ACIA is 9600 ports, and each command has an 8-bit configuration, the transmission delay between each electronic musical instrument is approximately 1 msec, and therefore, within approximately 2 msec. It is possible to start playing music from three electronic musical instruments.

(2) STOP状態にあるMASTER、STOP状態に
あるSLAVE、REC、WAIT(レコーデイング
待期)状態にあるEND・SLAVEを同時に
PLAY状態、PLAY状態、REC・PLAY(デー
タ収録)状態とする場合(第4図)。
(2) MASTER in STOP state, SLAVE in STOP state, REC, and END/SLAVE in WAIT (waiting for recording) state at the same time.
PLAY state, PLAY state, REC/PLAY (data recording) state (Figure 4).

この場合、操作者は予めMASTER、
SLAVEをSTOP状態にし、また、END・
SLAVEのレコードスイツチを押すことによ
り、END・SLAVEをREC・WAIT状態とす
る。そして、プレイスイツチを押すと、以後、
第3図の場合と同様のコマンド転送が行われ、
これによりMASTERSLAVE、END・
SLAVEが略同時にPLAY状態、PLAY状態、
REC・PLAY状態となる。
In this case, the operator must select MASTER,
Set SLAVE to STOP state, and also set END/
By pressing the record switch of SLAVE, END/SLAVE is set to REC/WAIT state. Then, when you press the play switch,
The same command transfer as in Figure 3 is performed,
This allows MASTERSLAVE, END,
SLAVE is almost simultaneously in PLAY state, PLAY state,
Enters REC/PLAY state.

なお、第5図はMASTERをREC・PLAY状
態、SLAVE、END・SLAVEをPLAY状態と
する場合であり、この場合のコマンド転送も第
3図の場合と同じである。
Note that FIG. 5 shows the case where MASTER is in the REC/PLAY state and SLAVE, END/SLAVE are in the PLAY state, and the command transfer in this case is the same as in FIG. 3.

(3) 3台の電子楽器がいずれも第N曲目の楽音再
生を行つている状態から、各電子楽器の第N曲
目の楽音再生が各々異なる時刻に終了した場合
において、各電子楽器の第N+1曲目の楽音再
生を同時に開始させる場合、(第6図)。
(3) In a state where all three electronic musical instruments are playing the Nth musical tone, if the playing of the Nth musical tone of each electronic musical instrument ends at different times, the N+1th musical tone of each electronic musical instrument When starting the musical tones of the songs at the same time (Fig. 6).

いま、最初にSLAVEの第N曲目の楽音再生
が終了したとする(PLAY・END)。この場
合、SLAVEからコマンドERQ(Endrequest)
およびPRQ(Play request)が順次END・
SLAVEへ出力される。END・SLAVEのCPU
1はこのコマンドERQおよびPRQを読込み、
解読する。そして、現在END・SLAVEにおけ
る楽音再生が進行中であることから、コマンド
PRQの解読結果に基づいてRAM4内のPRQフ
ラグを立て、コマンド処理を終了する。なお、
コマンドERQは自己がREC・RLAY状態にあ
る場合のみ有効なコマンドであり、この場合は
無視される。次に、MASTERの楽音再生が終
了したとすると、MASTERからコマンドERQ
およびPRQがSLAVEへ出力される。SLAVE
のCPU1はこのコマンドERQおよびPRQを読
込み、解読する。そして、この場合END・
SLAVEからコマンドPEBが到達していないこ
とから、RAM4のPRQフラグを立てる。次
に、END・SLAVEの楽音再生が終了したとす
ると、END・SLAVEのCPU1がRAM4内の
PRQフラグをチエツクする。そして、この場
合PRQフラグが立つていることから、コマン
ドPEBをSLAVEへ転送する。SLAVEのCPU
1は、このコマンドPEBを受け、PRQフラグ
をチエツクする。この場合、PRQフラグが既
に立つており、したがつてコマンドPEBを
MASTERへ出力する。MASTERのCPU1は
このコマンドPEBを受け、コマンドPSTを
SLAVEへ出力すると共に、第N+1曲目の楽
音再生を開始する。また、コマンドPSTを受
けたSLAVEはコマンドPSTをEND・SLAVE
へ出力すると共に、第N+1曲目の楽音再生を
開始し、同様に、コマンドPSTを受けた
END・SLAVEも第N+1曲目の楽音再生を開
始する。
Now, assume that the playback of the Nth musical tone of SLAVE has finished for the first time (PLAY/END). In this case, from SLAVE the command ERQ (Endrequest)
and PRQ (Play request) are sequentially END/
Output to SLAVE. END・SLAVE CPU
1 reads this command ERQ and PRQ,
decipher. Since musical sound playback is currently in progress at END/SLAVE, the command
The PRQ flag in RAM 4 is set based on the PRQ decoding result, and command processing is completed. In addition,
Command ERQ is a valid command only when it is in REC/RLAY state, and is ignored in this case. Next, when MASTER finishes playing music, the command ERQ from MASTER is
and PRQ are output to SLAVE. SLAVE
The CPU 1 reads and decodes the commands ERQ and PRQ. And in this case END・
Since the command PEB has not arrived from SLAVE, set the PRQ flag in RAM4. Next, when the musical tone playback of END/SLAVE is finished, CPU1 of END/SLAVE is
Check PRQ flag. In this case, since the PRQ flag is set, the command PEB is transferred to SLAVE. SLAVE CPU
1 receives this command PEB and checks the PRQ flag. In this case, the PRQ flag is already set and therefore the command PEB
Output to MASTER. MASTER's CPU1 receives this command PEB and sends the command PST.
At the same time as outputting to SLAVE, playback of the N+1th musical tone is started. Also, SLAVE that received the command PST will END/SLAVE the command PST.
At the same time, it starts playing the N+1th musical tone, and similarly receives the command PST.
END/SLAVE also starts playing the N+1th musical tone.

なお、第7図はMASTER→SLAVE→
END・SLAVEの順に第N曲目の楽音再生が終
了した場合におけるコマンド転送を示す図であ
る。
In addition, Figure 7 shows MASTER→SLAVE→
FIG. 7 is a diagram showing command transfer when the reproduction of the Nth musical tone is completed in the order of END and SLAVE.

(4) MASTER、SLAVEが楽音再生(PLAY)
を行い、END・SLAVEがデータ収録
(REC・PLAY)を行つている状態から、
MASTERの楽音再生が終了し、次いで
SLAVEの楽音再生が終了した場合(第8図)。
(4) MASTER and SLAVE play musical sounds (PLAY)
and from the state where END/SLAVE is recording data (REC/PLAY),
Once the MASTER musical tone has finished playing,
When SLAVE musical tone playback ends (Figure 8).

まず、MASTERの楽音再生が終了すると、
前述した場合と同様に、MASTERからコマン
ドERQおよびPRQが各々SLAVEへ出力され
る。SLAVEのCPU1は、コマンドPRQに基づ
いてRAM4内のPRQフラグを立てる。次に、
SLAVEの楽音再生が終了すると、SLAVEか
らコマンドERQおよびPRQがEND・SLAVE
へ出力される。END・SLAVEのCPU1は、
コマンドERQを解読し、この解読結果に基づ
いてまずコマンドSRQ(Stop request)を
SLAVEへ転送し、次いで、デイスクコントロ
ーラ12へSTOP指令を出力する。これによ
り、END・SLAVEがSTOP状態となる。
SLAVEへコマンドSRQが供給されると、
SLAVEのCPU1がこのコマンドSRQを解読
し、この解読結果に基づいて、まずコマンド
SRQをMASTERへ出力し、次いでデイスクコ
ントローラ12へSTOP指令を出力する。これ
により、SLAVEがSTOP状態となる。また、
MASTERへコマンドSRQが供給されると、
MASTERのCPU1がこのコマンドSRQを解
読し、この解読結果にしたがつて、まずコマン
ドSRQを再度SLAVEへ出力し、次いでデイス
クコントローラ12へSTOP指令を出力する。
これにより、MASTERがSTOP状態となる。
MASTERからSLAVEへ再度コマンドSRQが
出力されると、SLAVEのCPU1が再びコマン
ドSRQをEND・SLAVEへ出力し、またデイ
スクコントローラ12へSTOP指令を出力す
る。同様に、SLAVEからEND・SLAVEへコ
マンドSRQが出力されると、END・SLAVE
のCPU1が再度デイスクコントローラ12へ
STOP指令を出力する。こうして、3台の電子
楽器が全てSTOP状態となる。なお、最終的に
MASTERから再度コマンドSRQを出力してい
る理由は、各電子楽器を確実にSTOP状態とす
るためである。
First, when MASTER finishes playing music,
As in the case described above, commands ERQ and PRQ are each output from MASTER to SLAVE. The SLAVE CPU 1 sets the PRQ flag in the RAM 4 based on the command PRQ. next,
When the musical tone playback of SLAVE is finished, commands ERQ and PRQ are sent from SLAVE to END/SLAVE.
Output to. CPU1 of END/SLAVE is
Deciphers the command ERQ and first issues the command SRQ (Stop request) based on the decoding result.
The data is transferred to SLAVE, and then a STOP command is output to the disk controller 12. As a result, END/SLAVE enters the STOP state.
When command SRQ is supplied to SLAVE,
SLAVE's CPU1 decodes this command SRQ, and based on the decoding result, first executes the command
It outputs SRQ to MASTER, and then outputs a STOP command to disk controller 12. This causes SLAVE to enter the STOP state. Also,
When command SRQ is supplied to MASTER,
The MASTER's CPU 1 decodes this command SRQ, and according to the decoding result, first outputs the command SRQ again to SLAVE, and then outputs a STOP command to the disk controller 12.
This causes MASTER to enter the STOP state.
When the command SRQ is output again from MASTER to SLAVE, the CPU 1 of SLAVE again outputs the command SRQ to END/SLAVE, and also outputs a STOP command to the disk controller 12. Similarly, when command SRQ is output from SLAVE to END/SLAVE, END/SLAVE
CPU1 goes to disk controller 12 again.
Outputs a STOP command. In this way, all three electronic musical instruments enter the STOP state. In addition, ultimately
The reason why command SRQ is outputted again from MASTER is to ensure that each electronic musical instrument is in the STOP state.

(5) MASTER、END・SLAVEが楽音再生を行
い、SLAVEがデータ収録を行つている状態か
ら、MASTERの楽音再生が終了した場合(第
9図)。
(5) When MASTER, END, and SLAVE are playing music and SLAVE is recording data, when MASTER finishes playing music (Figure 9).

MASTERの楽音再生が終了すると、
MASTERがコマンドERQおよびPRQを
SLAVEへ出力する。SLAVEのCPU1は、コ
マンドERQの解読結果に基づいて、まず
MASTERおよびEND・SLAVEへコマンド
SRQを出力し、次いでデイスクコントローラ
12へSTOP指令を出力する。これにより、
SLAVEがSTOP状態となる。MASTERへコ
マンドSRQが供給されると、MASTERの
CPU1がこれを解読し、前述した場合と同様
に、コマンドSRQをSLAVEへ出力すると共
に、デイスクコントローラ12へSTOP指令を
出力する。END・SLAVEへコマンドSRQが
供給されると、END・SLAVEのCPU1がこ
れを解読し、デイスクコントローラ12へ
STOP指令を出力する。こうして、3台の電子
楽器が全てSTOP状態となる。
When the MASTER musical tone playback ends,
MASTER sends commands ERQ and PRQ
Output to SLAVE. Based on the result of decoding the command ERQ, CPU1 of SLAVE first
Command to MASTER and END/SLAVE
It outputs SRQ and then outputs a STOP command to the disk controller 12. This results in
SLAVE becomes STOP state. When command SRQ is supplied to MASTER, MASTER's
The CPU 1 decodes this and outputs the command SRQ to the SLAVE as well as the STOP command to the disk controller 12, as in the case described above. When the command SRQ is supplied to END/SLAVE, the CPU 1 of END/SLAVE decodes it and sends it to the disk controller 12.
Outputs a STOP command. In this way, all three electronic musical instruments enter the STOP state.

なお、第10図は第9図に示す場合と同じ状
態から、まずEND・SLAVEの楽音再生が終了
し、次いでMASTERの楽音再生が終了した場
合におけるコマンド転送を示す図であり、この
場合、END・SLAVEの楽音再生が終了した時
点では何のコマンド転送も行われず、
MASTERの楽音再生が終了した時点で、第9
図と全く同様のコマンド転送が行われる。
In addition, FIG. 10 is a diagram showing the command transfer when the musical tone playback of END/SLAVE is first completed and then the musical tone reproduction of MASTER is finished from the same state as shown in FIG. 9. In this case, END・No commands are transferred when SLAVE musical tone playback ends.
When the musical tone playback of MASTER is finished, the 9th
Command transfer is performed exactly as shown in the figure.

(6) MASTERがデータ収録を行い、SLAVE、
END・SLAVEが楽音再生を行つている状態か
ら、MASTERのストツプスイツチが操作され
た場合(第11図)。
(6) MASTER performs data recording, SLAVE,
When the MASTER stop switch is operated while END/SLAVE is playing music (Figure 11).

MSTERのストツプスイツチが操作される
と、MASTERのCPU1がこれを検知し、コマ
ンドSRQをSLAVEへ転送すると共に、STOP
指令をデイスクコントローラ12へ出力する。
これにより、MASTERがSTOP状態となる。
SLAVEへコマンドSRQが供給されると、
SLAVEのCPU1がこれを検知し、END・
SLAVEへコマンドSRQを転送すると共に、
STOP指令をデイスクコントローラ12へ出力
する。END・SLAVEへコマンドSRQが転送
されると、END・SLAVEのCPU1がこれを
検知し、STOP指令をデイスクコントローラ1
2へ出力する。こうして、3台の電子楽器が共
に停止状態となる。
When the MSTER's stop switch is operated, the MASTER's CPU1 detects this, transfers the command SRQ to the SLAVE, and also sends the STOP switch to the SLAVE.
A command is output to the disk controller 12.
This causes MASTER to enter the STOP state.
When command SRQ is supplied to SLAVE,
SLAVE's CPU1 detects this and executes END/
Along with forwarding the command SRQ to SLAVE,
A STOP command is output to the disk controller 12. When the command SRQ is transferred to END/SLAVE, CPU1 of END/SLAVE detects this and sends the STOP command to disk controller 1.
Output to 2. In this way, all three electronic musical instruments come to a stopped state.

(7) MASTERがデータ収録状態、SLAVE、
END・SLAVEが楽音再生を行つている状態か
ら、SLAVEの楽音再生が終了し、次いで
END・SLAVEの楽音再生が終了した場合。
(7) MASTER is in data recording state, SLAVE,
END・SLAVE is playing music, then SLAVE's music playback ends, and then
When the musical sound playback of END/SLAVE ends.

まず、SLAVEの楽音再生が終了すると、第
6図の場合と同様にコマンドERQおよびPRQ
が各々END・SLAVEへ出力される。END・
SLAVEのCPU1はコマンドPRQに基づいて
RAM4内のPRQフラグを立てる。次いで、
END・SLAVEの楽音再生が終了すると、この
時点で既にPRQフラグが立つていることから
END・SLAVEのCPU1がコマンドPEBを
SLAVEへ転送するコマンドPEBがSLAVEへ
供給されると、SLAVEからMASTERヘコマ
ンドPEBが出力される。しかしこの場合
MASTERはREC・PLAY(データ収録)状態
にあり、したがつてコマンドPEBは無視され
る。そして、MASTERのストツプスイツチが
押されると、MASTERがSTOP状態になると
共に、コマンドSRQがMASTERからSLAVE、
END・SLAVEへ順次転送され、これにより、
3台の電子楽器が共にSTOP状態となる。
First, when the musical tone playback of SLAVE is finished, the commands ERQ and PRQ are
are output to END and SLAVE respectively. END・
SLAVE's CPU1 is based on command PRQ
Set the PRQ flag in RAM4. Then,
When the musical tone playback of END/SLAVE is finished, since the PRQ flag is already set at this point,
END/SLAVE CPU1 sends command PEB
When the command PEB to be transferred to the SLAVE is supplied to the SLAVE, the command PEB is output from the SLAVE to the MASTER. But in this case
MASTER is in the REC/PLAY (data recording) state, so the command PEB is ignored. Then, when the MASTER stop switch is pressed, the MASTER enters the STOP state, and the command SRQ is sent from the MASTER to SLAVE,
It is sequentially transferred to END and SLAVE, and as a result,
All three electronic musical instruments become STOP.

以上がコマンド転送による同期運転の具体例で
ある。上述したように、第2図に示す各電子楽器
は各々内部に2個の非同期型通信用インターフエ
イス・アダプタACIA・およびACIA・を有
し、これらのACIA・およびを介してコマン
ド転送を行い、これにより、同期スタート第2曲
目、第3曲目……の同期演奏その他の各同期動作
を行うようになつている。
The above is a specific example of synchronous operation using command transfer. As mentioned above, each electronic musical instrument shown in FIG. 2 has two internal asynchronous communication interface adapters ACIA and ACIA, and commands are transferred via these ACIA and. As a result, the synchronous performances of the second synchronously started music, the third synchronous music, and so on, and other synchronous operations are performed.

なお、上述したコマンドおよびコマンド転送方
法は一例であり、別種のコマンドおよび転送方法
に基づいて同期運転をさせることも勿論可能であ
る。
Note that the above-described command and command transfer method are merely examples, and it is of course possible to perform synchronous operation based on a different type of command and transfer method.

以上説明したように、この発明によれば演奏デ
ータの書き込みおよび読み出しが可能な記憶手段
と、 第1のインタフエイスアダプタを介して、上位
側の電子楽器から自動演奏スタート、ストツプの
コマンドを受信する受信手段と、 前記受信手段によつて受信した前記コマンドに
従い、プレイモードに設定されている時は前記記
憶手段に記憶された演奏データの再生を行ない、
レコードモードに設定されている時は前記記憶手
段への演奏データの記憶を行なう自動演奏手段
と、 第2のインターフエイスアダプタを介して、前
記受信手段によつて受信した前記コマンドを下位
側電子楽器へ供給する送信手段とを設け、これら
のインターフエイスアダプタを介して各電子楽器
相互間のコマンド転送を行うことにより各電子楽
器の動作を同期させるようにしたので、簡単な構
成によつて複数の電子楽器を数msecのオーダー
で同期運転することが可能となる。また、自動演
奏スタート、ストツプの共通コマンドで複数の電
子楽器の同期再生および同期記録が行なえる。す
なわち、各電子楽器のモータ設定次第で、複数の
電子楽器によるアンサンブル演奏を行なえたり、
他の電子楽器の演奏を聞きながら別の演奏パート
を新たに記憶できるようになり、操作性が非常に
向上する。
As explained above, according to the present invention, automatic performance start and stop commands are received from a host electronic musical instrument via a storage means capable of writing and reading performance data and a first interface adapter. a receiving means; and according to the command received by the receiving means, when the play mode is set, playing the performance data stored in the storage means;
When the record mode is set, automatic performance means stores performance data in the storage means, and the commands received by the reception means are transmitted to the lower electronic musical instrument via the second interface adapter. Since the operation of each electronic musical instrument is synchronized by transmitting commands between each electronic musical instrument through these interface adapters, multiple It becomes possible to operate electronic musical instruments synchronously on the order of several milliseconds. Furthermore, synchronous playback and synchronous recording of multiple electronic musical instruments can be performed using common automatic performance start and stop commands. In other words, depending on the motor settings of each electronic instrument, it is possible to perform an ensemble performance with multiple electronic instruments,
You can now memorize new performance parts while listening to the performance of other electronic musical instruments, greatly improving operability.

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

第1図はこの発明による同期運転方法が適用さ
れる電子楽器の構成例を示すブロツク図、第2図
は第1図に示す電子楽器を複数台シリアル接続し
たところを示すブロツク図、第3図〜第12図は
各々第1図に示す電子楽器と同一構成の3台の電
子楽器をこの発明による方法によつて同期運転す
る場合における各電子楽器相互間のココマンド転
送の具体例を示す図である。 1……中央処理装置(CPU)、ACIA・、
ACIA・……インターフエイスアダプタ。
Fig. 1 is a block diagram showing an example of the configuration of an electronic musical instrument to which the synchronous operation method according to the present invention is applied, Fig. 2 is a block diagram showing a plurality of electronic musical instruments shown in Fig. 1 connected in series, and Fig. 3. ~FIG. 12 is a diagram showing a specific example of command transfer between the electronic musical instruments when three electronic musical instruments each having the same configuration as the electronic musical instrument shown in FIG. 1 are operated synchronously by the method according to the present invention. It is. 1...Central processing unit (CPU), ACIA...
ACIA...Interface adapter.

Claims (1)

【特許請求の範囲】 1 演奏データの書き込みおよび読み出しが可能
な記憶手段と、 第1のインターフエイスアダプタを介して、上
位側の電子楽器から自動演奏スタート、ストツプ
のコマンドを受信する受信手段と、 前記受信手段によつて受信した前記コマンドに
従い、プレイモードに設定されている時は前記記
憶手段に記憶された演奏データの再生を行ない、
レコードモードに設定されている時は前記記憶手
段への演奏データの記憶を行なう自動演奏手段
と、 第2のインターフエイスアダプタを介して、前
記受信手段によつて受信した前記コマンドを下位
側電子楽器へ供給する送信手段と を備えることを特徴とする電子楽器。
[Scope of Claims] 1. Storage means capable of writing and reading performance data; Receiving means for receiving automatic performance start and stop commands from a host electronic musical instrument via a first interface adapter; In accordance with the command received by the receiving means, when the play mode is set, playing the performance data stored in the storage means;
When the record mode is set, automatic performance means stores performance data in the storage means, and the commands received by the reception means are transmitted to the lower electronic musical instrument via the second interface adapter. An electronic musical instrument characterized by comprising: a transmitting means for supplying a signal to an electronic musical instrument.
JP57140842A 1982-08-13 1982-08-13 Synchronous operation of electronic musical instrument Granted JPS5930594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57140842A JPS5930594A (en) 1982-08-13 1982-08-13 Synchronous operation of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57140842A JPS5930594A (en) 1982-08-13 1982-08-13 Synchronous operation of electronic musical instrument

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6065463A Division JP2550908B2 (en) 1994-03-10 1994-03-10 Electronic musical instrument synchronous control system and method

Publications (2)

Publication Number Publication Date
JPS5930594A JPS5930594A (en) 1984-02-18
JPH0434753B2 true JPH0434753B2 (en) 1992-06-08

Family

ID=15277978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57140842A Granted JPS5930594A (en) 1982-08-13 1982-08-13 Synchronous operation of electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5930594A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0782322B2 (en) * 1983-05-07 1995-09-06 カシオ計算機株式会社 Electronic musical instrument system
JPH0411596U (en) * 1990-05-18 1992-01-30
DE4229710B4 (en) * 1991-09-09 2008-06-05 Samsung Electronics Co., Ltd. Digital audio data storage system and digital audio system equipped therewith
DE69704886T2 (en) * 1996-01-26 2002-03-28 Yamaha Corp Electronic music system for controlling a chain of tone generators
JP4423790B2 (en) 2001-01-11 2010-03-03 ソニー株式会社 Demonstration system, demonstration method via network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54163606A (en) * 1978-06-15 1979-12-26 Nissin Electric Co Ltd Data sorting system
JPS5525049A (en) * 1978-08-10 1980-02-22 Nippon Marantz Automatic play communication system
JPS5547050B2 (en) * 1975-08-05 1980-11-27
JPS5696554A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Self diagnosis system for line interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6230068Y2 (en) * 1978-09-18 1987-08-01

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5547050B2 (en) * 1975-08-05 1980-11-27
JPS54163606A (en) * 1978-06-15 1979-12-26 Nissin Electric Co Ltd Data sorting system
JPS5525049A (en) * 1978-08-10 1980-02-22 Nippon Marantz Automatic play communication system
JPS5696554A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Self diagnosis system for line interface

Also Published As

Publication number Publication date
JPS5930594A (en) 1984-02-18

Similar Documents

Publication Publication Date Title
JP3149093B2 (en) Automatic performance device
JP3915585B2 (en) DATA GENERATION METHOD, PROGRAM, RECORDING MEDIUM, AND DATA GENERATION DEVICE
US20010021188A1 (en) Connection setting apparatus
US6336149B1 (en) Macro recording and playback device independent of operating system or application software and method of using same
EP0551884B1 (en) Tone signal generator adapted for coupling with personal computer
JP3270899B2 (en) Apparatus and method for storing audio signal in memory of computer system
US7642447B2 (en) Electronic musical instrument system and method emulating a removable media drive
JP3292492B2 (en) Performance information processing device
JPH0434753B2 (en)
JPS624719B2 (en)
JP2001013961A (en) Data transmitter, data receiver, and computer readable recording medium stored with program applied to each device
JP2550908B2 (en) Electronic musical instrument synchronous control system and method
JPH07306771A (en) Audio-data input device of multimedia computer system
JP2778582B2 (en) Electronic musical instrument
JP2709965B2 (en) Music transmission / reproduction system used for BGM reproduction
JP3658661B2 (en) Data receiving apparatus and data transmitting apparatus
JP3957798B2 (en) Karaoke system
JPH10319977A (en) Karaoke (sign-along machine) playing device and portable test hearing terminal for karaoke
US11418883B2 (en) Audio interface apparatus and recording system
JP2661493B2 (en) Data storage device and data selection communication method
JP2751772B2 (en) Data storage device
JPH09134177A (en) Sound source device for electronic instrument
JP3410134B2 (en) Electronic musical instrument
JPH1031486A (en) Method and device for performance data storage and reproducing
JP4581203B2 (en) Audio interface converter