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

JP3079526B2 - Music parameter editing system - Google Patents

Music parameter editing system

Info

Publication number
JP3079526B2
JP3079526B2 JP05286136A JP28613693A JP3079526B2 JP 3079526 B2 JP3079526 B2 JP 3079526B2 JP 05286136 A JP05286136 A JP 05286136A JP 28613693 A JP28613693 A JP 28613693A JP 3079526 B2 JP3079526 B2 JP 3079526B2
Authority
JP
Japan
Prior art keywords
tone
parameter
editing
musical tone
musical
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
JP05286136A
Other languages
Japanese (ja)
Other versions
JPH07121159A (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 JP05286136A priority Critical patent/JP3079526B2/en
Publication of JPH07121159A publication Critical patent/JPH07121159A/en
Application granted granted Critical
Publication of JP3079526B2 publication Critical patent/JP3079526B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、楽音信号発生装置
楽音パラメータ編集装置とを備え、これらの間で相互に
電源の寸断などの異常を監視しながら楽音パラメータを
授受する楽音パラメータ編集システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone parameter editing system including a tone signal generating device and a tone parameter editing device, which mutually exchange tone parameters while monitoring abnormalities such as a power supply disconnection. .

【0002】[0002]

【従来の技術】従来より、音色データなどの各種の楽音
パラメータを設定編集し、その楽音パラメータにしたが
って楽音を生成する電子楽器が知られている。例えば、
ミュージックシンセサイザでは、ユーザは、音色を決定
する音色データを適宜設定編集することができ、その音
色データで楽音を生成することができる。
2. Description of the Related Art Conventionally, there has been known an electronic musical instrument which sets and edits various tone parameters such as tone color data and generates a tone according to the tone parameters. For example,
In the music synthesizer, the user can appropriately set and edit the timbre data for determining the timbre, and can generate a musical tone using the timbre data.

【0003】通常、音色データなどの楽音パラメータの
設定編集と、その音色データを用いた楽音の生成処理と
は、別々に行なわれるものである。また、電子楽器を演
奏する分には、楽音パラメータの設定編集機能は特に必
要が無い。したがって、電子楽器本体のコンパクト化の
ため、電子楽器本体と楽音パラメータ編集装置とを別々
に設けるものが考えられている。
Normally, setting and editing of tone parameters such as tone data and tone generation processing using the tone data are performed separately. In addition, there is no particular need for a function for setting and editing musical tone parameters for playing an electronic musical instrument. Therefore, in order to make the electronic musical instrument main body compact, an electronic musical instrument main body and a musical tone parameter editing device are separately provided.

【0004】一方、パーソナルコンピュータに音源装置
を接続し、パーソナルコンピュータで作成編集した音色
データなどの楽音パラメータを音源装置に送り、その楽
音パラメータにしたがって楽音を発生させるようなシス
テムが知られている。
On the other hand, there is known a system in which a tone generator is connected to a personal computer, tone parameters such as tone data created and edited by the personal computer are sent to the tone generator, and a tone is generated in accordance with the tone parameters.

【0005】[0005]

【発明が解決しようとする課題】ところが、このような
従来のシステムでは、楽音を発生する装置と楽音パラメ
ータを編集する装置とが別々に装置として独立している
ため、一方の装置で電源が不意に寸断すると、不都合が
生じることがあった。例えば、編集した楽音パラメータ
データが、楽音を発生する装置側と楽音パラメータを編
集する装置側とで食い違いを生じるというような問題が
あった。
However, in such a conventional system, a device for generating a musical tone and a device for editing a musical tone parameter are separately provided as independent devices. In some cases, inconsistencies occurred when the pieces were cut into pieces. For example, there has been a problem that the edited musical tone parameter data causes a discrepancy between the musical tone generating device and the musical tone parameter editing device.

【0006】この発明は、上述の従来例における問題点
に鑑み、楽音パラメータの設定編集を行なう楽音パラメ
ータ編集装置と楽音を発生する楽音信号発生装置とを別
々に設けたシステムにおいて、一方の装置に電源の寸断
などの異常が発生した場合でも、相互の装置で編集デー
タが食い違うなどの不都合を回避できる楽音パラメータ
編集システムを提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems in the prior art, the present invention provides a system in which a tone parameter editing device for setting and editing a tone parameter and a tone signal generating device for generating a tone are provided separately. It is an object of the present invention to provide a musical tone parameter editing system capable of avoiding inconveniences such as inconsistency of editing data between devices even when an abnormality such as a power supply interruption occurs.

【0007】[0007]

【課題を解決するための手段】この目的を達成するた
め、請求項1に係る楽音パラメータ編集システムは、相
互に接続された楽音信号発生装置と楽音パラメータ編集
装置とを備えた楽音パラメータ編集システムであって、
前記楽音信号発生装置は、楽音パラメータを格納した記
憶手段と、前記記憶手段の楽音パラメータを用いて楽音
を発生する楽音発生手段と、前記記憶手段に格納された
楽音パラメータを、前記楽音パラメータ編集装置に送信
する送信手段と、前記楽音パラメータ編集装置から送信
された楽音パラメータを受信して、前記記憶手段に格納
する受信手段と、前記送信手段による楽音パラメータの
送信または前記受信手段による楽音パラメータの受信が
行なわれているか否かを判断し、前記送信または受信が
行なわれているときは当該楽音信号発生装置と前記楽音
パラメータ編集装置とが正常な接続状態にあるか否かを
判別するとともに、異常が検出されたときにはその異常
発生を通知する手段とを備え、前記楽音パラメータ編集
装置は、前記楽音信号発生装置から送信される楽音パラ
メータを受信する受信手段と、受信した楽音パラメータ
を編集する編集手段と、編集した楽音パラメータを前記
楽音信号発生装置に送信する送信手段と、前記受信手段
による楽音パラメータの受信または前記送信手段による
楽音パラメータの送信が行なわれているか否かを判断
し、前記受信または送信が行なわれているときは当該楽
音パラメータ編集装置と前記楽音信号発生装置とが正常
な接続状態にあるか否かを判別するとともに、異常が検
出されたときにはその異常発生を通知する手段とを備え
たことを特徴とする。請求項2に係る楽音パラメータ編
集システムは、相互に接続された楽音信号発生装置と楽
音パラメータ編集装置とを備えた楽音パラメータ編集シ
ステムであって、前記楽音信号発生装置は、楽音パラメ
ータを格納した記憶手段と、前記記憶手段の楽音パラメ
ータを用いて楽音を発生する楽音発生手段と、前記記憶
手段に格納された楽音パラメータを、前記楽音パラメー
タ編集装置に送信する送信手段と、前記楽音パラメータ
編集装置から送信された楽音パラメータを受信して、前
記記憶手段に格納する受信手段とを備え、前記楽音パラ
メータ編集装置は、前記楽音信号発生装置から送信され
る楽音パラメータを受信する受信手段と、受信し た楽音
パラメータを編集する編集手段と、前記編集手段によっ
て楽音パラメータが編集されたことに応じて該編集され
た楽音パラメータを自動的に前記楽音信号発生装置に送
信する送信手段と、前記送信手段における楽音パラメー
タ送信時に当該楽音パラメータ編集装置と前記楽音信号
発生装置とが正常な接続状態にあるか否かを判別すると
ともに、異常が検出されたときにはその異常発生を通知
する通知手段とを備えたことを特徴とする。
A solution for the] To this end, the tone parameter editing system according to claim 1, in the tone parameter editing systems with interconnected tone signal generation device and a musical tone parameter editing apparatus So,
The musical tone signal generating device includes a storage unit that stores a musical tone parameter, a musical tone generating unit that generates a musical tone using the musical tone parameter of the storage unit, and a musical tone parameter stored in the storage unit. transmission means for transmitting to, and receiving a musical tone parameter transmitted from the musical tone parameters editing apparatus, a receiving means for storing in the storage means, the musical tone parameter by the transmission means
The transmission or reception of the tone parameters by the receiving means
Judge whether or not the transmission or reception is performed.
Together when being performed to determine whether the relevant tone signal generation device and the musical tone parameter editing apparatus is in a normal connection state, when an abnormality is detected and means for notifying the abnormality occurrence, The tone parameter editing device includes a receiving unit that receives a tone parameter transmitted from the tone signal generating device, an editing unit that edits the received tone parameter, and a transmission that sends the edited tone parameter to the tone signal generating device. Means and the receiving means
Of musical tone parameters by the above or by the transmitting means
Determines whether musical tone parameters are being transmitted
When the reception or transmission is being performed, it is determined whether the musical tone parameter editing device and the musical tone signal generating device are in a normal connection state, and when an abnormality is detected, the occurrence of the abnormality is determined. Notification means. The musical tone parameter according to claim 2
The collection system consists of an interconnected music signal generator and music
Music parameter editing system with a sound parameter editing device
A tone signal generator, wherein the tone signal generator comprises a tone parameter;
Storage means for storing data, and tone parameters of the storage means.
Tone generating means for generating a tone using a data,
Means for storing the tone parameters stored in the
Transmission means for transmitting to the data editing device;
Receiving the tone parameters sent from the editing device,
Receiving means for storing in the storage means,
The meter editing device is transmitted from the tone signal generator.
Receiving means for receiving that musical parameters, tone received
Editing means for editing parameters; and
Is edited according to the edited tone parameters.
Automatically transmitted to the tone signal generator.
Transmitting means for transmitting, and musical tone parameters in the transmitting means.
At the time of data transmission, the tone parameter editing device and the tone signal
When it is determined whether the connection with the generator is normal or not,
In both cases, when an abnormality is detected, the occurrence of the abnormality is notified.
And a notifying means.

【0008】楽音パラメータとは、例えば音色データな
どである。検出する異常とは、例えば電源の寸断などで
ある。
The tone parameters are, for example, tone data. The abnormality to be detected is, for example, a disconnection of the power supply.

【0009】[0009]

【作用】上記構成によれば、電子楽器の記憶手段に格納
されている楽音パラメータを楽音パラメータ編集装置に
送信し、楽音パラメータ編集装置で編集を行なって、再
楽音信号発生装置の記憶手段に戻すことができる。こ
の際、互いに正常な接続状態にあるか否かを判別して異
常が検出されたときにはその異常発生を外部に通知する
ようにしているので、相互の装置で編集データが食い違
うなどの不都合は、回避できる。
According to the above arrangement, the tone parameters stored in the storage means of the electronic musical instrument are transmitted to the tone parameter editing apparatus, edited by the tone parameter editing apparatus, and returned to the storage means of the tone signal generator again. be able to. At this time, it is determined whether or not each other is in a normal connection state, and when an abnormality is detected, the occurrence of the abnormality is notified to the outside. Can be avoided.

【0010】[0010]

【実施例】以下、図面を用いて、この発明の実施例を説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0011】図1は、この発明の一実施例に係る楽音パ
ラメータ編集システムにおける立上げ動作の概要を示す
図である。この楽音パラメータ編集システムは、電子楽
器と音色データ編集装置とからなる。
FIG. 1 is a diagram showing an outline of a start-up operation in a tone parameter editing system according to an embodiment of the present invention. This musical tone parameter editing system includes an electronic musical instrument and a timbre data editing device.

【0012】図1を参照して、本システムの動作の概要
を説明する。電子楽器側では、電源投入(101)後、
音色データ編集装置に起動報告(102)を行なう。同
様に、音色データ編集装置では、電源投入(111)
後、電子楽器に起動報告(112)を行なう。
An outline of the operation of the present system will be described with reference to FIG. On the electronic musical instrument side, after power-on (101),
An activation report (102) is sent to the tone color data editing device. Similarly, in the tone data editing device, the power is turned on (111).
Thereafter, an activation report (112) is sent to the electronic musical instrument.

【0013】次に、音色データ編集装置は、電子楽器に
編集すべき音色データを要求する(113)。そして、
音色データを受信するまで待機状態になる。電子楽器
は、音色データ編集装置からの音色データの要求に対
し、指示された音色データを送信(103)し、一般的
な動作(104)に入る。一般的な動作(104)と
は、電子楽器としての一般的な動作であり、例えば鍵盤
の押下鍵を検出し選択されている音色で楽音を発生する
動作などである。
Next, the timbre data editing device requests the electronic musical instrument for timbre data to be edited (113). And
It enters a standby state until the tone data is received. The electronic musical instrument transmits the designated timbre data in response to the timbre data request from the timbre data editing device (103), and enters a general operation (104). The general operation (104) is a general operation of an electronic musical instrument, for example, an operation of detecting a pressed key of a keyboard and generating a musical tone in a selected tone.

【0014】音色データ編集装置は、音色データを受信
(114)すると、一般的な動作(115)に入る。一
般的な動作(115)とは、音色データ編集装置として
の一般的な動作であり、受信した音色データを編集する
動作などである。
When the timbre data editing device receives the timbre data (114), it enters a general operation (115). The general operation (115) is a general operation as a tone color data editing device, such as an operation of editing received tone color data.

【0015】本システムでは、電子楽器と音色データ編
集装置とが、互いに正常に接続されているかどうかを定
期的に確認しながら音色データの送受信を行なう。その
確認方法は、電子楽器と音色データ編集装置間のパラレ
ル通信で行なう。なお、パラレル通信でなく、シリアル
通信を用いてもよい。
In this system, the electronic musical instrument and the timbre data editing device transmit and receive timbre data while periodically checking whether or not they are normally connected to each other. The confirmation method is performed by parallel communication between the electronic musical instrument and the timbre data editing device. Note that serial communication may be used instead of parallel communication.

【0016】具体的には、パラレルの通信ケーブルのう
ち未使用のラインを2本用いる。そして、1本は音色デ
ータ編集装置からみて電子楽器が正常に接続されている
かどうかを確認することに用い、もう1本は電子楽器か
らみて音色データ編集装置が正常に接続されているかど
うかを確認することに用いる。ここで、非接続状態は、
一方の電源が投入されていない状態も含む。
Specifically, two unused lines in the parallel communication cable are used. One is used to check whether the electronic musical instrument is normally connected from the viewpoint of the tone data editing apparatus, and the other is to check whether the tone data editing apparatus is normally connected to the electronic musical instrument. Used to do. Here, the disconnected state is
This includes the state where one power supply is not turned on.

【0017】電子楽器からみて音色データ編集装置が正
常に接続されているかどうかを確認する信号線では、音
色データ編集装置がその信号線にロジカルHIレベル
(5V)を出力する。電子楽器から見て、その信号線が
HIレベルになっていれば音色データ編集装置が正常に
接続されていることになる。また、その信号線がLOレ
ベル(0V)であれば、音色データ編集装置が接続され
ていないか、電源が投入されていないことになる。
For a signal line for checking whether or not the tone data editing device is normally connected as viewed from the electronic musical instrument, the tone color data editing device outputs a logical HI level (5 V) to the signal line. From the viewpoint of the electronic musical instrument, if the signal line is at the HI level, the tone color data editing device is normally connected. If the signal line is at the LO level (0 V), it means that the timbre data editing device is not connected or the power is not turned on.

【0018】音色データ編集装置から電子楽器の接続を
確認する場合も同様にして確認する。電子楽器は音色デ
ータ編集装置が接続されていなくても、一般的な動作状
態にあればよいが、音色データ編集装置は電子楽器が接
続されていないと、音色データを受信できないので、た
だ電子楽器本体の起動を待つしかない。
When confirming the connection of the electronic musical instrument from the timbre data editing apparatus, the connection is confirmed in the same manner. An electronic musical instrument may be in a general operating state even if a tone data editing device is not connected, but a tone data editing device cannot receive tone data unless an electronic musical instrument is connected. You have to wait for the main unit to start.

【0019】ここで、電子楽器と音色データ編集装置の
うちどちらかが動作中に電源が落とされた場合が問題と
なる。電子楽器も音色データ編集装置も互いに定期的に
相手が接続されているかどうかを確認しているので、電
子楽器から見て音色データ編集装置の非接続が確認され
たら、直ちに音色データ編集装置が接続されていないも
のとして一般動作に移る(もしくは、一般動作を継続す
る)。逆に、音色データ編集装置から見て電子楽器の非
接続が確認されたら、電子楽器の再起動を待つことにな
る。
Here, a problem arises when the power is turned off while either the electronic musical instrument or the timbre data editing device is operating. Since both the electronic musical instrument and the tone data editing device periodically check whether or not the other party is connected, the tone data editing device is immediately connected when the disconnection of the tone data editing device from the electronic musical instrument is confirmed. Then, the operation proceeds to the general operation (or the general operation is continued). Conversely, if it is confirmed from the tone data editing apparatus that the electronic musical instrument is not connected, the electronic musical instrument waits for a restart.

