JPH02127693A - Sound source unit - Google Patents

Sound source unit

Info

Publication number
JPH02127693A
JPH02127693A JP63281643A JP28164388A JPH02127693A JP H02127693 A JPH02127693 A JP H02127693A JP 63281643 A JP63281643 A JP 63281643A JP 28164388 A JP28164388 A JP 28164388A JP H02127693 A JPH02127693 A JP H02127693A
Authority
JP
Japan
Prior art keywords
polyphonic
sound source
n0te
value
note 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.)
Pending
Application number
JP63281643A
Other languages
Japanese (ja)
Inventor
Naoaki Matsumoto
松本 直明
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP63281643A priority Critical patent/JPH02127693A/en
Priority to US07/431,738 priority patent/US5025701A/en
Publication of JPH02127693A publication Critical patent/JPH02127693A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To increase the polyphonic number of a musical sound to be generated according to the number of connected sound source modules by connecting the sound source modules. CONSTITUTION:A sound source circuit 6 is a circuit which generates eight sounds at the same time and when sound source modulates are connected, all the sound source modules have a 1st polyphonic area in common and also have 2nd polyphonic areas specified individually, for example, without overlapping one another. When the respective sound source modules are put in simultaneously operation after the specification, updating operation on note information storage means of the respective sound source modules are carried out completely concurrently according to the same rule and the respective sound source modules are put in partial charge of only polyphonic channels in the 2nd polyphonic areas to control the generation of musical sounds. In this case, polyphonic area specifying means of the respective sound modules set the 2nd polyphonic areas optionally with equipment numbers and speedy setting operation is enabled even during performance.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部からノート情報(楽音データ)を入力し
て楽音を発音する音源モジュールタイプの音源装置に係
り、さらに詳しくは複数の音源モジュールを接続した場
合に1台の音源楽器として連動して動作させることが可
能な音源装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a sound source device of a sound source module type that generates musical tones by inputting note information (musical sound data) from the outside, and more specifically relates to a sound source device of a sound source module type that generates musical tones by inputting note information (musical sound data) from the outside. The present invention relates to a sound source device that can be operated in conjunction with each other as a single sound source instrument when connected.

〔従来の技術〕[Conventional technology]

阿IDI  (Musical  In5tru+++
ent  Digital  Interface)方
式の出現と、デジタル信号処理を用いた電子楽器の発展
により、複数の電子楽器をMIDIで相互に接続し、同
期させて演奏動作を行わせることが可能となっている。
AIDI (Musical In5tru+++
With the advent of the ENT Digital Interface system and the development of electronic musical instruments using digital signal processing, it has become possible to connect a plurality of electronic musical instruments to each other via MIDI and perform performance operations in synchronization.

特に、そのような同期演奏を目的として、鍵盤等の演奏
部を除いた音源モジュールタイプの電子楽器が多々開発
されており、このような音源モジュールを複数接続する
ことにより、高度な演奏効果を得ることが可能となって
いる。
In particular, for the purpose of such synchronized performance, many sound source module type electronic musical instruments without a performance section such as a keyboard have been developed, and by connecting multiple such sound source modules, advanced performance effects can be obtained. It is now possible.

上記のような音源モジュールにおいては、外部に鍵盤等
を接続し、そこから入力するN0TE ONデータcノ
ートオンデータ;発音指示データ)又はN0TE OF
Fデータ(ノートオフデータ;消音指示データ)等のM
IDIデータを受信することにより、楽音の発音又は消
音等の発音制御を行う。この場合、音源モジュール単体
では、通常、時分割処理により複数の楽音を並列して発
音させることが可能であり、8〜16音程度のポリフォ
ニック数を有する音源モジュールが一般的である。そし
て、このような音源モジュールをMIDIにより複数台
接続して使用する場合、各音源モジュールが各MIDI
データを独立して受信することにより、複数の音源モジ
ュールを同期させて演奏させることが可能である。この
場合、8〜16音ポリフオニツクの各音源モジュールが
並列して独立して発音動作を行うことになる。
In the above-mentioned sound source module, a keyboard or the like is connected externally, and N0TE ON data (note on data; pronunciation instruction data) or N0TE OF is input from there.
M such as F data (note-off data; mute instruction data)
By receiving the IDI data, sound production control such as production or muting of musical tones is performed. In this case, a single sound source module is usually capable of generating a plurality of musical tones in parallel through time-sharing processing, and a sound source module having a polyphonic number of about 8 to 16 sounds is common. When multiple such sound source modules are connected and used by MIDI, each sound source module is connected to each MIDI
By receiving data independently, it is possible to synchronize and perform multiple sound source modules. In this case, each of the 8- to 16-note polyphonic sound source modules performs sound generation operations in parallel and independently.

[発明が解決しようとする課題] しかし、上記従来例では、複数の音源モジュールが並列
に演奏動作されるだけであり、音源モジュールを拡張接
続し、複数台の音源モジュールを1台の音源モジュール
として使用するようなことはできないという問題点を有
している。
[Problems to be Solved by the Invention] However, in the conventional example described above, a plurality of sound source modules are only operated in parallel, and the sound source modules are connected in an expanded manner to combine multiple sound source modules into one sound source module. The problem is that it cannot be used in any way.

二のような問題点に対して、音源モジュール毎に発音す
る音域を指定し、外部から入力するN0TENo、  
(ノートナンバー;音階)により、発音の有無を決定し
て音源の拡張性を図った従来例があるが、このタイプで
は、演奏する音域によって発音を行う音源モジュールが
決定されてしまい、ある音域を多用するような演奏にお
いては、1台の音源モジュールあたりのポリフォニック
数をオーバーしてしまい、それ以上は発音不可能となっ
てしまって、自由度の狭い演奏しか行えないという問題
点を有している。
In order to solve the problem like 2, specifying the sound range for each sound source module and inputting N0TENo from the outside,
There is a conventional example in which the extensibility of the sound source is achieved by determining whether or not to produce a sound based on the note number (scale), but with this type, the sound source module that produces the sound is determined by the range of notes being played, When performing a performance that requires a lot of use, the number of polyphonic sounds per tone generator module is exceeded, making it impossible to produce any more sounds, and the problem is that the performance can only be performed with a narrow degree of freedom. There is.

また、偶数番号のN0TE No、と、奇数番号のN0
TENo、とで、別々の音源で発音を行わせる従来例も
あるが、この場合も演奏形態によっては、偶数番号のN
0TE No、ばかりが指定された場合には、前記音域
指定による場合と同様の問題点が発生する。
Also, even numbered N0TE No, and odd numbered N0TE
There is a conventional example in which sounds are produced using separate sound sources for TENo and N.
If 0TE No. is specified, the same problem as in the case of specifying the range will occur.

本発明の課題は、複数の音源モジュールを接続すること
により、発音される楽音のポリフォニック数を接続台数
に応じて拡張することを可能にし、特に各音源モジュー
ル毎に簡単な操作でポリフォニック数の設定を可能にす
ることを目的とする。
An object of the present invention is to make it possible to expand the polyphonic number of musical tones produced according to the number of connected sound source modules by connecting a plurality of sound source modules, and in particular to set the polyphonic number for each sound source module with a simple operation. The purpose is to make it possible.

[課題を解決するための手段〕 本発明は、外部からノート情報を受信可能で、該ノート
情報により楽音の発音制御が可能な音源装置を前提とす
る。この場合、各音源装置は、例えばMIDIにより相
互に接続され、また、例えばそのうちの1台が鍵盤等の
演奏部を有し、そこでの演奏動作により演奏部から出力
されるノート情報に基づいて自己の音源及び外部に接続
される音源モジュールを制御するような構成にできる。
[Means for Solving the Problems] The present invention is based on a sound source device capable of receiving note information from the outside and controlling the production of musical tones based on the note information. In this case, each sound source device is connected to each other by MIDI, for example, and one of them has a performance section such as a keyboard, and the sound source devices are connected to each other by, for example, a playing section such as a keyboard. The configuration can be configured to control the sound source and the externally connected sound source module.

上記音源モジュールにおいて、まず、ポリフォニック領
域指定手段は、複数のポリフォニックチャンネルからな
る第1のポリフォニック領域内で、第2のポリフォニッ
ク領域を機器番号を指定することにより指定する手段で
ある。ここで、ポリフォニックチャンネルとは、楽音を
発音する場合に複数の音階で同時に発音可能とするため
の複数の発音チャンネルのことをいう。例えば、ポリフ
ォニック数(同時発音可能数)を64まで可能とした場
合、第1のポリフォニック領域は、第1チャンネルから
第64チヤンネルまでをいう。そして、第2のポリフォ
ニック領域とは、上記チャンネル範囲のうち、例えば第
9チヤンネルから第16チヤンネルまでをいう。そして
、この例の場合、ポリフォニック領域指定手段は、例え
ば機器番号1を指定すると第1〜第8チヤンネルの第2
のポリフォニック領域が指定され、機器番号2を指定す
ると第9〜第16チヤンネルの第2のポリフォニック領
域が指定されるというように、機器番号を入力するだけ
で自動的に第2のポリフォニック領域が指定される手段
であり、例えばカーソルスイッチとLCD等の表示装置
および、指定された機器番号から第2のポリフォニック
領域の上限値と下限値を演算する演算手段である。
In the above sound source module, first, the polyphonic area specifying means is a means for specifying a second polyphonic area within a first polyphonic area consisting of a plurality of polyphonic channels by specifying a device number. Here, the term "polyphonic channel" refers to a plurality of sounding channels that allow simultaneous sounding of a plurality of scales when producing musical tones. For example, if the polyphonic number (number of simultaneous sounds) is allowed to be up to 64, the first polyphonic area refers to channels from the first channel to the 64th channel. The second polyphonic region refers to, for example, from the 9th channel to the 16th channel in the channel range described above. In this example, when the polyphonic area specifying means specifies device number 1, for example, the polyphonic area specifying means specifies the second
If you specify the device number 2, the second polyphonic area of channels 9 to 16 will be specified, and so on, just by entering the device number, the second polyphonic area will be specified automatically. For example, it is a cursor switch, a display device such as an LCD, and an arithmetic means for calculating the upper limit value and lower limit value of the second polyphonic area from the specified device number.

次に、ノート情報記憶手段は、前記第1のポリフォニッ
ク領域内の各ポリフォニックチャンネル毎にノート情報
を記憶する手段である。同手段は、例えば前記第1チヤ
ンネルから第64チヤンネルに対応する各アドレスに、
ノートナンバー又は消音中であることを示すコードその
他の情報を記憶可能なメモリである。
Next, the note information storage means is means for storing note information for each polyphonic channel in the first polyphonic area. The means includes, for example, each address corresponding to the first channel to the 64th channel.
This is a memory that can store note numbers, codes indicating that the sound is muted, and other information.

続いて、ポリフォニックチャンネル制御手段は、ノート
情報を受信した場合に、所定の規則に従ってノート情報
記憶手段上の前記第1のポリフォニック領域内のポリフ
ォニックチャンネルのノート情報を更新する手段である
。同手段は、例えばノートオン(発音指示)データを受
信した場合に、前記ノート情報記憶手段上の第1チヤン
ネルから第64チヤンネルに対応する各アドレスのうち
、現在空いているチャンネル又は消音中のチャンネルに
、若いアドレスから順にノートオンすべきノートナンバ
ーをセーブする制御を行う、また、ノートオフ(消音指
示)データを受信した場合に、上記各アドレスに記憶さ
れているノートナンバーのうち、ノートオフすべきノー
トナンバーと一致するものを消音中を表すコードに変更
する制御を行う。その他、音高変更(ベンド指示)又は
各種効果の変更等を指示するノート情報に従って、記憶
内容を上記と同様に制御する手段としてもよい。
Subsequently, the polyphonic channel control means is means for updating the note information of the polyphonic channel in the first polyphonic area on the note information storage means according to a predetermined rule when note information is received. For example, when note-on (pronunciation instruction) data is received, the means selects a currently vacant channel or a muted channel among the addresses corresponding to the first channel to the 64th channel on the note information storage means. In addition, when note-off (mute instruction) data is received, note-off data is saved among the note numbers stored in each of the above addresses. Control is performed to change the note number that matches the note number to a code indicating that the sound is muted. Alternatively, the stored content may be controlled in the same manner as described above in accordance with note information that instructs changes in pitch (bend instructions) or changes in various effects.

更に、楽音制御手段は、ノート情報記憶手段上の前記第
2のポリフォニック領域内の各ポリフォニックチャンネ
ルに記憶されているノート情報に基づいて楽音の発音制
御を行う手段である。同手段は、例えば前記ノート情報
記憶手段上の例えば第1〜第64チヤンネルに対応する
アドレスのうち、自己の音源モジュールに指定された例
えば第9〜第16チヤンネルのアドレスのうち何れかに
ノートナンバーが記憶されれば、そのノートナンバーで
発音を開始し、また、消音中を表すコードが記憶されれ
ば、今までそこに記憶されていたノートナンバーに対応
する発音中の楽音を消音する。
Further, the musical tone control means is means for controlling the sound production of musical tones based on the note information stored in each polyphonic channel in the second polyphonic area on the note information storage means. The means may assign a note number to any one of the addresses corresponding to, for example, the 1st to 64th channels on the note information storage means, for example, the addresses of the 9th to 16th channels designated for the own sound source module. If stored, sound generation starts with that note number, and if a code indicating muting is stored, the currently sounding musical tone corresponding to the note number stored so far is muted.

上記構成において、楽音制御手段は、ノート情報記憶手
段上の前記第2のポリフォニック領域内の各ポリフォニ
ックチャンネルに記憶されているノート情報に基づいて
楽音の発音制御を行うモードと、前記受信したノート情
報に基づいて無条件に楽音の発音制御を行うモードとを
切り換えて制御可能としてもよい。
In the above configuration, the musical tone control means has a mode in which musical tone production is controlled based on note information stored in each polyphonic channel in the second polyphonic area on the note information storage means, and a mode in which musical tone production is controlled based on note information stored in each polyphonic channel in the second polyphonic area on the note information storage means. It may also be possible to switch between a mode in which musical tones are unconditionally controlled based on the following.

また、前記外部から入力する前記ノート情報はMIDI
  (Musical  Instrument  D
igital  Interface)方式に従って入
力するようにし、ポリフォニック領域指定手段、ノート
情報記憶手段、ポリフォニックチャンネル制御手段及び
楽音制御手段の各々は、MIDIチャンネル毎に独立し
て動作するようにしてもよい。
Further, the note information inputted from the outside is MIDI.
(Musical Instrument D
The polyphonic area specifying means, the note information storage means, the polyphonic channel control means, and the tone control means may each operate independently for each MIDI channel.

〔作   用〕[For production]

本発明の作用は、以下の通りである。 The effects of the present invention are as follows.

まず、上記のような音源モジュールを複数台接続した場
合、全ての音源モジュールで前記第1のポリフォニック
領域は共通である。そして、各音源モジュール毎に、前
記第2のポリフォニック領域を例えば互いに重ならない
ように指定する。すなわち、1台目の音源モジュールで
は機器番号1を指定して第1〜第8チヤンネルまで、2
台目の音源モジュールでは機器番号2を指定して第9〜
第16チヤンネルまでというように指定する。
First, when a plurality of sound source modules as described above are connected, the first polyphonic area is common to all the sound source modules. Then, for each sound source module, the second polyphonic areas are specified so as not to overlap with each other, for example. In other words, for the first sound source module, specify device number 1 and use channels 1 to 8, 2
For the 1st sound source module, specify device number 2 and
Specify up to the 16th channel.

上記指定の後、各音源モジエールを同時に動作させた場
合、各音源モジュールにおけるノート情報記憶手段上の
更新動作は、同じ規則に従って完全に一致して行われる
。そして、各音源モジエールは、各々に指定された第2
のポリフォニック領域内のポリフォニックチャンネルの
みを分担して楽音の発音制御を行う。
After the above specification, when each sound source module is operated at the same time, the updating operations on the note information storage means in each sound source module are performed completely in unison according to the same rule. Then, each sound source modière is assigned a second
Only the polyphonic channels within the polyphonic area of the musical tones are controlled.

従って、接続された音源モジュール全体では、あたかも
1台の音源モジュールで楽音を発音しているように動作
する。
Therefore, the connected sound source modules as a whole operate as if a single sound source module were producing musical tones.

この場合、各音源モジュールのポリフォニック領域指定
手段は、機器番号によって第2のポリフォニック領域を
簡単に指定でき、演奏中等においても素早い設定が可能
となる。
In this case, the polyphonic area specifying means of each sound source module can easily specify the second polyphonic area using the device number, and quick setting is possible even during a performance.

〔実  施  例〕〔Example〕

以下、図面を参照しながら本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

(本実皇五q盪底) 第1図は、本発明の実施例の全体構成図である。(Honjitsu-ko 5q bottom) FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

本実施例は、外部からのMIDIデータを入力すること
により楽音を発音する音源モジュールタイプの電子楽器
として実現され、鍵盤部等の演奏部は具備していない、
従って、鍵盤部等の演奏部はにIDIを介して外部に接
続されるが、外部からMIDIデータ等としてN0TE
 ONデータ及びN0TE OFFデータを入力可能で
あれば、鍵盤部等を有する通常の電子楽器として実現し
てもよい。
This embodiment is realized as a sound source module type electronic musical instrument that produces musical tones by inputting MIDI data from the outside, and does not include a performance section such as a keyboard section.
Therefore, the performance section such as the keyboard section is connected to the outside via the IDI, but the NOTE is transmitted as MIDI data etc. from the outside.
As long as ON data and N0TE OFF data can be input, it may be realized as a normal electronic musical instrument having a keyboard section or the like.

第1図において、外部入力インタフェース回路lは、シ
リアルデジタル信号であるMIDIデータを受信するイ
ンタフェース回路である。
In FIG. 1, an external input interface circuit 1 is an interface circuit that receives MIDI data, which is a serial digital signal.

CPU4は、ROM2に記憶されているプログラムに従
い、また、RAM3をデータメモリとして用いながら、
後述する各動作フローチャートを実行する。これにより
、外部入力インタフェース回路1より14IDIデータ
を受信し、コンソール部インタフェース回路5を介して
、コンソールスイッチ8の各スイッチのオン/オフ状態
を入力すると共に表示装置9を制御し、これら各処理に
基づいて、楽音発音のための制御処理を行う。なお、表
示装置9は、LCDによって構成される。
The CPU 4 follows the program stored in the ROM 2 and uses the RAM 3 as a data memory.
Each operation flowchart described later is executed. This receives 14 IDI data from the external input interface circuit 1, inputs the on/off state of each switch of the console switch 8 through the console interface circuit 5, controls the display device 9, and performs each of these processes. Based on this, control processing for musical tone generation is performed. Note that the display device 9 is configured by an LCD.

音源回路6は、8音を同時に発音可能な楽音発生回路で
あり、CPU4から発音の開始・終了、音色の設定及び
ビブラート等、発音に関する制御処理に基づいて、8音
対応の8時分割処理によって楽音の発音処理を行い、デ
ジタルの楽音信号を出力する。
The tone generator circuit 6 is a musical tone generation circuit that can simultaneously generate eight tones, and based on control processing related to pronunciation, such as start and end of tone generation, tone settings, and vibrato, from the CPU 4, the tone generator circuit 6 performs 8-time division processing corresponding to eight tones. Performs musical tone pronunciation processing and outputs a digital musical tone signal.

D/A部7は、音源回路6から出力されるデジタル楽音
信号をD/A変換した後、ローパスフィルタでろ波する
ことにより、アナログ楽音信号を出力する回路である。
The D/A section 7 is a circuit that performs D/A conversion on the digital musical tone signal output from the sound source circuit 6, and then filters it with a low-pass filter to output an analog musical tone signal.

このアナログ楽音信号は、音源モジュール本体から外部
に出力され、外部の増幅器及びスピーカ又はヘッドホン
等を介して放音される。
This analog musical tone signal is output from the main body of the sound source module to the outside, and is emitted via an external amplifier, speaker, headphones, or the like.

(本ス!側肱1) 本実施例では、外部から楽音データを入力して楽音を発
音する第1図の構成の音源モジュールタイプの電子楽器
を、楽音データ転送用の専用インタフェースMIDI(
Musical Instrument Digita
l Interface)により複数台接続し、それら
複数台の音源モジュールを1台の楽器として使用できる
ようにするものである。すなわち、通常、音源モジュー
ル1台では、同時発音可能なポリフォニック数は8音程
度であり、従来はこれらを複数台接続しても8音ポリフ
オニツクの楽音がその台数分電なって発音されるだけだ
が、本実施例では8音ポリフオニツクの音源モジュール
を2台接続すると16音ポリフオニツクの1台の楽器と
して使用でき、そのような接続を最大8台まで可能とし
、従って64音ポリフオニツクまで実現することができ
る。
(Main S! Side Elbow 1) In this embodiment, a sound source module type electronic musical instrument configured as shown in FIG.
Musical Instrument Digital
A plurality of sound source modules can be connected to each other via a 1-interface, and the plurality of sound source modules can be used as a single musical instrument. In other words, normally, the number of polyphonic notes that can be produced simultaneously by one sound source module is about 8, and conventionally, even if multiple of these modules were connected, the 8-note polyphonic musical tones would only be produced as many times as the number of sounds. In this embodiment, when two 8-note polyphonic sound source modules are connected, they can be used as a single 16-note polyphonic instrument, making it possible to connect up to 8 such instruments, thus realizing up to a 64-note polyphonic instrument. .

そのため、第1図の構成の各音源モジュール毎に最大8
音ポリフオニツクまでの範囲で、ポリナンバーというも
のを定義可能としている。この場合、さらにMASHI
NE Nαというものを定義し、演奏者は、1台目の音
源モジュールに例えばMASHINENll=1を割り
当てると、自動的に阻1〜Nα8のポリナンバーが割り
当てられ、2台目の音源モジュールに例えばMAS)I
INE Nα−2を割り当てると、自動的にN119〜
魔16のポリナンバーが割り当てられるようにすれば、
設定動作を楽にできる。そして、上記設定例で演奏者が
例えば外部の鍵盤等で演奏を開始し、押鍵操作に基づ<
 N0TE ONデータ(発音開始データ)がMIDI
を介して1台目及び2台目の音源モジュールに順次入力
すると、第1音目から第8音目までの各N0TE ON
データによって指示されるNoTE番号(音階番号、以
下N0TE No、)は、1台目の音源モジュールの毘
1〜Nα8のポリナンバーに若い番号順に順次割り当て
られ、1台目の音源モジュールで発音される。さらに、
第9音目以降の各N0TE ONデータが入力すると、
2台目の音源モジュールのNa9以降のポリナンバーに
順次割り当てられて、2台目の音源モジュールで発音さ
れる。この処理中に、現在押鍵中の何れかの鍵が離鍵さ
れ、対応するN0TE OFFデータ(消音指示データ
)が入力すると、そのデータで指示されるN0TENo
、が割り当てられているポリナンバーの楽音が消音され
る。それ以後、新たなN0TE ONデータが入力する
と、現在空いているポリナンバーのうち最も番号の若い
ものに割り当てられ、そのポリナンバーが含まれる音源
モジュールで発音される。
Therefore, each sound source module in the configuration shown in Figure 1 has a maximum of 8
It is possible to define polynumbers within the range of sound polyphonics. In this case, MASHI
When the performer defines NE Nα and assigns, for example, MASHINENll=1 to the first sound source module, a poly number of 1 to Nα8 is automatically assigned to the second sound source module, and the performer assigns, for example, MASHINENll=1 to the second sound source module. )I
When INE Nα-2 is assigned, N119~
If a poly number of 16 is assigned,
Setting operations can be made easier. Then, in the above setting example, the performer starts playing, for example, on an external keyboard, and based on the key press operation, <
N0TE ON data (sound start data) is MIDI
When inputting to the first and second sound source modules sequentially via
The NoTE number (scale number, hereinafter referred to as N0TE No) specified by the data is sequentially assigned to the poly numbers from bi1 to Nα8 of the first sound source module in ascending order of numbers, and is sounded by the first sound source module. . moreover,
When each N0TE ON data after the 9th note is input,
They are sequentially assigned to poly numbers starting from Na9 of the second sound source module, and are produced by the second sound source module. During this process, if any key that is currently being pressed is released and the corresponding N0TE OFF data (mute instruction data) is input, the N0TE No.
The musical tone of the poly number to which , is assigned is muted. After that, when new N0TE ON data is input, it is assigned to the lowest polynumber among the currently available polynumbers, and the tone generator module that includes that polynumber produces sound.

以上の動作を、接続されている全ての音源モジュールが
互いに同期して行い、演奏者は音源モジュールを望みの
台数分接続することにより、所望のポリフォニック数で
の楽音の発音が可能となる。
All the connected sound source modules perform the above operations in synchronization with each other, and by connecting the desired number of sound source modules, the performer can produce musical tones with a desired polyphonic number.

そのため、第1図の構成の各音源モジュールのRAMa
内に、自己に割り当てられているポリナンバーに関する
状態と共に他の全ての音源モジュールに割り当てられて
いるポリナンバーに関する状態を保持するN0TE 5
AVE MEMORY トイウテ−7” JL/ ヲ有
し、N0TE ON及びN0TE OFFの各データが
入力する毎に、上記テーブルの内容を全ての音源モジュ
ールが一定の規則に従って、完全に同期して更新するよ
うにしている。これが本実施例の大きな特徴である。
Therefore, the RAM of each sound source module with the configuration shown in FIG.
N0TE 5 holds the state regarding the poly number assigned to itself as well as the state regarding the poly number assigned to all other sound source modules.
AVE MEMORY 7" JL/ is installed, and every time N0TE ON and N0TE OFF data is input, all sound source modules update the contents of the above table in complete synchronization according to a certain rule. This is a major feature of this embodiment.

以下の説明では、上記動作を実現するための第1図の構
成の1台あたりの音源モジュールの動作につき、詳細に
説明する。なお、本実施例では、各音源モジュール毎に
上記ポリフォニックの同期動作を行うモードと、従来通
り他の音源モジュールからは独立して動作するモードを
切り換えることができ、以下前者をポリ同期動作ENA
BLEモード、後者をポリ同期動作DISABLEモー
ドと呼ぶことにする。
In the following description, the operation of each sound source module having the configuration shown in FIG. 1 for realizing the above operation will be explained in detail. In this embodiment, each sound source module can be switched between a mode in which the polyphonic synchronous operation is performed and a mode in which it operates independently from other sound source modules as in the past.
BLE mode, and the latter will be referred to as polysynchronous operation DISABLE mode.

(のi    ) 第2図は、本実施例のメイン動作フローチャートである
(i) FIG. 2 is a main operation flowchart of this embodiment.

まず、特には図示しない電源スィッチが投入されると、
Slでイニシャライズ処理を行う。ここでは、第1図の
RAM3の記憶内容の初期化、音源回路6のリセットと
音色設定等を行う。
First, when the power switch (not shown) is turned on,
Initialization processing is performed in Sl. Here, the contents of the RAM 3 shown in FIG. 1 are initialized, the tone generator circuit 6 is reset, tone color settings, etc. are performed.

そして、S2のスイッチチェンジ処理及びS3のMID
I IN処理(共に後述する)を繰り返すことにより、
楽音発音のための制御を行う。
Then, switch change processing of S2 and MID of S3
By repeating the I IN process (both described later),
Performs control for musical tone pronunciation.

これとは別に、一定時間間隔で割り込み(インターラブ
ド)が発生し、S4において第1図の音源回路6の制御
処理が実行される。この処理は本発明には直接は関係し
ないが、音源回路6で発音される楽音信号にビブラート
効果を付加する処理である。この効果は、一定時間間隔
で楽音の音程にゆらぎを与える効果であるため、上記の
ように一定時間間隔の割り込み処理によって制御するよ
うにしている。
Apart from this, an interrupt occurs at regular time intervals, and in S4 the control process for the sound source circuit 6 in FIG. 1 is executed. Although this process is not directly related to the present invention, it is a process that adds a vibrato effect to the musical tone signal generated by the tone generator circuit 6. This effect is an effect that causes the pitch of the musical tone to fluctuate at regular time intervals, so it is controlled by interrupt processing at regular time intervals as described above.

第1図のコンソールスイッチ8及び表示装置9の外観構
成を第3図に示す。同図において、LCD9は第1図の
表示装置9である。その他の部分は、第1図のコンソー
ルスイッチ8に対応する。
FIG. 3 shows the external configuration of the console switch 8 and display device 9 shown in FIG. 1. In the figure, an LCD 9 is the display device 9 of FIG. The other parts correspond to the console switch 8 in FIG.

ここで、モード設定スイッチ(MODE)  I Oは
、前記LCD9により表示されるパラメータのモードを
設定する(これについては後述する)、また、カーソル
スイッチ11.12で、LCDQ内に表示されている複
数のデータのうち1つを選択し、選択したデータの変更
をUPスイッチ14及びDOWNスイッチ13で行う。
Here, the mode setting switch (MODE) IO sets the mode of the parameters displayed by the LCD 9 (this will be described later), and the cursor switches 11 and 12 set the mode of the parameters displayed on the LCDQ. , and change the selected data using the UP switch 14 and the DOWN switch 13.

更に、#1〜#8の番号が付与されているスイッチ15
〜22によって、発音すべき音色を選択する。
Furthermore, switches 15 numbered #1 to #8
-22 select the tone to be produced.

次に、第4図は第2図31のスイッチチェンジ処理の詳
細であり、この処理は第2図で示すように繰り返し実行
され、第3図の各スイッチ10〜22が切り替えられた
か否かを常に監視しており、切り替えられたスイッチに
対応するモードの処理を行う。
Next, FIG. 4 shows the details of the switch change process shown in FIG. 2 31, and this process is repeatedly executed as shown in FIG. It constantly monitors and processes the mode corresponding to the switched switch.

まず、S5では、MASHINE No、設定モードか
否かを判定する。今、LCD9には、例えば音色設定の
情報、エフェクト設定の情報等の様々なモードの情報の
表示が可能であるが、そのモード表示は、第3図のモー
ド設定スイッチ10を1回押す毎に切り替わる。ここで
、本発明に特に関係するのは、MASHINE Nα設
定モードである。そして、MASJ(INENa設定モ
ード以外−ドが表示されている場合には、S9でMAS
HINE Nα設定モード以外の処理、例えば第3図の
スイッチ15〜22による音色の設定変更、又は特には
図示しないスイッチによるエフェクトの設定変更等を行
った後、スイッチチェンジ処理を終了する。
First, in S5, it is determined whether MASHINE No. is the setting mode. Currently, the LCD 9 can display various mode information such as tone setting information, effect setting information, etc., but the mode display changes each time the mode setting switch 10 in FIG. 3 is pressed once. Switch. Of particular relevance to the present invention here is the MASHINE Na setting mode. If MASJ (other than INENa setting mode) is displayed, MASJ (other than INENa setting mode) is displayed.
After processing other than the HINE Nα setting mode, for example, changing tone color settings using switches 15 to 22 in FIG. 3, or changing effect settings using switches not shown, the switch change processing ends.

これとは逆に、MAS)IINE Nα設定モードが表
示されている場合にはS6に進み、第3図のモード設定
スイッチlOが切り替えられたか否かを判定する。判定
がYESの場合には310に進み、ここで第3図のLC
D9に表示のモードを現在のMASHINE NIL設
定モードからモード設定スイッチ10の切り替え動作に
対応する他のモードに切り替えた後、第2図S2のスイ
ッチチェンジ処理を終了する。従って、これ以後第2図
33のMIDI IN処理を経て再び第2図82のスイ
ッチチェンジ処理になると、第3図35の判定がNOと
なり、S9で前記したようなMASHINE Nilポ
リ数設定モード以外の処理が実行される。なお、特には
図示しないが、S9の処理の中にも、S6→310と同
様の処理フローがあり、そこでモード設定スイッチ10
が切り替えられてMASHINE Nα設定モードにな
ると、S5の判定がYESとなってMAS)IINE阻
設定モードの処理に戻る。
On the contrary, if the MAS)IINE Nα setting mode is displayed, the process advances to S6, and it is determined whether the mode setting switch 10 in FIG. 3 has been switched. If the determination is YES, the process advances to 310, where the LC of FIG.
After switching the mode displayed at D9 from the current MASHINE NIL setting mode to another mode corresponding to the switching operation of the mode setting switch 10, the switch change process of S2 in FIG. 2 is completed. Therefore, when the switch change process of FIG. 2 82 is started again after going through the MIDI IN process of FIG. 2 33, the determination in FIG. Processing is executed. Although not specifically shown, there is a processing flow similar to S6→310 in the processing of S9, and the mode setting switch 10 is
When the MASHINE Na setting mode is switched, the determination in S5 becomes YES and the process returns to the MAS) IINE setting mode.

S6の判定がNoの場合37に進み、ここで第3図のカ
ーソルスイッチ11.12の何れかが切り替えられたか
否かが判定される。判定がYESの場合Sllに進み、
LCD9内に表示されている複数のデータのうち1つを
選択する。本実施例では、MASHINE Nα設定モ
ードにおける第3図のしCD9の表示は、例えば第5図
のようになっている。すなわち、「本実施例の概略動作
」の項でも説明したように、本実施例による音源モジュ
ールは、各モジュール毎にMASHINE Naを設定
でき、そのMASHINE Naは第5図のP2の位置
に示される数字によって表示される。なお、その下の2
つの数字は、MASHINE Ntlに対応してその音
源モジュールに設定される前記ポリナンバーである。同
図の例では、MASHINE N(L= 2でNα9〜
Nα16のポリナンバーが割り当てられていることを表
示している。また、第5図のPlの位置に表示される記
号ONは、現在自己の音源モジュールが1本実施例の概
略動作」の項で説明したポリ同期動作ENABLEモー
ドであることを表示し、また、この表示がOFFの場合
、ポリ同期動作DISABLEモードであることを表示
する。そして、Pl、P2の各位置に表示される状態は
、第3図のDOWNスイッチ13及びUPスイッチ14
によって切り換えられるが、第3図のカーソルスイッチ
11.12は、これらPl、P2のどちらの位置の状態
を変更するかを選択する。
If the determination in S6 is No, the process proceeds to 37, where it is determined whether any of the cursor switches 11, 12 in FIG. 3 has been switched. If the judgment is YES, proceed to Sll,
Select one of the plurality of data displayed on the LCD 9. In this embodiment, the display of the CD 9 shown in FIG. 3 in the MASHINE Na setting mode is, for example, as shown in FIG. 5. That is, as explained in the section "General operation of this embodiment", the sound source module according to this embodiment can set MASHINE Na for each module, and the MASHINE Na is shown at position P2 in FIG. displayed by numbers. In addition, 2 below
This number is the poly number set in the sound source module corresponding to MASHINE Ntl. In the example in the same figure, MASHINE N (L = 2 and Nα9 ~
It is displayed that a poly number of Nα16 has been assigned. Further, the symbol ON displayed at the position of Pl in FIG. 5 indicates that the current self-sound source module is in the poly-synchronization operation ENABLE mode as explained in the section ``Overview of operation of this embodiment'', and When this display is OFF, it indicates that the polysynchronous operation is in DISABLE mode. The states displayed at each position of Pl and P2 are the DOWN switch 13 and the UP switch 14 in FIG.
The cursor switch 11.12 in FIG. 3 selects which of these positions, Pl and P2, is to be changed.

すなわち、第5図では現在、Plの位置にカーソル23
があり、Plの位置のデータが変更可能であるが、第3
図のカーソルスイッチ11.12を押すことにより、カ
ーソル23の位置をPlとP2の位置の間で任意に移動
させることができ、これによりカーソル23の移動した
位置のデータが変更可能となる。このカーソル変更処理
を行うのが第4図の311であり、このカーソル変更処
理の後、第2図S2のスイッチチェンジ処理を終了する
That is, in FIG. 5, the cursor 23 is currently located at the position of Pl.
There is, and the data of the position of Pl can be changed, but the third
By pressing the cursor switches 11 and 12 shown in the figure, the position of the cursor 23 can be arbitrarily moved between the positions P1 and P2, thereby making it possible to change the data at the position to which the cursor 23 has moved. This cursor change process is performed at step 311 in FIG. 4, and after this cursor change process, the switch change process at S2 in FIG. 2 is completed.

上記処理の後、第2図33のMIDI IN処理を経て
再び第2図32のスイッチチェンジ処理になると、第3
図37の判定がNoとなり、S8で第3図のDOWNス
イッチ13又はUPスイッチ14が押されたか否かが判
定される。何れも押されていなければS8の判定はNo
となり、そのまま第2図32のスイッチチェンジ処理を
終了する。
After the above processing, the MIDI IN processing shown in FIG. 233 is performed, and then the switch change processing shown in FIG.
The determination in FIG. 37 is No, and in S8 it is determined whether the DOWN switch 13 or the UP switch 14 in FIG. 3 has been pressed. If neither is pressed, the judgment of S8 is No.
Then, the switch change process of FIG. 232 is ended.

E記とは逆に何れかのスイッチが押された場合において
、第5図のLCD9上でPlの位置にカーソル23があ
れば、312の判定がNOとなって、S14のDIS、
/ENA、変更処理を行う。また、第5図のLCD9上
でP2の位置にカーソル23があれば、S12の判定が
YESとなって、S13のMAS)IINE Nα変更
処理を行う。
Contrary to E, if any switch is pressed and the cursor 23 is at the position of Pl on the LCD 9 in FIG.
/ENA, performs change processing. Further, if the cursor 23 is located at the position P2 on the LCD 9 in FIG. 5, the determination in S12 becomes YES, and the MAS) IINE Nα changing process in S13 is performed.

以下、上記2つの処理を順を追って説明する。The above two processes will be explained in order below.

まず、S14のDIS、/ENA、変更処理は、前記し
たように、現在の自己の音源モジュールのモードを、第
3図のDOWNスイッチ13又はUPスイッチ14によ
って、ポリ同期動作のENABLEモードとDISAB
LEモードとで切り換える処理である。第6図に第4図
314の処理の詳細を示す。
First, in the DIS, /ENA, change processing in S14, as described above, the mode of the current own sound source module is changed to ENABLE mode of polysynchronous operation and DISAB mode by the DOWN switch 13 or UP switch 14 in FIG.
This is a process for switching between LE mode and LE mode. FIG. 6 shows details of the processing in FIG. 4 314.

まず、517で現在のモードが前記ポリ同期動作のDI
SABI、EモードであるかENABLEモードである
かが判定される。
First, in 517, the current mode is DI of the polysynchronous operation.
It is determined whether the mode is SABI, E mode or ENABLE mode.

DISABLEモードすなわち第5図P1の位置の表示
がOFFであれば、317の判定がYESとなり、31
8でJOB DISAI3LE FLAGをリセットす
る。このフラグについては後に詳述するが、DISAB
LEモードかENABLEモードかを設定するフラグで
あり、第1図のRAM5内に構成される発音数割り当て
制御メモリのFLAG内に設けられる(第8図参照)。
If the DISABLE mode, that is, the display of the position P1 in FIG.
8 to reset JOB DISAI3LE FLAG. This flag will be explained in detail later, but DISAB
This is a flag for setting the LE mode or the ENABLE mode, and is provided in FLAG of the number of pronunciation allocation control memory configured in the RAM 5 of FIG. 1 (see FIG. 8).

そして、このフラグはS18でリセットされることによ
りENABLEモードに変化する。この処理と共に、第
5図P1の位置の表示をONにする。
Then, this flag is reset in S18 to change to the ENABLE mode. Along with this process, the display of the position P1 in FIG. 5 is turned on.

一方、現在のモードがENABLEモードずなわち第5
図P1の位置の表示がONであれば、S17の判定がN
Oとなり、S 19 ”i?JOB [)ISABLE
 FLAGがセットされることでDISABLEモード
に変化する。この処理と共に、第5図P1の位置の表示
をOFFにする。
On the other hand, the current mode is the ENABLE mode, that is, the fifth mode.
If the display of the position in figure P1 is ON, the determination in S17 is N.
O, S 19 ”i?JOB [) ISABLE
When FLAG is set, the mode changes to DISABLE mode. Along with this process, the display of the position P1 in FIG. 5 is turned off.

なお、上記31B又は319の処理は、第3図のDOW
Nスイッチ13又はUPスイッチ14のどちらが押され
ても同様に行われ、両スイッチの区別はない。
Note that the process of 31B or 319 above is the DOW of FIG.
The same operation is performed regardless of whether the N switch 13 or the UP switch 14 is pressed, and there is no distinction between the two switches.

上記S18又は319の処理の後、S20で第1図のR
AM5内に構成される第8図の発音数割り当て制御メモ
リの、各POINTER5COUNTER、FLAG及
びN0TE 5AVE MEMORYをイニシャライズ
(0にクリア)し、発音中の楽音を全て消音する。なお
、同メモリについては後述する。
After the processing in S18 or 319, R in FIG.
Initialize (clear to 0) each POINTER5COUNTER, FLAG, and N0TE5AVE MEMORY of the sound generation number allocation control memory shown in FIG. 8 configured in the AM5, and mute all musical tones that are being generated. Note that the memory will be described later.

以上第6図に示される第4図S14のDIS、/ENA
DIS, /ENA of S14 in FIG. 4 shown in FIG.
.

変更処理の後、第2図32のスイッチチェンジ処理を終
了する。
After the change processing, the switch change processing shown in FIG. 2 is completed.

次に、第4図S13のMASIIINE Nα変更処理
は、第3図のDOWNスイッチ13又はUPスイッチ1
4によって、前記したように現在の自己の音源モジュー
ルに設定されているMASHINE No、を変更し、
これによりポリナンバーの範囲を変更する処理である。
Next, the MASIIIINE Nα change process in S13 in FIG.
4, change the MASHINE No. set in the current own sound source module as described above,
This is the process of changing the range of poly numbers.

第7図に第4図513の処理の詳細を示す。FIG. 7 shows details of the process of FIG. 4 513.

まず、521で第3図のUPスイッチ14が切り換えら
れたか否かが判定される。この場合、既に第4図の58
で、第3図のDOWNスイッチ13又はU Pスイッチ
14の何れかが押されたと判定されているため、S21
の判定がNoならDOWNスイッチ13が押され、YE
SならtJPスインチ14が押されたことになる。
First, in step 521, it is determined whether the UP switch 14 in FIG. 3 has been switched. In this case, 58 in FIG.
Since it is determined that either the DOWN switch 13 or the UP switch 14 in FIG. 3 has been pressed, S21
If the judgment is No, the DOWN switch 13 is pressed and YE
If S, it means that tJP switch 14 was pressed.

DOWNスイッチ13が押され321の判定がYESの
場合、522でレジスタMASHINE Nαの値がO
であるか否かが判定される。レジスタMASHINE阻
は後に詳述するが、MASHINE NO,を設定する
レジスタであり、第1図のRAMa内に構成される発音
数割り当て制御メモリ内に設けられる(第8図参照)、
ここで、MASHINE Nαとして指定できる最小値
は1とし、レジスタMASHINE No、上の値では
それより1だけ少ない0を最小値とする。従って、レジ
スタMASHINE kの値がOであればそれ以下に設
定できないため、322の判定がYESとなってそのま
ま第4図313のMASHINE k変更処理を終了す
る。上記レジスタの内容が0でなければ、323でレジ
スタMASHINE kの値が−1される。
If the DOWN switch 13 is pressed and the determination at 321 is YES, the value of the register MASHINE Nα is set to O at 522.
It is determined whether or not. The MASHINE register, which will be described in detail later, is a register for setting MASHINE NO, and is provided in the number of pronunciation allocation control memory configured in RAMa in FIG. 1 (see FIG. 8).
Here, the minimum value that can be specified as MASHINE Nα is 1, and the minimum value of the register MASHINE No. and above is 0, which is one less than that value. Therefore, if the value of the register MASHINE k is O, it cannot be set lower than that, so the determination at 322 becomes YES and the MASHINE k changing process at 313 in FIG. 4 is ended. If the contents of the register are not 0, then in 323 the value of the register MASHINE k is decremented by 1.

これと共に、第5図のLCD9のP2の位置にレジスタ
MASHINE Nαの値に+1した値が表示される。
At the same time, a value obtained by adding 1 to the value of the register MASHINE Nα is displayed at position P2 on the LCD 9 in FIG.

逆に、UPスイッチ14が押され321の判定がNOの
場合、S24でレジスタMASHINE Nαの値が7
以上か否かが判定される。MASHINE kとして指
定できる最大値は8とし、レジスタMASIIINE 
k上の値ではそれより1だけ少ない7を最大値とする。
Conversely, if the UP switch 14 is pressed and the determination in 321 is NO, the value of the register MASHINE Nα is set to 7 in S24.
It is determined whether or not the value is greater than or equal to the value. The maximum value that can be specified as MASHINE k is 8, and register MASHINE
For the values on k, the maximum value is 7, which is one less than that.

従って、レジスタMASHINE Nαの値が7であれ
ばそれ以上に設定できないため、324の判定がYES
となってそのまま第4図S13のMASIilNENα
変更処理を終了する。上記レジスタの内容が6以下であ
れば、325でレジスタHASHINE Nαの値が+
1される。これと共に、第5図のLCD9のP2の位置
にレジスタMASI(INE Nαの値に+1した値が
表示される。
Therefore, if the value of register MASHINE Nα is 7, it cannot be set higher than that, so the determination of 324 is YES.
As it is, MASIilNENα in S13 of Figure 4
Finish the modification process. If the contents of the above register are 6 or less, the value of register HASHINE Nα is + at 325.
1 will be given. At the same time, a value obtained by adding 1 to the value of register MASI (INE Nα) is displayed at position P2 on the LCD 9 in FIG.

上記S23又はS25の処理の後、326の処理に進む
。ここでは、変更されたMASHINE Nαの値を8
倍した数値をJOB RANGE LOWERPOIN
TERにセーブし、更に、それに7を加算した数値を、
JOBRANGE UPPERPOINTERにセーブ
する。この場合、JOB RANGE LOWERPO
INTER及びJOB RANGE UPPERPOI
NTERは後に詳述するが、ポリナンバーの下限及び上
限の値を設定するポインターであり、第1図のRAMa
内に構成される発音数割り当て制御メモリ内に設けられ
る(第8図参照)。ここで、レジスタMASHINE随
の値と、上記側POINTERの値との関係は以下のよ
うになる。
After the processing in S23 or S25, the process proceeds to step 326. Here, the changed MASHINE Nα value is set to 8
JOB RANGE LOWERPOIN
Save it to TER and add 7 to it, then
Save to JOBRANGE UPPERPOINTER. In this case, JOB RANGE LOWERPO
INTER AND JOB RANGE UPPERPOI
NTER is a pointer that sets the lower and upper limits of the polynumber, as will be explained in detail later, and is a pointer for setting the lower and upper limits of the polynumber.
(See FIG. 8). Here, the relationship between the values of the register MASHINE and the values of the above-mentioned side POINTER is as follows.

MASHINE漱 JOB RANGE    JOB
 RANGELOtJERPOINTERUPPERP
OINTERo      0     7 このようにして、MASHINE kを設定することに
より、音源モジュールにポリナンバーを設定することが
できる。
MASHINE Sou JOB RANGE JOB
RANGELOtJERPOINTERUPPERP
OINTERo 0 7 By setting MASHINE k in this manner, a polynumber can be set in the sound source module.

上記処理の後、S27で第6図320の場合と同様、第
1図のRAM5内に構成される第8図の発音数割り当て
制御メモリの、各POINTER等をイニシャライズし
、発音中の楽音を全て消音する。
After the above processing, in S27, as in the case of 320 in FIG. 6, each POINTER, etc. of the sound generation number allocation control memory of FIG. 8 configured in the RAM 5 of FIG. Mute the sound.

以上の処理により、第4図313のMASHINE N
CL変更処理を終了する。なお、上記−・連の処理は、
第3図のDOWNスイッチ13又はUPスイッチ14が
1回押されるのに対応して実行され、更に続けて押され
た場合は、第2図32、S3のループの繰り返しにより
、S2が実行される毎に1回ずつ処理される。
Through the above processing, MASHINE N of 313 in FIG.
The CL change process ends. In addition, the processing of the above-mentioned series is as follows:
It is executed when the DOWN switch 13 or the UP switch 14 in FIG. 3 is pressed once, and if it is pressed again, S2 is executed by repeating the loop of FIG. 2 32 and S3. Each item is processed once.

以上説明したように、第3図のカーソルスイッチ11.
12を操作すると、第4図のSllの処理により第5図
のLCD9上でPl、P2の各位置にカーソル23を移
動させることができる。更に、第3図のDOWNスイッ
チ13又はUPスイッチ14を操作した場合、Plの位
置にカーソル23があれば、第4図316のDIS、/
ENA、変更処理により、ポリ同期動作のENABLE
モードとDISABLEモードとを切り換えることがで
きる。また、P2の位置にカーソル23があれば、31
3のMASHINE阻変更処理により、MASHINE
 kを変更でき、それに対応してポリナンバーの範囲を
変更できる。
As explained above, the cursor switch 11 in FIG.
12, the cursor 23 can be moved to the positions P1 and P2 on the LCD 9 in FIG. 5 through the processing in Sll in FIG. Furthermore, when the DOWN switch 13 or the UP switch 14 in FIG. 3 is operated, if the cursor 23 is at the position of Pl, the DIS, /
ENA, polysynchronous operation ENABLE by change processing
mode and DISABLE mode can be switched. Also, if the cursor 23 is at the position of P2, 31
MASHINE
k can be changed, and the range of polynumbers can be changed correspondingly.

次に、第2図33のMIDI IN処理について説明す
る。これ以降は、第8図の発音数割り当て制御メモリの
構成につき説明した後、第10図〜第12図のMIDI
 IN処理の詳細動作につき、第9図に基づ<MIDI
 IN処理に従ったポリ同期動作の動作例を用いながら
説明してゆく。
Next, the MIDI IN process shown in FIG. 2 will be explained. From here on, after explaining the configuration of the number of sound generation allocation control memory shown in FIG. 8, the MIDI information shown in FIGS.
Regarding the detailed operation of IN processing, < MIDI
This will be explained using an example of polysynchronization operation according to IN processing.

まず、第8図は第1図のRAM5内に構成される発音数
割り当て制御メモリの構成図である。同図(a)のN0
TE 5AVE MEMORYは、64バイト構成であ
り、64個までのN0TE No、をセーブでき、各バ
イトは1〜64のポリナンバーに対応する。そして、各
バイトの構成は、同図に示すように下位7ビツトが0〜
127の値を取り得るN0TE No、、最上位ビット
(MSB)が0N10FFフラグで、このフラグが1の
場合そのバイトに対応するポリナンバーが消音中である
ことを示し、更に、この場合下位7ビツトは全てOの値
をとり、従って、消音時の1バイト分の値は80H(H
は、16進数表現であることを示す)となる。これらに
ついては、後に詳述する。
First, FIG. 8 is a block diagram of the number of pronunciation allocation control memory configured in the RAM 5 of FIG. 1. N0 in figure (a)
The TE 5AVE MEMORY has a 64-byte structure and can save up to 64 NOTE numbers, and each byte corresponds to a poly number from 1 to 64. The structure of each byte is as shown in the figure, where the lower 7 bits are 0 to 0.
N0TE No, which can take a value of 127, the most significant bit (MSB) is the 0N10FF flag, and when this flag is 1, it indicates that the poly number corresponding to that byte is muted, and in this case, the lower 7 bits all take the value O, therefore, the value of 1 byte when muting is 80H (H
indicates hexadecimal representation). These will be detailed later.

次に、ポインタ、カウンタ、フラグ及びレジスタ類につ
いて、簡単に説明する。なお、これらについては、後に
詳述する。
Next, pointers, counters, flags, and registers will be briefly explained. Note that these will be detailed later.

第8図(b)のOFF POINTERは、ノートオフ
をしたN0TE No、がセーブされていたN0TE 
5AVE MEMORYの先頭番地からの相対アドレス
で、かつ、最も小さい数値を保持するポインターで、下
位5ビツトによりO〜63の値をとり得る。上位2ビツ
トには、値Oが挿入される。
The OFF POINTER in Figure 8(b) is the N0TE where the note-off was saved.
It is a relative address from the first address of 5AVE MEMORY and is a pointer that holds the smallest numerical value, and can take a value from 0 to 63 depending on the lower 5 bits. The value O is inserted into the upper two bits.

また、第8図(c) (7) EMPTY C0UNT
ERは、N0TE SAVEMEMORYに一度N0T
E No、がセー・ブされ、更に、ノートオフされて値
80Hが書き込まれた後に、まだ、N0TE No、が
書き込まれていない番地の総数を保持するカウンターで
、下位6ビツトにより0〜64の値をとり得る。MSB
には値0が挿入される。
Also, Fig. 8(c) (7) EMPTY COUNT
ER is N0T once in N0TE SAVEMEMORY
This is a counter that holds the total number of addresses that have not yet been written with N0TE No. after E No. has been saved and further note-off has been written and the value 80H has been written. Can take values. MSB
A value of 0 is inserted into .

第8図(d)(7)ON POINTERは、N0TE
 5AVE MEMORYニセーブされているN0TE
 No、の中で、最も前記相対アドレスが大きいN0T
E No、の相対アドレスに1だけ加算した値を保持す
るポインターで、下位5ビツトにより0〜63の値をと
り得る。上位2ビツトには、(!Oが挿入される。
Figure 8 (d) (7) ON POINTER is N0TE
5AVE MEMORY Saved N0TE
N0T with the largest relative address among the Nos.
This is a pointer that holds the value obtained by adding 1 to the relative address of E No. It can take a value from 0 to 63 depending on the lower 5 bits. (!O is inserted into the upper two bits.

第8図(e)のJOB RANGE L[1WERPO
INTERは、前記したようにポリナンバーの下限の値
を保持するポインターであり、第5図のLCDQ上のP
2の位置に表示されるポリナンバーより1だけ小さい数
値が保持され、下位5ビツトによりO〜63の値をとり
得る。上位2ビツト・には、値Oが挿入される。
JOB RANGE L[1WERPO in Figure 8(e)
INTER is a pointer that holds the lower limit value of the poly number as described above, and
A value 1 smaller than the poly number displayed at position 2 is held, and the lower 5 bits can take values from 0 to 63. The value O is inserted into the upper two bits.

第8図(f)のJOB RANGE UPPERPOI
NTERは、前記したようにポリナンバーの上限の値を
保持するポインターであり、第5図のLCD9上のP3
の位置に表示されるポリナンバーより1だけ小さい数イ
直が保持され、JOB RANGE LOWERPOI
NTERと同様のビット構成である。
JOB RANGE UPPERPOI in Figure 8(f)
NTER is a pointer that holds the upper limit value of the poly number as described above, and is a pointer that holds the upper limit value of the poly number, and is
The number position that is 1 smaller than the poly number displayed at the position is retained, and the
It has the same bit configuration as NTER.

第8図(g17)NOTE ON C0UNTERは、
N0TE  SAVEMEMORYにセーブされている
N0TE No、の総数を保持するカウンターで、下位
6ビレトによりO〜64の値をとり得る。MSBには値
Oが挿入される。
Figure 8 (g17) NOTE ON C0UNTER is
A counter that holds the total number of N0TE No's saved in N0TE SAVE MEMORY, and can take a value from 0 to 64 depending on the lower 6 billets. The value O is inserted into the MSB.

第8図(5)のFLAGは、最下位ビット(LSB)に
JOB REQtlEST FLAG、最下位ビットか
ら2ビツト目にJOB DISABLE FLAGが設
けられる。JOB REQLIESTFLAGは、入力
したN0TE ONデータに対して、そのデータで指示
されるN0TE No、で発音を要求するか否かを保持
するフラグであり、JOB DISABLE FLAG
は自己の音源モジュールに対して、ポリ同期動作につい
てDISABLEモードかENABLEモードかを設定
するフラグである。
In the FLAG shown in FIG. 8(5), JOB REQtlEST FLAG is provided at the least significant bit (LSB), and JOB DISABLE FLAG is provided at the second bit from the least significant bit. JOB REQLESTFLAG is a flag that holds whether or not to request the input N0TE ON data to produce the N0TE No specified by that data, and JOB DISABLE FLAG
is a flag that sets the polysynchronization operation to DISABLE mode or ENABLE mode for its own sound source module.

第8図(i)のレジスタMASHINE Nαは、MA
SHINE Nαを設定するレジスタであり、下位3ビ
ツトにより0〜7の値をとり得る。上位5ビツトには値
0が挿入される。なお、このレジスタの値は、第7図で
既に説明したように、MASHINE Nα変更処理に
おいて、JOB RANGE LOWERPOINTE
R及びJOB RANGEtJPPERPOINTER
上の値に予め変換されてから使用される。
The register MASHINE Nα in FIG. 8(i) is MA
This is a register for setting SHINE Nα, and can take a value from 0 to 7 depending on the lower 3 bits. The value 0 is inserted into the upper 5 bits. Note that, as already explained in FIG. 7, the value of this register is changed to
R and JOB RANGEtJPPERPOINTER
It is used after being converted to the above value in advance.

上記発音数側り当て制御メモリを用いた本実施例による
MIDI IN処理の詳細動作を、第10図〜第12図
の動作フローチャートに沿って説明する。
The detailed operation of MIDI IN processing according to this embodiment using the above-mentioned sound number side assignment control memory will be explained along with the operation flowcharts of FIGS. 10 to 12.

第10図は、第2図53のMIDI IN処理の詳細な
動作フローチャートである。
FIG. 10 is a detailed operational flowchart of the MIDI IN process shown in FIG. 253.

まず、33Bにおいて、第1図のCPU4は、外部入力
インタフェース回路1を介してMIDIデータが入力し
ているか否かを監視する。入力していなければ、338
の判定はNOとなり、第2図33のMIDI IN処理
を即座に終了し、S2のスイッチチェンジ処理を介して
再びS3を繰り返す。従って、33Bが繰り返し実行さ
れることにより、MIDIデータの入力待ち状態を維持
する。
First, at 33B, the CPU 4 of FIG. 1 monitors whether MIDI data is being input via the external input interface circuit 1. If not entered, 338
The determination is NO, the MIDI IN process of FIG. 233 is immediately terminated, and S3 is repeated again via the switch change process of S2. Therefore, by repeatedly executing step 33B, the MIDI data input waiting state is maintained.

MIDIデータが入力して338の判定がYESとなる
と339に進み、そのMIDIデータがN0TE ON
データ、N0TE OFFデータの何れかであるか否か
が判定される。NOの場合350に進み、ノートオン及
びノートオフ以外の処理を行い、338の監視を繰り返
す。
When MIDI data is input and the judgment in 338 is YES, the process advances to 339, and the MIDI data is turned on to N0TE ON.
It is determined whether the data is data or N0TE OFF data. If NO, the process proceeds to 350, processes other than note-on and note-off are performed, and the monitoring in 338 is repeated.

N0TE ONデータ又はN0TE OFFデータが入
力し、339の判定がYESとなると340に進み、そ
のデータに含まれているN0TE No、をCPU4内
のレジスタAREGにロードする。
When N0TE ON data or N0TE OFF data is input and the determination at 339 becomes YES, the process proceeds to 340, where N0TE No included in the data is loaded into the register AREG in the CPU 4.

続いて、341において、入力したMIDIデータがN
0TE ONデータであるかN0TE OFFデータで
あるかを判定する。N0TE ONデータが入力しS4
1の判定がYESとなった場合S42に進み、ポリ同期
動作のENABLEモードであるかDTSABLEモー
ドであるかを判定する。
Next, in 341, the input MIDI data is
Determine whether it is 0TE ON data or N0TE OFF data. N0TE ON data is input and S4
If the determination in step 1 is YES, the process advances to S42, and it is determined whether the polysynchronization operation is in ENABLE mode or DTSABLE mode.

D[5ABLEモードである場合(第5図P1の位置の
表示がOFFの場合L 342の判定がYESとなって
345に進み、レジスタA■GにセットされたN0TE
 No、に従って、N0TE ON処理を行った後、3
3Bの判定に戻る。すなわち、この場合の動作は通常の
音源モジュールの発音動作であり、第1図のCPU4が
音源回路6に対して、N0TE ONデータのN0TE
 No、に対応する音高で無条件に発音指示を行う処理
である。
D [5 If the mode is ABLE mode (if the display at the position P1 in Figure 5 is OFF), the judgment in 342 is YES and the process advances to 345, where the N0TE set in register A
After performing N0TE ON processing according to No. 3
Return to the judgment of 3B. That is, the operation in this case is the normal sound generation operation of the sound source module, and the CPU 4 in FIG.
This is a process of unconditionally instructing to produce a sound at the pitch corresponding to No.

ENABLEモードである場合(第5図P1の位置の表
示がONの場合)、S42の判定がNOとなって343
に進み、ここでN0TE ON JOB判別処理を行う
。この処理が本実施例の最も特徴とする処理であり、後
に詳述するが、ここではN0TE ON処理を行うか否
かを決定し、行うならば、第8図(ハ)の発音数割り当
て制御メモリのFLAG内のJOB REQtlEST
FLAGを1にセットし、行わないならOにリセットす
る。
If it is in the ENABLE mode (when the display of the position P1 in FIG. 5 is ON), the determination in S42 is NO and 343
The process then proceeds to N0TE ON JOB determination processing. This process is the most characteristic process of this embodiment, and will be described in detail later, but here it is determined whether or not to perform the N0TE ON process, and if it is performed, the number of pronunciation allocation control shown in FIG. 8 (C) is performed. JOB REQtlEST in memory FLAG
Set FLAG to 1, and reset to O if not performed.

この処理によりJOB REQtJEST FLAGに
1がセットされた場合、S44の判定がYESとなって
345に進み、N0TE ON処理が実行される。一方
、0にリセットされた場合、344の判定がNoとなり
、、 N0TE ON処理は行わずに338の処理に戻
る。
If 1 is set in JOB REQtJEST FLAG by this process, the determination in S44 becomes YES and the process proceeds to 345, where the N0TE ON process is executed. On the other hand, if it is reset to 0, the determination in step 344 becomes No, and the process returns to step 338 without performing the N0TE ON process.

上記N0TE ONデータが入力した場合とは逆に、N
0TE OFFデータが入力しS41の判定がNOとな
った場合346に進み、S42の場合と同様の判定を行
う。
Contrary to the case where the above N0TE ON data is input, N
If the 0TE OFF data is input and the determination in S41 is NO, the process advances to 346 and the same determination as in S42 is made.

DISABLEモードである場合、346の判定がYE
Sとなって349に進み、レジスタARFGにセットさ
れたN0TE No、に従って、N0TE OFF処理
を行った後、338の判定に戻る。すなわち、この場合
の動作は通常の音源モジュールの消音動作であり、第1
図のCPU4が音源回路6に対し、N0TEOFFデー
タのN0TE No、に対応する現在発音中の楽音につ
いて無条件に消音指示を行う処理である。
If it is in DISABLE mode, the determination of 346 is YE.
S, the process advances to 349, performs N0TE OFF processing according to the N0TE No set in the register ARFG, and then returns to the determination in 338. In other words, the operation in this case is a normal silencing operation of the sound source module, and the first
This is a process in which the CPU 4 in the figure unconditionally instructs the sound source circuit 6 to mute the musical tone currently being produced corresponding to N0TE No of the N0TEOFF data.

一方、ENABLEモードである場合、346の判定が
NOとなって347に進み、ここでN0TE 0FFJ
OB判別処理を行う。この処理も、S43のNOT、E
ON JOB判別処理と並んで、本実施例の最も特徴と
する処理であり、後に詳述するが、ここではN0TEO
FF処理を行うか否かを決定し、行うならばJOBRE
QUEST FLAGを1にセットし、行わないならO
にリセットする。
On the other hand, if the mode is ENABLE, the determination in 346 is NO and the process proceeds to 347, where N0TE 0FFJ
Performs OB discrimination processing. This process also includes NOT and E in S43.
Along with the ON JOB determination process, this is the most characteristic process of this embodiment, and will be described in detail later, but here we will discuss the N0TEO determination process.
Decide whether or not to perform FF processing, and if so, select JOBRE.
Set QUEST FLAG to 1 and O if not executed.
Reset to .

この処理によりJOB REflllUEST FLA
Gに1がセットされた場合、348の判定がYESとな
って349に進み、N0TE OFF処理が実行される
。一方、0にリセットされた場合、548の判定がNO
となり、N0TE OFF処理は行わずに338の処理
に戻る。
With this process, JOB REfullUEST FLA
If G is set to 1, the determination at 348 is YES and the process proceeds to 349, where N0TE OFF processing is executed. On the other hand, if it is reset to 0, the determination in 548 is NO.
Therefore, the process returns to step 338 without performing the N0TE OFF process.

次に、第10図343のN0TE ON JOB判別処
理及びS47のN0TE OFF JOB判別処理に対
応する第11図及び第12図の動作フローチャートにつ
き、第9図の動作例に従って説明する。
Next, the operation flowcharts of FIGS. 11 and 12 corresponding to the N0TE ON JOB determination process of 343 in FIG. 10 and the N0TE OFF JOB determination process of S47 will be explained according to the operation example of FIG. 9.

まず、本実施例では、音源モジュール1台分につき説明
を行っているが、その音源モジュールでは、前記第2図
82のスイッチチェンジ処理により、第5図に示すよう
に例えばMASHINE Nα−2、すなわち隘9〜N
α16のポリナンバーが指定されたとする。そして、第
2図31、第6図320又は第9図336で、発音数割
り当て制御メモリがイニシャライズされた状態では、第
9図(a)に示すように、 ON POINTER= 0 JOB RANGE LOWERPOINTER= 8
JOB RANGE tlPPERPOINTER= 
15EMPTY C0LINTER= 0 NOTE ON C0LINTER= 0OFF PO
INTER=不定 となる。また、この状態では、N0TE 5AVE M
EMORYの内容は不定である。
First, in this embodiment, explanation is given for one sound source module, but in that sound source module, for example, MASHINE Nα-2, ie, as shown in FIG. No. 9~N
Assume that a polynumber of α16 is specified. When the polyphony number allocation control memory is initialized in FIG. 2 31, FIG. 6 320, or FIG. 9 336, ON POINTER=0 JOB RANGE LOWERPOINTER=8 as shown in FIG. 9(a).
JOB RANGE tlPPERPOINTER=
15EMPTY C0LINTER= 0 NOTE ON C0LINTER= 0OFF PO
INTER=indeterminate. Also, in this state, N0TE 5AVE M
The contents of EMORY are undefined.

次に、音源モジュールの外部で鍵盤等が演奏され、第1
図の外部入力インタフェース回路1を介してCPU4に
、N0TE No、が20H〜34Hの各N0TE O
Nデータが連続して21ノ一ト分入力されると、第9囲
い)に示すように、ON POINTERの値は0→2
1 、 N0TE ON C0UNTERO値もO→2
1となり、N0TE 5AVE MEMORYニは、先
頭番地から連続する相対アドレス0〜20に、20H〜
34Hの各N0TE No、がセーブされる。なお、O
FF POINTERの値は不定である。この場合、第
1図のCPU4は第9図(b)の状態で、JOB RA
NGE LOWERPOINTER及びJOB RAN
GE UPPERPOINTERによって指定されるポ
リナンバーに対応する相対アドレス8〜15にセーブさ
れたN0TE No、についてのみ、第1図の音源回路
6に対して発音指示を行う。これにより、自己の音源モ
ジュールにおいてポリナンバー9〜16に対応する8ポ
リフォニック分の発音が行われる。
Next, a keyboard or the like is played outside the sound source module, and the first
Each N0TE O whose N0TE No. is 20H to 34H is sent to the CPU 4 via the external input interface circuit 1 shown in the figure.
When 21 notes of N data are input continuously, the value of ON POINTER changes from 0 to 2, as shown in box 9).
1. N0TE ON C0UNTERO value also changed from O to 2
1, and N0TE 5AVE MEMORY 2 is set to consecutive relative addresses 0 to 20 from the first address, 20H to 20H.
Each N0TE No. of 34H is saved. In addition, O
The value of FF POINTER is undefined. In this case, the CPU 4 in FIG. 1 is in the state shown in FIG. 9(b), and the JOB RA
NGE LOWERPOINTER and JOB RAN
A sound generation instruction is given to the sound source circuit 6 in FIG. 1 only for the N0TE No. saved at the relative addresses 8 to 15 corresponding to the poly number specified by GE UPPERPOINTER. As a result, eight polyphonic sounds corresponding to poly numbers 9 to 16 are produced in the own sound source module.

上記第9図(b)の状態における動作は、以下のように
して実現される。
The operation in the state shown in FIG. 9(b) above is realized as follows.

まず、N0TE ONデータが1個入力する毎に第2図
33のMIDI IN処理が1回ずつ繰り返される。
First, each time one N0TE ON data is input, the MIDI IN process shown in FIG. 2 is repeated once.

そして、各繰り返し毎に、第1O図338→539−3
40−341−342−343と処理され、第11図の
N0TE ON JOB判別処理に入る。
Then, for each repetition, the first O figure 338→539-3
40-341-342-343, and enters the N0TE ON JOB determination process shown in FIG.

第11図の351では、N0TE ON C0UNTE
Hの値が64以上になっていないか否かを判別し、64
以上になっていればS66に進み、JOB REQIJ
ESTFLAGをリセッ[・シ第10図343のN0T
E ON JOB判別処理を終了する。すなわち、本実
施例では、ポリフォニック数すなわち同時発音数は64
まで許容しているため、65個目からはサポートしない
ようにするための判定処理であり、JOB REQUE
STFLAGが0にリセットされることにより、第10
図344の判定がNOとなり、これ以上N0TE ON
処理は行われない。第9図(b)の例では、初期状態は
、N0TE ON C01lNTERの値が63以下で
あるため、S51の判定がYESとなりS52に進む。
At 351 in Figure 11, N0TE ON C0UNTE
Determine whether the value of H is 64 or higher, and
If it is above, proceed to S66 and JOB REQIJ
Reset ESTFLAG [・N0T in Figure 10 343
E ON JOB determination processing ends. That is, in this embodiment, the polyphonic number, that is, the number of simultaneous sounds is 64.
JOB REQUE
By resetting STFLAG to 0, the 10th
The judgment in Fig. 344 is NO, and no more NOTE ON.
No processing takes place. In the example of FIG. 9(b), in the initial state, the value of N0TE ON C011NTER is 63 or less, so the determination in S51 is YES and the process proceeds to S52.

S52では、N0TE ON C0UNTERO値が+
1される。このS52での処理が、各N0TE No、
の入力毎に繰り返されることで、第9図(b)の例では
、N0TEON C0UNTERの値がO→21と変化
する。
In S52, the N0TE ON C0UNTERO value is +
1 will be given. This process in S52 is performed for each N0TE No.
By repeating each input, in the example of FIG. 9(b), the value of N0TEON C0UNTER changes from 0 to 21.

次に、353では、EMPTY C0UNTERの値が
0か否かを判定する。第9図(b)の例では0であるた
めS54に進む。
Next, in 353, it is determined whether the value of EMPTY C0UNTER is 0 or not. In the example of FIG. 9(b), since it is 0, the process advances to S54.

ここでは、ON POINTERの値を第1図のCPU
d内のレジスタCREGにロードした後、ON POI
NTERの値を+1する。すなわち、ON POINT
ERは第8図(d) テ説明したように、N0TE 5
AVE MEMORYニセーブされているN0TE N
o、の中で、最も相対アドレスが大きいN0TE No
、の相対アドレスに1を加算した値が入っているため、
この354での処理が各N0TENo、の入力毎に繰り
返されることにより、レジスタCREGには今回N0T
ENo、をセーブすべき相対アドレスがセットされるこ
とになる。また、ここで、第9図(b)の例では、ON
 POINTERの値がO→21と変化する。
Here, the ON POINTER value is set to the CPU shown in Figure 1.
After loading into register CREG in d, ON POI
Increase the value of NTER by 1. In other words, ON POINT
ER is shown in Figure 8(d).As explained, N0TE 5
AVE MEMORY saved N0TE N
o, the N0TE with the largest relative address No.
Since it contains the value obtained by adding 1 to the relative address of ,
This process at 354 is repeated for each input of N0TENo, so that the register CREG has N0T this time.
The relative address at which ENo. should be saved will be set. Moreover, here, in the example of FIG. 9(b), ON
The value of POINTER changes from 0 to 21.

S56では、第8図(a)のN0TE 5AVE ME
MORYの先頭番地(絶対番地)ADoに、レジスタC
REGにセットされている相対アドレスを加算して当該
相対アドレスに対応する絶対アドレスを計算し、そのア
ドレスに第10図の340でレジスタAREGにセット
されたN0TE No、をセーブする。このS54での
処理が各N0TE No、の入力毎に繰り返されること
で、第9図(b)の例では、N0TE 5AVE ME
MORYf7)先頭番地から連続する相対アドレス0〜
20に、20H〜34Hの各N0TE No、がセーブ
される。
In S56, N0TE 5AVE ME in FIG. 8(a)
Register C is placed at the first address (absolute address) ADo of MORY.
The relative address set in REG is added to calculate the absolute address corresponding to the relative address, and the N0TE No set in register AREG is saved at 340 in FIG. 10 to that address. By repeating the process at S54 for each input of N0TE No., in the example of FIG. 9(b), N0TE 5AVE ME
MORYf7) Consecutive relative addresses 0~ from the first address
20, each N0TE No. from 20H to 34H is saved.

357では、レジスタCREGにセットされている相対
アドレスが、JOB RANGE LOWERPOIN
TERの値とJOB RANGE UPPERPOIN
TERの値で定まる範囲内に入っているか否かが判定さ
れる。そして、入っていればS58でJOB REQU
EST FLAGが1にセットされ、入っていなければ
S59で0にリセットされる。このS57での判定が各
N0TE No、の入力毎に繰り返されることで、第9
図(b)の例では、相対アドレス8〜15にセーブされ
たN0TE No、についてのみ、JOB REQUE
ST FLAGが1にセットされ、それ以外は0にリセ
ットされる。
357, the relative address set in register CREG is JOB RANGE LOWERPOIN.
TER value and JOB RANGE UPPERPOIN
It is determined whether or not it is within a range determined by the value of TER. Then, if it is included, JOB REQU in S58
EST FLAG is set to 1, and if it is not in, it is reset to 0 in S59. This determination in S57 is repeated for each input of N0TE No.
In the example in Figure (b), JOB REQUE is performed only for N0TE No saved at relative addresses 8 to 15.
ST FLAG is set to 1, otherwise reset to 0.

続いて、360ではEMPTY C0UNTERの値が
Oか否かを判定する。第9図(b)の例では0であるた
め、この判定がYESとなり、第10図343のN0T
EON JOB判別処理を終了する。
Subsequently, in 360, it is determined whether the value of EMPTY C0UNTER is O or not. In the example of FIG. 9(b), it is 0, so this determination is YES, and the N0T of FIG.
The EON JOB determination process ends.

そして、第10図S44で、JOB REQUEST 
FLAGに1がセットされた場合にのみ、その判定がY
ESとなって345に進み、N0TE ON処理が実行
される。この344での判定が各N0TE No、の入
力毎に繰り返されることで、第9図(b)の例では、前
記したように相対アドレス8〜15にセーブされたN0
TE No、についてのみ、第1図の音源回路6に対し
て発音指示が行われることになる。
Then, in S44 of FIG. 10, JOB REQUEST
The determination is Y only if FLAG is set to 1.
It becomes ES and proceeds to 345, where N0TE ON processing is executed. By repeating this determination at 344 for each input of N0TE No., in the example of FIG. 9(b), the N0TE No.
Only for TE No., a sound generation instruction is given to the sound source circuit 6 of FIG. 1.

次に、第9図の説明に戻る。同図(b)の状態で、2B
H132H及び23Hの各N0TE No、に対応する
外部の鍵盤等が離鍵され、それらの各N0TE No。
Next, we return to the explanation of FIG. In the state shown in the same figure (b), 2B
The external keyboard corresponding to each N0TE No. of H132H and 23H is released, and each of those N0TE No.

に対応するN0TE OFFデータが上記順で入力する
と、2BH,32H及び23Hの各N0TE No、が
格納されていた相対アドレス11.18及び3に消音中
を示す値80Hが格納され、同時にOFF POINT
ERの値(相対アドレス)は、不定→11−11−3と
変化する(第9図(C)■−■−■)、なお、■の過程
においては、N0TE No、 = 32 Hが格納さ
れていた相対アドレス18は、N0TE No、 = 
2 B Hが格納されていた相対アドレス11より大き
いので、OFF POINTERの値は18へは変化し
ない。また、EMPTY C0UNTERの値は、0→
1→2→3、N0TEON C0UNTERO値は21
−20−19−18と変化する。但し、ON POIN
TERの値は変化しない。この場合、第1図のCPU4
は、第9図(C)の状態で、JOB RANGE LO
WERPOINTER及びJ[lB RANGE IJ
PPERPOINTERによって指示されるポリナンバ
ーに対応する相対アドレス8〜15において、値80H
に書き換えられたN0TE No、 = 2 B Hが
格納されていた相対アドレス11についてのみ、第1図
の音源回路6に対しそのN0TE No、の消音指示を
行う。
When the N0TE OFF data corresponding to 2BH, 32H, and 23H are input in the above order, the value 80H indicating mute is stored in the relative addresses 11.18 and 3 where each N0TE No. of 2BH, 32H, and 23H was stored, and at the same time, the OFF POINT
The value of ER (relative address) changes from indeterminate to 11-11-3 (Fig. 9 (C) ■-■-■). In the process of ■, N0TE No. = 32 H is stored. The relative address 18 that was
Since 2 B H is larger than the relative address 11 at which it was stored, the value of OFF POINTER does not change to 18. Also, the value of EMPTY C0UNTER is 0 →
1 → 2 → 3, N0TEON C0UNTERO value is 21
-20-19-18. However, ON POIN
The value of TER does not change. In this case, CPU4 in FIG.
In the state shown in Figure 9 (C), JOB RANGE LO
WERPOINTER and J [lB RANGE IJ
At the relative address 8 to 15 corresponding to the poly number indicated by PPERPOINTER, the value 80H
Only for the relative address 11 where the rewritten N0TE No.=2BH was stored, an instruction to mute the N0TE No. is given to the sound source circuit 6 of FIG. 1.

上記第9図(C)の状態における動作は、以下のように
して実現される。
The operation in the state shown in FIG. 9(C) above is realized as follows.

まず、N0TE OFFデータが1個入力する毎に第2
図S3のMIDI IN処理が1回ずつ繰り返される。
First, every time one N0TE OFF data is input, the second
The MIDI IN process in FIG. S3 is repeated once.

そして、各繰り返し毎に、第10図538−339−3
40→341→S46→S47と処理され、第12図の
N0TE OFF JOB判別処理に入る。
Then, for each repetition, FIG. 10 538-339-3
40→341→S46→S47, and the N0TE OFF JOB determination process shown in FIG. 12 begins.

第12図の367では、まず、レジスタCREGにOを
セットし、次の368−369−370−368のルー
プ処理で、S70でレジスタCREGO値を+1ずつイ
ンクリメントしながら、369でレジスタA RE G
にセットされたノートオフすべきN0TE No、とN
0TE 5AVE MEMORY上のアドレス(ADo
 +CREG )の内容とを比較し、一致するものを検
索する。なお、368では、レジスタCIIEGの指定
する相対アドレスが、N0TE 5AVE MEMOR
Y上でN0TE No、が存在しなくなるON POI
NTERの値に達したか否かを判定する。この値に達す
ると、368の判定がYESとなり、S82でJOB 
REQUESTFLAGがOにリセットされ、第10図
347のN0TEOFF JOB判別処理を終了する。
At 367 in FIG. 12, first, O is set in the register CREG, and in the next loop processing at 368-369-370-368, the register CREGO value is incremented by +1 at S70, and at 369, the register A RE G is set.
Note-off set to N0TE No, and N
0TE 5AVE Address on MEMORY (ADo
+CREG) and search for a match. In addition, in 368, the relative address specified by register CIIEG is N0TE 5AVE MEMOR
ON POI where N0TE No, no longer exists on Y
Determine whether the value of NTER has been reached. When this value is reached, the determination in 368 becomes YES, and the job is terminated in S82.
REQUESTFLAG is reset to O, and the N0TEOFF JOB determination process of 347 in FIG. 10 ends.

従って、この場合は、N0TE 5AVE MEMOR
Y上に対応するN0TE No、が存在しないことにな
り、第10図348の判定がNOとなって、349のN
0TE OFF処理は行われない。
Therefore, in this case, N0TE 5AVE MEMOR
There is no corresponding N0TE No on Y, and the determination in 348 of FIG. 10 is NO, and the N of 349
0TE OFF processing is not performed.

上記第12図368−369−S 10−368のルー
プ処理が繰り返されることにより、第9図(C)の例で
は、ノートオフすべき2BH132H及び23Hの各N
0TE No、が格納されていた相対アドレス11.1
8及び3が検索される。
By repeating the loop processing of 368-369-S 10-368 in FIG. 12 above, in the example of FIG.
Relative address 11.1 where 0TE No. was stored
8 and 3 are searched.

そして、上記処理でN0TE No、が一致する相対ア
ドレスが検索される毎に369の判定がYESとなりS
T1に進む。ここでは、検索されたアドレス(A D 
o + CIIEG )に、消音中を示す値80Hが格
納されると共に、EMPTY CO[JNTERの値が
+1される。このS71の処理が各N0TE No、の
入力毎に繰り返されることで、第9図(C)の例では、
相対アドレス11.18及び3に消音中を示す値80H
が格納され、同時にEMPTY C0LINTERの値
が、0−1−2−3と変化する。
Then, in the above process, every time a relative address with matching N0TE No is searched, the determination of 369 becomes YES and S
Proceed to T1. Here, the searched address (A D
o + CIIEG), a value 80H indicating that the sound is muted is stored, and the value of EMPTY CO[JNTER is incremented by 1. By repeating the process of S71 for each input of N0TE No., in the example of FIG. 9(C),
Value 80H indicating mute at relative address 11.18 and 3
is stored, and at the same time the value of EMPTY COLINTER changes to 0-1-2-3.

次に、S72ではEMPTY C0UNTERの値が1
か否かを判定し、1である場合にはS74でレジスタC
REGの値をOFF POINTERにセーブする。こ
の処理は、第9図(C)の例では、第1番目のN0TE
 No、=28Hに対応する相対アドレス11が検索さ
れた場合に、OFF POINTERの値が不定−11
となる場合に実行される。
Next, in S72, the value of EMPTY C0UNTER is 1.
If it is 1, register C is determined in S74.
Save the value of REG to OFF POINTER. In the example of FIG. 9(C), this process is performed for the first N0TE
When relative address 11 corresponding to No, = 28H is searched, the value of OFF POINTER is undefined -11
It is executed when

372の判定がNoの場合、 373において0FF POINTERのレジスタCREGの値を比較し、レジ
スタCREGO値の方が大きければ、OFF POIN
TERの値は変更しない。この処理は、第9図(C)の
例では、第2番目のN0TE No、 = 32 Hに
対応する相対アドレス18が検索された場合に、OFF
 POINTERの値が11のまま変化しない場合に実
行される。
If the judgment in 372 is No, in 373 the values of register CREG of 0FF POINTER are compared, and if the value of register CREGO is larger, OFF POIN
The value of TER is not changed. In the example of FIG. 9(C), this process is turned OFF when the relative address 18 corresponding to the second N0TE No. = 32H is retrieved.
This is executed when the value of POINTER remains 11 and does not change.

上記とは逆に、レジスタCREGの値の方が小さければ
、レジスタCREGO値をOFF POINTERにセ
ーブする。この処理は、第9図(C)の例では、第3番
目のN0TE No、 = 23 Hに対応する相対ア
ドレス3が検索された場合に、OFF POINTER
の値が11=3に変化する場合に実行される。
Contrary to the above, if the value of register CREG is smaller, the value of register CREGO is saved to OFF POINTER. In the example of FIG. 9(C), this process is performed when relative address 3 corresponding to the third N0TE No. = 23H is searched, OFF POINTER
is executed when the value of changes to 11=3.

上記372〜374の処理により、OFF POINT
ERには現在消音中を示す値80Hが格納されている相
対アドレスのうち、最も小さい相対アドレスが格納され
る。
By processing 372 to 374 above, OFF POINT
The smallest relative address among the relative addresses in which the value 80H indicating that the sound is currently muted is stored in the ER.

S75では、レジスタCREGにセットされている相対
アドレスが、JOB RANGE LOWERPOIN
TERの値とJOB RANGE UPPERPOIN
TERの値で定まる範囲内に入っているか否かが判定さ
れる。そして、入っていればS76でJOB REQU
EST FLAGが1にセットされ、入っていなければ
S77で0にリセットされる。このS75での判定が各
N0TE No、の入力毎に繰り返されることで、第9
図(C)の例では、相対アドレス8〜15において、値
80Hに書き換えられたN0TE No、 −2B H
が格納されていた相対アドレス11についてのみJOB
 REQUEST FLAGが1にセットされ、それ以
外は0にリセットされる。
In S75, the relative address set in register CREG is JOB RANGE LOWERPOIN.
TER value and JOB RANGE UPPERPOIN
It is determined whether or not it is within a range determined by the value of TER. Then, if it is included, JOB REQU in S76
EST FLAG is set to 1, and if it is not in, it is reset to 0 in S77. This determination in S75 is repeated for each input of N0TE No.
In the example in Figure (C), at relative addresses 8 to 15, N0TE No. -2B H is rewritten to the value 80H.
JOB only for relative address 11 where was stored.
REQUEST FLAG is set to 1, otherwise reset to 0.

次に、S78ではレジスタCREGのイ直を+1し、続
くS79でレジスタCREG とON POINTER
の値とを比較し、レジスタCREGの値≧ON POI
NTERであれば、S80でON POINTERの値
を−1する。これらの処理は、N0TE 5AVE M
E14ORY上(7)NOTE No、(7)うち、最
も相対アドレスが大きいN0TE No、がノートオフ
されたときに、ON POINTERの値をノートオフ
された相対アドレスにもってくる処理である。第9図(
C)の例では、S79の判定は常にNoとなり、ON 
POINTERの値は変化しない。
Next, in S78, the value of register CREG is increased by 1, and in the following S79, register CREG and ON POINTER are
Compare the value of register CREG≧ON POI
If NTER, the value of ON POINTER is decremented by 1 in S80. These processes are N0TE 5AVE M
This is the process of bringing the value of ON POINTER to the note-off relative address when (7) NOTE No on E14ORY, and (7) NOTE No, which has the largest relative address, is note-off. Figure 9 (
In the example of C), the determination in S79 is always No, and the ON
The value of POINTER does not change.

最後に、S81ではN0TE ON C0UNTERの
値を1だけ減算して、第10図347のN0TE OF
F JOB判別処理を終了する。S81の処理を、各N
0TE No。
Finally, in S81, the value of N0TE ON C0UNTER is subtracted by 1, and the value of N0TE OF
F JOB determination processing ends. The process of S81 is performed for each N
0TE No.

の入力毎に繰り返すことで、第9図(C)の例では、N
0TE ON C0UNTEHの値が21→20→19
→18と変化する。
By repeating each input, in the example of FIG. 9(C), N
0TE ON C0UNTEH value is 21 → 20 → 19
→ Changes to 18.

上記処理の後、第10図348で、前記第12図S76
でJOB REQUEST FLAGに1がセットされ
た場合にのみ、その判定がYESとなって349に進み
、N0TE OFF処理が実行される。この34Bでの
判定が各N0TE No、の入力毎に繰り返されること
で、第9図(C)の例では、前記したように相対アドレ
ス8〜15において、値80Hに書き換えられたN0T
E No、 = 2 B Hが格納されていた相対アド
レス11についてのみ、第1図の音源回路6に対して消
音指示が行われることになる。
After the above processing, in FIG. 10 348, the step S76 in FIG.
Only when 1 is set in JOB REQUEST FLAG, the determination becomes YES and the process proceeds to 349, where the N0TE OFF process is executed. By repeating this determination at 34B for each input of N0TE No., in the example of FIG.
A mute instruction is given to the sound source circuit 6 in FIG. 1 only for the relative address 11 where E No, = 2 B H was stored.

再び第9図の説明に戻る。同図(C)の状態で、外部の
鍵盤等で新たな押鍵動作が行われ、50H151H及び
52Hの各N0TE No、に対応のN0TE ONデ
ータが順に人力した場合を考える。
Returning to the explanation of FIG. 9 again. Let us consider a case where, in the state shown in FIG. 5C, a new key press operation is performed on an external keyboard or the like, and the N0TE ON data corresponding to each N0TE No. of 50H, 151H, and 52H is input manually in order.

まず、N0TE No、 = 50 HのN0TE O
Nデータが入力した時点で、50HがOFF POIN
TERの指示する相対アドレス3に書き込まれ、OFF
 POINTERの値は現在消音中を示す値80Hが格
納されている最小相対アドレス11に変更され、EMP
TY C0UNTERの値は−1されて3→2へ変更さ
れ、また、N0TEON C0INTEHの値は+1さ
れて18→19に変更される。続いて、N0TE No
、= 51 HのN0TE ONデータが入力すると、
51HがOFF POINTERの指示する相対アドレ
ス11に書き込まれ、OFF POINTERの値は相
対アドレス18に変更される。これと共に、EMPTY
 C0UNTERの値は2→lへ変更され、また、N0
TE ON C0INTERの値は19→20に変更さ
れる。更に、N0TE No、 = 52 HのN0T
E ONデータが入力すると、52HがOFF POI
NTERの指示する相対アドレス18に書き込まれ、O
FF POINTERの値は不定となり、EMPTY 
C0tJNTERの値は1→0となり、N0TE ON
 C0LINTERの値は20→21となる。
First, N0TE No, = 50 H N0TE O
When N data is input, 50H is OFF POIN
Written to relative address 3 specified by TER and turned OFF
The value of POINTER is changed to the minimum relative address 11 where the value 80H indicating that the sound is currently muted is stored, and the EMP
The value of TY C0UNTER is incremented by -1 and changed from 3 to 2, and the value of N0TEON C0INTEH is incremented by +1 and changed from 18 to 19. Next, N0TE No.
, = When N0TE ON data of 51H is input,
51H is written to relative address 11 indicated by OFF POINTER, and the value of OFF POINTER is changed to relative address 18. Along with this, EMPTY
The value of C0UNTER is changed from 2 to l, and the value of N0
The value of TE ON C0INTER is changed from 19 to 20. Furthermore, N0TE No, = 52 H's N0T
E When ON data is input, 52H turns OFF POI
It is written to the relative address 18 indicated by NTER, and O
The value of FF POINTER becomes undefined and becomes EMPTY.
The value of C0tJNTER changes from 1 to 0, and N0TE ON
The value of C0LINTER changes from 20 to 21.

すなわち、上記動作により、OFF POINTERの
値は、第9図(C)の■の状態から同図(d)の■−■
と変化する。この場合、第1図のCPU4は、第9図(
d)の状態で、JOB RANGE LOWERPOI
NTER及びJOB RANGELIPPERPOIN
TERによって指示されるポリナンバーに対応する相対
アドレス8〜15に含まれる相対アドレス11にセーブ
されたN0TE No、 51 Hについてのみ、第1
図の音源回路6に対して発音指示を行う。
That is, by the above operation, the value of OFF POINTER changes from the state of ■ in FIG. 9(C) to the state of ■-■ in FIG. 9(d).
and changes. In this case, the CPU 4 in FIG.
In the state of d), JOB RANGE LOWERPOI
NTER and JOB RANGE LIPPERPOIN
Only for N0TE No. 51H saved at relative address 11 included in relative addresses 8 to 15 corresponding to the poly number indicated by TER, the first
A sound generation instruction is given to the sound source circuit 6 in the figure.

上記第9図(C)−(d)の状態における動作は、以下
のようにして実現される。
The operation in the states shown in FIGS. 9(C) to 9(d) above is realized as follows.

まず、N0TE ONデータが1個人力する毎に第2図
S3のMIDI IN処理が1回ずつ繰り返される。
First, the MIDI IN process of S3 in FIG. 2 is repeated once each time the N0TE ON data is input.

そして、各繰り返し毎に、第10図338−339−”
S 40−341−342→343と処理され、第9図
(b)の場合と同様に第11図のN0TE ON JO
B判別処理に入る。
338-339-" for each repetition.
S 40-341-342→343, and N0TE ON JO in FIG. 11 is processed as in the case of FIG. 9(b).
B-discrimination processing begins.

第9図(C)の状態でN0TE No、 = 50 H
のN0TE ONデータが入力した時点で、351の判
定はNOとなり、S52でN0TE ON C0UNT
ERの値が18→19と変化する。
In the state of Figure 9 (C), N0TE No, = 50 H
When the N0TE ON data is input, the determination in 351 becomes NO, and N0TE ON C0UNT is input in S52.
The value of ER changes from 18 to 19.

次に、353の判定は、現在EMPTY CO[JNT
ERの値が3(第9図(C)の状態)であるためN O
となりS55に進む。ここでは、EMPTY C0UN
TERの値が−1されて3→2へ変更され、OFF P
OINTERの値がレジスタCIUGにロードされる。
Next, the determination of 353 is currently EMPTY CO[JNT
Since the value of ER is 3 (state in Figure 9(C)), NO
Then, the process advances to S55. Here, EMPTY C0UN
The value of TER is decreased by -1 and changed from 3 to 2, and OFF P
The value of OINTER is loaded into register CIUG.

続<356では、 N0TE 5AVE MEMOR’
#)先頭番地A D oに上記レジスタCIIEGの相
対アドレスを加算したアドレスに、レジスタA11EG
に格納されているN0TE No、をセーブする。第9
図(C)→(d)の例でN0TE No、 = 50 
Hが入力した場合、N0TE No、 = 50Hが相
対アドレス3に書き込まれる。
In the sequel <356, N0TE 5AVE MEMOR'
#) Add register A11EG to the address obtained by adding the relative address of register CIIEG above to the first address A Do
Save N0TE No. stored in . 9th
In the example of diagram (C) → (d), N0TE No, = 50
If H is input, N0TE No, = 50H is written to relative address 3.

357〜359でのJOB REQUEST FLAG
に関する処理は、第9図(b)の場合と全く同様であり
、N0TENo、=50Hの場合は、レジスタCREG
O値3が357の条件を満たさず、359でJOB R
EQUESTFLAGに0がリセットされる。
JOB REQUEST FLAG from 357 to 359
The processing related to this is exactly the same as in the case of FIG. 9(b), and when N0TENo,=50H, the register CREG
O value 3 does not meet the condition of 357, JOB R is 359
EQUESTFLAG is reset to 0.

次に、360の判定は、現在EMPTY C0UNTE
Rの値が2であるためNoとなり、S61に進む。
Next, the judgment of 360 is currently EMPTY C0UNTE
Since the value of R is 2, the answer is No, and the process advances to S61.

561−→362→363→361のループ処理は、S
55.356でOFF POINTERの指していた相
対アドレスに新たなN0TE No、がセーブされたた
め、OFF POINTERを消音中を示す値80 H
が格納されている最も若い相対アドレスまで移動させる
処理である。すなわち、362でレジスタCREGO値
を1ずつインクリメントさせながら、363でアドレス
(A D o + CREG )の内容が、消音中を示
す値80I]と一致するか否を比較する。なお、36 
It’は、上記検索範囲が、N0TE 5AVE ME
MORYの相対アドレスの上限63を越えていないか否
かを判定する。EMPTY C0UNTERが0でなけ
れば、消音中を示す相対アドレスは必ずもう1つあるた
め、S61の判定がYESとなることはあり得ないが、
何らかの原因でYESとなってしまった場合に565に
進み、適切なエラー処理を行い、366でJOB RE
QUEST FLAGをOにリセットする。すなわち、
この場合は、後述する第10図344の判定がNOとな
り消音動作は行わない。
The loop processing of 561-→362→363→361 is performed by S
55. At 356, a new N0TE No. was saved at the relative address pointed to by OFF POINTER, so the value 80H indicating that OFF POINTER is being muted.
This is the process of moving to the youngest relative address where is stored. That is, while incrementing the register CREGO value by 1 at 362, it is compared at 363 whether the contents of the address (A Do + CREG) match the value 80I] indicating that the sound is muted. In addition, 36
It' means that the above search range is N0TE 5AVE ME
It is determined whether the upper limit 63 of the relative address of MORY is exceeded. If EMPTY C0UNTER is not 0, there is always one more relative address indicating that the sound is muted, so it is impossible for the determination in S61 to be YES.
If the answer is YES for some reason, proceed to 565, perform appropriate error handling, and execute JOB RE in 366.
Reset QUEST FLAG to O. That is,
In this case, the determination at 344 in FIG. 10, which will be described later, is NO, and no silencing operation is performed.

S63の判定がYESとなって、消音中を示す相対アド
レスが見つかると、364でそれを示すレジスタCII
EGの値をOFF POINTERにセーブする。
If the determination in S63 is YES and a relative address indicating that the sound is muted is found, the register CII indicating it is set in 364.
Save the EG value to OFF POINTER.

この結果、第9図(C)−(d)の例でN0TE No
、 = 508が入力した場合は、OFF POINT
ERの値は3→11に変化する。
As a result, N0TE No.
, = 508 is input, OFF POINT
The value of ER changes from 3 to 11.

以上の処理により、第10図343のN0TE 0NJ
OB判別処理を終了する。
By the above processing, N0TE 0NJ of 343 in Fig. 10
The OB determination process ends.

上記動作の後、344でJOB REQUEST FL
AGの値が判定される。第9図(C)−(d)の例でN
0TE No、 = 50Hが入力した場合、前記のよ
うにJOB REQIJESTFLAGはOにリセット
されているため、S44の判定はNOとなり、N0TE
 ON処理は行われない。
After the above operation, JOB REQUEST FL is sent at 344.
The value of AG is determined. In the example of Figure 9(C)-(d), N
If 0TE No, = 50H is input, JOB REQIJESTFLAG is reset to O as described above, so the determination in S44 is NO, and N0TE
ON processing is not performed.

以下、N0TE No、 = 51 Hと52Hの各N
0TE ONデータが入力した場合も、上記と全く同様
に動作し、前記第9図(C)−(d)の説明のように動
作する。
Below, N0TE No, = 51H and 52H each N
When 0TE ON data is input, the operation is exactly the same as described above, and the operation is as explained in FIGS. 9(C) to 9(d).

以上、説明したように、音源モジュール内に、自己に割
り当てられているポリナンバーに関する状態と共に他の
全ての音源モジュールに割り当てられているポリナンバ
ーに関する状態を保持するN0TE 5AVE MEM
ORYを有し、N0TE ON及びN0TE OFFの
各データの入力毎に、上記N0TE 5AVE MEM
ORYノ内容を更新するようにしている。そして、この
動作は音源モジュールが複数台接続された場合、各音源
モジュール毎に同期して行われることになる。
As explained above, N0TE 5AVE MEM maintains the state regarding the poly number assigned to itself as well as the state regarding the poly number assigned to all other sound source modules in the sound source module.
ORY, and for each input of N0TE ON and N0TE OFF, the above N0TE 5AVE MEM
I try to update the contents of ORY. When a plurality of sound source modules are connected, this operation is performed synchronously for each sound source module.

これは、N0TE ON及びN0TE OFFの各デー
タが全ての音源モジュールに並列に入力し、各音源モジ
ュールが同じ規則に従ってN0TE 5AVE呂EMO
RYの内容を書き換えるためである。更に、各音源モジ
ュールは、自己に設定されたMAS)IINE Nαに
基づくポリナンバーの範囲に、N0TE ON指示に基
づ(N0TENo、がセットされた場合にのみ発音動作
を行い、上記の範囲にセットされているN0TE No
、に対してN0TE OFFの指示が行われた場合にの
み消音動作を行うことにより、各音源モジュールが分担
してポリフォニック動作を行うことができる。ここで、
演奏者は、音源モジュール毎にポリナンバーを直接指定
するのではな(、MASHINE Nαを設定すること
により自動的に8ポリフォニック分ずつポリナンバーが
指定されるため、簡単な操作でポリナンバーを適切に設
定することが可能となる。
This means that the N0TE ON and N0TE OFF data are input to all sound source modules in parallel, and each sound source module inputs N0TE 5AVEROEMO according to the same rules.
This is to rewrite the contents of RY. Furthermore, each sound source module performs sound generation operation only when (N0TENo) is set based on the N0TE ON instruction in the poly number range based on the self-set MAS) N0TE No.
By performing the muting operation only when the N0TE OFF instruction is given to , each sound source module can perform the polyphonic operation in a shared manner. here,
The performer does not have to directly specify the polynumber for each sound source module (by setting MASHINE Nα, the polynumber is automatically specified for each 8 polyphonics, so it is possible to properly specify the polynumber with a simple operation. It becomes possible to set.

MIDIデータとして入力するN0TE ONデータ又
はN0TE OFFデータには、通常MIDIチャンネ
ルと呼ばれる識別コードが付加されているが、本実施例
ではMIDIチャンネルについては詩には処理はしてい
ない、MIDIチャンネルは、そのチャンネルナンパ−
が同じデータが入力した場合のみ、そのデータを受信で
きるようにするためのものであり、各楽器毎に別々のデ
ータを受信又は送信可能とするものである。また、例え
ば1つの音源モジュールでも複数の141DIチヤンネ
ルを指定でき、それにより複数種類の楽音を別々の制御
で発音できる機能を有する場合もある0本実施例でこの
ような機能に対応可能とするためには、例えばポリナン
バーの範囲指定を、各MIDIチャンネル毎に行えるよ
うにすればよい。また、第2図33のMIDIIN処理
に対応する第10図の動作フローチャートを各MIDI
チャンネル毎に時分割で独立に動作させ、各動作フロー
チャート毎にMIDIチャンネルの一致するN0TEデ
ータのみを取り込むようにすればよい。
The N0TE ON data or N0TE OFF data that is input as MIDI data is usually attached with an identification code called a MIDI channel, but in this embodiment, the MIDI channel is not processed for poetry. That channel pick-up
This is so that the same data can be received only when the same data is input, and it is possible to receive or transmit different data for each musical instrument. Furthermore, for example, even one sound source module can specify multiple 141DI channels, and thereby may have the function of producing multiple types of musical tones under separate controls.This embodiment is designed to support such a function. For example, it may be possible to specify a range of poly numbers for each MIDI channel. In addition, the operation flowchart in FIG. 10 corresponding to the MIDIIN process in FIG.
It is only necessary to operate each channel independently in a time-division manner, and to take in only the N0TE data that matches the MIDI channel for each operation flowchart.

また、本実施例では、N0TEON(発音)とN0TE
OFF  (消音)の指示のみをポリナンバーに基づい
て制御するようにしたが、これに限られるものではなく
、例えば所定のN0TE No、につき音高を変更する
MIDI情報若しくはベンド情報等が入力した場合にも
同様の制御を行うことにより、複数の音源モジュールが
連動してベンド制御等を行うことができる。その他、様
々な効果を付加する場合等においても同様の制御が可能
である。
In addition, in this embodiment, N0TEON (pronunciation) and N0TE
Although only the OFF (mute) instruction is controlled based on the polynumber, the control is not limited to this, for example, when MIDI information or bend information that changes the pitch for a predetermined N0TE No. is input. By performing similar control on the sound source module, a plurality of sound source modules can be linked to perform bend control and the like. Similar control is also possible when adding various other effects.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数の音源モジュールを接続し、各音
源モジュールを同時に動作させた場合、各音源モジュー
ルにおけるノート情報記憶手段上の更新動作は、同じ規
則に従って完全に一致して行われ、各音源モジュールは
、各々に指定された第2のポリフォニック領域内のポリ
フォニンクチャンネルのみを分担して楽音の発音制御を
行うため、接続された音源モジュール全体では、あたか
も1台の音源モジュールで楽音を発音しているように動
作させることが可能となり、接続台数に応じてポリフォ
ニック数を拡張させることが可能となる。
According to the present invention, when a plurality of sound source modules are connected and each sound source module is operated at the same time, the updating operation on the note information storage means in each sound source module is performed completely in unison according to the same rule, and each sound source module is operated simultaneously. Each sound source module controls the production of musical tones by dividing only the polyphonic channel within the second polyphonic area designated for each sound source module, so all connected sound source modules can produce musical tones as if they were a single sound source module. This makes it possible to operate the system as if it were the same, and it becomes possible to expand the number of polyphonic devices according to the number of connected devices.

特に、各音源モジュールのポリフォニック領域指定手段
は、機器番号によって第2のポリフォニック領域を簡単
に指定でき、演奏中等においても素早い設定が可能とな
る。
In particular, the polyphonic area specifying means of each sound source module can easily specify the second polyphonic area using the device number, allowing quick setting even during a performance.

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

第1図は、本発明の実施例の全体構成図、第2図は、メ
イン動作フローチャート、第3図は、コンソールスイッ
チと表示装置の外観構成図、 第4図は、スイッチチェンジ処理の動作フローチャート
、 第5図は、表示装置の発音数設定表示例を示した図、 第6図は、DIS、/ENA、変更処理の動作フローチ
ャート、 第7図は、MASHINE Nα変更処理の動作フロー
チャート、 第8図は、発音数割り当て制御メモリの構成図、第9図
(a)〜(d)は、ポリ同期動作の動作例を示した図、 第10図は、MIDI IN処理の動作フローチャート
、 第11図は、N0TE ON JOB判別処理の動作フ
ローチャート、 第12図は、N0TE OFF −チャートである。 1・・・外部人カイ 2・・・ROM。 3・・・RAM、 4・・・CPU。 5・・・コンソール部イ 6・・・音源回路、 7・・・D/A部、 8・・・コンソールスイッチ、 9・・・表示装置(LCD)。 ンタフェース回路、 ンタフェース回路、 JOB判別処理の動作フロ
Fig. 1 is an overall configuration diagram of an embodiment of the present invention, Fig. 2 is a main operation flowchart, Fig. 3 is an external configuration diagram of a console switch and display device, and Fig. 4 is an operation flowchart of switch change processing. , FIG. 5 is a diagram showing a display example of the number of sounds set on the display device, FIG. 6 is an operation flowchart of DIS, /ENA, change processing, FIG. 7 is an operation flowchart of MASHINE Nα change processing, and FIG. The figure is a configuration diagram of the number of pronunciation allocation control memory, Figures 9 (a) to (d) are diagrams showing an example of poly-synchronization operation, Figure 10 is an operation flowchart of MIDI IN processing, Figure 11 is an operation flowchart of the N0TE ON JOB determination process, and FIG. 12 is a N0TE OFF-chart. 1... Gaijin Kai 2... ROM. 3...RAM, 4...CPU. 5...Console part a6...Sound source circuit, 7...D/A section, 8...Console switch, 9...Display device (LCD). Interface circuit, interface circuit, operation flow of JOB determination processing

Claims (1)

【特許請求の範囲】 1)外部からノート情報を受信可能で、該ノート情報に
より楽音の発音制御が可能な音源装置において、 複数のポリフォニックチャンネルからなる第1のポリフ
ォニック領域内で、第2のポリフォニック領域を機器番
号を指定することにより指定するポリフォニック領域指
定手段と、 前記第1のポリフォニック領域内の各ポリフォニックチ
ャンネル毎にノート情報を記憶するノート情報記憶手段
と、 ノート情報を受信した場合に、所定の規則に従って前記
ノート情報記憶手段上の前記第1のポリフォニック領域
内のポリフォニックチャンネルのノート情報を更新する
ポリフォニックチャンネル制御手段と、 前記ノート情報記憶手段上の前記第2のポリフォニック
領域内の各ポリフォニックチャンネルに記憶されている
ノート情報に基づいて楽音の発音制御を行う楽音制御手
段と、 を有することを特徴とする音源装置。 2)前記ノート情報記憶手段上の前記第2のポリフォニ
ック領域内の各ポリフォニックチャンネルに記憶されて
いるノート情報に基づいて楽音の発音制御を行うモード
と、前記受信したノート情報に基づいて無条件に楽音の
発音制御を行うモードとを切り換え可能な楽音制御手段
を有することを特徴とする請求項1記載の音源装置。 3)前記外部から入力する前記ノート情報はMIDI(
MusicalInstrumentDigitalI
nterface)方式に従って入力し、前記ポリフォ
ニック領域指定手段、前記ノート情報記憶手段、前記ポ
リフォニックチャンネル制御手段及び前記楽音制御手段
は、MIDIチャンネル毎に独立して動作することを特
徴とする請求項1又は2記載の音源装置。
[Scope of Claims] 1) In a sound source device capable of receiving note information from the outside and controlling the production of musical tones based on the note information, within a first polyphonic area consisting of a plurality of polyphonic channels, a second polyphonic polyphonic area specifying means for specifying an area by specifying a device number; note information storage means for storing note information for each polyphonic channel in the first polyphonic area; polyphonic channel control means for updating the note information of the polyphonic channels in the first polyphonic area on the note information storage means according to the rules; and each polyphonic channel in the second polyphonic area on the note information storage means. 1. A sound source device comprising: a musical tone control means for controlling the sound production of musical tones based on note information stored in the sound source device. 2) A mode in which musical sound production is controlled based on note information stored in each polyphonic channel in the second polyphonic area on the note information storage means, and a mode in which musical tone production is controlled unconditionally based on the received note information. 2. The sound source device according to claim 1, further comprising musical tone control means capable of switching between modes for controlling musical tone production. 3) The note information input from the outside is MIDI (
Musical Instrument Digital I
3. The polyphonic area specifying means, the note information storage means, the polyphonic channel control means, and the musical tone control means operate independently for each MIDI channel. The sound source device described.
JP63281643A 1988-11-08 1988-11-08 Sound source unit Pending JPH02127693A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63281643A JPH02127693A (en) 1988-11-08 1988-11-08 Sound source unit
US07/431,738 US5025701A (en) 1988-11-08 1989-11-03 Sound source apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63281643A JPH02127693A (en) 1988-11-08 1988-11-08 Sound source unit

Publications (1)

Publication Number Publication Date
JPH02127693A true JPH02127693A (en) 1990-05-16

Family

ID=17641962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63281643A Pending JPH02127693A (en) 1988-11-08 1988-11-08 Sound source unit

Country Status (1)

Country Link
JP (1) JPH02127693A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10196244B2 (en) 2015-03-20 2019-02-05 Tadano Ltd. Jib connection structure
US10287144B2 (en) 2015-03-20 2019-05-14 Tadano Ltd. Jib connection structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10196244B2 (en) 2015-03-20 2019-02-05 Tadano Ltd. Jib connection structure
US10287144B2 (en) 2015-03-20 2019-05-14 Tadano Ltd. Jib connection structure

Similar Documents

Publication Publication Date Title
US4344345A (en) Automatic rhythm accompaniment system
EP0974955B1 (en) Musical tone synthesizing apparatus and method
JP3444947B2 (en) Music signal generator
JPS63136091A (en) Key scaling apparatus for electronic musical instrument
JPH03192296A (en) Electronic musical instrument
JPH02127693A (en) Sound source unit
JPH03126088A (en) Automatic player
JP2843852B2 (en) Sound module
JPS5929296A (en) Parameter setting unit for electronic musical instrument
JPH07168563A (en) Electronic musical instrument capable of extending sound source
JP2555603B2 (en) Music signal generator
JP3230265B2 (en) Sound channel assignment device for electronic musical instruments
JP2518356B2 (en) Automatic accompaniment device
JPS62208099A (en) Musical sound generator
JPH1091160A (en) Effect adding device of electronic musical instrument
JPH0659669A (en) Musical sound generation device
JPH0527762A (en) Electronic musical instrument
JPH03293698A (en) Musical sound generating device
JPH0460698A (en) Musical sound waveform generator
JPH0627954A (en) Electronic musical instrument
JPH11296174A (en) Musical sound generating device
JPH04166895A (en) Electronic musical instrument
JPH01179089A (en) Automatic playing device
JP2002162964A (en) Automatic playing device
JPH0863159A (en) Automatic player