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

JP3266599B2 - Electronic musical instrument controller - Google Patents

Electronic musical instrument controller

Info

Publication number
JP3266599B2
JP3266599B2 JP2000207640A JP2000207640A JP3266599B2 JP 3266599 B2 JP3266599 B2 JP 3266599B2 JP 2000207640 A JP2000207640 A JP 2000207640A JP 2000207640 A JP2000207640 A JP 2000207640A JP 3266599 B2 JP3266599 B2 JP 3266599B2
Authority
JP
Japan
Prior art keywords
data
processing
message
fader
information
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
JP2000207640A
Other languages
Japanese (ja)
Other versions
JP2001034265A (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.)
Kawai Musical Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments 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 Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments Manufacturing Co Ltd
Priority to JP2000207640A priority Critical patent/JP3266599B2/en
Publication of JP2001034265A publication Critical patent/JP2001034265A/en
Application granted granted Critical
Publication of JP3266599B2 publication Critical patent/JP3266599B2/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]

【発明の属する技術分野】本発明は、例えばシーケンサ
等から供給されたMIDI(Musical Instrument Digit
al Interface)情報、又は自装置内で発生したMIDI
情報に所定の加工を施してシンセサイザ(音源)に供給
する電子楽器制御装置に関する。
The present invention relates to a MIDI (Musical Instrument Digit) supplied from, for example, a sequencer or the like.
al Interface) information or MIDI generated in the device itself
The present invention relates to an electronic musical instrument control device that performs predetermined processing on information and supplies the processed information to a synthesizer (sound source).

【0002】[0002]

【従来の技術】従来、楽音情報の国際規格としてMID
Iが定められている。したがって、MIDI情報を扱う
ことができるように構成された電子楽器等においては、
自装置で発生した楽音情報に基づき音源を駆動して楽音
を発生することは勿論、外部から供給されるMIDI情
報に基づいて自装置内の音源を駆動し、楽音を発生する
ことができるようになっている。
2. Description of the Related Art Conventionally, MID has been used as an international standard for music information.
I is defined. Therefore, in an electronic musical instrument or the like configured to be able to handle MIDI information,
It is possible to generate a musical tone by driving a sound source based on musical tone information generated in the own device, and of course, generate a musical tone by driving a sound source in the own device based on MIDI information supplied from the outside. Has become.

【0003】しかしながら、かかる電子楽器では、その
クラスによっても異なるが、MIDI情報に加工を施す
機能が充分とは言えず、また、機器の操作性も優れてい
るとは言えなかった。そこで、演奏者が自分の感性に応
じて自由、且つ豊富な楽音を創造することのできる操作
性に優れた電子楽器制御装置が望まれている。
[0003] However, such electronic musical instruments differ depending on the class, but cannot be said to have a sufficient function of processing MIDI information, and cannot be said to have excellent operability of equipment. Therefore, there is a demand for an electronic musical instrument control device that is excellent in operability and enables a player to freely and abundantly create musical tones according to his / her sensibility.

【0004】従来のMIDI情報を扱うことができるよ
うに構成された電子楽器では、下記のような種々の問題
があった。 (1)従来、自ら演奏できる機能に加えて、複数のMI
DI機器を制御できるマスターキーボードが開発され、
実用に供されている。このマスターキーボードは、音色
を変更するために、予め記憶された4チャネル分程度の
プログラムチェンジ信号を同時に出力する機能を有して
いる。しかしながら、更に多くのチャネルを制御したい
場合や、ボリューム信号をも同時に出力したい場合は、
同じような操作を複数回繰り返す必要があり、操作性に
劣るという欠点があった。
[0004] Conventional electronic musical instruments configured to handle MIDI information have the following various problems. (1) Conventionally, in addition to functions that can be played by oneself,
A master keyboard that can control DI devices was developed,
It has been put to practical use. This master keyboard has a function of simultaneously outputting about four channels of program change signals stored in advance in order to change the timbre. However, if you want to control more channels or output a volume signal at the same time,
It is necessary to repeat the same operation a plurality of times, resulting in poor operability.

【0005】(2)電子楽器のMIDI信号を伝送、処
理するための技術に関して次のような問題がある。一般
に、シーケンサには、MIDI出力チャンネルを設定す
ることができる機能が付いている。また、シンセサイザ
ー等には、MIDI出力チャンネルやMIDI入力チャ
ンネルを設定できるものが数多くある。しかしながら、
従来は、MIDI信号の出力元や受取側で、MIDIチ
ャネルを認識してチャネル切り替え処理を行うのみであ
る。したがって、1台の機器で多くのMIDI機器を制
御する場合、各MIDI機器でのセッティングが必要で
あり、その操作が煩雑で操作性に劣るという欠点があっ
た。
(2) There are the following problems with the technology for transmitting and processing MIDI signals of electronic musical instruments. Generally, a sequencer has a function of setting a MIDI output channel. There are many synthesizers and the like that can set a MIDI output channel and a MIDI input channel. However,
Conventionally, the output source or the receiving side of the MIDI signal only recognizes the MIDI channel and performs the channel switching process. Therefore, when many MIDI devices are controlled by one device, it is necessary to set each MIDI device, and the operation is complicated, resulting in poor operability.

【0006】(3)従来、電子楽器等から入力されたM
IDI情報を所定の条件に従って分割出力し、複数の音
源を制御するMIDI情報分割装置としての電子楽器制
御装置が知られている。例えば、MIDI情報の出力先
を、結線を切り替えることにりMIDIコネクタ(16
チャンネル)単位で選択することができるMIDIパッ
チベイや、同一音源内で、音域やベロシティの強弱によ
って音色を切り換えることができるシンセサイザーが市
販されている。一方、演奏者は、音源に適した楽音を発
生させるために、あるいは演奏者の好みの音源を用いて
楽音を発生させるために、MIDIチャネル毎にMID
I情報の出力先を選択したいという要望を持っている。
しかしながら、上記のようにコネクタ単位で出力先を選
択したり、同一音源内で音色を切り換える構成では、M
IDIチャンネル単位で出力先を切り換える(異なる音
源を鳴らす)ことはできなかった。
(3) Conventionally, M input from an electronic musical instrument or the like
2. Description of the Related Art There is known an electronic musical instrument control device as a MIDI information dividing device for dividing and outputting IDI information according to predetermined conditions and controlling a plurality of sound sources. For example, the connection destination of the MIDI information is switched to the MIDI connector (16
A MIDI patch bay that can be selected in units of channels) and a synthesizer that can switch timbres depending on the range and velocity of the same sound source are commercially available. On the other hand, in order to generate a musical tone suitable for a sound source, or to generate a musical tone using a sound source that the player prefers, the player performs MID for each MIDI channel.
There is a demand to select an output destination of the I information.
However, as described above, in the configuration in which the output destination is selected for each connector or the timbre is switched within the same sound source, the M
It was not possible to switch the output destination (sound a different sound source) for each IDI channel.

【0007】(4)従来、上記(3)に示したMIDI
情報分割装置としての電子楽器制御装置が知られている
が、ある種の機器においては、発音に直接作用するチャ
ネルメッセージは第1の出力端子から、その他のメッセ
ージは第2の出力端子から出力することを要請する仕様
を有している。しかしながら、上記のようにコネクタ単
位で出力先を選択したり、同一音源内で音色を切り換え
る構成では、かかる要請に応えることはできなかった。
(4) Conventionally, the MIDI shown in (3) above
Although an electronic musical instrument control device is known as an information dividing device, in some devices, a channel message that directly affects sound generation is output from a first output terminal, and other messages are output from a second output terminal. It has specifications that request that However, such a configuration in which the output destination is selected for each connector or the timbre is switched within the same sound source as described above cannot meet such a demand.

【0008】(5)従来、上記(3)に示したMIDI
情報分割装置としての電子楽器制御装置が知られている
が、演奏者は、音源に適した楽音を発生させるために、
あるいは演奏者の好みの音源を用いて楽音を発生させる
ために、ノートナンバーの高低によって出力先を選択し
たいという要望を持っている。例えば、ノートナンバー
の低い音はベース用として使用し第1の音源を鳴らし、
ノートナンバーの高い音はメロディ用として第2の音源
を鳴らしたいといったような場合である。しかしなが
ら、上記のようにコネクタ単位で出力先を選択したり、
同一音源内で音色を切り換える構成では、ノートナンバ
ーの高低によって出力先を選択したいという要請に応え
ることはできなかった。
(5) Conventionally, the MIDI shown in the above (3)
Although an electronic musical instrument control device as an information dividing device is known, a player has to generate a musical tone suitable for a sound source.
Alternatively, there is a demand to select an output destination according to the level of a note number in order to generate a musical tone using a sound source that the player prefers. For example, a note with a low note number is used for the bass and sounds the first sound source,
A sound having a high note number is a case where the second sound source is desired to be sounded for a melody. However, as described above, the output destination can be selected for each connector,
In a configuration in which the timbres are switched within the same sound source, it has not been possible to respond to a request to select an output destination according to the level of a note number.

【0009】(6)従来、上記(3)に示したMIDI
情報分割装置としての電子楽器制御装置が知られている
が、電子楽器では、その構成上同時発音数は限られるの
が一般的である。したがって、単体の電子楽器では、決
められた同時発音数以上の音の同時発音はできなかっ
た。一方、例えばアコースティックピアノは備えられた
鍵の数だけの同時発音は可能である。かかるピアノと同
じように、より多くの音を使用して多彩な演奏を可能と
するために、より多くの音を同時発音できる電子楽器が
望まれている。しかしながら、上記のようにコネクタ単
位で出力先を選択したり、同一音源内で音色を切り換え
る構成では、上記要請に応えることはできなかった。
(6) Conventionally, the MIDI shown in (3) above
Although an electronic musical instrument control device is known as an information dividing device, an electronic musical instrument generally has a limited number of simultaneous sounds due to its configuration. Therefore, a single electronic musical instrument cannot simultaneously generate more than a predetermined number of sounds. On the other hand, for example, an acoustic piano is capable of simultaneous sound generation by the number of keys provided. As in the case of such a piano, an electronic musical instrument capable of simultaneously producing more sounds is desired in order to enable a variety of performances using more sounds. However, as described above, the configuration in which the output destination is selected for each connector or the timbre is switched within the same sound source cannot meet the above demand.

【0010】(7)従来、上記(3)に示したMIDI
情報分割装置としての電子楽器制御装置が知られている
が、演奏者は、音源に適した楽音を発生させるために、
あるいは演奏者の好みの音源を用いて楽音を発生させる
ために、ノートナンバーを有するメッセージのベロシテ
ィに応じて出力先を選択したいという要望を持ってい
る。しかしながら、上記のようにコネクタ単位で出力先
を選択したり、同一音源内で音色を切り換える構成で
は、ノートナンバーを有するメッセージのベロシティに
応じて出力先を選択したいという要請に応えることはで
きなかった。
(7) Conventionally, the MIDI shown in (3) above
Although an electronic musical instrument control device as an information dividing device is known, a player has to generate a musical tone suitable for a sound source.
Alternatively, there is a demand to select an output destination in accordance with the velocity of a message having a note number in order to generate a musical tone using a sound source desired by a player. However, in the configuration in which the output destination is selected for each connector as described above, or the timbre is switched within the same sound source, the request for selecting the output destination in accordance with the velocity of the message having the note number cannot be met. .

【0011】(8)従来、音量を変化させる方法として
は、ボリューム情報で変化させる方法が知られている。
ところで、楽器においては、打鍵の強さに応じて、音量
もさることながら、音色も変化するという特性を有して
いるのが一般的である。したがって、上記ボリューム情
報で音量を変化させる方法では、入力された音のベロシ
ティの変化に応じた音量変化を付けようとするのは、ほ
とんど不可能であるという欠点があった。また、自動演
奏データを作成するような場合、同一のベロシティを付
与したデータを作成したいという要望もあった。
(8) Conventionally, as a method of changing the volume, a method of changing the volume using volume information is known.
By the way, musical instruments generally have a characteristic that the timbre changes as well as the volume in accordance with the strength of the keystroke. Therefore, the method of changing the volume based on the volume information has a disadvantage that it is almost impossible to change the volume according to the change in the velocity of the input sound. Further, in the case of creating automatic performance data, there has been a demand for creating data with the same velocity.

【0012】(9)従来、負のフェーダ値の表示装置を
有する電子楽器制御装置が知られている。かかる電子楽
器制御装置は、一般に、16本(17本)のフェーダを
持ち、入力されたMIDI情報をこのフェーダで加工し
て出力するために使用される。かかる装置において、1
6チャンネルのフェーダの値を16桁の液晶表示装置
(以下、「LCD」という)で一括して表示するために
は、それぞれのフェーダの値(通常は0〜12 7)を
1文字(5×7)で表現することが必要になる。このた
めには、例えば第50図(a)又は(b)に示すよう
に、1の位を省略し、フェーダ値を0〜12で表現する
ことが考えられる。しかしながら、入力したMIDI情
報のベロシティにフェーダの値を加算して出力するモー
ドでは、フェーダの値が負になる必要がある(例えば、
「−64〜63」)。これを、上記と同様に、1の位を
省略し、「−6〜6」で表現しようとすると、第56図
に示すように、例えば、「−6」については、「6」を
3列で表現すると、マイナス「−」を1列で表現せざる
を得ない。これにより、正の数と負の数の視覚上の差が
小さくなり、視認性が悪くなる。この傾向は、左右に他
の数が表示された場合、特に強くなる。また、16桁に
数字が並んでいるので、第57図に示すように、例え
ば、「12」と「−2」の区別が非常につけにくくな
る。これでは、16桁に文字をつめこんでまでして、全
部のフェーダの値を表示した意味がなくなってしまう。
(9) Conventionally, there has been known an electronic musical instrument control device having a display device for displaying a negative fader value. Such an electronic musical instrument control device generally has 16 (17) faders, and is used for processing input MIDI information with the faders and outputting the processed MIDI information. In such a device, 1
In order to display the fader values of the six channels collectively on a 16-digit liquid crystal display device (hereinafter referred to as “LCD”), each fader value (usually 0 to 127) is represented by one character (5 × 5). It is necessary to express in 7). For this purpose, for example, as shown in FIG. 50 (a) or (b), it is conceivable to omit the ones place and express the fader value with 0 to 12. However, in a mode in which the fader value is added to the velocity of the input MIDI information and output, the fader value needs to be negative (for example,
"-64 to 63"). If this is to be expressed as “−6 to 6” by omitting the ones digit in the same manner as above, for example, as shown in FIG. In this case, minus "-" must be expressed in one line. As a result, the visual difference between the positive number and the negative number becomes small, and the visibility deteriorates. This tendency becomes particularly strong when other numbers are displayed on the left and right. Further, since numbers are arranged in 16 digits, it is very difficult to distinguish between "12" and "-2", for example, as shown in FIG. In this case, there is no point in displaying the values of all the faders until the characters are packed into 16 digits.

【0013】(10)従来、スライド式ボリューム(フ
ェーダ)でMIDIのボリューム情報を出力する機器が
知られている。かかる機器においては、送信側のモード
変更や受信側での操作によって、実際の音量とフェーダ
の位置の対応が変わってしまうことがある。即ち、16
本のフェーダで16チャンネルのボリュームを操作する
機器においては、相手の機器のボリュームが勝手に変わ
ってしまった場合、ずれてしまったチャンネルに対応す
るフェーダを動かさないと、フェーダの位置と音量とを
一致させることができない。そうすると、完全に一致さ
せるためには、全てのフェーダを動かさなければならな
い。見ただけでは、ずれているかどうか判断できないの
で、どのフェーダ(チャネル)を動かしたかどうかわか
らなくなってしまう可能性もある。また、ずれていると
きに、フェーダを動かすと、音量が急に変わるので、な
るべく一度に一致させたい場合が多いが、従来は、かか
る操作ができなかった。さらに、フェーダと実際の音量
を合わせようとすると、フェーダが動いてしまうので、
フェーダを固定しておきたい時(動かしたくない時)に
は、問題があった。
(10) Conventionally, there has been known a device which outputs MIDI volume information using a slide-type volume (fader). In such a device, the correspondence between the actual volume and the position of the fader may change due to a mode change on the transmission side or an operation on the reception side. That is, 16
In a device that controls the volume of 16 channels with a book fader, if the volume of the other device changes without permission, the position and volume of the fader must be adjusted unless the fader corresponding to the shifted channel is moved. Cannot match. Then all faders must be moved to achieve a perfect match. Since it is not possible to judge whether or not it is out of sight just by looking at it, there is a possibility that it may not be known which fader (channel) has been moved. Also, when the fader is moved when it is out of alignment, the volume suddenly changes. Therefore, it is often desirable to make the volume coincide at the same time as much as possible. Furthermore, if you try to match the fader with the actual volume, the fader will move,
There was a problem when I wanted to keep the fader fixed (not moving).

【0014】(11) 従来、MIDIのボリュームコ
ントローラ(ミキサー)やMIDIボリューム情報を出
力可能なマスターキーボードがある。しかしながら、M
IDIボリューム情報を出力できるのは、モードがボリ
ュームを変更するための、例えばミキサーモードのみで
あり、他モードでボリュームを変更することはできなか
った。したがって、所定のモードでボリュームを変更し
たいときは、一旦ボリュームを変更できるモードに戻す
必要があり、操作性に劣るという欠点があった。
(11) Conventionally, there is a MIDI volume controller (mixer) and a master keyboard capable of outputting MIDI volume information. However, M
IDI volume information can be output only in, for example, the mixer mode for changing the volume, and the volume cannot be changed in another mode. Therefore, when it is desired to change the volume in the predetermined mode, it is necessary to return to the mode in which the volume can be changed once, and there is a disadvantage that the operability is poor.

【0015】(12)従来、スライド式ボリューム(フ
ェーダ)にエクスクルーシブデータを割当て、フェーダ
を動かすことによりエクスクルーシブデータを出力する
機器においては、エクスクルーシブデータが固定、ある
いは所定のレパートリの中から選択するような方法にな
っていた。このため、ユーザは、自分の欲しい機器のエ
クスクルーシブデータを揃えたり、新しい機器のエクス
クルーシブデータを手に入れるのが困難であった。
(12) Conventionally, in a device that assigns exclusive data to a slide volume (fader) and outputs the exclusive data by moving the fader, the exclusive data is fixed or selected from a predetermined repertoire. Had become the way. For this reason, it has been difficult for a user to prepare exclusive data of a device desired by the user or to obtain exclusive data of a new device.

【0016】(13)一般に、シンセサイザー等の電子
楽器においては、音色等のパラメータを設定するため、
1つまたは複数のフェーダ等のデータ入力手段を有す
る。また、専用のリモートコントローラを備えたものも
ある。しかしながら、従来は、モードスイッチ等で変更
したいパラメータを呼び出した上で、フェーダ等によっ
て、データを変更するようになっているため、操作性が
悪いという問題があった。
(13) Generally, in an electronic musical instrument such as a synthesizer, parameters such as timbre are set.
It has data input means such as one or more faders. Some have a dedicated remote controller. However, conventionally, a parameter to be changed is called by a mode switch or the like, and then data is changed by a fader or the like. Therefore, there is a problem that operability is poor.

【0017】[0017]

【発明が解決しようとする課題】(1)本発明は、上記
諸問題を解消するためになされたもので、MIDIの全
16チャネル分のプログラムチェンジ信号とボリューム
信号を同時に出力し、多くのMIDI機器のセッティン
グを瞬時に行うことのできる操作性に優れた電子楽器制
御装置を提供することを第1の目的とする。
SUMMARY OF THE INVENTION (1) The present invention has been made to solve the above-mentioned problems, and simultaneously outputs a program change signal and a volume signal for all 16 channels of MIDI, thereby producing many MIDI signals. It is a first object of the present invention to provide an electronic musical instrument control device which is excellent in operability and can perform setting of a device instantly.

【0018】(2)出力指示により全操作子に対応する
MIDI情報を出力し、MIDI機器と操作子との関係
を保持することを可能にした電子楽器制御装置を提供す
ることを第2の目的とする。
(2) A second object of the present invention is to provide an electronic musical instrument control device capable of outputting MIDI information corresponding to all controls in response to an output instruction and maintaining a relationship between MIDI equipment and controls. And

【0019】(3)ボリュームを変更するモード以外の
モード、つまり他モードでも有効なマスターボリューム
を備え、また、他モード中においても、ボリューム操作
を可能にすることにより操作性の優れたボリューム情報
保持装置としての電子楽器制御装置を提供することを第
3の目的とする。
(3) A master volume that is effective in a mode other than the mode for changing the volume, that is, a master volume that is effective even in another mode, and that enables volume operation even in other modes, retains volume information excellent in operability. A third object is to provide an electronic musical instrument control device as a device.

【0020】(4)予め記憶している電子楽器に特有の
エクスクルーシブ情報を読み出し、エクスクルーシブ情
報の任意の1バイトと操作子によって決定された値を置
き換えて新たなエクスクルーシブ情報を出力することに
より、多彩な演奏態様を可能にした電子楽器制御装置を
提供することを第4の目的とする。
(4) The exclusive information specific to the electronic musical instrument stored in advance is read out, and a new exclusive information is output by replacing any one byte of the exclusive information with a value determined by the operator. It is a fourth object of the present invention to provide an electronic musical instrument control device capable of performing various playing modes.

【0021】[0021]

【課題を解決するための手段】(1)本発明にかかる電
子楽器制御装置は、上記第1の目的を達成するために、
少なくとも16チャネル分のボリューム情報とプログラ
ムチェンジ情報とを含むが、ノートオン/オフ(発音開
始/停止指示情報)は含まないパッチ情報が記憶された
記憶手段と、外部機器を所定状態にセットすることを指
示する指示手段と、該指示手段による指示があった際、
前記記憶手段からパッチ情報を読み出して16チャネル
分のMIDIデータを出力する出力手段と、を具備した
ことを特徴とする。かかる構成により、指示手段からの
指示があると、記憶手段からパッチ情報を読み出して、
該パッチ情報に含まれる16チャネル分のボリューム情
報とプログラムチェンジ情報とを一度に外部の機器に出
力してセットするようにしたため、ワンタッチで全ての
MIDI機器のセッティングが瞬時に実施可能である操
作性に優れた電子楽器制御装置を提供することができ
る。
Means for Solving the Problems (1) An electronic musical instrument control device according to the present invention has the following objects.
Setting a storage unit storing patch information including at least volume information for 16 channels and program change information but not including note on / off (sound generation start / stop instruction information), and setting an external device to a predetermined state; Instruction means for instructing, when there is an instruction by the instruction means,
Output means for reading patch information from the storage means and outputting MIDI data for 16 channels. With this configuration, when there is an instruction from the instruction unit, the patch information is read from the storage unit,
Since the volume information and program change information for 16 channels included in the patch information are output and set to an external device at a time, the setting of all the MIDI devices can be performed instantly with one touch. An electronic musical instrument control device excellent in quality can be provided.

【0022】(2)本発明にかかる電子楽器制御装置
は、上記第2の目的を達成するために、所定の制御情報
を出力すべき旨を指示する指示手段と、複数の操作子の
位置情報を記憶する記憶手段と、前記指示手段による指
示があった際、前記記憶手段に記憶されている複数の操
作子の位置情報を含んだ複数の制御情報を生成する生成
手段と、該生成手段により生成された複数の制御情報を
同時に出力する出力手段と、を具備した電子楽器制御装
置であって、選択可能な複数の動作モードを有し、選択
された動作モードに応じて、操作子の操作に伴い異なる
種類のMIDI情報を出力するように構成したことを特
徴とする。このような構成により、出力指示により全操
作子に対応するMIDI情報を出力し、MIDI機器と
操作子との関係を保持することを可能にした電子楽器制
御装置を提供することができる。
(2) In order to achieve the second object, the electronic musical instrument control device according to the present invention has an instruction means for instructing that predetermined control information should be output, and position information of a plurality of operators. Storage means for storing a plurality of control information including position information of a plurality of operators stored in the storage means when an instruction is issued by the instruction means; and Output means for simultaneously outputting a plurality of pieces of generated control information, comprising: a plurality of selectable operation modes, and operating an operation element according to the selected operation mode. , So that different types of MIDI information are output. With such a configuration, it is possible to provide an electronic musical instrument control device that can output MIDI information corresponding to all controls in response to an output instruction and can maintain a relationship between MIDI devices and controls.

【0023】(3)本発明にかかる電子楽器制御装置
は、上記第3の目的を達成するために、音量変更モード
では音量情報を指定し、他のモードでは他の情報を指定
する複数の第1の操作子と、該複数の第1の操作子で指
定された音量情報を記憶する記憶手段と、前記複数の第
1の操作子で指定された音量情報の全部を相対的に変更
せしめることを指示する第2の操作子と、該第2の操作
子が操作された際、モードにかかわらず、前記記憶手段
に記憶された音量情報に対して前記第2の操作子の操作
量に応じた加工を施して新たな音量情報を生成する生成
手段と、該生成手段により生成された音量情報を出力す
る出力手段と、を具備したことを特徴とする。このよう
な構成によって、ボリュームを変更するモード以外のモ
ード、つまり他モードでも有効なマスターボリュームを
備え、また、他モード中においても、ボリューム操作を
可能にすることにより操作性の優れたボリューム情報保
持装置としての電子楽器制御装置を提供することができ
る。
(3) In order to achieve the third object, the electronic musical instrument control device according to the present invention specifies a plurality of second information that specifies volume information in the volume change mode and specifies other information in the other modes. One operation element, storage means for storing volume information specified by the plurality of first operation elements, and relatively changing all of the volume information specified by the plurality of first operation elements. And a second operation element for instructing the operation of the second operation element in response to the operation amount of the second operation element with respect to the volume information stored in the storage means regardless of the mode when the second operation element is operated. And generating means for generating new volume information by performing the above processing, and output means for outputting the volume information generated by the generating means. With such a configuration, a master volume that is effective even in a mode other than the mode in which the volume is changed, that is, in another mode, is provided. In addition, the volume operation can be performed even in the other mode, thereby maintaining excellent operability volume information. An electronic musical instrument control device as a device can be provided.

【0024】(4)本発明にかかる電子楽器制御装置
は、上記第4の目的を達成するために、エクスクルーシ
ブ情報を変更、作成する機能を持ち、変更作成の際に所
定のデータを入力する入力手段と、作成したエクスクル
ーシブ情報を記憶する記憶手段と、1バイトの値を決定
する操作子と、前記記憶手段に記憶されたエクスクルー
シブ情報を読み出し、該エクスクルーシブ情報の任意の
1バイトと前記操作子の操作によって決定された値を置
き換えてエクスクルーシブ情報を出力する出力手段と、
を具備したことを特徴とする。かかる構成を採用した結
果、予め記憶している電子楽器に特有のエクスクルーシ
ブ情報を読み出し、エクスクルーシブ情報の任意の1バ
イトと操作子によって決定された値を置き換えて新たな
エクスクルーシブ情報を出力することにより、多彩な演
奏態様を可能にした電子楽器制御装置を提供することが
できる。
(4) In order to achieve the fourth object, the electronic musical instrument control device according to the present invention has a function of changing and creating exclusive information, and an input for inputting predetermined data when making a change. Means, storage means for storing the created exclusive information, an operator for determining a 1-byte value, and reading the exclusive information stored in the storage means, and any one byte of the exclusive information and the operation Output means for replacing the value determined by the operation and outputting exclusive information;
It is characterized by having. As a result of adopting such a configuration, by reading out the exclusive information unique to the electronic musical instrument stored in advance, and replacing any one byte of the exclusive information with the value determined by the operator, new exclusive information is output. It is possible to provide an electronic musical instrument control device capable of various performance modes.

【0025】[0025]

【発明の実施の形態】次に、本発明を実施するための最
良の形態について述べる。先ず、以下に説明する各発明
に共通な構成について説明する。第1図は、本発明の電
子楽器制御装置の構成を概略的に示すブロック図であ
る。なお、MIDI規格については周知であるので、こ
こでは特には説明しない。
Next, the best mode for carrying out the present invention will be described. First, a configuration common to the inventions described below will be described. FIG. 1 is a block diagram schematically showing a configuration of an electronic musical instrument control device of the present invention. Since the MIDI standard is well known, it will not be specifically described here.

【0026】図において、1はフェーダ部であり、演奏
者が操作できる17個のスライドスイッチで構成されて
いる。このスライドスイッチのうちの16個のスイッチ
は、MIDI規格の16チャンネルのそれぞれに対応し
ており、これによりチャンネル毎に種々の指定(変更)
が可能となっている。また、残りの1つのスイッチは、
マスターボリュームであり、全16チャンネルに対して
同時に種々の指定(変更)が可能となっている。このフ
ェーダ部1の出力は、A/Dコンバータ4に供給される
ようになっている。2はスイッチ部であり、モードコン
トロール、カーソル移動、データエントリ等を行なう種
々のスイッチで構成されている。このスイッチ部2から
の各スイッチの設定状態は、CPU5に供給されるよう
になっている。
In FIG. 1, reference numeral 1 denotes a fader unit, which is composed of 17 slide switches which can be operated by a player. Sixteen switches among these slide switches correspond to each of the 16 channels of the MIDI standard, whereby various designations (changes) are made for each channel.
Is possible. Also, the other one switch is
It is a master volume, and various designations (changes) can be made simultaneously for all 16 channels. The output of the fader unit 1 is supplied to an A / D converter 4. A switch unit 2 includes various switches for performing mode control, cursor movement, data entry, and the like. The setting state of each switch from the switch unit 2 is supplied to the CPU 5.

【0027】3は表示部であり、例えば2行×16列の
数字や文字が表示可能なLCD等で構成されるものであ
る。この表示部3に表示されるデータは、CPU5から
供給されるようになっている。上記フェーダ部1、スイ
ッチ部2及び表示部3は、いずれも操作パネル上に設け
られており、演奏者が自由に操作又は目視できるように
なっている。これら操作パネルの詳細については後述す
る。
Reference numeral 3 denotes a display unit, which is constituted by, for example, an LCD capable of displaying numbers and characters of 2 rows × 16 columns. The data displayed on the display unit 3 is supplied from the CPU 5. The fader unit 1, the switch unit 2, and the display unit 3 are all provided on an operation panel, so that a player can freely operate or view it. Details of these operation panels will be described later.

【0028】4はA/Dコンバータであり、上記フェー
ダ部1から供給されるスイッチの設定位置に応じたアナ
ログ信号をデジタル信号に変換するものである。このA
/Dコンバータによりデジタル信号に変換されたフェー
ダ部1からの情報はCPU5に供給されるようになって
いる。5はCPU(中央処理装置)であり、本装置の全
体の制御を司るものである。このCPU5は、例えばマ
イクロコンピュータで構成される。
Reference numeral 4 denotes an A / D converter, which converts an analog signal supplied from the fader unit 1 according to a set position of a switch into a digital signal. This A
The information from the fader unit 1 converted into a digital signal by the / D converter is supplied to the CPU 5. Reference numeral 5 denotes a CPU (Central Processing Unit), which controls the entire operation of the apparatus. The CPU 5 is constituted by, for example, a microcomputer.

【0029】6はワークメモリであり、ランダムアクセ
スが可能なメモリ(以下、「RAM」という)で構成さ
れる。このワークメモリは、電源投入時に初期化され所
定の初期データが書き込まれるものである。このワーク
メモリ6の割り付け(メモリマップ)については第3図
に詳細を示している。各領域の大きさや機能は、以下の
説明において、必要の都度説明する。7はデータメモリ
であり、これもRAMで構成される。このデータメモリ
7は、初期化の対象とはならず、システムで設定した
り、その他種々の目的で使用される。このデータメモリ
7の割り付け(メモリマップ)については第4図に詳細
を示している。各領域の大きさや機能は、以下の説明に
おいて、必要の都度説明する。
Reference numeral 6 denotes a work memory, which comprises a memory (hereinafter, referred to as "RAM") that can be accessed randomly. This work memory is initialized when power is turned on, and predetermined initial data is written in the work memory. The assignment (memory map) of the work memory 6 is shown in detail in FIG. The size and function of each area will be described as needed in the following description. Reference numeral 7 denotes a data memory, which is also constituted by a RAM. The data memory 7 is not a target for initialization, but is set in the system or used for various other purposes. The allocation (memory map) of the data memory 7 is shown in detail in FIG. The size and function of each area will be described as needed in the following description.

【0030】8はデータメモリであり、これはリードオ
ンリメモリ(以下、「ROM」という)で構成される。
このデータメモリ8には、メーカで供給する種々のデー
タが格納され、種々の目的で使用される。このデータメ
モリ8の割り付け(メモリマップ)については第4図に
詳細を示している。各領域の大きさや機能は、以下の説
明において、必要の都度説明する。9はコードメモリで
あり、これもROMで構成される。このROM9には上
記CPU5を制御するプログラムが格納されるようにな
っている。このプログラムによる処理内容については、
以下で詳細に説明する。上記ワークメモリ6、データメ
モリ7、データメモリ8及びコードメモリ9は何れもC
PU5によりアクセスされる。
Reference numeral 8 denotes a data memory, which is constituted by a read only memory (hereinafter referred to as "ROM").
The data memory 8 stores various data supplied by the maker and is used for various purposes. The allocation (memory map) of the data memory 8 is shown in detail in FIG. The size and function of each area will be described as needed in the following description. Reference numeral 9 denotes a code memory, which is also constituted by a ROM. The ROM 9 stores a program for controlling the CPU 5. For the processing contents of this program,
This will be described in detail below. The work memory 6, data memory 7, data memory 8 and code memory 9 are all C
Accessed by PU5.

【0031】10はI/Oポートであり、2組のMID
I端子の信号の入出力を制御するものである。即ち、2
組の入力端子、出力端子及び信号を通過させるだけのス
ルー端子と、CPU5との間の情報の送受を制御するも
のである。このI/Oポート10でMIDI情報を受け
取ることによりCPU5に対して割り込みが発生し(M
IDI受信割込0(第5図参照)、MIDI受信割込1
(第6図参照))、この割り込みに応じてCPU5がデ
ータを取り込むようになっている。11はタイマであ
り、所定間隔でCPU5に対する割り込みを発生するも
のである。CPU5は、このタイマ11からの割り込み
信号を受けて所定の処理を行なうようになっている。
Reference numeral 10 denotes an I / O port, and two sets of MIDs
It controls the input and output of signals at the I terminal. That is, 2
It controls the transmission and reception of information between the CPU 5 and a set of input terminals, output terminals, and through terminals that only pass signals. When the MIDI information is received at the I / O port 10, an interrupt is generated for the CPU 5 (M
IDI reception interrupt 0 (see Fig. 5), MIDI reception interrupt 1
(See FIG. 6). In response to this interrupt, the CPU 5 takes in data. Reference numeral 11 denotes a timer that generates an interrupt to the CPU 5 at a predetermined interval. The CPU 5 receives the interrupt signal from the timer 11 and performs a predetermined process.

【0032】第2図は、操作パネルの外観図である。2
1はモードインディケータランプであり、現在動作中の
モード(「MANUAL」、「SETUP 」、又は「 SYSTEM 」)
が表示される。22は第1図に示した表示部3を構成す
るディスプレイであり、現在動作中のファンクション、
各フェーダの値等が選択的に表示される。23は第1図
のスイッチ部2を構成するパニックスイッチ(「PANIC
」)であり、このスイッチを押すと、以下に示すMI
DI信号が出力される(何れもMIDI1〜16チャン
ネル分)。 1)オールノートオフ情報 2)リセットオールコントローラ情報 3)ベンドリセット情報 4)ホールドオフ情報
FIG. 2 is an external view of the operation panel. 2
Reference numeral 1 denotes a mode indicator lamp, which is a currently operating mode ("MANUAL", "SETUP", or "SYSTEM").
Is displayed. Reference numeral 22 denotes a display constituting the display unit 3 shown in FIG.
The value of each fader and the like are selectively displayed. Reference numeral 23 denotes a panic switch (“PANIC”) that constitutes the switch unit 2 in FIG.
)), And when this switch is pressed, the MI shown below is displayed.
DI signals are output (all for MIDI channels 1 to 16). 1) All note off information 2) Reset all controller information 3) Bend reset information 4) Hold off information

【0033】24はライトキー(「WRITE 」)であり、
このスイッチを押すと、エクスルーシブパッチとセット
アップパッチを記憶させることができる。25はシフト
キー(「SHIFT 」)であり、プログラムチェンジの番号
の入力、テンキーのアルファベット及び記号の入力、2
7のスイッチの一時的な機能変更等に使用される。26
はテンキーであり、次のデータの入力に使用される。 1)MIDIチャンネル 2)パッチナンバー 3)エクスクルーシブデータ 4)プログラムチェンジの番号 5)キースプリットのノートナンバー 6)ベロシティスプリットのベロシティ値
Reference numeral 24 denotes a write key ("WRITE").
By pressing this switch, the exclusive patch and the setup patch can be stored. Reference numeral 25 denotes a shift key ("SHIFT") for inputting a program change number, inputting alphabets and symbols on a numeric keypad,
7 is used for temporarily changing the function of the switch. 26
Is a numeric keypad used for inputting the next data. 1) MIDI channel 2) Patch number 3) Exclusive data 4) Program change number 5) Key split note number 6) Velocity split velocity value

【0034】27はバリュースイッチ(「-NO DELETE」
および「+YES INSERT 」)であり、以下の用途に使用さ
れる。 1)ボリューム情報の微調整 2)ベロシティオフセットの微調整 3)ベロシティ値の微調整 4)プログラムチェンジナンバー情報の微調整 5)エクスクルーシブデータの微調整 6)パッチネームの入力 7)パッチライト時の実行、中止の設定 8)ファンクションのON/OFF 9)MIDIチャンネルの設定 10)セパレートメニューファンクションのパラメータの
設定 11)エクスクルーシブデータの送信の実行、中止の設定
27 is a value switch ("-NO DELETE")
And "+ YES INSERT"), and are used for the following purposes. 1) Fine adjustment of volume information 2) Fine adjustment of velocity offset 3) Fine adjustment of velocity value 4) Fine adjustment of program change number information 5) Fine adjustment of exclusive data 6) Input of patch name 7) Execution during patch write 8) Function ON / OFF 9) MIDI channel setting 10) Separate menu function parameter setting 11) Execution of exclusive data transmission, setting of cancellation

【0035】28はモードセレクトキーであり、以下の
5つのモードを切り換えるために使用される。 1)マニュアルモード(「MANUAL」) 2)エクスクルーシブエディットモード(「EXCLUSIVE ED
IT」) 3)セットアップモード(「SETUP 」) 4)セットアップエディットモード(「SETUP EDIT」) 5)システムモード(「SYSTEM」)
A mode select key 28 is used to switch between the following five modes. 1) Manual mode (“MANUAL”) 2) Exclusive edit mode (“EXCLUSIVE ED
IT)) 3) Setup mode (“SETUP”) 4) Setup edit mode (“SETUP EDIT”) 5) System mode (“SYSTEM”)

【0036】29はプリビアススイッチ(「PREV」)で
あり、押す度に1つ前のファンクションが呼び出される
ようになっている。30はセンドフェーダポジションキ
ー(「SEND FADER POSITION 」)であり、このスイッチ
を押すと、17本の各フェーダの位置に相当するMID
Iボリューム情報が出力されるようになっている。31
はカーソルキーであり、ディスプレイ22に表示される
カーソルを移動させることができるようになっている。
2つのスイッチを同時に押すと、ディスプレイ22に、
現在送受信中のMIDIチャンネルが表示される。
Reference numeral 29 denotes a previous switch ("PREV"), and each time it is pressed, the previous function is called. Reference numeral 30 denotes a send fader position key ("SEND FADER POSITION"). When this switch is pressed, the MID corresponding to the position of each of the 17 faders is displayed.
I volume information is output. 31
Is a cursor key, which can move a cursor displayed on the display 22.
When two switches are pressed at the same time, the display 22
The currently transmitted MIDI channel is displayed.

【0037】32はフェーダ(F1〜F16)であり、
以下のように使用される。 1)ボリューム情報の出力 2)ベロシティオフセット値の設定 3)ベロシティ値の設定 4)モジュレーション情報の出力 5)ベンダー情報の出力 6)ブレスコントロール情報の出力 7)フットコントロール情報の出力 8)ポルタメントスピード情報の出力 9)バランス情報の出力 10)パンポット情報の出力 11)エクスプレッション情報の出力 12)ダンパー情報の出力 13)プレッシャー情報の出力 14)プログラムチェンジ情報の出力 15)ピッチベンドセンシティビティ情報の出力 16)ファインチューニング情報の出力 17)コースチューニング情報の出力 18)リザーブ(4番目のレジスタードパラメータ)情報
の出力 19)エクスクルーシブデータの出力 このフェーダF1〜F16は図中上下方向にスライド可
能に構成されており、上方向に移動した場合に大きい値
が得られ、下方向に移動した場合に小さい値が得られる
ようになっている。スライドスイッチF1〜F16は、
それぞれMIDIチャンネルのチャンネル1〜16に対
応している。
Numeral 32 denotes faders (F1 to F16).
Used as follows. 1) Volume information output 2) Velocity offset value setting 3) Velocity value setting 4) Modulation information output 5) Vendor information output 6) Breath control information output 7) Foot control information output 8) Portamento speed information 9) Output of balance information 10) Output of panpot information 11) Output of expression information 12) Output of damper information 13) Output of pressure information 14) Output of program change information 15) Output of pitch bend sensitivity information 16) Output of fine tuning information 17) Output of course tuning information 18) Output of reserved (fourth registered parameter) information 19) Output of exclusive data These faders F1 to F16 are configured to be slidable up and down in the figure. , A large value is obtained when moving up, When moving to, a small value is obtained. The slide switches F1 to F16 are
These correspond to MIDI channels 1 to 16, respectively.

【0038】33はマスターボリュームフェーダであ
り、MIDI16チャンネル分のボリュームを調整する
ものである。即ち、フェーダF17が操作されると、こ
の移動により得られた値と上記フェーダF1〜F16の
移動により得られた値とが乗算され、その結果に応じた
値が出力されることになる。即ち、フェーダF17はマ
スターボリュームとして機能し、該フェーダF17を移
動した結果は他のフェーダF1〜F16の全てに影響を
与える。また、本装置は2系統のMIDI端子を備えて
おり、入力端子(IN1,IN2)、出力端子(OUT
1,OUT2)、通過端子(THRU1,THRU2)の
6個の端子が設けられている。
Reference numeral 33 denotes a master volume fader for adjusting the volume of MIDI 16 channels. That is, when the fader F17 is operated, the value obtained by the movement is multiplied by the value obtained by the movement of the faders F1 to F16, and a value corresponding to the result is output. That is, the fader F17 functions as a master volume, and the result of moving the fader F17 affects all the other faders F1 to F16. Further, the present apparatus has two MIDI terminals, an input terminal (IN1, IN2), and an output terminal (OUT
1, OUT2) and passing terminals (THRU1, THRU2).

【0039】第3図はワークメモリ6のメモリマップ
を、第4図はデータメモリ7及びデータメモリ8のメモ
リマップを示す。図において、左側は各領域の名称、又
は略称、又はその双方等を示し、その右側に該領域の簡
単な説明を付している。第5図〜第49図は本電子楽器
制御装置の動作を示すフローチャートである。ここで
は、各フローチャートについての概略の説明に止め、以
下の実施例において必要に応じて詳細に説明する。
FIG. 3 shows a memory map of the work memory 6, and FIG. 4 shows a memory map of the data memory 7 and the data memory 8. In the figure, the left side shows the name or abbreviated name of each area, or both, and the right side thereof gives a brief description of the area. 5 to 49 are flowcharts showing the operation of the electronic musical instrument control device. Here, only the outline of each flowchart will be described, and the following embodiments will be described in detail as necessary.

【0040】第5図は、MIDI受信割込0(入力端子
IN1からの受信割込)の処理ルーチンを示すものであ
る。このルーチンは入力端子IN1からのデータ受信に
より発生する割り込みにより起動され、受信バッファR
B0へ受信データを書き込む処理を行なう。第6図は、
MIDI受信割込1(入力端子IN2からの受信割込)
の処理ルーチンを示すものである。このルーチンは入力
端子IN2からのデータ受信により発生する割り込みに
より起動され、受信バッファRB1へ受信データを書き
込む処理を行なう。
FIG. 5 shows a processing routine for MIDI reception interrupt 0 (reception interrupt from input terminal IN1). This routine is started by an interrupt generated by receiving data from the input terminal IN1, and the reception buffer R
A process of writing the received data to B0 is performed. FIG.
MIDI reception interrupt 1 (reception interrupt from input terminal IN2)
This shows the processing routine of FIG. This routine is started by an interrupt generated by receiving data from the input terminal IN2, and performs a process of writing received data to the reception buffer RB1.

【0041】第7図は、受信データ(RB0,RB1)
処理を行なうための割込処理ルーチンを示すものであ
る。この受信データ処理ルーチンはタイマ11からの割
り込みにより起動され、RB0又はRB1に受信データ
が存在したら受信データ処理サブルーチンをコールする
処理を行なうものである。なお、上記RB0、RB1は
FIFOとして機能するように構成されるバッファであ
る。
FIG. 7 shows the received data (RB0, RB1).
It shows an interrupt processing routine for performing the processing. This reception data processing routine is started by an interrupt from the timer 11, and performs processing for calling a reception data processing subroutine when reception data exists in RB0 or RB1. Note that RB0 and RB1 are buffers configured to function as FIFO.

【0042】第8図は、上記第7図からコールされる受
信データ処理サブルーチンを示すものであり、RB0,
RB1からデータを読み出し、該読み出したデータの種
類を判断し、その判断結果に応じて各種処理を行なうも
のである。例えば、RB0,RB1から読み出したデー
タをマージバッファMBに書き込んでメッセージを再生
する他、エクスクルーシブ受信、エクスクルーシブスル
ーのサブルーチンをコールしたり、チャンネルコンバー
トのサブルーチンをコールする。また、メッセージが完
結したら当該メッセージの種類とモードを判断し、それ
に応じた処理を行なう。そして、メッセージをMBから
プリトランスミットバッファPTBへ移動し、セパレー
トフラグに応じたセパレート処理を行なう。さらに、メ
ッセージを送信バッファTB0、送信バッファTB1へ
書き込む処理等の各種処理を行なう。第9図は、MID
I送信割込0の処理ルーチンであり、1メッセージの送
信が完了することにより起動され、出力端子1(OUT
1)へデータを出力するために使用される。
FIG. 8 shows a received data processing subroutine called from FIG.
Data is read from RB1, the type of the read data is determined, and various processes are performed according to the determination result. For example, in addition to writing the data read from RB0 and RB1 into the merge buffer MB to reproduce the message, the subroutine for exclusive reception and exclusive through is called, and the subroutine for channel conversion is called. When the message is completed, the type and mode of the message are determined, and processing is performed in accordance with the type and mode. Then, the message is moved from the MB to the pre-transmit buffer PTB, and a separation process according to the separation flag is performed. Further, various processes such as a process of writing a message to the transmission buffer TB0 and the transmission buffer TB1 are performed. Figure 9 shows the MID
This is a processing routine for I transmission interrupt 0, which is started when transmission of one message is completed, and is output to output terminal 1 (OUT
Used to output data to 1).

【0043】第10図は、MIDI送信割込1の処理ル
ーチンであり、1メッセージの送信が完了することによ
り起動され、出力端子2(OUT2)へデータを出力す
るために使用される。第11図はベロシティオフセット
(VELOCITY OFFSET)処理ルーチンであり、受信したノ
ートオンメッセージのベロシティに、当該メッセージの
チャンネルに対応するフェーダの位置情報を加算する処
理を行なうものである。フェーダイベントフラグF_E
_Fで指されたアウトプットデータバッファO_D_B
の値をMB中のベロシティに加算する。このルーチン
は、キーバランス処理ルーチンからもコールされる。
FIG. 10 shows a processing routine of the MIDI transmission interrupt 1, which is started when the transmission of one message is completed, and is used for outputting data to the output terminal 2 (OUT2). FIG. 11 shows a velocity offset (VELOCITY OFFSET) processing routine for performing processing for adding the position information of the fader corresponding to the channel of the received note-on message to the velocity of the received note-on message. Fader event flag F_E
Output data buffer O_D_B pointed to by _F
Is added to the velocity in the MB. This routine is also called from the key balance processing routine.

【0044】第12図はベロシティアブソリュート(VE
LOCITY ABSOLUTE)処理ルーチンであり、F_E_Fで
示されたO_D_Bの値をMB中のベロシティへ書き込
む処理を行なうものである。第13図はキーバランス
(KEY BALANCE )処理ルーチンであり、MB内のメッセ
ージのチャンネルがフェーダチャネルバッファF_C_
Bの内容と同じであれば、MBで指示されたO_D_B
の値をMBのデータに加算する処理を行なうものであ
る。
FIG. 12 shows velocity absolute (VE)
LOCITY ABSOLUTE) processing routine for writing the value of O_D_B indicated by F_E_F to the velocity in the MB. FIG. 13 shows a key balance (KEY BALANCE) processing routine in which the channel of the message in the MB is set to the fader channel buffer F_C_.
If the contents are the same as the contents of B, O_D_B designated by MB
Is added to the MB data.

【0045】第14図はチャンネルセパレート処理ルー
チンであり、PTBの内容で示されるアウトプットポー
トレジスタO_P_R1、アウトプットポートレジスタ
O_P_R2のビットを判定し、それに応じてTB0_
OP、TB1_OPをコールする処理を行なうものであ
る。第15図はオッド/イーブン(Odd/Even)セパレート
処理ルーチンであり、PTBの内容を判定し、さらにP
TBの内容で指されるアウトプットポートレジスタO_
P_R3のビットを判定し、該判定に応じてTB0_O
P又はTB1_OPをコールする処理を行なうものであ
る。第16図はノートナンバー(ノートNo)セパレート
処理ルーチンであり、PTB、スプリットポイントフラ
グSPL_P_F、ノートナンバーバッファN_N_
B、アウトプットポートレジスタO_P_R4の内容に
応じてTB0_OP又はTB1_OPを選択してコール
する処理を行なうものである。
FIG. 14 shows a channel separation processing routine in which the bits of the output port registers O_P_R1 and O_P_R2 indicated by the contents of the PTB are determined, and TB0_
OP and TB1_OP are called. FIG. 15 shows an Odd / Even separate processing routine which determines the contents of the PTB and
Output port register O_ pointed by the contents of TB
The bit of P_R3 is determined, and TB0_O
A process for calling P or TB1_OP is performed. FIG. 16 shows a note number (note No.) separation processing routine, which includes a PTB, a split point flag SPL_P_F, and a note number buffer N_N_.
B, a process of selecting and calling TB0_OP or TB1_OP according to the contents of the output port register O_P_R4.

【0046】第17図はベロシティセパレート処理ルー
チンであり、以下の処理を行なう。即ち、PTB=ノー
トオンの場合は、PTB、アウトプットポートレジスタ
O_P_R5、SPL_P_F、ベロシティバッファV
_Bの内容に応じてTB0_OP又はTB1_OPを選
択してコールする。そして、PTBの内容、TB0/T
B1の選択結果、アサイン書込み順をアサイナに記録す
る。この際、アサイナがフルの時は、アサイナの1情報
を抹消し、それに応じたノートオフをTB1、TB0を
選択して書き込む(ノートオフを書いてから抹消)。一
方、PTB=ノートオフの場合は、PTBに応じたアサ
イナの情報に応じて、TB0_OP又はTB1_OPを
コールし、その情報を抹消する処理を行なうものであ
る。
FIG. 17 shows a velocity separation processing routine, which performs the following processing. That is, when PTB = note-on, PTB, output port register O_P_R5, SPL_P_F, velocity buffer V
Select and call TB0_OP or TB1_OP according to the contents of _B. And the contents of PTB, TB0 / T
As a result of the selection of B1, the assignment writing order is recorded in the assigner. At this time, when the assigner is full, one information of the assigner is deleted, and the note-off corresponding thereto is selected and written in TB1 and TB0 (the note-off is written and then deleted). On the other hand, when PTB = note-off, TB0_OP or TB1_OP is called according to the information of the assigner corresponding to the PTB, and processing for deleting the information is performed.

【0047】第18図はリアルタイムセパレート処理ル
ーチンであり、PTBの内容に応じてTB0_OP又は
TB1_OPを選択し、コールする処理を行なうもので
ある。第19図はチャンネルコンバート処理ルーチンで
あり、RB0、RB1から読み出したデータが、システ
ムチャネルバッファB_C_R、F_C_Rの内容と一
致しなければ、データの下位4ビットをチャネルコンバ
ートテーブルCH_C_Tの内容と置き換える処理を行
なうものである。
FIG. 18 shows a real-time separation processing routine in which TB0_OP or TB1_OP is selected according to the contents of the PTB, and processing for calling is performed. FIG. 19 shows a channel conversion processing routine. If the data read from RB0 and RB1 does not match the contents of the system channel buffers B_C_R and F_C_R, the lower 4 bits of the data are replaced with the contents of the channel conversion table CH_C_T. It is what you do.

【0048】第20図は本電子楽器制御装置のメインル
ーチンであり、割り込み処理以外の通常の状態では、図
示一連のステップを繰り返し実行している状態にある。
即ち、先ずモード判断ルーチンを実行する(ステップS
201)。このモード判断ルーチンは、キー入力により
設定されたモードを判断する(第8図のモード判断1)で
参照する)ためのフラグセット処理を行なうものであ
る。次いで、内部MIDIイベント処理(詳細は第21
図参照)を行なう(ステップS202)。次いで、フェ
ーダイベント処理(詳細は第22図参照)を行なう(ス
テップS203)。次いで、スイッチイベント処理(第
27図〜第48図参照)を行なう(ステップS20
4)。次いで、プログラムチェンジ受信フラグ処理を行
なう(ステップS205)。この処理は、セットアップ
記憶エリア(図4参照)のデータをセットアップデータ
ロードエリア(図3参照)に転送する処理である。最後
に、エラーメッセージ処理を行なう(ステップS20
6)。この処理は、MIDI送受信の誤りをディスプレ
イ22に表示する処理である。そして、このエラーメッ
セージ処理が終了すると該ルーチンの先頭に戻り、以
下、上記一連の処理を繰り返し実行する。
FIG. 20 shows a main routine of the electronic musical instrument control apparatus. In a normal state other than the interrupt processing, a series of steps shown in the figure are repeatedly executed.
That is, first, a mode determination routine is executed (step S
201). This mode determination routine performs a flag setting process for determining the mode set by key input (refer to the mode determination 1) in FIG. 8). Next, internal MIDI event processing (for details, see
(See FIG. 2) (step S202). Next, fader event processing (see FIG. 22 for details) is performed (step S203). Next, switch event processing (see FIGS. 27 to 48) is performed (step S20).
4). Next, a program change reception flag process is performed (step S205). This process is a process of transferring data in the setup storage area (see FIG. 4) to the setup data load area (see FIG. 3). Finally, error message processing is performed (step S20).
6). This process is a process of displaying the MIDI transmission / reception error on the display 22. When the error message processing ends, the routine returns to the top of the routine, and the above-described series of processing is repeatedly executed.

【0049】第21図は内部MIDIイベント処理ルー
チンであり、内部バッファIBからPTBへ1メッセー
ジ分のデータを書込む。また、PTBデータ及びセパレ
ートの判定によりTB0_OP又はTB1_OPを選択
してコールする処理を行なうものである。第22図はフ
ェーダイベント処理ルーチンであり、フェーダのイベン
トが検出されたら、その時のモードによってO_D_B
/フェーダデータバッファF_D_Bとボリュームデー
タバッファV_D_Bを選択し、イベントに応じたデー
タを書き込む処理を行なうものである。また、F_E_
Fのフェーダナンバーに対応するビットに「1」を立て
る処理を行なう。チャネルデータフェーダ(CH.DATA FA
DER)処理は、出力するMIDIデータを生成するもの
である。また、エクスクルーシブフェーダ(EX.Fader)
処理ルーチンについては第49図、VOLUME FADER処理ル
ーチンについては第25図にそれぞれ示している。
FIG. 21 shows an internal MIDI event processing routine, in which data for one message is written from the internal buffer IB to the PTB. Further, a process of selecting and calling TB0_OP or TB1_OP based on the determination of the PTB data and the separate is performed. FIG. 22 shows a fader event processing routine. When a fader event is detected, O_D_B depends on the mode at that time.
/ Fader data buffer F_D_B and volume data buffer V_D_B are selected, and a process of writing data according to the event is performed. Also, F_E_
A process for setting "1" to a bit corresponding to the fader number of F is performed. Channel data fader (CH.DATA FA
The DER) process is for generating MIDI data to be output. Exclusive fader (EX.Fader)
FIG. 49 shows the processing routine, and FIG. 25 shows the VOLUME FADER processing routine.

【0050】第23図はセットアップ処理ルーチンであ
り、セットアップ記憶エリアからカレントプログラムバ
ッファC_P_Bに応じたセットアップNoのデータをセ
ットアップロードエリアへ転送する処理を行なうもので
ある。このセットアップ処理は、キー操作に伴うスイッ
チイベント処理として実行される場合と、受信したMI
DI情報に応じたプログラムチェンジ受信処理として実
行される場合がある。第24図はプログラムセンド処理
ルーチン、第25図はボリュームフェーダ処理ルーチン
をそれぞれ示している。
FIG. 23 shows a setup processing routine which performs processing of transferring data of a setup number corresponding to the current program buffer C_P_B from the setup storage area to the set upload area. This setup process is executed as a switch event process accompanying a key operation, and when the received MI
It may be executed as a program change reception process according to DI information. FIG. 24 shows a program send processing routine, and FIG. 25 shows a volume fader processing routine.

【0051】第26図はエクスクルーシブデータ読出処
理ルーチンであり、エクスクルーシブバンクナンバーE
X_BANK_NO.でエクスクルーシブバンクを指示
し、カーソルでエクスクルーシブNoを指示し、これらに
より指示されたデータをエクスクルーシブロードエリア
へ転送する処理を行なうものである。このエクスクルー
シブデータ読出処理は、キー操作に伴うスイッチイベン
ト処理として実行される場合と、受信したMIDI情報
に応じたフェーダイベント処理として実行される場合が
ある。
FIG. 26 shows an exclusive data read processing routine, and the exclusive bank number E
X_BANK_NO. To indicate the exclusive bank, indicate the exclusive No with the cursor, and transfer the data designated by these to the exclusive load area. The exclusive data reading process may be executed as a switch event process accompanying a key operation, or may be executed as a fader event process according to the received MIDI information.

【0052】第27図はスイッチイベント処理の一般的
なフローを示すものであり、以下の第28図〜第48図
に示す各スイッチのスイッチイベント処理では、このフ
ローに示す手順で処理が実行される。第28図はセット
アップ設定処理1)ルーチンであり、セットアップエディ
ットモードでのボリューム送信禁止設定モード処理を行
なう。ここで判断されたボリューム送信禁止/許可の情
報は、フェーダオン/オフフラグF_OF_Fで書き込
まれる。
FIG. 27 shows a general flow of the switch event processing. In the switch event processing of each switch shown in FIGS. 28 to 48, the processing is executed according to the procedure shown in this flow. You. FIG. 28 shows a setup setting processing 1) routine, which performs volume transmission inhibition setting mode processing in the setup edit mode. The information on the volume transmission prohibition / permission determined here is written by a fader on / off flag F_OF_F.

【0053】第29図はセットアップ設定処理2)ルーチ
ンであり、セットアッププログラム設定モード処理を行
なう。この処理ではプリセットプログラムバッファP_
P_Bへのデータ書込みが行なわれる。第30図はセッ
トアップ設定処理3)ルーチンであり、チャンネルコンバ
ート設定モード処理を行なう。この処理ではCH_C_
Tへのデータ書込みが行なわれる。
FIG. 29 shows a setup setting process 2) routine, which performs a setup program setting mode process. In this process, the preset program buffer P_
Data writing to P_B is performed. FIG. 30 shows a setup setting processing 3) routine, which performs a channel conversion setting mode processing. In this process, CH_C_
Data writing to T is performed.

【0054】第31図はセットアップ設定処理4)ルーチ
ンであり、セットアップモードにおいて、フェーダ有効
/無効を設定するモードの処理を行なう。この処理では
F_OF_Fへのデータ書込みが行なわれる。第32図
はカーソル移動処理ルーチンであり、カーソル、データ
書込みポインタの内容の変更処理を行なう。
FIG. 31 shows a setup setting processing 4) routine, in which a mode in which a fader is enabled / disabled is set in the setup mode. In this process, data writing to F_OF_F is performed. FIG. 32 shows a cursor movement processing routine for changing the contents of the cursor and the data write pointer.

【0055】第33図はセットアップデータメモリ書込
処理1)ルーチンであり、ワークメモリ6のセットアップ
データロードエリアからデータメモリ7のセットアップ
記憶エリアへデータを移す処理を行なう。また、セット
アップデータロードエリアの転送先アドレスをデータロ
ードポインタへ書き込む処理を行なう。第34図はセッ
トアップデータメモリ書込処理2)ルーチンであり、デー
タメモリ7のセットアップ記憶エリアへワークメモリ6
のセットアップデータロードエリアの内容を転送する処
理を行なう。また、データロードポインタの変更処理を
行なう。
FIG. 33 is a setup data memory writing process 1) Routine in which data is transferred from the setup data load area of the work memory 6 to the setup storage area of the data memory 7. Further, a process of writing the transfer destination address of the setup data load area to the data load pointer is performed. FIG. 34 shows a setup data memory writing process 2) routine in which the work memory 6 is stored in the setup storage area of the data memory 7.
To transfer the contents of the setup data load area. Further, the data load pointer is changed.

【0056】第35図はシステムチャンネル処理ルーチ
ンであり、キー操作に応じてB_C_Rの内容を変更す
る処理を行なう。第36図はセパレートメニュー処理ル
ーチンであり、キー操作に応じてセパレートフラグSP
_Fの内容を変更する処理を行なう。第37図はセパレ
ートチャンネル処理ルーチンであり、キー操作に応じて
O_P_R1,O_P_R2の内容を変更する処理を行
なう。
FIG. 35 shows a system channel processing routine for changing the contents of B_C_R in response to a key operation. FIG. 36 shows a separate menu processing routine, in which a separate flag SP is set according to a key operation.
A process for changing the contents of _F is performed. FIG. 37 shows a separate channel processing routine for changing the contents of O_P_R1 and O_P_R2 in response to a key operation.

【0057】第38図はセパレートオッド/イーブン処
理ルーチンであり、キー操作に応じてO_P_R3の内
容を変更する処理を行なう。第39図はセパレートキー
スプリット処理ルーチンであり、キー操作に応じてN_
N_B、SPL_P_F、O_P_R4の内容を変更す
る処理を行なう。第40図はセパレートベロシティ処理
ルーチンであり、キー操作に応じてベロシティバッファ
V_B、SPL_P_F、O_P_R5の内容を変更す
る処理を行なう。
FIG. 38 shows a separate odd / even processing routine for changing the contents of O_P_R3 in response to a key operation. FIG. 39 shows a separate key split processing routine.
A process for changing the contents of N_B, SPL_P_F, and O_P_R4 is performed. FIG. 40 shows a separate velocity processing routine for changing the contents of the velocity buffers V_B, SPL_P_F, and O_P_R5 according to a key operation.

【0058】第41図は、エクスクルーシブエディット
処理(データエディット)ルーチンであり、エクスクル
ーシブデータバッファEX_DBの内容を変更する処理
を行なう。第42図は、エクスクルーシブエディット処
理(INC(データ挿入)処理)ルーチンであり、EX
_DBの内容を変更する処理を行なう。第43図は、エ
クスクルーシブエディット処理(DEC(データ削除)
処理)ルーチンであり、EX_DBの内容を変更する処
理を行なう。
FIG. 41 shows an exclusive edit processing (data edit) routine for changing the contents of the exclusive data buffer EX_DB. FIG. 42 shows an exclusive edit processing (INC (data insertion) processing) routine.
A process for changing the contents of the _DB is performed. FIG. 43 shows an exclusive edit process (DEC (data deletion)).
Processing) This is a routine for performing processing for changing the contents of EX_DB.

【0059】第44図は、エクスクルーシブエディット
処理(ネームエディット)ルーチンであり、EX_NB
の内容を変更する処理を行なう。第45図は、エクスク
ルーシブエディット処理(ライト処理1)ルーチンであ
り、モードを変更する処理を行なう。
FIG. 44 shows an exclusive edit processing (name edit) routine.
Is performed to change the contents of. FIG. 45 shows an exclusive edit processing (write processing 1) routine for performing a mode change processing.

【0060】第46図は、エクスクルーシブエディット
処理(ライト処理2)ルーチンであり、データロードポ
インタの内容を変更する処理を行なう。第47図は、エ
クスクルーシブエディット処理(ライト処理3)ルーチ
ンであり、エクスクルーシブロードエリアの内容をエク
スクルーシブバンク1〜4記憶エリアへ転送する処理を
行なう。転送先はデータロードポインタで決定される。
第48図はモード変更処理概略フローを示す。即ち、M
_F_Rの変更、モード変更の一般的な処理を示してい
る。第49図はエクスクルーシブフェーダ(Ex.Fader)
処理ルーチンである。
FIG. 46 shows an exclusive edit processing (write processing 2) routine for changing the contents of the data load pointer. FIG. 47 shows an exclusive edit processing (write processing 3) routine, which performs processing for transferring the contents of the exclusive load area to the exclusive banks 1 to 4 storage areas. The transfer destination is determined by the data load pointer.
FIG. 48 shows a schematic flow of the mode change processing. That is, M
It shows general processing of changing _F_R and changing modes. Fig. 49 shows Exclusive Fader (Ex.Fader)
This is a processing routine.

【0061】(1)第1の発明 先ず、本発明のセットアップ機能を実行するに先立っ
て、モードセレクトキー28のSETUP EDITスイッチを押
下してセットアップエディットモードにする。そして、
下記のパラメータを設定し、それをデータメモリ7のセ
ットアップ記憶エリアの複数(64個)のパッチに書き
込む。 1)16チャンネル分のボリューム及びマスターボリュー
ムの値(0〜127)、送信又は非送信の別。 2)16チャンネル分のプログラムチェンジナンバー。無
しの場合も有り。 3)フェーダのオンオフ情報。 4)パッチネーム。
(1) First invention First, prior to executing the setup function of the present invention, the SETUP EDIT switch of the mode select key 28 is pressed to enter the setup edit mode. And
The following parameters are set and are written to a plurality (64) of patches in the setup storage area of the data memory 7. 1) The values of the volume for 16 channels and the master volume (0 to 127), transmission or non-transmission. 2) Program change numbers for 16 channels. There may be none. 3) Fader on / off information. 4) Patch name.

【0062】このセットアップエディット機能の使用例
を説明する。先ず、セットアップエディットモードにす
ると、第50図(a)に示す画面がディスプレイ22に
表示される。この状態でパッチナンバー(#01)、パ
ッチの名前(BCDDEFG)を変更し、さらにフェー
ダを操作して各チャンネルに所定値をセットし、SETUP
EDITスイッチを操作すると同図(b)に示すセットボリ
ュームの画面に変化する。ここで、各チャンネルのボリ
ュームを設定する。次いで、SETUP EDITスイッチを操作
し、同図(c)に示す画面に切り換えてプログラムチェ
ンジナンバーを送ることにより音色選択を行なう。ま
た、同図(d)に示す画面に変えてセットアップパッチ
の名前を設定することもできる。
An example of using the setup edit function will be described. First, in the setup edit mode, the screen shown in FIG. 50 (a) is displayed on the display 22. In this state, change the patch number (# 01) and the patch name (BCDDEFG), and operate the fader to set a predetermined value to each channel.
When the EDIT switch is operated, the screen changes to the set volume screen shown in FIG. Here, the volume of each channel is set. Next, the SETUP EDIT switch is operated to switch to the screen shown in FIG. 9C, and the timbre is selected by sending the program change number. Further, the name of the setup patch can be set instead of the screen shown in FIG.

【0063】以上のパッチ生成が終了した後、上記デー
タが書き込まれたバッチナンバーを入力すると、そのパ
ッチが呼び出され、同時に16チャンネル分のボリュー
ムとプログラムチェンジナンバーが当該電子楽器制御装
置から出力される。この際、フェーダを動かしてもセッ
ティングが変化しないようにフェーダの動きを無視する
こともできる。本発明のセットアップ機能は以下のよう
にして実現される。即ち、モードセレクトキー28の S
ETUPスイッチを押下することにより、当該電子楽器制御
装置はセットアップモードに入り、ディスプレイ22に
は、第64図に示すような表示が行われる。第64図に
おいて、1)はパッチナンバー、2)はパッチネーム、3)は
カーソル位置のチャネルのボリューム値、4)は各チャネ
ルのボリュームの概略値を示している。このセットアッ
プ処理の詳細について第23図のフローチャートを参照
しながら説明する。
After the above-mentioned patch generation is completed, when the batch number in which the above data is written is input, the patch is called, and at the same time, the volume and the program change number for 16 channels are output from the electronic musical instrument controller. . At this time, the movement of the fader can be ignored so that the setting does not change even if the fader is moved. The setup function of the present invention is realized as follows. That is, S of the mode select key 28
By pressing the ETUP switch, the electronic musical instrument control device enters a setup mode, and a display as shown in FIG. 64 is made on the display 22. In FIG. 64, 1) shows a patch number, 2) shows a patch name, 3) shows a volume value of a channel at a cursor position, and 4) shows an approximate value of a volume of each channel. The details of the setup process will be described with reference to the flowchart of FIG.

【0064】このセットアップ処理では、先ず、スイッ
チイベントの有無が調べられ(ステップS2301)、
スイッチイベントがあったことが判断されると、現在の
モードがセットアップモードであるか否かが調べられる
(ステップS2302)。ここで、セットアップモード
であることが判断されると、セットアップナンバー(セ
ットアップNo)の指定であるか否かが調べられる(ステ
ップS2303)。そして、セットアップナンバーの指
定である、つまり、テンキー26からセットアップナン
バー指定入力があったと判断されると、入力データは確
定したか否かが調べられる(ステップS2304)。
In this setup process, first, the presence or absence of a switch event is checked (step S2301).
If it is determined that a switch event has occurred, it is checked whether the current mode is the setup mode (step S2302). Here, if it is determined that the mode is the setup mode, it is checked whether or not the setup number (setup number) is designated (step S2303). If it is determined that the setup number has been designated, that is, if the setup number designation input has been made from the ten keys 26, it is checked whether or not the input data has been determined (step S2304).

【0065】そして、入力データが確定したことが判断
されると、確定データをカレントプログラムバッファC
_P_Bへ書き込み、その値に基づいてデータロードポ
インタを変更し、データロードポインタが示すセットア
ップ記憶エリア内のセットアップデータをセットアップ
データロードエリアへ転送する(ステップS230
5)。
When it is determined that the input data has been determined, the determined data is transferred to the current program buffer C.
_P_B, the data load pointer is changed based on the value, and the setup data in the setup storage area indicated by the data load pointer is transferred to the setup data load area (step S230).
5).

【0066】次いで、プリセットボリュームバッファP
_V_Bのデータ(ボリューム値)をフェーダデータバ
ッファF_D_Bへロードする(ステップS230
6)。プリセットボリュームバッファP_V_Bには、
フェーダ1〜17の位置データが記憶されており、これ
が同じくフェーダ1〜17の位置データを記憶するフェ
ーダデータバッファF_D_Bに移される。次いで、フ
ェーダデータバッファF_D_Bの各チャネルの値とマ
スターボリューム値を乗算し、これをボリュームデータ
バッファV_D_Bへロードする(ステップS230
7)。
Next, the preset volume buffer P
_V_B data (volume value) is loaded into the fader data buffer F_D_B (step S230)
6). In the preset volume buffer P_V_B,
The position data of the faders 1 to 17 is stored, and is moved to a fader data buffer F_D_B which also stores the position data of the faders 1 to 17. Next, the value of each channel of the fader data buffer F_D_B is multiplied by the master volume value, and the result is loaded into the volume data buffer V_D_B (step S230).
7).

【0067】次いで、プログラムセンド(PROGRAM SEN
D)処理ルーチン(第24図参照)をコールする(ステ
ップS2308)。このプログラムセンド処理ルーチン
では、MIDIフォーマットのプログラムチェンジのメ
ッセージ(16チャネル分)を作成する。即ち、先ず、
カウンタポインタをゼロに初期化する(ステップS24
1)。このカウンタポインタの内容は、以下の処理でチ
ャネル番号として使用される。
Next, the program send (PROGRAM SEN)
D) Call the processing routine (see FIG. 24) (step S2308). In this program send processing routine, a MIDI format program change message (for 16 channels) is created. That is, first,
The counter pointer is initialized to zero (step S24)
1). The content of this counter pointer is used as a channel number in the following processing.

【0068】次いで、プリセットプログラムバッファP
_P_Bのデータを読み込む(ステップS242)。こ
のプリセットプログラムバッファP_P_Bには、プロ
グラムチェンジデータが記憶されている。次いで、読み
出したデータの最上位ビットMSBが「1」であるか否
かが調べられる(ステップS243)。ここで、最上位
ビットMSBが「0」であることが判断されると、プロ
グラムチェンジデータを送出すべきことを意味している
ので、カウンタポインタ値をチャネル番号(ch N
O)としたステータスと、プリセットプログラムバッフ
ァP_P_Bの内容をプログラムナンバーとするプログ
ラムチェンジのメッセージを作成し、内部イベントバッ
ファIBに書き込む(ステップS244)。
Next, the preset program buffer P
The data of _P_B is read (step S242). Program change data is stored in the preset program buffer P_P_B. Next, it is checked whether or not the most significant bit MSB of the read data is “1” (step S243). Here, when it is determined that the most significant bit MSB is “0”, it means that the program change data should be transmitted, and the counter pointer value is set to the channel number (ch N
A program change message with the status set to O) and the contents of the preset program buffer P_P_B as a program number is created and written to the internal event buffer IB (step S244).

【0069】次いで、カウンタポインタをインクリメン
トし(ステップS245)、カウンタポインタの内容が
「16」になったか否かが調べられる(ステップS24
6)。そして、「16」になっていないことが判断され
るとステップS242へ戻り、カウンタポインタが「1
6」になるまで、同様の処理を繰り返す。
Next, the counter pointer is incremented (step S245), and it is checked whether or not the content of the counter pointer has become "16" (step S24).
6). If it is determined that the value is not "16", the process returns to step S242, and the counter pointer is set to "1".
The same process is repeated until “6” is reached.

【0070】上記繰り返し実行によりカウンタポインタ
が「16」になったことが判断されると、プログラムチ
ェンジデータのMSBが「0」を有するチャネルのプロ
グラムチェンジメッセージが内部イベントバッファIB
に作成されたことになり、その後、このプログラムセン
ド処理ルーチンからリターンしてセットアップ処理ルー
チンのステップS2309に戻る。
When it is determined that the counter pointer has become "16" by the above repetitive execution, the program change message of the channel whose MSB of the program change data is "0" is sent to the internal event buffer IB.
Then, the process returns from the program send processing routine and returns to step S2309 of the setup processing routine.

【0071】次いで、フェーダオン/オフフラグF_O
F_FのMSBが「0」であるか否かが調べられる(ス
テップS2309)。ここで、フェーダオン/オフフラ
グF_OF_FのMSBは、セットアップ読み出し時の
ボリューム送信禁止を指示するフラグであり、「1」で
送信禁止を指定する。したがって、F_OF_FのMS
Bが「1」であることが判断されると、何等処理を行わ
ずに、このセットアップ処理ルーチンからリターンす
る。
Next, the fader on / off flag F_O
It is checked whether the MSB of F_F is “0” (step S2309). Here, the MSB of the fader on / off flag F_OF_F is a flag that instructs volume transmission prohibition at the time of setup readout, and specifies “1” to prohibit transmission. Therefore, MS of F_OF_F
When it is determined that B is "1", the process returns from the setup processing routine without performing any processing.

【0072】一方、F_OF_FのMSBが「0」であ
ることが判断されると、送信は許可されていることを意
味するので、F_E_Fの全ビットに「1」を書き込む
(ステップS2310)。F_E_Fは、フェーダイベ
ントがあったか否かを記憶するフラグである。したがっ
て、ここでは、全フェーダにイベントがあったことを擬
制している。
On the other hand, if it is determined that the MSB of F_OF_F is “0”, it means that transmission is permitted, and “1” is written to all bits of F_E_F (step S2310). F_E_F is a flag that stores whether a fader event has occurred. Therefore, in this case, it is assumed that all faders have an event.

【0073】次いで、ボリュームフェーダ(VOLUME FAD
ER)処理ルーチン(第25図)をコールする(ステップ
S2311)。このボリュームフェーダ処理ルーチンで
は、ボリューム値を変更するコントロールチェンジのメ
ッセージ(16チャネル分)を作成する。即ち、先ず、
カウンタポインタをゼロに初期化する(ステップS25
1)。このカウンタポインタの内容は、以下の処理でチ
ャネル番号として使用される。
Next, a volume fader (VOLUME FAD)
ER) Call a processing routine (FIG. 25) (step S2311). In the volume fader processing routine, a control change message (for 16 channels) for changing the volume value is created. That is, first,
The counter pointer is initialized to zero (Step S25)
1). The content of this counter pointer is used as a channel number in the following processing.

【0074】次いで、F_E_Fを左(又は右)に1ビ
ットシフトする(ステップS252)。そして、キャリ
ーが「1」であるか否かが調べられる(ステップS25
3)。そして、キャリーが「1」でなければ、当該チャ
ネルに対応するフェーダのイベントはなかったものと判
断し、ステップS256へ分岐する。一方、キャリーが
「1」であることが判断されると、当該チャネルに対応
するフェーダのイベントがあったものと判断し、ボリュ
ームデータバッファV_D_Bから値を読み出す(ステ
ップS254)。この時、V_D_Bには、セットアッ
プ処理ルーチンのステップS2307で演算されたボリ
ューム値が格納されている。
Next, F_E_F is shifted left (or right) by one bit (step S252). Then, it is checked whether the carry is "1" (step S25).
3). If the carry is not "1", it is determined that there is no fader event corresponding to the channel, and the flow branches to step S256. On the other hand, when it is determined that the carry is “1”, it is determined that a fader event corresponding to the channel has occurred, and a value is read from the volume data buffer V_D_B (step S254). At this time, the volume value calculated in step S2307 of the setup processing routine is stored in V_D_B.

【0075】次いで、カウンタポインタ値をチャネル番
号としたステータスと、定数と、V_D_Bの内容をボ
リューム値とするボリュームメッセージ(コントロール
メッセージ)を作成し、内部イベントバッファIBに書
き込む(ステップS255)。
Next, a status using a counter pointer value as a channel number, a constant, and a volume message (control message) using the contents of V_D_B as a volume value are created and written into the internal event buffer IB (step S255).

【0076】次いで、カウンタポインタをインクリメン
トし(ステップS256)、カウンタポインタの内容が
「16」になったか否かが調べられる(ステップS25
7)。そして、「16」になっていないことが判断され
るとステップS252へ戻り、カウンタポインタが「1
6」になるまで、同様の処理を繰り返す。上記繰り返し
実行によりカウンタポインタが「16」になったことが
判断されると、全チャネルのボリュームメッセージが内
部イベントバッファIBに作成されたことになり、その
後、このボリュームフェーダ処理ルーチンからリターン
し、さらにセットアップ処理からもリターンする。その
後、内部イベントバッファIBに作成されたメッセージ
が、内部MIDIイベント処理ルーチン(第21図)に
より外部に送出され、外部機器が初期状態に設定される
ことになる。
Next, the counter pointer is incremented (step S256), and it is checked whether or not the content of the counter pointer has become "16" (step S25).
7). If it is determined that the value is not “16”, the process returns to step S252, and the counter pointer is set to “1”.
The same process is repeated until “6” is reached. When it is determined that the counter pointer has become "16" by the above-described repetitive execution, volume messages of all channels are created in the internal event buffer IB, and thereafter, the process returns from the volume fader processing routine. Return from the setup process. Thereafter, the message created in the internal event buffer IB is sent to the outside by the internal MIDI event processing routine (FIG. 21), and the external device is set to the initial state.

【0077】次に、本発明と直接は関係しないが、セッ
トアップパッチを作成するためのセットアップエディッ
トモードにおける動作について、以下簡単に説明する。
先ず、モードセレクトキー28の SETUPスイッチを押下
し、次いで、テンキー26で所望のパッチナンバーを入
力することにより、ディスプレイ22には、第64図に
示すような表示が行われる(図では、パッチナンバー
「01」を入力した場合を示している)。
Next, although not directly related to the present invention, the operation in the setup edit mode for creating a setup patch will be briefly described below.
First, by pressing the SETUP switch of the mode select key 28 and then inputting a desired patch number with the numeric keypad 26, a display as shown in FIG. 64 is made on the display 22 (in the figure, the patch number is displayed). "01" is input).

【0078】第64図において、1)はパッチナンバー、
2)はパッチネーム、3)はカーソル位置のチャネルのボリ
ューム値、4)は各チャネルのボリュームの概略値を示し
ている。この状態からSETUP EDITスイッチを押下するこ
とにより、セットアップボリュームエディットモードに
入り、ディスプレイ22には、第65図に示すような表
示が行われる。
In FIG. 64, 1) is a patch number,
2) indicates the patch name, 3) indicates the volume value of the channel at the cursor position, and 4) indicates the approximate value of the volume of each channel. By pressing the SETUP EDIT switch from this state, a setup volume edit mode is entered, and a display as shown in FIG. 65 is made on the display 22.

【0079】第65図において、1)はこのセットアップ
パッチを呼び出したときにボリューム値を送信するか否
かを「ON」又は「OFF」で示し、2)はカーソル位置
の値、3)は各チャネルのボリュームの概略値を示してい
る。このセットアップボリュームエディット処理(セッ
トアップ設定処理1))の詳細について第28図のフロー
チャートを参照しながら説明する。
In FIG. 65, 1) indicates, by “ON” or “OFF”, whether or not a volume value is transmitted when this setup patch is called, 2) a value at a cursor position, and 3) a value at each cursor position. It shows the approximate value of the volume of the channel. Details of the setup volume editing process (setup setting process 1) will be described with reference to the flowchart in FIG.

【0080】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS281)、スイッチイベン
トがあったことが判断されると、セットアップ読出時の
ボリューム値送信禁止設定モードであるか否かが調べら
れる(ステップS282)。これは、モードフラグレジ
スタM_F_Rを参照することにより行われる。ここ
で、セットアップ読出時のボリューム値送信禁止設定モ
ードであることが判断されると、シフトキー25が押さ
れているか否かが調べられ(ステップS283)、押さ
れていることが判断されると、「-NO DELETE」キーが押
されているか否かが調べられる(ステップS284)。
In this process, first, the presence or absence of a switch event is checked (step S281). When it is determined that a switch event has occurred, it is checked whether or not the volume value transmission prohibition setting mode at the time of setup reading is set. Is performed (step S282). This is performed by referring to the mode flag register M_F_R. Here, when it is determined that the mode is the volume value transmission prohibition setting mode at the time of setup reading, it is checked whether or not the shift key 25 has been pressed (step S283). It is checked whether the "-NO DELETE" key has been pressed (step S284).

【0081】ここで、「-NO DELETE」キーが押されてい
ることが判断されると、ボリューム値送信禁止を示す情
報が、フェーダオン/オフフラグF_OF_Fに書き込
まれる(ステップS285)。一方、「-NO DELETE」キ
ーが押されていないことが判断されると、「+YES INSER
T」キーが押されているか否かが調べられる(ステップ
S286)。
If it is determined that the "-NO DELETE" key has been pressed, information indicating volume value transmission prohibition is written to the fader on / off flag F_OF_F (step S285). On the other hand, if it is determined that the “-NO DELETE” key has not been pressed, “+ YES INSER
It is checked whether the "T" key has been pressed (step S286).

【0082】ここで、「+YES INSERT」キーが押されて
いることが判断されると、ボリューム値送信許可を示す
情報が、フェーダオン/オフフラグF_OF_Fに書き
込まれる(ステップS285)。以上により、選択され
たセットアップパッチのボリューム値送信禁止又は許可
を示す情報が設定されることになる。
If it is determined that the "+ YES INSERT" key has been pressed, information indicating permission of volume value transmission is written to the fader on / off flag F_OF_F (step S285). As described above, information indicating prohibition or permission of volume value transmission of the selected setup patch is set.

【0083】次に、この状態からSETUP EDITスイッチを
再度押下することにより、セットアッププログラムチェ
ンジエディットモードに入り、ディスプレイ22には、
第66図に示すような表示が行われる。
Next, by pressing the SETUP EDIT switch again from this state, a setup program change edit mode is entered.
The display as shown in FIG. 66 is performed.

【0084】第66図において、1)はカーソル位置のチ
ャネルのプログラムチェンジナンバー、2)は各チャネル
のプログラムチェンジ情報の送信又は非送信を「T」又
は「−」で示している。このセットアッププログラムチ
ェンジエディット処理(セットアップ設定処理2))の詳
細について第29図のフローチャートを参照しながら説
明する。
In FIG. 66, 1) indicates a program change number of a channel at a cursor position, and 2) indicates transmission or non-transmission of program change information of each channel by "T" or "-". The details of the setup program change edit processing (setup setting processing 2) will be described with reference to the flowchart in FIG.

【0085】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS2901)、スイッチイベ
ントがあったことが判断されると、セットアッププログ
ラム設定モードであるか否かが調べられる(ステップS
2902)。これは、モードフラグレジスタM_F_R
を参照することにより行われる。ここで、セットアップ
プログラム設定モードであることが判断されると、テン
キー26が押されたか否かが調べられ(ステップS29
03)、テンキー26が押されたことが判断されると、
入力データ(プログラムナンバー)は確定したか否かが
調べられる(ステップS2904)。ここで、入力デー
タが確定していないことが判断されると、入力されたデ
ータを書込データバッファに書き込み、このルーチンか
らリターンする。この場合、次のテンキー入力を待つこ
とになる。
In this processing, first, the presence or absence of a switch event is checked (step S2901). When it is determined that a switch event has occurred, it is checked whether or not a setup program setting mode is set (step S290).
2902). This is the mode flag register M_F_R
Is performed by referring to. Here, if it is determined that the mode is the setup program setting mode, it is checked whether or not the ten key 26 is pressed (step S29).
03), when it is determined that the numeric key 26 has been pressed,
It is checked whether the input data (program number) has been determined (step S2904). If it is determined that the input data has not been determined, the input data is written to the write data buffer, and the routine returns. In this case, it waits for the next numeric key input.

【0086】一方、上記ステップS2904で入力デー
タが確定したことが判断されると、データ書込ポインタ
で示されるアドレスへ確定したデータ(プログラムナン
バー)を書き込む(ステップS2906)。これによ
り、プリセットプログラムバッファP_P_Bにプログ
ラムチェンジデータが書き込まれることになる。次い
で、データ書込ポインタで示されるアドレス、つまり、
ステップS2906で書き込んだデータのMSBを
「0」にセットする(ステップS2910)。これによ
り、該データを送信することを指示する。その後、この
ルーチンからリターンする。
On the other hand, when it is determined in step S2904 that the input data is determined, the determined data (program number) is written to the address indicated by the data write pointer (step S2906). As a result, the program change data is written to the preset program buffer P_P_B. Next, the address indicated by the data write pointer, that is,
The MSB of the data written in step S2906 is set to "0" (step S2910). This instructs transmission of the data. Then, the routine returns from this routine.

【0087】上記ステップS2903でテンキーでない
ことが判断されると、「−NO DELETE」キーが
押されたか否かが調べられる(ステップS2907)。
ここで、「−NO DELETE」キーが押されたことが判断さ
れると、データ書込ポインタで示されるアドレスのデー
タのMSBを「1」にセットする(ステップS290
8)。これにより、該データを送信しないことを指示す
る。その後、このルーチンからリターンする。
If it is determined in step S2903 that the key is not a numeric key, it is checked whether the "-NO DELETE" key has been pressed (step S2907).
If it is determined that the "-NO DELETE" key has been pressed, the MSB of the data at the address indicated by the data write pointer is set to "1" (step S290).
8). This instructs not to transmit the data. Then, the routine returns from this routine.

【0088】上記ステップS2907で、「-NO DELET
E」キーでないことが判断されると、「+YES INSERT」
キーが押されたか否かが調べられる(ステップS290
9)。ここで、「+YES INSERT」キーが押されたことが
判断されると、上述したように、データ書込ポインタで
示されるアドレスのデータのMSBを「0」にセットし
て、該データを送信することを指示した後、このルーチ
ンからリターンする。以上により、選択されたセットア
ップパッチのプログラムチェンジナンバーが入力され、
また、送信/非送信が設定されたことになる。
In step S2907, "-NO DELET
If it is determined that the key is not the "E" key, "+ YES INSERT"
It is checked whether a key has been pressed (step S290).
9). Here, when it is determined that the “+ YES INSERT” key has been pressed, the MSB of the data at the address indicated by the data write pointer is set to “0” and the data is transmitted, as described above. And then return from this routine. With the above, the program change number of the selected setup patch is input,
Also, transmission / non-transmission is set.

【0089】次に、この状態からSETUP EDITスイッチを
再度押下することにより、チャネルコンバートエディッ
トモードに入り、ディスプレイ22には、第67図に示
すような表示が行われる。第67図において、1)は各チ
ャネルの変更されたチャネル番号を示しており、例えば
1チャネルの入力は2チャネルとして出力されることを
示している。このチャネルコンバートエディット処理
(セットアップ設定処理3))の詳細について第30図の
フローチャートを参照しながら説明する。
Next, when the SETUP EDIT switch is pressed again from this state, a channel convert edit mode is entered, and the display 22 displays as shown in FIG. In FIG. 67, 1) indicates the changed channel number of each channel. For example, one channel input is output as two channels. The details of the channel convert edit processing (setup setting processing 3) will be described with reference to the flowchart of FIG.

【0090】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS301)、スイッチイベン
トがあったことが判断されると、チャネルコンバート設
定モードであるか否かが調べられる(ステップS30
2)。これは、モードフラグレジスタM_F_Rを参照
することにより行われる。ここで、チャネルコンバート
設定モードであることが判断されると、テンキー26が
押されたか否かが調べられ(ステップS303)、テン
キー26が押されたことが判断されると、入力データ
(プログラムナンバー)は確定したか否かが調べられる
(ステップS304)。ここで、入力データが確定して
いないことが判断されると、入力されたデータを書込デ
ータバッファに書き込み、このルーチンからリターンす
る。この場合、次のテンキー入力を待つことになる。
In this process, first, the presence or absence of a switch event is checked (step S301). When it is determined that there is a switch event, it is checked whether or not a channel conversion setting mode is set (step S30).
2). This is performed by referring to the mode flag register M_F_R. If it is determined that the mode is the channel conversion setting mode, it is checked whether or not the numeric keypad 26 has been pressed (step S303). If it is determined that the numeric keypad 26 has been pressed, the input data (program number ) Is checked to determine whether it has been determined (step S304). If it is determined that the input data has not been determined, the input data is written to the write data buffer, and the routine returns. In this case, it waits for the next numeric key input.

【0091】一方、上記ステップS304で入力データ
が確定したことが判断されると、データ書込ポインタで
示されるアドレスへ確定したデータ(変更後のチャネル
番号)を書き込む(ステップS295)。これにより、
CH_C_Tに変更後のチャネル番号が書き込まれるこ
とになる。その後、このルーチンからリターンする。以
上により、チャネルコンバート処理が終了し、セットア
ップ機能が実行されると変更されたチャネルにデータが
出力されることになる。
On the other hand, if it is determined in step S304 that the input data has been determined, the determined data (changed channel number) is written to the address indicated by the data write pointer (step S295). This allows
The changed channel number is written to CH_C_T. Then, the routine returns from this routine. As described above, when the channel conversion process is completed and the setup function is executed, data is output to the changed channel.

【0092】次に、この状態からSETUP EDITスイッチを
再度押下することにより、フェーダオン/オフエディッ
トモードに入り、ディスプレイ22には、第68図に示
すような表示が行われる。第68図において、1)はこの
セットアップパッチを呼び出したときに、フェーダを有
効とするか向くとするかを「ON/OFF」で示してい
る。このフェーダオン/オフエディット処理(セットア
ップ設定処理4))の詳細について第31図のフローチャ
ートを参照しながら説明する。
Next, when the SETUP EDIT switch is pressed again from this state, the fader on / off edit mode is entered, and the display shown in FIG. 68 is displayed on the display 22. In FIG. 68, 1) indicates “ON / OFF” as to whether the fader is valid or turned when the setup patch is called. Details of the fader on / off edit processing (setup setting processing 4) will be described with reference to the flowchart of FIG.

【0093】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS311)、スイッチイベン
トがあったことが判断されると、セットアップモードに
おいてフェーダ有効/無効を設定するモードであるか否
かが調べられる(ステップS312)。これは、モード
フラグレジスタM_F_Rを参照することにより行われ
る。ここで、フェーダ有効/無効を設定するモードであ
ることが判断されると、「-NO DELETE」キーが押された
か否かが調べられる(ステップS313)。ここで、
「-NO DELETE」キーが押されたことが判断されると、フ
ェーダ無効の情報をフェーダオン/オフフラグへ書き込
む(ステップS314)。その後、このルーチンからリ
ターンする。
In this process, first, the presence / absence of a switch event is checked (step S311). When it is determined that a switch event has occurred, it is determined whether or not the set-up mode is a mode for setting fader valid / invalid. A check is made (step S312). This is performed by referring to the mode flag register M_F_R. Here, when it is determined that the mode is for setting the fader valid / invalid, it is checked whether the “-NO DELETE” key has been pressed (step S313). here,
If it is determined that the "-NO DELETE" key has been pressed, fader invalid information is written to the fader on / off flag (step S314). Then, the routine returns from this routine.

【0094】上記ステップS313で、「-NO DELETE」
キーでないことが判断されると、「+YES INSERT」キー
が押されたか否かが調べられる(ステップS315)。
ここで、「+YES INSERT」キーが押されたことが判断さ
れると、フェーダ有効の情報をフェーダオン/オフフラ
グへ書き込む(ステップS314)。その後、このルー
チンからリターンする。以上により、フェーダオン/オ
フエディット処理が終了し、セットアップ機能が実行さ
れるとフェーダの有効又は無効機能が働くことになる。
In the above step S313, "-NO DELETE"
If it is determined that the key is not a key, it is checked whether the "+ YES INSERT" key has been pressed (step S315).
Here, when it is determined that the “+ YES INSERT” key has been pressed, information on the validity of the fader is written into the fader on / off flag (step S314). Then, the routine returns from this routine. As described above, when the fader on / off edit processing is completed and the setup function is executed, the function of enabling or disabling the fader is activated.

【0095】以上説明したセットアップエディットモー
ドにおいて、WRITEキー24が押下されると、上記
でセットしたデータをRAM7のセットアップ記憶エリ
アに書き込むセットアップデータメモリ書込処理が実行
される。即ち、WRITEキー24を押下することによ
り、第69図に示すような表示が行われる。第69図に
おいて、1)は書き込むパッチの名前であり、2)は書込先
のパッチナンバーを示す。このセットアップデータメモ
リ書込処理の詳細について第33図のフローチャートを
参照しながら説明する。
In the above-described setup edit mode, when the WRITE key 24 is pressed, a setup data memory writing process for writing the data set as described above into the setup storage area of the RAM 7 is executed. That is, when the WRITE key 24 is pressed, a display as shown in FIG. 69 is performed. In FIG. 69, 1) is the name of the patch to be written, and 2) is the patch number of the writing destination. Details of the setup data memory writing process will be described with reference to the flowchart of FIG.

【0096】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS331)、スイッチイベン
トがあったことが判断されると、セットアップ設定モー
ドであるか否かが調べられる(ステップS332)。こ
れは、モードフラグレジスタM_F_Rを参照すること
により行われる。ここで、セットアップ設定モードであ
ることが判断されると、WRITEキー24が押された
か否かが調べられる(ステップS333)。ここで、W
RITEキー24が押されたことが判断されると、セッ
トアップ書込準備モードへ変更処理が行われる(ステッ
プS334)。これは、モードフラグレジスタM_F_
Rの該当ビットをセットする処理である。
In this process, first, it is checked whether or not there is a switch event (step S331). When it is determined that there is a switch event, it is checked whether or not the mode is the setup setting mode (step S332). This is performed by referring to the mode flag register M_F_R. Here, when it is determined that the mode is the setup setting mode, it is checked whether the WRITE key 24 has been pressed (step S333). Where W
If it is determined that the RITE key 24 has been pressed, a change process to the setup write preparation mode is performed (step S334). This is because the mode flag register M_F_
This is a process of setting the corresponding bit of R.

【0097】次いで、カレントプログラムバッファC_
P_Bを基にした書込先アドレスをデータロードポイン
タへ書き込み(ステップS335)、その後、このルー
チンからリターンする。カレントプログラムバッファC
_P_Bは、現在読み込まれているセットアップナンバ
ーを記憶するバッファである。このC_P_Bの内容か
らセットアップ記憶エリアの該当するセットアップナン
バーの記憶アドレスが算出される。
Next, the current program buffer C_
The write destination address based on P_B is written to the data load pointer (step S335), and the process returns from this routine. Current program buffer C
_P_B is a buffer that stores the currently read setup number. From the contents of C_P_B, the storage address of the corresponding setup number in the setup storage area is calculated.

【0098】かかる状態で、「+YES INSERT」キー又は
「-NO DELETE」キーが押下されることにより、書込又は
書込の中止が行われることになる。この処理の詳細につ
いて第34図のフローチャートを参照しながら説明す
る。
In this state, when the "+ YES INSERT" key or the "-NO DELETE" key is pressed, the writing or the stop of the writing is performed. Details of this processing will be described with reference to the flowchart in FIG.

【0099】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS3401)、スイッチイベ
ントがあったことが判断されると、セットアップ書込準
備モードであるか否かが調べられる(ステップS33
2)。これは、モードフラグレジスタM_F_Rを参照
することにより行われる。
In this processing, first, the presence or absence of a switch event is checked (step S3401). When it is determined that there is a switch event, it is checked whether or not a setup write preparation mode is set (step S33).
2). This is performed by referring to the mode flag register M_F_R.

【0100】ここで、セットアップ書込準備モードであ
ることが判断されると、「+YES INSERT 」キーが押され
たか否かが調べられる (ステップS3403)。な
お、「+YES INSERT 」キーが押されると、ディスプレイ
22には、第70図に示す表示が行われ、操作者の注意
を喚起する。ここで、「+YES INSERT 」キーが押された
ことが判断されると、データロードポインタのアドレス
から上位へセットアップデータロードエリア(テンポラ
リ)のセットアップデータを全て転送する(ステップS
3404)。その後、このルーチンからリターンする。
これによりセットアップデータのメモリへの書込が終了
する。
If it is determined that the mode is the setup write preparation mode, it is checked whether the "+ YES INSERT" key has been pressed (step S3403). When the "+ YES INSERT" key is pressed, the display shown in FIG. 70 is displayed on the display 22 to call attention of the operator. Here, when it is determined that the "+ YES INSERT" key has been pressed, all the setup data in the setup data load area (temporary) is transferred from the address of the data load pointer to the upper level (step S).
3404). Then, the routine returns from this routine.
This completes the writing of the setup data into the memory.

【0101】一方、ステップS3403で、「+YES INS
ERT 」キーでないことが判断されると、「-NO DELETE」
キーが押下されたか否かが調べられる(ステップS34
05)。ここで、「-NO DELETE」キーが押下されたこと
が判断されると、セットアップ設定モードへモード変更
し(ステップS3406)、このルーチンからリターン
する。これにより、WRITEキー24が押下される前
の状態に戻る。
On the other hand, in step S3403, "+ YES INS
If it is determined that the key is not "ERT" key, "-NO DELETE"
It is checked whether the key has been pressed (step S34).
05). If it is determined that the "-NO DELETE" key has been pressed, the mode is changed to the setup setting mode (step S3406), and the routine returns. This returns to the state before the WRITE key 24 was pressed.

【0102】上記ステップS3405で、「-NO DELET
E」キーでもないことが判断されると、テンキー26が
押下されたか否かが調べられる(ステップS340
7)。そして、テンキー26が押下されたことが判断さ
れると、パッチナンバーの変更である旨を認識し、カレ
ントプログラムバッファC_P_Bをテンキー入力に応
じた値に変更し(ステップS3408)、カレントプロ
グラムバッファC_P_Bを基にした書込先アドレスを
データロードポインタへ書き込み(ステップS340
9)、その後、このルーチンからリターンする。以上に
より、セットアップエディットモードの処理を終了す
る。
In step S3405, "-NO DELET
If it is determined that the key is not the “E” key, it is checked whether the numeric keypad 26 has been pressed (step S340).
7). If it is determined that the numeric key 26 has been pressed, it is recognized that the patch number has been changed, the current program buffer C_P_B is changed to a value corresponding to the numeric key input (step S3408), and the current program buffer C_P_B is changed. The base write destination address is written to the data load pointer (step S340).
9) Then, return from this routine. Thus, the processing in the setup edit mode is completed.

【0103】(2)第2の発明 入力端子IN1でMIDIデータを受信すると、CPU
5に対する受信割込がかけられる。この受信割込の処理
は、第5図のMIDI受信割込0処理ルーチンに示され
ている。
(2) Second invention When MIDI data is received at the input terminal IN1, the CPU
5 is received. The processing of this reception interruption is shown in the MIDI reception interruption 0 processing routine of FIG.

【0104】即ち、先ず受信データがリアルタイムメッ
セージであるか否かが調べられる(ステップS51)。
これは、受信データのステータス(第1バイト目)を調
べることにより判断される。ここで、リアルタイムメッ
セージでないことが判断されると、該データをレシーブ
バッファRB0に格納し(ステップS52)、この処理
ルーチンからリターンする。一方、リアルタイムメッセ
ージであることが判断されると、リアルタイムセパレー
トフラグがオンであるか否かが調べられる(ステップS
53)。そして、リアルタイムセパレートフラグがオン
であれば、出力端子OUT2に対する送信処理を行い
(ステップS55)、その後、この処理ルーチンからリ
ターンする。
That is, first, it is checked whether or not the received data is a real-time message (step S51).
This is determined by checking the status (first byte) of the received data. If it is determined that the message is not a real-time message, the data is stored in the receive buffer RB0 (step S52), and the process returns from this processing routine. On the other hand, if it is determined that the message is a real-time message, it is checked whether the real-time separate flag is on (step S).
53). Then, if the real-time separate flag is on, transmission processing to the output terminal OUT2 is performed (step S55), and thereafter, the processing returns from this processing routine.

【0105】リアルタイムセパレートフラグがオンでな
ければ、出力端子OUT1に対する送信処理(ステップ
S54)及び出力端子OUT2に対する送信処理(ステ
ップS55)を行い、その後、この処理ルーチンからリ
ターンする。即ち、このルーチンでは受信したメッセー
ジがリアルタイムメッセージであるか否かだけを判断
し、リアルタイムメッセージであれば、出力端子OUT
1、OUT2に対する送信処理を行って処理を終了す
る。リアルタイムメッセージでなければ、レシーブバッ
ファRB0に受信したメッセージを格納して処理を終了
する。
If the real-time separation flag is not on, the transmission processing to the output terminal OUT1 (step S54) and the transmission processing to the output terminal OUT2 (step S55) are performed, and thereafter, the process returns from this processing routine. That is, in this routine, it is determined only whether or not the received message is a real-time message.
1. Perform transmission processing for OUT2 and end the processing. If the message is not a real-time message, the received message is stored in the receive buffer RB0, and the process ends.

【0106】同様に、入力端子IN2でMIDIデータ
を受信すると、CPU5に対する受信割込がかけられ
る。この受信割込の処理は、第6図のMIDI受信割込
1処理ルーチンに示されている。即ち、先ず受信データ
がリアルタイムメッセージであるか否かが調べられる
(ステップS61)。これは、受信データのステータス
(第1バイト目)を調べることにより判断される。ここ
で、リアルタイムメッセージでないことが判断される
と、該データをレシーブバッファRB1に格納し(ステ
ップS62)、この処理ルーチンからリターンする。一
方、リアルタイムメッセージであることが判断される
と、何等の処理も行わずに、この処理ルーチンからリタ
ーンする。
Similarly, when MIDI data is received at the input terminal IN2, a reception interrupt to the CPU 5 is made. The processing of this reception interruption is shown in the MIDI reception interruption 1 processing routine of FIG. That is, first, it is checked whether or not the received data is a real-time message (step S61). This is determined by examining the status (first byte) of the received data. If it is determined that the message is not a real-time message, the data is stored in the receive buffer RB1 (step S62), and the process returns from this processing routine. On the other hand, if it is determined that the message is a real-time message, the process returns from this processing routine without performing any processing.

【0107】つまり、このルーチンでは受信したメッセ
ージがリアルタイムメッセージであるか否かだけを判断
し、リアルタイムメッセージであれば何もしないで処理
を終了する。リアルタイムメッセージでなければ、レシ
ーブバッファRB1に受信したメッセージを格納して処
理を終了する。以上により、外部からのMIDIデータ
は、レシーブバッファRB0,RB1に格納されること
になる。
That is, in this routine, it is determined only whether or not the received message is a real-time message. If the received message is a real-time message, the process is terminated without doing anything. If it is not a real-time message, the received message is stored in the receive buffer RB1, and the process is terminated. As described above, MIDI data from the outside is stored in the receive buffers RB0 and RB1.

【0108】一方、上記動作とは独立に、タイマ11か
ら所定間隔でCPU5に対して割込が発生する。この割
込が発生すると、第7図に示す、受信データ(RB0,
RB1)処理ルーチンが起動される。
On the other hand, the timer 11 interrupts the CPU 5 at predetermined intervals independently of the above operation. When this interrupt occurs, the received data (RB0, RB0,
RB1) The processing routine is started.

【0109】即ち、先ずレシーブバッファRB0がエン
プティ(Empty)であるか否かが調べられ(ステッ
プS71)、エンプティでなければ、受信データ処理サ
ブルーチン(第8図)がコールされる(ステップS7
2)。次いで、レシーブバッファRB1がエンプティ
(Empty)であるか否かが調べられ(ステップS7
3)、エンプティでなければ、受信データ処理サブルー
チン(第8図)がコールされる(ステップS74)。こ
のように、常時、レシーブバッファRB0,RB1が監
視されており、データがあると受信データ処理が行われ
る。
That is, first, it is checked whether or not the receive buffer RB0 is empty (Step S71). If not, the reception data processing subroutine (FIG. 8) is called (Step S7).
2). Next, it is checked whether or not the receiving buffer RB1 is empty (Step S7).
3) If not empty, the reception data processing subroutine (FIG. 8) is called (step S74). As described above, the receiving buffers RB0 and RB1 are constantly monitored, and if there is data, the reception data processing is performed.

【0110】受信データは、第8図に示す受信データ処
理サブルーチンにより、図示フローに従って処理され
る。ここでは、本発明に関係する部分の説明に止め、そ
の他の部分は、対応する発明の項で説明する。
The received data is processed according to the illustrated flow by a received data processing subroutine shown in FIG. Here, only the portions related to the present invention will be described, and other portions will be described in the corresponding invention section.

【0111】即ち、先ず、レシーブバッファRB0,R
B1から受信データの読出しが行われる(ステップS8
01)。次いで、該受信データがステータスバイトであ
るか否か、つまり第1バイト目であるか否かが調べられ
る(ステップS802)。そして、ステータスバイトで
あることが判断されると、該受信データがエクスクルー
シブステータスであるか否かが調べられ(ステップS8
03)、エクスクルーシブステータスでなければステッ
プS807へ分岐する。そして、該受信データがチャネ
ルメッセージであるか又はコモンメッセージであるか否
かが調べられる。そして、チャネルメッセージであるこ
とが判断された場合に、チャネルコンバート処理ルーチ
ン(第19図)がコールされる。
That is, first, the receiving buffers RB0, R
The received data is read from B1 (step S8)
01). Next, it is checked whether or not the received data is a status byte, that is, whether or not the received data is a first byte (step S802). If it is determined that the received data is a status byte, it is checked whether the received data has an exclusive status (step S8).
03), if it is not the exclusive status, the flow branches to step S807. Then, it is checked whether the received data is a channel message or a common message. When it is determined that the message is a channel message, a channel conversion processing routine (FIG. 19) is called.

【0112】即ち、チャネルコンバート処理ルーチン
は、ステータスがエクスクルーシブステータス以外であ
り、かつ、チャネルメッセージの時にコールされること
になる。チャネルコンバート処理では、先ず、ステータ
スに含まれるチャネル(Ch)データがシステムチャネ
ルレジスタB_C_Rにセットされているデータと同一
であるか否かが調べられる(ステップS191)。
That is, the channel conversion processing routine is called when the status is other than the exclusive status and a channel message is issued. In the channel conversion process, first, it is checked whether the channel (Ch) data included in the status is the same as the data set in the system channel register B_C_R (step S191).

【0113】そして、同一でないことが判断されると、
ステータスに含まれるチャネル(Ch)データがF_C
_Bにセットされているデータと同一であるか否かが調
べられる(ステップS191)。そして、同一でないこ
とが判断されると、ステータスに含まれるチャネル(C
h)データを、CH_C_Tの対応する領域に格納され
ているデータと置き換える(ステップS193)。その
後、この処理ルーチンからリターンする。
When it is determined that they are not the same,
The channel (Ch) data included in the status is F_C
It is checked whether the data is the same as the data set in _B (step S191). If it is determined that they are not the same, the channel (C
h) Replace the data with the data stored in the area corresponding to CH_C_T (step S193). Then, the process returns from this processing routine.

【0114】チャネル変換の一例を下表1に示す。 表1 チャネルコンバート例 An example of the channel conversion is shown in Table 1 below. Table 1 Channel conversion example

【0115】上記処理から理解できるように、受信デー
タが示すチャネルが本電子楽器制御装置のシステムチャ
ネルと同じである場合、及び、チャネルコントロールの
対象として設定されたチャネル(F_C_Bにセットさ
れている)と同一である場合は、チャネルコンバート処
理は行われない。
As can be understood from the above processing, when the channel indicated by the received data is the same as the system channel of the electronic musical instrument control device, and the channel set as the channel control target (set to F_C_B) If they are the same, the channel conversion process is not performed.

【0116】以上のチャネルコンバート処理が完了する
と、受信データ処理サブルーチンのステップS809に
戻り、変換した受信データをステータスバッファ(MB
_RS)へ格納する。その後、この処理ルーチンからリ
ターンする。以上のように、この発明によれば、MID
I情報の出力元と、該MIDI情報の受信側との間に当
該電子楽器制御装置を介在せしめ、MIDI信号の伝送
途中でチャネル変換を行うようにしたので、一括してM
IDI情報の出力元と、該MIDI情報の受信側の各チ
ャネルの対応付けを行って環境設定等を簡易に行うこと
のできるものとなっている。
When the above channel conversion processing is completed, the flow returns to step S809 of the reception data processing subroutine, and the converted reception data is stored in the status buffer (MB).
_RS). Then, the process returns from this processing routine. As described above, according to the present invention, the MID
Since the electronic musical instrument control device is interposed between the output source of the I information and the receiving side of the MIDI information, the channel conversion is performed during the transmission of the MIDI signal.
The output source of the IDI information is associated with each channel on the receiving side of the MIDI information so that environment setting and the like can be easily performed.

【0117】(3)第3の発明 この発明の電子楽器制御装置のMIDI情報分割機能を
使用する際の分割方法、及び、それに伴うパラメータ
(〔 〕で示される)の設定モードとしては、以下のも
のがある。 1)オフ 2)MIDIチャンネル〔チャンネル毎の出力先(1,
2,1+2は出力しない)〕 3)ノートナンバーの奇数/偶数〔チャンネル毎のオン/
オフ〕 4)ノートナンバーの大/小〔境値、それ以上の値の出力
先(1,2)、チャンネル毎のオン/オフ〕 5)ベロシティ強/弱〔境値、それ以上の値の出力先
(1,2)、チャンネル毎のオン/オフ〕 6)チャンネルメッセージ、エクスクルーシブメッセージ
/リアルタイムメッセージ、システムコモンメッセージ
(3) Third invention The following describes the division method when using the MIDI information division function of the electronic musical instrument control device of the present invention, and the setting mode of the associated parameter (indicated by []). There is something. 1) Off 2) MIDI channel [Output destination (1,
(2, 1 + 2 is not output)] 3) Odd / even note number [ON / OFF for each channel
Off] 4) Large / small note number [boundary value, output destination of higher value (1, 2), on / off for each channel] 5) High / low velocity [boundary value, higher value output 6) Channel messages, exclusive messages / real-time messages, system common messages

【0118】このような構成においては、入力されたM
IDI情報の種類と値を判断し、選択された分割情報と
設定されたパラメータに基づいてMIDI情報を分割
し、出力端子OUT1,OUT2にそれぞれ出力する。
In such a configuration, the input M
The type and value of the IDI information are determined, the MIDI information is divided based on the selected division information and the set parameters, and the divided MIDI information is output to the output terminals OUT1 and OUT2.

【0119】第51図は、本電子楽器制御装置の第1の
接続例を示す図である。図において、40はシンセサイ
ザー(あるいは電子ピアノ等)、41は電子楽器制御装
置、42,43は音源、44,45はスピーカである。
このような接続関係において、上記モード1)を設定する
と、音源42,43は同じように発音される。また、モ
ード3)を設定し、かつ、設定されたMIDIチャンネル
のスイッチをオンにすると、鍵盤番号が奇数の鍵の音
は、音源42から出力され、鍵盤番号が偶数の鍵の音
は、音源42から出力される。
FIG. 51 is a diagram showing a first connection example of the electronic musical instrument control device. In the figure, 40 is a synthesizer (or an electronic piano or the like), 41 is an electronic musical instrument control device, 42 and 43 are sound sources, and 44 and 45 are speakers.
When the mode 1) is set in such a connection relationship, the sound sources 42 and 43 are sounded in the same manner. When the mode 3) is set and the switch of the set MIDI channel is turned on, the sound of the odd-numbered keys is output from the sound source 42, and the sound of the even-numbered keys is output from the sound source 42. 42.

【0120】また、モード4)を設定し、境値をC3、そ
れ以上を音源43としてそのMIDIチャンネルのスイ
ッチをオンとすると、C3より下(ノートNO.=00
〜3BH)は、音源42から出力され、C3より上(ノ
ートNO.=3C〜7FH)は、音源43から出力され
る。また、モード5)を設定し、境値を64、それ以上を
音源43としてそのMIDIチャンネルのスイッチをオ
ンとすると、ベロシティ0〜63では、音源42から出
力され、ベロシティ64〜127では、音源43から出
力される。
When the mode 4) is set and the MIDI channel is switched on with the boundary value being C3 and higher than that as the sound source 43, the threshold value is lower than C3 (note No. = 00).
To 3BH) is output from the sound source 42, and the signal above C3 (note No. = 3C to 7FH) is output from the sound source 43. When mode 5) is set and the MIDI channel is switched on with the boundary value being 64 and the sound source 43 being higher than 64, the sound source 42 is output at velocities 0 to 63, and the sound source 43 is output at velocities 64 to 127. Output from

【0121】第52図は、本電子楽器制御装置の第2の
接続例を示す図である。この第52図は、シンセサイザ
ー(あるいは電子ピアノ等)の代わりに、シーケンサ
(あるいはパーソナルコンピュータ等)46を接続した
ものである。このような接続関係において、モード2)を
設定し、音源42に対応するチャンネルの出力を「1」
とし、その他のチャンネルの出力を全て「2」とする
と、出力先を「1」としたものは、音源42から発音さ
れ、出力先を「2」としたものは、音源43から発音さ
れる。
FIG. 52 is a diagram showing a second connection example of the electronic musical instrument control device. In FIG. 52, a sequencer (or a personal computer or the like) 46 is connected instead of the synthesizer (or the electronic piano or the like). In such a connection relation, the mode 2) is set, and the output of the channel corresponding to the sound source 42 is set to “1”.
Assuming that the outputs of the other channels are all “2”, the output destination “1” is sounded from the sound source 42, and the output destination “2” is sounded from the sound source 43.

【0122】また、チャンネル単位で、音源42と音源
43へ出力したり、両方とも出力しないようにすること
もできる。さらに、音源43には、曲のデータが入って
いて、その演奏とシーケンサ(あるいはパーソナルコン
ピュータ等)46の演奏を同期させたい場合は、モード
6)を設定することにより、シーケンサ(あるいはパーソ
ナルコンピュータ等)46の演奏情報は、音源42から
出力され、クロック等の情報は音源43から出力され
る。
It is also possible to output to the sound source 42 and the sound source 43 in units of channels, or not to output both. Further, if the sound source 43 contains music data and it is desired to synchronize the performance with the performance of a sequencer (or a personal computer) 46, a mode
By setting 6), the performance information of the sequencer (or personal computer or the like) 46 is output from the sound source 42, and the information such as the clock is output from the sound source 43.

【0123】以上は本電子楽器制御装置の機能を概略的
に説明したものであるが、本発明は上記モード2)に該当
する部分である。以下、この発明の詳細について説明す
る。
Although the functions of the electronic musical instrument control device have been schematically described above, the present invention is a portion corresponding to the mode 2). Hereinafter, details of the present invention will be described.

【0124】(a)分割方法の設定(セパレートメニュ
ーの設定) この発明のチャネルセパレート機能を実行するために先
ず、分割方法が設定される。分割方法が設定されると、
セパレートフラグSP_Fの対応するビットが「1」に
セットされる。このSP_Fは1バイトのフラグレジス
タである。分割方法と、SP_Fの各ビットの対応は、
下記表2の通りである。 表2
(A) Setting of division method (setting of separate menu) In order to execute the channel separation function of the present invention, first, a division method is set. Once the splitting method is set,
The corresponding bit of the separate flag SP_F is set to “1”. SP_F is a 1-byte flag register. The correspondence between the division method and each bit of SP_F is as follows:
Table 2 below. Table 2

【0125】第71図は、チャネルセパレートが設定さ
れているというディスプレイ22の表示例である。以
下、第71図に示した例においてチャネルセパレートの
処理について説明する。
FIG. 71 is a display example of the display 22 indicating that the channel separation is set. Hereinafter, the processing of the channel separation in the example shown in FIG. 71 will be described.

【0126】(b)分割条件設定 それぞれの分割方法に対して異なるパラメータの分割条
件が設定される。分割条件は、O_P_R1、O_P_
R2に書き込まれる。O_P_R1、O_P_R2は、
それぞれ2バイトのレジスタであり、各ビットがMID
Iチャネルに対応している。O_P_R1の所定の1ビ
ットが「1」であれば、そのビットに対応したMIDI
チャネルのメッセージは、MIDI出力端子OUT1か
らは出力されない。同様に、O_P_R2の所定の1ビ
ットが「1」であれば、そのビットに対応したMIDI
チャネルのメッセージは、MIDI出力端子OUT2か
らは出力されない。
(B) Setting of dividing condition Different parameters of dividing conditions are set for each dividing method. The division conditions are O_P_R1, O_P_
Written to R2. O_P_R1 and O_P_R2 are
Each is a 2 byte register, each bit is MID
It corresponds to the I channel. If a predetermined bit of O_P_R1 is “1”, the MIDI corresponding to that bit is
The channel message is not output from the MIDI output terminal OUT1. Similarly, if a predetermined bit of O_P_R2 is “1”, the MIDI corresponding to that bit is “1”.
The channel message is not output from the MIDI output terminal OUT2.

【0127】第72図に、分割条件設定の一例を示して
ある。第72図に示した例における、O_P_R1、O
_P_R2の内容を下記表3に示す。 表3
FIG. 72 shows an example of division condition setting. In the example shown in FIG. 72, O_P_R1, O
Table 3 below shows the contents of _P_R2. Table 3

【0128】(c)MIDI信号処理 以下、MIDI信号の処理の流れを第5図〜第10図、
第14図及び第21図を参照しながら説明する。MID
I入力端子IN1に入力されたMIDIメッセージは、
第5図のMIDI受信割込0処理フローに従って処理さ
れる。この処理の詳細は、第2の発明の項で説明したの
で、ここでは説明を省略する。MIDI入力端子IN2
に入力されたMIDIメッセージは、第6図のMIDI
受信割込1処理フローに従って処理される。この処理の
詳細も、第2の発明の項で説明したので、ここでは説明
を省略する。
(C) MIDI signal processing The flow of processing of a MIDI signal will now be described with reference to FIGS.
This will be described with reference to FIGS. 14 and 21. MID
The MIDI message input to the I input terminal IN1 is
The processing is performed according to the MIDI reception interrupt 0 processing flow of FIG. Since the details of this processing have been described in the section of the second invention, the description is omitted here. MIDI input terminal IN2
The MIDI message input to the
Processing is performed according to the reception interrupt 1 processing flow. The details of this processing have also been described in the section of the second invention, and a description thereof will be omitted here.

【0129】MIDI受信割込0、1は、1バイト毎に
受信データを処理する。レシーブバッファRB0,1に
格納された受信データは、第7図の受信データ処理割込
ルーチンによって処理される。このルーチンでは、RB
0、1に受信データが存在すれば、第8図に示す受信デ
ータ処理サブルーチンをコールして処理を終了する。こ
の受信データ処理サブルーチン詳細も、第2の発明の項
で説明したので、ここでは説明を省略する。受信データ
処理割込ルーチン、受信データ処理サブルーチンは、そ
れぞれ1バイト毎に処理を行う。
The MIDI reception interrupts 0 and 1 process received data on a byte-by-byte basis. The received data stored in the receive buffers RB0, RB1 are processed by the received data processing interrupt routine of FIG. In this routine, RB
If the received data exists in 0 and 1, the reception data processing subroutine shown in FIG. 8 is called to terminate the processing. Since the details of the reception data processing subroutine have been described in the section of the second invention, the description is omitted here. The reception data processing interrupt routine and the reception data processing subroutine perform the processing for each byte.

【0130】以下、RB0にノートオンメッセージが格
納された場合の処理について説明する。ノートオンメッ
セージは、下記のように3バイトで構成されている。 「90H 、40H 、7FH 」…M1 1バイト目はステータスバイトであり、上位4ビットで
メッセージの種類を、下位4ビットでそのMIDIチャ
ネルのナンバーを表す(9=ノートオン、0=チャネ
ル、0は第1チャネルを表す)。2バイト目は、ノート
ナンバーを表す。3バイト目は、ベロシティを表す。
The processing when the note-on message is stored in RB0 will be described below. The note-on message is composed of three bytes as described below. "90 H, 40 H, 7F H" ... M1 1 byte is the status byte, the type of messages in the upper 4 bits and represents the number of the MIDI channel in the lower 4 bits (9 = note on, 0 = Channel , 0 represent the first channel). The second byte indicates a note number. The third byte indicates velocity.

【0131】受信データ処理サブルーチンは、RB0か
ら受信データを読み出し(ステップS801)、それが
ステータスバイトであるか否かを調べる(ステップS8
02)。ここでステータスバイトであることが判断され
ると、ステップS803、807を経てステップS80
9が実行される。即ち、ステータスがMB内のステータ
スバッファへ格納される。上記受信メッセージM1が格
納されていた場合、「90H 」が格納されることにな
る。以上で、このサブルーチンからリターンする。
The reception data processing subroutine reads the reception data from RB0 (step S801) and checks whether or not it is a status byte (step S8).
02). If it is determined that the status byte is the status byte, the process goes through steps S803 and S807 to step S80.
9 is executed. That is, the status is stored in the status buffer in the MB. If the received message M1 has been stored, “90 H ” is stored. Thus, the process returns from this subroutine.

【0115】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、ステップS801で「40
H 」を読み出し、ステップS802を経てステップS8
10が実行される。即ち、「40H 」がデータバッファ
(MB)に格納される。
After the above operation, when the received data processing subroutine is called again, “40” is determined in step S801.
H ”is read out, and the process goes through step S802 to step S8.
10 is executed. That is, “40 H ” is stored in the data buffer (MB).

【0116】次いで、MBのメッセージが完結している
か否かを調べ(ステップS811)、完結していなけれ
ば、このサブルーチンからリターンする。この例では、
「90 H 、40H 」までしか格納されておらず、完結し
ていないので、このまま処理を終了し、リターンする。
上記動作終了後、再び受信データ処理サブルーチンがコ
ールされると、ステップS801で「7FH 」を読み出
し、ステップS802を経てステップS810が実行さ
れる。即ち、「7FH 」がデータバッファ(MB)に格
納される。
Next, the message of the MB is completed.
It is checked whether or not it is (step S811).
If so, return from this subroutine. In this example,
"90 H , 40H "Is stored only,
Since the process has not been completed, the process is terminated as it is, and the process returns.
After the above operation is completed, the reception data processing subroutine is executed again.
Is completed, "7F" is set in step S801.H Read out
Then, step S810 is executed after step S802.
It is. That is, “7FH "Ranks as data buffer (MB)
Will be delivered.

【0117】次いで、MBのメッセージが完結している
か否かを調べ(ステップS811)、完結していれば、
ステップS812へ進む。この例では、「90H 、40
H 、7FH 」まで格納されたので、メッセージが完結し
ており、ステップS812へ進む。ステップS812で
は、メッセージがノートオンであるか否かが調べられ
る。この場合、「90H 」はノートオンメッセージのス
テータスであるので、ステップS813のモード判断処
理が行われる。ここで、チャネルセパレートモードであ
ることが判断されると、ステップS814、S815、
S816の処理は行わずにステップS817へ進む。
Next, it is checked whether or not the message of the MB is completed (step S811).
Proceed to step S812. In this example, "90 H, 40
H , 7F H ”, the message is completed, and the process proceeds to step S812. In step S812, it is checked whether the message is note-on. In this case, since “90 H ” is the status of the note-on message, the mode determination processing in step S813 is performed. Here, if it is determined that the mode is the channel separate mode, steps S814, S815,
The process proceeds to step S817 without performing the process of S816.

【0118】そして、MBの内容をPTBに移す。この
場合、「90H 、40H 、7FH 」の3バイトが移され
ることになる。次いで、ステータスバイトがプログラム
チェンジ(CnH )であるか否かが調べられる(ステッ
プS818)。この場合、プログラムチェンジのステー
タスではないので、セパレートフラグ判断処理が行われ
る(ステップS820)。即ち、SP_Fが調べられ
る。この場合、SP_Fは「01H 」であるので、チャ
ネルセパレート処理ルーチン(第14図)がコールされ
る(ステップS821)。
Then, the contents of the MB are transferred to the PTB. In this case, the three bytes of "90 H, 40 H, 7F H" is transferred. Next, it is checked whether or not the status byte is a program change (Cn H ) (step S818). In this case, since the status is not a program change status, a separate flag determination process is performed (step S820). That is, SP_F is checked. In this case, since SP_F is "01 H ", the channel separation processing routine (FIG. 14) is called (step S821).

【0119】次に、チャネルセパレート処理について、
第14図のフローチャートを参照しながら説明する。チ
ャネルセパレート処理においては、先ず、メッセージが
コモンメッセージであるか否かが調べられる(ステップ
S141)。この場合、コモンメッセージではないの
で、ステップS142へ進み、メッセージに含まれるチ
ャネルに対応するO_P_R1のビットが「1」である
か否かが調べられる。この例では、表3に示すように、
O_P_R1のビットが「0」であるので、TB0_O
Pサブルーチンをコールする。(ステップS143)。
このTB0_OPサブルーチンは、第8図に示すよう
に、送信バッファTB0に1メッセージを格納する処理
を行うものであり、このステップS143の処理によ
り、PTBに格納されているデータ全てがTB0移され
る。
Next, regarding the channel separation processing,
This will be described with reference to the flowchart of FIG. In the channel separation process, first, it is checked whether the message is a common message (step S141). In this case, since it is not a common message, the process proceeds to step S142, and it is checked whether or not the bit of O_P_R1 corresponding to the channel included in the message is “1”. In this example, as shown in Table 3,
Since the bit of O_P_R1 is “0”, TB0_O
Call the P subroutine. (Step S143).
As shown in FIG. 8, the TB0_OP subroutine performs a process of storing one message in the transmission buffer TB0. By the process of step S143, all data stored in the PTB is transferred to TB0.

【0120】次いで、メッセージに含まれるチャネルに
対応するO_P_R2のビットが「1」であるか否かが
調べられる。この例では、表3に示すように、O_P_
R2のビットが「1」であるので、TB1_OPサブル
ーチンをコールしないで、即ち、TB1にはPTB内の
データを書き込まずにこのルーチンからリターンする。
Next, it is checked whether or not the O_P_R2 bit corresponding to the channel included in the message is “1”. In this example, as shown in Table 3, O_P_
Since the bit of R2 is "1", the routine returns from this routine without calling the TB1_OP subroutine, that is, without writing the data in the PTB to TB1.

【0121】以上の処理によりチャネルセパレート処理
ルーチンからリターンし、かつ、受信データ処理サブル
ーチンもリターンしてチャネルセパレート処理を終了す
る。
With the above processing, the process returns from the channel separation processing routine, and the reception data processing subroutine also returns to end the channel separation processing.

【0122】TB0、TB1に書き込まれたデータは、
それぞれ、MIDI送信割込0(第9図)、MIDI送
信割込1(第10図)によってMIDI出力端子OUT
1、OUT2から外部の機器へ出力される。ここで、M
IDI送信割込処理0ルーチンは、1メッセージ送信完
了で発生する割込により起動され、TB0にデータが有
るか否かを調べ(ステップS91)、データが有ること
が判断されれば送信ポート0(I/Oポート10)を介
して出力端子POUT1へ該データを出力する処理を行
う(ステップS92)ものである。
The data written to TB0 and TB1 is
The MIDI output terminal OUT is output by MIDI transmission interrupt 0 (FIG. 9) and MIDI transmission interrupt 1 (FIG. 10), respectively.
1. Output from OUT2 to an external device. Where M
The IDI transmission interrupt processing 0 routine is started by an interrupt generated upon completion of transmission of one message, and checks whether or not data exists in TB0 (step S91). A process of outputting the data to the output terminal POUT1 via the I / O port 10) is performed (step S92).

【0123】また、MIDI送信割込処理1ルーチン
は、1メッセージ送信完了で発生する割込により起動さ
れ、TB1にデータが有るか否かを調べ(ステップS1
01)、データが有ることが判断されれば送信ポート1
(I/Oポート10)を介して出力端子OUT2へ該デ
ータを出力する処理を行う(ステップS102)もので
ある。
The MIDI transmission interrupt processing 1 routine is started by an interrupt generated upon completion of one message transmission, and checks whether data is present in TB1 (step S1).
01), if it is determined that there is data, send port 1
A process of outputting the data to the output terminal OUT2 via the (I / O port 10) is performed (step S102).

【0124】以上説明したように、この発明によれば、
O_P_R1、O_P_R2を任意に設定することによ
り、チャネル毎に、出力端子1、出力端子2、又は出力
端子1及び2から分割出力するように制御することがで
きるので、より演奏者の希望や音源に適した環境や活用
方法を実現することができる。
As described above, according to the present invention,
By setting O_P_R1 and O_P_R2 arbitrarily, the output terminal 1, the output terminal 2, or the output terminals 1 and 2 can be controlled so as to be divided and output for each channel. A suitable environment and utilization method can be realized.

【0125】(4)第4の発明 本発明は、第3の発明の項で説明したモード6)に該当す
る部分である。以下この発明の詳細について説明する。
この発明では、SP_Rのビット4が「1」であると
き、入力されたMIDI情報のうち、チャネルメッセー
ジ及びシステムメッセージは出力端子OUT1から、そ
れ以外(システムコモンメッセージ、リアルタイムメッ
セージ等)は出力端子OUT2から出力される。
(4) Fourth Invention The present invention is a part corresponding to the mode 6) described in the section of the third invention. Hereinafter, details of the present invention will be described.
According to the present invention, when bit 4 of SP_R is “1”, of the input MIDI information, the channel message and the system message are output from the output terminal OUT1, and the other (system common message, real-time message, etc.) are output from the output terminal OUT2. Output from

【0126】(a)分割方法の設定(セパレートメニュ
ーの設定) この発明のリアルタイムセパレート機能を実行するため
に、先ず、分割方法が設定される。この詳細には第3の
発明の項で既に説明したのでここでは省略する。第73
図は、リアルタイムセパレートが設定されているときの
ディスプレイ22の表示例である。以下、第73図に示
した例においてリアルタイムセパレートの処理について
説明する。
(A) Setting of division method (setting of separate menu) In order to execute the real-time separation function of the present invention, first, a division method is set. Since the details have already been described in the section of the third invention, they are omitted here. 73rd
The figure is a display example of the display 22 when the real-time separation is set. Hereinafter, the processing of the real-time separation in the example shown in FIG. 73 will be described.

【0127】(b)分割条件設定 この分割においては、分割条件は設定されない。即ち、
SP_Fの上位から4ビット目がセットされていると
(表2参照)、自動的に、チャネルメッセージ及びシス
テムメッセージは出力端子OUT1から、それ以外(シ
ステムコモンメッセージ、リアルタイムメッセージ等)
は出力端子OUT2から出力される。
(B) Division condition setting In this division, division conditions are not set. That is,
When the fourth bit from the upper bit of SP_F is set (see Table 2), the channel message and the system message are automatically output from the output terminal OUT1, and otherwise (system common message, real-time message, etc.).
Is output from the output terminal OUT2.

【0128】(c)MIDI信号処理 以下、MIDI信号の処理の流れを第5図〜第10図及
び第18図を参照しながら説明する。MIDI入力端子
IN1に入力されたMIDIメッセージは、第5図のM
IDI受信割込0処理フローに従って処理される。即
ち、この処理ルーチンでは、受信したメッセージがリア
ルタイムメッセージであるかだけを調べ、リアルタイム
メッセージであることが判断されると、SP_Fのビッ
ト4が「1」であるか否かを調べ、「1」でなければ出
力端子OUT1、OUT2に対する送信処理を行って処
理を終了する。
(C) MIDI Signal Processing Hereinafter, the flow of processing of MIDI signals will be described with reference to FIGS. 5 to 10 and FIG. The MIDI message input to the MIDI input terminal IN1 is the MIDI message shown in FIG.
The processing is performed according to the IDI reception interrupt 0 processing flow. That is, in this processing routine, it is checked only whether the received message is a real-time message. When it is determined that the received message is a real-time message, it is checked whether bit 4 of SP_F is “1” or not. If not, the transmission process is performed for the output terminals OUT1 and OUT2, and the process ends.

【0129】一方、SP_Fのビット4が「1」であれ
ば、出力端子OUT2に対してのみ送信処理を行って処
理を終了する。さらに、リアルタイムメッセージでなけ
ればRB0へ受信したメッセージを格納して処理を終了
する。
On the other hand, if the bit 4 of SP_F is “1”, the transmission processing is performed only to the output terminal OUT2, and the processing is terminated. If the message is not a real-time message, the received message is stored in RB0, and the process is terminated.

【0130】MIDI入力端子IN2に入力されたMI
DIメッセージは、第6図のMIDI受信割込1処理フ
ローに従って処理される。即ち、この処理ルーチンで
は、受信したメッセージがリアルタイムメッセージであ
るかだけを調べ、リアルタイムメッセージであることが
判断されると、なにもしないで処理を終了する。一方、
リアルタイムメッセージでないことが判断されると、R
B1へ受信したメッセージを格納して処理を終了する。
The MI input to the MIDI input terminal IN2
The DI message is processed according to the MIDI reception interrupt 1 processing flow of FIG. That is, in this processing routine, it is checked only whether the received message is a real-time message, and if it is determined that the received message is a real-time message, the processing is terminated without any processing. on the other hand,
If it is determined that the message is not a real-time message, R
The received message is stored in B1, and the process ends.

【0131】MIDI受信割込0、1処理では、1バイ
ト毎に受信データを処理する。RB0,1に格納された
受信データは、第7図の受信データ処理割込ルーチンに
よって処理される。このルーチンでは、RB0、1に受
信データが存在すれば、第8図に示す受信データ処理サ
ブルーチンをコールして処理を終了する。この受信デー
タ処理サブルーチン詳細も、第2の発明の項で説明した
ので、ここでは説明を省略する。受信データ処理割込ル
ーチン、受信データ処理サブルーチンは1バイト毎に処
理を行う。
In the MIDI reception interrupt 0, 1 processing, the reception data is processed for each byte. The reception data stored in RB0, RB1 is processed by the reception data processing interrupt routine of FIG. In this routine, if reception data exists in RB0, RB1, the reception data processing subroutine shown in FIG. 8 is called to terminate the processing. Since the details of the reception data processing subroutine have been described in the section of the second invention, the description is omitted here. The reception data processing interrupt routine and the reception data processing subroutine perform processing for each byte.

【0132】以下、RB0にノートオンメッセージ又は
システムコモンメッセージが格納された場合の処理につ
いて説明する。ノートオンメッセージはチャネルメッセ
ージの中の1つであり、第3の発明の項のM1で示した
ように、3バイトで構成されている。
The processing when the note-on message or the system common message is stored in RB0 will be described below. The note-on message is one of the channel messages, and is composed of 3 bytes as indicated by M1 in the third aspect of the present invention.

【0133】システムコモンメッセージは、下記のよう
に3バイトで構成されている。 「F2H 、40H 、00H 」…M2 1バイト目でメッセージの機能を表し、続く2バイトは
その機能に関するパラメータである。
The system common message is composed of 3 bytes as described below. “F2 H , 40 H , 00 H ”... M2 The first byte indicates the function of the message, and the following two bytes are parameters relating to the function.

【0134】受信データ処理サブルーチン(第8図)
は、第3の発明で既に説明したように、受信データのス
テータスをMB内のステータスバッファに格納する。上
記受信メッセージM1が格納されていた場合、「90
H 」を格納し、その後このサブルーチンからリターンす
る。
Receive data processing subroutine (FIG. 8)
Stores the status of the received data in the status buffer in the MB, as already described in the third invention. If the received message M1 has been stored, "90
H "is stored, and then the process returns from this subroutine.

【0135】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第2バイト目、即ち「40
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 」までしか格納されていないので、メ
ッセージが完結していないことを判断して、このサブル
ーチンからリターンする。
After the above operation, when the reception data processing subroutine is called again, the second byte of the reception data, that is, "40", as described above in the third invention.
H ”is stored in the data buffer in the MB. in this case,
Since only up to " 90H , 40H " are stored, it is determined that the message is not completed, and the routine returns from this subroutine.

【0136】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第3バイト目、即ち「7F
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 、7FH 」まで格納されたので、メッ
セージが完結したことを判断して、ステップS812へ
進む。
After the above operation, when the reception data processing subroutine is called again, the third byte of the reception data, that is, "7F", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
"90 H, 40 H, 7F H" so stored until it is determined that the message is complete, the process proceeds to step S812.

【0137】ステップS812以下は、第3の発明で説
明したと同じステップを経て、セパレートフラグの判断
(ステップS820)に移る。即ち、セパレートフラグ
SP_Fが調べられる。この場合、SP_Fは「10
H 」であるので、リアルタイムセパレート処理ルーチン
(第18図)がコールされる(ステップS825)。
After step S812, the process proceeds to the determination of the separate flag (step S820) through the same steps as described in the third invention. That is, the separate flag SP_F is checked. In this case, SP_F is "10
H ", the real-time separation processing routine (FIG. 18) is called (step S825).

【0138】次に、リアルタイムセパレート処理につい
て、第18図のフローチャートを参照しながら説明す
る。リアルタイムセパレート処理においては、先ず、メ
ッセージがシステムコモンメッセージであるか否かが調
べられる(ステップS181)。この場合、システムコ
モンメッセージではない(チャネルメッセージである)
ので、TB0_OPをコールする(ステップS18
3)。即ち、PTBに格納されていた全データ(1メッ
セージ)を送信バッファTB0に書き込む。TB0に書
き込まれたデータは、MIDI送信割込0(第9図)に
よってMIDI出力端子OUT1から外部の機器へ出力
される。
Next, the real-time separation processing will be described with reference to the flowchart of FIG. In the real-time separation processing, first, it is checked whether or not the message is a system common message (step S181). In this case, it is not a system common message (it is a channel message)
Therefore, TB0_OP is called (step S18).
3). That is, all data (one message) stored in the PTB is written to the transmission buffer TB0. The data written to TB0 is output from MIDI output terminal OUT1 to an external device by MIDI transmission interrupt 0 (FIG. 9).

【0139】次に、受信データがシステムコモンメッセ
ージM2である場合の動作について説明する。この場合
も、上述したと同様のステップを経てリアルタイムセパ
レート処理ルーチン(第18図)がコールされるが、該
ルーチンにおいてTB1_OPがコールされる点で上記
と異なる。即ち、ステップS182でTB1_OPがコ
ールされることにより、PTBに格納されていた全デー
タ(1メッセージ)が送信バッファTB1に書き込まれ
る。TB1に書き込まれたデータは、MIDI送信割込
1(第10図)によってMIDI出力端子OUT2から
外部の機器へ出力される。
Next, the operation when the received data is the system common message M2 will be described. Also in this case, the real-time separation processing routine (FIG. 18) is called through the same steps as described above, but differs from the above in that TB1_OP is called in this routine. That is, by calling TB1_OP in step S182, all data (one message) stored in the PTB is written to the transmission buffer TB1. The data written in TB1 is output from MIDI output terminal OUT2 to an external device by MIDI transmission interrupt 1 (FIG. 10).

【0140】以上のように、発音に直接作用するチャネ
ルメッセージは第1の出力端子から、その他のメッセー
ジは第2の出力端子から出力することができるようにし
たので、多くの機器の仕様に対応できる。また、かかる
分割出力により、演奏者の希望や音源に適した環境や活
用方法を提供できる。
As described above, channel messages that directly affect sound generation can be output from the first output terminal, and other messages can be output from the second output terminal. it can. Further, by such a divided output, it is possible to provide an environment and a utilization method suitable for a player's request and a sound source.

【0141】(5)第5の発明 本発明は、第3の発明の項で説明したモード4)に該当す
る部分である。以下この発明の詳細について説明する。
この発明では、SP_Rのビット2が「1」であると
き、入力されたMIDI情報に含まれるノートナンバー
に応じて、該MIDI情報が出力端子OUT1又は出力
端子OUT2から出力される。
(5) Fifth Invention The present invention is a part corresponding to the mode 4) described in the section of the third invention. Hereinafter, details of the present invention will be described.
According to the present invention, when bit 2 of SP_R is “1”, the MIDI information is output from the output terminal OUT1 or the output terminal OUT2 according to the note number included in the input MIDI information.

【0142】(a)分割方法の設定(セパレートメニュ
ーの設定) この発明のノートナンバーセパレート機能を実行するた
めに、先ず、分割方法が設定される。この詳細には第3
の発明の項で既に説明したのでここでは省略する。第7
4図は、ノートナンバーセパレートが設定されていると
きのディスプレイ22の表示例である。以下、第74図
に示した例においてノートナンバーセパレートの処理に
ついて説明する。
(A) Setting of division method (setting of separate menu) In order to execute the note number separation function of the present invention, first, a division method is set. The details
Since it has already been described in the section of the invention, the description is omitted here. Seventh
FIG. 4 is a display example of the display 22 when the note number separation is set. Hereinafter, the processing of the note number separation in the example shown in FIG. 74 will be described.

【0143】(b)分割条件設定 この分割においては、分割条件はO_P_R4、SPL
_P_F及びN_N_Bに書き込まれる。O_P_R4
は2バイトのレジスタであり、各ビットがMIDIチャ
ネルに対応している。O_P_R4の所定の1ビットが
「1」であれば、そのビットに対応したMIDIチャネ
ルのメッセージは、MIDI出力端子OUT1、OUT
2からは出力される。また、O_P_R4の所定のビッ
トが「1」であって、そのビットに対応したMIDIチ
ャネルのメッセージがノートオン、ノートオフ又はチャ
ネルキープレッシャーであれば、そのノートナンバーを
分割条件に従って判断し、そのメッセージを出力端子O
UT2のみ、あるいはOUT1のみから出力する。
(B) Division condition setting In this division, the division conditions are O_P_R4, SPL
_P_F and N_N_B. O_P_R4
Is a 2-byte register, each bit corresponding to a MIDI channel. If a predetermined bit of O_P_R4 is “1”, a message of the MIDI channel corresponding to that bit is output to the MIDI output terminals OUT1 and OUT1.
2 is output. If the predetermined bit of O_P_R4 is “1” and the message of the MIDI channel corresponding to the bit is note-on, note-off or channel key pressure, the note number is determined according to the division condition, and the message is determined. Output terminal O
Output from only UT2 or only OUT1.

【0144】N_N_Bは1バイトのレジスタであり、
ノートナンバーの閾値が書き込まれている。MIDIメ
ッセージのノートナンバーは、このN_N_Bの内容と
比較され、その比較結果とSPL_P_Fの内容に従っ
て出力する端子OUT1又はOUT2が決められる。
N_N_B is a 1-byte register,
The note number threshold is written. The note number of the MIDI message is compared with the content of N_N_B, and the output terminal OUT1 or OUT2 is determined according to the comparison result and the content of SPL_P_F.

【0145】SPL_P_Fは1バイトのレジスタであ
り、そのLSBのみが使用される。即ち、LSBが
「1」であり、MIDIメッセージのノートナンバーが
閾値以上であれば、そのメッセージは出力端子OUT1
から出力される。LSBが「0」であり、MIDIメッ
セージのノートナンバーが閾値以上であれば、そのメッ
セージは出力端子OUT2から出力される。
SPL_P_F is a 1-byte register, and only its LSB is used. That is, if the LSB is "1" and the note number of the MIDI message is equal to or greater than the threshold, the message is output to the output terminal OUT1.
Output from If the LSB is “0” and the note number of the MIDI message is equal to or greater than the threshold, the message is output from the output terminal OUT2.

【0146】第75図に、分割条件設定の一例を示して
ある。第75図に示した例においては、ノートナンバー
C2以上は出力端子OUT1から、それ以外は出力端子
OUT2から出力することを示している。また、「S」
は当該チャネルにこのノートナンバーセパレート機能を
適用することを示し、ブランクになっているチャネルで
はノートナンバーセパレート機能を適用しないことを示
している。後者の場合は、出力端子OUT1及びOUT
2の双方からMIDI情報が出力されることになる。
FIG. 75 shows an example of division condition setting. In the example shown in FIG. 75, note numbers C2 and higher are output from the output terminal OUT1, and the other numbers are output from the output terminal OUT2. Also, "S"
Indicates that the note number separation function is applied to the corresponding channel, and indicates that the note number separation function is not applied to a blank channel. In the latter case, the output terminals OUT1 and OUT1
2 will output MIDI information.

【0147】第75図に示した例における、O_P_R
4の内容を表4に示しており、チャネル1、2、3、
5、6、8、9にこのノートナンバーセパレートが適用
されることを示している。N_N_Bの内容を表5に示
しており、ノートナンバーC2(30H がC2に対応)
が分岐点になっていることを表している。SPL_P_
Fの内容を表6に示しており、ノートナンバーがN_N
_Bの内容以上であれば、出力端子POUT1から出力
することを表している。
O_P_R in the example shown in FIG. 75
4 are shown in Table 4, and channels 1, 2, 3,
This indicates that this note number separation is applied to 5, 6, 8, and 9. The contents of N_N_B are shown in Table 5, note number C2 (30 H corresponds to C2)
Indicates that it is a branch point. SPL_P_
The contents of F are shown in Table 6, where the note number is N_N
If it is equal to or more than the content of _B, it indicates that the output is to be made from the output terminal POUT1.

【0148】(c)MIDI信号処理 以下、MIDI信号の処理の流れを第5図〜第10図及
び第16図を参照しながら説明する。
(C) MIDI Signal Processing Hereinafter, the flow of MIDI signal processing will be described with reference to FIGS. 5 to 10 and FIG.

【0149】MIDI入力端子IN1に入力されたMI
DIメッセージは、第5図のMIDI受信割込0処理フ
ローに従って処理され、MIDI入力端子IN2に入力
されたMIDIメッセージは、第6図のMIDI受信割
込1処理フローに従って処理され、受信データとは、そ
れぞれRB0,RB1に格納されることは上述した通り
である。また、RB0,1に格納された受信データは、
第7図の受信データ処理割込ルーチンによって処理され
ることも上述した通りである。
The MI input to the MIDI input terminal IN1
The DI message is processed according to the MIDI reception interrupt 0 processing flow shown in FIG. 5, and the MIDI message input to the MIDI input terminal IN2 is processed according to the MIDI reception interrupt 1 processing flow shown in FIG. Are stored in RB0 and RB1, respectively, as described above. Also, the received data stored in RB0,1 is
The processing by the reception data processing interrupt routine of FIG. 7 is also as described above.

【0150】以下、RB0にノートオンメッセージが格
納された場合の処理について説明する。ノートオンメッ
セージとしては第3の発明の項のM1で示したものを例
として用いる。
The processing when a note-on message is stored in RB0 will be described below. As the note-on message, the message indicated by M1 in the section of the third invention is used as an example.

【0151】受信データ処理サブルーチン(第8図)
は、第3の発明で既に説明したように、受信データのス
テータスをMB内のステータスバッファに格納する。上
記受信メッセージM1が格納されていた場合、「90
H 」を格納し、その後このサブルーチンからリターンす
る。
Receive data processing subroutine (FIG. 8)
Stores the status of the received data in the status buffer in the MB, as already described in the third invention. If the received message M1 has been stored, "90
H "is stored, and then the process returns from this subroutine.

【0152】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第2バイト目、即ち「40
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 」までしか格納されていないので、メ
ッセージが完結していないことを判断して、このサブル
ーチンからリターンする。
After the above operation, when the reception data processing subroutine is called again, the second byte of the reception data, that is, "40", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
Since only up to " 90H , 40H " are stored, it is determined that the message is not completed, and the routine returns from this subroutine.

【0153】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第3バイト目、即ち「7F
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 、7FH 」まで格納されたので、メッ
セージが完結したことを判断して、ステップS812へ
進む。
After the above operation, when the reception data processing subroutine is called again, the third byte of the reception data, that is, “7F”, as described above in the third invention.
H ”is stored in the data buffer in the MB. in this case,
"90 H, 40 H, 7F H" so stored until it is determined that the message is complete, the process proceeds to step S812.

【0154】ステップS812以下は、第3の発明で説
明したと同じステップを経て、セパレートフラグの判断
(ステップS820)に移る。即ち、セパレートフラグ
SP_Fが調べられる。この場合、SP_Fは「04
H 」であるので、ノートナンバーセパレート処理ルーチ
ン(第16図)がコールされる(ステップS823)。
After step S812, the process proceeds to the determination of the separate flag (step S820) through the same steps as described in the third invention. That is, the separate flag SP_F is checked. In this case, SP_F is "04
H ", the note number separation processing routine (FIG. 16) is called (step S823).

【0155】次に、ノートナンバーセパレート処理につ
いて、第16図のフローチャートを参照しながら説明す
る。
Next, the note number separation processing will be described with reference to the flowchart of FIG.

【0156】ノートナンバーセパレート処理において
は、先ず、メッセージがノートナンバーを有するメッセ
ージ(ノートオン、ノートオフ、ポリフォニックキープ
レッシャー)であるか否かが調べられる(ステップS1
60)。例示の場合、ノートオンメッセージでありノー
トナンバーを有しているので、O_P_R4のチェック
を行う(ステップS162)。即ち、当該メッセージの
チャネル番号に対応したO_P_R4のビットが「0」
であるか否かを調べる。この場合、PTBに格納されて
いるデータのステータスバイトは「90H 」であるの
で、O_P_R4のビット1が「0」であるか否かを調
べることになる(表4参照)。
In the note number separating process, first, it is checked whether or not the message is a message having a note number (note on, note off, polyphonic key pressure) (step S1).
60). In the case of illustration, since it is a note-on message and has a note number, O_P_R4 is checked (step S162). That is, the bit of O_P_R4 corresponding to the channel number of the message is “0”.
Check if it is. In this case, since the status byte of the data stored in the PTB is “90 H ”, it is checked whether or not the bit 1 of O_P_R4 is “0” (see Table 4).

【0157】ここでO_P_R4のビット1が「0」で
あることが判断されると、SPL_P_FのLSBが
「0」であるか否かが調べられる(ステップS16
3)。例示の場合「1」であるので、ステップS167
へ分岐し、ノートナンバーがN_N_Bの内容より小さ
いか否かが調べられる(ステップS167)。そして、
ノートナンバーがN_N_Bの内容より小さければTP
0_OPがコールされ(ステップS168)、小さくな
ければTP1_OPがコールされる(ステップS16
9)。例示の場合、N_N_Bの内容は「30H 」であ
り、メッセージM1中のノートナンバーは「40H 」で
あるので、ステップS169においてTB1_OPがコ
ールされ、その後この処理ルーチンからリターンする。
If it is determined that bit 1 of O_P_R4 is "0", it is checked whether the LSB of SPL_P_F is "0" (step S16).
3). In the case of the example, since it is “1”, step S167
Then, it is checked whether or not the note number is smaller than the content of N_N_B (step S167). And
TP if note number is smaller than N_N_B
0_OP is called (step S168), and if not, TP1_OP is called (step S16).
9). In the illustrated example, the content of N_N_B is “30 H ” and the note number in the message M1 is “40 H ”, so TB1_OP is called in step S169, and thereafter, the process returns from this processing routine.

【0158】TB1_OPでは、PTBに格納されてい
た全データ(1メッセージ)を送信バッファTB1に書
き込む。TB1に書き込まれたデータは、MIDI送信
割込1(第10図)によってMIDI出力端子OUT2
から外部の機器へ出力される。
In TB1_OP, all data (one message) stored in the PTB is written to the transmission buffer TB1. The data written to TB1 is transmitted to MIDI output terminal OUT2 by MIDI transmission interrupt 1 (FIG. 10).
Output to an external device.

【0159】なお、上記ステップS163で、SPL_
P_FのLSBが「0」であることが判断されると、ノ
ートナンバーがN_N_Bの内容以上であるか否かが判
断され(ステップS164)、ノートナンバーがN_N
_Bの内容以上であればTP0_OPがコールされ(ス
テップS165)、ノートナンバーがN_N_Bの内容
以上でなければTP1_OPがコールされる(ステップ
S166)。
It is to be noted that, in step S163, SPL_
When it is determined that the LSB of P_F is “0”, it is determined whether or not the note number is equal to or greater than the content of N_N_B (step S164), and the note number is N_N.
If the content is not less than the content of _B, TP0_OP is called (step S165), and if the note number is not more than the content of N_N_B, TP1_OP is called (step S166).

【0160】以上説明したように、この発明によれば、
ノートナンバーの高低によって出力先を選択することが
できるようにしたので、演奏者が希望する音源、あるい
は音源に適した楽音を発生することができる。また、か
かる分割出力により、演奏者の希望や音源に適した環境
や活用方法を提供できる。
As described above, according to the present invention,
Since the output destination can be selected according to the level of the note number, it is possible to generate a sound source desired by the player or a musical tone suitable for the sound source. Further, by such a divided output, it is possible to provide an environment and a utilization method suitable for a player's request and a sound source.

【0161】(6)第6の発明 本発明は、第3の発明の項で説明したモード3)に該当す
る部分である。以下この発明の詳細について説明する。
この発明では、SP_Rのビット1が「1」であると
き、入力されたMIDI情報に含まれるノートナンバー
の奇数/偶数に応じて、該MIDI情報が出力端子OU
T1又は出力端子OUT2から出力される。
(6) Sixth invention The present invention is a part corresponding to the mode 3) described in the section of the third invention. Hereinafter, details of the present invention will be described.
According to the present invention, when bit 1 of SP_R is “1”, the MIDI information is output to the output terminal OU in accordance with the odd / even note number included in the input MIDI information.
It is output from T1 or the output terminal OUT2.

【0162】(a)分割方法の設定(セパレートメニュ
ーの設定) この発明のオッド/イーブンセパレート機能を実行する
ために、先ず、分割方法が設定される。この詳細には第
3の発明の項で既に説明したのでここでは省略する。第
76図は、オッド/イーブンセパレートが設定されてい
るときのディスプレイ22の表示例である。以下、第7
6図に示した例においてオッド/イーブンセパレートの
処理について説明する。
(A) Setting of division method (setting of separate menu) In order to execute the odd / even separate function of the present invention, first, a division method is set. Since the details have already been described in the section of the third invention, they are omitted here. FIG. 76 is a display example of the display 22 when odd / even separation is set. Hereinafter, the seventh
In the example shown in FIG. 6, the process of odd / even separation will be described.

【0163】(b)分割条件設定 この分割においては、分割条件はO_P_R3に書き込
まれる。O_P_R3は2バイトのレジスタであり、各
ビットがMIDIチャネルに対応している。O_P_R
3の所定の1ビットが「1」であれば、そのビットに対
応したMIDIチャネルのメッセージは、MIDI出力
端子OUT1及びOUT2の両方から出力される。ま
た、O_P_R3の所定のビットが「0」であり、その
ビットに対応したMIDIチャネルのメッセージがノー
トオン又はノートオフであれば、そのノートナンバーが
奇数であるか偶数であるかによって、そのメッセージは
出力端子OUT2又はOUT1から出力される。
(B) Setting of division condition In this division, the division condition is written in O_P_R3. O_P_R3 is a 2-byte register, and each bit corresponds to a MIDI channel. O_P_R
If the predetermined one bit of No. 3 is “1”, the message of the MIDI channel corresponding to that bit is output from both the MIDI output terminals OUT1 and OUT2. If the predetermined bit of O_P_R3 is “0” and the message of the MIDI channel corresponding to the bit is note-on or note-off, the message depends on whether the note number is odd or even. It is output from the output terminal OUT2 or OUT1.

【0164】第77図に、分割条件設定の一例を示して
ある。第77図に示した例においては、「S」は当該チ
ャネルにこのオッド/イーブンセパレート機能を適用す
ることを示し、ブランクになっているチャネルではオッ
ド/イーブンセパレート機能を適用しないことを示して
いる。後者の場合は、出力端子OUT1又はOUT2の
双方からMIDI情報が出力されることになる。
FIG. 77 shows an example of division condition setting. In the example shown in FIG. 77, “S” indicates that the odd / even separate function is applied to the channel, and that the odd / even separate function is not applied to the blank channel. . In the latter case, MIDI information is output from both the output terminals OUT1 and OUT2.

【0165】第75図に示した例における、O_P_R
3の内容を表7に示しており、チャネル1、2、7、
8、9、10、16にこのオッド/イーブンセパレート
が適用されることを示している。
O_P_R in the example shown in FIG. 75
Table 3 shows the contents of channel No. 3 and channels 1, 2, 7,
8, 9, 10, and 16 indicate that this odd / even separate is applied.

【0166】(c)MIDI信号処理 以下、MIDI信号の処理の流れを第5図〜第10図及
び第15図を参照しながら説明する。MIDI入力端子
IN1に入力されたMIDIメッセージは、第5図のM
IDI受信割込0処理フローに従って処理され、MID
I入力端子IN2に入力されたMIDIメッセージは、
第6図のMIDI受信割込1処理フローに従って処理さ
れ、受信データは、それぞれRB0,RB1に格納され
ることは上述した通りである。また、RB0,1に格納
された受信データは、第7図の受信データ処理割込ルー
チンによって処理されることも上述した通りである。
(C) MIDI Signal Processing Hereinafter, the flow of MIDI signal processing will be described with reference to FIGS. 5 to 10 and 15. The MIDI message input to the MIDI input terminal IN1 is the MIDI message shown in FIG.
It is processed according to the IDI reception interrupt 0 processing flow, and the MID
The MIDI message input to the I input terminal IN2 is
As described above, processing is performed according to the MIDI reception interrupt 1 processing flow of FIG. 6, and received data is stored in RB0 and RB1, respectively. Also, as described above, the reception data stored in RB0, RB1 is processed by the reception data processing interrupt routine of FIG.

【0167】以下、RB0にノートオンメッセージが格
納された場合の処理について説明する。ノートオンメッ
セージとしては第3の発明の項のM1で示したものを例
として用いる。受信データ処理サブルーチン(第8図)
は、第3の発明で既に説明したように、受信データのス
テータスをMB内のステータスバッファに格納する。上
記受信メッセージM1が格納されていた場合、「90
H 」を格納し、その後このサブルーチンからリターンす
る。
[0167] The processing when a note-on message is stored in RB0 will be described below. As the note-on message, the message indicated by M1 in the section of the third invention is used as an example. Receive data processing subroutine (Fig. 8)
Stores the status of the received data in the status buffer in the MB, as already described in the third invention. If the received message M1 has been stored, "90
H "is stored, and then the process returns from this subroutine.

【0168】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第2バイト目、即ち「40
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 」までしか格納されていないので、メ
ッセージが完結していないことを判断して、このサブル
ーチンからリターンする。
After the above operation, when the reception data processing subroutine is called again, the second byte of the reception data, that is, “40”, as described above in the third invention.
H ”is stored in the data buffer in the MB. in this case,
Since only up to " 90H , 40H " are stored, it is determined that the message is not completed, and the routine returns from this subroutine.

【0169】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第3バイト目、即ち「7F
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 、7FH 」まで格納されたので、メッ
セージが完結したことを判断して、ステップS812へ
進む。
When the received data processing subroutine is called again after the above operation, this is also the third byte of the received data, that is, "7F", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
"90 H, 40 H, 7F H" so stored until it is determined that the message is complete, the process proceeds to step S812.

【0170】ステップS812以下は、第3の発明で説
明したと同じステップを経て、セパレートフラグの判断
(ステップS820)に移る。即ち、セパレートフラグ
SP_Fが調べられる。この場合、SP_Fは「02
H 」であるので、オッド/イーブンセパレート処理ルー
チン(第15図)がコールされる(ステップS82
3)。
After step S812, the process proceeds to the determination of the separate flag (step S820) through the same steps as described in the third invention. That is, the separate flag SP_F is checked. In this case, SP_F is "02
H , the odd / even separate processing routine (FIG. 15) is called (step S82).
3).

【0171】次に、オッド/イーブンセパレート処理に
ついて、第15図のフローチャートを参照しながら説明
する。オッド/イーブンセパレート処理においては、先
ず、メッセージがノートオンであるか否か(ステップS
151)、ポリフォニックキープレッシャーであるか否
か(ステップS152)が調べられる。例示の場合、ノ
ートオンメッセージであるので、O_P_R3のチェッ
クを行う(ステップS153)。即ち、当該メッセージ
のチャネル番号に対応したO_P_R3のビットが
「0」であるか否かを調べる。この場合、PTBに格納
されているデータのステータスバイトは「90 H 」であ
るので、O_P_R3のビット1が「0」であるか否か
を調べることになる(表7参照)。
Next, the odd / even separation processing is performed.
This will be described with reference to the flowchart of FIG.
I do. In the odd / even separate processing,
The message is note-on (step S
151), whether polyphonic key pressure
(Step S152) is checked. In the case of illustration,
Check on O_P_R3
(Step S153). That is, the message
O_P_R3 bits corresponding to the channel numbers of
Check whether it is "0". In this case, store in PTB
The status byte of the data being written is "90 H "
Therefore, whether bit 1 of O_P_R3 is “0”
(See Table 7).

【0172】ここでO_P_R3のビット1が「0」で
あることが判断されると、メッセージM1中のノートナ
ンバーは奇数(Odd)であるか否かが調べられる(ス
テップS154)。そして、奇数であることが判断され
るとTB0_OPルーチンがコールされ(ステップS1
55)、偶数であることが判断されるとTB1_OPル
ーチンがコールされる(ステップS156)。その後こ
の処理ルーチンからリターンする。
If it is determined that bit 1 of O_P_R3 is "0", it is checked whether or not the note number in the message M1 is an odd number (Odd) (step S154). When it is determined that the number is odd, the TB0_OP routine is called (step S1).
55) If it is determined that the number is even, the TB1_OP routine is called (step S156). Thereafter, the process returns from this processing routine.

【0173】例示の場合、メッセージM1中のノートナ
ンバーは「40H 」であり、偶数であるので、TB1_
OPルーチンがコールされることになる。TB1_OP
では、PTBに格納されていた全データ(1メッセー
ジ)を送信バッファTB1に書き込む。TB1に書き込
まれたデータは、MIDI送信割込1(第10図)によ
ってMIDI出力端子OUT2から外部の機器へ出力さ
れる。
In the illustrated example, the note number in the message M1 is “40 H ”, which is an even number.
The OP routine will be called. TB1_OP
Then, all data (one message) stored in the PTB is written to the transmission buffer TB1. The data written in TB1 is output from MIDI output terminal OUT2 to an external device by MIDI transmission interrupt 1 (FIG. 10).

【0174】以上説明したように、この発明によれば、
ノートナンバーの奇数/偶数によって出力先を選択する
ことができるようにしたので、疑似的にではあるが同時
発音数を増やすことができ、演奏者は例えばアコーステ
ィックピアノを演奏する感覚で電子楽器を演奏すること
ができる。また、かかる分割出力により、演奏者の希望
や音源に適した環境や活用方法を提供できる。
As described above, according to the present invention,
Since the output destination can be selected according to the odd / even note number, it is possible to increase the number of polyphony, albeit in a pseudo manner, and the player can play an electronic musical instrument as if playing an acoustic piano, for example. can do. Further, by such a divided output, it is possible to provide an environment and a utilization method suitable for a player's request and a sound source.

【0175】(7)第7の発明 本発明は、第3の発明の項で説明したモード5)に該当す
る部分である。以下この発明の詳細について説明する。
この発明では、SP_Rのビット3が「1」であると
き、入力されたMIDI情報に含まれるベロシティに応
じて、該MIDI情報が出力端子OUT1又は出力端子
OUT2から出力される。
(7) Seventh Invention The present invention is a part corresponding to the mode 5) described in the section of the third invention. Hereinafter, details of the present invention will be described.
According to the present invention, when the bit 3 of SP_R is “1”, the MIDI information is output from the output terminal OUT1 or the output terminal OUT2 according to the velocity included in the input MIDI information.

【0176】(a)分割方法の設定(セパレートメニュ
ーの設定) この発明のベロシティセパレート機能を実行するため
に、先ず、分割方法が設定される。この詳細には第3の
発明の項で既に説明したのでここでは省略する。第78
図は、ベロシティセパレートが設定されているときのデ
ィスプレイ22の表示例である。以下、第78図に示し
た例においてベロシティセパレートの処理について説明
する。
(A) Setting of Dividing Method (Setting of Separate Menu) In order to execute the velocity separating function of the present invention, first, a dividing method is set. Since the details have already been described in the section of the third invention, they are omitted here. 78th
The figure is a display example of the display 22 when the velocity separate is set. Hereinafter, the processing of the velocity separation in the example shown in FIG. 78 will be described.

【0177】(b)分割条件設定 この分割においては、分割条件はO_P_R5、SPL
_P_F、及びベロシティバッファV_Bに書き込まれ
る。O_P_R5は2バイトのレジスタであり、各ビッ
トがMIDIチャネルに対応している。O_P_R5の
所定の1ビットが「1」であれば、そのビットに対応し
たMIDIチャネルのメッセージは、MIDI出力端子
OUT1及びOUT2の両方から出力される。また、O
_P_R5の所定のビットが「0」であり、そのビット
に対応したMIDIチャネルのメッセージがノートオン
又はノートオフであれば、そのベロシティを分割条件に
従って判断し、そのメッセージを出力端子OUT2の
み、又はOUT1のみから出力する。
(B) Division condition setting In this division, the division conditions are O_P_R5, SPL
_P_F and velocity buffer V_B. O_P_R5 is a 2-byte register, and each bit corresponds to a MIDI channel. If a predetermined bit of O_P_R5 is “1”, a MIDI channel message corresponding to that bit is output from both the MIDI output terminals OUT1 and OUT2. Also, O
If the predetermined bit of _P_R5 is “0” and the message of the MIDI channel corresponding to the bit is note-on or note-off, its velocity is determined according to the division condition, and the message is output only to the output terminal OUT2 or OUT1. Output only from

【0178】V_Bは1バイトのレジスタでありベロシ
ティの閾値が記憶されている。このV_Bの内容は、M
IDIメッセージ中のベロシティと比較され、この比較
結果とSPL_P_Fの内容に従ってMIDIメッセー
ジを出力する出力端子PUT1又はOUT2が決定され
る。
V_B is a 1-byte register in which a threshold value of velocity is stored. The content of this V_B is M
The output terminal PUT1 or OUT2 that outputs the MIDI message is determined based on the comparison result and the content of SPL_P_F, compared with the velocity in the IDI message.

【0179】SPL_P_Fは1バイトのレジスタであ
り、そのMSBのみが使用される。即ち、MSBが
「1」であるとき、MIDIメッセージのベロシティが
閾値以上であれば、そのメッセージは出力端子OUT1
から出力され、閾値未満であれば、そのメッセージは出
力端子OUT2から出力される。MSBが「0」である
とき、MIDIメッセージのベロシティが閾値以上であ
れば、そのメッセージは出力端子OUT2から出力さ
れ、閾値未満であれば、そのメッセージは出力端子OU
T1から出力される。
SPL_P_F is a 1-byte register, and only its MSB is used. That is, when the MSB is "1" and the velocity of the MIDI message is equal to or higher than the threshold, the message is output to the output terminal OUT1.
And if it is less than the threshold, the message is output from the output terminal OUT2. When the MSB is "0", if the velocity of the MIDI message is equal to or greater than the threshold, the message is output from the output terminal OUT2. If the velocity is less than the threshold, the message is output to the output terminal OU.
Output from T1.

【0180】出力されたノートオンメッセージは、その
アサイナ入力順位、ノートナンバー、MIDIチャネ
ル、の各情報がアサイナに記憶される。なお、アサイナ
メモリはワークメモリ6に設けられている。
In the output note-on message, the assigner input order, note number, and MIDI channel information are stored in the assigner. The assigner memory is provided in the work memory 6.

【0181】ノートオフメッセージが入力されたとき
は、アサイナを参照してノートナンバーとMIDIチャ
ネルからそのノートオフメッセージに対応するノートオ
ンメッセージがいずれの出力端子から出力されたかを確
認し、対応するノートオンメッセージが出力された出力
端子から、該ノートオフメッセージを出力する。ノート
オンメッセージが入力されたときにアサイナに空きエン
トリがなければ、アサイナ入力順位の最も若い(格納さ
れた順番が最も古い)ノートオンを消去するとともに、
それに対応するノートオフメッセージを出力する。
When a note-off message is input, it is checked with reference to the assigner from which output terminal the note number and the note-on message corresponding to the note-off message have been output from the MIDI channel. The note-off message is output from the output terminal to which the ON message has been output. If there is no empty entry in the assigner when the note-on message is input, the note-on with the youngest assigner input order (oldest stored order) is deleted,
The corresponding note-off message is output.

【0182】第79図に、分割条件設定の一例を示して
ある。第79図に示した例においては、ベロシティ「0
65」以上は出力端子OUT1から、それ以外は出力端
子OUT2から出力することを示している。また、
「S」は当該チャネルにこのベロシティセパレート機能
を適用することを示し、ブランクになっているチャネル
ではベロシティセパレート機能を適用しないことを示し
ている。後者の場合は、出力端子OUT1又はOUT2
の双方からMIDI情報が出力されることになる。
FIG. 79 shows an example of division condition setting. In the example shown in FIG. 79, the velocity “0”
"65" and above indicate that the output is from the output terminal OUT1, and the others are from the output terminal OUT2. Also,
“S” indicates that the velocity separate function is applied to the channel, and that the velocity separate function is not applied to a blank channel. In the latter case, the output terminal OUT1 or OUT2
Will output the MIDI information.

【0183】第79図に示した例における、O_P_R
5の内容を表8に示しており、チャネル1、2、3、
5、6、8、9にこのベロシティセパレートが適用され
ることを示している。V_Bの内容を表9に示してお
り、ベロシティ「065」(41H)が分岐点になって
いることを表している。SPL_P_Fの内容を表10
に示しており、メッセージ中のベロシティがV_Bの内
容以上であれば、出力端子POUT1から出力すること
を表している。
In the example shown in FIG. 79, O_P_R
Table 5 shows the contents of channel 1, 2, 3,
5, 6, 8, and 9 indicate that this velocity separation is applied. The contents of V_B are shown in Table 9 and indicate that the velocity “065” (41 H ) is a branch point. Table 10 shows the contents of SPL_P_F
Indicates that if the velocity in the message is equal to or greater than the content of V_B, the message is output from the output terminal POUT1.

【0184】また、アサイナの一例を、下記表11に示
す。表11では、現在のアサイン数は3FH であり、残
りは40H の1エントリしか空いていないことを示して
いる。
Table 11 shows an example of the assigner. Table 11, the current number of assignments is 3F H, the rest indicates that no vacant only one entry 40 H.

【0185】表11 アサイナ MAX INPUT N0.=3FH Table 11 Assigner MAX INPUT N0. = 3F H

【0186】(c)MIDI信号処理 以下、MIDI信号の処理の流れを第5図〜第10図及
び第17図を参照しながら説明する。MIDI入力端子
IN1に入力されたMIDIメッセージは、第5図のM
IDI受信割込0処理フローに従って処理され、MID
I入力端子IN2に入力されたMIDIメッセージは、
第6図のMIDI受信割込1処理フローに従って処理さ
れ、受信データは、それぞれRB0,RB1に格納され
ることは上述した通りである。また、RB0,1に格納
された受信データは、第7図の受信データ処理割込ルー
チンによって処理されることも上述した通りである。
(C) MIDI Signal Processing Hereinafter, the flow of processing of MIDI signals will be described with reference to FIGS. 5 to 10 and FIG. The MIDI message input to the MIDI input terminal IN1 is the MIDI message shown in FIG.
It is processed according to the IDI reception interrupt 0 processing flow, and the MID
The MIDI message input to the I input terminal IN2 is
As described above, processing is performed according to the MIDI reception interrupt 1 processing flow of FIG. 6, and received data is stored in RB0 and RB1, respectively. Also, as described above, the reception data stored in RB0, RB1 is processed by the reception data processing interrupt routine of FIG.

【0187】以下、RB0にノートオンメッセージが格
納された場合の処理について説明する。ノートオンメッ
セージとしては第3の発明の項のM1で示したものを例
として用いる。受信データ処理サブルーチン(第8図)
は、第3の発明で既に説明したように、受信データのス
テータスをMB内のステータスバッファに格納する。上
記受信メッセージM1が格納されていた場合、「90
H 」を格納し、その後このサブルーチンからリターンす
る。
[0187] The processing when the note-on message is stored in RB0 will be described below. As the note-on message, the message indicated by M1 in the section of the third invention is used as an example. Receive data processing subroutine (Fig. 8)
Stores the status of the received data in the status buffer in the MB, as already described in the third invention. If the received message M1 has been stored, "90
H "is stored, and then the process returns from this subroutine.

【0188】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第2バイト目、即ち「40
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 」までしか格納されていないので、メ
ッセージが完結していないことを判断して、このサブル
ーチンからリターンする。
After the above operation, when the reception data processing subroutine is called again, the second byte of the reception data, that is, "40", as described above in the third invention.
H ”is stored in the data buffer in the MB. in this case,
Since only up to " 90H , 40H " are stored, it is determined that the message is not completed, and the routine returns from this subroutine.

【0189】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第3バイト目、即ち「7F
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 、7FH 」まで格納されたので、メッ
セージが完結したことを判断して、ステップS812へ
進む。
After the above operation, when the reception data processing subroutine is called again, the third byte of the reception data, that is, "7F", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
"90 H, 40 H, 7F H" so stored until it is determined that the message is complete, the process proceeds to step S812.

【0190】ステップS812以下は、第3の発明で説
明したと同じステップを経て、セパレートフラグの判断
(ステップS820)に移る。即ち、セパレートフラグ
SP_Fが調べられる。この場合、SP_Fは「08
H 」であるので、ベロシティセパレート処理ルーチン
(第17図)がコールされる(ステップS824)。
After step S812, the process proceeds to the determination of the separate flag (step S820) through the same steps as described in the third invention. That is, the separate flag SP_F is checked. In this case, SP_F is "08
Since it is " H ", the velocity separation processing routine (FIG. 17) is called (step S824).

【0191】次に、ベロシティセパレート処理につい
て、第17図のフローチャートを参照しながら説明す
る。ベロシティセパレート処理においては、先ず、メッ
セージがノートナンバーを有するメッセージ(ノートオ
ン、ノートオフ)であるか否かが調べられる(ステップ
S1701)。
Next, the velocity separation processing will be described with reference to the flowchart of FIG. In the velocity separation processing, first, it is checked whether or not the message is a message having a note number (note on, note off) (step S1701).

【0192】ここで、例示の場合はノートナンバーを有
するので、ステップS1702へ進み、メッセージがノ
ートオンであるか否かが調べられる。そして、ノートオ
ンであることが判断されると、O_P_R5のチェック
を行う(ステップS1703)。即ち、当該メッセージ
のチャネル番号に対応したO_P_R5のビットが
「1」であるか否かを調べる。この場合、PTBに格納
されているデータのステータスバイトは「90H 」であ
るので、O_P_R5のビット1が「1」であるか否か
を調べることになる(表8参照)。ここでO_P_R5
のビット1が「1」であることが判断されると、ステッ
プS826(第8図)へ分岐し、出力端子OUT1及び
OUT2の両方からノートオンメッセージが出力される
ことになる。
Here, in the case of the example, since the message has a note number, the flow advances to step S1702 to check whether or not the message is note-on. If it is determined that the note-on operation is performed, O_P_R5 is checked (step S1703). That is, it is determined whether or not the bit of O_P_R5 corresponding to the channel number of the message is “1”. In this case, since the status byte of the data stored in the PTB is “90 H ”, it is checked whether or not bit 1 of O_P_R5 is “1” (see Table 8). Where O_P_R5
Is determined to be "1", the flow branches to step S826 (FIG. 8), and a note-on message is output from both of the output terminals OUT1 and OUT2.

【0193】一方、O_P_R5のビット1が「1」で
ないことが判断されると、SPL_P_FのMSBが
「0」であるか否かが調べられる(ステップS170
4)。例示の場合「1」であるので、ステップS170
6へ分岐し、メッセージ中のベロシティがV_Bの内容
より小さいか否かが調べられる。そして、メッセージ中
のベロシティがV_Bの内容より小さければTP1_O
Pがコールされ(ステップS1709)、小さくなけれ
ばTP0_OPがコールされる(ステップS171
0)。例示の場合、V_Bの内容は「65=41H 」で
あり、メッセージM1中のベロシティは「7FH 」であ
るので、ステップS1710に分岐してTB0_OPが
コールされ、その後ステップS1711へ分岐する。
On the other hand, if it is determined that bit 1 of O_P_R5 is not “1”, it is checked whether the MSB of SPL_P_F is “0” (step S170).
4). In the case of the example, since it is “1”, step S170
The process branches to 6 to check whether the velocity in the message is smaller than the content of V_B. If the velocity in the message is smaller than the content of V_B, TP1_O
P is called (step S1709), and if not, TP0_OP is called (step S171).
0). In the illustrated example, the content of V_B is “65 = 41 H ” and the velocity in the message M1 is “7F H ”. Therefore, the flow branches to step S1710 to call TB0_OP, and then branches to step S1711.

【0194】TB0_OPでは、PTBに格納されてい
た全データ(1メッセージ)を送信バッファTB0に書
き込む。TB0に書き込まれたデータは、MIDI送信
割込0(第9図)によってMIDI出力端子OUT1か
ら外部の機器へ出力される。
In TB0_OP, all data (one message) stored in the PTB is written to the transmission buffer TB0. The data written to TB0 is output from MIDI output terminal OUT1 to an external device by MIDI transmission interrupt 0 (FIG. 9).

【0195】なお、上記ステップS1704で、SPL
_P_FのMSBが「0」であることが判断されると、
メッセージ中のベロシティがV_Bの内容より小さいか
否かが調べられ(ステップS1705)、メッセージ中
のベロシティがV_Bの内容より大きければTP0_O
Pがコールされ(ステップS1708)、そうでなけれ
ばTP1_OPがコールされ(ステップS1707)、
その後ステップS1711へ分岐する。ステップS17
11以降は、ノートオンメッセージの時のアサイナの処
理である。この時のアサイナは、表11に示すように設
定されているものとする。
It should be noted that, in step S1704, the SPL
When it is determined that the MSB of _P_F is “0”,
It is checked whether the velocity in the message is lower than the contents of V_B (step S1705). If the velocity in the message is higher than the contents of V_B, TP0_O is used.
P is called (step S1708), otherwise TP1_OP is called (step S1707),
Thereafter, the flow branches to step S1711. Step S17
Steps 11 and after are processing of the assigner at the time of the note-on message. It is assumed that the assigner at this time is set as shown in Table 11.

【0196】アサイナの処理においては、先ず、アサイ
ナに空きがあるか否かが調べられる(ステップS171
1)。これは、最大入力順位(MAX INPUT NO.)と最大ア
サイナナンバー(表11に示す例では40H )とを比較
し、最大入力順位が最大アサイナナンバーに等しければ
アサイナに空きがないと判断する。
In the process of the assigner, first, it is checked whether or not there is a free space in the assigner (step S171).
1). This means that the maximum input rank (MAX INPUT NO.) Is compared with the maximum assigner number (40 H in the example shown in Table 11), and if the maximum input rank is equal to the maximum assigner number, it is determined that there is no room in the assigner. I do.

【0197】ここで、アサイナに空きがあることが判断
されると、最大入力順位をインクリメントし(ステップ
S1713)、次いで、アサイナの空きエントリへMI
DIチャネルナンバー(MIDI CH.)、ノートナンバー
(NOTE NO.)、出力ポート(OUT)を書き込む。そし
て、入力順位(INPUT NO.)に最大入力順位を書き込んで
(ステップS1717)、その後、この処理ルーチンか
らリターンする。
Here, when it is determined that there is a free space in the assigner, the maximum input order is incremented (step S1713), and then the free entry of the assigner is set to MI.
Write the DI channel number (MIDI CH.), Note number (NOTE NO.), And output port (OUT). Then, the maximum input rank is written in the input rank (INPUT NO.) (Step S1717), and thereafter, the process returns from this processing routine.

【0198】例示のメッセージの場合は、ノートナンバ
ーとして「40H 」、MIDIチャネルとして「9
H 」、出力ポートとして「0」、入力順位として「40
H 」を書き込んで処理を終了する。以上の処理終了によ
り、アサイナは表12のように更新される。
In the case of the exemplified message, the note number is “40 H ”, and the MIDI channel is “9H”.
H ”,“ 0 ”as the output port, and“ 40 ”as the input order.
H ”is written and the process ends. Upon completion of the above processing, the assigner is updated as shown in Table 12.

【0199】次に、この状態で、下記メッセージM3が
入力された場合について説明する。「95H 、60H
7FH 」・・・M3 第17図のステップS1711までの処理は上記と同じ
であるので、説明は省略する。ステップS1711にお
いて、最大入力順位(MAX INPUT NO. )と最大アサイナ
ナンバーとを比較する。この場合、最大入力順位が最大
アサイナナンバーに等しいので、アサイナに空きがない
と判断してステップS1712に進む。そして、アサイ
ナ内の全ての入力順位(INPUT NO. )をデクリメントす
る。
Next, a case where the following message M3 is input in this state will be described. "95 H, 60 H,
7F H ”... M3 Since the processing up to step S1711 in FIG. 17 is the same as above, the description is omitted. In step S1711, the maximum input rank (MAX INPUT NO.) Is compared with the maximum assigner number. In this case, since the maximum input rank is equal to the maximum assigner number, it is determined that there is no vacancy in the assigner, and the flow advances to step S1712. Then, all input ranks (INPUT NO.) In the assigner are decremented.

【0200】次いで、上記デクリメントの結果、入力順
位がゼロとなったエントリに記憶されているノートナン
バーに対応するノートオフメッセージを同じエントリに
記憶されている出力ポート(出力端子)から出力する
(ステップS1714)。この場合、ASSIGN NO.が「2
H 」の入力順位がゼロになるため、「91H 、30H
00H 」のメッセージが出力端子OUT2から出力され
る。これにより、最も古いアサインの発音が消去される
ことになる。
Then, as a result of the decrement, a note-off message corresponding to the note number stored in the entry whose input rank becomes zero is output from the output port (output terminal) stored in the same entry (step). S1714). In this case, the ASSIGN NO.
Since the input order of H 'is zero, "91 H, 30 H,
00 H "of the message is output from the output terminal OUT2. As a result, the sound of the oldest assignment is erased.

【0201】表12 アサイナ MAX INPUT N0.=40H Table 12 Assigner MAX INPUT N0. = 40 H

【0202】次いで、同じエントリに、入力されたメッ
セージのノートナンバー、MIDIチャネルナンバー、
出力ポートの各情報が書き込まれる。この例の場合は、
ノートナンバーとして「60H 」、MIDIチャネルと
して「5H 」、出力ポートとして「0」、入力順位とし
て「40H 」を書き込んで処理を終了する。以上の処理
終了により、アサイナは表13のように更新される。
Next, in the same entry, the note number, MIDI channel number,
Each information of the output port is written. In this case,
"60 H" as note number "5 H" as the MIDI channel, "0" as the output port, and terminates the writing by processing the "40 H" as the input order. By the above processing, the assigner is updated as shown in Table 13.

【0203】表13 アサイナ MAX INPUT N0.=40H Table 13 Assigner MAX INPUT N0. = 40 H

【0204】次に、この状態で、下記メッセージM4が
入力された場合について説明する。「90H 、40H
00H 」…M4 第17図のステップS1701までの処理は上記と同じ
であるので、説明は省略する。ステップS1701にお
いて、PTB内のこれから処理すべきメッセージがノー
トナンバーを有するメッセージ(ノートオン、ノートオ
フ)であるか否かを判断する。メッセージM4は、ノー
トナンバーを有しているため、ステップS1702へ進
み、メッセージはノートオンであるか否かを調べる。こ
こで、メッセージM4はノートオフ(第3バイト目のベ
ロシティ値がゼロ)であるので、ステップS1718へ
分岐する。そして、アサイナ内に、入力されたノートオ
フに対応するノートオンが存在するか否かを調べる。即
ち、アサイナのMIDIチャネルに、入力されたメッセ
ージのチャネルナンバーと同じものがあるか否かを調べ
る。
Next, a case where the following message M4 is input in this state will be described. "90 H, 40 H,
Since 00 H "... M4 process up to the 17 view of step S1701 is the same as above, description thereof is omitted. In step S1701, it is determined whether the message to be processed in the PTB is a message having a note number (note on, note off). Since the message M4 has a note number, the process advances to step S1702 to check whether the message is note-on. Here, since the message M4 is note-off (the velocity value of the third byte is zero), the flow branches to step S1718. Then, it is determined whether or not note-on corresponding to the input note-off exists in the assigner. That is, it is determined whether or not the MIDI channel of the assigner has the same channel number as that of the input message.

【0205】例示の場合は、ASSIGN NO.の「40H 」の
エントリにメッセージM4のノートオフに対応するノー
トナンバーが記憶されているので、入力されたノートオ
フに対応するノートオンが存在することが判断される。
したがって、該エントリに記録されている出力ポート、
つまり出力端子1から、メッセージM4が出力される
(ステップS1719)。
In the case of the example, since the note number corresponding to the note-off of the message M4 is stored in the entry of "40 H " of the ASSIGN NO., There is a note-on corresponding to the inputted note-off. Is determined.
Therefore, the output port recorded in the entry,
That is, the message M4 is output from the output terminal 1 (step S1719).

【0206】次いで、アサイナ消去が行われる(ステッ
プS1720)。即ち、ASSIGN NO.「40H 」のエント
リに、該エントリが空いていることを示す制御コードを
書き込む。次いで、アサイナの、消去された入力順位よ
り大きい入力順位を全てデクリメントし(ステップS1
721)、さらに、現在の最大アサイナ入力順位をデク
リメトする (ステップS1772)。この場合、ASSIG
N NO.「40H 」の入力順位が「40H」であり、これ以
上大きいアサイナ入力順位は存在しないため、アサイナ
エリアのアサイナ入力順位は変化しない。
Next, assigner erasure is performed (step S1720). That is, a control code indicating that the entry is vacant is written in the entry of ASSIGN NO. “40 H ”. Next, all input ranks larger than the erased input ranks of the assigner are decremented (step S1).
721), and further decrement the current maximum assigner input rank (step S1772). In this case, ASSIG
The input rank of N NO. “40 H ” is “40 H ”, and there is no assigner input rank larger than this, so that the assigner input rank in the assigner area does not change.

【0207】以上説明したように、この発明によれば、
ノートナンバーを有するメッセージのベロシティに応じ
て出力先を選択することができるようにしたので、演奏
者の希望する音源、あるいは音源に適した楽音を発生す
ることができるMIDI情報分割装置としての電子楽器
制御装置を提供できる。
As described above, according to the present invention,
Since the output destination can be selected according to the velocity of a message having a note number, an electronic musical instrument as a MIDI information dividing device capable of generating a sound source desired by a player or a musical tone suitable for the sound source. A control device can be provided.

【0208】(8)第8の発明 この発明は、一言でいうと、入力されたノート情報のベ
ロシティを直接操作することができるようにしたもので
ある。即ち、このベロシティ操作装置としての電子楽器
制御装置では、例えばスライド式のボリューム(フェー
ダ)によって、入力されたMIDI信号を加工して出力
するようにしたものである。
(8) Eighth Invention The present invention, in a nutshell, allows direct manipulation of the velocity of input note information. That is, in the electronic musical instrument control device as the velocity operation device, the input MIDI signal is processed and output by, for example, a slide type volume (fader).

【0209】この発明では、入力されたノート情報のベ
ロシティをフェーダの値に置き換えるベロシティアブソ
リュートと、入力されたノート情報のベロシティに、フ
ェーダの値を加算して新しいベロシティとして出力する
ベロシティオフセットとがある。第54図は、ベロシテ
ィアブソリュートの一例を示す図であり、第55図は、
ベロシティオフセットの一例を示す図である。
In the present invention, there are a velocity absolute that replaces the velocity of the input note information with a fader value, and a velocity offset that adds the fader value to the velocity of the input note information and outputs it as a new velocity. . FIG. 54 is a diagram showing an example of a velocity absolute, and FIG.
It is a figure showing an example of a velocity offset.

【0210】これらの図において、縦軸は、ベロシティ
を示し、横軸は時間を示す。また、破線は入力データの
ベロシティを示し、実線は出力データのベロシティを示
す。第54図に示すベロシティアブソリュートでは、入
力されたノート情報のベロシティがその時点のフェーダ
の位置に対応するベロシティ値で置き換えられる。
In these figures, the vertical axis indicates velocity, and the horizontal axis indicates time. The broken line indicates the velocity of the input data, and the solid line indicates the velocity of the output data. In the velocity absolute shown in FIG. 54, the velocity of the inputted note information is replaced by the velocity value corresponding to the position of the fader at that time.

【0211】第55図に示すベロシティオフセットで
は、フェーダの中心を「0」とし、「−64」から「+
63」までの値を持つ。この値は、入力されたノート情
報のベロシティ値に加算される。この加算結果は「+1
27」を超えるときは「+127」に設定される。ま
た、加算結果が「0」以下のときは、この加算結果は
「+1」に設定される。
In the velocity offset shown in FIG. 55, the center of the fader is set to “0”, and “−64” to “+”
63 ". This value is added to the velocity value of the input note information. The result of this addition is "+1
If it exceeds 27, it is set to "+127". When the addition result is equal to or less than “0”, the addition result is set to “+1”.

【0212】以下、この発明の実施例につき図面を参照
しながら説明する。先ず、本発明のベロシティ操作を実
行するにあたって、モードセレクトキー28の「MAN
UAL」スイッチを押下する。以降は、第48図のモー
ド変更処理概略フローに従って処理される。モード変更
処理ルーチンでは、先ず、スイッチイベントの有無が調
べられる(ステップS481)。そして、スイッチイベ
ントがあったことが判断されると、該イベントがモード
セレクトキーであるか否かが調べられる(ステップS4
82)。ここで、モードセレクトキーであることが判断
されると、モード変更処理を行い(ステップS48
3)、次いで、M_F_Rを変更する(ステップS48
4)。即ち、ベロシティオフセットモードであった場合
には、M_F_Rのベロシティオフセットモードに対応
するビットを「1」にセットし、残りのビットを「0」
にクリアする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, when executing the velocity operation of the present invention, "MAN" of the mode select key 28 is executed.
Press the "UAL" switch. Thereafter, the processing is performed according to the schematic flow of the mode change processing in FIG. In the mode change processing routine, first, the presence or absence of a switch event is checked (step S481). If it is determined that a switch event has occurred, it is checked whether the event is a mode select key (step S4).
82). If it is determined that the key is the mode select key, a mode change process is performed (step S48).
3) Then, M_F_R is changed (Step S48)
4). That is, in the case of the velocity offset mode, the bit corresponding to the velocity offset mode of M_F_R is set to “1”, and the remaining bits are set to “0”.
To clear.

【0213】一方、ベロシティアブソリュートモードで
あった場合には、M_F_Rのベロシティアブソリュー
トモードに対応するビットを「1」にセットし、残りの
ビットを「0」にクリアする。次いで、内部生成データ
読出ポインタ、データ書き込みポインタの変更処理を行
う(ステップS485)。なお、このステップは実行す
るファンクションによってはスキップされる場合があ
り、このベロシティオフセット又はベロシティアブソリ
ュートモードでもスキップされる。
On the other hand, in the case of the velocity absolute mode, the bit corresponding to the velocity absolute mode of M_F_R is set to “1”, and the remaining bits are cleared to “0”. Next, a process of changing the internally generated data read pointer and the data write pointer is performed (step S485). Note that this step may be skipped depending on the function to be executed, and is skipped even in this velocity offset or velocity absolute mode.

【0214】次いで、表示変更処理が行われる(ステッ
プS486)。即ち、ベロシティオフセットモードの場
合は、第80図に示す表示が行われる。第80図におい
て、1)は16本のフェーダ32に対応した16桁の数字
であり、フェーダ32の値「−64〜63」を、「−6
〜6」の値で概略表示する。2)はカーソル位置のフェー
ダの値「−64〜63」を表示している。
Next, a display change process is performed (step S486). That is, in the case of the velocity offset mode, the display shown in FIG. 80 is performed. In FIG. 80, 1) is a 16-digit number corresponding to 16 faders 32, and the value “−64 to 63” of the fader 32 is changed to “−6”.
66 ”. 2) indicates a fader value "-64 to 63" at the cursor position.

【0215】ベロシティアブソリュートモードの場合
は、第81図に示す表示が行われる。第81図におい
て、1)は16本のフェーダ32に対応した16桁の数字
であり、フェーダ32の値「000〜127」を、「0
〜12」の値で概略表示する。2)はカーソル位置のフェ
ーダの値「000〜127」を表示している。
In the case of the velocity absolute mode, the display shown in FIG. 81 is performed. In FIG. 81, 1) is a 16-digit number corresponding to the 16 faders 32, and the value “000 to 127” of the fader 32 is changed to “0”.
-12 ". 2) displays the fader value "000 to 127" at the cursor position.

【0216】本発明は、概述すると、2組の入力端子I
N1、2及び出力端子OUT1、2を有し、入力端子か
ら入力されたMIDI情報をマージし、16本のフェー
ダ32でチャネル毎にメッセージを加工し、さらにセパ
レートした後に、出力端子から出力するというものであ
る。セパレートについては、既に説明したのでここでの
説明は省略する。
According to the present invention, two sets of input terminals I
N1 and N2 and output terminals OUT1 and OUT2, MIDI information input from input terminals is merged, a message is processed for each channel by 16 faders 32, separated, and then output from an output terminal. Things. Since the separation has already been described, the description is omitted here.

【0217】ベロシティオフセットモードは、フェーダ
の値を「−64〜63」とし、入力されたノートオンメ
ッセージのベロシティに、上記フェーダの値を加算して
出力端子から出力するというものである。ベロシティア
ブソリュートモードは、フェーダの値を「0〜127」
とし、入力されたノートオンメッセージのベロシティを
上記フェーダの値で置き換えて出力端子から出力すると
いうものである。
In the velocity offset mode, the value of the fader is set to "-64 to 63", the value of the fader is added to the velocity of the input note-on message, and the result is output from the output terminal. In velocity absolute mode, set the fader value to "0 to 127"
Then, the velocity of the input note-on message is replaced with the value of the fader and output from the output terminal.

【0218】以下、MIDI信号の処理の流れを第5図
〜第10図及び第17図を参照しながら説明する。MI
DI入力端子IN1に入力されたMIDIメッセージ
は、第5図のMIDI受信割込0処理フローに従って処
理され、MIDI入力端子IN2に入力されたMIDI
メッセージは、第6図のMIDI受信割込1処理フロー
に従って処理され、受信データは、それぞれRB0,R
B1に格納されることは上述した通りである。また、R
B0,1に格納された受信データは、第7図の受信デー
タ処理割込ルーチンによって処理されることも上述した
通りである。
Hereinafter, the flow of processing of the MIDI signal will be described with reference to FIGS. 5 to 10 and FIG. MI
The MIDI message input to the DI input terminal IN1 is processed according to the MIDI reception interrupt 0 processing flow shown in FIG. 5, and the MIDI message input to the MIDI input terminal IN2 is processed.
The message is processed according to the MIDI reception interrupt 1 processing flow shown in FIG.
The information stored in B1 is as described above. Also, R
As described above, the reception data stored in B0, B1 is processed by the reception data processing interrupt routine of FIG.

【0219】以下、RB0にノートオンメッセージが格
納された場合の処理について説明する。ノートオンメッ
セージとしては第3の発明の項のM1で示したものを例
として用いる。受信データ処理サブルーチン(第8図)
は、第3の発明で既に説明したように、受信データのス
テータスをMB内のステータスバッファに格納する。上
記受信メッセージM1が格納されていた場合、「90
H 」を格納し、その後このサブルーチンからリターンす
る。
[0219] The processing when a note-on message is stored in RB0 will be described below. As the note-on message, the message indicated by M1 in the section of the third invention is used as an example. Receive data processing subroutine (Fig. 8)
Stores the status of the received data in the status buffer in the MB, as already described in the third invention. If the received message M1 has been stored, "90
H "is stored, and then the process returns from this subroutine.

【0220】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第2バイト目、即ち「40
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 」までしか格納されていないので、メ
ッセージが完結していないことを判断して、このサブル
ーチンからリターンする。
After the above operation, when the reception data processing subroutine is called again, the second byte of the reception data, that is, "40", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
Since only up to " 90H , 40H " are stored, it is determined that the message is not completed, and the routine returns from this subroutine.

【0221】上記動作終了後、再び受信データ処理サブ
ルーチンがコールされると、これも第3の発明で既に説
明したように、受信データの第3バイト目、即ち「7F
H 」をMB内のデータバッファに格納する。この場合、
「90H 、40H 、7FH 」まで格納されたので、メッ
セージが完結したことを判断して、ステップS812へ
進む。
When the received data processing subroutine is called again after the above operation, this is also the third byte of the received data, that is, "7F", as already described in the third invention.
H ”is stored in the data buffer in the MB. in this case,
"90 H, 40 H, 7F H" so stored until it is determined that the message is complete, the process proceeds to step S812.

【0222】ステップS812では、メッセージがノー
トオンであるか否かが調べられる。この場合、「90
H 」はノートオンメッセージのステータスであるので、
ステップS813のモード判断処理が行われる。ここ
で、ベロシティオフセットモードでることが判断される
と、ベロシティオフセット(VELOCITY OFFSET)処理ル
ーチンがコールされる(ステップS814)。
In step S812, it is checked whether the message is note-on. In this case, "90
H "is the status of the note-on message,
A mode determination process in step S813 is performed. If it is determined that the mode is the velocity offset mode, a velocity offset (VELOCITY OFFSET) processing routine is called (step S814).

【0223】以下、ベロシティオフセット処理につき第
11図のフローチャートを参照しながら説明する。ベロ
シティオフセット処理においては、先ず、O_D_Bか
らノートオンメッセージのチャネルに対応したデータを
読み出す(ステップS111)。ここで、O_D_Bに
は、各フェーダ32の値「0〜7FH 」が保存されてい
る。したがって、ノートオンメッセージに含まれるチャ
ネル番号に対応するO_D_Bの領域から、フェーダの
値が読み出されることになる。
Hereinafter, the velocity offset processing will be described with reference to the flowchart of FIG. In the velocity offset processing, first, data corresponding to the channel of the note-on message is read from O_D_B (step S111). Here, the value “0 to 7F H ” of each fader 32 is stored in O_D_B. Therefore, the fader value is read from the O_D_B area corresponding to the channel number included in the note-on message.

【0224】次いで、読み出されたフェーダの値から
「40H 」を減算し、これをノートオンメッセージのベ
ロシティに加算する(ステップS112)。これによ
り、フェーダ32の値「0〜127」を、「−64〜6
3」に変換した値が、ノートオンメッセージのベロシテ
ィに加算されることになる。
Next, “40 H ” is subtracted from the read fader value, and this is added to the velocity of the note-on message (step S112). As a result, the value “0 to 127” of the fader 32 is changed to “−64 to 6”.
The value converted to "3" is added to the velocity of the note-on message.

【0225】次いで、上記加算結果、ベロシティが
「0」以下になったか否かが調べられ(ステップS11
3)、「0」以下であることが判断されると、ノートオ
ンメッセージのベロシティデータとして「1」が代入さ
れる(ステップS114)。
Next, it is checked whether or not the velocity has become "0" or less as a result of the addition (step S11).
3) If it is determined that the value is not more than "0", "1" is substituted as velocity data of the note-on message (step S114).

【0226】一方、上記加算結果、ベロシティが「0」
より大きいことが判断されると、ベロシティデータが
「80H 」以上であるか否かが調べられる(ステップS
115)。そして、「80H 」以上であることが判断さ
れると、ノートオンメッセージのベロシティデータとし
て「7FH 」が代入される(ステップS116)。上記
以外の場合は、加算結果が、そのままノートオンメッセ
ージのベロシティ値として用いられる。
On the other hand, as a result of the addition, the velocity is “0”.
If it is determined that the velocity data is greater than “80 H ”, it is checked whether the velocity data is “80 H ” or more (step S).
115). When it is "80 H" or more is determined, "7F H" is substituted as velocity data of note-on message (Step S116). In cases other than the above, the addition result is used as it is as the velocity value of the note-on message.

【0227】かかる処理の結果、ノートオンメッセージ
のベロシティが「1〜127」の範囲を外れた場合に、
限界値が「1」又は「127」に設定されることにな
る。ここで、下限値を「1」としたのは、もし「0」に
すると、ノートオフメッセージになるからである。以上
の処理が終了すると、このベロシティオフセット処理ル
ーチンからリターンする。
As a result of this processing, when the velocity of the note-on message is out of the range of “1 to 127”,
The limit value will be set to “1” or “127”. Here, the lower limit is set to "1" because if it is set to "0", it becomes a note-off message. When the above processing is completed, the routine returns from the velocity offset processing routine.

【0228】一方、ステップS813でモード判断処理
が行われ、ベロシティオアブソリュートモードでること
が判断されると、ベロシティアブソリュート(VELOCITY
ABSOLUTE)処理ルーチンがコールされる(ステップS
815)。
On the other hand, if mode determination processing is performed in step S813 and it is determined that the velocity is in the absolute velocity mode, the velocity absolute (VELOCITY
ABSOLUTE) processing routine is called (step S
815).

【0229】以下、ベロシティアブソリュート処理につ
き第12図のフローチャートを参照しながら説明する。
ベロシティアブソリュート処理においては、先ず、O_
D_Bからノートオンメッセージのチャネルに対応した
データを読み出す(ステップS121)。ここで、O_
D_Bには、各フェーダ32の値「0〜7FH 」が保存
されている。したがって、ノートオンメッセージに含ま
れるチャネル番号に対応するO_D_Bの領域から、フ
ェーダの値を読み出されることになる。
Hereinafter, the velocity absolute processing will be described with reference to the flowchart of FIG.
In velocity absolute processing, first, O_
Data corresponding to the channel of the note-on message is read from D_B (step S121). Where O_
In D_B, the values “0 to 7F H ” of each fader 32 are stored. Therefore, the fader value is read from the O_D_B area corresponding to the channel number included in the note-on message.

【0230】次いで、O_D_Bの内容が「0」である
か否かを調べ(ステップS122)、「0」でなけれ
ば、O_D_Bデータをノートオンメッセージのベロシ
ティに書き込む(ステップS123)。一方、O_D_
Bの内容が「0」であることが判断されると、ノートオ
ンメッセージのベロシティデータとして「1」が代入さ
れる(ステップS124)。この結果、ノートオンメッ
セージのベロシティが「0」の場合に、「1」が設定さ
れることになる。以上の処理が終了すると、このベロシ
ティアブソリュート処理ルーチンからリターンする。
Next, it is determined whether or not the content of O_D_B is "0" (step S122). If not, the O_D_B data is written in the velocity of the note-on message (step S123). On the other hand, O_D_
When it is determined that the content of B is "0", "1" is substituted as the velocity data of the note-on message (step S124). As a result, when the velocity of the note-on message is “0”, “1” is set. When the above processing is completed, the routine returns from the velocity absolute processing routine.

【0231】次いで、受信データ処理サブルーチンのス
テップS817へ進み、MBの内容をPTBに移す。こ
の場合、ベロシティが変更されたノートオンメッセージ
の3バイトが移されることになる。次いで、ステータス
バイトがプログラムチェンジ(CnH )であるか否かが
調べられる(ステップS818)。この場合、プログラ
ムチェンジのステータスではないので、セパレートフラ
グ判断処理が行われる(ステップS820)。即ち、S
P_Fが調べられる。この場合、SP_Fは「00H
であるので、TB0_OPサブルーチンをコールする
(ステップS826)。このTB0_OPサブルーチン
は、送信バッファTB0に1メッセージを格納する処理
を行うものであり、この処理により、PTBに格納され
ているデータ全てがTB0移される。
Then, the flow advances to step S817 in the reception data processing subroutine to move the contents of the MB to the PTB. In this case, three bytes of the note-on message whose velocity has been changed are transferred. Next, it is checked whether or not the status byte is a program change (Cn H ) (step S818). In this case, since the status is not a program change status, a separate flag determination process is performed (step S820). That is, S
P_F is examined. In this case, SP_F is “00 H
Therefore, the subroutine TB0_OP is called (step S826). This TB0_OP subroutine performs a process of storing one message in the transmission buffer TB0, and by this process, all data stored in the PTB is moved to TB0.

【0232】次いで、TB1_OPサブルーチンをコー
ルする(ステップS827)。このTB1_OPサブル
ーチンは、送信バッファTB1に1メッセージを格納す
る処理を行うものであり、この処理により、PTBに格
納されているデータ全てがTB1移される。
Next, the subroutine TB1_OP is called (step S827). The TB1_OP subroutine performs a process of storing one message in the transmission buffer TB1, and by this process, all data stored in the PTB is transferred to the TB1.

【0233】TB0、TB1に書き込まれたデータは、
既に説明したように、それぞれMIDI送信割込0(第
9図)、MIDI送信割込1(第10図)によってMI
DI出力端子OUT1、OUT2から外部の機器へ出力
される。なお、O_D_Bにセットされるフェーダの値
は、第22図のフェーダイベント処理ルーチンにより得
られる。ここで、フェーダイベント処理ルーチンのう
ち、本発明に関係のある部分についてのみ説明する。
The data written to TB0 and TB1 is
As described above, MIDI transmission interrupt 0 (FIG. 9) and MIDI transmission interrupt 1 (FIG. 10) respectively
The signals are output from the DI output terminals OUT1 and OUT2 to an external device. The fader value set in O_D_B is obtained by the fader event processing routine shown in FIG. Here, only the part related to the present invention in the fader event processing routine will be described.

【0234】フェーダイベント処理では、先ず、フェー
ダイベントがあったか否かが調べられ(ステップS22
01)、フェーダイベントがあったことが判断される
と、該イベントがフェーダナンバー1〜16に対するも
のであるか否かが調べられる(ステップS2202)。
そして、フェーダナンバー1〜16に対するイベントで
あることが判断されると、モード判断処理が行われる
(ステップS2203)。ここで、ベロシティオフセッ
ト又はベロシティアブソリュートであることが判断され
ると、O_D_Bのイベントがあったフェーダに対応す
る領域にフェーダのデータをかき込む(ステップS22
04)。次いで、ディスプレイ22の当該フェーダに対
応する値を表示変更し(ステップS2205)、その
後、この処理ルーチンからリターンする。
In the fader event process, first, it is checked whether a fader event has occurred (step S22).
01), when it is determined that there is a fader event, it is checked whether the event is for fader numbers 1 to 16 (step S2202).
If it is determined that the event is for the fader numbers 1 to 16, a mode determination process is performed (step S2203). Here, if it is determined that it is a velocity offset or a velocity absolute, the fader data is written into an area corresponding to the fader having the O_D_B event (step S22).
04). Next, the display of the value corresponding to the fader on the display 22 is changed (step S2205), and thereafter, the process returns from this processing routine.

【0235】ここで、カーソルを移動させるためのカー
ソル移動処理について、第32図のカーソル移動処理ル
ーチンについて説明する。このカーソル移動処理は種々
の処理で行われるが、ここで代表して説明しておく。
Here, the cursor movement processing for moving the cursor will be described with reference to the cursor movement processing routine of FIG. The cursor moving process is performed by various processes, and will be described here as a representative.

【0236】カーソル移動処理では、先ず、スイッチイ
ベントが有るか否かを調べ(ステップS321)、イベ
ントがあったことが判断されると、該イベントがカーソ
ルキーであるか否かを調べる(ステップS322)。こ
こでカーソルキーであることが判断されると、カーソル
位置の変更を行い、位置データをCursorへ入力す
る(ステップS323)。次いで、上記データを基にデ
ータ書込ポインタに書き込みアドレスを入力する。その
後、このカーソル移動処理ルーチンからリターンする。
以上により、データ書込ポインタが更新される。
In the cursor moving process, first, it is checked whether or not there is a switch event (step S321). When it is determined that there is an event, it is checked whether or not the event is a cursor key (step S322). ). If it is determined that the cursor key is selected, the cursor position is changed, and the position data is input to the cursor (step S323). Next, a write address is input to a data write pointer based on the data. Thereafter, the process returns from the cursor movement processing routine.
As described above, the data write pointer is updated.

【0237】以上説明したように、この実施例によれ
ば、入力されたMIDI信号に対してボリューム信号を
加えることによって音量を変化させるだけでなく、ベロ
シティデータを直接操作することができるので、ベロシ
ティの音量変化に応じた音量変化を実現でき、また、あ
る種の自動演奏データのように同一ベロシティ値を有す
るノートオンメッセージを容易に作成することもでき
る。
As described above, according to this embodiment, not only the volume can be changed by adding a volume signal to the input MIDI signal, but also the velocity data can be directly manipulated. Can be realized, and a note-on message having the same velocity value as certain automatic performance data can be easily created.

【0238】また、この実施例によれば、アブソリュー
トの場合は、入力データのベロシティをならすことがで
きる。また、オフセットの場合は、ベロシティの段階
で、チャネルごとに入力データのバランスをとることが
可能となる。
According to this embodiment, in the case of absolute, the velocity of the input data can be smoothed. In the case of offset, it is possible to balance input data for each channel at the stage of velocity.

【0239】なお、上記実施例のベロシティオフセット
の場合において、フェーダの位置を「−64〜63」で
はなく、「0〜1」に対応させ、これを入力されたノー
ト情報のベロシティ値に乗算するようにすれば、上述し
たような「+127」を超えるときに「+127」に設
定し、また、加算結果が「0」以下のときに「+1」に
設定するという頭切りや足切りを行う必要がない。
In the case of the velocity offset in the above embodiment, the position of the fader is made to correspond to "0 to 1" instead of "-64 to 63", and this is multiplied by the velocity value of the inputted note information. By doing so, it is necessary to perform a truncation or a truncation in which the value is set to "+127" when the value exceeds "+127" and the value is set to "+1" when the addition result is equal to or less than "0". There is no.

【0240】(9)第9の発明 この発明にかかる電子楽器制御装置では、例えば、上述
したベロシティオフセットモードや、後述するキーバラ
ンスモードでは、ディスプレイ22に負数表示をする必
要が生じる。
(9) Ninth Invention In the electronic musical instrument control apparatus according to the present invention, for example, in the above-described velocity offset mode or the key balance mode described later, it is necessary to display a negative number on the display 22.

【0241】例えば、ベロシティオフセットモードにお
けるモード変更処理概略フロー(第48図)のステップ
S486では、第80図に示すような表示が行われる。
表示の意味は既に説明した通りである。この場合、負数
は反転表示(白抜き表示)が行われる。ここで、第80
図の1)の概略表示の意味は、下表14の通りである。
For example, in step S486 of the schematic flow of the mode change processing in the velocity offset mode (FIG. 48), the display as shown in FIG. 80 is performed.
The meaning of the display is as described above. In this case, a negative number is displayed in reverse (white display). Here, the 80th
The meaning of the schematic display of 1) in the figure is as shown in Table 14 below.

【0242】表14 Table 14

【0243】上記モード変更処理概略フロー(第48
図)のステップS485では、キャラクタジェネレータ
RAMへ書き込むユーザフォントのアドレスを、反転表
示データが記憶されているアドレスにする。また、同ス
テップS486では、ユーザフォントをLCDのキャラ
クタジェネレータ(CG)RAMに書き込み、モード変
更に伴う表示変更を行う。
The mode change processing schematic flow (forty-eighth
In step S485 of the figure, the address of the user font to be written to the character generator RAM is set to the address where the inverted display data is stored. In step S486, the user font is written into the character generator (CG) RAM of the LCD, and the display is changed according to the mode change.

【0244】次に、表示変更処理の詳細について、第5
3図の表示変更処理のフローチャートを参照しながら説
明する。ここで、LCDのキャラクタジェネレータは、
下記表15のように構成されているものとする。
Next, the details of the display change processing will be described in the fifth.
This will be described with reference to the flowchart of the display change process in FIG. Here, the LCD character generator is
It is assumed that the configuration is as shown in Table 15 below.

【0245】表15 Table 15

【0246】先ず、O_D_Bのカーソル位置のデータ
をレジスタRに入れる(ステップS531)。ここで、
レジスタRとしては、CPU5の任意のレジスタが使用
される。次いで、レジスタRの内容(0〜127)を
「−64〜63」に変換することにより2桁の数字と符
号にして、第80図の2)の位置に表示する(ステップS
532)。
First, the data at the cursor position O_D_B is entered into the register R (step S531). here,
As the register R, any register of the CPU 5 is used. Next, the contents (0 to 127) of the register R are converted into "-64 to 63" to be converted into a two-digit number and code, and displayed at the position 2) in FIG. 80 (step S).
532).

【0247】次いで、レジスタRの内容を「10」で除
算してレジスタRに格納する(ステップS533)。こ
れにより、「0〜127」が「0〜12」となる。次い
で、該レジスタRの内容と「5」とを比較する(ステッ
プS534)。ここで、レジスタRの内容が「5」より
大きいことが判断されると、CGROM内の数字を取り
出すために、レジスタRの内容に「2AH 」を加算し、
レジスタRに格納する(ステップS535)。「5」よ
り小さい時は、そのままでCGRAMのアドレスとな
る。以上の処理により、レジスタRにキャラクタジェネ
レータのアドレスが得られる。
Next, the content of the register R is divided by "10" and stored in the register R (step S533). Thus, “0 to 127” becomes “0 to 12”. Next, the content of the register R is compared with "5" (step S534). Here, if it is determined that the content of the register R is larger than “5”, “2A H ” is added to the content of the register R in order to retrieve the number in the CGROM,
The data is stored in the register R (step S535). If it is smaller than "5", it becomes the address of the CGRAM as it is. By the above processing, the address of the character generator is obtained in the register R.

【0248】次いで、レジスタRに得られたアドレスを
用いてキャラクタジェネレータからデータを取り出し、
カーソル位置に表示する(ステップS536)。
Next, data is extracted from the character generator using the address obtained in the register R,
It is displayed at the cursor position (step S536).

【0249】以上説明したように、この実施例では、第
58図(a)に示すように、負の数を1文字で概略表示
するために、CGRAMに記憶された反転表示の数字を
使用している。 これにより、マイナス「−」の表示場
所に困ることもなく、限られたスペースで負の数を効果
的に表示することができる。
As described above, in this embodiment, as shown in FIG. 58 (a), in order to roughly display a negative number with one character, the inverted number stored in the CGRAM is used. ing. This makes it possible to display a negative number effectively in a limited space without having to worry about the display location of minus “−”.

【0250】また、第58図(b)は、正数と負数とを
混合して表示した一例を示している。例示するように、
負の数と正の数の視覚上の差が大きくなるので、両者を
一目で識別することができ、視認性を高めることができ
るものとなっている。さらに、隣の数字との境がわかり
にくくなることもない。
FIG. 58 (b) shows an example in which positive numbers and negative numbers are mixed and displayed. As an example,
Since the visual difference between the negative number and the positive number becomes large, both can be identified at a glance, and the visibility can be improved. In addition, the boundaries between adjacent numbers are not obscure.

【0251】なお、以上の説明では、負の数の表示極性
を反転する場合を説明したが、正の数を反転するように
してもよいことは勿論である。また、第59図に示すよ
うに、負の数と正の数の大きさを変えることにより、両
者を容易に識別することができるようにしても良い。な
お、第59図には、負の数を小さく表示する場合を示す
が、逆に、正の数を小さく表示するようにしてもよいこ
とは勿論である。
In the above description, the case where the display polarity of the negative number is inverted has been described, but it is needless to say that the positive number may be inverted. Further, as shown in FIG. 59, the magnitudes of the negative and positive numbers may be changed so that both can be easily identified. Although FIG. 59 shows a case where a negative number is displayed small, it is needless to say that a positive number may be displayed small.

【0252】また、負数字を表示するために、第60図
(a)に示すように、数字本体を小さく表示し、最上位
1行分を使ってバーを付して表示するようにしても良
い。なお、第60図(a)には、バーを最上部の一行を
使って表示する場合を代表として示すが、例えば、最下
部の1行を使って表示するようにしても良い。この場
合、正の数は同図(b)に示すように大きく表示するよ
うにしても良いし、同図(c)に示すように小さく表示
するようにいてもよい。なお、正の数にバーを付して表
示し、負の数をバー無しで大きく又は小さく表示するこ
とができることは勿論である。
Further, in order to display a negative number, as shown in FIG. 60 (a), the main body of the number may be displayed small, and a bar may be displayed using the top one line. good. Although FIG. 60 (a) shows a case where the bar is displayed using one line at the top as a representative, for example, the bar may be displayed using one line at the bottom. In this case, the positive number may be displayed in a large size as shown in FIG. 7B, or may be displayed in a small size as shown in FIG. It is needless to say that a positive number can be displayed with a bar, and a negative number can be displayed larger or smaller without a bar.

【0253】(10)第10の発明 この発明の電子楽器制御装置は、スライド式ボリューム
(フェーダ)でMIDIのボリューム情報を出力する機
器において、送信側のモード変更や受信側での操作によ
って実際の音量とフェーダの位置が変わってしまった時
などに対処するための機能に関する。
(10) Tenth invention An electronic musical instrument control apparatus according to the present invention is a device for outputting MIDI volume information by means of a slide-type volume (fader). It is related to the function to deal with the case where the volume and the position of the fader have changed.

【0254】この機能は、本電子楽器制御装置に電源を
投入した直後、又はマニュアルモード以外のモードから
マニュアルモードへ移った直後に実施することにより、
電源投入前の、又はマニュアルモードへ移る前のフェー
ダの位置に相当するMIDIボリューム情報が出力され
る。
This function is implemented immediately after the electronic musical instrument controller is turned on or immediately after the mode is shifted from a mode other than the manual mode to the manual mode.
MIDI volume information corresponding to the fader position before the power is turned on or before shifting to the manual mode is output.

【0255】先ず、本発明のセンドフェーダポジション
機能を実行するにあたって、モードセレクトキー28の
MANUALスイッチを押下する。以降は、第48図のモード
変更処理概略フローに従って処理される。モード変更処
理ルーチンでは、既に説明したように、M_F_Rのマ
ニュアルモードに対応するビットを「1」にセットし、
残りのビットを「0」にクリアする。
First, when executing the send fader position function of the present invention, the mode select key 28
Press the MANUAL switch. Thereafter, the processing is performed according to the schematic flow of the mode change processing in FIG. In the mode change processing routine, the bit corresponding to the manual mode of M_F_R is set to “1” as described above,
Clear the remaining bits to "0".

【0256】次いで、センドフェーダポジションキー3
0が押下されることにより、第27図に示したスイッチ
イベント処理概略フローに従って処理が行われる。セン
ドフェーダポジションキー30は、全モードに渡って同
じ機能であるので(該機能が働くか否かの相違はあ
る)、ステップS272、273は、本実施例では関係
しない。ステップS274の中で、センドフェーダポジ
ションキー30に対する処理が行われることになる。
Next, send fader position key 3
When 0 is pressed, processing is performed according to the switch event processing schematic flow shown in FIG. Since the send fader position key 30 has the same function in all modes (there is a difference whether or not the function works), steps S272 and S273 are irrelevant in this embodiment. In step S274, processing for the send fader position key 30 is performed.

【0257】次に、センドフェーダポジションキー処理
について、第82図のフローチャートを参照しながら説
明する。この処理では、先ず、SFP実行レジスタ(S
FPR)とM_F_Rの論理積をとり、結果がゼロであ
るか否かが調べられる(ステップS821)。ここで、
SFP実行レジスタは、データメモリ8に固定データと
して持っているものであり、各ビットはモードに対応し
ているセンドフェーダポジションキーが有効なモードに
対応するビットは「1」、無効なビットは「0」になっ
ている。M_F_Rは、現在のモードに対応するビット
のみが「1」になっているので、この2つのレジスタの
論理積をとった結果がゼロでなければ、センドフェーダ
ポジションキーが有効であるということになる。
Next, the send fader position key processing will be described with reference to the flowchart in FIG. In this process, first, the SFP execution register (S
FPR) is multiplied with M_F_R, and it is checked whether or not the result is zero (step S821). here,
The SFP execution register is held in the data memory 8 as fixed data, and each bit is "1" for a bit corresponding to a mode in which the send fader position key corresponding to the mode is valid, and "1" for an invalid bit. 0 ". In M_F_R, since only the bit corresponding to the current mode is “1”, if the result of ANDing these two registers is not zero, the send fader position key is valid. .

【0258】ここで、結果がゼロでないことが判断され
ると、F_E_Fの全ビットを「1」にセットする(ス
テップS822)。このF_E_Fは、次のボリューム
フェーダ(VOLUME FADER)処理ルーチンで使用される。
If it is determined that the result is not zero, all bits of F_E_F are set to “1” (step S822). This F_E_F is used in the next volume fader (VOLUME FADER) processing routine.

【0259】次いで、ボリュームフェーダ(VOLUME FAD
ER)処理ルーチンがコールされる(ステップS82
3)。このボリュームフェーダ処理ルーチンは、第1の
発明の項で既に説明したように、F_E_Fの「1」が
セットされているビットに対応するチャネルについて、
V_D_Bに記憶されているボリュームデータを読み出
してMIDIボリュームメッセージを生成し、IBに書
き込む処理を行うものである。
Next, the volume fader (VOLUME FAD)
ER) Processing routine is called (step S82)
3). As described in the first aspect of the present invention, this volume fader processing routine performs the following for the channel corresponding to the bit of F_E_F in which “1” is set.
The volume data stored in V_D_B is read, a MIDI volume message is generated, and a process of writing the generated volume message to IB is performed.

【0260】このセンドフェーダポジション処理におい
ては、F_E_Fの全ビットが「1」がセットされてい
るので、全チャネルについて、現在のフェーダの位置に
対応したボリューム値を有するメッセージが生成される
ことになる。このようにしてIBに作成されたメッセー
ジは、内部MIDIイベント処理ルーチン(第21図)
により、外部機器へ出力される。
In the send fader position processing, since all bits of F_E_F are set to “1”, a message having a volume value corresponding to the current fader position is generated for all channels. . The message created in the IB in this way is sent to the internal MIDI event processing routine (FIG. 21).
Is output to an external device.

【0261】この内部MIDIイベント処理ルーチン
は、メインルーチン(第20図)によりコールされて起
動されるものである。
The internal MIDI event processing routine is called and activated by a main routine (FIG. 20).

【0262】この内部MIDIイベント処理ルーチンで
は、先ず、IBにデータが存在するか否かが調べられ
(ステップS2101)、データが存在することが判断
されると、IBからデータを読み込む(ステップS21
02)。そして、読み込んだデータがステータスバイト
であるか否かを調べ(ステップSステップS210
3)、ステータスバイトであればPTBに格納する(ス
テップS2104)。次いで、ステータスが「F0H
であるか否か、つまりシステムエクスクルーシブである
か否かを調べ(ステップS2105)、「F0H 」であ
ればエクスクルーシブメッセージを読み出してPTBへ
書き込む(ステップS2106)。そして、1メッセー
ジか確定したか否かを調べ(ステップS2107)、1
メッセージが確定するまでステップS2106、S21
07を繰り返し実行する。
In this internal MIDI event processing routine, first, it is checked whether or not data exists in the IB (step S2101). If it is determined that data exists, the data is read from the IB (step S21).
02). Then, it is checked whether the read data is a status byte (step S210).
3) If it is a status byte, it is stored in the PTB (step S2104). Subsequently, the status is "F0 H"
, That is, whether it is system exclusive (step S2105). If “F0 H ”, the exclusive message is read and written to the PTB (step S2106). Then, it is determined whether or not one message has been determined (step S2107).
Steps S2106 and S21 until the message is determined
07 is repeatedly executed.

【0263】一方、ステップS2103で読み込んだデ
ータがステータスデータでないことが判断され、又は、
ステップS2105でステータスが「F0H 」でないこ
とが判断されると、IBからデータバイトを読み出して
PTBへ書き込む(ステップS2108)。そして、1
メッセージか確定したか否かを調べ(ステップS210
9)、1メッセージが確定するまでステップS210
8、S2109を繰り返し実行する。
On the other hand, it is determined that the data read in step S2103 is not status data, or
Step S2105 the status is determined to be not "F0 H", written data is read bytes from the IB to PTB (step S2108). And 1
It is checked whether the message is determined (step S210)
9) Step S210 until one message is determined
8, S2109 is repeatedly executed.

【0264】このようにして1メッセージが確定する
と、セパレート判断処理が行われる(ステップS211
0)。即ち、SP_Fを参照し、第3の発明の項で第8
図を参照して説明したように、セパレート処理が行われ
る。即ち、チャネルセパレートフラグがセットされてい
ればチャネルセパレート処理を行い(ステップS211
1)、オッド/イーブンフラグがセットされていればオ
ッド/イーブンセパレート処理を行い(ステップS21
12)、ノートナンバーフラグがセットされていればノ
ートナンバーセパレート処理を行い(ステップS211
3)、ベロシティフラグがセットされていればベロシテ
ィセパレート処理を行い(ステップS2114)、リア
ルタイムフラグがセットされていればリアルタイムセパ
レート処理を行う(ステップS2115)。上記各処理
の詳細については、第3〜7の発明の項で既に説明した
ので、ここでは説明を省略する。
When one message is determined in this way, a separate determination process is performed (step S211).
0). That is, referring to SP_F, the eighth aspect of the third invention
As described with reference to the drawing, the separation process is performed. That is, if the channel separation flag is set, the channel separation processing is performed (step S211).
1) If the odd / even flag is set, odd / even separate processing is performed (step S21)
12) If the note number flag is set, a note number separating process is performed (step S211).
3) If the velocity flag is set, the velocity separation processing is performed (step S2114), and if the real time flag is set, the real time separation processing is performed (step S2115). The details of each of the above processes have already been described in the third to seventh aspects of the present invention, and a description thereof will be omitted.

【0265】上記いずれのフラグもセットされていなけ
れば、TB0_OPがコールされ(ステップS211
6)、TB0への1メッセージの格納が行われ、次い
で、TB1_OPがコールされ(ステップS211
7)、TB1への1メッセージの格納が行われる。な
お、上記ステップS2111〜2115の各処理では、
それぞれの処理ルーチンの内部でTB0_OP、TB1
_OPがコールされる。
If none of the above flags are set, TB0_OP is called (step S211).
6), one message is stored in TB0, and then TB1_OP is called (step S211).
7), one message is stored in TB1. In addition, in each process of the above-mentioned steps S211 to 2115,
TB0_OP, TB1 inside each processing routine
_OP is called.

【0266】以上の処理により、センドフェーダポジシ
ョンキー30が押下されたとき、そのモードでセンドフ
ェーダポジションキー30が有効であれば、全16チャ
ネル分のMIDIボリュームメッセージが出力端子OU
T1又はOUT2から出力されることになる。
According to the above processing, when the send fader position key 30 is pressed, if the send fader position key 30 is valid in that mode, a MIDI volume message for all 16 channels is output to the output terminal OU.
It will be output from T1 or OUT2.

【0267】以上説明したように、この実施例によれ
ば、センドフェーダポジションキーを押下するだけで、
その時点でフェーダの位置に対応したボリュームを出力
する。このような構成においては、ずれているなと思っ
たとき、スイッチを一回押せばよい。これにより、IN
C,DECキーを用いてボリューム値を変更したことに
伴うフェーダと、表示値、実際の値とのずれを取り消す
ことができる。
As described above, according to this embodiment, only by pressing the send fader position key,
At that time, the volume corresponding to the fader position is output. In such a configuration, the switch may be pressed once when it is deemed to be out of place. As a result, IN
It is possible to cancel the difference between the fader, the display value, and the actual value caused by changing the volume value using the C and DEC keys.

【0268】また、モード変更した先でフェーダを動か
し、また、元のモードに戻った時のフェーダと表示値、
実際の値のずれを取り消すことができる。また、外部音
源に接続した直後のフェーダと、表示値、実際の値との
ずれを修正することができる。
Also, the fader is moved at the destination where the mode has been changed, and the fader and display value when returning to the original mode,
The deviation of the actual value can be canceled. Further, it is possible to correct a difference between a fader immediately after connection to an external sound source, a display value, and an actual value.

【0269】また、外部音源がプログラムチェンジを受
けると、ボリューム情報を出力するような場合におい
て、プログラムチェンジを受けて、フェーダと、表示
値、実際の値がずれたときに、その修正に使うことがで
きる。
When the external tone generator receives a program change, it outputs volume information. In the case where a program change is received, when a fader, a displayed value, and an actual value are deviated, it is used to correct it. Can be.

【0270】また、曲の途中でタイミングを合わせてス
イッチを押すことにより、ボリュームを急激に変化させ
ることもできる。なお、この実施例は、16チャンネル
分のボリュームとメインボリューム全てを出力する場合
だけでなく、単チャンネルや数チャンネル分のボリュー
ム、あるいはメインボリュームのみを出力する場合にも
適用することができる。
[0270] The volume can also be rapidly changed by pressing the switch at the same time during the music. This embodiment can be applied not only to the case of outputting the volume of 16 channels and the entire main volume, but also to the case of outputting the volume of a single channel, several channels, or only the main volume.

【0271】また、外部にボリューム情報を出力する場
合だけでなく、自装置内に音源その他を有し、その音量
を変化させる場合にも適用することができる。また、ボ
リューム情報だけでなく、他のMIDI信号(例えばパ
ンポット信号)、あるいはMIDI信号以外の信号を制
御する場合にも適用することができる。また、スライド
式ボリュームだけでなく、回転式その他のボリュームを
使用する場合にも適用することができる。
The present invention can be applied not only to a case where volume information is output to the outside, but also to a case where a sound source or the like is provided in the apparatus itself and its volume is changed. Further, the present invention can be applied to a case where not only volume information but also other MIDI signals (for example, panpot signals) or signals other than MIDI signals are controlled. In addition, the present invention can be applied to a case where not only a slide type volume but also a rotary type or other volume is used.

【0272】(11)第11の発明 この発明は、MIDIの複数チャンネルのボリュームを
コントロールする(ミキサー)モードを含む複数のモー
ドを持ち、他モードでも有効なマスターボリュームを持
つMIDI機器において、ミキサーモード以外のモード
でのボリューム情報を保持するボリューム情報保持装置
としての電子楽器制御装置に関する。
(11) Eleventh Invention The present invention relates to a MIDI device having a plurality of modes including a (mixer) mode for controlling the volume of a plurality of MIDI channels, and having a master volume effective in other modes. The present invention relates to an electronic musical instrument control device as a volume information holding device for holding volume information in a mode other than the above.

【0273】以下、この発明の実施例につき、第22図
のフローチャートを参照しながら説明する。先ず、通常
のフェーダによるボリュームの変更処理について説明す
る。スイッチイベントがあると、先ず、フェーダイベン
トがあったか否かが調べられる(ステップS220
1)。そして、フェーダイベントがあったことが判断さ
れると、該イベントはフェーダナンバー1〜16のイベ
ントであるか否かが調べられる(ステップS220
2)。
Hereinafter, an embodiment of the present invention will be described with reference to the flowchart of FIG. First, a description will be given of a volume changing process by a normal fader. If there is a switch event, it is first checked whether a fader event has occurred (step S220).
1). If it is determined that a fader event has occurred, it is checked whether the event is an event of fader numbers 1 to 16 (step S220).
2).

【0274】ここで、フェーダナンバー1〜16のイベ
ントであることが判断されるとモード判断が行われる
(ステップS2203)。このモード判断で、ボリュー
ムを変更するモード(Volume Fader、Setup、Channel d
ata Fader)であることが判断されると、以下のように
処理される。例えば、ボリュームフェーダ(Volume Fad
er)モードであれば、表示変更サブルーチンがコールさ
れ(ステップS2218)、ディスプレイ22のボリュ
ーム値を示す表示が変更される。
Here, when it is determined that the event is the event of the fader number 1 to 16, the mode is determined (step S2203). The mode for changing the volume (Volume Fader, Setup, Channel d)
Ata Fader) is processed as follows. For example, Volume Fader
In the er) mode, the display change subroutine is called (step S2218), and the display indicating the volume value on the display 22 is changed.

【0275】第83図に、表示例を示す。第83図にお
いて、1)はカーソル位置(カーソルは、フェーダに変化
があると、その変化があったフェーダに対応するチャネ
ルの位置に移動する)のボリューム値、2)は各チャネル
のボリューム値の概略値を示している。
FIG. 83 shows a display example. In FIG. 83, 1) is the volume value of the cursor position (when the fader changes, the cursor moves to the position of the channel corresponding to the changed fader), and 2) is the volume value of each channel. The approximate values are shown.

【0276】次いで、変更のあったフェーダに対応する
F_D_Bのエリアにフェーダのデータを書き込む(ス
テップS2219)。次いで、上記ステップS2219
で書き込んだデータとF_D_Bのフェーダナンバー1
7に対応するエリアに記憶されているデータを乗算し、
その結果を変更のあったフェーダに対応するV_D_B
のエリアに書き込む(ステップS2220)。
Next, fader data is written in the F_D_B area corresponding to the changed fader (step S2219). Next, the above step S2219
And F_D_B fader number 1
Multiply by the data stored in the area corresponding to 7,
V_D_B corresponding to the changed fader
(Step S2220).

【0277】次いで、変更のあったフェーダに対応する
F_E_Fのビットに「1」を書き込む(ステップS2
221)。次いで、ボリュームフェーダ(VOLUME
FADER)処理ルーチンをコールし(ステップS2
222)、その後、この処理ルーチンからリターンす
る。
Next, "1" is written to the F_E_F bit corresponding to the changed fader (step S2).
221). Next, the volume fader (VOLUME
FADER) processing routine is called (step S2).
222) Then, the process returns from this processing routine.

【0278】ボリュームフェーダ処理ルーチン(第25
図)は、第1の発明の項で既に説明したように、F_E
_Fの「1」がセットされているビットに対応するチャ
ネルについて、V_D_Bに記憶されているボリューム
データを読み出してMIDIボリュームメッセージを生
成し、IBに書き込む処理を行うものである。
Volume fader processing routine (25th
Fig.) Is F_E as described in the section of the first invention.
For a channel corresponding to a bit in which _F is set to “1”, a process of reading volume data stored in V_D_B to generate a MIDI volume message and writing it to IB is performed.

【0279】このセンドフェーダポジション処理におい
ては、変更のあったフェーダに対応するF_E_Fのビ
ットが「1」がセットされているので、そのチャネルに
ついて、現在のフェーダの位置に対応したボリューム値
を有するメッセージが生成されることになる。このよう
にしてIBに作成されたメッセージは、既に説明したよ
うに、内部MIDIイベント処理ルーチン(第21図)
により、外部機器へ出力される。
In the send fader position processing, since the bit of F_E_F corresponding to the changed fader is set to “1”, a message having a volume value corresponding to the current fader position for that channel is set. Is generated. The message created in the IB in this manner is, as described above, an internal MIDI event processing routine (FIG. 21).
Is output to an external device.

【0280】次に、この発明の特徴に直接関係するマス
ターボリュームによるボリューム変更処理について説明
する。即ち、ステップS2202において、イベントが
あったフェーダがフェーダナンバー17であることが判
断されると、フェーダナンバー17の値をF_D_Bの
対応するエリアに書き込み(ステップS2224)、次
いで、このフェーダナンバー17の値と、フェーダナン
バー1〜16に対応するF_D_Bのエリアに書き込ま
れているデータとを乗算し、結果をフェーダナンバー1
〜16に対応するV_D_Bのエリアにそれぞれ書き込
む(ステップS2225)。
Next, a description will be given of a volume change process by a master volume directly related to the features of the present invention. That is, if it is determined in step S2202 that the fader having the event is the fader number 17, the value of the fader number 17 is written in the corresponding area of F_D_B (step S2224), and then the value of the fader number 17 is written. And the data written in the F_D_B areas corresponding to the fader numbers 1 to 16, and multiplying the result by the fader number 1
Write to the V_D_B areas corresponding to 1616 (step S2225).

【0281】このステップS2225の処理により、フ
ェーダナンバー1〜16の全てにイベントが発生したと
同様の状態を生じるので、F_E_Fの全ビットを
「1」ににットし(ステップS2226)、ボリューム
フェーダ(VOLUME FADER)処理ルーチンを
コールし(ステップS2222)、その後、この処理ル
ーチンからリターンする。
By the processing in step S2225, the same state as when an event has occurred in all of the fader numbers 1 to 16 occurs. Therefore, all bits of F_E_F are set to “1” (step S2226), and the volume fader is set. A (VOLUME FADER) processing routine is called (step S2222), and thereafter, the processing returns from this processing routine.

【0282】これにより、全チャネルについて、現在の
フェーダの位置に対応したボリューム値を有するメッセ
ージがIBに生成され、IBに作成されたメッセージ
は、内部MIDIイベント処理ルーチン(第21図)に
より、外部機器へ出力される。
As a result, for all channels, a message having a volume value corresponding to the current fader position is generated in the IB, and the message created in the IB is transmitted to the external MIDI event processing routine (FIG. 21). Output to the device.

【0283】以上のように、F_D_Bに各チャネルの
ボリューム情報が記憶されているので、他モードにおい
てもこれを参照することは可能である。したがって、マ
スターボリューム(フェーダナンバー17)を操作した
際に、モードの如何にかかわらず、マスターボリューム
の変更分に応じてF_D_Bに全16チャネルのボリュ
ーム情報に変更を加え、且つ、全16チャネルにフェー
ダイベントがあったと擬制することにより、ボリューム
変更を行わないモードにおいても、ボリュームバランス
を保ったまま音量を変更することができる。
As described above, since the volume information of each channel is stored in F_D_B, it is possible to refer to this in other modes. Therefore, when the master volume (fader number 17) is operated, regardless of the mode, the volume information of all 16 channels is changed in F_D_B according to the change of the master volume, and the fader is changed to all 16 channels. By simulating that an event has occurred, the volume can be changed while maintaining the volume balance even in a mode in which the volume is not changed.

【0284】すなわち、この実施例は、ボリュームモー
ド時のフェーダ位置を、記憶手段に記憶しておき、他モ
ードでも有効なマスターボリュームは、これを参照して
それぞれの位置からボリューム値を計算し、これをMI
DI出力するようにしたものである。これにより、ボリ
ュームモード以外のモード中でも、マスターボリューム
は、ボリュームバランスを保ったまま有効となる。
That is, in this embodiment, the fader position in the volume mode is stored in the storage means, and the master volume valid in other modes is referred to to calculate the volume value from each position, and This is MI
DI output is performed. As a result, even in modes other than the volume mode, the master volume is effective while maintaining the volume balance.

【0285】(12)第12の発明 この発明は、MIDIのエクスクルーシブデータを送信
することができるだけでなく、このエクスクルーシブデ
ータを作成することもできるエクスクルーシブ編集装置
としての電子楽器制御装置に関する。
(12) Twelfth Invention The present invention relates to an electronic musical instrument control device as an exclusive editing device capable of not only transmitting MIDI exclusive data but also creating the exclusive data.

【0286】具体的に説明すると、このエクスクルーシ
ブ編集装置には、エクスクルーシブデータを出力するエ
クスクルーシブモードと、エクスクルーシブデータの作
成を行うエクスクルーシブエディットモードがある。こ
のエクスクルーシブエディットモードは、モードセレク
トキー28のエクスクルーシブエディット(EXCLUSIVEE
DIT)キーを押すことにより設定される。
More specifically, the exclusive editing apparatus has an exclusive mode for outputting exclusive data and an exclusive edit mode for creating exclusive data. In this exclusive edit mode, the exclusive select (EXCLUSIVEE
It is set by pressing the (DIT) key.

【0287】エクスクルーシブデータは、フェーダ16
本のそれぞれに1つづつ対応させ、16個で1まとまり
のパッチとなっている。また、全部で16のパッチがあ
る。以下の説明では、1つのエクスクルーシブデータ
は、ステータス「F0H 」と「F7H 」を除いて、16
バイト以内としている。これを16×2のLCDで構成
されるディスプレイ22表現する。
Exclusive data is stored in fader 16
One book is associated with each book, and a set of 16 patches is provided. There are a total of 16 patches. In the following description, one of exclusive data, with the exception status as "F0 H" to "F7 H", 16
It is within bytes. This is represented by a display 22 composed of a 16 × 2 LCD.

【0288】第61図はエクスクルーシブエディットモ
ードの画面例である。図において、1)がエクスクルーシ
ブネームであり、2)がカーソル位置であり、3)がエクス
クルーシブデータである。第62図は、第2図に示した
操作パネルのうち、エクスクルーシブエディットに関係
するキーを示したものである。
FIG. 61 shows an example of a screen in the exclusive edit mode. In the figure, 1) is an exclusive name, 2) is a cursor position, and 3) is exclusive data. FIG. 62 shows keys related to exclusive editing in the operation panel shown in FIG.

【0289】第61図の3)に示すエクスクルーシブデー
タを入力する際は、テンキー26を用いて、カーソルの
ある位置にバイト単位で入力する。この場合、16進数
のA〜Fは、SHIFTキー25を押下しながらテンキ
ー26を押下することにより入力することができる。S
HIFTキー25とテンキー26の「7」で♯♯が入力
されるが、これは、エクスクルーシブ可変バイトを表し
ている。
When inputting the exclusive data shown in 3) of FIG. 61, the data is input in byte units at the position where the cursor is located, using the numeric keypad 26. In this case, hexadecimal numbers A to F can be input by pressing the numeric key 26 while pressing the SHIFT key 25. S
♯♯ is input by the HIFT key 25 and “7” of the numeric keypad 26, which represents an exclusive variable byte.

【0290】エクスクルーシブモードでフェーダを動か
すと、フェーダの値がこのバイトに入力されて出力され
る。♯♯は1つのエクスクルーシブ中で1つしか入力す
ることができないようになっている。また、先頭にも入
力することができない。カーソルの移動はカーソルキー
31で行う。エクスクルーシブデータが6バイト以上だ
と、画面で表現することができないので、カーソルが端
まで行くと、スクロールするようになっている。
When the fader is moved in the exclusive mode, the value of the fader is input to this byte and output. @ Is such that only one can be input in one exclusive. Also, it cannot be entered at the beginning. The cursor is moved with the cursor key 31. If the exclusive data is more than 6 bytes, it cannot be represented on the screen. Therefore, when the cursor reaches the end, scrolling is performed.

【0291】INSERTキーを押すと、カーソルの位
置に1バイトの「00」が入力される。全体で16バイ
トになると、それ以上はインサートすることができな
い。DELETEキーを押すと、カーソルのあるバイト
が削除される。但し、「F0H」の次のバイト(先頭)
は削除することができない。これは、メーカIDがない
データを作らないようにするためである。WRITEキ
ーを押すと、エディットした内容が記憶される。この
際、ライトしたい先を変更すれば、コピーもすることが
できる。
When the INSERT key is pressed, 1-byte "00" is input at the position of the cursor. If the total length is 16 bytes, no more can be inserted. Pressing the DELETE key deletes the byte at the cursor. However, the byte following “F0 H ” (head)
Cannot be deleted. This is to prevent data without a maker ID from being created. When the WRITE key is pressed, the edited contents are stored. At this time, if the destination to be written is changed, copying can be performed.

【0292】第63図は、エクスクルーシブライトの画
面例である。図において、1)はパッチナンバー、2)はそ
のパッチの中の何番目にあるかを表している。カーソル
のある方にテンキー26で入力する。カーソルはカーソ
ルキー31で動かすことができる。ここから、YESキ
ーを押すと、SURE表示(第95図参照)になる。N
Oキーを押すと、元のエクスクルーシブエディットモー
ドに戻る。
FIG. 63 is an example of an exclusive light screen. In the figure, 1) indicates the patch number, and 2) indicates the order of the patch. An input is made using the numeric keypad 26 at the position where the cursor is located. The cursor can be moved with the cursor key 31. From here, if the YES key is pressed, the SURE display is displayed (see FIG. 95). N
Press the O key to return to the original exclusive edit mode.

【0293】SURE表示からもう一度YESキーを押
すと、ライトされ、エクスクルーシブモードに戻る。N
Oキーを押すと、エクスクルーシブライトモード(第6
3図)に戻る。ライトは、エクスクルーシブバンク1〜
4のパッチ(ユーザ用)にしかできない。他はプリセッ
トである。
When the YES key is pressed again from the SURE display, the data is written and the mode returns to the exclusive mode. N
When the O key is pressed, the exclusive light mode (6th
Return to FIG. 3). Lights are exclusive banks 1 to
Only for patch 4 (for users). Others are presets.

【0294】エクスクルーシブエディットキーを、例え
ば2回押すと、エクスクルーシブネーム(エディット)
モードに入る。ここでは、それぞれのエクスクルーシブ
データの名前をエディットすることができる。これはカ
ーソルキーと+,−キーで入力する。
When the exclusive edit key is pressed, for example, twice, an exclusive name (edit) is displayed.
Enter mode. Here, the name of each exclusive data can be edited. This is entered using the cursor keys and the + and-keys.

【0295】以下、この発明の実施例につき図面を参照
しながら詳細に説明する。 a)エクスクルーシブデータエディット
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. a) Exclusive data editing

【0296】先ず、モード変更が行われる。即ち、エク
スクルーシブエディット(EXCLUSIVE EDI
T)キーが押下されると、第48図に示すフローチャー
トにしがってモード変更処理が行われる。即ち、ステッ
プS483、S484において、M_F_Rのエクスク
ルーシブエディットモードに対応するビットに「1」を
セットし、他のビットをゼロにクリアする。次いで、ス
テップS485において、データ書込ポインタにエクス
クルーシブデータバッファEX_DBの先頭アドレスを
セットする。その後、表示変更を行う(ステップS48
6)。ここで表示される画面の一例を、第84図に示
す。図において、1)はEX_DBの1バイト目のデー
タ、2)はEX_DBの2バイト目のデータを示し、3)は
カーソルが何バイト目のデータの所にあるかを示し、4)
はエクスクルーシブネームバッファEX_NBに記憶さ
れているエクスクルーシブネームである。
First, the mode is changed. That is, exclusive edit (EXCLUSIVE EDI)
When the T) key is pressed, a mode change process is performed according to the flowchart shown in FIG. That is, in steps S483 and S484, "1" is set to the bit corresponding to the M_F_R exclusive edit mode, and the other bits are cleared to zero. Next, in step S485, the start address of the exclusive data buffer EX_DB is set in the data write pointer. Thereafter, the display is changed (step S48).
6). FIG. 84 shows an example of the screen displayed here. In the figure, 1) indicates the first byte data of EX_DB, 2) indicates the second byte data of EX_DB, 3) indicates the byte position of the cursor, and 4)
Is an exclusive name stored in the exclusive name buffer EX_NB.

【0297】次に、カーソル移動について説明する。カ
ーソルキー31が押下されると第32図に示すフローチ
ャートにしたがってカーソル移動処理が行われる。即
ち、ステップS323にて、カーソル位置の変更を行
い、位置データをCursorへ入力する。また、ステ
ップS324にて、そのデータを基にデータ書込ポイン
タに書き込みアドレスを入力する。第85図はカーソル
が次のバイトに移動された状態を示している。
Next, the cursor movement will be described. When the cursor key 31 is pressed, a cursor moving process is performed according to the flowchart shown in FIG. That is, in step S323, the cursor position is changed, and the position data is input to the Cursor. In step S324, a write address is input to a data write pointer based on the data. FIG. 85 shows a state where the cursor has been moved to the next byte.

【0298】次に、データ入力(1バイト)について説
明する。即ち、上記状態において、テンキー26が押下
されると、第41図のフローチャートに従ってエクスク
ルーシブエディット処理が行われる。データ入力はテン
キー26を用いて「0〜9」を、シフトキー25とテン
キー26とを用いて「A〜F」及び「##」を入力す
る。なお、「##」は、内部データとしては「FFH
となる。
Next, data input (1 byte) will be described. That is, when the numeric key 26 is depressed in the above state, an exclusive edit process is performed according to the flowchart of FIG. For data input, “0 to 9” is input using the ten keys 26, and “A to F” and “##” are input using the shift keys 25 and the ten keys 26. Note that “##” is “FF H ” as internal data.
Becomes

【0299】エクスクルーシブエディット処理において
は、先ず、スイッチイベントの有無が調べられ(ステッ
プS411)、イベントがあったことが判断されると、
モードがエクスクルーシブデータエディットであるか否
かが調べられる(ステップS412)。ここで、エクス
クルーシブデータエディットであることが判断される
と、データ更新であるか否かが調べられる(ステップS
413)。ここで、例えばテンキーの「4」が入力され
たとすると、データ更新であると判断され、入力データ
確定か否かが調べられる(ステップS414)。ここで
は、2桁(1バイト)入力でデータ確定と判断されるの
で、この場合はステップS416へ分岐し、入力された
データは書込バッファに書き込まれる。その後、この処
理ルーチンからリターンする。この際、ディスプレイ2
2の表示は、第86図に示すように変化する。
In the exclusive editing process, first, the presence / absence of a switch event is checked (step S411).
It is checked whether the mode is exclusive data edit (step S412). Here, if it is determined that the data is an exclusive data edit, it is checked whether or not the data is updated (Step S).
413). Here, for example, if the numeric keypad “4” is input, it is determined that the data is to be updated, and it is checked whether or not the input data is confirmed (step S414). Here, it is determined that data is determined by inputting two digits (1 byte). In this case, the process branches to step S416, and the input data is written to the write buffer. Then, the process returns from this processing routine. At this time, display 2
The display of 2 changes as shown in FIG.

【0300】同様にして、シフトキー25を押下しなが
らテンキーの「0」が押下されると、「A」が入力さ
れ、ステップS413ではデータ更新であると判断さ
れ、ステップS414では入力データ確定と判断されて
ステップS415へ進む。そして、確定データ「4A
H 」をデータ書込ポインタが示すアドレスへ書き込む。
この際、ディスプレイ22の表示は、第87図に示すよ
うに変化する。
Similarly, when the numeric keypad "0" is pressed while the shift key 25 is pressed, "A" is input, and it is determined in step S413 that the data is to be updated, and in step S414 it is determined that the input data is determined. Then, the process proceeds to step S415. Then, the final data “4A
H ”is written to the address indicated by the data write pointer.
At this time, the display on the display 22 changes as shown in FIG.

【0301】次に、第85図に示す状態から「+YES INS
ERTキー」(以下、「INCキー」という)が押下される
と、第42図に示すフローチャートに従ってINC
(データ挿入)処理が行われる。即ち、INCキーの入
力が確認されると、エクスクルーシブデータの最大デー
タ数分のデータが既に入力されているか否かを判断し、
データ書込ポインタが示すアドレス以降の15バイト目
までのデータを1バイトずつ後ろへシフトし、そのアド
レスへ「00H 」を入力する処理が行われる。
Next, from the state shown in FIG. 85, “+ YES INS”
When an "ERT key" (hereinafter referred to as "INC key") is pressed, INC
(Data insertion) processing is performed. That is, when the input of the INC key is confirmed, it is determined whether or not the maximum number of exclusive data has already been input.
The process of shifting the data up to the 15th byte after the address indicated by the data write pointer one byte at a time and inputting "00 H " to that address is performed.

【0302】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS421)、イベントがあっ
たことが判断されると、INCキーの押下であるか否か
が調べられる(ステップS422)。ここで、INCキ
ーの押下であることが判断されると、データは最大であ
るか否かが調べられる(ステップS423)。ここで、
データが最大、つまり16バイト目まで存在することが
判断されると、そのままこの処理ルーチンからリターン
し、最大でないことが判断されると、カーソルの現在位
置以降15バイト目までのデータを1バイト後ろにシフ
トし、現在位置に「00H 」を書き込む(ステップS4
24)。その後、この処理ルーチンからリターンする。
この際、ディスプレイ22の表示は、第88図に示すよ
うに変化する。
In this process, first, the presence / absence of a switch event is checked (step S421). When it is determined that an event has occurred, it is checked whether the INC key has been pressed (step S422). Here, when it is determined that the INC key is pressed, it is checked whether the data is the maximum (step S423). here,
If it is determined that the data exists at the maximum, that is, up to the 16th byte, the process returns from this processing routine. If it is determined that the data is not the maximum, the data up to the 15th byte after the current position of the cursor is shifted by one byte. And write “00 H ” at the current position (step S 4).
24). Then, the process returns from this processing routine.
At this time, the display on the display 22 changes as shown in FIG.

【0303】次に、第85図に示す状態から「− NO
DELETEキー」(以下、「DECキー」という)
が押下されると、第43図に示すフローチャートに従っ
てDEC(データ削除)処理が行われる。
Next, from the state shown in FIG. 85, "-NO
DELETE key "(hereinafter referred to as" DEC key ")
Is pressed, DEC (data deletion) processing is performed according to the flowchart shown in FIG.

【0304】この処理では、先ず、スイッチイベントの
有無が調べられ(ステップS431)、イベントがあっ
たことが判断されると、DECキーの押下であるか否か
が調べられる(ステップS432)。ここで、DECキ
ーの押下であることが判断されると、カーソルは1バイ
ト目にあるか否かが調べられる(ステップS433)。
ここで、カーソルが1バイト目にあることが判断される
と、そのままこの処理ルーチンからリターンし、1バイ
ト目にないとが判断されると、カーソルの現在位置のデ
ータを削除し、以後16バイト目までのデータを1バイ
ト前にシフトし、16バイト目にはダミーエリアからデ
ータ「FEH 」をロードする(ステップS424)。そ
の後、この処理ルーチンからリターンする。データ「F
H 」は、エクスクルーシブデータの終了を意味し、M
IDI出力も表示も行われない。
In this process, first, the presence or absence of a switch event is checked (step S431). When it is determined that an event has occurred, it is checked whether or not the DEC key has been pressed (step S432). Here, if it is determined that the DEC key has been pressed, it is checked whether the cursor is at the first byte (step S433).
If it is determined that the cursor is located at the first byte, the process returns from this processing routine. If it is determined that the cursor is not located at the first byte, the data at the current position of the cursor is deleted. The data up to the first byte is shifted by one byte, and the data “FE H ” is loaded from the dummy area into the 16th byte (step S424). Then, the process returns from this processing routine. Data "F
“E H ” means the end of exclusive data, and M
No IDI output or display is performed.

【0305】MIDI出力データと、内部データと表示
の関係を以下に示す。 MIDI出力データ: 「F0 40 01 02 03 04 05 06 07 7F F7」 内部データ(16バイト) 「40 01 02 03 04 05 06 07 FF FE FE FE FE FE FE FE
」 また、この際、ディスプレイ22の表示は、第89図に
示すように変化する。さらにカーソルを移動して次の画
面にスクロールさせると、第90図に示すように変化す
る。この図において、「##」、内部データの「FF
H 」に相当しており、バリュー(フェーダの位置)を入
れるべきことを示している。
The relationship between MIDI output data, internal data and display is shown below. MIDI output data: “F0 40 01 02 03 04 05 06 07 7F F7” Internal data (16 bytes) “40 01 02 03 04 05 06 07 FF FE FE FE FE FE FE FE FE
At this time, the display on the display 22 changes as shown in FIG. 89. When the cursor is further moved to scroll to the next screen, the screen changes as shown in FIG. In this figure, “##” and the internal data “FF”
H ", indicating that a value (fader position) should be entered.

【0306】(b)エクスクルーシブネームエディット 先ず、モード変更が行われる。即ち、エクスクルーシブ
エディットモードにおいて、エクスクルーシブエディッ
ト(EXCLUSIVE EDIT)キーが押下されると、第48図に
示すフローチャートにしがってモード変更処理が行わ
れ、エクスクルーシブネームエディットモードとなる。
即ち、ステップS483、S484において、M_F_
Rのエクスクルーシブネームエディットモードに対応す
るビットに「1」をセットし、他のビットをゼロにクリ
アする。次いで、ステップS485において、データ書
込ポインタにエクスクルーシブネームバッファEX_N
Bの先頭アドレスをセットする。その後、表示変更を行
う(ステップS486)。ここで表示される画面の一例
を、第91図に示す。図において、1)はEX_NBの1
バイト目のデータ、2)はEX_NBの2バイト目のデー
タをアスキーコードに変換して示してる。
(B) Exclusive name edit First, the mode is changed. That is, when the exclusive edit (EXCLUSIVE EDIT) key is pressed in the exclusive edit mode, the mode is changed according to the flowchart shown in FIG. 48, and the mode is changed to the exclusive name edit mode.
That is, in steps S483 and S484, M_F_
The bit corresponding to the exclusive name edit mode of R is set to “1”, and the other bits are cleared to zero. Next, in step S485, an exclusive name buffer EX_N is added to the data write pointer.
Set the start address of B. Thereafter, the display is changed (step S486). FIG. 91 shows an example of the screen displayed here. In the figure, 1) is EX_NB 1
The data in the second byte, 2), is obtained by converting the data in the second byte of EX_NB into an ASCII code.

【0307】次に、カーソル移動について説明する。カ
ーソルキー31が押下されると第32図に示すフローチ
ャートにしたがってカーソル移動処理が行われる。即
ち、ステップS323にて、カーソル位置の変更を行
い、位置データをCursorへ入力する。また、ステ
ップS324にて、そのデータを基にデータ書込ポイン
タに書き込みアドレスを入力する。
Next, the cursor movement will be described. When the cursor key 31 is pressed, a cursor moving process is performed according to the flowchart shown in FIG. That is, in step S323, the cursor position is changed, and the position data is input to the Cursor. In step S324, a write address is input to a data write pointer based on the data.

【0308】次に、データ入力について説明する。即
ち、上記状態において、キー入力があると、第44図の
フローチャートに従ってエクスクルーシブエディット処
理中のエクスクルーシブネームエディット処理が行われ
る。
Next, data input will be described. That is, in the above state, if there is a key input, the exclusive name edit processing during the exclusive edit processing is performed according to the flowchart of FIG.

【0309】エクスクルーシブネームエディット処理に
おいては、先ず、スイッチイベントの有無が調べられ
(ステップS441)、イベントがあったことが判断さ
れると、モードがエクスクルーシブネームエディットで
あるか否かが調べられる(ステップS442)。ここ
で、エクスクルーシブネームエディットであることが判
断されると、INCキー又はDECキーの何れかが押さ
れたか否かが調べられる(ステップS443)。ここ
で、INCキー又はDECキーの何れかが押されたこと
が判断されると、INCキーであるか否かが調べられ、
INCキーであることが判断されると、データ書込ポイ
ンタが示すアドレスの値を「+1」し(ステップS44
5)、その後、この処理ルーチンからリターンする。こ
の際、ディスプレイ22の表示は、第92図に示すよう
に変化する。
In the exclusive name edit processing, first, the presence or absence of a switch event is checked (step S441). When it is determined that an event has occurred, it is checked whether or not the mode is exclusive name edit (step S441). S442). Here, if it is determined that it is an exclusive name edit, it is checked whether any one of the INC key and the DEC key is pressed (step S443). Here, when it is determined that either the INC key or the DEC key has been pressed, it is determined whether or not the key is the INC key.
If it is determined that the key is the INC key, the value of the address indicated by the data write pointer is incremented by "+1" (step S44).
5) Then, return from this processing routine. At this time, the display on the display 22 changes as shown in FIG.

【0310】一方、INCキーでない、つまりDECキ
ーであることが判断されると、データ書込ポインタが示
すアドレスの値を「−1」し(ステップS445)、そ
の後、この処理ルーチンからリターンする。この際、デ
ィスプレイ22の表示は、第93図に示すように変化す
On the other hand, if it is determined that the key is not the INC key, that is, the key is the DEC key, the value of the address indicated by the data write pointer is set to "-1" (step S445), and thereafter, the process returns from this processing routine. At this time, the display on the display 22 changes as shown in FIG.

【0311】c)データメモリへの書込アドレスの設定 先ず、モード変更が行われる。即ち、ライト(WRIT
E)キー24が押下されると、第48図に示すフローチ
ャートにしがってモード変更処理が行われる。同図のス
テップS483のモード変更処理の詳細を第45図のエ
クスクルーシブエディット処理中のライト処理1に示
す。即ち、先ず、スイッチイベントがあるか否かを判断
し(ステップS451)、イベントがあったことが判断
されると、モードはエクスクルーシブエディットである
か否かが調べられ(ステップS452)、エクスクルー
シブエディットであると判断されると、ライト(WRI
TE)キー24が押下されたか否かが調べられる(ステ
ップS453)。
C) Setting of Write Address in Data Memory First, the mode is changed. That is, light (WRIT
E) When the key 24 is pressed, a mode change process is performed according to the flowchart shown in FIG. Details of the mode change processing in step S483 of FIG. 47 are shown in write processing 1 during the exclusive edit processing of FIG. That is, first, it is determined whether or not there is a switch event (step S451). When it is determined that there is an event, it is checked whether or not the mode is exclusive edit (step S452). If it is determined that there is a light (WRI
It is checked whether the (TE) key 24 has been pressed (step S453).

【0312】ここでライトキー24が押下されたことが
判断されると、現在のモードをエクスクルーシブライト
モードへ変更し(ステップS454)、その後このルー
チンからリターンする。そして、第48図のステップS
484において、M_F_Rのエクスクルーシブライト
モードに対応するビットに「1」をセットし、他のビッ
トをゼロにクリアする。次いで、表示変更を行う(ステ
ップS486)。ここで表示される画面の一例を、第9
4図に示す。図において、1)はバンクナンバー、2)はフ
ェーダナンバーを示す。
If it is determined that the write key 24 has been pressed, the current mode is changed to the exclusive write mode (step S454), and the routine returns from this routine. Then, step S in FIG.
At 484, the bit corresponding to the exclusive write mode of M_F_R is set to "1" and the other bits are cleared to zero. Next, the display is changed (step S486). An example of the screen displayed here is the ninth screen.
It is shown in FIG. In the figure, 1) indicates a bank number, and 2) indicates a fader number.

【0313】次に、書込アドレスの指定について説明す
る。上記状態で、キー入力があれば、第48図に示すフ
ローチャートにしがってエクスクルーシブエディット処
理中のライト処理2が行われる。
Next, designation of a write address will be described. In this state, if there is a key input, the write process 2 during the exclusive edit process is performed according to the flowchart shown in FIG.

【0314】この処理では、先ず、スイッチイベントが
あるか否が調べられ(ステップS461)、イベントが
あったことが判断されると、モードはエクスクルーシブ
ライトであるか否かが調べられる(ステップS46
2)。ここでエクスクルーシブライトモードであること
が判断されると、INCキーが押下されたか否かが調べ
られる(ステップS463)。ここでINCキーが押下
されたことが判断されると、エクスクルーシブタイト待
期モードへモード変更を行い(ステップS464)、そ
の後、この処理ルーチンからリターンする。
In this processing, first, it is checked whether or not there is a switch event (step S461). When it is determined that there is an event, it is checked whether or not the mode is exclusive write (step S46).
2). If it is determined that the mode is the exclusive light mode, it is checked whether the INC key has been pressed (step S463). If it is determined that the INC key has been pressed, the mode is changed to the exclusive tight waiting mode (step S464), and thereafter, the process returns from this processing routine.

【0315】一方、ステップS463で、INCキーで
ないことが判断されると、DECキーであるか否かが調
べられる(ステップS465)。そして、DECキーで
あることが判断されると、エクスクルーシブエディット
モードへモード変更する(ステップS466)。このよ
うに、エクスクルーシブライトモードにおいて、INC
キー、DECキーの押下によりモード変更が可能となっ
ている。
On the other hand, if it is determined in step S463 that the key is not the INC key, it is checked whether the key is the DEC key (step S465). If it is determined that the key is the DEC key, the mode is changed to the exclusive edit mode (step S466). As described above, in the exclusive write mode, the INC
The mode can be changed by pressing the DEC key.

【0316】ステップS465でDECキーでもないこ
とが判断されると、テンキーが押下されたか否かが調べ
られる(ステップS467)。そして、テンキーが押下
されたことが判断されると、データロードポインタが示
すアドレス、つまりエクスクルーシブバンクナンバーE
X_BANK_NOエリアに入力されたデータを書き込
む(ステップS468)。これにより、バンクナンバー
が変更されることになる。
If it is determined in step S465 that the key is not the DEC key, it is checked whether the numeric key has been pressed (step S467). When it is determined that the numeric key is pressed, the address indicated by the data load pointer, that is, the exclusive bank number E
The input data is written in the X_BANK_NO area (step S468). As a result, the bank number is changed.

【0317】上記状態において、カーソルキーの入力が
あれば、第32図にしたがって処理が行われ、第94図
の2)の位置にカーソルを移動することができる。この状
態でテンキーによる入力を行うと、該データはフェーダ
ナンバーとして入力され、F_E_Fにその値を書き込
んだ後、バンクナンバー、フェーダナンバーの2つの値
から編集したエクスクルーシブデータを書き込むエリア
の先頭アドレスが算出され、データロードポインタに書
き込まれることになる。
In the above state, if there is an input of the cursor key, processing is performed according to FIG. 32, and the cursor can be moved to the position 2) in FIG. 94. In this state, if an input is performed using the numeric keypad, the data is input as a fader number, the value is written in F_E_F, and then the top address of the area in which the edited exclusive data is written is calculated from the two values of the bank number and the fader number. Is written to the data load pointer.

【0318】次に、データ書込について説明する。上述
したエクスクルーシブライト待期モードにおいて、IN
Cキーが押下されると、第47図に示したエクスクルー
シブエディット処理のライト処理3のフローチャートに
したがって処理が行われる。
Next, data writing will be described. In the exclusive light standby mode described above, IN
When the C key is pressed, the processing is performed according to the flowchart of the write processing 3 of the exclusive edit processing shown in FIG.

【0319】この処理では、先ず、スイッチイベントが
あるか否が調べられ(ステップS471)、イベントが
あったことが判断されると、モードはエクスクルーシブ
ライト待期モードであるか否かが調べられる(ステップ
S472)。ここでエクスクルーシブライト待期モード
であることが判断されると、INCキーが押下されたか
否かが調べられる(ステップS473)。ここでINC
キーが押下されたことが判断されると、エクスクルーシ
ブロードエリアの内容を、エクスクルーシブバンク1〜
4記憶エリア内の、データロードポインタで示されるア
ドレス以降へ転送し(ステップS474)。その後、こ
の処理ルーチンからリターンする。
In this process, first, it is checked whether or not there is a switch event (step S471). When it is determined that there is an event, it is checked whether or not the mode is the exclusive write standby mode (step S471). Step S472). Here, if it is determined that the exclusive light waiting mode is set, it is checked whether or not the INC key has been pressed (step S473). Where INC
When it is determined that the key is pressed, the contents of the exclusive load area are changed to exclusive banks 1 to 3.
The data is transferred to the address after the address indicated by the data load pointer in the four storage areas (step S474). Then, the process returns from this processing routine.

【0320】上記ステップS473でINCキーでない
ことが判断されると、DECキーであるか否かが調べら
れ(ステップS475)、DECキーであることが判断
されると、ライト処理2、つまりエクスクルーシブライ
トモードへモード変更し(ステップS476)、その
後、この処理ルーチンからリターンする。
If it is determined in step S473 that the key is not the INC key, it is checked whether the key is the DEC key (step S475). If it is determined that the key is the DEC key, write processing 2, ie, exclusive write, is performed. The mode is changed to the mode (step S476), and thereafter, the process returns from this processing routine.

【0321】以上説明したように、この実施例は、エク
スクルーシブ操作のモードとは別に、エクスクルーシブ
エディットのためのモードを設け、エクスクルーシブの
作成、変更、コピーなどを簡単に行うことができるよう
にしたものである。このような構成によれば、ライブラ
リに頼ることなく、マニュアルを見れば、エクスクルー
シブデータを容易に作成することができる。
As described above, in this embodiment, a mode for exclusive editing is provided in addition to the exclusive operation mode, so that exclusive creation, change, copy, etc. can be performed easily. It is. According to such a configuration, exclusive data can be easily created by referring to the manual without relying on the library.

【0322】また、エクスクルーシブデータを1つ作れ
ば、それをコピーして少し変更を加えることにより、同
じ機種ならたいていのエクスクルーシブデータを作成す
ることができる。また、プリセットのエクスクルーシブ
データをコピーし、それを加工して使うこともできる。
If one piece of exclusive data is created, it can be copied and slightly modified to create most exclusive data of the same model. It is also possible to copy the preset exclusive data and process it for use.

【0323】(13)第13の発明 この発明は、電子楽器の音色などのパラメータを設定す
るための操作性を向上させるための技術に関する。以
下、この発明の実施例につき図面を参照しながら詳細に
説明する。
(13) Thirteenth Invention The present invention relates to a technique for improving operability for setting parameters such as a tone color of an electronic musical instrument. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0324】a)モード変更 先ず、モード変更について説明する。モードセレクトキ
ー28のマニュアル(MANUAL)キーが押下される
と、第48図に示すフローチャートにしがってモード変
更処理が行われ、エクスクルーシブフェーダモードに変
更される。即ち、ステップS483、S484におい
て、M_F_Rのエクスクルーシブフェーダモードに対
応するビットに「1」をセットし、他のビットをゼロに
クリアする。次いで、ステップS485において、内部
生成データ読み出しポインタに、エクスクルーシブデー
タバッファEX_DBの先頭アドレスをセットする。
A) Mode Change First, the mode change will be described. When the manual (MANUAL) key of the mode select key 28 is depressed, the mode is changed according to the flowchart shown in FIG. 48, and the mode is changed to the exclusive fader mode. That is, in steps S483 and S484, "1" is set to the bit corresponding to the exclusive fader mode of M_F_R, and the other bits are cleared to zero. Next, in step S485, the start address of the exclusive data buffer EX_DB is set to the internally generated data read pointer.

【0325】その後、表示変更を行う(ステップS48
6)。ここで表示される画面の一例を、第96図に示
す。図において、1)はフェーダの概略値を示し、2)はカ
ーソル位置に対応するフェーダの値を示し、3)はエクス
クルーシブネームバッファEX_NBの内容を示す。第
96図は、EX_BANK_NOに「7」が書き込ま
れ、Cursorには「5」が書き込まれていた場合の
例を示す。
Thereafter, the display is changed (step S48).
6). FIG. 96 shows an example of the screen displayed here. In the figure, 1) shows the approximate value of the fader, 2) shows the value of the fader corresponding to the cursor position, and 3) shows the contents of the exclusive name buffer EX_NB. FIG. 96 shows an example in which “7” is written in EX_BANK_NO and “5” is written in Cursor.

【0326】(b)カーソル移動 次に、カーソル移動について説明する。カーソルキー3
1が押下されると第32図に示すフローチャートにした
がってカーソル移動処理が行われる。即ち、ステップS
323にて、カーソル位置の変更を行い、位置データを
Cursorへ入力する。また、ステップS324に
て、そのデータを基にデータ書込ポインタに書き込みア
ドレスを入力する。
(B) Cursor Movement Next, cursor movement will be described. Cursor key 3
When 1 is pressed, cursor movement processing is performed according to the flowchart shown in FIG. That is, step S
At 323, the cursor position is changed, and the position data is input to the Cursor. In step S324, a write address is input to a data write pointer based on the data.

【0327】第96図において、カーソルキー31(右
側)を1回押すと、カーソルはフェーダナンバー6を示
す位置に移動する。この場合、Cursorには「6」
が書き込まれる。
In FIG. 96, when the cursor key 31 (right side) is pressed once, the cursor moves to the position indicating the fader number 6. In this case, Cursor has "6"
Is written.

【0328】このカーソル移動が行われると、引き続い
て、第26図に示すエクスクルーシブデータ読出処理が
行われる。この処理では、先ず、スイッチイベントの有
無が調べられ(ステップS2601)、イベントがあっ
たことが判断されると、モードがエクスクルーシブフェ
ーダであるか否かが調べられる(ステップS260
2)。ここで、エクスクルーシブフェーダであることが
判断されると、バンクナンバーの切換であるか否かが調
べられる(ステップS2603)。ここでバンクナンバ
ーの切換であるか否かはテンキー入力があったか否かに
より判断される。ここでは、カーソル移動のイベントで
あるので、バンクナンバーの切換でないことを判断し、
ステップS2607へ分岐する。ステップS2607で
は、イベントがカーソル移動であるか否かが調べられる
(ステップS2606)。
When the cursor is moved, the exclusive data reading process shown in FIG. 26 is subsequently performed. In this process, first, the presence or absence of a switch event is checked (step S2601). When it is determined that an event has occurred, it is checked whether the mode is an exclusive fader (step S260).
2). Here, if it is determined that the fader is an exclusive fader, it is checked whether or not the bank number is switched (step S2603). Here, whether or not the bank number is switched is determined based on whether or not a ten-key input has been made. Here, since it is a cursor movement event, it is determined that the bank number is not switched, and
The flow branches to step S2607. In step S2607, it is checked whether or not the event is a cursor movement (step S2606).

【0329】そして、カーソル移動であることが判断さ
れると、ステップS2605へ分岐し、EX_BANK
_NOとCursorとの値に基づいてデータロードポ
インタを変更し、エクスクルーシブバンク1〜4又は5
〜16記憶エリア内のデータロードポインタが示すエク
スクルーシブデータをエクスクルーシブロードエリアへ
転送する。
If it is determined that the cursor is moved, the flow branches to step S2605 to execute EX_BANK.
The data load pointer is changed based on the values of _NO and Cursor, and exclusive banks 1-4 or 5 are changed.
The exclusive data indicated by the data load pointer in the storage areas to 16 is transferred to the exclusive load area.

【0330】この場合、EX_BANK_NOは「7」
であり、Cursorは「6」であるので、エクスクル
ーシブバンク7のエクスクルーシブNO.6のデータが
エクスクルーシブロードエリアに書き込まれる。次い
で、表示変更処理が行われる(ステップS2606)。
この際、ディスプレイ22の表示は、第97図のように
変化する。
In this case, EX_BANK_NO is “7”.
, And Cursor is “6”, so that the exclusive NO. 6 is written to the exclusive load area. Next, a display change process is performed (step S2606).
At this time, the display on the display 22 changes as shown in FIG.

【0331】(c)バンクナンバーの変更 一方、上記エクスクルーシブフェーダモードにおいて、
テンキー入力があると、ステップS2603でバンクナ
ンバーの切換であることが判断される。次いで、入力デ
ータが確定したか否かが調べられる(ステップS260
4)。これは2桁入力されたか否かで判断される。そし
て、入力データが確定していないことが判断されると、
この処理ルーチンからリターンし、再度データが入力さ
れるのを待つ。
(C) Change of bank number On the other hand, in the exclusive fader mode,
If there is a numeric key input, it is determined in step S2603 that the bank number has been switched. Next, it is checked whether or not the input data is determined (step S260).
4). This is determined by whether two digits have been input. When it is determined that the input data has not been determined,
It returns from this processing routine and waits for data to be input again.

【0332】かかる状態でテンキーが操作され、上記ス
テップS2604で入力データが確定したことが判断さ
れるとステップS2605へ進み、上述したと同様の動
作を行う。
In this state, the numeric keypad is operated, and if it is determined in step S2604 that the input data has been determined, the flow advances to step S2605 to perform the same operation as described above.

【0333】第97図において、「0、2」と入力する
と、EX_BANK_NOに「2」が書き込まれる。そ
して、ステップS2605が実行されると、EX_BA
NK_NOは「2」であり、Cursorは「6」であ
るので、ロードポインタの内容はエクスクルーシブバン
ク2のエクスクルーシブNO.6のデータの先頭アドレ
スを示し、エクスクルーシブNO.6のデータの全てを
エクスクルーシブロードエリアに書き込む。その後、表
示変更処理が行われる(ステップS2606)。この
際、ディスプレイ22の表示は、第98図のように変化
する。
In FIG. 97, when “0, 2” is input, “2” is written into EX_BANK_NO. When step S2605 is executed, EX_BA
Since NK_NO is “2” and Cursor is “6”, the contents of the load pointer are exclusive NO. 6 indicates the start address of the data, and exclusive NO. Write all of the data No. 6 to the exclusive load area. Thereafter, a display change process is performed (step S2606). At this time, the display on the display 22 changes as shown in FIG.

【0334】(d)フェーダイベント処理 エクスクルーシブフェーダモードにおいて、フェーダが
操作されると、第22図に示すフェーダイベント処理の
フローチャートに従って処理が行われる。
(D) Fader event processing In the exclusive fader mode, when the fader is operated, the processing is performed according to the flowchart of the fader event processing shown in FIG.

【0335】以下、第98図に示す状態において、フェ
ーダナンバー13のフェーダが操作された場合の例につ
いて説明する。
An example in which the fader of fader number 13 is operated in the state shown in FIG. 98 will be described below.

【0336】ステップS2201でフェーダイベントで
あることが判断されると、該イベントはフェーダナンバ
ー1〜16のフェーダイベントであるか否かが調べられ
る(ステップS2202)。この例では、イベントのあ
ったフェーダはフェーダナンバー13であるので、ステ
ップS2203へ進み、モード判断が行われる。そし
て、エクスクルーシブフェーダモードであることが判断
されるとステップS2213へ進み、表示変更処理が行
われる。この際、ディスプレイ22は、第99図のよう
に変化する。即ち、フェーダナンバー13の操作後の位
置に応じた値を1)、2)の位置に表示し、フェーダナンバ
ーを3)の位置に表示する。
If it is determined in step S2201 that the event is a fader event, it is checked whether the event is a fader event of fader numbers 1 to 16 (step S2202). In this example, since the fader having the event is the fader number 13, the process proceeds to step S2203 to determine the mode. If it is determined that the mode is the exclusive fader mode, the process proceeds to step S2213 to perform a display change process. At this time, the display 22 changes as shown in FIG. That is, the value corresponding to the position after the operation of the fader number 13 is displayed at the positions 1) and 2), and the fader number is displayed at the position 3).

【0337】次いで、エクスクルーシブデータの読出処
理が行われる(ステップS2223)。この処理は、エ
クスクルーシブデータ読出処理ルーチン(第26図)の
ステップS2609から開始される。即ち、イベントの
あったフェーダに対応する位置へカーソルを移動し(ス
テップS2609)、次いで、モードはエクスクルーシ
ブフェーダモードであるか否かが調べられる(ステップ
S2610)。ここで、エクスクルーシブフェーダモー
ドであることが判断されると、ステップS2605へ分
岐し、上述したと同様の処理が行われる。この際、ディ
スプレイ22の表示は、第100図のように変化する。
Next, exclusive data read processing is performed (step S2223). This processing is started from step S2609 of the exclusive data read processing routine (FIG. 26). That is, the cursor is moved to the position corresponding to the fader where the event occurred (step S2609), and it is checked whether the mode is the exclusive fader mode (step S2610). If it is determined that the mode is the exclusive fader mode, the process branches to step S2605, and the same processing as described above is performed. At this time, the display on the display 22 changes as shown in FIG.

【0338】次いで、O_D_Bのフェーダに対応する
エリアにフェーダのデータを書き込む(ステップS22
14)。即ち、フェーダナンバー13のフェーダの操作
後の位置に応じた値を、フェーダナンバー13に対応す
るO_D_Bのエリアに「80=50H」を書き込む。
次いで、F_E_Fのフェーダナンバー13に対応する
ビットに「1」をセットする(ステップS2215)。
そして、エクスクルーシブフェーダ処理ルーチン(第4
9図)をコールする。
Next, fader data is written in an area corresponding to the O_D_B fader (step S22).
14). That is, “80 = 50 H ” is written in the O_D_B area corresponding to the fader number 13 with a value corresponding to the position of the fader number 13 after the operation of the fader.
Next, “1” is set to the bit corresponding to the fader number 13 of F_E_F (step S2215).
Then, the exclusive fader processing routine (fourth
9).

【0339】次に、エクスクルーシブフェーダ処理につ
いて、第49図のフローチャートを参照しながら説明す
る。この処理では、先ず、「F0H 」をIBに書き込む
(ステップS4901)。これは、エクスクルーシブの
ステータスバイトである。次いで、ポインタリセットを
行う(ステップS4902)。即ち、内部生成データ読
出ポインタにエクスクルーシブロードエリアのエクスク
ルーシブデータバッファEX_DBの先頭アドレスを書
き込む。このときEX_DBには、下記のデータが記憶
されていたとする。 「40 00 10 00 04 3F 04 FF FE FE FE FE FE FE FE FE
」(いずれも16進数)
Next, the exclusive fader processing will be described with reference to the flowchart of FIG. In this process, first, “F0 H ” is written into the IB (step S4901). This is an exclusive status byte. Next, pointer reset is performed (step S4902). That is, the head address of the exclusive data buffer EX_DB in the exclusive load area is written to the internally generated data read pointer. At this time, it is assumed that the following data is stored in EX_DB. `` 40 00 10 00 04 3F 04 FF FE FE FE FE FE FE FE FE
”(Hexadecimal)

【0355】次いで、エクスクルーシブデータバッファ
の内容を読み込出すステップS4903)。そして、読
み出したデータが「FEH 」であるか否かを調べ(ステ
ップS4904)、「FEH 」でないことが判断される
と、「FFH 」であるか否かを調べる(ステップS49
06)。そして、ここで「FFH 」でもないことが判断
されると、そのデータをIBに書き込み(ステップS4
909)、内部生成データ読出ポインタをインクリメン
トし(ステップS4910)、その後、ステップS49
03に戻る。そして、上述した一連の処理を繰り返し実
行する。これにより、上記データの「40 00 10 00 04 3
F 04」までがIBに格納される。
Next, the contents of the exclusive data buffer are read out (step S4903). Then, it is checked whether the read data is “FE H ” (step S4904). If it is determined that the read data is not “FE H ”, it is checked whether it is “FF H ” (step S49).
06). If it is determined that the data is not “FF H ”, the data is written to the IB (step S4).
909), the internally generated data read pointer is incremented (Step S4910), and then Step S49
Return to 03. Then, the series of processes described above are repeatedly executed. As a result, "40 00 10 00 04 3"
F 04 ”are stored in the IB.

【0340】この繰り返し実行の過程で、ステップS4
906で読み出したデータが「FFH」であることが判
断されると、O_D_Bのフェーダナンバー13に対応
するエリアの内容を読み出す(ステップS4907)。
この場合、「50H 」が読み出されることになる。次い
で、上記データをIBに書き込む(ステップS490
8)。その後、ステップS4910へ分岐し、上述した
と同様の動作を繰り返す。
In the course of this repetitive execution, step S4
If it is determined that the read data is “FF H ” in 906, the content of the area corresponding to the fader number 13 of O_D_B is read (step S4907).
In this case, " 50H " is read. Next, the data is written into the IB (step S490).
8). Thereafter, the flow branches to step S4910, and the same operation as described above is repeated.

【0341】そして、ステップS4904で、読み出し
たデータが「FEH 」であることが判断されると、「F
H 」をIBに書込(ステップS4905)、このエク
スクルーシブフェーダ処理ルーチンからリターンする。
If it is determined in step S4904 that the read data is "FE H ",
Write 7 H "to IB (step S4905), control returns from the exclusive fader routine.

【0342】以上の処理により、IBには下記のデータ
が書き込まれることになる。 「F0 40 00 10 00 04 3F 04 50 F7 」(いずれも16進
数) 以上の処理が終了すると、フェーダイベント処理ルーチ
ン(第22図)もリターンする。IBに書き込まれたデ
ータは、上述した内部MIDIイベント処理ルーチン
(第21図)により外部機器に出力される。
With the above processing, the following data is written to the IB. "F0 40 00 10 00 04 3F 04 50 F7" (all in hexadecimal) When the above processing ends, the fader event processing routine (FIG. 22) also returns. The data written in the IB is output to an external device by the above-described internal MIDI event processing routine (FIG. 21).

【0343】本発明にかかる電子楽器制御装置は、次の
ように使用される。本機とシンセサイザーをMIDIで
接続し、双方のチャンネルを合わせる。本機には、この
シンセサイザー用のエクスクルーシブデータが書き込ま
れているとする。
The electronic musical instrument control device according to the present invention is used as follows. Connect this unit and the synthesizer with MIDI, and match both channels. It is assumed that exclusive data for this synthesizer has been written in this unit.

【0344】本機の任意のフェーダを動かすと、そこに
アサインされたパラメータについて、フェーダ位置に従
ってシンセサイザーの音色は変換する。この実施例によ
れば、シンセサイザー等のエディットをする際のパラメ
ータを呼び出す手間が省け、同時に、複数のパラメータ
を変更可能とする等、操作性が向上する。
When an arbitrary fader of the unit is moved, the tone color of the synthesizer is converted according to the fader position for the parameter assigned to the fader. According to this embodiment, the operability is improved, such as saving the trouble of calling parameters when editing a synthesizer or the like, and making it possible to change a plurality of parameters at the same time.

【0345】[0345]

【発明の効果】以上詳述したように、本発明によれば、 (1)MIDIの全16チャネル分のプログラムチェン
ジ信号とボリューム信号を同時に出力し、多くのMID
I機器のセッティングを瞬時に行うことのできる操作性
に優れた電子楽器制御装置を提供できる。
As described above in detail, according to the present invention, (1) a program change signal and a volume signal for all 16 MIDI channels are simultaneously output, and many MIDs are output.
It is possible to provide an electronic musical instrument control device which is excellent in operability and can perform setting of the I equipment instantaneously.

【0346】(2)また、MIDI情報の出力元と、該
MIDI情報の受信側との間(MIDI信号の伝送途
中)でチャネル変換を行うことにより、一括してMID
I情報の出力元と、該MIDI情報の受信側の各チャネ
ルの対応付けを行って環境設定等を簡易に行うことので
きる操作性に優れた電子楽器制御装置を提供できる。
(2) Also, by performing channel conversion between the output source of the MIDI information and the receiving side of the MIDI information (during the transmission of the MIDI signal), the MID is collectively performed.
It is possible to provide an electronic musical instrument control device excellent in operability that can easily set an environment by associating the output source of the I information with each channel on the receiving side of the MIDI information.

【0347】(3)また、MIDIチャネル毎に出力端
子を選択することができるようにして、演奏者の希望す
る音源、あるいは音源に適した楽音を発生することがで
きるMIDI情報分割装置としての電子楽器制御装置を
提供できる。
(3) An electronic terminal as a MIDI information dividing device capable of generating a sound source desired by a player or a musical tone suitable for the sound source by making it possible to select an output terminal for each MIDI channel. An instrument control device can be provided.

【0348】(4)また、発音に直接作用するチャネル
メッセージは第1の出力端子から、その他のメッセージ
は第2の出力端子から出力することができるようにし
て、多くの機器の仕様に対応できるMIDI情報分割装
置としての電子楽器制御装置を提供できる。
(4) Channel messages that directly affect sound generation can be output from the first output terminal, and other messages can be output from the second output terminal. An electronic musical instrument control device as a MIDI information dividing device can be provided.

【0349】(5)また、ノートナンバーの高低によっ
て出力先を選択することができるようにして、演奏者の
希望する音源、あるいは音源に適した楽音を発生するこ
とができるMIDI情報分割装置としての電子楽器制御
装置を提供できる。
(5) Also, the MIDI information division device which can generate a sound source desired by the player or a musical tone suitable for the sound source by making it possible to select an output destination according to the level of the note number. An electronic musical instrument control device can be provided.

【0350】(6)また、ノートナンバーが奇数である
か又は偶数であるかに応じて出力先を選択することがで
きるようにし、出力先毎に別の音源を駆動することによ
り疑似的に同時発音数を増やして演奏者の希望す多彩な
演奏を可能にするMIDI情報分割装置としての電子楽
器制御装置を提供できる。
(6) The output destination can be selected according to whether the note number is an odd number or an even number, and by driving a different sound source for each output destination, a pseudo simultaneous It is possible to provide an electronic musical instrument control device as a MIDI information dividing device capable of increasing the number of sounds and enabling a variety of performances desired by the player.

【0351】(7)また、ノートナンバーを有するメッ
セージのベロシティに応じて出力先を選択することがで
きるようにして、演奏者の希望する音源、あるいは音源
に適した楽音を発生することができるMIDI情報分割
装置としての電子楽器制御装置を提供できる。
(7) MIDI capable of selecting an output destination in accordance with the velocity of a message having a note number to generate a sound source desired by a player or a musical tone suitable for the sound source. An electronic musical instrument control device as an information dividing device can be provided.

【0352】(8)また、入力されたMIDI信号に対
してボリューム信号を加えることによって音量を変化さ
せるだけでなく、ベロシティデータを直接操作すること
ができるベロシティ操作装置としての電子楽器制御装置
を提供できる。
(8) An electronic musical instrument control device as a velocity operation device capable of directly operating velocity data as well as changing the volume by adding a volume signal to an input MIDI signal is provided. it can.

【0353】(9)また、限られたスペースで負の数を
効果的に表示すること、により、負の数の視認性を高め
ることのできる表示装置を有する電子楽器制御装置を提
供できる。
(9) It is possible to provide an electronic musical instrument control device having a display device capable of improving the visibility of negative numbers by effectively displaying negative numbers in a limited space.

【0354】(10)また、音量とフェーダ位置とのず
れを全チャンネル一斉に修正することができるととも
に、フェーダを動かさなくても修正することができるよ
うにした操作性に優れた電子楽器の制御装置を提供でき
る。
(10) Control of an electronic musical instrument with excellent operability, in which a shift between a volume and a fader position can be corrected simultaneously for all channels and can be corrected without moving a fader. Equipment can be provided.

【0355】(11)また、ボリュームを変更するモー
ド以外のモード、つまり他モードでも有効なマスターボ
リュームを備え、また、他モード中においても、ボリュ
ーム操作を可能とすることにより操作性に優れたボリュ
ーム情報保持装置としての電子楽器制御装置を提供でき
る。
(11) A volume other than the mode for changing the volume, that is, a master volume that is effective even in other modes, and a volume that is excellent in operability by being able to operate the volume in other modes. An electronic musical instrument control device as an information holding device can be provided.

【0356】(12)また、エクスクルーシブデータを
ユーザが自由に作成することができるエクスクルーシブ
編集装置としての電子楽器制御装置を提供できる。
(12) It is possible to provide an electronic musical instrument control device as an exclusive editing device that allows a user to freely create exclusive data.

【0357】(13)さらに、キースイッチ等によって
パラメータを選択することなく、変えたいパラメータを
アサインしたフェーダを動かすことによりデータを変更
することができるようにすることにより、操作性を向上
させた電子楽器制御装置を提供できる。
(13) Further, the data can be changed by moving a fader to which a parameter to be changed is assigned without selecting a parameter with a key switch or the like, thereby improving operability. An instrument control device can be provided.

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

【図1】本発明の電子楽器制御装置の全体の構成を概略
的に示すブロック図である。
FIG. 1 is a block diagram schematically showing an overall configuration of an electronic musical instrument control device of the present invention.

【図2】操作パネルの構成を示す外観図である。FIG. 2 is an external view illustrating a configuration of an operation panel.

【図3A】ワークメモリの割り付けを示すメモリマップ
である。
FIG. 3A is a memory map showing allocation of a work memory;

【図3B】ワークメモリの割り付けを示すメモリマップ
である。
FIG. 3B is a memory map showing work memory allocation.

【図4】データメモリの割り付けを示すメモリマップで
ある。
FIG. 4 is a memory map showing allocation of data memories.

【図5】MIDI受信割込処理0を示すフローチャート
である。
FIG. 5 is a flowchart showing MIDI reception interrupt processing 0;

【図6】MIDI受信割込処理1を示すフローチャート
である。
FIG. 6 is a flowchart showing MIDI reception interrupt processing 1;

【図7】受信データ処理割込のフローチャートである。FIG. 7 is a flowchart of a reception data processing interrupt.

【図8A】図7からコールされる受信データ処理のサブ
ルーチンである。
FIG. 8A is a reception data processing subroutine called from FIG. 7;

【図8B】図7からコールされる受信データ処理のサブ
ルーチンである。
8B is a reception data processing subroutine called from FIG. 7; FIG.

【図9】MIDI送信割込0の処理を示すフローチャー
トである。
FIG. 9 is a flowchart showing processing of a MIDI transmission interrupt 0;

【図10】MIDI送信割込1の処理を示すフローチャ
ートである。
FIG. 10 is a flowchart showing processing of MIDI transmission interrupt 1;

【図11】ベロシティオフセット(VELOCITY OFFSET)
処理を示すフローチャートである。
[Fig.11] VELOCITY OFFSET
It is a flowchart which shows a process.

【図12】ベロシティオフセット(VELOCITY ABSOLUT
E)処理を示すフローチャートである。
[Fig. 12] VELOCITY ABSOLUT
It is a flowchart which shows E) process.

【図13】キーバランス(KEY BALANCE)処理を示すフロ
ーチャートである。
FIG. 13 is a flowchart showing a key balance (KEY BALANCE) process.

【図14】チャネルセパレート処理を示すフローチャー
トである。
FIG. 14 is a flowchart illustrating a channel separation process.

【図15】オッド/イーブン(Odd/Even)セパレート処理
を示すフローチャートである。
FIG. 15 is a flowchart showing an Odd / Even (Odd / Even) separation process.

【図16】ノートナンバー(ノートNo)セパレート処理
を示すフローチャートである。
FIG. 16 is a flowchart showing a note number (note No) separation process.

【図17A】ベロシティセパレート処理を示すフローチ
ャートである。
FIG. 17A is a flowchart showing velocity separation processing.

【図17B】ベロシティセパレート処理を示すフローチ
ャートである。
FIG. 17B is a flowchart showing a velocity separation process.

【図18】リアルタイムセパレート処理を示すフローチ
ャートである。
FIG. 18 is a flowchart showing real-time separation processing.

【図19】チャネルコンバート処理を示すフローチャー
トである。
FIG. 19 is a flowchart showing a channel conversion process.

【図20】本電子楽器制御装置のメインルーチンを示す
フローチャートである。
FIG. 20 is a flowchart showing a main routine of the electronic musical instrument control device.

【図21A】内部MIDIイベント処理を示すフローチ
ャートである。
FIG. 21A is a flowchart showing internal MIDI event processing.

【図21B】内部MIDIイベント処理を示すフローチ
ャートである。
FIG. 21B is a flowchart showing internal MIDI event processing.

【図22A】フェーダイベント処理を示すフローチャー
トである。
FIG. 22A is a flowchart showing fader event processing.

【図22B】フェーダイベント処理を示すフローチャー
トである。
FIG. 22B is a flowchart showing fader event processing.

【図23】セットアップ処理を示すフローチャートであ
る。
FIG. 23 is a flowchart showing a setup process.

【図24】プログラムセンド(PROGRAM SEND)処理を示す
フローチャートである。
FIG. 24 is a flowchart showing a program send (PROGRAM SEND) process.

【図25】ボリュームフェーダ(VOLUME FADER)処理を示
すフローチャートである。
FIG. 25 is a flowchart showing a volume fader (VOLUME FADER) process.

【図26】エクスクルーシブデータ読出処理を示すフロ
ーチャートである。
FIG. 26 is a flowchart showing an exclusive data reading process.

【図27】スイッチイベント処理の概略を示すフローチ
ャートである。
FIG. 27 is a flowchart showing an outline of a switch event process.

【図28】セットアップ設定処理(1)を示すフローチ
ャートである。
FIG. 28 is a flowchart showing a setup setting process (1).

【図29】セットアップ設定処理(2)を示すフローチ
ャートである。
FIG. 29 is a flowchart showing a setup setting process (2).

【図30】セットアップ設定処理(3)を示すフローチ
ャートである。
FIG. 30 is a flowchart showing a setup setting process (3).

【図31】セットアップ設定処理(4)を示すフローチ
ャートである。
FIG. 31 is a flowchart showing a setup setting process (4).

【図32】カーソル移動処理を示すフローチャートであ
る。
FIG. 32 is a flowchart showing a cursor moving process.

【図33】セットアップデータメモリ書込処理(1)を
示すフローチャートである。
FIG. 33 is a flowchart showing a setup data memory writing process (1).

【図34】セットアップデータメモリ書込処理(2)を
示すフローチャートである。
FIG. 34 is a flowchart showing a setup data memory writing process (2).

【図35】システムチャネル処理を示すフローチャート
である。
FIG. 35 is a flowchart showing system channel processing.

【図36】セパレートメニュー処理を示すフローチャー
トである。
FIG. 36 is a flowchart showing a separate menu process.

【図37】セパレートチャネル処理を示すフローチャー
トである。
FIG. 37 is a flowchart showing a separate channel process.

【図38】セパレートオッド/イーブンル処理を示すフ
ローチャートである。
FIG. 38 is a flowchart showing a separate odd / even process.

【図39】セパレートキースプリット処理を示すフロー
チャートである。
FIG. 39 is a flowchart showing a separate key split process.

【図40】セパレートベロシティ処理を示すフローチャ
ートである。
FIG. 40 is a flowchart showing a separate velocity process.

【図41】エクスクルーシブエディット処理(データエ
ディット)処理を示すフローチャートである。
FIG. 41 is a flowchart showing an exclusive edit process (data edit) process.

【図42】エクスクルーシブエディット処理(INC
(データ挿入)処理)を示すフローチャートである。
FIG. 42: Exclusive edit processing (INC
9 is a flowchart showing (data insertion) processing.

【図43】エクスクルーシブエディット処理(DEC
(データ削除)処理)を示すフローチャートである。
FIG. 43: Exclusive edit processing (DEC
It is a flowchart which shows (data deletion) process.

【図44】エクスクルーシブエディット処理(ネームエ
ディット)を示すフローチャートである。
FIG. 44 is a flowchart showing an exclusive edit process (name edit).

【図45】エクスクルーシブエディット処理(ライト処
理1)を示すフローチャートである。
FIG. 45 is a flowchart showing an exclusive edit process (write process 1).

【図46】エクスクルーシブエディット処理(ライト処
理2)を示すフローチャートである。
FIG. 46 is a flowchart showing an exclusive edit process (write process 2).

【図47】エクスクルーシブエディット処理(ライト処
理3)を示すフローチャートである。
FIG. 47 is a flowchart showing an exclusive edit process (write process 3).

【図48】モード変更処理の概略を示すフローチャート
である。
FIG. 48 is a flowchart showing an outline of a mode change process.

【図49】エクスクルーシブフェーダ処理を示すフロー
チャートである。
FIG. 49 is a flowchart showing an exclusive fader process.

【図50】セットアップエディット実行時の画面表示例
を示す図である。
FIG. 50 is a diagram illustrating a screen display example when performing setup edit.

【図51】第3〜第7の発明におけるMIDI情報分割
時の本電子楽器制御装置の第1の接続例を示す図であ
る。
FIG. 51 is a diagram showing a first connection example of the electronic musical instrument control device at the time of MIDI information division in the third to seventh inventions.

【図52】第3〜第7の発明におけるMIDI情報分割
時の本電子楽器制御装置の第2の接続例を示す図であ
る。
FIG. 52 is a diagram showing a second connection example of the electronic musical instrument control device at the time of MIDI information division in the third to seventh inventions.

【図53】表示変更処理ルーチンを示すフローチャート
である。
FIG. 53 is a flowchart showing a display change processing routine.

【図54】第8の発明におけるベロシティアブソリュー
トの動作を説明するための図である。
FIG. 54 is a diagram for explaining the operation of velocity absolute in the eighth invention.

【図55】第8の発明におけるベロシティオフセットの
動作を説明するための図である。
FIG. 55 is a diagram for explaining a velocity offset operation in the eighth invention.

【図56】第9の発明における好ましくない表示例を示
す図である。
FIG. 56 is a diagram showing an example of an undesirable display in the ninth invention.

【図57】第9の発明における好ましくない表示例を示
す図である。
FIG. 57 is a diagram showing an example of an undesirable display in the ninth invention.

【図58】第9の発明における第1の表示例を示す図で
ある。
FIG. 58 is a diagram showing a first display example in the ninth invention.

【図59】第9の発明における第2の表示例を示す図で
ある。
FIG. 59 is a diagram showing a second display example in the ninth invention.

【図60】第9の発明における第3の表示例を示す図で
ある。
FIG. 60 is a diagram showing a third display example in the ninth invention.

【図61】第12の発明におけるエクスクルーシブエデ
ィット画面の一例を示す図である。
FIG. 61 is a diagram showing an example of an exclusive edit screen in the twelfth invention.

【図62】第12の発明におけるエクスクルーシブエデ
ィットに関連する操作パネルのキーを示す図である。
FIG. 62 is a diagram showing keys on an operation panel related to exclusive editing in the twelfth invention.

【図63】第12の発明におけるエクスクルーシブライ
ト画面の一例を示す図である。
FIG. 63 is a diagram showing an example of an exclusive light screen according to the twelfth invention.

【図64】第1の発明におけるセットアップ画面の一例
を示す図である。
FIG. 64 is a diagram showing an example of a setup screen according to the first invention.

【図65】第1の発明におけるセットアップボリューム
エディット画面の一例を示す図である。
FIG. 65 is a diagram showing an example of a setup volume edit screen according to the first invention.

【図66】第1の発明におけるセットアッププログラム
チェンジエディット画面の一例を示す図である。
FIG. 66 is a diagram showing an example of a setup program change edit screen in the first invention.

【図67】第1の発明におけるチャネルコンバートエデ
ィット画面の一例を示す図である。
FIG. 67 is a diagram showing an example of a channel convert edit screen according to the first invention.

【図68】第1の発明におけるフェーダオン/オフエデ
ィット画面の一例を示す図である。
FIG. 68 is a diagram showing an example of a fader on / off edit screen in the first invention.

【図69】第1の発明におけるセットアップライト画面
の一例を示す図である。
FIG. 69 is a diagram showing an example of a setup light screen according to the first invention.

【図70】第1の発明におけるセットアップライト画面
の他の例を示す図である。
FIG. 70 is a diagram showing another example of the setup light screen in the first invention.

【図71】第3の発明におけるチャネルセパレート画面
の一例を示す図である。
FIG. 71 is a diagram showing an example of a channel separate screen according to the third invention.

【図72】第3の発明におけるチャネルセパレート画面
の他の例を示す図である。
FIG. 72 is a diagram showing another example of the channel separate screen in the third invention.

【図73】第4の発明におけるリアルタイムセパレート
画面の一例を示す図である。
FIG. 73 is a diagram showing an example of a real-time separate screen according to the fourth invention.

【図74】第5の発明におけるノートナンバーセパレー
ト画面の一例を示す図である。
FIG. 74 is a diagram showing an example of a note number separate screen according to the fifth invention.

【図75】第5の発明におけるノートナンバーセパレー
ト画面の他の例を示す図である。
FIG. 75 is a diagram showing another example of the note number separate screen in the fifth invention.

【図76】第6の発明におけるオッド/イーブンセパレ
ート画面の一例を示す図である。
FIG. 76 is a diagram showing an example of an odd / even separate screen according to the sixth invention.

【図77】第6の発明におけるオッド/イーブンセパレ
ート画面の他の例を示す図である。
FIG. 77 is a diagram showing another example of the odd / even separate screen in the sixth invention.

【図78】第7の発明におけるベロシティセパレート画
面の一例を示す図である。
FIG. 78 is a diagram showing an example of a velocity separate screen according to the seventh invention.

【図79】第7の発明におけるベロシティセパレート画
面の他の例を示す図である。
FIG. 79 is a diagram showing another example of the velocity separate screen in the seventh invention.

【図80】第8の発明におけるベロシティオフセット画
面の一例を示す図である。
FIG. 80 is a diagram showing an example of a velocity offset screen in the eighth invention.

【図81】第8の発明におけるベロシティアブソリュー
ト画面の一例を示す図である。
FIG. 81 is a diagram showing an example of a velocity absolute screen according to the eighth invention.

【図82】第10の発明におけるセンドフェーダポジシ
ョンキー処理を示すフローチャートである。
FIG. 82 is a flow chart showing send fader position key processing in the tenth invention.

【図83】第11の発明におけるボリュームフェーダ画
面の一例を示す図である。
FIG. 83 is a diagram showing an example of a volume fader screen according to the eleventh invention.

【図84】第12の発明におけるエクスクルーシブデー
タエディット画面の一例を示す図である。
FIG. 84 is a diagram showing an example of an exclusive data edit screen in the twelfth invention.

【図85】第12の発明におけるエクスクルーシブデー
タエディット画面の他の例を示す図である。
FIG. 85 is a diagram showing another example of the exclusive data edit screen in the twelfth invention.

【図86】第12の発明におけるエクスクルーシブデー
タエディット画面のさらに他の例を示す図である。
FIG. 86 is a diagram showing still another example of the exclusive data edit screen in the twelfth invention;

【図87】第12の発明におけるエクスクルーシブデー
タエディット画面のさらに他の例を示す図である。
FIG. 87 is a diagram showing still another example of the exclusive data edit screen in the twelfth invention.

【図88】第12の発明におけるエクスクルーシブデー
タエディット画面のさらに他の例を示す図である。
FIG. 88 is a diagram showing still another example of the exclusive data edit screen in the twelfth invention.

【図89】第12の発明におけるエクスクルーシブデー
タエディット画面のさらに他の例を示す図である。
FIG. 89 is a diagram showing still another example of the exclusive data edit screen in the twelfth invention.

【図90】第12の発明におけるエクスクルーシブデー
タエディット画面のさらに他の例を示す図である。
FIG. 90 is a diagram showing still another example of the exclusive data edit screen in the twelfth invention.

【図91】第12の発明におけるエクスクルーシブネー
ムエディット画面の一例を示す図である。
FIG. 91 is a diagram showing an example of an exclusive name edit screen in the twelfth invention.

【図92】第12の発明におけるエクスクルーシブネー
ムエディット画面の他の例を示す図である。
FIG. 92 is a diagram showing another example of the exclusive name edit screen in the twelfth invention.

【図93】第12の発明におけるエクスクルーシブネー
ムエディット画面のさらに他の例を示す図である。
FIG. 93 is a diagram showing still another example of the exclusive name edit screen in the twelfth invention.

【図94】第12の発明におけるエクスクルーシブライ
ト画面の一例を示す図である。
FIG. 94 is a diagram showing an example of an exclusive light screen according to the twelfth invention.

【図95】第12の発明におけるエクスクルーシブライ
ト画面の他の例を示す図である。
FIG. 95 is a diagram showing another example of an exclusive light screen in the twelfth invention.

【図96】第13の発明におけるエクスクルーシブフェ
ーダ画面の一例を示す図である。
FIG. 96 is a diagram showing an example of an exclusive fader screen in the thirteenth invention.

【図97】第13の発明におけるエクスクルーシブフェ
ーダ画面の他の例を示す図である。
FIG. 97 is a diagram showing another example of the exclusive fader screen in the thirteenth invention.

【図98】第13の発明におけるエクスクルーシブフェ
ーダ画面のさらに他の例を示す図である。
FIG. 98 is a diagram showing still another example of the exclusive fader screen in the thirteenth invention.

【図99】第13の発明におけるエクスクルーシブフェ
ーダ画面のさらに他の例を示す図である。
FIG. 99 is a diagram showing still another example of the exclusive fader screen in the thirteenth invention.

【図100】第13の発明におけるエクスクルーシブフ
ェーダ画面のさらに他の例を示す図である。
FIG. 100 is a diagram showing still another example of the exclusive fader screen in the thirteenth invention.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−175692(JP,A) 実開 昭60−94692(JP,U) 古山俊一,コンピュータ&MIDI (▲I▼)入門編、第3刷,日本,株式 会社音楽之友社,1990年 1月20日, p.58 (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 G10H 1/00 102 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-175692 (JP, A) JP-A-60-94692 (JP, U) Shunichi Furuyama, Introduction to Computer & MIDI (I), Third Edition Japan Music Co., Ltd., January 20, 1990, p. 58 (58) Field surveyed (Int. Cl. 7 , DB name) G10H 1/00 G10H 1/00 102

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 設定位置と該設定位置を表す位置情報と
の不一致が生じ得る操作子から成る複数の操作子と、 複数の制御情報を出力すべき旨を指示するセンドキー
と、 前記複数の操作子の各々の現在の設定位置を表す複数の
位置情報を記憶する記憶手段と、 前記センドキーによる指示に応答して、前記記憶手段に
記憶されている前記複数の位置情報をそれぞれ含む前記
複数の制御情報を生成して外部機器に出力する出力手段
と、 を具備したことを特徴とする電子楽器制御装置。
(1)A set position and position information representing the set position;
A plurality of operators that may cause a mismatch between Send key to indicate that multiple control information should be output
When, A plurality of controls representing a current setting position of each of the plurality of controls;
Storage means for storing position information; In response to the instruction by the send key, the storage means
The plurality of pieces of position information each including the stored
Output means for generating a plurality of control information and outputting it to an external device
When,  An electronic musical instrument control device comprising:
【請求項2】 音量変更モードでは音量情報を指定し、
他のモードでは他の情報を指定する複数の第1の操作子
と、 該複数の第1の操作子で指定された音量情報を記憶する
記憶手段と、 前記複数の第1の操作子で指定された音量情報の全部を
相対的に変更せしめることを指示する第2の操作子と、 該第2の操作子が操作された際、その時点で設定されて
いるモードにかかわらず、前記記憶手段に記憶された音
量情報に対して前記第2の操作子の操作量に応じた加工
を施して新たな音量情報を生成する生成手段と、 該生成手段により生成された音量情報を外部機器に出力
する出力手段と、 を具備したことを特徴とする電子楽器制御装置。
(2)In the volume change mode, specify the volume information,
In other modes, a plurality of first controls for specifying other information
When, The volume information specified by the plurality of first operators is stored.
Storage means; All of the volume information specified by the plurality of first controls is
A second operator for instructing a relative change, When the second operator is operated,
Irrespective of the mode in which the sound is stored,
Processing according to the operation amount of the second operator for the amount information
Generating means for generating new volume information by performing Outputs the volume information generated by the generation means to an external device
Output means for performing  An electronic musical instrument control device comprising:
【請求項3】 エクスクルーシブ情報を変更又は作成す
る際に所定のデータを入力する入力手段と、 前記入力手段で入力された前記所定のデータを含むエク
スクルーシブ情報を記憶する記憶手段と、 値を決定する操作子と、 前記操作子の操作に応答して前記記憶手段に記憶された
エクスクルーシブ情報を読み出し、該読み出されたエク
スクルーシブ情報中の前記所定のデータを前記操作子の
操作によって決定された値で置き換えて外部に出力する
出力手段と、 を具備したことを特徴とする電子楽器制御装置。
(3)Change or create exclusive information
Input means for inputting predetermined data when E-mail containing the predetermined data input by the input means
Storage means for storing crucial information; A control to determine the value, Stored in the storage means in response to the operation of the operating element
Exclusive information is read, and the read
The predetermined data in the crucial information is
Replace with the value determined by the operation and output to the outside
Output means;  An electronic musical instrument control device comprising:
JP2000207640A 1990-11-19 2000-07-10 Electronic musical instrument controller Expired - Fee Related JP3266599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000207640A JP3266599B2 (en) 1990-11-19 2000-07-10 Electronic musical instrument controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP31146490 1990-11-19
JP2-311464 1990-11-19
JP2000207640A JP3266599B2 (en) 1990-11-19 2000-07-10 Electronic musical instrument controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP03518218A Division JP3121010B2 (en) 1990-11-19 1991-11-19 Electronic musical instrument controller

Publications (2)

Publication Number Publication Date
JP2001034265A JP2001034265A (en) 2001-02-09
JP3266599B2 true JP3266599B2 (en) 2002-03-18

Family

ID=26566745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000207640A Expired - Fee Related JP3266599B2 (en) 1990-11-19 2000-07-10 Electronic musical instrument controller

Country Status (1)

Country Link
JP (1) JP3266599B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4826508B2 (en) * 2007-02-27 2011-11-30 ヤマハ株式会社 Playback device and automatic performance device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
古山俊一,コンピュータ&MIDI(▲I▼)入門編、第3刷,日本,株式会社音楽之友社,1990年 1月20日,p.58

Also Published As

Publication number Publication date
JP2001034265A (en) 2001-02-09

Similar Documents

Publication Publication Date Title
US5471008A (en) MIDI control apparatus
EP3550555B1 (en) Electronic musical instrument, method, and storage medium
JP6388048B1 (en) Musical sound generating device, musical sound generating method, musical sound generating program, and electronic musical instrument
JP6443772B2 (en) Musical sound generating device, musical sound generating method, musical sound generating program, and electronic musical instrument
JP2684899B2 (en) Sound source device for electronic musical instruments
JP3266599B2 (en) Electronic musical instrument controller
JP3121010B2 (en) Electronic musical instrument controller
JP4848371B2 (en) Music output switching device, musical output switching method, computer program for switching musical output
JPH06202654A (en) Electronic musical instrument
JP4548292B2 (en) Sound source setting device and sound source setting program
US6147292A (en) Data-setting system and method, and recording medium
JP4787258B2 (en) Tone storage device, tone storage method, computer program for storing tone
JP3239565B2 (en) Electronic musical instrument
JP2983122B2 (en) Electronic musical instrument
JP6851578B2 (en) Musical tone generator, musical tone generator, musical tone generator and electronic musical instrument
JPH1078783A (en) Karaoke sing-along machine
JP2570819B2 (en) Electronic musical instrument
JP3628801B2 (en) Electronic musical instrument and storage medium for electronic musical instrument
JP3509140B2 (en) Electronic musical instrument
JP7130185B2 (en) Electronic musical instrument, electronic musical instrument control method and control program
JPH05181470A (en) One-minus-one playing device
JP6606839B2 (en) Waveform writing apparatus, method, program, and electronic musical instrument
JP3438229B2 (en) Electronic musical instrument
JPH08137473A (en) Expression pedal device for electronic musical instruments
JP2025068637A (en) Electronic musical instrument, method, and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011220

LAPS Cancellation because of no payment of annual fees