【0020】さらに、一定期間ごとに相手の接続を確認
しているが、その確認周期の合間に電源オフとオンが行
なわれた場合(電源の寸断)には、相手の再起動に気付
かないおそれがある。
Furthermore, although the connection of the other party is checked at regular intervals, if the power is turned off and on (interruption of the power supply) during the check cycle, the restart of the other party may not be noticed. There is.

【0021】例えば、音色データ編集装置側に電源の寸
断があったとすると、音色データ編集装置の起動直後
に、音色データ編集装置から電子楽器に音色データの要
求を行なうので、さほどの問題は生じない。ただし、音
色データ編集装置が編集動作中であったとすると、それ
までに編集されて電子楽器側に送られている電子楽器の
バッファ上の音色データを編集装置に再ロードするとい
うことになるため、音色データ編集装置が再起動したの
だということを電子楽器が知っておく必要がある。
For example, if the power of the tone data editing device is interrupted, the tone data editing device requests the electronic musical instrument for the tone data immediately after the tone data editing device is started. . However, if the timbre data editing device is performing an editing operation, the timbre data on the buffer of the electronic musical instrument that has been edited and sent to the electronic musical instrument side will be reloaded into the editing device. The electronic musical instrument needs to know that the timbre data editing device has restarted.

【0022】逆に、電子楽器側が再起動したときには、
音色データ編集装置側で電子楽器が再起動したことを知
らなければ、電子楽器の発音状態と音色データ編集装置
の音色データの状態は食い違ってしまうため、好ましく
ない。
Conversely, when the electronic musical instrument restarts,
Unless the timbre data editing device knows that the electronic musical instrument has been restarted, the sounding state of the electronic musical instrument and the timbre data status of the timbre data editing device are different, which is not preferable.

【0023】以上のように、どちらかが再起動した場合
でも相手側に再起動したということを知らせる必要があ
る。その再起動を知らせるのが、後にフローチャートを
参照して説明する起動報告の動作である。ここでは、再
起動と初期起動の区別はしていないが、初期起動の際も
再起動ととらえて処理して問題はないので、起動報告で
一元化している。
As described above, even if one of them is restarted, it is necessary to inform the other party that it has been restarted. Notifying the restart is a start-up report operation described later with reference to a flowchart. Here, a distinction is not made between the restart and the initial startup, but since there is no problem in the process of the initial startup being treated as a restart, there is no problem.

【0024】次に、本実施例のシステムを詳細に説明す
る。
Next, the system of this embodiment will be described in detail.

【0025】図2(a)は、本実施例のシステムのブロ
ック構成を示す。本システムは、大きく電子楽器200
と音色データ編集装置300とからなる。
FIG. 2A shows a block configuration of the system of this embodiment. This system can be widely used for electronic musical instruments 200
And the timbre data editing device 300.

【0026】電子楽器200は、中央処理装置(CP
U)201、プログラムROM(リードオンリメモリ)
/RAM(ランダムアクセスメモリ)202、音色デー
タメモリ203、発音音色データバッファ(TBUF)
204、演奏操作子205、音色選択操作子および表示
部206、楽音発生部207、インターフェース部20
8、電源209、およびバスライン210を備えてい
る。
The electronic musical instrument 200 has a central processing unit (CP).
U) 201, program ROM (read only memory)
/ RAM (random access memory) 202, tone data memory 203, tone tone data buffer (TBUF)
204, performance operator 205, tone selection operator and display unit 206, tone generator 207, interface unit 20
8, a power supply 209, and a bus line 210.

【0027】CPU201は、この電子楽器200全体
の動作を制御する。プログラムROM/RAM202の
うちROM部分には、CPU201が実行するプログラ
ムが格納されている。RAM部分には、各種のレジスタ
やフラグなどのワーク領域が設けられている。
The CPU 201 controls the operation of the electronic musical instrument 200 as a whole. In the ROM portion of the program ROM / RAM 202, a program to be executed by the CPU 201 is stored. A work area such as various registers and flags is provided in the RAM portion.

【0028】音色データメモリ203は、この電子楽器
200で発音可能な各種の音色データが格納されている
RAMである。音色データメモリ203はバッテリバッ
クアップされており、電子楽器200の電源をオフして
も音色データメモリ203中の音色データは消失しな
い。
The timbre data memory 203 is a RAM in which various timbre data that can be produced by the electronic musical instrument 200 are stored. The timbre data memory 203 is backed up by a battery, and the timbre data in the timbre data memory 203 is not lost even when the power of the electronic musical instrument 200 is turned off.

【0029】発音音色データバッファ(TBUF)20
4は、発音に用いる音色データを設定するバッファであ
る。演奏操作子205は、ユーザが演奏するための操作
子であり、例えば鍵盤である。音色選択操作子および表
示部206は、ユーザが発音に用いる音色を選択するた
めの操作子および表示部である。
A tone data buffer (TBUF) 20
Reference numeral 4 denotes a buffer for setting timbre data used for sound generation. The performance operator 205 is an operator for the user to play, and is, for example, a keyboard. The tone color selection operator and display unit 206 is an operator and a display unit for the user to select a tone color used for sound generation.

【0030】楽音発生部207は、演奏操作子205の
操作に応じて、TBUF204に設定された音色で楽音
を発生する。インターフェース部208は、音色データ
編集装置300との間で各種の情報を授受するためのイ
ンターフェースである。電源209は、電子楽器200
の各部に電源を供給する。バスライン210は、上記各
部を相互に接続するバスラインである。
The tone generator 207 generates a tone in a tone set in the TBUF 204 in response to an operation of the performance operator 205. The interface unit 208 is an interface for exchanging various types of information with the tone color data editing device 300. The power supply 209 is connected to the electronic musical instrument 200.
Supply power to each part of. The bus line 210 is a bus line that connects the above components to each other.

【0031】音色データ編集装置300は、CPU30
1、プログラムROM/RAM302、音色データエデ
ィットメモリ303、インターフェース部304、音色
データ編集操作子305、表示部306、電源307、
およびバスライン308を備えている。
The timbre data editing device 300 includes a CPU 30
1. Program ROM / RAM 302, timbre data edit memory 303, interface unit 304, timbre data editing operator 305, display unit 306, power supply 307,
And a bus line 308.

【0032】CPU301は、この音色データ編集装置
300全体の動作を制御する。プログラムROM/RA
M302のうちROM部分には、CPU301が実行す
るプログラムが格納されている。RAM部分には、各種
のレジスタやフラグなどのワーク領域が設けられてい
る。音色データエディットメモリ303は、編集対象の
音色データを格納するメモリである。インターフェース
部304は、電子楽器200との間で各種の情報を授受
するためのインターフェースである。
The CPU 301 controls the overall operation of the tone data editing apparatus 300. Program ROM / RA
A program executed by the CPU 301 is stored in the ROM portion of the M302. A work area such as various registers and flags is provided in the RAM portion. The timbre data edit memory 303 is a memory for storing timbre data to be edited. The interface unit 304 is an interface for exchanging various kinds of information with the electronic musical instrument 200.

【0033】音色データ編集操作子305は、ユーザが
音色データの編集を行うための各種の操作子である。表
示部306は、音色データ編集を行なう際などに各種の
情報を表示する表示部である。電源307は、音色デー
タ編集装置300の各部に電源を供給する。バスライン
308は、上記各部を相互に接続するバスラインであ
る。
The tone data editing operators 305 are various operators for the user to edit tone data. The display unit 306 is a display unit that displays various kinds of information when editing tone color data. The power supply 307 supplies power to each unit of the tone color data editing device 300. The bus line 308 is a bus line that connects the above components to each other.

【0034】図2(b)は、電子楽器200側のインタ
ーフェース部208と音色データ編集装置300側のイ
ンターフェース部304の内部レジスタの概要を示す図
である。電子楽器200側のインターフェース部208
は、内部に、DATA TX−RXレジスタ211、I
NST ON FLG212、およびEDIT ONレ
シーバ213を備えている。音色データ編集装置300
側のインターフェース部304は、内部に、DATA
TX−RXレジスタ311、INST ONレシーバ3
12、およびEDIT ON FLG313を備えてい
る。
FIG. 2B is a diagram showing an outline of internal registers of the interface unit 208 of the electronic musical instrument 200 and the interface unit 304 of the timbre data editing device 300. Interface section 208 of electronic musical instrument 200
Internally has a DATA TX-RX register 211, I
An NST ON FLG 212 and an EDIT ON receiver 213 are provided. Tone data editing device 300
The interface unit 304 on the side includes a DATA
TX-RX register 311, INST ON receiver 3
12 and EDIT ON FLG 313.

【0035】DATA TX−RXレジスタ211とD
ATA TX−RXレジスタ311とは、信号線DAT
A LINEで接続されており、相互にレジスタの内容
の送受が可能になっている。
Data TX-RX register 211 and D
The ATA TX-RX register 311 is a signal line DAT
They are connected by A LINE so that the contents of the registers can be mutually transmitted and received.

【0036】INST ON FLG212とINST
ON レシーバ312とは、信号線INSTONで接
続されており、INST ON FLG212の内容を
INST ON レシーバ312で受信できるようにな
っている。INST ONFLG212については、後
に詳細に説明する。INST ON FLG212に入
力しているRSTCはパワーオンリセット信号である。
INST ON FLG 212 and INST
The ON receiver 312 is connected to the ON receiver 312 via a signal line INSTON, so that the contents of the INST ON FLG 212 can be received by the INST ON receiver 312. The INST ONFLG 212 will be described later in detail. RSTC input to INST ON FLG 212 is a power-on reset signal.

【0037】EDIT ON FLG313とEDIT
ON レシーバ213とは、信号線EDITONで接
続されており、EDIT ON FLG313の内容を
EDIT ON レシーバ213で受信できるようにな
っている。EDIT ONFLG313については、後
に詳細に説明する。EDIT ON FLG313に入
力しているRSTEはパワーオンリセット信号である。
EDIT ON FLG313 and EDIT
The ON receiver 213 is connected by a signal line EDITON, and the contents of the EDIT ON FLG 313 can be received by the EDIT ON receiver 213. EDIT ONFLG 313 will be described later in detail. RSTE input to EDIT ON FLG 313 is a power-on reset signal.

【0038】RSTC,RSTEの各パワーオンリセッ
ト信号は、電源オン時に所定時間、INST ON F
LG212,EDIT ON FLG313に対してそ
の内容を「0」にクリアする信号として印加される。し
たがって、電源の切断があるとFLGは少なくともその
所定時間の間「0」にクリアされる。この所定時間は、
相手方がFLGの変化を検出するに十分な長さの時間と
する。(なお、各レシーバ213,312に信号立ち下
がり検出ラッチを設けFLGの立ち下がりを読み取りま
で記憶できるようにしてもよい。)
Each of the power-on reset signals RSTC and RSTE is set to INST ON F for a predetermined time when the power is turned on.
The signal is applied to the LG 212 and EDIT ON FLG 313 as a signal for clearing the content to “0”. Therefore, when the power is turned off, the FLG is cleared to “0” for at least the predetermined time. This predetermined time is
The time is set to be long enough for the other party to detect a change in FLG. (Note that a signal falling detection latch may be provided in each of the receivers 213 and 312 so that the falling of the FLG can be stored until reading.)

【0039】次に、本実施例の電子楽器200で用いて
いるレジスタおよびフラグについて説明する。
Next, the registers and flags used in the electronic musical instrument 200 of this embodiment will be described.

【0040】(a)INST ON FLG:上述の図
2(b)で説明したINST ONFLG212であ
る。「1」で電子楽器200の電源がオンされているこ
とを示し、「0」でそれ以外を示す。
(A) INST ON FLG: INST ON FLG 212 described with reference to FIG. “1” indicates that the power of the electronic musical instrument 200 is turned on, and “0” indicates other than that.

【0041】(b)EDIT ON RCV:上述の図
2(b)で説明したEDIT ONレシーバ213であ
る。EDIT ON レシーバ213には、音色データ
編集装置300のEDIT ON FLG313の内容
が常に受信されており、EDIT ON RCVが
「1」で音色データ編集装置300の電源がオンされて
いることを示し、「0」でそれ以外を示す。
(B) EDIT ON RCV: The EDIT ON receiver 213 described with reference to FIG. The EDIT ON receiver 213 always receives the contents of the EDIT ON FLG 313 of the timbre data editing device 300, indicates that EDIT ON RCV is “1”, and that the power of the timbre data editing device 300 is turned on. "0" indicates other cases.

【0042】(c)IF BUSY FLG:図2
(b)の信号線DATA LINEを用いて、データの
送受信が行われている状態か否かを示すフラグである。
「1」のときデータの送受信が行われている状態を示
し、「0」でそれ以外の状態を示す。
(C) IF BUSY FLG: FIG.
This flag indicates whether or not data transmission / reception is being performed using the signal line DATA LINE of FIG.
“1” indicates a state in which data transmission / reception is being performed, and “0” indicates other states.

【0043】(d)TX END FLG:図2(b)
の信号線DATA LINEを用いたデータの送受信に
おいて、電子楽器200からの音色データの送信が終了
したか否かを示すフラグである。「1」で音色データの
送信終了を示し、「0」でそれ以外を示す。
(D) TX END FLG: FIG. 2 (b)
This flag indicates whether or not transmission of timbre data from the electronic musical instrument 200 has been completed in data transmission / reception using the signal line DATA LINE. “1” indicates the end of the transmission of the tone color data, and “0” indicates the other.

【0044】次に、本実施例の音色データ編集装置30
0で用いているレジスタおよびフラグについて説明す
る。
Next, the timbre data editing device 30 of this embodiment
Registers and flags used for 0 will be described.

【0045】(a)EDIT ON FLG:上述の図
2(b)で説明したEDIT ONFLG313であ
る。「1」で音色データ編集装置300の電源がオンさ
れていることを示し、「0」でそれ以外を示す。
(A) EDIT ON FLG: EDIT ON FLG 313 described with reference to FIG. “1” indicates that the power of the timbre data editing device 300 is turned on, and “0” indicates other than that.

【0046】(b)INST ON RCV:上述の図
2(b)で説明したINST ONレシーバ312であ
る。INST ON レシーバ312には、電子楽器2
00のINST ON FLG212の内容が常に受信
されており、INST ONRCVが「1」で電子楽器
200の電源がオンされていることを示し、「0」でそ
れ以外を示す。
(B) INST ON RCV: The INST ON receiver 312 described with reference to FIG. The INST ON receiver 312 includes the electronic musical instrument 2
The content of the INST ON FLG 212 of 00 is always received, the INST ONRCV is “1”, indicating that the power of the electronic musical instrument 200 is turned on, and “0” indicates other than that.

【0047】(c)BUSY FLG:図2(b)の信
号線DATA LINEを用いて、データの送受信が行
われている状態か否かを示すフラグである。「1」のと
きデータの送受信が行われている状態を示し、「0」で
それ以外の状態を示す。
(C) BUSY FLG: This flag indicates whether or not data transmission / reception is being performed using the signal line DATA LINE of FIG. 2B. “1” indicates a state in which data transmission / reception is being performed, and “0” indicates other states.

【0048】(d)RX END FLG:図2(b)
の信号線DATA LINEを用いたデータの送受信に
おいて、音色データ編集装置300における音色データ
の受信が終了したか否かを示すフラグである。「1」で
音色データの受信終了を示し、「0」でそれ以外を示
す。
(D) RX END FLG: FIG. 2 (b)
This flag indicates whether the timbre data editing device 300 has finished receiving timbre data in data transmission / reception using the signal line DATA LINE. “1” indicates the end of the tone color data reception, and “0” indicates other.

【0049】次に、本実施例のシステムの動作を説明す
る。まず、電子楽器200の動作を説明する。
Next, the operation of the system of this embodiment will be described. First, the operation of the electronic musical instrument 200 will be described.

【0050】図3は、電子楽器200の動作手順を説明
するためのフローチャートである。電子楽器200の電
源がオンされると、まずステップS1でINST ON
FLGに「1」をセットし、ステップS2で初期化処
理を行なう。
FIG. 3 is a flowchart for explaining the operation procedure of electronic musical instrument 200. When the power of the electronic musical instrument 200 is turned on, first, INST ON in step S1.
“1” is set in FLG, and initialization is performed in step S2.

【0051】次に、ステップS3でモード切替処理を行
ない、ステップS4で現在のモードがエディットモード
であるか否か判別する。モード切替処理とは、ユーザの
操作に応じて、通常モードとエディットモードとを切替
える処理である。通常モードは、電子楽器としての通常
のモードである。すなわち、通常モードにおいて、ユー
ザは、音色選択操作子206により音色を選択し、演奏
操作子205の操作により楽音を発生することができ
る。エディットモードは、音色データを編集するモード
である。
Next, a mode switching process is performed in step S3, and it is determined in step S4 whether the current mode is the edit mode. The mode switching process is a process of switching between a normal mode and an edit mode according to a user operation. The normal mode is a normal mode as an electronic musical instrument. That is, in the normal mode, the user can select a timbre using the timbre selection operator 206 and generate a musical tone by operating the performance operator 205. The edit mode is a mode for editing timbre data.

【0052】ステップS4でエディットモードでないと
きは、通常モードということだから、ステップS7でT
X END FLGを「0」とし、ステップS8に進
む。ステップS8でユーザの音色選択操作子206の操
作を検出し、操作されている場合は、その操作に応じて
音色選択処理を行なう。具体的には、選択された音色の
音色データを音色データメモリ203から読出して、T
BUF204に設定する処理である。以後は、TBUF
204に設定された音色で楽音が発音されることにな
る。
If the mode is not the edit mode in step S4, it means the normal mode.
X END FLG is set to “0”, and the process proceeds to step S8. In step S8, the operation of the user's tone color selection operator 206 is detected, and if the operation is performed, the tone color selection process is performed according to the operation. Specifically, the timbre data of the selected timbre is read out from the timbre data memory 203, and T
This is processing to be set in the BUF 204. After that, TBUF
The musical tone is generated with the tone set in 204.

【0053】次に、ステップS9で発音処理を行なう。
発音処理は、ユーザの演奏操作子205の操作を検出
し、操作されている場合は、その操作に応じて楽音を発
音する処理である。ステップS9の後、ステップS10
でその他の処理を行ない、ステップS3に戻る。
Next, a tone generation process is performed in step S9.
The sound generation process is a process of detecting an operation of the user's performance operator 205 and, if operated, generating a musical tone in accordance with the operation. After step S9, step S10
Perform other processing, and return to step S3.

【0054】ステップS4で現在のモードがエディット
モードであるときは、ステップS5でインターフェース
(I/F)チェックを行なう。I/Fチェックについて
は、図4を参照して後述する。ステップS5の後、ステ
ップS6でフラグEDITON RCVが「1」である
か否か判別する。フラグEDIT ON RCVが
「1」のときは、音色データ編集装置300が正常に接
続されているということであるから、ステップS11に
進む。フラグEDIT ON RCVが「1」でないと
きは、音色データ編集装置300が非接続状態であり音
色データのエディットの処理を行うことができないか
ら、ステップS8に進み通常モードの処理を行なう。
If the current mode is the edit mode in step S4, an interface (I / F) check is performed in step S5. The I / F check will be described later with reference to FIG. After step S5, it is determined in step S6 whether the flag EDITON RCV is "1". When the flag EDIT ON RCV is “1”, it means that the tone color data editing device 300 is normally connected, and the process proceeds to step S11. If the flag EDIT ON RCV is not "1", the tone color data editing device 300 is in a disconnected state and cannot perform the tone color data editing process, so the process proceeds to step S8 to perform the normal mode process.

【0055】ステップS11では、音色データ編集装置
300から音色データ送信要求があるか否か判別する。
音色データ送信要求がある場合は、ステップS12でフ
ラグIF BUSY FLGを「1」とし、ステップS
13でフラグEDIT ONRCVが「1」であるか否
か判別する。フラグEDIT ON RCVが「1」の
ときは、音色データ編集装置300が正常に接続されて
いるということであるから、ステップS14で要求され
た音色データを音色データメモリ203から読出して音
色データ編集装置300に送信する。そして、ステップ
S15で送信終了か否か判別し、未だ送信が終了してい
ないときは、ステップS13に戻って送信処理を繰り返
す。
In step S11, it is determined whether or not there is a tone color data transmission request from tone color data editing device 300.
If there is a tone data transmission request, the flag IF BUSY FLG is set to "1" in step S12, and the process proceeds to step S12.
At 13, it is determined whether or not the flag EDIT ONRCV is "1". When the flag EDIT ON RCV is "1", it means that the timbre data editing device 300 is normally connected, so that the timbre data requested in step S14 is read from the timbre data memory 203 to read out the timbre data editing device. Send to 300. Then, in step S15, it is determined whether or not the transmission has been completed. If the transmission has not been completed, the process returns to step S13 to repeat the transmission process.

【0056】ステップS15で音色データの送信が終了
したら、ステップS16でフラグIF BUSY FL
Gを「0」とし、フラグTX END FLGを「1」
とする。次に、ステップS17で要求された音色データ
をTBUF204に設定し、ステップS3に戻る。
After the transmission of the timbre data is completed in step S15, the flag IF BUSY FL is set in step S16.
G is set to “0” and the flag TX END FLG is set to “1”
And Next, the timbre data requested in step S17 is set in the TBUF 204, and the process returns to step S3.

【0057】ステップS13でフラグEDIT ON
RCVが「1」でないときは、音色データ編集装置30
0が非接続状態であるということだから、ステップS1
8でTX END FLGを「0」とし、ステップS1
9でフラグIF BUSYFLGを「0」とした後、ス
テップS20でI/F異常アラーム処理を行ない、ステ
ップS3に戻る。I/F異常アラーム処理とは、音色デ
ータ編集装置300が非接続状態であることをユーザに
知らせるアラームを発する処理である。
In step S13, the flag EDIT is turned ON.
When the RCV is not “1”, the tone color data editing device 30
Since 0 is a non-connection state, step S1
In step S1, the TX END FLG is set to "0".
After setting the flag IF BUSYFLG to "0" in step 9, an I / F abnormality alarm process is performed in step S20, and the process returns to step S3. The I / F abnormality alarm process is a process of issuing an alarm that informs the user that the tone color data editing device 300 is not connected.

【0058】ステップS11で音色データ編集装置30
0からの音色データ送信要求がないときは、ステップS
21で音色データ編集装置300からの音色データ受信
要求があるか否か判別する。音色データ受信要求がある
場合は、ステップS22でフラグTX END FLG
が「1」か否か判別する。フラグTX END FLG
が「1」なら、要求された音色データの送信は既に終了
しているから、ステップS23でフラグIF BUSY
FLGを「1」とし、ステップS24でフラグEDI
T ON RCVが「1」であるか否か判別する。フラ
グEDIT ON RCVが「1」のときは、音色デー
タ編集装置300が正常に接続されているということで
あるから、ステップS25で音色データ編集装置300
から音色データ(編集済み)を受信し、TBUF204
に転送する。そして、ステップS26で受信終了か否か
判別し、未だ受信が終了していないときは、ステップS
24に戻って受信処理を繰り返す。
In step S11, the tone color data editing device 30
If there is no timbre data transmission request from 0, step S
At 21, it is determined whether or not there is a request for receiving timbre data from the timbre data editing apparatus 300. If there is a tone data reception request, the flag TX END FLG is determined in step S22.
Is "1". Flag TX END FLG
Is "1", the transmission of the requested tone color data has already been completed, and the flag IF BUSY is determined in step S23.
FLG is set to “1”, and the flag EDI is set in step S24.
It is determined whether or not T ON RCV is “1”. If the flag EDIT ON RCV is “1”, it means that the tone color data editing device 300 has been normally connected.
Receives the tone data (edited) from the TBUF 204
Transfer to Then, it is determined in step S26 whether or not the reception has been completed. If the reception has not been completed yet, the process proceeds to step S26.
Returning to 24, the receiving process is repeated.

【0059】ステップS26で受信処理が終了したら、
ステップS27でフラグIF BUSY FLGを
「0」とし、ステップS3に戻る。
When the receiving process is completed in step S26,
In step S27, the flag IF BUSY FLG is set to "0", and the process returns to step S3.

【0060】ステップS24でフラグEDIT ON
RCVが「1」でないときは、音色データ編集装置30
0が非接続状態であるということだから、ステップS1
9に進み、I/F異常アラーム処理を行なう。
At step S24, the flag EDIT is turned ON.
When the RCV is not “1”, the tone color data editing device 30
Since 0 is a non-connection state, step S1
Proceed to 9 to perform I / F abnormality alarm processing.

【0061】ステップS21で受信要求がない場合、あ
るいはステップS22でフラグTXEND FLGが
「1」でないときは、ステップS3に戻る。なお、フラ
グTX END FLGが「1」でないときは、音色デ
ータの送信が終了していないうちに音色データ編集装置
300からの受信要求が発行されたということであり、
何らかの異常が発生したと考えられるから、音色データ
未送信アラームを発行するようにしてもよい。
If there is no reception request in step S21, or if the flag TXEND FLG is not "1" in step S22, the process returns to step S3. If the flag TX END FLG is not “1”, it means that a reception request from the timbre data editing device 300 was issued before the transmission of the timbre data was completed.
Since it is considered that some abnormality has occurred, a tone data non-transmission alarm may be issued.

【0062】次に、図4を参照して、図3のステップS
5のI/Fチェックルーチンおよびタイマ割込み処理ル
ーチンを説明する。
Next, referring to FIG. 4, step S in FIG.
The I / F check routine and timer interrupt processing routine of No. 5 will be described.

【0063】I/Fチェックルーチンでは、まずステッ
プS31でフラグTX END FLGが「1」である
か否か判別する。フラグTX END FLGが「1」
なら、ステップS32でフラグEDIT ON RCV
が「0」であるか否か判別する。フラグEDIT ON
RCVが「0」のときは、音色データ編集装置300
が非接続状態であるということであるから、ステップS
33でI/F異常アラーム処理を行なって、リターンす
る。
In the I / F check routine, first, in a step S31, it is determined whether or not the flag TX END FLG is "1". The flag TX END FLG is "1"
If so, in step S32 the flag EDIT ON RCV
Is "0". Flag EDIT ON
When the RCV is “0”, the timbre data editing device 300
Is in a disconnected state, so that step S
At 33, I / F abnormality alarm processing is performed, and the routine returns.

【0064】ステップS31でフラグTX END F
LGが「1」でないとき、およびステップS32でフラ
グEDIT ON RCVが「0」でないときは、その
ままリターンする。
In step S31, the flag TX END F
When LG is not "1" and when the flag EDIT ON RCV is not "0" in step S32, the process returns as it is.

【0065】本実施例の電子楽器200では、所定の時
間間隔ごとにタイマ割込み処理を行ない音色データ編集
装置300が正常に接続されているか否かをチェックす
る。タイマ割込みルーチンでは、まずステップS34で
フラグIF BUSY FLGが「1」か否か判別す
る。フラグIF BUSY FLGが「1」のときは、
電子楽器200と音色データ編集装置300との間でデ
ータの送受信が行なわれているということであるから、
接続状態のチェックを行なうためステップS32に進
む。フラグIF BUSY FLGが「1」でないとき
は、そのままリターンする。
In the electronic musical instrument 200 of this embodiment, a timer interrupt process is performed at predetermined time intervals to check whether or not the tone data editing device 300 is normally connected. In the timer interrupt routine, first, in a step S34, it is determined whether or not the flag IF BUSY FLG is "1". When the flag IF BUSY FLG is “1”,
Since data is transmitted and received between the electronic musical instrument 200 and the timbre data editing device 300,
The process proceeds to step S32 to check the connection state. If the flag IF BUSY FLG is not "1", the routine directly returns.

【0066】次に、図6のフローチャートを参照して、
音色データ編集装置の動作を説明する。
Next, referring to the flowchart of FIG.
The operation of the timbre data editing device will be described.

【0067】音色データ編集装置の電源がオンされる
と、まずステップS51でEDITON FLGに
「1」をセットし、ステップS52で初期化処理を行な
う。
When the power of the tone color data editing apparatus is turned on, "1" is set to EDITON FLG in step S51, and initialization processing is performed in step S52.

【0068】次に、ステップS53でフラグINST
ON RCVが「1」であるか否か判別する。フラグI
NST ON RCVが「1」のときは、電子楽器20
0が正常に接続されているということだから、ステップ
S54で電子楽器200がオンライン状態にあることを
示す表示を行ない、ステップS56に進む。ステップS
53でフラグINST ON RCVが「1」でないと
きは、電子楽器200が非接続状態であるということだ
から、ステップS55で電子楽器200がオフライン状
態にあることを示す表示を行ない、ステップS56に進
む。
Next, at step S53, the flag INST is set.
It is determined whether or not ON RCV is “1”. Flag I
When the NST ON RCV is “1”, the electronic musical instrument 20
Since it is determined that the electronic musical instrument 200 is online, a display indicating that the electronic musical instrument 200 is online is performed in step S54, and the process proceeds to step S56. Step S
If the flag INST ON RCV is not "1" in 53, it means that the electronic musical instrument 200 is not connected. Therefore, a display indicating that the electronic musical instrument 200 is offline is performed in step S55, and the process proceeds to step S56.

【0069】ステップS56では、音色データ編集操作
子305の操作イベントを検出する。そして、ステップ
S57で音色データ送信要求イベントがあるか否か判別
する。音色データ送信要求イベントがある場合はステッ
プS58に、ない場合はステップS67に進む。
In step S56, an operation event of the tone data editing operator 305 is detected. Then, in a step S57, it is determined whether or not there is a tone data transmission request event. If there is a tone data transmission request event, the process proceeds to step S58; otherwise, the process proceeds to step S67.

【0070】ステップS58では、フラグINST O
N RCVが「1」か否か判別する。フラグINST
ON RCVが「1」のときは、電子楽器200が正常
に接続されているということであるから、ステップS5
9で音色データ送信要求コマンドを、図2(b)のDA
TA LINEを用いて電子楽器200に送信する。そ
して、ステップS60でBUSY FLGを「1」と
し、フラグRX ENDFLGを「0」として、ステッ
プS61に進む。
In step S58, the flag INST O
It is determined whether or not N RCV is “1”. Flag INST
If the ON RCV is "1", it means that the electronic musical instrument 200 is connected normally, and therefore, step S5
9, the timbre data transmission request command is transmitted to the DA in FIG.
The electronic musical instrument 200 is transmitted using TA LINE. Then, in step S60, the BUSY FLG is set to "1", the flag RX ENDFLG is set to "0", and the process proceeds to step S61.

【0071】ステップS61では、フラグINST O
N RCVが「1」であるか否か判別する。フラグIN
ST ON RCVが「1」のときは、電子楽器200
が正常に接続されているということであるから、ステッ
プS62で電子楽器200から送信される音色データを
受信し、ステップS63で受信処理が終了したか否か判
別する。受信処理が終了していなければ、ステップS6
1に戻って受信処理を繰り返す。受信処理が終了した
ら、ステップS64で、BUSY FLGを「0」と
し、フラグRX END FLGを「1」として、ステ
ップS53に戻る。
At step S61, the flag INST O
It is determined whether or not N RCV is “1”. Flag IN
When the ST ON RCV is “1”, the electronic musical instrument 200
Is normally connected, the timbre data transmitted from the electronic musical instrument 200 is received in step S62, and it is determined in step S63 whether the reception process is completed. If the receiving process has not been completed, step S6
Returning to step 1, the receiving process is repeated. When the receiving process is completed, the BUSY FLG is set to “0” and the flag RX END FLG is set to “1” in step S64, and the process returns to step S53.

【0072】ステップS58でフラグINST ON
RCVが「1」でないときは、電子楽器200が非接続
状態にあるということだから、ステップS65でI/F
異常アラーム処理を行ない、ステップS66でBUSY
FLGを「0」とし、フラグRX END FLGを
「1」として、ステップS53に戻る。ステップS61
でフラグINST ON RCVが「1」でないとき
も、同様にステップS65に進む。
At step S58, the flag INST is turned on.
If the RCV is not “1”, it means that the electronic musical instrument 200 is in a non-connection state.
Abnormal alarm processing is performed, and BUSY is determined in step S66.
FLG is set to “0”, and the flag RX END FLG is set to “1”, and the process returns to step S53. Step S61
If the flag INST ON RCV is not "1", the process also proceeds to step S65.

【0073】ステップS57で音色データ送信要求イベ
ントでないときは、ステップS67で音色データ編集イ
ベントがあるか否か判別する。音色データ編集イベント
があるときは、ステップS68でフラグRX END
FLGが「1」か否か判別する。フラグRX END
FLGが「1」なら、編集すべき音色データの受信が既
に終了しているから、ステップS69でイベントに応じ
た音色データ編集処理を行なう。
If the event is not a tone data transmission request event in step S57, it is determined in step S67 whether there is a tone data editing event. If there is a tone data editing event, the flag RX END is set in step S68.
It is determined whether or not FLG is “1”. Flag RX END
If the FLG is "1", the reception of the tone color data to be edited has already been completed, so that the tone color data editing process corresponding to the event is performed in step S69.

【0074】そして、ステップS70でフラグBUSY
FLGを「1」とし、ステップS71でフラグINS
T ON RCVが「1」であるか否か判別する。フラ
グINST ON RCVが「1」のときは、電子楽器
200が正常に接続されているということであるから、
ステップS72で編集した音色データを電子楽器200
に送信する処理を行ない、ステップS73で送信処理が
終了したか否か判別する。送信処理が終了していなけれ
ば、ステップS71に戻って送信処理を繰り返す。送信
処理が終了したら、ステップS74で、BUSY FL
Gを「0」とし、ステップS53に戻る。
Then, in step S70, the flag BUSY
FLG is set to “1”, and the flag INS is set in step S71.
It is determined whether or not T ON RCV is “1”. When the flag INST ON RCV is “1”, it means that the electronic musical instrument 200 is normally connected.
The tone data edited in step S72 is stored in the electronic musical instrument 200.
Is performed, and it is determined in step S73 whether the transmission process has been completed. If the transmission process has not been completed, the process returns to step S71 to repeat the transmission process. When the transmission process is completed, in step S74, the BUSY FL
G is set to “0”, and the process returns to step S53.

【0075】ステップS71でフラグINST ON
RCVが「1」でないときは、電子楽器200が非接続
状態にあるということだから、ステップS65に進み、
I/F異常アラーム処理を行なう。
At step S71, the flag INST is turned on.
If the RCV is not “1”, it means that the electronic musical instrument 200 is in the non-connection state.
Performs I / F abnormality alarm processing.

【0076】ステップS67で音色データ編集イベント
でないときは、そのままステップS53に戻る。また、
ステップS68でフラグRX END FLGが「1」
でないときも、ステップS53に戻る。なお、ステップ
S68でフラグRX ENDFLGが「1」でないとい
うことは、電子楽器200から送信された音色データの
受信が終了していないのに、音色データ編集イベントが
あったということであるから、その旨を示すアラームを
発行するようにしてもよい。
If it is determined in step S67 that the event is not a tone color data editing event, the process directly returns to step S53. Also,
In step S68, the flag RX END FLG is set to “1”.
If not, the process returns to step S53. The fact that the flag RX ENDFLG is not “1” in step S68 means that the timbre data editing event has occurred even though the reception of the timbre data transmitted from the electronic musical instrument 200 has not been completed. Alternatively, an alarm indicating the effect may be issued.

【0077】次に、図5のフローチャートを参照して、
音色データ編集装置300のタイマ割込みルーチンを説
明する。音色データ編集装置300では、所定の時間間
隔ごとに、本タイマ割込みルーチンが実行される。
Next, referring to the flowchart of FIG.
A timer interrupt routine of the timbre data editing device 300 will be described. In the timbre data editing device 300, the timer interrupt routine is executed at predetermined time intervals.

【0078】タイマ割込みルーチンでは、まずステップ
S41でフラグBUSY FLGが「1」か否か判別す
る。フラグBUSY FLGが「1」なら、ステップS
42でフラグINST ON RCVが「0」か否か判
別する。フラグINST ON RCVが「0」なら、
電子楽器200が非接続状態にあるということだから、
ステップS43でI/F異常アラーム処理を行なうとと
もに、フラグBUSYFLGを「0」とし、フラグRX
END FLGを「0」として、リターンする。
In the timer interrupt routine, first, in a step S41, it is determined whether or not the flag BUSY FLG is "1". If the flag BUSY FLG is “1”, step S
At 42, it is determined whether or not the flag INST ON RCV is "0". If the flag INST ON RCV is “0”,
Since the electronic musical instrument 200 is not connected,
In step S43, the I / F abnormality alarm process is performed, the flag BUSYFLG is set to "0", and the flag RX
END FLG is set to “0” and the process returns.

【0079】ステップS41でフラグBUSY FLG
が「1」でないとき、あるいはステップS42でフラグ
INST ON RCVが「0」でないときは、そのま
まリターンする。
At step S41, the flag BUSY FLG
Is not "1", or if the flag INST ON RCV is not "0" in step S42, the routine returns.

【0080】なお、上記実施例では、電源の寸断による
異常を検出するようにしているが、他の異常に適用して
もよい。また、音色データを編集する例を説明したが、
他の楽音パラメータの編集に適用してもよいし、自動演
奏装置における演奏データの編集にも適用することがで
きる。また、編集装置としてパーソナルコンピュータを
用いてもよい。。
In the above embodiment, the abnormality caused by the disconnection of the power supply is detected, but the invention may be applied to other abnormalities. Also, the example of editing the tone data has been described,
The present invention may be applied to the editing of other musical tone parameters or to the editing of performance data in an automatic performance device. Further, a personal computer may be used as the editing device. .

【0081】[0081]

【発明の効果】以上説明したように、本発明によれば、
楽音信号発生装置と楽音パラメータ編集装置とで、互い
に接続状態をチェックするようにしているので、一方の
装置に電源の寸断などの異常が発生した場合でも、相互
の装置で編集データが食い違うなどの不都合を回避する
ことができる。
As described above, according to the present invention,
The tone signal generator and tone parameter editor check the connection with each other, so even if an error such as a power failure occurs in one of the devices, the editing data may be different between the devices. Inconvenience can be avoided.

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

【図1】この発明の一実施例に係る楽音パラメータ編集
システムにおける立上げ動作の概要を示す図
FIG. 1 is a diagram showing an outline of a start-up operation in a tone parameter editing system according to an embodiment of the present invention;

【図2】本実施例のシステムのブロック構成図およびイ
ンターフェース部の内部レジスタの概要図
FIG. 2 is a block diagram of a system according to the embodiment and a schematic diagram of an internal register of an interface unit;

【図3】電子楽器の動作手順を説明するためのフローチ
ャート図
FIG. 3 is a flowchart for explaining the operation procedure of the electronic musical instrument.

【図4】電子楽器のI/Fチェックおよびタイマ割込み
処理ルーチンのフローチャート図
FIG. 4 is a flowchart of an I / F check and timer interrupt processing routine of the electronic musical instrument;

【図5】音色データ編集装置のタイマ割込み処理ルーチ
ンのフローチャート図
FIG. 5 is a flowchart of a timer interrupt processing routine of the timbre data editing device.

【図6】音色データ編集装置の動作手順を説明するため
のフローチャート図
FIG. 6 is a flowchart for explaining the operation procedure of the tone color data editing device.

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

200…電子楽器、、201…中央処理装置(CP
U)、202…プログラムROM/RAM、203…音
色データメモリ、204…発音音色データバッファ(T
BUF)、205…演奏操作子、206…音色選択操作
子および表示部、207…楽音発生部、208…インタ
ーフェース部、209…電源、210…バスライン、3
00…音色データ編集装置、301…CPU、302…
プログラムROM/RAM、303…音色データエディ
ットメモリ、304…インターフェース部、305…音
色データ編集操作子、306…表示部、307…電源、
308…バスライン。
200: electronic musical instrument, 201: central processing unit (CP
U), 202: Program ROM / RAM, 203: Tone data memory, 204: Tone tone data buffer (T
BUF), 205: performance operator, 206: tone selection operator and display unit, 207: tone generator, 208: interface unit, 209: power supply, 210: bus line, 3
00: tone data editing device, 301: CPU, 302 ...
Program ROM / RAM, 303: tone data edit memory, 304: interface unit, 305: tone data editing operator, 306: display unit, 307: power supply,
308 ... Bus line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 武田 文光 静岡県浜松市中沢町10番1号ヤマハ株式 会社内 (72)発明者 大貝 洋一郎 静岡県浜松市中沢町10番1号ヤマハ株式 会社内 (56)参考文献 特開 平2−15300(JP,A) 実開 昭63−10645(JP,U) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 G10H 1/24 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Fumiko Takeda 10-1 Nakazawa-cho, Hamamatsu-shi, Shizuoka Yamaha Corporation (72) Inventor Yoichiro Ogai 10-1 Nakazawa-cho, Hamamatsu-shi, Shizuoka Yamaha Corporation (56) References JP-A-2-15300 (JP, A) JP-A-63-10645 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) G10H 1/00 G10H 1 / twenty four

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】相互に接続された楽音信号発生装置と楽音
パラメータ編集装置とを備えた楽音パラメータ編集シス
テムであって、 前記楽音信号発生装置は、 楽音パラメータを格納した記憶手段と、 前記記憶手段の楽音パラメータを用いて楽音を発生する
楽音発生手段と、 前記記憶手段に格納された楽音パラメータを、前記楽音
パラメータ編集装置に送信する送信手段と、 前記楽音パラメータ編集装置から送信された楽音パラメ
ータを受信して、前記記憶手段に格納する受信手段と、前記送信手段による楽音パラメータの送信または前記受
信手段による楽音パラメータの受信が行なわれているか
否かを判断し、前記送信または受信が行なわれていると
きは 当該楽音信号発生装置と前記楽音パラメータ編集装
置とが正常な接続状態にあるか否かを判別するととも
に、異常が検出されたときにはその異常発生を通知する
手段とを備え、 前記楽音パラメータ編集装置は、 前記楽音信号発生装置から送信される楽音パラメータを
受信する受信手段と、 受信した楽音パラメータを編集する編集手段と、 編集した楽音パラメータを前記楽音信号発生装置に送信
する送信手段と、前記受信手段による楽音パラメータの受信または前記送
信手段による楽音パラメータの送信が行なわれているか
否かを判断し、前記受信または送信が行なわれていると
きは 当該楽音パラメータ編集装置と前記楽音信号発生装
置とが正常な接続状態にあるか否かを判別するととも
に、異常が検出されたときにはその異常発生を通知する
手段とを備えたことを特徴とする楽音パラメータ編集シ
ステム。
1. A musical tone parameter editing system comprising a musical tone signal generating device and a musical tone parameter editing device connected to each other, wherein the musical tone signal generating device comprises: a storing means for storing musical tone parameters; and the storing means. A tone generating means for generating a tone using the tone parameters of the following, a sending parameter for sending the tone parameters stored in the storage means to the tone parameter editing apparatus, and a tone parameter transmitted from the tone parameter editing apparatus. Receiving means for receiving and storing in the storage means; and transmitting or receiving the tone parameter by the transmitting means.
Whether the tone parameter is received by the communication means
Judge whether or not the transmission or reception has been performed.
Together can discriminates whether with the musical tone signal generating apparatus and the musical sound parameter editing apparatus is in a normal connection state, and means for notifying the abnormality when the abnormality is detected, editing the musical tone parameter device includes receiving means for receiving a musical tone parameter transmitted from the musical tone signal generating device, and editing means for editing the musical tone parameters received, transmitting means for transmitting the musical tone parameters edited on the musical tone signal generating apparatus, wherein Receiving or transmitting the tone parameter by the receiving means
Transmission of tone parameters by communication means
Judge whether or not the reception or transmission has been performed.
Together can discriminates whether said with the tone parameter editing apparatus musical tone signal generating apparatus is in a normal connection state, when an abnormality is detected and characterized by a means for notifying the abnormality occurrence Music parameter editing system.
【請求項2】相互に接続された楽音信号発生装置と楽音2. A musical tone signal generator and musical tone connected to each other.
パラメータ編集装置とを備えた楽音パラメータ編集シスMusic parameter editing system with parameter editing device
テムであって、System 前記楽音信号発生装置は、The tone signal generator, 楽音パラメータを格納した記憶手段と、Storage means for storing musical tone parameters; 前記記憶手段の楽音パラメータを用いて楽音を発生するGenerating a musical tone using the musical tone parameter of the storage means
楽音発生手段と、Musical sound generating means, 前記記憶手段に格納された楽音パラメータを、前記楽音The tone parameters stored in the storage means
パラメータ編集装置に送信する送信手段と、Transmitting means for transmitting to the parameter editing device; 前記楽音パラメータ編集装置から送信された楽音パラメThe tone parameter transmitted from the tone parameter editing device.
ータを受信して、前記記憶手段に格納する受信手段とをReceiving means for receiving data and storing the data in the storage means.
備え、Prepared, 前記楽音パラメータ編集装置は、The musical tone parameter editing device, 前記楽音信号発生装置から送信される楽音パラメータをThe tone parameters transmitted from the tone signal generator are
受信する受信手段と、Receiving means for receiving, 受信した楽音パラメータを編集する編集手段と、Editing means for editing the received musical tone parameters; 前記編集手段によって楽音パラメータが編集されたことThe tone parameters have been edited by the editing means.
に応じて該編集された楽音パラメータを自動的に前記楽Automatically edits the musical tone parameters according to the
音信号発生装置に送信する送信手段と、Transmitting means for transmitting to the sound signal generating device; 前記送信手段における楽音パラメータ送信時に当該楽音When the tone parameter is transmitted by the transmission means,
パラメータ編集装置と前記楽音信号発生装置とが正常なIf the parameter editing device and the tone signal generator are normal
接続状態にあるか否かを判別するとともに、異常が検出Determines whether a connection is established or not, and detects an error
されたときにはその異常発生を通知する通知手段とを備Notification means for notifying the occurrence of an abnormality when
えたことを特徴とする楽音パラメータ編集システム。A tone parameter editing system characterized by the following.
JP05286136A 1993-10-20 1993-10-20 Music parameter editing system Expired - Fee Related JP3079526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05286136A JP3079526B2 (en) 1993-10-20 1993-10-20 Music parameter editing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05286136A JP3079526B2 (en) 1993-10-20 1993-10-20 Music parameter editing system

Publications (2)

Publication Number Publication Date
JPH07121159A JPH07121159A (en) 1995-05-12
JP3079526B2 true JP3079526B2 (en) 2000-08-21

Family

ID=17700403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05286136A Expired - Fee Related JP3079526B2 (en) 1993-10-20 1993-10-20 Music parameter editing system

Country Status (1)

Country Link
JP (1) JP3079526B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3520549B2 (en) 1994-02-18 2004-04-19 ヤマハ株式会社 Electronic musical instruments and electronic musical instrument editing systems

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3094900B2 (en) * 1996-02-20 2000-10-03 ヤマハ株式会社 Network device and data transmission / reception method
JP3159055B2 (en) * 1996-05-16 2001-04-23 ヤマハ株式会社 Communications system
JP5703543B2 (en) * 2009-04-02 2015-04-22 カシオ計算機株式会社 Electronic musical instrument, method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3520549B2 (en) 1994-02-18 2004-04-19 ヤマハ株式会社 Electronic musical instruments and electronic musical instrument editing systems

Also Published As

Publication number Publication date
JPH07121159A (en) 1995-05-12

Similar Documents

Publication Publication Date Title
US5351041A (en) Method of data communication in communication network on automobile
US6567175B1 (en) Device and method for changing printer drivers in a computer-printer system
JP3079526B2 (en) Music parameter editing system
JPH09162782A (en) Unit changeover device
US5249299A (en) Information processing system having diagnostic processor for detecting failures in the diagnostic processor itself and performing retries upon failure detection
US20060179200A1 (en) Computer, IO expansion device and method for recognizing connection of IO expansion device
JPH0750684A (en) Communication control method
JP2000040040A (en) Data communication device and storage medium storing program
JP3190880B2 (en) Standby system, standby method, and recording medium
JP3109110B2 (en) Communication device and communication method
JP3156102B2 (en) Power system information input method and device
JPH09288637A (en) Re-connection system for peripheral device and interface device
JPH05303540A (en) Information processor
JP3860325B2 (en) COMMUNICATION DETERMINING METHOD, HOST USED FOR THE SAME, MULTIPLE TERMINAL DEVICES, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP4033935B2 (en) Data communication system
JP2676609B2 (en) Data transmission method
KR100298234B1 (en) Communication method between multiple subsystems and apparatus
JP3022971B2 (en) Terminal control failure monitoring method in electronic exchange
JP2699291B2 (en) Power failure processing device
JP3179855B2 (en) Terminal function setting device for remote monitoring and control system
JPH08195787A (en) Communication system
JP2640784B2 (en) Center network controller
JP2666868B2 (en) Communication method between auxiliary device and handheld communicator
CN115934736A (en) Data docking method, device, equipment and storage medium
JPH0588995A (en) Data communication system

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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080623

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110623

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120623

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120623

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130623

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees