JPH0854876A - Timbre transmitter - Google Patents

Timbre transmitter

Info

Publication number
JPH0854876A
JPH0854876A JP6210575A JP21057594A JPH0854876A JP H0854876 A JPH0854876 A JP H0854876A JP 6210575 A JP6210575 A JP 6210575A JP 21057594 A JP21057594 A JP 21057594A JP H0854876 A JPH0854876 A JP H0854876A
Authority
JP
Japan
Prior art keywords
tone color
timbre
color number
switch
electronic 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.)
Withdrawn
Application number
JP6210575A
Other languages
Japanese (ja)
Inventor
Ichiro Matsuda
一郎 松田
Tatsuya Matsuda
達也 松田
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP6210575A priority Critical patent/JPH0854876A/en
Publication of JPH0854876A publication Critical patent/JPH0854876A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To obtain a timbre transmitter which outputs timbre information by converting this timbre information into the timbre information meeting GM standards and is capable of setting correspondence of the timbre number of an electronic musical instrument not dealing with the GM and the timbre number of an electronic musical instrument dealing with the GM by a simple operation. CONSTITUTION:This timbre transmitter has an extracting means 10 which extracts the timbre number in the playing information received by a receiving means 15 for receiving the playing information when there is an instruction by a first operating element and a display means which successively displays the timbre names selected by a selecting means for selecting the specific timbre from the plural timbres when there is the instruction by a second operating element. The tire transmitter has a storage means 12 which stores the timbre number extracted by the extracting means 10 and the timbre number corresponding to the selected timbre by making both timbre numbers corresponding to each other, a converting means 10 which converts the timbre number in the received playing information according to the correspondence stored in the storage means 12 and a transmitting means 16 which transmits the converted playing information outside.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、既存の電子楽器から出
力される演奏情報中の音色情報をGM規格に適合する音
色情報に変換して出力する音色トランスミッタに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone color transmitter for converting tone color information in performance information output from an existing electronic musical instrument into tone color information conforming to the GM standard and outputting the tone color information.

【0002】[0002]

【従来の技術】従来、鍵盤や操作パネルを操作すること
により発生された演奏情報、例えばMIDIメッセージ
を外部に送信し、外部機器(例えば音源モジュール)で
楽音信号を発生するようにした電子楽器システムが開発
され実用に供されている。このようなMIDIメッセー
ジの1つとして、音色の変更を指示するために使用され
るプログラムチェンジのMIDIメッセージ(以下、
「プログラムチェンジメッセージ」という。)がある。
2. Description of the Related Art Conventionally, an electronic musical instrument system in which performance information generated by operating a keyboard or an operation panel, for example, a MIDI message is transmitted to the outside and a musical tone signal is generated by an external device (for example, a sound source module). Has been developed and put into practical use. As one of such MIDI messages, a MIDI message of a program change (hereinafter, referred to as a MIDI message used to instruct a tone change)
It is called "Program Change Message". ).

【0003】このプログラムチェンジメッセージには、
音色を指定するための音色番号が含まれており、このプ
ログラムチェンジメッセージを受信した電子楽器等は、
当該電子楽器等の音色を音色番号で指定された音色に変
更する。
In this program change message,
The tone number for specifying the tone is included, and the electronic musical instrument etc. that received this program change message
The tone color of the electronic musical instrument is changed to the tone color designated by the tone color number.

【0004】ところで、上記音色番号は、メーカーや機
種によって異なることが多く、既存の電子楽器等の相互
間で互換性がない。例えば、或る電子楽器では音色番号
「1」はピアノの音色に割り当てられており、他の電子
楽器では同じ音色番号がストリングスの音色に割り当て
られているといった具合である。そこで、近年、音色と
音色番号との対応を統一し、各メーカーや機種の間のM
IDIメッセージの互換性を高めることを目的としたG
M(General MIDI)規格が採用されつつある。このGM規
格では128種類の音色が定義されており、定義された
各音色には固有の音色番号が割り当てられている。従っ
て、GM規格に則って作られた電子楽器(以下、「GM
対応の電子楽器」という。)同士では、プログラムチェ
ンジメッセージの互換性があり、相互に音色情報を交換
することができる。
By the way, the timbre number often differs depending on the manufacturer and model, and there is no compatibility between existing electronic musical instruments and the like. For example, in one electronic musical instrument, the tone color number "1" is assigned to the tone color of the piano, and in the other electronic musical instrument, the same tone color number is assigned to the tone color of the strings. Therefore, in recent years, the correspondence between timbres and timbre numbers has been unified, and M between manufacturers and models has been changed.
G for the purpose of improving the compatibility of IDI messages
The M (General MIDI) standard is being adopted. In the GM standard, 128 kinds of tone colors are defined, and a unique tone color number is assigned to each defined tone color. Therefore, electronic musical instruments (hereinafter referred to as "GM
Corresponding electronic musical instrument ". ), The program change messages are compatible with each other, and tone color information can be exchanged with each other.

【0005】しかしながら、機種固有の音色番号を有す
る電子楽器(以下、「GM対応でない電子楽器」とい
う。)とGM対応の電子楽器との間では、音色情報を直
接交換することができない。そこで、従来は、使用者自
らが音色名称に対応した音色番号を管理し、これらの間
の対応をとっていた。
However, timbre information cannot be directly exchanged between an electronic musical instrument having a timbre number peculiar to a model (hereinafter referred to as "non-GM compatible electronic musical instrument") and a GM compatible electronic musical instrument. Therefore, conventionally, the user himself has managed the tone color numbers corresponding to the tone color names and made correspondence between them.

【0006】[0006]

【発明が解決しようとする課題】かかる方法では、変換
前の音色番号と変換後の音色番号との関係を予め対応付
けて送信側又は受信側の電子楽器、或いはこれらの中間
に介在させた変換装置等に記憶しておく必要がある。か
かる対応付けを記憶させるために、従来は、操作者が操
作パネルを使用してGM対応でない電子楽器の音色番号
とGM対応の電子楽器の音色番号とを一対として順次入
力していた。従って、操作者は、GM対応でない電子楽
器から出力される音色番号と音色の対応関係、及びGM
対応の電子楽器の音色番号と音色の対応関係を熟知して
いなければ上記入力操作ができないという問題があっ
た。
In such a method, the relation between the tone color number before conversion and the tone color number after conversion is previously associated with each other, and the conversion is performed by interposing the electronic musical instrument on the transmitting side or the receiving side, or in the middle thereof. It is necessary to store it in the device or the like. In order to store such correspondence, conventionally, an operator has sequentially input a tone color number of an electronic musical instrument not corresponding to GM and a tone color number of an electronic musical instrument corresponding to GM as a pair using an operation panel. Therefore, the operator is required to check the correspondence between the tone color numbers and tone colors output from the electronic musical instrument that is not GM compatible, and
There is a problem in that the above input operation cannot be performed unless the correspondence between the tone color number and tone color of the corresponding electronic musical instrument is well understood.

【0007】本発明は、かかる事情に鑑みてなされたも
のであり、GM対応でない電子楽器の音色番号とGM対
応の電子楽器の音色番号との対応を簡単な操作で設定す
ることのできる音色トランスミッタを提供することを目
的とする。
The present invention has been made in view of such circumstances, and a tone color transmitter capable of setting the tone color number of an electronic musical instrument not compatible with GM and the tone color number of an electronic musical instrument compatible with GM by a simple operation. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、演奏情報を受信する受信
手段と、第1の操作子と、該第1の操作子による指示が
ある場合に、前記受信手段で受信された演奏情報中の音
色番号を抽出する抽出手段と、第2の操作子と、該第2
の操作子による指示がある場合に、複数の音色の中から
特定の音色を選択する選択手段と、該選択手段で選択さ
れた音色の音色名を順次表示する表示手段と、前記抽出
手段で抽出された音色番号と、前記選択手段で選択され
た音色に対応する音色番号とを対応付けて記憶する記憶
手段と、前記受信手段で受信された演奏情報中の音色番
号を、前記記憶手段に記憶されている対応付けに応じて
変換する変換手段と、該変換手段で音色番号が変換され
た演奏情報を外部に送信する送信手段、とを具備したこ
とを特徴とする。
In order to achieve the above object, the invention described in claim 1 is a receiving means for receiving performance information, a first operating element, and an instruction by the first operating element. If there is, the extracting means for extracting the tone color number in the performance information received by the receiving means, the second operating element, and the second operating element.
Selection means for selecting a specific tone color from a plurality of tone colors, a display means for sequentially displaying the tone color names of the tone colors selected by the selecting means, and extraction by the extracting means. Storage means for storing the selected tone color number and the tone color number corresponding to the tone color selected by the selecting means in association with each other, and storing the tone color number in the performance information received by the receiving means in the storage means. It is characterized in that it further comprises: a converting means for converting according to the established correspondence, and a transmitting means for transmitting the performance information whose tone color number has been converted by the converting means to the outside.

【0009】また、同様の目的で、請求項2に記載の発
明は、前記受信手段で受信する演奏情報はGM対応でな
いMIDIメッセージであり、前記送信手段から送信さ
れる演奏情報はGM対応のMIDIメッセージであるこ
とを特徴とする。
Further, for the same purpose, in the invention described in claim 2, the performance information received by the receiving means is a MIDI message which is not GM compatible, and the performance information transmitted from the transmitting means is GM compatible MIDI. It is characterized by being a message.

【0010】[0010]

【作用】請求項1に記載の音色トランスミッタは、入力
された演奏情報に含まれる音色番号を他の音色番号に変
換して出力する。この音色トランスミッタの動作は、変
換すべき音色対を対応付けるための動作と、受信された
演奏情報中の音色番号を上記で設定された対応関係に応
じて変換して送信する動作とに大別される。
According to the tone color transmitter of the first aspect, the tone color number included in the input performance information is converted into another tone color number and output. The operation of this tone color transmitter is roughly divided into an operation for associating the tone color pair to be converted and an operation for converting the tone color number in the received performance information according to the correspondence relation set above and transmitting it. It

【0011】即ち、変換すべき音色対を対応付けるため
に、演奏者は、先ず、第1の操作子を操作して受信手段
で受信された演奏情報中の音色番号を抽出すべきことを
指示する。この状態で、受信手段に接続されている外部
装置、例えば電子楽器で音色選択操作を行うと、選択さ
れた音色の音色番号を含む演奏情報が受信手段を介して
入力されるので、この演奏情報から音色番号を抽出す
る。この抽出された音色番号が被変換音色番号となる。
That is, in order to associate the tone color pairs to be converted, the performer first operates the first operating element to instruct that the tone color number in the performance information received by the receiving means should be extracted. . In this state, when a tone color selection operation is performed with an external device connected to the receiving means, for example, an electronic musical instrument, performance information including the tone color number of the selected tone color is input via the receiving means. Tone number is extracted from. This extracted tone color number becomes the converted tone color number.

【0012】次に、演奏者は、第2の操作子を操作して
上記被変換音色番号に対応する音色番号の設定を開始す
る旨を指示する。この第2の操作子が操作されている状
態で選択手段を用いて音色を選択すると、選択された音
色名が表示手段に表示される。従って、演奏者は、所望
の音色名が表示されるまで選択手段を操作し、所望の音
色名が表示された時点で上記第2の操作子の操作を止め
ると、その時点で表示手段に表示されている音色番号が
変換音色番号として確定する。このようにして被変換音
色番号と変換音色番号が決定されると、これらを一対と
して記憶手段に記憶する。以上の動作を繰り返し行うこ
とにより、被変換音色番号と変換音色番号との対を複数
個記憶手段に記憶させることができる。
Next, the performer operates the second operator to instruct to start setting the tone color number corresponding to the converted tone color number. When a tone color is selected using the selection means while the second operator is being operated, the selected tone color name is displayed on the display means. Therefore, the performer operates the selecting means until the desired tone color name is displayed, and when the operation of the second operator is stopped at the time when the desired tone color name is displayed, it is displayed on the display means at that time. The designated tone color number is confirmed as the converted tone color number. When the converted tone color number and the converted tone color number are determined in this way, these are stored in the storage means as a pair. By repeating the above operation, a plurality of pairs of converted tone color numbers and converted tone color numbers can be stored in the storage means.

【0013】以上の動作で、変換すべき音色対の対応付
けが完了すると、音色番号の変換動作を伴った演奏情報
の転送が可能となる。即ち、受信手段で受信された演奏
情報に音色番号が含まれている場合は、その音色番号を
被変換音色番号とみなし、記憶手段に記憶されている被
変換音色番号の中から一致するものを探す。そして一致
するものが見出せたら、その被変換音色番号と対になっ
ている音色番号を取り出し、受信した演奏情報の音色番
号部にセットする。このようにして作成された演奏情報
は送信手段を介して外部に送信される。
When the correspondence of the tone color pairs to be converted is completed by the above operation, the performance information can be transferred with the tone color number converting operation. That is, if the performance information received by the receiving means includes a timbre number, that timbre number is regarded as the converted timbre number, and the matching timbre number stored in the storage means is selected. look for. When a match is found, the tone color number paired with the converted tone color number is taken out and set in the tone color number portion of the received performance information. The performance information created in this way is transmitted to the outside via the transmitting means.

【0014】請求項2に記載の音色トランスミッタにお
いては、GM対応でないMIDIメッセージを受信手段
で受信し、これをGM対応のメッセージに変換して送信
手段で送信するようにしている。従って、例えばGM対
応でない電子楽器とGM対応の電子楽器との間に本音色
トランスミッタを介在させ、GM対応でない電子楽器で
発生された演奏情報を、本音色トランスミッタを経由し
てGM対応の電子楽器に送って発音させることにより、
GM対応でない電子楽器を、恰もGM対応の電子楽器の
ように使用することができる。
In the tone color transmitter according to the second aspect, the MIDI message which is not GM compatible is received by the receiving means, is converted into a GM compatible message and is transmitted by the transmitting means. Therefore, for example, by interposing a main tone color transmitter between an electronic musical instrument not compatible with GM and an electronic musical instrument compatible with GM, the performance information generated by the electronic musical instrument not compatible with GM is transferred to the electronic musical instrument compatible with GM via the main tone color transmitter. By sending it to
An electronic musical instrument that is not GM compatible can be used like an electronic musical instrument that is GM compatible.

【0015】[0015]

【実施例】以下、本発明の音色トランスミッタの実施例
につき、図面を参照しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a tone color transmitter of the present invention will be described in detail below with reference to the drawings.

【0016】図1は、本発明の音色トランスミッタの実
施例の概略構成を示すブロック図である。本音色トラン
スミッタは、中央処理装置(以下、「CPU」とい
う。)10、プログラムメモリ11、ランダムアクセス
メモリ(以下、「RAM」という。)12、パネルイン
タフェース回路13、入力インタフェース回路15及び
出力インタフェース回路16がシステムバス30を介し
て相互に接続されて構成されている。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a tone color transmitter of the present invention. The tone color transmitter includes a central processing unit (hereinafter referred to as “CPU”) 10, a program memory 11, a random access memory (hereinafter referred to as “RAM”) 12, a panel interface circuit 13, an input interface circuit 15, and an output interface circuit. 16 are connected to each other via a system bus 30.

【0017】システムバス30は、例えばアドレス線、
データ線及び制御信号線等で成り、上記各構成要素間で
各種データを送受するために使用される。
The system bus 30 is, for example, an address line,
It is composed of a data line, a control signal line and the like, and is used for transmitting and receiving various data between the above-mentioned respective constituent elements.

【0018】CPU10は、プログラムメモリ11に格
納されている制御プログラムに従って、本音色トランス
ミッタの全体を制御する。このCPU10は、抽出手
段、変換手段に対応する。このCPU10の動作の詳細
については後述する。
The CPU 10 controls the entire tone color transmitter according to a control program stored in the program memory 11. The CPU 10 corresponds to the extraction means and the conversion means. Details of the operation of the CPU 10 will be described later.

【0019】プログラムメモリ11は、例えばリードオ
ンリメモリ(以下、「ROM」という。)で構成するこ
とができる。このプログラムメモリ11には、上述した
CPU10を動作させるための制御プログラムが記憶さ
れている他、CPU10が各種処理に用いる種々の固定
データが記憶されている。このプログラムメモリ11の
内容はCPU10により読み出される。即ち、CPU1
0は、プログラムメモリ11から制御プログラム(命
令)を読み出して解釈・実行すると共に、所定の固定デ
ータを読み出して各種処理に使用する。
The program memory 11 can be composed of, for example, a read only memory (hereinafter referred to as "ROM"). The program memory 11 stores not only the control program for operating the CPU 10 described above, but also various fixed data used by the CPU 10 for various processes. The contents of the program memory 11 are read by the CPU 10. That is, CPU1
0 reads a control program (command) from the program memory 11 for interpretation / execution and reads predetermined fixed data for use in various processes.

【0020】また、このプログラムメモリ11には、標
準音色テーブルが格納されている。この標準音色テーブ
ルは128個のエントリを有し、各エントリには、GM
規格で定義されている「音色番号」と、その音色番号に
対応する「音色名」とが対になって記憶されている。例
えば、標準音色テーブルの最初のエントリには、音色番
号として「1」が記憶されており、音色名として「Ac
oustic Grand Piano」が記憶されて
いる。
The program memory 11 also stores a standard tone color table. This standard tone color table has 128 entries, and each entry has a GM
A “tone color number” defined by the standard and a “tone color name” corresponding to the tone color number are stored as a pair. For example, "1" is stored as the tone color number in the first entry of the standard tone color table, and "Ac" is stored as the tone color name.
The “music Grand Piano” is stored.

【0021】RAM12は、制御プログラムの実行に用
いられる種々のデータを一時記憶する。RAM12に
は、例えばデータバッファ、レジスタ、カウンタ、フラ
グ等の各種領域が定義されている。また、このRAM1
2には、音色変換テーブルが形成される。音色変換テー
ブルは記憶手段に対応するものであり、例えば128個
のエントリを有している。そして、各エントリには、被
変換音色番号(変換されるべき音色番号)と変換音色番
号(変換された後の音色番号)とが一対として記憶され
るようになっている。この音色変換テーブルの各エント
リには、後述する操作者の設定操作によって被変換音色
番号と変換音色番号とが一対として設定される。このR
AM12は、CPU10によりアクセスされる。
The RAM 12 temporarily stores various data used for executing the control program. Various areas such as a data buffer, a register, a counter, and a flag are defined in the RAM 12. Also, this RAM1
In 2, a tone color conversion table is formed. The tone color conversion table corresponds to the storage means and has, for example, 128 entries. Then, in each entry, a converted tone color number (tone color number to be converted) and a converted tone color number (tone color number after conversion) are stored as a pair. In each entry of the tone color conversion table, a converted tone color number and a converted tone color number are set as a pair by a setting operation by an operator described later. This R
The AM 12 is accessed by the CPU 10.

【0022】パネルインタフェース回路13には、操作
パネル14が接続されている。この操作パネル14は、
本音色トランスミッタに各種動作を指示するために使用
される。この操作パネル14には、例えば図2に示され
るように、受信スイッチ140、音色設定スイッチ14
1、音色選択スイッチ142及び表示器143が設けら
れている。
An operation panel 14 is connected to the panel interface circuit 13. This operation panel 14
It is used to instruct the tone transmitter to perform various operations. The operation panel 14 includes a receiving switch 140 and a tone color setting switch 14 as shown in FIG. 2, for example.
1, a tone color selection switch 142 and a display 143 are provided.

【0023】受信スイッチ140は第1の操作子に対応
するものであり、被変換音色番号を抽出する際に使用さ
れる。抽出された被変換音色番号は、RAM12に定義
された「被変換音色番号バッファ」に格納される。この
受信スイッチ140は、例えば押すことによりオン状態
となり離すことによりオフ状態となる押釦スイッチであ
る。この受信スイッチ140がオン状態にあるかオフ状
態にあるかは、RAM12に定義された「受信フラグ」
で記憶される。なお、この受信スイッチ140として
は、押釦スイッチに限定されることなく、シーソースイ
ッチ等、オン状態とオフ状態とを有する各種スイッチを
用いることができる。
The receiving switch 140 corresponds to the first operator and is used when extracting the converted tone color number. The extracted converted tone color numbers are stored in the “converted tone color number buffer” defined in the RAM 12. The reception switch 140 is, for example, a push button switch that is turned on when pressed and turned off when released. Whether the receiving switch 140 is in the on state or the off state is determined by the “reception flag” defined in the RAM 12.
Is stored. The reception switch 140 is not limited to a push button switch, and various switches having an ON state and an OFF state such as a seesaw switch can be used.

【0024】音色設定スイッチ141は第2の操作子に
対応するものであり、本音色トランスミッタを音色選択
可能状態に移行させるために使用される。この音色設定
スイッチ141は、押すことによりオン状態となり離す
ことによりオフ状態となる押釦スイッチである。この音
色設定スイッチ141がオン状態にあるかオフ状態にあ
るかは、RAM12に定義された「音色設定フラグ」で
記憶される。なお、この音色設定スイッチ141として
は、押釦スイッチに限定されることなく、シーソースイ
ッチ等、オン状態とオフ状態とを有する各種スイッチを
用いることができる。
The tone color setting switch 141 corresponds to the second operator and is used for shifting the tone color transmitter to the tone color selectable state. The tone color setting switch 141 is a push button switch that is turned on when pressed and turned off when released. Whether the tone color setting switch 141 is in the ON state or the OFF state is stored in the “tone color setting flag” defined in the RAM 12. The tone color setting switch 141 is not limited to a push button switch, and various switches having an on state and an off state such as a seesaw switch can be used.

【0025】音色選択スイッチ142は選択手段に対応
するものであり、例えばアップスイッチ142Aとダウ
ンスイッチ142Bとでなるアップダウンスイッチで構
成することができる。そして、アップスイッチ142A
が押される度に音色番号がインクリメントし、ダウンス
イッチ142Bが押下される度に音色番号がデクリメン
トするように制御される。この音色選択スイッチ142
を用いて入力された音色番号はRAM12に定義された
「音色番号バッファ」に記憶される。なお、この音色選
択スイッチ142は、テンキー、スライド式操作子、回
転式操作子等で構成することもできる。これらを用いた
場合、音色番号は±1ずつ変化させるのではなく、所望
の音色番号を直接入力することもできる。
The tone color selection switch 142 corresponds to selection means, and can be constituted by an up-down switch composed of an up switch 142A and a down switch 142B, for example. And the up switch 142A
The tone color number is incremented each time is pressed, and the tone color number is decremented each time the down switch 142B is pressed. This tone color selection switch 142
The tone color number input using is stored in the "tone color buffer" defined in the RAM 12. The tone color selection switch 142 may be composed of a ten-key pad, a slide type operator, a rotary operator, and the like. When these are used, the desired tone color number can be directly input instead of changing the tone color number by ± 1.

【0026】表示器143は表示手段に対応するもので
あり、例えばLCD表示器で構成することができる。こ
の表示器143には、CPU10から送られてくる表示
用データに従って、数字や英文字等が表示される。この
表示器143の表示面は、図示するように、3つの表示
フィールド150、151及び152が形成されてい
る。表示フィールド150は、被変換音色番号が表示さ
れる領域である。表示フィールド151は、変換音色番
号が表示される領域である。表示フィールド152は、
変換音色番号に対応する音色の音色名が表示される領域
である。
The display 143 corresponds to the display means, and can be composed of, for example, an LCD display. On the display 143, numbers, English characters, etc. are displayed according to the display data sent from the CPU 10. On the display surface of the display 143, as shown in the figure, three display fields 150, 151 and 152 are formed. The display field 150 is an area in which the converted tone color number is displayed. The display field 151 is an area in which the converted tone color number is displayed. The display field 152 is
This is an area in which the timbre name of the timbre corresponding to the converted timbre number is displayed.

【0027】なお、本実施例では、表示器143とし
て、LCD表示器を例示したが、これに限定されるもの
ではない。例えば、表示器143としては、セグメント
で数字、文字等を表示できるようにしたLED表示器、
CRT表示器等を用いて構成しても良いし、その他種々
の表示器を用いて構成することができる。
In this embodiment, the LCD 143 is illustrated as the display 143, but the display 143 is not limited to this. For example, as the display device 143, an LED display device capable of displaying numbers, characters, etc. in segments,
It may be configured using a CRT display or the like, or may be configured using various other displays.

【0028】上記パネルインタフェース回路13は、操
作パネル14とCPU10との間のデータの送受を制御
する。即ち、パネルインタフェース回路13は操作パネ
ル14に対してスキャン信号を送出し、このスキャン信
号に応答して操作パネル14から返送される各スイッチ
のオン/オフを示す信号を入力する。そして、この信号
から各スイッチのオン/オフを1ビットに対応させたパ
ネルデータを生成し、CPU10に送る。このパネルデ
ータは、CPU10の制御下でRAM12に格納され、
パネルイベントの有無を判断するために使用される(詳
細は後述)。
The panel interface circuit 13 controls transmission / reception of data between the operation panel 14 and the CPU 10. That is, the panel interface circuit 13 sends a scan signal to the operation panel 14, and inputs a signal indicating ON / OFF of each switch returned from the operation panel 14 in response to the scan signal. Then, from this signal, panel data in which ON / OFF of each switch is associated with 1 bit is generated and sent to the CPU 10. This panel data is stored in the RAM 12 under the control of the CPU 10,
It is used to determine the presence or absence of panel events (details below).

【0029】また、パネルインタフェース回路13は、
CPU10から送られてきた表示用データを操作パネル
14に送る。これにより、表示器143に所定の数字又
は英文字等が表示される。
Further, the panel interface circuit 13 is
The display data sent from the CPU 10 is sent to the operation panel 14. As a result, the display device 143 displays a predetermined number, an alphabetic character, or the like.

【0030】入力インタフェース回路15は受信手段に
対応するものであり、外部から送られてきたデータを受
信し、本音色トランスミッタ内部の回路に適合する信号
に変換してシステムバス30に送り出すものである。こ
の入力インタフェース回路15の外部側には、例えば、
GM対応でない電子楽器が接続される。この場合、入力
インタフェース回路15は、GM対応でない電子楽器か
らのMIDIデータを受信してシステムバス30に送り
出す。このシステムバス30に送られたMIDIデータ
は、CPU10の制御の下、RAM12に定義された受
信バッファに格納される。
The input interface circuit 15 corresponds to a receiving means, receives data sent from the outside, converts it into a signal suitable for a circuit inside the tone color transmitter, and sends it to the system bus 30. . On the outside of the input interface circuit 15, for example,
An electronic musical instrument that is not GM compatible is connected. In this case, the input interface circuit 15 receives MIDI data from an electronic musical instrument not compatible with GM and sends it to the system bus 30. The MIDI data sent to the system bus 30 is stored in the reception buffer defined in the RAM 12 under the control of the CPU 10.

【0031】出力インタフェース回路16は送信手段に
対応するものであり、システムバス30から送られてき
たデータを、MIDI規格に従った信号に変換し、外部
に送信するものである。この出力インタフェース回路1
6の外部側には、例えば、GM対応の電子楽器(音源モ
ジュール等)が接続される。CPU10は、RAM12
内の送信バッファに格納されているMIDIデータを、
システムバス30を介して出力インタフェース回路16
に与える。これにより、出力インタフェース回路16か
らGM規格に対応したMIDIデータが外部に送信され
る。
The output interface circuit 16 corresponds to the transmitting means, converts the data transmitted from the system bus 30 into a signal according to the MIDI standard, and transmits the signal to the outside. This output interface circuit 1
An electronic musical instrument (sound source module or the like) compatible with GM is connected to the outside of 6, for example. CPU10 is RAM12
MIDI data stored in the send buffer in
Output interface circuit 16 via system bus 30
Give to. As a result, the MIDI data compatible with the GM standard is transmitted from the output interface circuit 16 to the outside.

【0032】本音色トランスミッタは、図3に示すよう
に、上記の入力インタフェース回路15及び出力インタ
フェース回路16を介して、GM対応でない電子楽器と
GM対応の電子楽器とに接続される。
As shown in FIG. 3, this tone color transmitter is connected to an electronic musical instrument not compatible with GM and an electronic musical instrument compatible with GM via the input interface circuit 15 and the output interface circuit 16 described above.

【0033】次に、上記のように構成される音色トラン
スミッタの操作方法について説明する。先ず、操作者
は、受信スイッチ140を押した状態で、入力インタフ
ェース回路15に接続された電子楽器の音色選択スイッ
チを操作する。これにより、電子楽器からプログラムチ
ェンジメッセージが送られてくる。このプログラムチェ
ンジメッセージは、CPU10の制御の下、RAM12
の受信バッファに格納される。その後、操作者が受信ス
イッチ140を離すと、受信バッファに格納されている
プログラムチェンジメッセージ中の音色番号が抽出さ
れ、被変換音色番号バッファに格納されると共に、表示
器143の表示フィールド150に表示される。
Next, a method of operating the tone color transmitter configured as described above will be described. First, the operator operates the tone color selection switch of the electronic musical instrument connected to the input interface circuit 15 while pressing the reception switch 140. As a result, a program change message is sent from the electronic musical instrument. This program change message is sent to the RAM 12 under the control of the CPU 10.
It is stored in the receive buffer of. After that, when the operator releases the receiving switch 140, the tone color number in the program change message stored in the receiving buffer is extracted, stored in the converted tone color number buffer, and displayed in the display field 150 of the display 143. To be done.

【0034】次に、操作者は、音色設定スイッチ141
を押下した状態で音色選択スイッチ142を操作する。
初期状態においては、その時点で選択されている音色番
号(RAM12の音色番号バッファに格納されている音
色番号)が表示フィールド151に表示され、その音色
番号に対応する音色名が表示フィールド152に表示さ
れている。この状態で、例えば、アップスイッチ142
Aが押下されると、音色番号バッファに格納されている
音色番号がインクリメントされて表示フィールド151
に表示され、同時にその音色番号に対応する音色名が表
示フィールド152に表示される。以下、同様にして、
アップスイッチ142Aが押下される度に音色番号がイ
ンクリメントされて表示フィールド151に表示され、
そのインクリメントされた音色番号に対応する音色名が
表示フィールド152表示される。そして、音色番号が
最大値「127」を越えると「0」にラウンドする。
Next, the operator operates the tone color setting switch 141.
The tone color selection switch 142 is operated with the button pressed.
In the initial state, the tone color number selected at that time (tone color number stored in the tone color number buffer of the RAM 12) is displayed in the display field 151, and the tone color name corresponding to the tone color number is displayed in the display field 152. Has been done. In this state, for example, the up switch 142
When A is pressed, the tone color number stored in the tone color number buffer is incremented and the display field 151 is displayed.
The tone color name corresponding to the tone color number is simultaneously displayed in the display field 152. Hereinafter, similarly,
Each time the up switch 142A is pressed, the timbre number is incremented and displayed in the display field 151,
The display field 152 displays the tone color name corresponding to the incremented tone color number. When the timbre number exceeds the maximum value "127", it is rounded to "0".

【0035】同様に、ダウンスイッチ142Bが押下さ
れると、音色番号バッファに格納されている音色番号が
デクリメントされて表示フィールド151に表示され、
同時にその音色番号に対応する音色名が表示フィールド
152に表示される。以下、同様にして、ダウンスイッ
チ142Bが押下される度に音色番号がデクリメントさ
れて表示フィールド151に表示され、そのデクリメン
トされた音色番号に対応する音色名が表示フィールド1
52に表示される。そして、音色番号が最大値「0」を
越えると「127」にラウンドする。
Similarly, when the down switch 142B is pressed, the tone color number stored in the tone color number buffer is decremented and displayed in the display field 151.
At the same time, the tone color name corresponding to the tone color number is displayed in the display field 152. Similarly, each time the down switch 142B is pressed, the tone color number is decremented and displayed in the display field 151, and the tone color name corresponding to the decremented tone color number is displayed in the display field 1.
52 is displayed. Then, when the timbre number exceeds the maximum value "0", it is rounded to "127".

【0036】操作者は、以上の操作により所定の音色を
選択すると、音色設定スイッチ141を離す。これによ
り、表示フィールド151に表示されている音色番号が
変換音色番号として確定される。この変換音色番号は、
被変換音色番号バッファに格納されている被変換音色番
号と対にして音色変換テーブルに格納される。
When the operator selects a predetermined tone color by the above operation, the operator releases the tone color setting switch 141. As a result, the tone color number displayed in the display field 151 is fixed as the converted tone color number. This converted timbre number is
The converted tone color numbers are stored in the tone color conversion table in pairs with the converted tone color numbers stored in the converted tone color number buffer.

【0037】上記の操作を操作者の立場から見ると次の
ようになる。即ち、操作者は、送信側の電子楽器の操作
パネルに刻印された音色名に対応するスイッチを押すこ
とにより変更すべき音色を選択する。例えば、トランペ
ットと刻印されたスイッチを押す。この操作により、操
作パネル14の表示フィールド150には送信側の電子
楽器でトランペットに割り当てられている音色番号が表
示されるが、操作者は、この表示された音色番号とは無
関係に、変更すべき音色を認識していることになる。
From the operator's point of view, the above operation is as follows. That is, the operator selects the tone color to be changed by pressing the switch corresponding to the tone color name imprinted on the operation panel of the electronic musical instrument on the transmission side. For example, press the switch engraved with the trumpet. By this operation, the tone color number assigned to the trumpet in the electronic musical instrument on the transmission side is displayed in the display field 150 of the operation panel 14, but the operator can change the tone color number regardless of the displayed tone color number. It means that the tones that should be recognized are recognized.

【0038】この状態で、表示フィールド152を見な
がら「トランペット」という音色名が表示されるまで音
色設定スイッチ141を押しつつ音色選択スイッチ14
2を操作する。そして、トランペットの音色名が表示さ
れた時点で音色設定スイッチ141を離す。この際、表
示フィールド151には、GM対応の電子楽器における
トランペットの音色番号が表示されるが、操作者はこれ
を無視することができる。即ち、操作者は、送信側の電
子楽器の音色番号や受信側の音色番号を一切気にするこ
となく、音色名を参照するだけで被変換音色番号と変換
音色番号との対応を設定することができることになる。
In this state, while looking at the display field 152, the tone color selection switch 14 is pushed while pushing the tone color setting switch 141 until the tone color name "trumpet" is displayed.
Operate 2. Then, the tone color setting switch 141 is released when the tone color name of the trumpet is displayed. At this time, the display field 151 displays the tone color number of the trumpet in the GM-compatible electronic musical instrument, which the operator can ignore. That is, the operator can set the correspondence between the converted tone color number and the converted tone color number only by referring to the tone color name without paying attention to the tone color number of the electronic musical instrument of the transmitting side or the tone color number of the receiving side. You will be able to

【0039】次に、上記の操作に対応した処理を実現す
るための、本発明の音色トランスミッタの動作につき、
図4〜図7に示したフローチャートを参照しながら詳細
に説明する。
Next, the operation of the tone color transmitter of the present invention for realizing the processing corresponding to the above operation will be described.
This will be described in detail with reference to the flowcharts shown in FIGS.

【0040】図4は、本発明の音色トランスミッタのメ
インルーチンを示すフローチャートであり、電源投入に
より起動される。電源が投入されると、先ず、初期化処
理が行われる(ステップS10)。この初期化処理は、
CPU10の内部状態を初期状態に設定すると共に、R
AM12に定義されているレジスタ、カウンタ或いはフ
ラグ等に初期値を設定する処理である。
FIG. 4 is a flow chart showing the main routine of the tone color transmitter of the present invention, which is started by turning on the power. When the power is turned on, first, initialization processing is performed (step S10). This initialization process is
In addition to setting the internal state of the CPU 10 to the initial state, R
This is a process of setting initial values in registers, counters, flags, etc. defined in the AM 12.

【0041】この初期化処理が終了すると、次いでスイ
ッチイベント処理が行われる(ステップS11)。この
スイッチイベント処理では、操作パネル14のスイッチ
操作に応じた処理が行われる。次いで、受信処理が行わ
れる(ステップS12)。この受信処理では、入力イン
タフェース回路15から入力されたMIDIデータに対
する処理が行われる。次いで、送信処理が行われる(ス
テップS13)。この送信処理では、受信したMIDI
データをGM対応のMIDIデータに変換して外部に出
力する処理が行われる。次いで、ステップS11に戻
り、以下、ステップS11〜S13を繰り返し実行しな
がら、本音色トランスミッタの各種機能が実現される。
When this initialization process is completed, a switch event process is then performed (step S11). In this switch event process, a process corresponding to the switch operation of the operation panel 14 is performed. Next, the reception process is performed (step S12). In this receiving process, the process for the MIDI data input from the input interface circuit 15 is performed. Then, a transmission process is performed (step S13). In this transmission process, the received MIDI
A process of converting the data into MIDI data compatible with GM and outputting the data to the outside is performed. Next, returning to step S11, the various functions of the tone color transmitter are realized by repeatedly executing steps S11 to S13.

【0042】上記スイッチイベント処理の詳細は、図5
のフローチャートに示されている。スイッチイベント処
理では、先ず、パネルスキャンが行われる(ステップS
20)。即ち、CPU10はパネルインタフェース回路
13に対してスキャン指令を送出する。これにより、パ
ネルインタフェース回路13は、既に説明したようにパ
ネルデータを生成し、CPU10に送る。CPU10
は、このパネルデータ(以下、「新パネルデータ」とい
う。)をRAM12の所定領域に格納する。次いで、前
回読み込んで既にRAM12に記憶されているパネルデ
ータ(以下、「旧パネルデータ」という。)と、上記新
パネルデータとを比較して相違するビットをオンにした
パネルイベントマップを作成する。パネルイベントの有
無は、このパネルイベントマップを参照することにより
判断される。
Details of the above switch event processing are shown in FIG.
Is shown in the flowchart. In the switch event process, first, a panel scan is performed (step S
20). That is, the CPU 10 sends a scan command to the panel interface circuit 13. As a result, the panel interface circuit 13 generates panel data as described above and sends it to the CPU 10. CPU10
Stores this panel data (hereinafter referred to as “new panel data”) in a predetermined area of the RAM 12. Next, the panel data that has been read last time and already stored in the RAM 12 (hereinafter referred to as "old panel data") is compared with the new panel data to create a panel event map in which different bits are turned on. The presence / absence of a panel event is determined by referring to this panel event map.

【0043】上記パネルスキャン処理が終了すると、次
いで、パネルイベントの有無が調べられる(ステップS
21)。即ち、パネルイベントマップ中にオンになって
いるビットが1つ以上存在するかどうかが調べられる。
ここでパネルイベントがないことが判断されると、つま
りパネルイベントマップ中にオンになっているビットが
1つも存在しないことが判断されると、このスイッチイ
ベント処理ルーチンからリターンしてメインルーチンに
戻る。一方、上記ステップS21でスイッチイベントが
あることが判断されると、次いで、そのパネルイベント
は受信スイッチ140のイベントであるかどうかが調べ
られる(ステップS22)。これは、パネルイベントマ
ップ中の受信スイッチ140に対応するビットがオンに
なっているかどうかを調べることにより行われる。
When the panel scan processing is completed, it is then checked whether or not there is a panel event (step S).
21). That is, it is checked if there is more than one bit turned on in the panel event map.
If it is determined that there is no panel event, that is, if there is no bit that is turned on in the panel event map, the switch event processing routine returns and returns to the main routine. . On the other hand, when it is determined that there is a switch event in step S21, it is then checked whether or not the panel event is the event of the reception switch 140 (step S22). This is done by checking to see if the bit in the panel event map corresponding to receive switch 140 is on.

【0044】ここで、受信スイッチ140のイベントで
あることが判断されると、受信フラグ変更処理が行われ
る(ステップS23)。この受信フラグ変更処理では、
受信スイッチ140のイベントがオンイベントであれば
受信フラグが「1」にセットされ、オフイベントであれ
ば受信フラグが「0」にクリアされる。その後、このス
イッチイベント処理ルーチンからリターンしてメインル
ーチンに戻る。
If it is determined that the event is the reception switch 140, a reception flag change process is performed (step S23). In this reception flag change process,
If the event of the reception switch 140 is an on event, the reception flag is set to "1", and if the event is an off event, the reception flag is cleared to "0". After that, the process returns from this switch event processing routine and returns to the main routine.

【0045】上記ステップS22で受信スイッチ140
のイベントでないことが判断されると、次いで、パネル
イベントは音色設定スイッチ141のイベントであるか
どうかが調べられる(ステップS24)。これは、パネ
ルイベントマップ中の音色設定スイッチ141に対応す
るビットがオンになっているかどうかを調べることによ
り行われる。
In step S22, the receiving switch 140
If it is determined that the panel event is not the event, then it is checked whether the panel event is the event of the tone color setting switch 141 (step S24). This is performed by checking whether or not the bit corresponding to the tone color setting switch 141 in the panel event map is turned on.

【0046】ここで、音色設定スイッチ141のイベン
トであることが判断されると、次いで、そのイベントは
オンイベントであるかどうかが調べられる(ステップS
25)。これは、新パネルデータ中の音色設定スイッチ
141に対応するビットがオンになっているかどうかを
調べることにより行われる。ここでオンイベントである
ことが判断されると、音色設定フラグが「1」にセット
される(ステップS26)。音色設定フラグはRAM1
2に設けられるフラグであり、本音色トランスミッタが
音色選択可能状態にされたことを記憶する。その後、こ
のスイッチイベント処理ルーチンからリターンしてメイ
ンルーチンに戻る。
If it is determined that the event is the tone color setting switch 141 event, then it is checked whether the event is an on event (step S).
25). This is performed by checking whether or not the bit corresponding to the tone color setting switch 141 in the new panel data is turned on. If it is determined that the event is an on event, the tone color setting flag is set to "1" (step S26). RAM1 for tone color setting flag
This flag is provided in No. 2 and stores that the tone color transmitter is set to the tone color selectable state. After that, the process returns from this switch event processing routine and returns to the main routine.

【0047】一方、ステップS25でオンイベントでな
いことが判断されるとオフイベントであることが認識さ
れ、音色設定フラグが「0」にクリアされる(ステップ
S27)。そして音色変換テーブルが作成される(ステ
ップS28)。即ち、その時点で被変換音色番号バッフ
ァに格納されている音色番号と、音色番号バッファに格
納されている音色番号とが一対として音色変換テーブル
に格納される。これにより、音色設定スイッチ141を
離すことに伴って変換音色番号が確定されると共に、G
M対応でない電子楽器とGM対応の電子楽器との音色番
号の対応が音色変換テーブルに記憶されることになる。
その後、このスイッチイベント処理ルーチンからリター
ンしてメインルーチンに戻る。
On the other hand, if it is determined in step S25 that the event is not the on event, it is recognized that the event is the off event, and the tone color setting flag is cleared to "0" (step S27). Then, a tone color conversion table is created (step S28). That is, the tone color number stored in the tone color number buffer to be converted and the tone color number stored in the tone color number buffer at that time are stored as a pair in the tone color conversion table. As a result, the converted timbre number is determined as the timbre setting switch 141 is released, and G
The correspondence of the tone color numbers of the electronic musical instrument not compatible with M and the electronic musical instrument compatible with GM is stored in the tone color conversion table.
After that, the process returns from this switch event processing routine and returns to the main routine.

【0048】上記ステップS24で音色設定スイッチ1
41のイベントでないことが判断されると、次いで、パ
ネルイベントは音色選択スイッチ142のイベントであ
るかどうかが調べられる(ステップS29)。これは、
パネルイベントマップ中のアップスイッチ142A又は
ダウンスイッチ142Bに対応するビットがオンになっ
ているかどうかを調べることにより行われる。
In step S24, the tone color setting switch 1
If it is determined that the event is not the event 41, then it is checked whether the panel event is the event of the tone color selection switch 142 (step S29). this is,
This is done by checking whether the bit corresponding to the up switch 142A or the down switch 142B in the panel event map is turned on.

【0049】ここで、音色選択スイッチ142のイベン
トであることが判断されると、次いで、音色設定フラグ
は「1」であるかどうか、つまり音色設定スイッチ14
1が押下中であるかどうかが調べられる(ステップS3
0)。ここで音色設定フラグが「1」でないことが判断
されると、音色設定スイッチ141は押下中でないこと
が認識され、音色選択スイッチ142の操作に対しては
何等の処理も行われない。そして、このスイッチイベン
ト処理ルーチンからリターンしてメインルーチンに戻
る。
If it is determined that the event is the tone color selection switch 142, then whether the tone color setting flag is "1", that is, the tone color setting switch 14 is selected.
It is checked whether 1 is being pressed (step S3).
0). If it is determined that the tone color setting flag is not "1", it is recognized that the tone color setting switch 141 is not being pressed, and no processing is performed for the operation of the tone color selection switch 142. Then, the process returns from this switch event processing routine and returns to the main routine.

【0050】一方、音色設定フラグが「1」であること
が判断されると、アップスイッチ142Aのイベントで
あるかどうかが調べられる(ステップS31)。これ
は、新パネルデータ中のアップスイッチ142Aに対応
するビットがオンになっているかどうかを調べることに
より行われる。ここでアップスイッチ142Aのイベン
トであることが判断されると、音色番号バッファ中の音
色番号がインクリメントされる(ステップS32)。一
方、アップスイッチ142Aのイベントでないことが判
断されるとダウンスイッチ142Bのイベントであるこ
とが認識され、音色番号がデクリメントされる(ステッ
プS33)。
On the other hand, when it is determined that the tone color setting flag is "1", it is checked whether the event is the event of the up switch 142A (step S31). This is done by checking whether the bit corresponding to the up switch 142A in the new panel data is turned on. If it is determined that the event is the event of the up switch 142A, the tone color number in the tone color number buffer is incremented (step S32). On the other hand, if it is determined that the event is not the up switch 142A event, the down switch 142B event is recognized and the tone color number is decremented (step S33).

【0051】次いで、音色番号と音色名の表示が行われ
る(ステップS34)。即ち、音色番号バッファに格納
されている音色番号が表示器143に送られ、表示フィ
ールド151に表示される。また、標準音色テーブルを
参照して、音色番号バッファに格納されている音色番号
に対応する音色名が取り出され、表示器143に送られ
て表示フィールド152に表示される。その後、このス
イッチイベント処理ルーチンからリターンしてメインル
ーチンに戻る。これにより、音色選択スイッチ142を
操作する度に音色番号がインクリメント(又はデクリメ
ント)され、インクリメント(又はデクリメント)され
た結果の音色番号及びその音色番号に対応する音色名が
表示器143に表示される機能が実現されている。
Next, the tone color number and tone color name are displayed (step S34). That is, the tone color number stored in the tone color number buffer is sent to the display device 143 and displayed in the display field 151. Further, referring to the standard tone color table, the tone color name corresponding to the tone color number stored in the tone color number buffer is extracted, sent to the display device 143, and displayed in the display field 152. After that, the process returns from this switch event processing routine and returns to the main routine. As a result, the tone color number is incremented (or decremented) every time the tone color selection switch 142 is operated, and the tone color number resulting from the increment (or decrement) and the tone color name corresponding to the tone color number are displayed on the display unit 143. The function is realized.

【0052】メインルーチンでは、次いで、受信処理が
行われる(ステップS12)。この受信処理の詳細は、
図6のフローチャートに示されている。
In the main routine, the receiving process is then carried out (step S12). For details of this receiving process,
This is shown in the flow chart of FIG.

【0053】受信処理では、先ず、MIDIメッセージ
を受信したかどうかが調べられる(ステップS40)。
これは、CPU10が入力インタフェース回路15を調
べることにより行われる。ここで、MIDIメッセージ
を受信していないことが判断されると何等の処理も行わ
ずに、この受信処理ルーチンからリターンしてメインル
ーチンに戻る。一方、MIDIメッセージを受信したこ
とが判断されると、受信したMIDIメッセージを読み
込んでRAM12の受信バッファに転送する(ステップ
S41)。次いで、受信フラグが「1」であるかどう
か、即ち、受信スイッチ140が押下中であるかどうか
が調べられる(ステップS42)。ここで受信フラグが
「1」でないことが判断されると、この受信処理ルーチ
ンからリターンしてメインルーチンに戻る。即ち、受信
スイッチ140が押下中でない時に受信したMIDIメ
ッセージは、受信バッファにセットされるだけである。
In the receiving process, it is first checked whether or not a MIDI message has been received (step S40).
This is done by the CPU 10 examining the input interface circuit 15. If it is determined that the MIDI message is not received, no process is performed and the process returns from the reception process routine and returns to the main routine. On the other hand, when it is determined that the MIDI message is received, the received MIDI message is read and transferred to the reception buffer of the RAM 12 (step S41). Next, it is checked whether the reception flag is "1", that is, whether the reception switch 140 is being pressed (step S42). If it is determined that the reception flag is not "1", the process returns from this reception processing routine and returns to the main routine. That is, the MIDI message received when the receiving switch 140 is not being pressed is only set in the receiving buffer.

【0054】上記ステップS42で受信フラグが「1」
であることが判断されると、受信スイッチ140の押下
中にMIDIメッセージを受信した旨が認識され、その
MIDIメッセージはプログラムチェンジメッセージで
あるかどうかが調べられる(ステップS43)。これ
は、MIDIメッセージのステータスバイトを調べるこ
とにより行われる。ここで、プログラムチェンジメッセ
ージでないことが判断されると、この受信処理ルーチン
からリターンしてメインルーチンに戻る。即ち、受信ス
イッチ140が押下中に受信したプログラムチェンジメ
ッセージ以外のMIDIメッセージは無視される。
In step S42, the reception flag is "1".
If it is determined that the MIDI message is received while the receiving switch 140 is being pressed, it is checked whether the MIDI message is a program change message (step S43). This is done by examining the status byte of the MIDI message. If it is determined that the message is not the program change message, the process returns from this reception processing routine and returns to the main routine. That is, MIDI messages other than the program change message received while the receiving switch 140 is being pressed are ignored.

【0055】上記ステップS43でプログラムチェンジ
メッセージであることが判断されると、プログラムチェ
ンジメッセージ中の音色番号が被変換音色番号バッファ
に格納される(ステップS44)。この被変換音色番号
バッファの内容は、上述したように、音色番号バッファ
の内容と対で音色変換テーブルに格納される。次いで、
音色番号表示が行われる(ステップS44)。即ち、被
変換音色番号バッファの内容が表示器143に送られ、
表示フィールド150に表示される。これにより、操作
者は、入力インタフェース回路15に接続されたGM対
応でない電子楽器から送られてきたプログラムチェンジ
メッセージの音色番号を確認することができる。その
後、この受信処理ルーチンからリターンしてメインルー
チンに戻る。
When it is determined in step S43 that the message is a program change message, the tone color number in the program change message is stored in the converted tone color number buffer (step S44). The contents of the converted tone color number buffer are stored in the tone color conversion table in pairs with the contents of the tone color number buffer, as described above. Then
The timbre number is displayed (step S44). That is, the contents of the converted tone color number buffer are sent to the display device 143,
It is displayed in the display field 150. As a result, the operator can confirm the tone color number of the program change message sent from the electronic musical instrument that is not GM compatible and is connected to the input interface circuit 15. After that, the process returns from this reception processing routine and returns to the main routine.

【0056】メインルーチンでは、次いで、送信処理が
行われる。この送信処理の詳細については、図7のフロ
ーチャートに示されている。
In the main routine, the transmission process is then performed. The details of this transmission processing are shown in the flowchart of FIG.

【0057】送信処理では、先ず、受信データの有無が
調べられる(ステップS50)。これは、受信バッファ
にMIDIデータが記憶されているかどうかを調べるこ
とにより行われる。そして、受信データがないことが判
断されると、送信処理を行うことなく、この受信処理ル
ーチンからリターンしてメインルーチンに戻る。
In the transmission process, first, the presence or absence of received data is checked (step S50). This is done by checking if MIDI data is stored in the receive buffer. Then, when it is determined that there is no received data, the process returns from the receiving process routine to the main routine without performing the transmitting process.

【0058】一方、受信データがあることが判断される
と、受信バッファの内容を送信バッファに転送する(ス
テップS51)。そして、転送されたMIDIデータ
は、プログラムチェンジメッセージであるかどうかが調
べられる(ステップS52)。これは、MIDIメッセ
ージ中のステータスバイトを調べることにより行われ
る。そして、プログラムチェンジメッセージであること
が判断されると、音色番号変換が行われる(ステップS
53)。即ち、音色変換テーブル中の被変換音色番号の
中からプログラムチェンジメッセージに含まれる音色番
号と同じ番号を探し、見出された被変換音色番号に対応
する変換音色番号を取り出す。そして、この変換音色番
号を送信バッファに格納されているプログラムチェンジ
メッセージの音色番号部分に埋め込む。これにより、音
色番号がGM対応の電子楽器に対応するように変換され
たプログラムチェンジメッセージが送信バッファの中に
形成される。
On the other hand, when it is determined that there is received data, the contents of the reception buffer are transferred to the transmission buffer (step S51). Then, it is checked whether the transferred MIDI data is a program change message (step S52). This is done by examining the status byte in the MIDI message. If it is determined that the message is a program change message, tone color number conversion is performed (step S
53). That is, the same tone color number as that included in the program change message is searched from the tone color numbers to be converted in the tone color conversion table, and the tone color number corresponding to the found tone color number to be converted is extracted. Then, this converted timbre number is embedded in the timbre number part of the program change message stored in the transmission buffer. As a result, a program change message whose tone color number is converted so as to correspond to the GM compatible electronic musical instrument is formed in the transmission buffer.

【0059】次いで、送信処理が行われる(ステップS
54)。即ち、CPU10は送信バッファの中のMID
Iメッセージを出力インタフェース回路16に送る。こ
れにより、出力インタフェース回路16からGM対応の
MIDIメッセージが外部の装置に送られることにな
る。なお、上記ステップS52でプログラムチェンジメ
ッセージでないことが判断されると、ステップS53は
スキップされる。従って、プログラムチェンジメッセー
ジ以外のMIDIメッセージは、変更されることなくそ
のまま外部に送信される。
Then, a transmission process is performed (step S).
54). That is, the CPU 10 uses the MID in the transmission buffer.
The I message is sent to the output interface circuit 16. As a result, the output interface circuit 16 sends a GM compatible MIDI message to an external device. If it is determined in step S52 that the message is not a program change message, step S53 is skipped. Therefore, MIDI messages other than the program change message are transmitted to the outside without being changed.

【0060】以上説明したように、本実施例によれば、
入力されたGM対応でない電子楽器のMIDIデータに
含まれる音色番号をGM対応の電子楽器が扱うことので
きる音色番号に変換して出力する。
As described above, according to this embodiment,
The tone color number included in the input MIDI data of the non-GM compatible electronic musical instrument is converted into a tone color number that can be handled by the GM compatible electronic musical instrument and is output.

【0061】即ち、変換すべき音色対を対応付けるため
に、演奏者は、先ず、受信スイッチ140を押す。この
状態で、入力インタフェース回路15に接続されている
GM対応でない電子楽器で音色選択操作を行うと、選択
された音色の音色番号を含むMIDIメッセージが入力
インタフェース回路15を介して入力されるので、この
MIDIメッセージから音色番号を抽出する。この抽出
された音色番号が被変換音色番号となる。
That is, in order to associate the tone color pairs to be converted, the performer first pushes the reception switch 140. In this state, when a tone color selection operation is performed with an electronic musical instrument that is not GM compatible and is connected to the input interface circuit 15, a MIDI message including the tone color number of the selected tone color is input via the input interface circuit 15, The tone color number is extracted from this MIDI message. This extracted tone color number becomes the converted tone color number.

【0062】次に、演奏者は、音色設定スイッチ141
を押す。この音色設定スイッチ141が押されている状
態で音色選択スイッチ142を用いて音色を選択する
と、選択された音色名が表示器143に表示される。従
って、演奏者は、所望の音色名が表示されるまで音色選
択スイッチ142を操作し、所望の音色名が表示された
時点で上記音色設定スイッチ141を離すと、その時点
で表示器143に表示されている音色番号が変換音色番
号として確定する。このようにして被変換音色番号と変
換音色番号が決定されると、これらを一対として音色変
換テーブルに記憶する。以上の動作を繰り返し行うこと
により、被変換音色番号と変換音色番号との対を複数個
音色変換テーブルに記憶させることができる。
Next, the performer selects the tone color setting switch 141.
Press. When a tone color is selected using the tone color selection switch 142 while the tone color setting switch 141 is pressed, the selected tone color name is displayed on the display unit 143. Therefore, when the performer operates the tone color selection switch 142 until the desired tone color name is displayed, and releases the tone color setting switch 141 at the time when the desired tone color name is displayed, it is displayed on the display 143 at that time. The designated tone color number is confirmed as the converted tone color number. When the converted tone color number and the converted tone color number are determined in this manner, these are stored in the tone color conversion table as a pair. By repeating the above operation, a plurality of pairs of converted tone color numbers and converted tone color numbers can be stored in the tone color conversion table.

【0063】このように、演奏者は、音色番号を気にす
ることなく、音色名を参照することによりGM対応でな
い電子楽器の音色とGM対応の電子楽器の音色との対応
付けを行うことができるので、初心者でも簡単かつ短時
間で上記対応付けを行うことができるものとなってい
る。
As described above, the player can associate the tone color of the electronic musical instrument not compatible with GM with the tone color of the electronic musical instrument compatible with GM by referring to the tone color name without paying attention to the tone color number. As a result, even a beginner can easily perform the above-mentioned association in a short time.

【0064】以上の動作で、変換すべき音色対の対応付
けが完了すると、音色番号の変換動作を伴ったMIDI
メッセージの転送が可能となる。即ち、入力インタフェ
ース回路15で受信されたMIDIメッセージに音色番
号が含まれている場合は、その音色番号を被変換音色番
号とみなし、音色変換テーブルに記憶されている被変換
音色番号の中から一致するものを探す。そして一致する
ものが見出せたら、その被変換音色番号と対になってい
る音色番号を取り出し、受信したMIDIメッセージの
音色番号部にセットする。このようにして作成されたM
IDIメッセージは出力インタフェース回路16を介し
て外部に送信され、GM対応の電子楽器に供給される。
When the correspondence of the tone color pairs to be converted is completed by the above operation, the MIDI with the tone color number conversion operation is performed.
It becomes possible to transfer messages. That is, when the MIDI message received by the input interface circuit 15 includes the tone color number, the tone color number is regarded as the converted tone color number, and the tone color number stored in the tone color conversion table is matched. Find what to do. When a match is found, the tone color number paired with the converted tone color number is taken out and set in the tone color number part of the received MIDI message. M created in this way
The IDI message is transmitted to the outside via the output interface circuit 16 and supplied to the GM compatible electronic musical instrument.

【0065】なお、上記実施例では、入力インタフェー
ス回路15に接続される電子楽器として、GM対応では
ないがMIDIデータを出力する機能を有する電子楽器
を使用したが、MIDIデータではない機種固有の演奏
情報を出力する電子楽器にも同様に適用できる。この場
合、受信バッファに入力されたメッセージに含まれる音
色番号と共にデータ形式をGM対応のMIDIデータに
変換するように構成すれば良い。
In the above embodiment, as the electronic musical instrument connected to the input interface circuit 15, an electronic musical instrument which is not GM compatible but has a function of outputting MIDI data is used. The same applies to electronic musical instruments that output information. In this case, the data format may be converted into GM compatible MIDI data together with the tone color number included in the message input to the reception buffer.

【0066】[0066]

【発明の効果】以上詳述したように、本発明によれば、
GM対応でない電子楽器の音色番号とGM対応の電子楽
器の音色番号との対応を簡単な操作で設定することので
きる音色トランスミッタを提供できる。
As described in detail above, according to the present invention,
It is possible to provide a tone color transmitter in which the correspondence between the tone color number of an electronic musical instrument that is not GM compatible and the tone color number of an electronic musical instrument that is GM compatible can be set by a simple operation.

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

【図1】本発明の実施例の音色トランスミッタの構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a tone color transmitter according to an embodiment of the present invention.

【図2】本発明の実施例に使用される操作パネルの一例
を示す図である。
FIG. 2 is a diagram showing an example of an operation panel used in the embodiment of the present invention.

【図3】本発明の実施例とGM対応でない電子楽器及び
GM対応の電子楽器との間の接続を示す図である。
FIG. 3 is a diagram showing a connection between an embodiment of the present invention and an electronic musical instrument not compatible with GM and an electronic musical instrument compatible with GM.

【図4】本発明の実施例の動作を示すフローチャート
(メインルーチン)である。
FIG. 4 is a flowchart (main routine) showing the operation of the embodiment of the present invention.

【図5】本発明の実施例の動作を示すフローチャート
(スイッチイベント処理ルーチン)である。
FIG. 5 is a flowchart (switch event processing routine) showing the operation of the embodiment of the present invention.

【図6】本発明の実施例の動作を示すフローチャート
(受信処理ルーチン)である。
FIG. 6 is a flowchart (reception processing routine) showing the operation of the embodiment of the present invention.

【図7】本発明の実施例の動作を示すフローチャート
(送信処理ルーチン)である。
FIG. 7 is a flowchart (transmission processing routine) showing the operation of the embodiment of the present invention.

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

10 CPU 11 プログラムメモリ 12 RAM 13 パネルインタフェース回路 14 操作パネル 15 入力インタフェース回路 16 出力インタフェース回路 30 システムバス 140 受信スイッチ 141 音色設定スイッチ 142 音色選択スイッチ 142A アップスイッチ 142B ダウンスイッチ 143 表示器 10 CPU 11 Program Memory 12 RAM 13 Panel Interface Circuit 14 Operation Panel 15 Input Interface Circuit 16 Output Interface Circuit 30 System Bus 140 Reception Switch 141 Tone Color Setting Switch 142 Tone Color Selection Switch 142A Up Switch 142B Down Switch 143 Indicator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 演奏情報を受信する受信手段と、 第1の操作子と、 該第1の操作子による指示がある場合に、前記受信手段
で受信された演奏情報中の音色番号を抽出する抽出手段
と、 第2の操作子と、 該第2の操作子による指示がある場合に、複数の音色の
中から特定の音色を選択する選択手段と、 該選択手段で選択された音色の音色名を順次表示する表
示手段と、 前記抽出手段で抽出された音色番号と、前記選択手段で
選択された音色に対応する音色番号とを対応付けて記憶
する記憶手段と、 前記受信手段で受信された演奏情報中の音色番号を、前
記記憶手段に記憶されている対応付けに応じて変換する
変換手段と、 該変換手段で音色番号が変換された演奏情報を外部に送
信する送信手段、 とを具備したことを特徴とする音色トランスミッタ。
1. A receiving means for receiving performance information, a first operator, and when there is an instruction from the first operator, a tone color number in the performance information received by the receiving means is extracted. An extracting means, a second manipulator, and a selecting means for selecting a specific timbre from a plurality of timbres when there is an instruction by the second manipulator; and a timbre of the timbre selected by the selecting means. Display means for sequentially displaying names, storage means for storing the tone color numbers extracted by the extraction means and the tone color numbers corresponding to the tone colors selected by the selection means in association with each other, and received by the reception means Conversion means for converting the tone color number in the performance information according to the correspondence stored in the storage means, and transmitting means for transmitting the performance information whose tone color number has been converted by the conversion means to the outside. Tonal transformer characterized by having Mitter.
【請求項2】 前記受信手段で受信する演奏情報はGM
対応でないMIDIメッセージであり、前記送信手段か
ら送信される演奏情報はGM対応のMIDIメッセージ
であることを特徴とする請求項1に記載の音色トランス
ミッタ。
2. The performance information received by the receiving means is GM.
The tone color transmitter according to claim 1, wherein the tone color transmitter is an unsupported MIDI message, and the performance information transmitted from the transmission means is a GM compatible MIDI message.
JP6210575A 1994-08-11 1994-08-11 Timbre transmitter Withdrawn JPH0854876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6210575A JPH0854876A (en) 1994-08-11 1994-08-11 Timbre transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6210575A JPH0854876A (en) 1994-08-11 1994-08-11 Timbre transmitter

Publications (1)

Publication Number Publication Date
JPH0854876A true JPH0854876A (en) 1996-02-27

Family

ID=16591589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6210575A Withdrawn JPH0854876A (en) 1994-08-11 1994-08-11 Timbre transmitter

Country Status (1)

Country Link
JP (1) JPH0854876A (en)

Similar Documents

Publication Publication Date Title
EP0974955B1 (en) Musical tone synthesizing apparatus and method
JPH06259065A (en) Electronic musical instrument
US5430242A (en) Electronic musical instrument
JPH0854876A (en) Timbre transmitter
JP2885333B2 (en) Electronic musical instrument
JP3045915B2 (en) Electronic musical instrument data setting device
JP2570045B2 (en) Electronic musical instrument
JPH06230773A (en) Electronic musical instrument
US6979768B2 (en) Electronic musical instrument connected to computer keyboard
JP2847928B2 (en) Electronic musical instrument
JPH08106288A (en) Electronic musical instrument with bar code reading device
JP3307742B2 (en) Accompaniment content display device for electronic musical instruments
JP2739662B2 (en) Simple input device for electronic musical instruments
JP2715677B2 (en) Electronic musical instrument
JPH06102865A (en) Electronic musical instrument
JPH07175479A (en) Operating device of electronic musical instrument
JPH05273972A (en) Electronic musical instrument
JP3561967B2 (en) Electronic musical instrument system
JP2864201B2 (en) Electronic musical instrument display
JP2953937B2 (en) Electronic musical instrument volume control device
JPH04368994A (en) Display controller of electronic musical instrument
JPH10240244A (en) Key depression indicating device
JPH06161438A (en) Data input device of electronic musical instrument
JP3410134B2 (en) Electronic musical instrument
JPH0816166A (en) Rhythm selecting device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106