JP3460230B2 - Electronic musical instrument system - Google Patents

Electronic musical instrument system

Info

Publication number
JP3460230B2
JP3460230B2 JP02571892A JP2571892A JP3460230B2 JP 3460230 B2 JP3460230 B2 JP 3460230B2 JP 02571892 A JP02571892 A JP 02571892A JP 2571892 A JP2571892 A JP 2571892A JP 3460230 B2 JP3460230 B2 JP 3460230B2
Authority
JP
Japan
Prior art keywords
musical instrument
electronic musical
data
control
communication line
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
JP02571892A
Other languages
Japanese (ja)
Other versions
JPH05188935A (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 JP02571892A priority Critical patent/JP3460230B2/en
Publication of JPH05188935A publication Critical patent/JPH05188935A/en
Application granted granted Critical
Publication of JP3460230B2 publication Critical patent/JP3460230B2/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 uses a general-purpose personal computer or the like as a predetermined program (performance software).
The present invention relates to an electronic musical instrument system that operates as an automatic musical instrument such as a sequencer, an automatic accompaniment apparatus, or an automatic rhythm musical instrument, and controls an external electronic musical instrument (sound source module or the like) to perform an automatic musical instrument.

【0002】[0002]

【従来の技術】最近、汎用のパーソナルコンピュータ等
を用いて、演奏音データ等のMIDI信号を発生し、そ
のMIDI信号に基づいて動作する電子楽器(音源モジ
ュール)で演奏音を再生する電子楽器システムが新たな
楽音演奏装置として注目されている。このような電子楽
器システムは、それぞれ別個独立のシステムであるパー
ソナルコンピュータと音源モジュールとを通信回線を介
して接続することによって構成されている。従って、パ
ーソナルコンピュータを自動演奏装置として動作させる
ための複数の演奏用ソフトウェアと、複数の音源モジュ
ールとを適宜組み合わせることによって、種々の電子楽
器システムを構成することができる。
2. Description of the Related Art Recently, an electronic musical instrument system in which a general-purpose personal computer or the like is used to generate a MIDI signal such as performance sound data and an electronic musical instrument (sound source module) that operates based on the MIDI signal reproduces the performance sound. Is attracting attention as a new musical tone playing device. Such an electronic musical instrument system is configured by connecting a personal computer, which is an independent system, and a sound source module via a communication line. Therefore, various electronic musical instrument systems can be configured by appropriately combining a plurality of performance software for operating a personal computer as an automatic performance device and a plurality of tone generator modules.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、現在の
電子楽器システムでは、音源モジュールはパーソナルコ
ンピュータで処理された演奏音データ等のMIDI信号
を入力し、それに応じて楽音発生処理を実行するだけで
ある。すなわち、音源モジュールはパーソナルコンピュ
ータからの制御信号(MIDI信号)によって制御され
るだけであり、パーソナルコンピュータ側を制御するこ
とはなかった。
However, in the present electronic musical instrument system, the tone generator module only inputs the MIDI signal such as the performance sound data processed by the personal computer and executes the tone generation processing in response thereto. . That is, the tone generator module was only controlled by the control signal (MIDI signal) from the personal computer, and did not control the personal computer side.

【0004】従って、音源モジュールは演奏音データ等
のMIDI信号をパーソナルコンピュータから入力する
だけで動作するので、複数の演奏用ソフトウェアの中か
ら適宜選択したものでパーソナルコンピュータの動作を
制御してやれば、どのような音源モジュールでも1個の
パーソナルコンピュータで自在に制御することができ
た。また、一般にソフトウェアはコピー処理によって全
く同じものを複数個作成できるので、1個の音源モジュ
ールに対して不正にコピーされた演奏用ソフトウェアを
適宜採用することも可能であった。これは、前述のよう
にそれぞれ独立のシステムであるパーソナルコンピュー
タと音源モジュールとの間を、MIDI信号という共通
の通信方式で接続しているからに他ならない。
Therefore, since the tone generator module operates only by inputting a MIDI signal such as performance sound data from the personal computer, if the operation of the personal computer is controlled by appropriately selecting from a plurality of performance software, which one will be used? Even such a sound source module could be freely controlled by one personal computer. Further, generally, a plurality of pieces of the same software can be created by a copying process, so that it is possible to appropriately employ the performance software illegally copied for one sound source module. This is because the personal computer and the sound source module, which are independent systems as described above, are connected by a common communication method called MIDI signal.

【0005】この発明は上述の点に鑑みてなされたもの
であり、通信回線を介して接続された電子楽器と制御装
置とからなる電子楽器システムにおいて、制御装置から
電子楽器への演奏データの供給を適切に制御することの
できる電子楽器システムを提供しようとするものであ
り、更には該電子楽器システムにおける制御装置及びそ
の制御方法を提供しようとするものである
The present invention has been made in view of the above points, and an electronic musical instrument and a control device connected through a communication line.
In the electronic musical instrument system consisting of
To properly control the supply of performance data to electronic musical instruments
To provide an electronic musical instrument system that can
In addition, a control device and its controller in the electronic musical instrument system.
It is intended to provide a control method of .

【0006】[0006]

【課題を解決するための手段】 この発明に係る電子楽
器システムは、通信回線によって互いに接続された電子
楽器と制御装置とからなる電子楽器システムであって、
前記制御装置は、前記電子楽器からの制御データを前記
通信回線を介して入力し、該制御データに基づき前記接
続された電子楽器の妥当性を判定する判定手段と、前記
判定手段で妥当と判定された場合、演奏データを発生さ
せる制御を行う制御手段と、前記制御手段の制御によっ
て発生された演奏データを前記通信回線を介して出力す
る出力手段とを具備し、前記電子楽器は、前記制御装置
からの前記演奏データを前記通信回線を介して入力し、
それに応じて楽音発生処理を行う楽音発生手段と、前記
制御装置の動作を制御するための制御データを発生させ
て前記通信回線を介して出力する出力手段とを具備する
ことを特徴とするものである。また、この発明に係る制
御方法は、通信回線によって互いに接続された電子楽器
と制御装置とからなる電子楽器システムの制御方法であ
って、前記電子楽器からの制御データを前記通信回線を
介して前記制御装置に入力するステップと、前記制御装
置に入力された制御データに基づき、前記接続された電
子楽器の妥当性を判定する判定ステップと、前記判定ス
テップで妥当と判定された場合、演奏データを発生させ
る制御を前記制御装置で行う制御ステップと、前記制御
ステップの制御によって発生された演奏データを前記通
信回線を介して出力する出力ステップと、前記出力ステ
ップで出力された演奏データを前記通信回線を介して前
記電子楽器に入力するステップとを具備することを特徴
とする。
An electronic musical instrument system according to the present invention is an electronic musical instrument system including an electronic musical instrument and a control device, which are connected to each other by a communication line.
Wherein the control device, the control data from the electronic musical instrument to enter through the communication line, the contact on the basis of the control data
A judging means for judging the validity of the connection electronic musical instrument, the
If it is judged to be valid by the judgment means, performance data is generated.
And control means for performing control to, depending on the control of the control means
The generated performance data is output via the communication line.
The electronic musical instrument receives the performance data from the control device via the communication line,
It is characterized by comprising musical tone generating means for performing musical tone generating processing in response thereto and output means for generating control data for controlling the operation of the control device and outputting the control data via the communication line. is there. In addition, the system according to the present invention
The method is electronic musical instruments connected to each other by a communication line.
And a control device for controlling an electronic musical instrument system.
The control data from the electronic musical instrument is transmitted to the communication line.
Input to the control device via the
Based on the control data input to the
A determination step for determining the validity of the sub-instrument ,
If it is judged to be valid at the step, the performance data is generated.
Control step of performing control by the control device,
The performance data generated by the step control is
The output step of outputting through the signal line and the output step
The performance data output by the
And a step of inputting to the electronic musical instrument.
And

【0007】[0007]

【作用】 この発明に係る電子楽器システムは、通信回
線によって接続された制御装置と電子楽器とから構成さ
れる。電子楽器は、制御装置の動作を制御するための制
御データを発生させて通信回線を介して出力する出力手
段を具備し、制御装置は、電子楽器からの制御データを
通信回線を介して入力し、該制御データに基づき該接続
された電子楽器の妥当性を判定する判定手段を具備して
いる。制御装置の制御手段では前記判定手段により前
記接続された電子楽器が妥当なものと判定された場合
演奏データを発生させる制御を行う発生された演奏デ
ータ通信回線を介して出力される。電子楽器は、この
制御装置からの演奏データを通信回線を介して入力し、
それに応じた楽音発音処理を行う。このように、制御装
置では、電子楽器から通信回線を介して与えられる制御
データに基づき該接続された電子楽器の妥当性を判定
、妥当と判定された場合に当該制御装置により演奏デ
ータを発生するよう制御するので、通信回線によって接
続された制御装置と電子楽器との関係に妥当性がある場
合のみ、つまり、正常な関係であるとき、制御装置を動
作させて演奏データを出力させ、該演奏データに基づく
楽音を電子楽器の楽音発生手段で発生させることができ
るものであり、こうして、例えば不正コピーされた演奏
用プログラムに基づく動作をさせないなど、セキュリテ
ィを確保することができる。
The electronic musical instrument system according to the present invention is composed of a control device and an electronic musical instrument connected by a communication line. The electronic musical instrument has an output means for generating control data for controlling the operation of the control device and outputting the control data via the communication line . The control device inputs the control data from the electronic musical instrument via the communication line. , The connection based on the control data
The electronic musical instrument is provided with a determining means for determining the validity of the electronic musical instrument . The control means of the control device, before the said determining means
If the serial connected electronic musical instrument is determined to be reasonable,
Performs control to generate performance data . Performance data is generated Ru is output via the communication line. The electronic musical instrument inputs performance data from this control device through a communication line,
The musical tone pronunciation processing corresponding to it is performed. Thus, in the control device, playing de when determining the connected validity of the electronic musical instrument based on the control data supplied via the communication line from the electronic musical instrument, it is determined to be valid by the control device
Since it controls to generate the performance data, only when the relationship between the control device connected by the communication line and the electronic musical instrument is valid, that is, when the relationship is normal, the control device is operated to play the performance data. The musical tone generation means of the electronic musical instrument can output the generated musical tone and generate musical tone based on the musical performance data. In this way, security can be ensured by, for example, not performing an operation based on the illegally copied musical performance program. .

【0008】 例えば、従来は電子楽器は、MIDI信
号を受信することによって、そのMIDI信号の指示通
りに動作していたが、この発明では、電子楽器の側から
制御データを出力することによって、逆に制御装置側の
動作を制御することができる。これによって、制御装置
を自動演奏装置として動作させる演奏用ソフトウェア
と、その制御装置からの演奏データによって動作する電
子楽器とのシステムを考えた場合、正しい組み合わせに
おいては、制御装置における演奏用ソフトウェアが電子
楽器からの制御データ(電子楽器自身の機種コードな
ど)に基づき当該電子楽器が妥当性ありと判定するので
正常に動作するのに対し、例えば不正コピーした演奏用
ソフトウェアをそれとは正しく対応していない電子楽器
との組み合わせで使うシステムにおいては、制御装置に
おいて電子楽器からの制御データに基づき当該電子楽器
が妥当性ありと判定しないので、正常な動作でないとし
て当該制御装置を動作させないようにし、もって電子楽
器システムとしての動作を中止させることができる。
For example, conventionally, an electronic musical instrument operates according to an instruction of the MIDI signal by receiving the MIDI signal. However, in the present invention, the control data is output from the side of the electronic musical instrument to reverse the operation. It is possible to control the operation of the control device side. Thus, when considering a system of performance software that causes the control device to operate as an automatic performance device and an electronic musical instrument that operates according to performance data from the control device, in the correct combination, the performance software in the control device is electronic. The electronic musical instrument operates normally because it is determined to be valid based on the control data (such as the model code of the electronic musical instrument itself) from the musical instrument , whereas the illegally copied performance software does not correspond correctly. In a system used in combination with an electronic musical instrument, the control device does not determine that the electronic musical instrument is valid based on the control data from the electronic musical instrument, so that the control device should not be operated because it is not a normal operation. Therefore, the operation of the electronic musical instrument system can be stopped. .

【0009】[0009]

【実施例】以下、添付図面を参照してこの発明の一実施
例を詳細に説明する。図1はこの発明に係る電子楽器シ
ステムの概略構成を示すブロック図である。この例で
は、コンピュータ1は汎用のパーソナルコンピュータ等
で構成され、プログラム記憶手段1a、コンピュータ制
御手段1b、MIDI出力手段1c及びMIDI入力手
段1dから構成される。この他にも種々の構成要素があ
るが説明の便宜上それらについては省略してある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument system according to the present invention. In this example, the computer 1 is composed of a general-purpose personal computer or the like, and is composed of a program storage means 1a, a computer control means 1b, a MIDI output means 1c and a MIDI input means 1d. There are various other components, but they are omitted for convenience of explanation.

【0010】プログラム記憶手段1aは、フロッピーデ
ィスクやハードディスク等の記憶媒体で構成されてお
り、コンピュータ1を自動演奏装置として動作させるた
め演奏用のソフトウェアプログラムを記憶している。コ
ンピュータ制御手段1bは、マイクロプロセッサユニッ
ト(CPU)、ROM、データおよびワーキングRAM
を含むマイクロコンピュータシステムで構成され、プロ
グラム記憶手段1a内のプログラムに応じた処理、すな
わち自動演奏装置などの動作を実行する。自動演奏装置
として動作する場合は、キーオン情報、キーオフ情報、
ベロシティ情報等の各種演奏音データを作成してMID
I出力手段1cに出力する。
The program storage means 1a comprises a storage medium such as a floppy disk or a hard disk, and stores a performance software program for operating the computer 1 as an automatic performance device. The computer control means 1b includes a microprocessor unit (CPU), ROM, data and working RAM.
And a processing according to the program in the program storage means 1a, that is, an operation of the automatic performance device or the like. When operating as an automatic performance device, key-on information, key-off information,
Create various performance sound data such as velocity information and MID
It is output to the I output means 1c.

【0011】この時、プログラム記憶手段1a内の演奏
用プログラムには、MIDI回線を介して接続されてい
る電子楽器2の機種コードの送出を電子楽器2に要求す
るためのプログラムが内蔵されている。従って、コンピ
ュータ制御手段1bは、そのプログラムに従い機種コー
ド要求用のデータを電子楽器2側に送出する。
At this time, the performance program in the program storage means 1a contains a program for requesting the electronic musical instrument 2 to send the model code of the electronic musical instrument 2 connected via the MIDI line. . Therefore, the computer control means 1b sends the model code request data to the electronic musical instrument 2 side in accordance with the program.

【0012】また、コンピュータ制御手段1bは、MI
DI入力手段1dから電子楽器2の機種コードを入力
し、その機種コードが予め設定されていた機種コードと
同じであるかどうかを判定し、同じ場合にはそのまま楽
音演奏処理を続行し、機種コードが異なる場合には機種
コード不一致の警告を表示し、強制的に処理を終了す
る。
Further, the computer control means 1b has a MI
The model code of the electronic musical instrument 2 is input from the DI input means 1d, and it is determined whether the model code is the same as the preset model code. If the model code is the same, the musical tone playing process is continued and the model code is continued. If is different, a warning that the model code does not match is displayed and the process is forced to end.

【0013】MIDI出力手段1cは、コンピュータ制
御手段1bからの演奏音データをMIDI信号に変換し
てMIDI通信回線を介して電子楽器2のMIDI入力
手段2aに出力すると共に、機種コード要求用のデータ
をMIDI規格に合致するようなフォーマットに変換し
てMIDI入力手段2aに出力する。
The MIDI output means 1c converts the performance sound data from the computer control means 1b into a MIDI signal and outputs it to the MIDI input means 2a of the electronic musical instrument 2 via a MIDI communication line, and at the same time, model code request data. Is converted into a format conforming to the MIDI standard and output to the MIDI input means 2a.

【0014】MIDI出力手段1cは演奏音データをM
IDI信号に変換するものであるから、機種コード要求
用のデータ等は通常のMIDI変換処理ではMIDI信
号に変換できない。そこで、この実施例では、MIDI
規格の中のシステムエクスクルーシブメッセージ(SY
STEM EXCLUSIVE MESSAGES)を
利用して、機種コード要求用のデータをMIDI信号に
変換している。このシステムエクスクルーシブメッセー
ジはMIDI信号のメッセージの中でもメーカー間の互
換性がない、各社が自由に使用可能なメッセージであ
る。
The MIDI output means 1c converts the performance sound data into M
Since it is converted into an IDI signal, data for requesting a model code cannot be converted into a MIDI signal by a normal MIDI conversion process. Therefore, in this embodiment, MIDI
System exclusive message in standard (SY
STEM EXCLUSIVE MESSAGES) is used to convert model code request data into MIDI signals. This system exclusive message is a MIDI signal message that is not compatible between manufacturers and can be freely used by each company.

【0015】MIDI入力手段1dは、機種コード要求
用のデータを入力した電子楽器2のMIDI出力手段2
cから出力されたシステムエクスクルーシブメッセージ
のMIDI信号(機種コードを含む)を入力し、それを
元の機種コードデータに変換してコンピュータ制御手段
1bに出力する。
The MIDI input means 1d is the MIDI output means 2 of the electronic musical instrument 2 to which the data for model code request is inputted.
The MIDI signal (including the model code) of the system exclusive message output from c is input, it is converted to the original model code data, and it is output to the computer control means 1b.

【0016】電子楽器2は、電子オルガン、電子ピア
ノ、シンセサイザ、電子リズム楽器、電子管楽器、電子
弦楽器、電子打楽器等のそれぞれの楽器に対応した楽音
を発生するものであり、演奏制御手段2b、MIDI入
力手段2a及びMIDI出力手段2bから構成される。
この他にも種々の構成要素があるが説明の便宜上それら
については省略してある。
The electronic musical instrument 2 generates musical tones corresponding to respective musical instruments such as an electronic organ, an electronic piano, a synthesizer, an electronic rhythm musical instrument, an electronic wind instrument, an electronic stringed musical instrument, an electronic percussion musical instrument, and the performance control means 2b and MIDI. It is composed of an input means 2a and a MIDI output means 2b.
There are various other components, but they are omitted for convenience of explanation.

【0017】演奏制御手段2bは、マイクロプロセッサ
ユニット(CPU)、プログラムメモリ(ROM)、デ
ータおよびワーキングRAMを含むマイクロコンピュー
タシステムで構成されており、複数のチャンネルで楽音
信号の同時発生を行うことが可能であり、MIDI通信
回線及びMIDI入力手段2aを経由してきた演奏音デ
ータ(MIDI規格に準拠したデータ)に基づき楽音信
号を発生する。また、演奏制御手段2bは、MIDI通
信回線及びMIDI入力手段2aを経由して入力された
機種コード要求用のデータに基づき自己の機種コードデ
ータをMIDI出力手段2cに出力する。
The performance control means 2b is composed of a microcomputer system including a microprocessor unit (CPU), a program memory (ROM), data and a working RAM, and can simultaneously generate musical tone signals on a plurality of channels. It is possible to generate a musical tone signal based on performance tone data (data conforming to the MIDI standard) that has passed through the MIDI communication line and the MIDI input means 2a. Further, the performance control means 2b outputs its own model code data to the MIDI output means 2c based on the model code request data inputted via the MIDI communication line and the MIDI input means 2a.

【0018】演奏制御手段2bにおける楽音信号発生方
式はいかなるものを用いてもよい。例えば、発生すべき
楽音の音高に対応して変化するアドレスデータに応じて
波形メモリに記憶した楽音波形サンプル値データを順次
読み出すメモリ読み出し方式、又は上記アドレスデータ
を位相角パラメータデータとして所定の周波数変調演算
を実行して楽音波形サンプル値データを求めるFM方
式、あるいは上記アドレスデータを位相角パラメータデ
ータとして所定の振幅変調演算を実行して楽音波形サン
プル値データを求めるAM方式等の公知の方式を適宜採
用してもよい。演奏制御手段2bから発生された楽音信
号は、図示しないアンプ及びスピーカからなるサウンド
システムを介して発音される。
The musical tone signal generating method in the performance control means 2b may be any one. For example, a memory reading method for sequentially reading the musical tone waveform sample value data stored in the waveform memory according to the address data that changes corresponding to the pitch of the musical tone to be generated, or a predetermined frequency with the address data as phase angle parameter data. A well-known method such as an FM method for performing a modulation operation to obtain musical tone waveform sample value data or an AM method for performing a predetermined amplitude modulation operation using the address data as phase angle parameter data to obtain a tone waveform sample value data. You may employ suitably. The musical tone signal generated from the performance control means 2b is sounded through a sound system (not shown) including an amplifier and a speaker.

【0019】MIDI入力手段2aは、コンピュータ1
のMIDI出力手段1cから出力されたMIDI信号を
MIDI通信回線を介して入力し、そのMIDI信号を
元の演奏音データ及び機種コード要求用のデータに変換
して演奏制御手段2bに出力する。MIDI出力手段2
cは、演奏制御手段2bから出力された機種コードデー
タをMIDI規格に合致するようなフォーマットのMI
DI信号に変換してMIDI入力手段1dに出力する。
MIDI出力手段2cはコンピュータ1のMIDI出力
手段と同じように、MIDI規格の中のシステムエクス
クルーシブメッセージ(SYSTEM EXCLUSI
VE MESSAGES)を利用して、機種コードデー
タをMIDI信号に変換して出力している。
The MIDI input means 2a is a computer 1
The MIDI signal output from the MIDI output means 1c is input via the MIDI communication line, and the MIDI signal is converted into the original performance sound data and the data for model code request and output to the performance control means 2b. MIDI output means 2
c is an MI having a format such that the model code data output from the performance control means 2b conforms to the MIDI standard.
It is converted into a DI signal and output to the MIDI input means 1d.
The MIDI output means 2c is similar to the MIDI output means of the computer 1 in that it has a system exclusive message (SYSTEM EXCLUSI) in the MIDI standard.
VE MESSAGES) is used to convert the model code data into a MIDI signal for output.

【0020】以下、図1の電子楽器システムの動作を図
2及び図3のフローチャートを用いて説明する。図2
は、図1のコンピュータ1のコンピュータ制御手段1b
の処理の一例を示すフローチャート図である。以下、こ
の処理を各ステップ毎に説明する。
The operation of the electronic musical instrument system of FIG. 1 will be described below with reference to the flow charts of FIGS. Figure 2
Is a computer control means 1b of the computer 1 of FIG.
It is a flowchart figure which shows an example of the process of. Hereinafter, this process will be described step by step.

【0021】ステップ21:電源が投入されると、コン
ピュータ制御手段1bはイニシャライズ処理を実行し、
コンピュータ1を構成する全てのデータ及びワーキング
RAM、各種レジスタ及びフラグ等に初期値を設定す
る。 ステップ22:所定のイニシャライズ処理を行った後、
現在の処理モードが通常のシーケンス再生処理のモード
であるかどうかを判定し、シーケンス再生処理(YE
S)の場合は次のステップ23に進み、そうでない(N
O)場合はステップ29に進む。
Step 21: When the power is turned on, the computer control means 1b executes an initialization process,
Initial values are set for all data and working RAM, various registers, flags and the like that constitute the computer 1. Step 22: After performing a predetermined initialization process,
It is determined whether the current processing mode is the normal sequence reproduction processing mode, and the sequence reproduction processing (YE
If S), go to the next step 23, otherwise (N
If O), go to step 29.

【0022】ステップ23:シーケンスデータの中に予
め書き込まれている電子楽器の機種コードを読み取り、
所定のレジスタに書き込む。 ステップ24:機種コード要求信号を電子楽器2に送出
する。すなわち、コンピュータ制御手段1bから出力さ
れた機種コード要求信号は、MIDI出力手段1c、M
IDI通信回線及びMIDI入力手段2aを介して電子
楽器2の演奏制御手段2bに取り込まれる。
Step 23: Read the model code of the electronic musical instrument previously written in the sequence data,
Write to a given register. Step 24: Send a model code request signal to the electronic musical instrument 2. That is, the model code request signal output from the computer control means 1b is the MIDI output means 1c, M.
It is taken into the performance control means 2b of the electronic musical instrument 2 through the IDI communication line and the MIDI input means 2a.

【0023】ステップ25:前のステップ24で機種コ
ード要求信号を送出した時点から所定時間が経過したか
又は図3の電子楽器2の処理によって返送されてきた機
種コードとステップ23で予め読み取っておいた機種コ
ードとが不一致であるかどうかを判定し、所定時間経過
したか又は機種コード不一致(YES)の場合はステッ
プ26に進み、電子楽器2から所定時間内に機種コード
の返送があり、かつそれが一致した(NO)場合にはス
テップ28に進む。
Step 25: The predetermined time has elapsed from the time when the model code request signal was transmitted in the previous step 24, or the model code returned by the processing of the electronic musical instrument 2 in FIG. It is determined whether the model code does not match, and if the predetermined time has passed or if the model code does not match (YES), the process proceeds to step 26, and the model code is returned from the electronic musical instrument 2 within the predetermined time, and If they match (NO), the process proceeds to step 28.

【0024】ステップ26:前のステップ25で所定時
間内に機種コードが返送されなかったか、又は返送され
たとしてもそれが所定の機種コードでなかったので、機
種不一致の警告を表示手段(図示せず)に表示する。こ
れによって、コンピュータ1を動作させている演奏用プ
ログラムと電子楽器とは正常に対応していないことを操
作者に認識させる。 ステップ27:演奏用プログラムと電子楽器とが対応し
ていなかったので、これ以降の処理を強制的に終了させ
る。従って、演奏用プログラムが不法にコピーされたも
のである場合には、この電子楽器システムは動作しなく
なる。
Step 26: Since the model code was not returned within the predetermined time in the previous Step 25, or even if it was returned, it was not the predetermined model code, a warning of model mismatch is displayed on the display means (not shown). Displayed). As a result, the operator is made aware that the playing program operating the computer 1 and the electronic musical instrument do not normally correspond. Step 27: Since the performance program and the electronic musical instrument do not correspond to each other, the subsequent processing is forcibly terminated. Therefore, if the playing program is illegally copied, the electronic musical instrument system will not operate.

【0025】ステップ28:前のステップ25で電子楽
器2から所定時間内に機種コードの返送があり、かつそ
れが一致していたので、以降の処理によって発生される
シーケンスデータを順次電子楽器2に送出し、自動演奏
処理を実行する。 ステップ29:シーケンスデータ以外のその他の処理を
実行する。
Step 28: Since the model code was returned from the electronic musical instrument 2 within the predetermined time in the previous step 25, and the model codes coincided with each other, the sequence data generated by the subsequent processing is sequentially transferred to the electronic musical instrument 2. Send out and execute automatic performance processing. Step 29: Execute other processing other than the sequence data.

【0026】図3は図2の電子楽器2の演奏制御手段2
bの処理の一例を示すフローチャート図である。以下、
この処理を各ステップ毎に説明する。 ステップ31:電子楽器2の電源が投入されると、演奏
制御手段2bはイニシャライズ処理を実行し、電子楽器
内の全てのデータ及びワーキングRAM、各種レジスタ
及びフラグ等に初期値を設定する。 ステップ32:MIDI通信回線及びMIDI入力手段
2aを介してコンピュータ1から次々と入力されるMI
DI信号に応じて発音処理を実行する。 ステップ33:図示していない電子楽器2の各種操作子
の操作状態に応じた処理を実行する。
FIG. 3 shows performance control means 2 of the electronic musical instrument 2 shown in FIG.
It is a flowchart figure which shows an example of the process of b. Less than,
This process will be described step by step. Step 31: When the power of the electronic musical instrument 2 is turned on, the performance control means 2b executes an initialization process to set initial values in all data and working RAM, various registers and flags in the electronic musical instrument. Step 32: MI input from the computer 1 one after another via the MIDI communication line and the MIDI input means 2a.
Sound generation processing is executed according to the DI signal. Step 33: Execute processing according to the operating states of various operators of the electronic musical instrument 2 (not shown).

【0027】ステップ34:MIDI入力手段2aがコ
ンピュータ側のMIDI出力手段1cからMIDI信号
を受信したかどうかを判定し、受信した(YES)場合
はステップ35に進み、受信していない(NO)場合は
ステップ38に進む。 ステップ35:前のステップ34でMIDI信号を受信
したと判定したので、そのMIDI信号が図2のステッ
プ24の機種コード(機種名)要求信号であるかどうか
を判定し、機種コード要求信号(YES)の場合はステ
ップ36に進み、そうでない(NO)場合はステップ3
7に進む。
Step 34: It is judged whether or not the MIDI input means 2a receives the MIDI signal from the MIDI output means 1c on the computer side. If the MIDI signal is received (YES), the processing proceeds to step 35, and if not (NO). Proceeds to step 38. Step 35: Since it is determined that the MIDI signal is received in the previous step 34, it is determined whether or not the MIDI signal is the model code (model name) request signal of step 24 in FIG. 2, and the model code request signal (YES ), Proceed to step 36, otherwise (NO), step 3
Proceed to 7.

【0028】ステップ36:機種コードをMIDI規格
のエクスクルーシブとしてMIDI出力手段2cを介し
てコンピュータ1のMIDI入力手段1dに出力する。 ステップ37:ステップ35でMIDI信号が機種コー
ド要求信号でないと判定されたので、そのMIDI信号
に対応した処理を実行する。 ステップ38:その他の各種イベント処理等を実行す
る。
Step 36: The model code is output to the MIDI input means 1d of the computer 1 via the MIDI output means 2c as an exclusive MIDI standard. Step 37: Since it is determined in step 35 that the MIDI signal is not the model code request signal, the processing corresponding to the MIDI signal is executed. Step 38: Execute other various event processes and the like.

【0029】以上のように、図1の電子楽器システムで
は、予めシーケンスデータ内に格納されている機種コー
ドと電子楽器2の機種コードとが一致しない限り、動作
しないようになっているので、コンピュータ1を動作さ
せるソフトウェアがコピーされたものであっても電子楽
器の機種コードが一致していない限り、電子楽器システ
ムは動作することはない。すなわち、ソフトウェアと電
子楽器とは物理的には分離可能であるが、両者を電子楽
器システムとして動作させる場合には両者は一体不可分
の関係にあると言える。
As described above, the electronic musical instrument system of FIG. 1 does not operate unless the model code stored beforehand in the sequence data and the model code of the electronic musical instrument 2 match. Even if the software for operating 1 is copied, the electronic musical instrument system will not operate unless the model codes of the electronic musical instruments match. That is, the software and the electronic musical instrument can be physically separated from each other, but when they are operated as an electronic musical instrument system, they can be said to be inseparable from each other.

【0030】図4はこの発明に係る電子楽器システムの
他の実施例の概略構成を示すブロック図である。図4に
おいて図1と同じ構成のものには同一の符号が付してあ
るので、その説明は省略する。図1の実施例では、電子
楽器の機種コードを要求して、それがシーケンスデータ
に予め設定されている機種コードと一致した場合には、
コンピュータ制御手段1bはコンピュータ1側のソフト
ウェアと電子楽器2の機種とが正常に対応していると判
断し、シーケンスデータに基づいて、自動演奏処理を実
行している。従って、シーケンスデータ内の機種コード
を変更したりすることによって、容易に異なる電子楽器
を接続することが可能となる。そこで、図4の実施例で
は、コンピュータ制御手段1B及び演奏制御手段2Bに
共通の暗号化手段を設け、両者の暗号化手段による暗号
化処理が一致した場合には両者は正常に対応していると
判断するようにした。
FIG. 4 is a block diagram showing the schematic construction of another embodiment of the electronic musical instrument system according to the present invention. In FIG. 4, the same components as those in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted. In the embodiment of FIG. 1, when the model code of the electronic musical instrument is requested, and it matches the model code preset in the sequence data,
The computer control means 1b determines that the software on the computer 1 side and the model of the electronic musical instrument 2 normally correspond, and executes the automatic performance processing based on the sequence data. Therefore, different electronic musical instruments can be easily connected by changing the model code in the sequence data. Therefore, in the embodiment of FIG. 4, a common encryption means is provided for the computer control means 1B and the performance control means 2B, and when the encryption processing by both encryption means is the same, both are normally handled. I decided to judge.

【0031】図4の実施例では、コンピュータ制御手段
1bは、図1のものと同様にマイクロプロセッサユニッ
ト(CPU)、プログラムメモリ(ROM)、データお
よびワーキングRAMを含むマイクロコンピュータシス
テムで構成され、プログラム記憶手段1a内のプログラ
ムに応じた処理を実行する。
In the embodiment shown in FIG. 4, the computer control means 1b is composed of a microcomputer system including a microprocessor unit (CPU), a program memory (ROM), data and a working RAM, as in FIG. The processing according to the program in the storage unit 1a is executed.

【0032】この実施例の場合、コンピュータ制御手段
1bは、プログラム記憶手段1a内の演奏用プログラム
に応じて乱数発生手段1e、暗号化手段1f、比較手段
1g及び進行制御手段1hを新たに構成するようになっ
ている。乱数発生手段1eは、プログラム記憶手段1a
内の演奏用プログラムに応じて乱数データを発生し、そ
れを暗号化手段1f及びMIDI出力手段1cに出力す
る。
In the case of this embodiment, the computer control means 1b newly comprises a random number generation means 1e, an encryption means 1f, a comparison means 1g and a progress control means 1h according to the performance program in the program storage means 1a. It is like this. The random number generation means 1e is the program storage means 1a.
Random number data is generated according to the performance program therein and is output to the encryption means 1f and the MIDI output means 1c.

【0033】MIDI出力手段1cは、コンピュータ制
御手段1bからの演奏音データをMIDI信号に変換し
て電子楽器2のMIDI入力手段2aに出力すると共
に、乱数発生手段1eからの乱数データをMIDI規格
に合致するようなフォーマットのMIDI信号に変換し
てMIDI入力手段2aに出力する。MIDI出力手段
1cは図1のものと同様にMIDI規格の中のシステム
エクスクルーシブメッセージ(SYSTEM EXCL
USIVE MESSAGES)を利用して、乱数デー
タをMIDI信号に変換している。
The MIDI output means 1c converts the performance sound data from the computer control means 1b into MIDI signals and outputs the MIDI signals to the MIDI input means 2a of the electronic musical instrument 2, and the random number data from the random number generation means 1e to the MIDI standard. It is converted into a MIDI signal having a format that matches and output to the MIDI input means 2a. The MIDI output means 1c is a system exclusive message (SYSTEM EXCL) in the MIDI standard as in the case of FIG.
USIVE MESSAGES) is used to convert random number data into MIDI signals.

【0034】暗号化手段1fは、乱数発生手段1eから
の乱数データを任意のアルゴリズムで暗号化された暗号
化データを比較手段1gに出力する。このアルゴリズム
はどのようなものでもよく、また、復号化する必要がな
いので、どのような複雑なものを用いてもよい。
The encrypting means 1f outputs the encrypted data obtained by encrypting the random number data from the random number generating means 1e by an arbitrary algorithm to the comparing means 1g. This algorithm may be of any type, and may be of any complex type since it need not be decoded.

【0035】MIDI入力手段1dは、電子楽器2内の
MIDI出力手段2cから出力されるMIDI信号のシ
ステムエクスクルーシブメッセージを入力し、それを元
の暗号化データに変換してコンピュータ制御手段1bの
比較手段1gに出力する。比較手段1gは、暗号化手段
1fからの暗号化データと、MIDI出力手段2c及び
MIDI入力手段1dを介して入力された電子楽器2で
暗号化された暗号化データとを比較して、両者が一致し
ているかどうかの判定結果を進行制御手段1hに出力す
る。
The MIDI input means 1d inputs the system exclusive message of the MIDI signal output from the MIDI output means 2c in the electronic musical instrument 2, converts it into the original encrypted data, and compares it with the comparison means of the computer control means 1b. Output to 1g. The comparing means 1g compares the encrypted data from the encrypting means 1f with the encrypted data encrypted by the electronic musical instrument 2 inputted via the MIDI output means 2c and the MIDI input means 1d, and the both are compared. The determination result of whether they match is output to the progress control means 1h.

【0036】進行制御手段1hは、比較手段1gの判定
結果が一致した場合には、コンピュータ制御手段1bの
処理に何の変更も加えず、そのまま演奏用プログラムの
進行を許可するが、逆に判定結果が不一致の場合には、
コンピュータ1の演奏用プログラムと電子楽器2とが正
常に対応していないと判断し、これ以降の演奏用プログ
ラムの処理を強制的に終了させる。
When the comparison result of the comparison means 1g is the same, the progress control means 1h permits the progress of the performance program as it is without making any change to the processing of the computer control means 1b, but the determination is reversed. If the results do not match,
It is determined that the performance program of the computer 1 and the electronic musical instrument 2 do not normally correspond, and the processing of the performance program thereafter is forcibly terminated.

【0037】演奏制御手段2bは、図1のものと同様に
マイクロプロセッサユニット(CPU)、プログラムメ
モリ(ROM)、データおよびワーキングRAMを含む
マイクロコンピュータシステムで構成されており、複数
のチャンネルで楽音信号の同時発生を行うことが可能で
あり、MIDI通信回線及びMIDI入力手段2aを経
由してきた演奏音データ(MIDI規格に準拠したデー
タ)に基づき楽音信号を発生する。また、暗号化手段2
dは、MIDI通信回線及びMIDI入力手段2aを経
由して入力されてきた乱数データをコンピュータ制御手
段1b内の暗号化手段1fと同じアルゴリズムで暗号化
し、その暗号化データをMIDI出力手段2cに出力す
る。
The performance control means 2b is composed of a microcomputer system including a microprocessor unit (CPU), a program memory (ROM), data and a working RAM as in the case of FIG. Can be simultaneously generated, and a musical tone signal is generated based on performance sound data (data conforming to the MIDI standard) that has passed through the MIDI communication line and the MIDI input means 2a. Also, the encryption means 2
d is the random number data input via the MIDI communication line and the MIDI input means 2a is encrypted by the same algorithm as the encryption means 1f in the computer control means 1b, and the encrypted data is output to the MIDI output means 2c. To do.

【0038】MIDI入力手段2aは、コンピュータ1
のMIDI出力手段1cから出力されたMIDI信号を
MIDI通信回線を介して入力し、そのMIDI信号を
元の演奏音データ及び乱数データに変換して演奏制御手
段2bに出力する。MIDI出力手段2cは、演奏制御
手段2bから出力された暗号化データをMIDI規格に
合致するようなフォーマットのMIDI信号に変換して
MIDI入力手段1dに出力する。MIDI出力手段2
cはコンピュータ1のMIDI出力手段と同じように、
MIDI規格の中のシステムエクスクルーシブメッセー
ジ(SYSTEM EXCLUSIVE MESSAG
ES)を利用して、暗号化データをMIDI信号に変換
して出力している。
The MIDI input means 2a is the computer 1
The MIDI signal output from the MIDI output means 1c is input via the MIDI communication line, and the MIDI signal is converted into the original performance sound data and random number data and output to the performance control means 2b. The MIDI output unit 2c converts the encrypted data output from the performance control unit 2b into a MIDI signal having a format that conforms to the MIDI standard and outputs the MIDI signal to the MIDI input unit 1d. MIDI output means 2
c is the same as the MIDI output means of the computer 1,
System exclusive message in the MIDI standard (SYSTEM EXCLUSIVE MESSAG
ES) is used to convert the encrypted data into a MIDI signal for output.

【0039】以下、図4の電子楽器システムの動作を図
5〜図7のフローチャートを用いて説明する。図5は、
図4のコンピュータ1のコンピュータ制御手段1bの処
理の一例を示すフローチャート図である。以下、この処
理を各ステップ毎に説明する。
The operation of the electronic musical instrument system of FIG. 4 will be described below with reference to the flowcharts of FIGS. Figure 5
5 is a flow chart diagram showing an example of processing of a computer control means 1b of the computer 1 of FIG. Hereinafter, this process will be described step by step.

【0040】ステップ51:電源が投入されると、コン
ピュータ制御手段1bはイニシャライズ処理を実行し、
コンピュータ1内の全てのデータ及びワーキングRA
M、各種レジスタ及びフラグ等に初期値を設定する。 ステップ52:図4の乱数発生手段1e、暗号化手段1
f、比較手段1g及び進行制御手段1hによって所定の
接続チェック処理を実行する。この接続チェック処理の
詳細は図6に示されている。
Step 51: When the power is turned on, the computer control means 1b executes an initialization process,
All data in computer 1 and working RA
Initial values are set in M, various registers and flags. Step 52: Random number generation means 1e and encryption means 1 in FIG.
A predetermined connection check process is executed by f, the comparison means 1g, and the progress control means 1h. Details of this connection check process are shown in FIG.

【0041】ステップ53〜55:プログラムの内容に
応じた処理A〜Cを実行する。この処理A〜Cは任意の
処理であり、図2のシーケンス再生処理のようなもので
ある。 ステップ56:ステップ52と同じ接続チェック処理を
実行する。このステップ56は、ルーチン処理の中に組
み込まれているため、ルーチン処理の度にこの接続チェ
ック処理が実行されるようになっている。
Steps 53 to 55: Processes A to C according to the contents of the program are executed. These processes A to C are arbitrary processes and are similar to the sequence reproduction process of FIG. Step 56: The same connection check process as in step 52 is executed. Since this step 56 is incorporated in the routine process, this connection check process is executed every time the routine process is performed.

【0042】図6は、図5のステップ52及び56の接
続チェック処理の詳細を示すフローチャート図である。
以下、この接続チェック処理を各ステップ毎に説明す
る。 ステップ61:乱数発生手段1eによって乱数データを
発生する。 ステップ62:発生した乱数データをMIDI信号のエ
クスクルーシブメッセージとして電子楽器2に出力す
る。 ステップ63:暗号化手段1gによってステップ61で
発生した乱数データを所定のアルゴリズムに従った関数
で暗号化処理する。
FIG. 6 is a flow chart showing the details of the connection check process in steps 52 and 56 of FIG.
The connection check process will be described below step by step. Step 61: Random number generation means 1e generates random number data. Step 62: Output the generated random number data to the electronic musical instrument 2 as an exclusive message of the MIDI signal. Step 63: The random number data generated in step 61 is encrypted by the encryption means 1g by a function according to a predetermined algorithm.

【0043】ステップ64:前のステップ62で発生し
た乱数データを電子楽器2に送出した時点から所定時間
が経過したか又は図4の電子楽器2の内部処理によって
返送されてきた暗号化データとステップ63で暗号化し
た暗号化データとが不一致であるかどうかを判定し、所
定時間経過したか又は暗号化データ不一致(YES)の
場合はステップ65に進み、電子楽器2から所定時間内
に暗号化データの返送があり、かつそれが一致している
と判定された(NO)場合にはステップ64に進み、図
5のメインルーチンにリターンする。
Step 64: A step in which the random number data generated in the previous step 62 is transmitted to the electronic musical instrument 2 for a predetermined time, or the encrypted data returned by the internal processing of the electronic musical instrument 2 in FIG. It is determined whether or not the encrypted data encrypted in 63 does not match, and if a predetermined time has passed or if the encrypted data does not match (YES), the process proceeds to step 65, and the electronic musical instrument 2 encrypts within a predetermined time. If data is returned and it is determined that they match (NO), the process proceeds to step 64 and returns to the main routine of FIG.

【0044】ステップ65:前のステップ64で所定時
間内に暗号化データが返送されなかったか、又は返送さ
れたとしてもそれが暗号化手段1fで暗号化された暗号
化データと一致しなかったので、電子楽器がコンピュー
タ本体に未接続である旨の警告を表示手段(図示せず)
に表示する。これによって、コンピュータ1を動作させ
ている演奏用プログラムと電子楽器とは正常に対応して
いないことを操作者に認識させる。 ステップ66:演奏用プログラムと電子楽器とが対応し
ていなかったので、これ以降の処理を強制的に終了させ
る。従って、演奏用プログラムが不法にコピーされたも
のである場合には、この電子楽器システムは動作しなく
なる。
Step 65: The encrypted data was not returned within the predetermined time in the previous step 64, or even if it was returned, it did not match the encrypted data encrypted by the encryption means 1f. Display means (not shown) indicating that the electronic musical instrument is not connected to the computer body
To display. As a result, the operator is made aware that the playing program operating the computer 1 and the electronic musical instrument do not normally correspond. Step 66: Since the performance program and the electronic musical instrument do not correspond to each other, the subsequent processing is forcibly ended. Therefore, if the playing program is illegally copied, the electronic musical instrument system will not operate.

【0045】図7は図4の電子楽器2の演奏制御手段2
bの処理の一例を示すフローチャート図である。以下、
この処理を各ステップ毎に説明する。 ステップ71:電子楽器2の電源が投入されると、演奏
制御手段2bはイニシャライズ処理を実行し、電子楽器
2内の全てのデータ及びワーキングRAM、各種レジス
タ及びフラグ等に初期値を設定する。 ステップ72:MIDI通信回線及びMIDI入力手段
2aを介してコンピュータ1から次々と入力されてくる
MIDI信号に応じた発音処理を実行する。 ステップ73:図示していない電子楽器2の各種操作子
の操作状態に応じた処理を実行する。
FIG. 7 shows performance control means 2 of the electronic musical instrument 2 shown in FIG.
It is a flowchart figure which shows an example of the process of b. Less than,
This process will be described step by step. Step 71: When the power of the electronic musical instrument 2 is turned on, the performance control means 2b executes an initialization process to set initial values in all data and working RAM, various registers and flags in the electronic musical instrument 2. Step 72: The tone generation processing according to the MIDI signals successively input from the computer 1 via the MIDI communication line and the MIDI input means 2a is executed. Step 73: Execute processing according to operation states of various operators of the electronic musical instrument 2 (not shown).

【0046】ステップ74:MIDI入力手段2aがコ
ンピュータ側のMIDI出力手段1cからMIDI信号
を受信したかどうかを判定し、受信した(YES)場合
はステップ75に進み、受信していない(NO)場合は
ステップ78に進む。 ステップ75:前のステップ74でMIDI信号を受信
したと判定したので、そのMIDI信号が図6のステッ
プ61の乱数データを含んだ特定エクスクルーシブメッ
セージであるかどうかを判定し、特定エクスクルーシブ
メッセージ(YES)の場合はステップ76に進み、そ
うでない(NO)場合はステップ77に進む。
Step 74: It is judged whether or not the MIDI input means 2a has received the MIDI signal from the MIDI output means 1c on the computer side. If the MIDI signal has been received (YES), the processing proceeds to step 75, and if not (NO). Proceeds to step 78. Step 75: Since it is determined that the MIDI signal is received in the previous step 74, it is determined whether or not the MIDI signal is the specific exclusive message including the random number data in step 61 of FIG. 6, and the specific exclusive message (YES) If No, the process proceeds to step 76. If not (NO), the process proceeds to step 77.

【0047】ステップ76:演奏制御手段2b内の暗号
化手段2dによって特定エクスクルーシブメッセージ内
の乱数データを所定のアルゴリズムに従った関数で暗号
化処理する。そして、その暗号化データを再度特定エク
スクルーシブメッセージのデータとしてコンピュータ1
のMIDI入力手段1dに出力する。 ステップ77:ステップ75でMIDI信号が特定エク
スクルーシブメッセージでないと判定されたので、その
MIDI信号に対応した処理を実行する。 ステップ78:その他の各種イベント処理等を実行す
る。
Step 76: The encryption means 2d in the performance control means 2b encrypts the random number data in the specific exclusive message with a function according to a predetermined algorithm. Then, the encrypted data is again used as data of the specific exclusive message by the computer 1
To the MIDI input means 1d. Step 77: Since it is determined in step 75 that the MIDI signal is not the specific exclusive message, the process corresponding to the MIDI signal is executed. Step 78: Execute other various event processes and the like.

【0048】図4の電子楽器システムでは、乱数発生手
段で発生した乱数を予めプログラム記憶手段1a内に格
納されているプログラムによって暗号化処理し、電子楽
器2内のにも同様の暗号化手段を設け、両方の暗号化処
理が一致しない限り、処理A〜Cを実行しないようにな
っているすなわち、ソフトウェアと電子楽器とは物理的
には分離可能であるが、両者を電子楽器システムとして
動作させる場合には両者の暗号化処理が一致していない
といけないので、ソフトウェアを不法にコピーして他の
電子楽器を動作させようとしても、暗号化処理が一致し
ない限り、電子楽器システムとしては動作しなくなる。
In the electronic musical instrument system of FIG. 4, the random numbers generated by the random number generating means are encrypted by a program stored in the program storing means 1a in advance, and the same encrypting means is also provided in the electronic musical instrument 2. Provided, the processes A to C are not executed unless both encryption processes match. That is, the software and the electronic musical instrument can be physically separated, but both are operated as an electronic musical instrument system. In this case, the encryption processing of both parties must match, so even if you illegally copy the software and try to operate another electronic musical instrument, as long as the encryption processing does not match, it will work as an electronic musical instrument system. Disappear.

【0049】なお、この発明の実施例のように、電子楽
器とコンピュータとの間は通信回線で接続されていれば
よいので、マルチタスク処理の可能なコンピュータを利
用して、この発明による演奏用ソフトウェアと電子楽器
のシステムを複数同時に動作させることができる。ま
た、その様なネットワーク上に、一組の演奏用ソフトウ
ェアと対応する電子楽器が存在すればよいので、演奏用
ソフトウェアに対応する電子楽器の機能(最大同時発音
数など)を容易に拡張することができる。
As in the embodiment of the present invention, it is sufficient that the electronic musical instrument and the computer are connected by a communication line. Therefore, a computer capable of multitask processing is used to perform the performance according to the present invention. Multiple software and electronic musical instrument systems can be operated simultaneously. Also, since it is only necessary for a set of playing software and corresponding electronic musical instruments to exist on such a network, it is possible to easily expand the functions (maximum polyphony etc.) of the electronic musical instruments corresponding to the playing software. You can

【0050】なお、上述の実施例では、電子楽器側が自
己の処理状態に応じて処理データを通信回線を介して制
御装置側に送信することによって、制御装置の動作を制
御する場合として、不法コピーの防止について説明した
が、この他にも、電子楽器の操作子の操作状態に応じて
処理データを制御装置に送信し、制御装置をその操作子
で操作できるようにしてもよいことはいうまでもない。
また、その時は上述のMIDIメッセージの中のエクス
クルーシブメッセージを使用すればよい。
In the above-described embodiment, the illegal copy is performed when the electronic musical instrument side controls the operation of the control device by transmitting the processed data to the control device side through the communication line according to its own processing state. However, in addition to this, it is needless to say that processing data may be transmitted to the control device according to the operation state of the operator of the electronic musical instrument so that the controller can be operated by the operator. Nor.
At that time, the exclusive message in the above MIDI message may be used.

【0051】なお、上述の実施例では、通常の自動演奏
処理のルーチンの中に、機種コード判定処理又は接続チ
ェック処理を組み込んだ場合を例に説明したが、ルーチ
ン処理の複数回に1回の割合で機種コード判定処理又は
接続チェック処理を実行するようにしてもよい。また、
電子楽器2のMIDI出力手段からは、機種コードや暗
号解読結果をシステムエクスクルーシブに変換したMI
DI信号か出力されるとしたが、通常の電子楽器と同じ
く、電子楽器2の内部で発生したMIDIイベントをあ
わせて出力することができる。
In the above-described embodiment, the case where the model code determination process or the connection check process is incorporated in the routine of the normal automatic performance process has been described as an example. The model code determination process or the connection check process may be executed at a ratio. Also,
The MIDI output means of the electronic musical instrument 2 converts the model code and the decryption result into a system exclusive MI.
Although it is assumed that the DI signal is output, a MIDI event generated inside the electronic musical instrument 2 can also be output as in the case of a normal electronic musical instrument.

【0052】[0052]

【発明の効果】 以上のように、この発明によれば、制
御装置では、電子楽器から通信回線を介してに与えられ
る制御データに基づき当該接続された電子楽器の妥当性
を判定し、妥当と判定された場合に当該制御装置により
演奏データを発生するよう制御するので、通信回線によ
って接続された制御装置と電子楽器との関係に妥当性が
ある場合のみ、つまり、正常な関係であるとき、制御装
置を動作させて演奏データを出力させ、該演奏データに
基づく楽音を電子楽器の楽音発生手段で発生させること
ができるものであり、こうして、例えば不正コピーされ
た演奏用プログラムに基づく動作をさせないなど、セキ
ュリティを確保することができる。
As described above, according to the present invention, the control device determines the appropriateness of the connected electronic musical instrument based on the control data given from the electronic musical instrument via the communication line, and determines the validity. If it is determined by the control device
Since control is performed to generate performance data, only when the relationship between the control device connected by the communication line and the electronic musical instrument is valid, that is, when the relationship is normal, the control device is operated to transfer the performance data. The musical tone generating means of the electronic musical instrument can output the musical tone and generate the musical tone based on the musical performance data. In this way, security can be ensured, for example, the operation based on the illegally copied musical performance program is not performed. .

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

【図1】 この発明に係る電子楽器システムの概略構成
を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument system according to the present invention.

【図2】 図1のコンピュータ制御手段の処理の一例を
示すフローチャート図である。
FIG. 2 is a flow chart showing an example of processing of the computer control means of FIG.

【図3】 図2の演奏制御手段2bの処理の一例を示す
フローチャート図である。
FIG. 3 is a flow chart diagram showing an example of processing of the performance control means 2b of FIG.

【図4】 この発明に係る電子楽器システムの他の実施
例の概略構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of another embodiment of the electronic musical instrument system according to the present invention.

【図5】 図4のコンピュータ制御手段1bの処理の一
例を示すフローチャート図である。
5 is a flow chart diagram showing an example of processing of the computer control means 1b of FIG.

【図6】 図5の接続チェック処理の詳細を示すフロー
チャート図である。
FIG. 6 is a flowchart showing details of the connection check process of FIG.

【図7】 図4の演奏制御手段2bの処理の一例を示す
フローチャート図である。
FIG. 7 is a flowchart showing an example of processing by the performance control means 2b of FIG.

【符号の説明】 1…コンピュータ、1a…プログラム記憶手段、1b…
コンピュータ制御手段、1c…MIDI出力手段、1d
…MIDI入力手段、1e…乱数発生手段、1f…暗号
化手段、1g…比較手段、1h…進行制御手段、2…電
子楽器、2a…MIDI入力手段、2b…演奏制御手
段、2c…MIDI出力手段、2d…暗号化手段
[Explanation of Codes] 1 ... Computer, 1a ... Program storage means, 1b ...
Computer control means, 1c ... MIDI output means, 1d
... MIDI input means, 1e ... Random number generation means, 1f ... Encryption means, 1g ... Comparison means, 1h ... Progression control means, 2 ... Electronic musical instrument, 2a ... MIDI input means, 2b ... Performance control means, 2c ... MIDI output means 2d ... encoding means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G10H 1/00-7/00

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信回線によって互いに接続された電子
楽器と制御装置とからなる電子楽器システムであって、 前記制御装置は、 前記電子楽器からの制御データを前記通信回線を介して
入力し、該制御データに基づき前記接続された電子楽器
妥当性を判定する判定手段と、 前記判定手段で妥当と判定された場合、演奏データを発
生させる制御を行う 制御手段と 前記制御手段の制御によって発生された演奏データを前
記通信回線を介して出力する出力手段と を具備し、 前記電子楽器は、 前記制御装置からの前記演奏データを前記通信回線を介
して入力し、それに応じて楽音発生処理を行う楽音発生
手段と、 前記制御装置の動作を制御するための制御データを発生
させて前記通信回線を介して出力する出力手段とを具備
することを特徴とする電子楽器システム。
1. A electronic musical instrument system consisting of an electronic musical instrument connected together by a communication line control device, said control device, the control data from the electronic musical instrument to enter through the communication line, the The connected electronic musical instrument based on control data
A judging means for judging the validity of, if it is determined to be valid by the determination means, emitting performance data
Before and control means for performing control for antibody, the performance data generated by the control of the control means
Output means for outputting via a communication line, the electronic musical instrument, the musical sound generation means for inputting the performance data from the control device via the communication line, and performing a musical sound generation process in accordance therewith. And an output unit for generating control data for controlling the operation of the control device and outputting the control data via the communication line.
【請求項2】 前記制御装置では、動作可能な電子楽器
の識別データを予め記憶しており、前記制御装置の前記
判定手段は、入力された識別データと予め記憶してある
識別データとを比較判定することで前記接続された電子
楽器の妥当性を判定することを特徴する請求項1に記載
の電子楽器システム。
In wherein the control device stores identification data operable electronic musical instrument in advance, the said control device
The determination means compares the input identification data with identification data stored in advance to determine the connected electronic data.
The electronic musical instrument system according to claim 1, wherein the validity of the musical instrument is determined .
【請求項3】 前記制御装置は、更に、乱数データ発生
手段と、該乱数データ発生手段で発生された乱数データ
を所定のアルゴリズムに応じて暗号化する暗号化手段と
具備し、前記制御装置の前記出力手段は前記乱数データ
も前記通信回線を介して出力し、前記判定手段は、前記
電子楽器から入力された前記制御データと前記暗号化手
段により暗号化された前記乱数データとを比較判定する
ことで前記接続された電子楽器の妥当性を判定するもの
であり、 前記電子楽器の前記出力手段は、前記通信回線を介して
入力された前記乱数データを所定のアルゴリズムに応じ
て暗号化したものを前記制御データとして発生するもの
であることを特徴する請求項1に記載の電子楽器システ
ム。
3. The control device further comprises random number data generating means, and encryption means for encrypting the random number data generated by the random number data generating means in accordance with a predetermined algorithm. said output means outputs the random number data is also through the communication line, the determination means compares determined and the random number data encrypted by said control data input from the electronic musical instrument wherein the encryption means
The validity of the connected electronic musical instrument is determined by means of the output means of the electronic musical instrument, wherein the random number data input via the communication line is encrypted according to a predetermined algorithm. The electronic musical instrument system according to claim 1, wherein is generated as the control data.
【請求項4】 通信回線によって互いに接続された電子
楽器と制御装置とからなる電子楽器システムにおいて用
いられる前記制御装置であって、前記 電子楽器からの制御データを前記通信回線を介して
入力し、該制御データに基づき前記接続された電子楽器
妥当性を判定する判定手段と 前記判定手段で妥当と判定された場合、演奏データを発
生させる制御を行う 制御手段と 前記制御手段の制御によって発生された演奏データを前
記通信回線を介して出力する出力手段と を具備すること
を特徴とする制御装置。
4. A control device used in an electronic musical instrument system comprising an electronic musical instrument and a control device connected to each other by a communication line, wherein control data from the electronic musical instrument is input via the communication line, The connected electronic musical instrument based on the control data
A judging means for judging the validity of, if it is determined to be valid by the determination means, emitting performance data
Before and control means for performing control for antibody, the performance data generated by the control of the control means
An output means for outputting via the communication line .
【請求項5】 動作可能な電子楽器の識別データを予め
記憶しており、前記判定手段は、入力された識別データ
と予め記憶してある識別データとを比較判定することで
前記接続された電子楽器の妥当性を判定することを特徴
する請求項4に記載の制御装置
5. stores the identification data of the operable electronic musical instrument in advance, the determination means, by comparing determination and identification data that is previously stored with the inputted identification data
The control device according to claim 4, wherein the control device determines the validity of the connected electronic musical instrument .
【請求項6】 通信回線によって互いに接続された電子
楽器と制御装置とからなる電子楽器システムの制御方法
であって、 前記電子楽器からの制御データを前記通信回線を介して
前記制御装置に入力するステップと、 前記制御装置に入力された制御データに基づき、前記接
続された電子楽器の妥当性を判定する判定ステップと、 前記判定ステップで妥当と判定された場合、演奏データ
を発生させる制御を前記制御装置で行う制御ステップ
と、 前記制御ステップの制御によって発生された演奏データ
を前記通信回線を介して出力する出力ステップと、 前記出力ステップで出力された演奏データを前記通信回
線を介して前記電子楽器に入力するステップとを具備す
ることを特徴とする制御方法。
6. Electrons connected to each other by a communication line
Control method for electronic musical instrument system including musical instrument and control device
A is the control data from the electronic musical instrument via the communication line
Based on the step of inputting to the control device and the control data input to the control device,
A judgment step for judging the validity of the continued electronic musical instrument , and the performance data if judged to be valid in the judgment step.
Control step for performing control for generating
And performance data generated by the control of the control step
Is output via the communication line, and the performance data output in the output step is transmitted to the communication circuit.
Inputting to the electronic musical instrument via a line.
A control method characterized by the following.
JP02571892A 1992-01-16 1992-01-16 Electronic musical instrument system Expired - Fee Related JP3460230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02571892A JP3460230B2 (en) 1992-01-16 1992-01-16 Electronic musical instrument system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02571892A JP3460230B2 (en) 1992-01-16 1992-01-16 Electronic musical instrument system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003038352A Division JP3855944B2 (en) 2003-02-17 2003-02-17 Electronic musical instrument system, control method therefor, and control apparatus

Publications (2)

Publication Number Publication Date
JPH05188935A JPH05188935A (en) 1993-07-30
JP3460230B2 true JP3460230B2 (en) 2003-10-27

Family

ID=12173577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02571892A Expired - Fee Related JP3460230B2 (en) 1992-01-16 1992-01-16 Electronic musical instrument system

Country Status (1)

Country Link
JP (1) JP3460230B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7196259B2 (en) 2002-01-11 2007-03-27 Yamaha Corporation Performance data transmission controlling apparatus and electronic musical instrument capable of acquiring performance data
JP3912282B2 (en) 2002-12-27 2007-05-09 ヤマハ株式会社 Music application device, electronic musical instrument, and program
JP4596966B2 (en) * 2005-04-26 2010-12-15 ローランド株式会社 Electronic musical instruments

Also Published As

Publication number Publication date
JPH05188935A (en) 1993-07-30

Similar Documents

Publication Publication Date Title
US5020410A (en) Sound generation package and an electronic musical instrument connectable thereto
USRE36910E (en) Electronic musical instrument creating timbre by optimum synthesis mode
US5604324A (en) Musical tone signal generating apparatus including a plurality of voice units
JP3460230B2 (en) Electronic musical instrument system
JP3223756B2 (en) Music systems and electronic musical instruments
JP2629891B2 (en) Music signal generator
JP3855944B2 (en) Electronic musical instrument system, control method therefor, and control apparatus
JP3212872B2 (en) Electronic musical instrument
JPH1139796A (en) Electronic information processing system and method, and recording medium
US5587547A (en) Musical sound producing device with pitch change circuit for changing only pitch variable data of pitch variable/invariable data
JPH06102865A (en) Electronic musical instrument
JP3059988B2 (en) Tone data conversion method and device
JP2570045B2 (en) Electronic musical instrument
JP2961867B2 (en) Music signal generator
JP2661493B2 (en) Data storage device and data selection communication method
JPS62208099A (en) Musical sound generator
JP2715677B2 (en) Electronic musical instrument
JP3650526B2 (en) Automatic performance device and storage medium
JP3139494B2 (en) Tone data conversion method
JP2639381B2 (en) Electronic musical instrument
JP3139492B2 (en) Tone data conversion method
JP3442232B2 (en) Electronic musical instrument
JPS59195692A (en) Electronic musical instrument
JP3453785B2 (en) Music generator
JP3105132B2 (en) Tone generator for electronic musical instruments

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: R313532

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

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20070815

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

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

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees