JPH02188795A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH02188795A
JPH02188795A JP1009436A JP943689A JPH02188795A JP H02188795 A JPH02188795 A JP H02188795A JP 1009436 A JP1009436 A JP 1009436A JP 943689 A JP943689 A JP 943689A JP H02188795 A JPH02188795 A JP H02188795A
Authority
JP
Japan
Prior art keywords
localization
mode
note
musical
sound source
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.)
Granted
Application number
JP1009436A
Other languages
Japanese (ja)
Other versions
JP2643405B2 (en
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 JP1009436A priority Critical patent/JP2643405B2/en
Publication of JPH02188795A publication Critical patent/JPH02188795A/en
Application granted granted Critical
Publication of JP2643405B2 publication Critical patent/JP2643405B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain stereophonic effect that a player intends by providing a localization control means which generates a musical sound based upon note-on information by a sound source means while changing localization every time the note-on information is inputted. CONSTITUTION:This electronic musical instrument has the sound source means 9 which generates musical sound signals independently at plural positions. Further, the musical instrument has the localization control means 1 which generates the musical sound based upon the note-on information by the sound source means 9 while changing the localization every time the note-on information is inputted. Therefore, the localization of the musical sound generated by the sound source means 9 can be changed every time the note-on information based upon play operation is inputted. Thus, a player can changes the localization of the musical sound generated by playing, for example, single tones, one by one, and also generates the musical sound of wide localization by playing, for example, a chord. Consequently, the stereophonic effect based upon the player's intention can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、楽音の定位を制御しながら発音制御を行う電
子楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic musical instrument that controls sound production while controlling the localization of musical tones.

〔従来の技術〕[Conventional technology]

近年の電子楽器において、楽音の出力をモノラルのみで
なくステレオで出力できるものが開発されている。そし
てこの場合、左右チャネルへの楽音の振り分けを行う装
置が開発されている。
BACKGROUND ART In recent years, electronic musical instruments that can output musical tones not only in monaural but also in stereo have been developed. In this case, a device has been developed that distributes musical tones to left and right channels.

このような装置の従来例として、例えば楽音に各々異な
ったLFOビブラート又はLFOトレモロ等の効果を付
加して2種類の楽音出力を生成し、これらの楽音を例え
ば演奏者によってあらかじめ設定された定位で左右チャ
ネルに振り分けるものがある。又は、左右チャネルの間
で上記2種類の楽音がランダムに振り分けられるように
制御するものもある。
As a conventional example of such a device, for example, two types of musical sound outputs are generated by adding different effects such as LFO vibrato or LFO tremolo to each musical sound, and these musical sounds are, for example, placed in a localization preset by the performer. There is something that can be distributed to the left and right channels. Alternatively, there is also a control system in which the two types of musical tones are randomly distributed between the left and right channels.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、上記従来例は、演奏操作によって楽音を左右チ
ャネルに振り分けるものではなく、演奏者の意思とは無
関係に左右チャネルへの振り分けが行われ、演奏者の意
図したようなステレオ効果を得ることができないという
問題点を有している。
However, in the conventional example described above, the musical tones are not distributed to the left and right channels by the performance operation, but are distributed to the left and right channels regardless of the performer's intention, making it impossible to obtain the stereo effect that the performer intended. The problem is that it cannot be done.

本発明の課題は、演奏者による演奏操作に基づいて楽音
の定位を制御可能とし、これによって演奏者が意図した
ようなステレオ効果を得られるようにすることにある。
An object of the present invention is to make it possible to control the localization of musical tones based on the player's performance operations, thereby making it possible to obtain the stereo effect intended by the player.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、まず、複数の定位の各々で楽音信号を独立に
発音する音源手段を有する。同手段は、例えば周波数変
調タイプ又は位相変調タイプのデジタル音源、PCM音
源等種々のタイプの音源が適用できる。そして、例えば
ステレオの左チャネル及び右チャネルの各定位で、楽音
信号を例えば時分割処理によって独立に発音する手段で
ある。
The present invention includes, first, sound source means for independently producing musical tone signals at each of a plurality of localizations. This means can be applied to various types of sound sources, such as a frequency modulation type or phase modulation type digital sound source, a PCM sound source, etc. And, for example, it is a means for independently generating musical tone signals in each localization of the left channel and right channel of stereo, for example, by time-division processing.

又は、左右の中央の定位あるいは連続的に左右の混合率
が変化する定位で楽音信号を発音させるようにしてもよ
い。また、この場合、左右チャネルの各々で例えば4音
、8音等のポリフォニック数で楽音信号を独立に発音す
る。
Alternatively, the musical tone signal may be generated at a localization at the center of the left and right sides or at a localization where the mixing ratio of the left and right changes continuously. Further, in this case, musical tone signals are generated independently in polyphonic numbers such as 4 tones, 8 tones, etc. in each of the left and right channels.

次に、ノートオン情報が入力する毎に前記音源手段にお
いて定位を変更しながら前記ノートオン情報に基づく楽
音を発音させる定位制御手段を有する。この場合、ノー
トオン情報は、例えばMIDI(Musical In
strument Digital Interfac
e)規格に基づいて鍵盤楽器等から入力し、又は、内蔵
の鍵盤部から押鍵された鍵に対応して入力する。そして
、上記定位制御手段は、上記ノートオン情報が入力する
毎に、前記音源手段における例えば左右チャネルへの発
音割り当てを交互に変更しながら、各ノートオンコマン
ドに基づいて音高・音量・音色等を制御して楽音を発音
させる手段である。ここで、好ましき構成例によれば、
各ノートオン情報の入力に対応して所定の定位を決定し
たときに、前記音源手段における前記所定の定位で前記
所定のポリフォニック数の楽音が発音されている場合、
前記定位制御手段は前記音源手段において前記所定の定
位以外の定位で前記ノートオン情報に基づく楽音を発音
させる。また、同じく所定の定位を決定したときに、前
記音源手段における前記複数の定位の全てで前記所定の
ポリフォニック数の楽音が発音されている場合、前記定
位制御手段は前記音源手段において前記所定の定位で発
音されている楽音のうち最も古く発音開始された楽音を
消音して前記ノートオン情報に基づく楽音を発音させる
Next, the apparatus includes localization control means for generating musical tones based on the note-on information while changing the localization in the sound source means each time note-on information is input. In this case, the note-on information is, for example, MIDI (Musical In
Strument Digital Interface
e) Input from a keyboard instrument or the like based on the standard, or input in response to keys pressed from the built-in keyboard section. Each time the note-on information is input, the localization control means alternately changes the sound generation assignment to, for example, the left and right channels in the sound source means, and controls the pitch, volume, timbre, etc. based on each note-on command. This is a means of controlling the sound to produce musical tones. Here, according to a preferred configuration example,
When a predetermined localization is determined in response to the input of each note-on information, if the predetermined polyphonic number of musical tones are being produced at the predetermined localization in the sound source means,
The localization control means causes the sound source means to generate a musical tone based on the note-on information at a localization other than the predetermined localization. Similarly, when the predetermined localization is determined, if the predetermined polyphonic number of musical tones are being produced at all of the plurality of localizations in the sound source means, the localization control means determines the predetermined localization in the sound source means. Among the musical tones being sounded, the musical tone whose sounding was started earliest is muted, and a musical tone based on the note-on information is generated.

〔作   用〕[For production]

演奏者が内蔵の又はMIDI等を介して外部に接続され
たキーボード楽器等を用いて、鍵盤等の押鍵操作を繰り
返して演奏を行った場合、押鍵毎に音源手段から発音さ
れる楽音の定位が例えば左右チャネル交互に変化する。
When a performer performs a performance by repeatedly pressing keys on a keyboard using a built-in keyboard instrument or the like connected externally via MIDI, the musical sound emitted from the sound source means for each key press is For example, the localization changes alternately between the left and right channels.

すなわち、演奏者は押鍵操作を単音ずつ行うことによっ
て発音される楽音の定位を変更できる。また、和音を演
奏することによって、例えば左右チャネルで広がった定
位の楽音を発音でき、演奏者の意図に基づくステレオ効
果を得ることができる。なお、鍵盤操作に限られるもの
ではなく、シーケンサ−等を用いて自動演奏を行う場合
にもノートオン情報が入力に同期させて楽音の定位を制
御できる。
That is, the performer can change the localization of the musical tones produced by pressing keys one by one. Furthermore, by playing chords, for example, it is possible to generate a musical sound with a wide localization in the left and right channels, and it is possible to obtain a stereo effect based on the player's intention. It should be noted that note-on information is not limited to keyboard operations, and even when automatic performance is performed using a sequencer or the like, note-on information can control the localization of musical tones in synchronization with input.

この場合、ある定位における楽音のポリフォニック数が
一杯になってしまった場合には、例えば他の定位に振り
分けることにより、適切な制御を行える。
In this case, if the polyphonic number of musical tones in a certain localization becomes full, appropriate control can be performed, for example, by distributing the musical tones to another localization.

更に、全ての定位の楽音のポリフォニック数が一杯にな
ってしまった場合には、定位制御手段で指定された定位
において、後着優先で楽音を発音させることができ、こ
の場合も適切な制御を行うことができる。
Furthermore, if the polyphonic number of musical tones in all localizations is full, the musical tones can be played with priority given to the last sound in the localization specified by the localization control means, and in this case, appropriate control can also be performed. It can be carried out.

〔実  施  例〕〔Example〕

以下、図面を参照しながら本発明の詳細な説明する。本
実施例は、複数の演奏モードのうちから任意の演奏モー
ドを選択できる電子楽器として実現され、そのうち本発
明に関連する部分は、演奏モードとしてノーマルモード
(NORMAL MODE)でキーボードモード(Ke
y Board Mode)が選択された場合のノート
オンの制御処理(後述する)に関するものである。
Hereinafter, the present invention will be described in detail with reference to the drawings. The present embodiment is realized as an electronic musical instrument that can select any performance mode from among a plurality of performance modes, of which the parts related to the present invention are a normal mode (NORMAL MODE) and a keyboard mode (Ke
This relates to note-on control processing (described later) when y Board Mode) is selected.

体1]l((社)1戊 第1図は、本発明による電子楽器の構成図である。本実
施例は、外部からのMIDIコマンド(データを含む。
FIG. 1 is a block diagram of an electronic musical instrument according to the present invention. This embodiment uses external MIDI commands (including data).

以下同じ。)を受信し、それに基づいて音源を制御Bシ
て対応する楽音を発音する音源モジュールタイプの電子
楽器として実現されるが、同図に示すように鍵盤部16
又はコントローラー17を有するキーボード楽器等の一
部として実現することも可能である。なお、コントロー
ラー17としては、例えば演奏時の音高を任意に変更す
るためのベンダーホイール(Bender whee1
)、トレモロの深さ等を任意に変更できるモジュレーシ
ョンホイール(Modulation whee1)、
予め設定された楽音構成要素の1つ又は複数に対して任
意にデータを変更させることのできるデイファイナプル
ホイール(Definable whee1)等の操作
子がある。以下の説明では、特に言及しない限り外部か
らのMIDIコマンドに基づいて制御される音源モジュ
ールとして説明を行う。
same as below. ) and controls the sound source based on it to produce the corresponding musical tone.As shown in the figure, the keyboard section 16
Alternatively, it can also be implemented as part of a keyboard instrument or the like having the controller 17. Note that the controller 17 may include, for example, a bender wheel for arbitrarily changing the pitch during performance.
), a modulation wheel (Modulation wheel 1) that allows you to arbitrarily change the tremolo depth, etc.
There are operators such as a definable wheel (Definable wheel 1) that can arbitrarily change data for one or more of preset musical tone components. In the following description, unless otherwise specified, the sound source module will be described as being controlled based on external MIDI commands.

中央制御装置(以下、CPUと呼ぶ)lは、後述する各
処理部からのデータ処理及び各処理部を制御するための
制御データの送出等を行い、電子楽器全体の制御を行う
A central control unit (hereinafter referred to as CPU) l performs data processing from each processing section, which will be described later, and sends out control data for controlling each processing section, thereby controlling the entire electronic musical instrument.

スイッチ部3は各種スイッチ群であり、音色を切り換え
るためのスイッチ、演奏モード(後述する)を切り換え
るためのスイッチ、各種制御データ・演奏モード設定デ
ータ・音色データ等の設定状態を変更するためのスイッ
チ、又はデータの値を変更するためのボリューム等から
なり、これらのスイッチ情報はバス2を介してCPUI
に取り込まれて処理された後、各処理系にデータが設定
又は送出される。
The switch section 3 is a group of various switches, including a switch for changing the tone color, a switch for changing the performance mode (described later), and a switch for changing the setting state of various control data, performance mode setting data, tone data, etc. , or a volume for changing data values, and these switch information is sent to the CPU via bus 2.
After the data is imported and processed, the data is set or sent to each processing system.

表示部4は、LED又はLCDデイスプレィ等により、
現在の演奏状態、設定データ値、システムの設定状態等
が、CPUIからバス2を介して送られてくるデータに
対応して表示される。
The display unit 4 is an LED or LCD display, etc.
The current performance status, setting data values, system setting status, etc. are displayed in response to data sent from the CPU via bus 2.

MIDI回路5は、MIDI規格に従って外部から入力
する本音源モジュールを制御する信号を受信してバス・
2を介してCPUIに転送し、或いは逆にCPUIから
バス2を介して出力される外部の電子楽器を制御するた
めの信号をMIDI規格に従って送信するためのインタ
フェース回路である。
The MIDI circuit 5 receives signals input from the outside to control the main tone generator module according to the MIDI standard, and transmits them to the bus.
This is an interface circuit for transmitting signals for controlling an external electronic musical instrument that are transferred to the CPU via the bus 2, or conversely output from the CPU via the bus 2, in accordance with the MIDI standard.

外部インタフェース6は、ICカードに記憶されたデー
タ・プログラム等を取り込み、逆にICカードにデータ
・プログラム等を書き込むためのインタフェース回路で
ある。なお、この回路は本発明には特には関係しない。
The external interface 6 is an interface circuit for importing data, programs, etc. stored in the IC card, and conversely writing data, programs, etc. to the IC card. Note that this circuit is not particularly related to the present invention.

ROM7は、本音源モジュールを動作させるためのプロ
グラムや音色データ、演奏データ等が記憶されている読
み出し専用メモリである。
The ROM 7 is a read-only memory that stores programs, tone data, performance data, etc. for operating the sound source module.

RAM8は、上記プログラム中で使用されるデータ、音
色データ、音色制御用データ、演奏データ又は演奏状態
データ等を一時的に記憶する書き換え可能なメモリであ
る。
The RAM 8 is a rewritable memory that temporarily stores data used in the program, timbre data, timbre control data, performance data, performance status data, and the like.

音源9は、CPUIからバス2を介して入力する制御デ
ータに基づき、音色がセットされ発音状態が制御されな
がら楽音を発音する回路であり、PCM音源タイプ、周
波数変調タイプ、位相変調タイプ等、種々のデジタル音
源回路が適用できる。
The sound source 9 is a circuit that generates musical tones while setting the tone and controlling the sound generation state based on control data input from the CPU via the bus 2. Digital sound source circuits can be applied.

D/A変換器10は、音源9からのデジタル楽音データ
をステレオのアナログ楽音信号に変換する変換回路であ
る。
The D/A converter 10 is a conversion circuit that converts digital musical tone data from the sound source 9 into a stereo analog musical tone signal.

パンニング効果発生器11は、D/A変換器10からの
ステレオのアナログ楽音信号に対して、左右チャネルの
定位を自動的に変化させるパンニング効果を付加する回
路である。このパンニング効果の状態は、CPUIから
バス2を介して入力する制御信号により制御される。な
お、本発明は楽音信号をステレオの左右チャネルの間で
振り分ける一種のパンニング処理に関するものであるが
、パンニング効果発生器11はアナログ楽音信号になっ
てからパンニング効果を一定定位又はランダムに付加さ
せる回路であり、本実施例には特には関連しない。勿論
、−それは、本実施例に関してのことであって、このよ
うなパンニング効果発生器tiによって、本発明の定位
制御を行ってもよいことは明らかである。
The panning effect generator 11 is a circuit that adds a panning effect to the stereo analog musical tone signal from the D/A converter 10 to automatically change the localization of the left and right channels. The state of this panning effect is controlled by a control signal input via bus 2 from the CPUI. The present invention relates to a type of panning processing for distributing a musical sound signal between left and right stereo channels, but the panning effect generator 11 is a circuit that adds a panning effect to the analog musical sound signal in a fixed position or at random. This is not particularly relevant to this embodiment. Of course - that is with regard to the present embodiment, and it is clear that the localization control of the invention may also be carried out by such a panning effect generator ti.

フィルター12は、パンニング効果発生器11からのス
テレオ楽音信号に対して、必要以外の周波数成分を除去
するための左右チャネル独立のフィルターである。
The filter 12 is a left and right channel independent filter for removing unnecessary frequency components from the stereo musical sound signal from the panning effect generator 11.

アンプ13は、上記ステレオ出力を左右チャネル独立に
増幅し、このようにして増幅されたステレオ楽音信号は
各スピーカ14.15から放音される。なお、本実施例
を音源モジュールとして実現する場合、アンプ13及び
スピーカ14.15を省略し、フィルター12からのス
テレオ楽音信号を音源モジュールに接続される外部オー
ディオシステムに出力するようにしてもよい。
The amplifier 13 amplifies the stereo output for left and right channels independently, and the stereo musical tone signals amplified in this way are emitted from each speaker 14, 15. Note that when this embodiment is implemented as a sound source module, the amplifier 13 and speakers 14 and 15 may be omitted, and the stereo musical sound signal from the filter 12 may be output to an external audio system connected to the sound source module.

鍵盤部16およびコントローラ17は、はじめに説明し
たように本実施例をキーボード楽器の一部として実現す
る場合の構成例であり、本発明には直接は関係しないた
め、その動作説明は省略する。
As described at the beginning, the keyboard section 16 and the controller 17 are an example of the configuration when this embodiment is implemented as part of a keyboard instrument, and are not directly related to the present invention, so a description of their operation will be omitted.

の  、 フロー 上記構成の電子楽器の動作を以下に説明する。of , flow The operation of the electronic musical instrument having the above configuration will be explained below.

なお、以下に示す各動作フローチャートは、第1図のC
PUIがROM7に記憶されているプログラムに従って
動作することにより実行される。
Note that each operation flowchart shown below is based on C in Fig. 1.
The PUI is executed by operating according to a program stored in the ROM 7.

本実施例による電子楽器は、電源オンと同時に第5図の
ジェネラル動作フローチャートをスタートさせ繰り返し
実行するが、そのほか第2図〜第4図及び第21図、第
22図の各動作フローチャートを割り込み処理によって
実行する。なお、第9図及び第11図〜第18図は、第
5図のジェネラル動作フローチャートの各部の詳細であ
る。
The electronic musical instrument according to this embodiment starts the general operation flowchart shown in FIG. 5 at the same time as the power is turned on and repeatedly executes it, but also interrupts the operation flowcharts shown in FIGS. 2 to 4 and 21 and 22. Execute by. Note that FIGS. 9 and 11 to 18 show details of each part of the general operation flowchart of FIG. 5.

まず、本実施例の基本動作フローにつき第2図〜第5図
の動作フローチャートに従って説明する。
First, the basic operation flow of this embodiment will be explained according to the operation flowcharts of FIGS. 2 to 5.

なお、随時第1図の各処理部を参照しながら説明を行う
The explanation will be given with reference to each processing unit shown in FIG. 1 from time to time.

第2図は、cpui内の特には図示しないタイマーから
の一定周期毎の割り込みに基づいて、第5図のジェネラ
ル動作フローチャートに優先して実行される処理フロー
であり、5201において、スイッチ部3の各スイッチ
の状態をRAM8の特には図示しないエリアに取り込む
処理を行う。この処理を実行した後は、再び第5図のジ
ェネラル動作フローチャートでの処理に戻る。
FIG. 2 shows a processing flow that is executed with priority over the general operation flowchart of FIG. The state of each switch is loaded into an area (not shown) of the RAM 8. After executing this process, the process returns to the general operation flowchart of FIG. 5 again.

第3図は、MIDI回路5が特には図示しない外部機器
からのMIDIコマンドを受信した場合に、MIDI回
路5からの割り込みに基づいて、第5図のジェネラル動
作フローチャートに優先して実行される処lフローであ
り、5301において、MID(回路5で受信されたM
IDIコマンドをRAM8の特には図示しないエリアに
取り込む処理及びMIDI入力が発生したことを示すフ
ラグをRAMB内の特には図示しないエリアにセットす
る処理を行う。この処理を実行した後は、再び第5図の
ジェネラル動作フローチャートでの処理に戻る。
FIG. 3 shows a process that is executed with priority over the general operation flowchart of FIG. 5 based on an interrupt from the MIDI circuit 5 when the MIDI circuit 5 receives a MIDI command from an external device (not particularly shown). 1 flow, and at 5301 the MID (M
Processing is carried out to import an IDI command into an area not particularly shown in the RAM 8, and processing to set a flag indicating that a MIDI input has occurred in an area not particularly shown in the RAMB. After executing this process, the process returns to the general operation flowchart of FIG. 5 again.

第4図は、本実施例がキーボード楽器の一部として実現
され、鍵盤部16及びコントローラー17等を具備する
ような場合に、これらが操作されたときに該操作データ
を外部機器に出力するための処理フローであり、540
1において、上記操作に基づく割り込み処理によりMI
DI回路5を介してMIDIコマンドとして出力する処
理を行う。なお、この動作は通常のMIDIコマンドの
出力処理であり、本発明に直接は関連しない。
FIG. 4 shows how, when this embodiment is realized as a part of a keyboard instrument and is equipped with a keyboard section 16, a controller 17, etc., the operation data is output to an external device when these are operated. This is the processing flow of 540
1, the MI
A process of outputting as a MIDI command via the DI circuit 5 is performed. Note that this operation is normal MIDI command output processing and is not directly related to the present invention.

第5図は、CPUIによって繰り返し実行されるジェネ
ラル動作フローチャートである。
FIG. 5 is a general operation flowchart repeatedly executed by the CPUI.

始めに電源が投入されると、5501において、音源9
に対する初期設定、表示部4への初期表示データの設定
、RAM8における各制御データ・コントロールデータ
・演算用データ等の初期化等のイニシャライズ処理が行
われる。
When the power is first turned on, in 5501, the sound source 9
Initialization processing is performed, such as initial settings for , initial display data settings for the display unit 4 , and initialization of each control data, control data, calculation data, etc. in the RAM 8 .

次に、5502において、スイッチ部3の状態変化の有
無が判別される。なお、ここで判別されるスイッチデー
タは、第2図に示した割り込み処理によって検出されR
AM8に取り込まれているスイッチデータを用いる。
Next, in 5502, it is determined whether the state of the switch section 3 has changed. Note that the switch data determined here is detected by the interrupt processing shown in FIG.
The switch data imported into AM8 is used.

上記判別によりスイッチ状態に変化があれば、5503
において、スイッチ変化処理を行う。ここでは、演奏モ
ードの設定のほか、音色データの設定、MIDI制御デ
ータの設定、バンニング(PAN)制御データの設定及
び各データの変更、音源9に対する楽音制御用データの
設定、表示部4へのデータ設定、コントロールデータの
初期設定、バンニング効果発生器11に対する制御、外
部インタフェース6を介してのICカード等とのデータ
又はプログラムの授受、MIDIの制御等、システム状
態に応じて必要な全ての処理がなされる。なお、この動
作については後に詳述する。以上の動作の後は5504
の処理に移る。
If there is a change in the switch state as a result of the above determination, 5503
At , switch change processing is performed. Here, in addition to setting the performance mode, setting tone data, setting MIDI control data, setting banging (PAN) control data, changing each data, setting musical tone control data for the sound source 9, and setting the display unit 4. All necessary processing depending on the system status, such as data settings, initial settings of control data, control of the banging effect generator 11, exchange of data or programs with an IC card etc. via the external interface 6, MIDI control, etc. will be done. Note that this operation will be detailed later. After the above operation, 5504
Move on to processing.

一方、前記5502の判別によりスイッチ状態に変化が
なければ、5503のスイッチ変化処理は実行せず、5
504の処理に移る。
On the other hand, if there is no change in the switch state as determined in step 5502, the switch change process in step 5503 is not executed, and
The process moves to step 504.

続いて5504では、MIDI回路5を介してIIII
DIコマンドの入力がなされたか否かが判別される。
Next, at 5504, the MIDI circuit 5
It is determined whether a DI command has been input.

なお、ここでMIDI入力の有無を判別するためのフラ
グは、前記したように第3図に示した割り込み処理によ
ってRAM8にセットされる。
Note that the flag for determining the presence or absence of MIDI input is set in the RAM 8 by the interrupt processing shown in FIG. 3, as described above.

上記判別によりMIDI入力が有れば、5505のMI
DI IN処理を実行する。ここでは入力したMIDI
コマンドを識別し、該データに対応して内部演奏モード
の変更、音色データの変更、PAN制御データの変更、
楽音制御データの変更、及びこれらに対する全ての処理
、また、楽音の制御、表示データの制御、MIDIの制
御等がシステム状態及び設定データに応じて処理される
。なお、ここは本発明に特に関係する部分であり、本発
明に係る動作については後に詳述する。以上の動作の後
は5506の処理に移る。
If there is MIDI input according to the above judgment, MIDI of 5505
Execute DI IN processing. Here, the input MIDI
Identify the command, change the internal performance mode, change the tone data, change the PAN control data, in response to the data.
Changes in musical tone control data and all processes related thereto, as well as musical tone control, display data control, MIDI control, etc., are processed according to the system status and setting data. Note that this is a part particularly related to the present invention, and the operation according to the present invention will be described in detail later. After the above operations, the process moves to step 5506.

一方、前記5504の判別によりMIDI人力がなけれ
ば、5505のMIDI IN処理は実行せず、550
6の処理に移る。
On the other hand, if there is no MIDI manual power as determined in 5504, the MIDI IN process in 5505 is not executed, and the MIDI IN process in 550 is not executed.
Proceed to step 6.

3506では、鍵盤部16において押鍵変化の有無が判
別される。この処理は、1本実施例の構成」の項で説明
したように、本実施例をキーボード楽器の一部として実
現し鍵盤部16を有する場合に実行される処理で、自己
の鍵盤操作も楽音の発音制御に反映させるために、55
06の押鍵変化の有無の判別を行う。
At 3506, it is determined whether or not there is a change in key depression in the keyboard section 16. As explained in section 1, "Configuration of this Embodiment," this process is executed when this embodiment is realized as a part of a keyboard instrument and has the keyboard section 16, and the own keyboard operation also produces musical sounds. 55 in order to reflect it in the pronunciation control of
It is determined whether or not there is a change in key depression in step 06.

そして、押離鍵操作がなされた場合には、5507にお
いて、押鍵変化処理を行う。この処理は、押離鍵操作に
伴うデータの変更、発音の割り当て、発音処理、消音処
理、MIDI制御等の処理であるが、通常のキーボード
楽器の動作と同じであり、また、本発明に直接は関係し
ないため、その詳細は省略する: 上記処理の後又は5506の判別により押鍵変化がなか
った場合は、5502の処理に戻ることにより、350
2〜5507の処理を繰り返し実行する。
If a key press/release operation is performed, key press change processing is performed in 5507. This processing involves changing data in response to key press/release operations, assigning sounds, producing sounds, muting, MIDI control, etc., and is the same as the operation of a normal keyboard instrument, and is directly related to the present invention. is not relevant, so its details will be omitted: If there is no key press change after the above processing or as determined in 5506, by returning to the processing in 5502, 350
Processes 2 to 5507 are repeatedly executed.

なお、本実施例を鍵盤部16を持たない音源モジュール
タイプの電子楽器として実現する場合には、5506及
び5507の処理は実行する必要はない。
Note that if this embodiment is implemented as a sound source module type electronic musical instrument that does not have the keyboard section 16, it is not necessary to execute the processes 5506 and 5507.

における    の 以上説明した本実施例の基本動作フローにおいて、本発
明に特に関係する部分は、第5図のジェネラル動作フロ
ーチャートの5505のl141DI IN処理である
が、これらの詳細について説明する前に、本実施例によ
る電子楽器の発音態様の概要を説明する。
In the basic operation flow of this embodiment described above, the part that is particularly relevant to the present invention is the l141DI IN process at 5505 in the general operation flowchart of FIG. An outline of the sound production mode of the electronic musical instrument according to the embodiment will be explained.

本実施例では、最大同時発音数(以下、ポリフォニック
(Poly)数又は単にPo1yと呼ぶ)が8音、最大
8音色同時発音可能な音源として実現される。
In this embodiment, the maximum number of simultaneous sound productions (hereinafter referred to as polyphonic (Poly) number or simply Po1y) is 8 notes, and a maximum of 8 tones can be produced simultaneously as a sound source.

そして、ノーマルモード(NORMAL MODE) 
、コンビネーションモード(COMBINATION 
MODE)、及びマルチポリフォニックモード(Mtl
LTl、POLY MODE)の3つの演奏モードを有
する。NORMAL MODEにおいては、1音色で8
音Po1yの楽音を発音可能である。
And NORMAL MODE
, combination mode
MODE), and multi-polyphonic mode (Mtl
It has three performance modes: LTl, POLY MODE). In NORMAL MODE, 1 tone has 8
It is possible to produce musical tones of the tone Po1y.

COMBINATION MODEでは、発音エリアを
2つもち各エリアに対し1音色で4音Po1yを割り当
て可能である。すなわち、4音Po1yで2音色混合の
楽音を発音可能である。MULTl、POLY MOD
Eでは、発音エリアを8つもち各エリアに対してl音色
で0〜8音Po1yを割り当て可能である。但し、ML
ILTl、POLYMODEの全エリアのPo1y数の
合計が8音より大きくなることはない。
In the COMBINATION MODE, there are two sound generation areas, and each area can be assigned one timbre of four tones Po1y. That is, it is possible to generate musical tones with a mixture of two tones using four tones Po1y. MULTl, POLY MOD
E has 8 sound generation areas, and each area can be assigned 0 to 8 sounds Po1y with 1 timbre. However, ML
The total number of Po1y in all areas of ILTl and POLYMODE will never be larger than 8 notes.

更に、上記3つの演奏モードの各々に対して、NORM
AL MODE及びCOMB[NATION MODE
では、各々、キーボードモード(Key Board 
Mode)、ギターモード(Guitar  Mode
)及び管楽器モード(Wind Mode)を択一的に
選択可能で、MULTl、POLY MODE テは、
Key Board Modeが固定的に設定される。
Furthermore, for each of the above three performance modes, NORM
AL MODE and COMB[NATION MODE
Now, each keyboard mode (Key Board
Mode), Guitar Mode
) and wind instrument mode (Wind Mode) can be selected.
Key Board Mode is fixedly set.

上記各演奏モードにおいて、第1図のMIDI回路5を
介して各HIDEコマンドが入力した場合の本実施例の
発音態様を第6図に示す。同図の表において、Note
 on10ffコマンドは発音開始又は発音終了を指示
する命令であり、Pitch Renderコマンドは
ピッチベンド(音高変更)を指示する命令であり、また
、After Touchコマンドはアフタータッチ(
押鍵後の鍵圧力)を指示する命令である。更に、音色チ
ェンジコマンドは発音すべき音色の変更を指示する命令
であり、コントロールチェンジコマンドはモジュレーシ
ョンホイール、フットボリューム、ポルタメントデータ
、マスターボリューム、フットスイッチ等の各種コント
ロールの変更を指示する命令である。
FIG. 6 shows the sound production mode of this embodiment when each HIDE command is input through the MIDI circuit 5 of FIG. 1 in each of the performance modes described above. In the table of the same figure, Note
The on10ff command is a command to start or end sound, the Pitch Render command is a command to pitch bend (change pitch), and the After Touch command is a command to start or end sound.
This command instructs the key pressure after pressing the key. Furthermore, the timbre change command is an instruction to change the timbre to be produced, and the control change command is an instruction to change various controls such as the modulation wheel, foot volume, portamento data, master volume, foot switch, etc.

第6図で、第1演奏モードとしてNORMAL MOD
EでKey Board Modeが選択されている場
合、Noteanloff、 Pitch Rende
r及びAfter Touch 、音色チェンジ及びコ
ントロールチェンジの全てのコマンドに対して、固定さ
れた所定のMIDIID法ルが指定されている場合のみ
動作し、他のMIDIID法ルのコマンドは無視される
In Figure 6, NORMAL MOD is selected as the first performance mode.
If Key Board Mode is selected in E, Noteanloff, Pitch Rende
r, After Touch, Tone Change, and Control Change commands operate only when a fixed predetermined MIDI ID code is specified, and commands in other MIDI ID codes are ignored.

第2演奏モードとして、NORMAL MODEでGu
itarModeが選択されている場合は、Note 
onloff及びPitch Benderの各コマン
ドに対しては、固定された所定のMIDIID法ルから
5だけ加算したチャネルまで、各MIDIID法ルに独
立に対応して動作する。例えば所定のMIDIID法ル
が1のときには、1+5=6チヤネルまで独立に動作す
る。これはギター等の弦楽器より入力されるコマンドの
MIDIID法ルが弦毎に独立に設定され、例えば第1
弦〜第6弦がチャネル1〜6に割り当てられるような場
合が多く、各弦毎にNote onloff  (各弦
毎のピッキングに対応)及びPitch Bender
 (各弦毎のチョーキング奏法等に対応)の各指示がな
されるためである。これに対して、After Tou
ch 、音色チェンジ及びコントロールチェンジの各コ
マンドは、上記6チヤネルのうち最低位チャネルの固定
された所定のM[DIチャネルが指定されている場合の
み該コマンドを受は付け、該チャネルから+5したチャ
ネルに対応する6弦分に対して同時に該コマンドを実行
する。これは、音色チェンジ等は6弦に対して同時に指
示されるため、最低位に対応するMIDIID法ルのみ
を用いてコマンドを送ることにより、6弦共通に命令が
実行されるようにし、これにより各弦別々に命令を転送
してしまうような冗長を防いでいる。
As the second performance mode, play Gu in NORMAL MODE.
If itarMode is selected, Note
For each command of onloff and Pitch Bender, it operates independently corresponding to each MIDI ID code from a fixed predetermined MIDI ID code to a channel added by 5. For example, when the predetermined MIDI ID modulus is 1, up to 1+5=6 channels can be operated independently. This is because the MIDI ID modulus of commands input from a stringed instrument such as a guitar is set independently for each string.
In many cases, the strings to 6th strings are assigned to channels 1 to 6, and Note onloff (corresponds to picking for each string) and Pitch Bender are set for each string.
This is because each instruction (corresponding to the bending playing method, etc. for each string) is given. On the other hand, After Tou
Each command for ch, tone change, and control change is set to a fixed predetermined M value of the lowest channel among the above six channels [The command is accepted only when the DI channel is specified, and the channel +5 from the above channel is accepted. The command is executed simultaneously for the six strings corresponding to . This is because timbre changes, etc. are instructed to all 6 strings at the same time, so by sending commands using only the lowest MIDI ID modulus, commands can be executed for all 6 strings. This prevents redundancy such as transferring commands to each string separately.

第3演奏モードとして、NORMAL MODEでWi
ndModeが選択されている場合は、Key Boa
rd Modeが選択されている場合と同様であるが、
After Touchコマンドが入力した場合は、A
fter Touchコマンドのデータを楽音の音量・
音色のパラメータに変換する場合の変換カーブ(以下、
アフターカーブと呼ぶ)を管楽器特有のアフターカーブ
を設定する。なお、第6図のようにGuitar Mo
deの場合はKey Board Modeと同様のア
フターカーブとして設定している。このように、Win
d Modeのみ設定を変えるのは、管楽器の場合、ア
フタータッチにより音量等を制御することが多いが、音
の立ち上がり時には必ずアフタータッチのデータが小さ
く、Key Board Modeのアフタータッチと
同様に制御すると、音の立ち上がりが常に遅くなって、
不自然な演奏になってしまうためである。なお、Gu 
i ta rModeのアフタータッチは、ギター本体
に設けられる専用のタッチキー等によって付加させるこ
とが考えられる。ここでアフターカーブあるいはそれを
決めるアルゴリズムは、例えば第1図のROM7に記憶
され、CPUIが入力したAfter Touchコマ
ンドのデータに基づいて同カーブを参照し、楽音の音量
・音色のパラメータに変換して音源9に出力する。
As the third performance mode, Wi
If ndMode is selected, Key Boa
Same as when rd Mode is selected, but
If the After Touch command is input, A
Change the data of the fter Touch command to the volume of the musical tone.
Conversion curve for converting to tone parameters (hereinafter referred to as
Sets the after curve unique to wind instruments. Furthermore, as shown in Fig. 6, the Guitar Mo
In case of de, it is set as an after curve similar to Key Board Mode. In this way, Win
The reason for changing only the d Mode setting is that in the case of wind instruments, aftertouch is often used to control the volume, etc., but at the beginning of the sound, the aftertouch data is always small, so if you control it in the same way as aftertouch in Key Board Mode, The rise of the sound is always slow,
This is because the performance becomes unnatural. In addition, Gu
It is conceivable that the aftertouch of itarMode may be added using a dedicated touch key provided on the guitar body. Here, the after curve or the algorithm that determines it is stored, for example, in the ROM 7 in FIG. Output to sound source 9.

以上のNORMAL MODEに対し、第4演奏モード
であるCOMBINATION MODEでは、第6図
に示すように、2音色が同時に発音され、Po1y数が
4音になる以外はNORMAL MODEの第1〜第3
の各演奏モードの場合と全く同様である。但し、Key
 Board ModeではNORMAL MODEの
Key Board Modeの場合と異なり、後述す
るように、ノートオン時には本発明に関連する左右振り
分は発音処理は行わない。
In contrast to the above NORMAL MODE, in the fourth performance mode, COMBINATION MODE, as shown in Figure 6, two tones are sounded at the same time, and the first to third tones of NORMAL MODE are
This is exactly the same as in each performance mode. However, the key
In the Board Mode, unlike the Key Board Mode in the NORMAL MODE, as will be described later, when a note is turned on, no sound generation processing is performed for the left/right distribution related to the present invention.

第5演奏モードとして、MULTl、POLY MOD
Eでは、シーケンサ(自動演奏装置)の音源として使用
するという仮定で、本実施例ではKey Board 
Modeのみを設定可能としており、Note onl
off 、 PitchBender、 After 
Touch 、音色チェンジ及びコントロールチェンジ
の各コマンドは、各MIDIチャネル毎に独立で、8つ
の発音エリアに独立に設定されているMIDIチャネル
と等しいチャネルの発音エリアに対して動作する。
As the fifth performance mode, MULTl, POLY MOD
E is assumed to be used as a sound source for a sequencer (automatic performance device), and in this example, the
Only Mode can be set, Note onl
off, PitchBender, After
The Touch, Tone Change, and Control Change commands are independent for each MIDI channel, and operate on the sound generation area of the same channel as the MIDI channel independently set for the eight sound generation areas.

以上示したように本実施例では、NORMAL MOD
E、COMBINATION MODE又はMULTl
、POLY MODEの各演奏モードを選択可能とする
と共に、外部に接続される電子楽器が、例えばキーボー
ドか電子ギターか電子管楽器か等により、各装置に最適
な楽音の発音制御を行えることが大きな特徴である。
As shown above, in this embodiment, NORMAL MOD
E, COMBINATION MODE or MULTI
, POLY MODE, and the ability to control the optimal musical tone production for each device depending on whether the externally connected electronic musical instrument is, for example, a keyboard, an electronic guitar, or an electronic wind instrument. It is.

スイ・・チ・   の 以下、前記第5図のジェネラル動作フローチャートの8
503のスイッチ変化処理及び5505のMIDI I
N処理及び割り込みによるコントロールデータの変化処
理について順次説明を行ってゆく。
The following is 8 of the general operation flowchart in Figure 5 above.
503 switch change processing and 5505 MIDI I
The N process and the control data change process due to interrupts will be sequentially explained.

まず、始めに第5図の第1図のスイッチ部3で前記各演
奏モードを設定した場合のスイッチ変化処理を説明する
First, the switch change process when each performance mode is set with the switch section 3 of FIG. 1 in FIG. 5 will be explained.

第7図は、第1図のスイッチ部3の一部であり、各演奏
モードを設定するためのキースイッチである。同図の1
8.19及び20は、各々NORMALMODE、 C
OMBINATION MODE及びMULTl、PO
LY MODEを設定するスイッチであり、21はKe
y Board Mode、Guitar Mode又
はWind Modeを選択するセレクトキーである。
FIG. 7 shows a part of the switch unit 3 shown in FIG. 1, and is a key switch for setting each performance mode. 1 in the same figure
8.19 and 20 are NORMALMODE, C
OMBINATION MODE and MULTl, PO
This is a switch to set LY MODE, and 21 is Ke
y This is a selection key for selecting Board Mode, Guitar Mode, or Wind Mode.

各演奏モードが選択された場合の第1図の表示部4の表
示例を第8図に示す。この例の場合、表示部4は、16
文字×2行のLCDモジュールによって構成されている
FIG. 8 shows an example of the display on the display section 4 of FIG. 1 when each performance mode is selected. In this example, the display unit 4 has 16
It is composed of an LCD module with 2 lines of characters.

同図(a) 〜(C)は、NORMAL MODEが選
択され、かつ、Key Board Mode、 Gu
itar Mode及びWind Modeが選択され
た場合の表示例であり、rKu、「G」、[WJの文字
の下のアンダーラインはカーソルで点滅している。そし
て、第7図のセレクトキー21を押す毎に、第8図(a
)−(b)−(C)−(a)というように表示が変化し
、Key Board Mode−hGuitar M
ode−eWind M6de −+Key Boar
d Modeというように演奏モードが変化する。
In the same figure (a) to (C), NORMAL MODE is selected and Key Board Mode, Gu
This is a display example when itar Mode and Wind Mode are selected, and the underlines under the letters rKu, "G", and [WJ are blinking with a cursor. Then, each time the select key 21 in FIG. 7 is pressed, the
)-(b)-(C)-(a), and the display changes as follows: Key Board Mode-hGuitar M
ode-eWind M6de -+Key Boar
The performance mode changes as shown in d Mode.

第8図(d)〜(f)は、COMBINATION M
ODEで、かつ、Key Board ModeXGu
itar Mode及びWind Modeが選択され
た場合の表示例であり、NORMAL MODEの場合
と同様に第7図のセレクトキー21で各演奏モードを選
択できる。
FIG. 8(d) to (f) are COMBINATION M
ODE and Key Board ModeXGu
This is a display example when itar mode and wind mode are selected, and each performance mode can be selected using the select key 21 in FIG. 7, as in the case of NORMAL MODE.

第8図(2)は、MULTl、POLY MODEの表
示であり、前記したようにKey Board Mod
e固定であるから、「K」の表示は省略されている。
FIG. 8 (2) shows the display of MULTl and POLY MODE, and as mentioned above, the Key Board Mod
Since it is fixed to e, the display of "K" is omitted.

なお、第8図(a) 〜(g)で、画面1行目のrPs
Tl」の文字は、プリセットバンクlの略で、2行目の
rA−IJ、rA−2J、rA−3,等は音色バンクA
の1.2.3を示し、両者とも音色データが格納され7
1!領域を示している。また、「vZ  EP、、rV
Z  BASS、、「vZ TRUMPET、等の文字
は、音色名を示している。
In addition, in Fig. 8 (a) to (g), rPs on the first line of the screen
"Tl" is an abbreviation for preset bank l, and rA-IJ, rA-2J, rA-3, etc. on the second line are tone bank A.
1.2.3, both of which store timbre data and 7
1! It shows the area. Also, “vZ EP,,rV
Characters such as "Z BASS" and "vZ TRUMPET" indicate tone names.

更に、第8図(d)〜(f)の、11+(2)」は2音
色同時発音という意味で、口で囲まれた発音エリアの音
色バンク、音色名が表示されていることを示す。
Furthermore, 11+(2)'' in FIGS. 8(d) to (f) means simultaneous pronunciation of two tones, and indicates that the tone bank and tone name of the sound generation area surrounded by the mouth are displayed.

第8図(−の1行目のNIIIIIIIJの文字は、8
つの発音エリア1〜8のPo1y数を、左から順に表示
している。なお、同図(6)は全てI Po1yを示し
ている。そして、口で囲まれた発音エリアの音色バンク
、音色名が表示されていることを示す。
Figure 8 (The character NIIIIIIJ in the first line of - is 8
The Po1y numbers of the four sound generation areas 1 to 8 are displayed in order from the left. Note that (6) in the same figure all shows IPoly. It also shows that the tone bank and tone name are displayed in the sound production area surrounded by the mouth.

第9図は、第1図のスイッチ部3の各スイッチ(第7図
の各スイッチ18〜21を含む)が押されたときに実行
されるプログラムの動作フローチャートである。この動
作フローチャートは、第5図のジェネラル動作フローチ
ャートにおける5503のスイッチ変化処理の詳細であ
る。
FIG. 9 is an operation flowchart of a program executed when each switch of the switch section 3 of FIG. 1 (including each switch 18 to 21 of FIG. 7) is pressed. This operation flowchart shows details of the switch change process 5503 in the general operation flowchart of FIG.

第9図で、5901では、状態が変化したキースイッチ
が新しく押されたか、逆に離されたかを判別し、離され
た場合には5906に進んでスイッチ変化処理を行う。
In FIG. 9, at 5901, it is determined whether the key switch whose state has changed is newly pressed or released, and if it has been released, the process advances to 5906 to perform switch change processing.

但し、第7図の各スイッチ18〜21では、スイッチの
OFF状態はないため、なにも処理をせずに終了する。
However, each of the switches 18 to 21 in FIG. 7 does not have an OFF state, so the process ends without performing any processing.

状態が変化したキースイッチが新しく押された場合、5
902〜5905の各判別処理で、各々、第7図の各キ
ースイッチ1 B (NORMAL MODE)、19
 (COMBINATION MODE)、20 (M
ULTl、POLY MODE)、21(セレクトキー
)が押されたか否かを判別し、YESなら5907〜5
910の各処理を行い、上記いずれでもない場合は59
11で対応するスイッチ変更する処理を行う。なお、5
911の処理は本発明には直接は関係しないため、その
詳細は省略する。
If a key switch whose state has changed is pressed anew, 5
In each of the determination processes 902 to 5905, each of the key switches 1B (NORMAL MODE) and 19 in FIG.
(COMBINATION MODE), 20 (M
ULTl, POLY MODE), 21 (select key) is pressed, and if YES, 5907~5
Perform each process in 910, and if none of the above is the case, return 59.
At step 11, processing for changing the corresponding switch is performed. In addition, 5
Since the process of 911 is not directly related to the present invention, its details will be omitted.

第7図18のNORMAL MODEの設定スイッチが
押された場合、5902から5907に進みNORMA
LMODE設定処理が行われる。ここでは、第1図の音
源9で発音されている楽音を全て消音し、NORMAL
MODEの専用RAM (第1図RAM8の一部)であ
る第10図(b)に示されるフラグNORMFGを読み
出すことにより、Key Board Mode、 G
uitar Mode又はWind Modeのいずれ
かを判別する。フラグNORMFGは、第1O図(b)
に示されるように、bito〜4まで未使用で、bit
5.6.7は、Key BoardMode、 Gui
tar Mode及びWind Modeのときに各々
「1」にセットされ、各モードは排他的であるから、ど
れか1つのビットが必ず「1」になる。上記判別の後、
発音制御用RAM(第1図RAM8の一部)である第1
O図(a)のフラグMODEFGに情報をセットした後
、第6図で既に説明したNORMALMODEの発音態
様の動作を行うために、第1図RAMB上の発音制御に
必要な特には図示しない記憶領域を全てイニシャライズ
する。ここで、フラグMODEFGは、第10図(a)
に示すように1バイトのRAMであって、bitOll
、2は、各々NORMALMODE、 COMBINA
TION MODE、 MULTI、PO買MODEで
あるときに「1」にセットされ、各モードは互いに排他
的であるから、3ビツトのうち「l」であるのは必ず1
つのビットで、かつどれかのビットはrl、になってい
る。従って、上記N0RIIIAL MODE設定処理
で、フラグMODEFGのbitOll、2は、各々「
1」 「O」 [OJにセットされる。なお、フラグM
ODEFGのbit3.4は未使用である。また、bi
t5.6.7はKey Board Mode、 Gu
itarMode及びWind Modeのとき各々「
1」にセットされ、これら各モードも排他的であるから
、どれか1つのビットが必ずrl4になっている。
When the NORMAL MODE setting switch in Figure 7 18 is pressed, the process advances from 5902 to 5907 and the
LMODE setting processing is performed. Here, all the musical tones being produced by the sound source 9 in Fig. 1 are muted, and the NORMAL
Key Board Mode, G
Determine either uitar mode or wind mode. The flag NORMFG is shown in Figure 1O (b)
As shown in the figure, bits from bit to 4 are unused.
5.6.7 is Key BoardMode, Gui
Each bit is set to "1" in tar mode and wind mode, and since each mode is exclusive, one of the bits is always "1". After the above determination,
The first memory is a sound generation control RAM (part of RAM8 in Figure 1).
After setting the information to the flag MODEFG in Figure 6(a), in order to perform the operation of the NORMALMODE sound generation mode already explained in Figure 6, a storage area (not particularly shown) necessary for sound generation control on the RAMB in Figure 1 is used. Initialize all. Here, the flag MODEFG is as shown in FIG. 10(a).
As shown in 1-byte RAM, bitOll
, 2 are NORMALMODE and COMBINA, respectively.
It is set to ``1'' when the mode is TION MODE, MULTI, or PO BUY MODE, and since each mode is mutually exclusive, only 1 of the 3 bits is ``l''.
and one of the bits is rl. Therefore, in the above N0RIIIAL MODE setting process, bitOll and 2 of the flag MODEFG are set to "
1” “O” [Set to OJ. In addition, the flag M
Bit 3.4 of ODEFG is unused. Also, bi
t5.6.7 is Key Board Mode, Gu
In itarMode and Wind Mode, "
Since each of these modes is also exclusive, one of the bits is always set to rl4.

次に、第7図19のCOMBINATION MODE
の設定スイッチが押された場合、第9図の3903から
5908に進みCOMBINATION MODE設定
処理が行われる。ここでは、第1図の音源9で発音され
ている楽音を全て消音し、COMBINATION M
ODEの専用RAM(第1図RAM8の一部)である第
10図(C)に示されるフラグCOMBFGを読み出し
て、Key BoardMode、 Guitar M
ode又はWind Modeのいずれかを判別する。
Next, COMBINATION MODE in Figure 7 19
When the setting switch is pressed, the process advances from 3903 to 5908 in FIG. 9, and the COMBINATION MODE setting process is performed. Here, all the musical tones being produced by the sound source 9 in FIG. 1 are muted, and the COMBINATION M
Read out the flag COMBFG shown in FIG. 10 (C), which is the dedicated RAM of ODE (part of RAM 8 in FIG. 1), and set Key BoardMode, Guitar M
mode or wind mode.

フラグCOMBFGは、第1O図(C)に示されるよう
に、第10図(a)のフラグNORMFGと全く同様の
構成である。上記判別の後、前記NORMAL MOD
E設定処理と同様、第10図(a)のフラグMODEF
Gに情報をセットした後、第6図で既に説明したCOM
BI−NATION MODEの発音態様の動作を行う
ために、第1図RAMB上の発音制御に必要な特には図
示しない記憶領域を全てイニシャライズする。
The flag COMBFG has exactly the same structure as the flag NORMFG in FIG. 10(a), as shown in FIG. 10(C). After the above determination, the NORMAL MOD
Similar to the E setting process, the flag MODEF in FIG. 10(a)
After setting the information in G, COM as already explained in Figure 6
In order to operate in the sound generation mode of BI-NATION MODE, all storage areas (not shown) necessary for sound generation control on the RAMB in FIG. 1 are initialized.

続いて、第7図20のMULTl、POLY MODE
の設定スイッチが押された場合、第9図の5904から
5909に進みMULTl、POLY MODE設定処
理が行われる。ここでは、第1図の音源9で発音されて
いる楽音を全て消音し、第10図(a)のフラグMOD
EFGのbito、1.2を各々r□、r□、rl、に
、bit5.6.7を各々r1.rQJ  rO,にセ
ットする。これは、MULTl、POLY MODEで
は第6図で既に説明したように、Key Board 
Modeに固定されるためである。
Next, MULTl and POLY MODE in Figure 7 20
When the setting switch is pressed, the process proceeds from 5904 to 5909 in FIG. 9, where MULT1 and POLY MODE setting processing is performed. Here, all the musical tones being produced by the sound source 9 in FIG. 1 are muted, and the flag MOD in FIG.
Bit 1.2 of EFG is set to r□, r□, rl, and bit5.6.7 is set to r1. Set rQJ rO,. In MULT1 and POLY MODE, this is the Key Board
This is because it is fixed to Mode.

一方、第7図21のセレクトキーが押された場合、第9
図の5905から5910に進みに、G。
On the other hand, if the select key in Fig. 7 21 is pressed, the 9th
Proceeding from 5905 to 5910 in the figure, G.

W変更処理が行われる。この処理は、MULTl、PO
LYMODEが選択されている場合には、何も処理を行
わず終了する。NORMAL MODEが選択されてい
る場合には、まず、第10図Φ)のフラグNORMFG
において、bit5が「1」のとき、bit6が「1」
のとき、bit7が「1」のときには、各々bit5.
6.7を「0」11」「0」、I□、r□、rl、、「
1」 「0」 「0」にセットした後に、前記S907
と同様のNORMAL MODE設定処理を実行する。
W change processing is performed. This process is performed by MULTl, PO
If LYMODE is selected, the process ends without performing any processing. If NORMAL MODE is selected, first set the flag NORMFG in Fig. 10 Φ).
In, when bit5 is "1", bit6 is "1"
When bit 7 is "1", bit 5 .
6.7 as “0”, “11”, “0”, I□, r□, rl,, “
1""0" After setting to "0", the above S907
The same NORMAL MODE setting process is executed.

COMBINATION MODEが選択されている場
合には、まず、第1O図(C)のフラグCOMBFGに
おいて、bit5が「1」のとき、bit6が「l」の
とき、bit7がrlJのときには、各々bit5.6
.7をrQJ rlJ rOJ、rQJ rQJ rl
J、11J  r□」 r□」にセットした後、前記3
908と同様のCOMBINATION MODE設定
処理を実行する。
When COMBINATION MODE is selected, first, in the flag COMBFG in FIG.
.. 7 rQJ rlJ rOJ, rQJ rQJ rl
J, 11J r□" After setting to "r□",
The COMBINATION MODE setting process similar to 908 is executed.

MIDI  IN   几  の ゛ 以上のようにして、第5図3503でスイッチ変化処理
が行われ演奏モードが設定された後、第1図のMIDI
回路5を介して外部機器からNote onloff 
、 Pitch Render、 After Tou
ch 、音色チェンジの各MIDIコマンドが入力され
たときの動作を以下に説明する。なお、本発明に特に関
連するのは、NOHMAL MODEでにey Boa
rd Modeが選択されているときに、Note o
nコマンドが入力した場合の処理動作であり、後述する
ようにステレオの左右チャネルに楽音を振り分けながら
発音動作を行うことを特徴とする。
After the switch change process is performed and the performance mode is set at 3503 in FIG. 5 as described above, the MIDI IN switch shown in FIG.
Note onloff from external equipment via circuit 5
, Pitch Render, After Tou
The operation when the MIDI commands ch and tone change are input will be described below. In addition, what is particularly relevant to the present invention is NOHMAL MODE.
When rd Mode is selected, Note o
This is a processing operation when the n command is input, and is characterized by performing a sound generation operation while distributing musical tones to the left and right stereo channels, as will be described later.

上記各MIDIコマンドが入力した場合、既に説明した
ようにMIDI回路5からの割り込みに基づいて、第3
図の動作フローチャートが実行され、MIDI回路5で
受信されたMIDIコマンドはRAM8に取す込まれて
いる。そして、この状態は、第5図3504の判別処理
で検出され、5505のMIDI IN処理が実行され
る。この処理の詳細を第11図に示す。
When each of the above MIDI commands is input, the third
The operation flowchart shown in the figure is executed, and the MIDI command received by the MIDI circuit 5 is loaded into the RAM 8. This state is detected in the determination process 3504 in FIG. 5, and the MIDI IN process 5505 is executed. The details of this process are shown in FIG.

同図においては、31101〜51104において、各
々Note onloff 5Pitch Rende
rSAfter Touch又は音色チェンジの何れの
コマンドであるかを判別している。上記コマンド以外で
コントロールチェンジコマンドの場合は、後述するよう
に一定周期毎の割り込みに基づくコントロールデータの
変化処理で処理されるため、51113の判別によりM
IDIIN処理では何も行わずに処理を終了する。更に
、これら以外のコマンドの場合は、S 1114で無効
にするものと有効なものとを判別した後、有効なものの
コマンドの処理を実行する。該当するコマンドとしては
、例えばMIDI規格に基づくエクスクル−シブメツセ
ージ・コモンメツセージ・リアルタイムメツセージ等の
MIDIチャネルに関係ないシステムメツセージがある
In the same figure, Note onloff 5Pitch Rende in 31101 to 51104 respectively.
It is determined whether the command is rSAafter Touch or tone change. If it is a control change command other than the above command, it will be processed by control data change processing based on interrupts at regular intervals as described later, so M
The IDIIN process ends without performing anything. Furthermore, in the case of commands other than these, it is determined in step S1114 which ones are invalidated and which ones are valid, and then the processing of the valid commands is executed. Applicable commands include system messages that are not related to the MIDI channel, such as exclusive messages, common messages, and real-time messages based on the MIDI standard.

続いて、Note onloff 、 Pitch R
ender、 AfterTouch又゛は音色チェン
ジの何れかのコマンドが入力した場合について説明する
。なお、以下の説明は、既に「本実施例における発音態
様の概要」の項で第6図を用いて説明した第1〜第5の
各演奏モードでの概要動作に対応している。
Next, Note onloff, Pitch R
A case will be explained in which the following command is input: ender, AfterTouch, or ``change tone''. Note that the following explanation corresponds to the general operations in each of the first to fifth performance modes already explained in the section "Summary of sound production mode in this embodiment" using FIG. 6.

まず、第1演奏モードとして、NORMAL MODE
でKey Board Modeが選択されている場合
について説明する。
First, as the first performance mode, select NORMAL MODE.
The case where Key Board Mode is selected will be explained.

まず、本発明に特に関連する第1演奏モードでNote
 an10ffコマンドが入力した場合は、第11図S
 1101の判別がYESとなり、51105のチャネ
ル判断lが実行される。チャネル判断lの詳細を第12
図に示す、第1演奏モードの場合、第12図31201
.51203の判別がNOとなり、S 1205の判別
処理が実行されることにより、入力したコマンドに指定
されているMIDIチャネル(以下、単にMIDIチャ
ネルと呼ぶ)が、固定された所定のIIIIDIチャネ
ル(以下、固定チャネルと呼ぶ)に等しい場合のみ、S
 1205の判別がYESとなり、第11゜図3110
6のNoLe on10ff処理に進む。この処理を第
14図に示す。第1演奏モードの場合、S 1401、
S 1402の判別がNOとなり、S 1403に進む
。そして、コマンドがNote onコマンドの場合は
S 1414に進み、更に、S 1414の判定がYE
S、続<51415の判定もYESとなって、5141
6の左右振り分は発音処理に進む。
First, note in the first performance mode that is particularly relevant to the present invention.
If the an10ff command is input, the S
The determination at 1101 becomes YES, and channel determination l at 51105 is executed. The details of channel judgment are explained in the 12th section.
In the case of the first performance mode shown in Fig. 12, 31201
.. When the determination in S 51203 becomes NO and the determination process in S 1205 is executed, the MIDI channel specified in the input command (hereinafter simply referred to as MIDI channel) is changed to a fixed predetermined IIIDI channel (hereinafter referred to as simply MIDI channel). S
The determination in 1205 is YES, and 3110 in Fig. 11
Proceed to NoLe on10ff processing in step 6. This process is shown in FIG. In the case of the first performance mode, S1401,
The determination in S1402 is NO, and the process advances to S1403. If the command is a Note on command, the process advances to S1414, and if the determination in S1414 is YE.
S, continued < 51415 judgment is also YES, 5141
6 left and right portions proceed to sound generation processing.

ここで本実施例では、第1図の音源9は、時分割処理に
より8音ポリフオニツクで並列して発音可能であり、第
19図に示すように8つのモジュールを有する。すなわ
ち、各モジュールは上記8音に対応する各時分割タイミ
ングを意味する。更に、モジュール1〜4の出力は1つ
に累算されてステレオの右チャネルの楽音(同図R)と
して出力され、モジュール5〜8の出力も1つに累算さ
れてステレオの左チャネルの楽音(同図L)として出力
される。そして、本実施例では、S 1416において
発音毎に左右チャネルが交互に入れ替わりながら発音が
行われることが大きな特徴である。
In this embodiment, the sound source 9 in FIG. 1 is capable of producing sounds in parallel in eight-note polyphony through time-sharing processing, and has eight modules as shown in FIG. 19. That is, each module means each time division timing corresponding to the above eight sounds. Furthermore, the outputs of modules 1 to 4 are accumulated into one and output as the stereo right channel musical tone (R in the figure), and the outputs of modules 5 to 8 are also accumulated into one and output as the stereo left channel tone. It is output as a musical tone (L in the same figure). A major feature of this embodiment is that in step S1416, the left and right channels are alternately switched for each sound generation.

第18図に第14図31416の左右振り分は発音処理
の詳細を示す。
In FIG. 18, the left and right portions of 31416 in FIG. 14 show details of the sound generation process.

まず、31801では、前回発音された楽音が右チャネ
ルか左チャネルかが判別される。今、第1図のRAMB
内には、第20図に示すような左右フラグRTLFが記
憶されている。前回のNote onコマンドによって
発音された楽音が右チャネルに発音された場合は後述す
るようにbitoにr□、が記憶され、左チャネルに発
音された場合は「1」が記憶される。従って、3180
1では上記左右フラグRTLFのbitoの内容により
、前回発音された楽音が右チャネルか左チャネルかが判
別される。
First, in step 31801, it is determined whether the previously sounded musical tone is the right channel or the left channel. Now, RAMB in Figure 1
Inside, left and right flags RTLF as shown in FIG. 20 are stored. If the musical tone generated by the previous Note on command is generated in the right channel, r□ is stored in bito as described later, and if it is generated in the left channel, "1" is stored in bito. Therefore, 3180
In step 1, it is determined whether the previously sounded musical tone is the right channel or the left channel, based on the contents of the bito of the left and right flag RTLF.

上記判別の結果、前回が右チャネルであった場合には、
31802〜31807の処理で基本的に左チャネルに
発音させる処理を行い、前回が左チャネルであった場合
には、51808〜S 1813の処理で基本的に右チ
ャネルに発音させる処理を行う。
As a result of the above determination, if the previous channel was the right channel,
The processing in steps 31802 to 31807 basically causes the left channel to produce sound, and if the previous time was the left channel, the processing in steps 51808 to S 1813 basically causes the right channel to produce sound.

前回が右チャネルであった場合には、まず、51802
において、第19図の音源(第1図の音源9に相当、以
下同じ)内の左チャネルに対応するモジュール5〜8の
うち発音されていないモジュールがあれば、そのモジュ
ール番号(5〜8)を第1図のCPUI内の特には図示
しないアキュムレータに書き込み、なければアキュムレ
ータを0にする。
If the previous time was the right channel, first, 51802
, if there is a module that is not being sounded among the modules 5 to 8 corresponding to the left channel in the sound source in Figure 19 (corresponding to sound source 9 in Figure 1, the same applies hereinafter), its module number (5 to 8) is written to an accumulator (not shown) in the CPUI of FIG. 1, and if not, the accumulator is set to 0.

続<51803では、上記アキュムレータの内容により
、左チャネルへの振り分けが可能か否かを判別し、可能
ならば31804においてアキュムレータの内容に対応
した音源のモジュールに発音指示を行うと共に、第20
図の左右フラグRTLFのbitOに「l」を書き込む
At step 51803, it is determined whether or not distribution to the left channel is possible based on the contents of the accumulator, and if possible, at step 31804, a sound generation instruction is given to the sound source module corresponding to the contents of the accumulator, and the 20th
Write "l" into bitO of the left and right flag RTLF in the figure.

31803の判別の結果、左チャネルへの振り分けが不
可能の場合すなわちアキュムレータの内容が0の場合は
、右チャネルへの振り分けを行う。すなわち、3180
5において、第19図の音源内の右チャネルに対応する
モジュール1〜4のうち発音されていないモジュールが
あれば、そのモジュール番号(1〜4)をアキュムレー
タに書き込み、なければアキュムレータをOにする。
As a result of the determination in step 31803, if distribution to the left channel is impossible, that is, if the content of the accumulator is 0, distribution to the right channel is performed. That is, 3180
5, if there is a module that is not being sounded among the modules 1 to 4 corresponding to the right channel in the sound source in Figure 19, write that module number (1 to 4) into the accumulator; if not, set the accumulator to O. .

そして、31806で上記アキュムレータの内容により
、右チャネルへの振り分けが可能か否かを判別し、可能
ならば31804においてアキュムレータの内容に対応
した音源のモジュールに発音指示を行うと共に、第20
図の左右フラグRTLFのbitOに「0」を書き込む
Then, in 31806, it is determined whether distribution to the right channel is possible based on the contents of the accumulator, and if possible, in 31804, a sound generation instruction is given to the sound source module corresponding to the contents of the accumulator, and the 20th
Write "0" to bitO of the left and right flag RTLF in the figure.

31806の判別により右チャネルへの振り分けも不可
能の場合すなわちアキュムレータの内容がOの場合は、
31807に進み、第19図の音源内の左チャネルに対
応するモジュール5〜8のうち、最も最初に発音された
モジュールに発音指示を行うと共に、第20図の左右フ
ラグRTLFのbitoにIJを書き込む。
If it is not possible to allocate to the right channel based on the determination of 31806, that is, if the content of the accumulator is O,
Proceed to step 31807, and issue a sound generation instruction to the module that was sounded first among modules 5 to 8 corresponding to the left channel in the sound source in FIG. 19, and write IJ in bito of the left and right flag RTLF in FIG. 20. .

このように、まず、左チャネルへの振り分けが不可能の
場合は、右チャネルへの振り分けを行い、右チャネルへ
の振り分けも不可能の場合は、左チャネルで後着優先の
発音制御を行う。なお、先着優先の発音制御を行っても
よく、その場合には81807の処理を省略すればよい
In this way, first, if distribution to the left channel is not possible, distribution to the right channel is performed, and if distribution to the right channel is also not possible, sound generation control is performed to give priority to the left channel. Note that the sound generation control may be performed on a first-come, first-served basis, and in that case, the process of 81807 may be omitted.

上記動作に対して、前回が左チャネルであった場合には
、S 1808〜S 1813の処理で右チャネルに発
音させる処理を行うが、これらは前記S 1802〜S
 1807の処理と左右が逆になるだけで、全く同様の
処理である。
Regarding the above operation, if the previous time was the left channel, the process of S1808 to S1813 causes the right channel to produce sound, but these are the same as those of S1802 to S1813.
This process is exactly the same as the process in 1807, except that the left and right sides are reversed.

以上の処理により、Note onコマンドが入力する
毎に、原則的に左右チャネル交互に楽音が発生される。
Through the above processing, each time a Note on command is input, musical tones are generated alternately in the left and right channels in principle.

次に、第14図のNote on10ff処理の314
03に戻り、入力したコマンドがNote offコマ
ンドの場合はS 1405に進み、音源9で現在発音中
のものでノートナンバー(以下、Note No、と呼
ぶ)が等しい音を消音させる。
Next, 314 of the Note on10ff process in Figure 14
Returning to step 03, if the input command is a note off command, the process advances to step S1405, where the notes currently being produced by the sound source 9 and having the same note number (hereinafter referred to as Note No.) are muted.

次に、第1演奏モードでPitch Bender] 
? ンドが入力した場合、第11図31101の判別が
NOとなった後、5i102の判別がYESとなり、3
1107のチャネル判断1が実行される。これは前記N
oteon10ffコマンドの場合と同様、第12図S
 1201、S 1203の判別がNOとなった後、M
IDIチャネルと固定チャネルが等しい場合のみS 1
205の判別がYESとなり、第11図31108のP
itch Bender処理に進む。この処理を第15
図に示す。第1演奏モードの場合、51501.515
02の判別がNOとなり、S 1503に進む。ここで
は、発音可能な8音全てに同時にピッチベンダーのデー
タを反映させる。
Next, in the first performance mode, Pitch Bender]
? When the command is input, after the determination in 31101 in FIG. 11 becomes NO, the determination in 5i102 becomes YES, and 3
Channel determination 1 at 1107 is executed. This is the N
As in the case of the oteon10ff command, Figure 12 S
After the determination of 1201 and S 1203 is NO, M
S 1 only if IDI channel and fixed channel are equal
The determination of 205 is YES, and P of 31108 in FIG.
Proceed to itch Bender processing. This process is performed in the 15th
As shown in the figure. For the first performance mode, 51501.515
The determination in step 02 is NO, and the process advances to S1503. Here, the pitch bender data is reflected on all eight sounds that can be produced at the same time.

第1演奏モードでAfter Touchコマンドが入
力した場合、第11図51101及び51102の判別
がNOとなった後、51103の判別がYESとなり、
51109のチャネル判断2が実行される。この処理を
第13図に示す。すなわち、MIDIID法ルと固定チ
ャネルが等しい場合のみ51301の判別がYESとな
り、第11図5IIIOのAfLer Touch処理
に進む。この処理を第16図に示す。第1演奏モードの
場合、S 1601及びS 1602の判別がNOとな
り、S 1603に進む。ここでは、キーボード楽器に
適したアフタータッチ処理を行う。具体的には、入力し
たアフタータッチのデータを第1図のROM7に記憶さ
れているキーボード楽器に適した変換カーブに基づいて
楽音の音量・音色のパラメータに変換し、音源9にその
パラメータを転送して音源の特性を変更させる。
When the After Touch command is input in the first performance mode, after the determinations in FIG. 11 51101 and 51102 become NO, the determination in 51103 becomes YES,
Channel determination 2 of 51109 is executed. This process is shown in FIG. That is, only when the MIDIID modulus and the fixed channel are equal, the determination in 51301 becomes YES, and the process proceeds to AfLer Touch processing in FIG. 11, 5IIIO. This process is shown in FIG. In the case of the first performance mode, the determinations in S1601 and S1602 are NO, and the process advances to S1603. Here, we perform aftertouch processing suitable for keyboard instruments. Specifically, the input aftertouch data is converted into the volume and timbre parameters of the musical tone based on the conversion curve suitable for the keyboard instrument stored in the ROM 7 in FIG. 1, and the parameters are transferred to the sound source 9. to change the characteristics of the sound source.

第1演奏モードで音色チェンジコマンドが入力した場合
、第11図S 1101− S 1103の判別がN。
When a tone change command is input in the first performance mode, the determination in S1101-S1103 in FIG. 11 is N.

となった後、51104の判別がYESとなり、5it
11のチャネル判断2が実行される。すなわち、前記A
fter Touch ’:J 7ンドの場合と同様、
MIDIID法ルと固定チャネルが等しい場合のみ第1
3図51301の判別がYESとなり、第11図511
12の音色チェンジ処理に進む。この処理を第17図に
示す。第1演奏モードの場合、S 1701の判別がN
After that, the determination of 51104 becomes YES, and 5it
11 channel decisions 2 are performed. That is, the above A
fter Touch': As in the case of J 7nd,
The first one only if the MIDIID modulus and the fixed channel are equal.
The determination in Figure 3 51301 is YES, and 511 in Figure 11
Proceed to step 12, tone change processing. This process is shown in FIG. In the case of the first performance mode, the determination in S1701 is N.
.

となりS 1702に進み、発音中の音が全て消音され
る。続いてS 1703で第1図のRAMB内の発音制
御用のRA M 61域をイニシャライズし、更に、5
1704で音源9に人力−した音色データを転送して、
音anで発音すべき音色を切り替えさせる。
The process then proceeds to S1702, and all the sounds being produced are muted. Next, in step S1703, the RAM 61 area for sound generation control in RAMB shown in FIG.
At 1704, the manually generated tone data is transferred to the sound source 9,
To switch the tone to be produced with the sound an.

次に、第2演奏モードとして、NORMAL MODE
でGuitar Modeが選択されている場合につい
て説明する。
Next, as the second performance mode, select NORMAL MODE.
The case where Guitar Mode is selected will be explained.

第2演奏モードでNote on10ffコマンドが入
力した場合、第11図5IIOIの判別がYESとなり
、51105のチャネル判断lが実行される。すなわち
、第12図31201の判別がNOとなった後、S 1
203の判別がYESとなり、S 1204の判別処理
が実行されることにより、MIDIID法ルが固定チャ
ネルから該固定チャネル+5チヤネルまでの6チヤネル
の範囲内に入っている場合のみ、S 1204の判別が
YESとなり、第11図81106すなわち第14図の
Note on10ff処理に進む。第2演奏モードの
場合、S 1401の判別がNOとなった後、S 14
02の判別がYESとなり、S 1409に進む。そし
て、コマンドがNote onコマンドの場合はS 1
411に進み、まず、第1図の音源9のMl旧チャネル
と等しいチャネルが割り当てられている発音中のモジュ
ールがある場合、それを消音させる。なお、チャネルの
判別は後述するS 1413で第1図のRAMB内に記
憶されるチャネルデータに基づき行われる。次に、51
412で音源9の空モジュールに対して発音開始を指示
する。更に、S 1413でRAM8に発音を開始した
モジュールとMIDIID法ルを記憶させる。以上のよ
うに、同一チャネルの音を消音させてから新たに発音開
始を行わせるのは、ギター等の弦楽器より人力されるコ
マンドのMIDIID法ルが弦毎に独立に設定されてい
るため、同−弦の音が複数同時に発音されることはあり
得ないためである。なお、余韻を残すため消音は適当な
エンベロープを付加させて行ってもよい。
When the Note on10ff command is input in the second performance mode, the determination at 5IIOI in FIG. 11 becomes YES, and channel determination 1 at 51105 is executed. That is, after the determination in FIG. 12 31201 becomes NO, S 1
If the determination in S 203 is YES and the determination process in S 1204 is executed, the determination in S 1204 is performed only when the MIDI ID modulus is within the range of 6 channels from the fixed channel to the fixed channel + 5 channels. If the answer is YES, the process proceeds to 81106 in FIG. 11, that is, the Note on 10ff process in FIG. 14. In the case of the second performance mode, after the determination in S1401 becomes NO, S14
The determination in step 02 is YES, and the process advances to S1409. Then, if the command is a Note on command, S1
Proceeding to step 411, first, if there is a module currently producing sound to which a channel equal to the Ml old channel of the sound source 9 in FIG. 1 is assigned, it is muted. Note that channel determination is performed in S1413, which will be described later, based on channel data stored in the RAMB of FIG. Next, 51
At step 412, an empty module of the sound source 9 is instructed to start generating sound. Furthermore, in S1413, the module that started generating sound and the MIDI ID code are stored in the RAM 8. As mentioned above, the reason why the sound of the same channel is muted and then a new sound is started is because the MIDI ID rules for commands input manually from stringed instruments such as guitars are set independently for each string. - This is because it is impossible for multiple string sounds to be sounded at the same time. In addition, in order to leave a lingering sound, the sound may be muted by adding an appropriate envelope.

一方、コマンドがNote offコマンドの場合は、
S 1410に進み、音源9で現在発音中のものでMI
DIID法ルが等しい音を消音させる。
On the other hand, if the command is a Note off command,
Proceed to S1410 and MI with the sound source 9 currently producing.
Mute sounds with the same DIID modulus.

第2演奏モードでPitch Benderコマンドが
入力した場合、第11図5IIOIの判別がNOとなっ
た後、51102の判別がYESとなり、51107の
チャネル判断lが実行される。これは、前記Note 
on10ffコ゛7ンドの場合と同様、第12図312
01の判別がNoとなった後、S 1203の判別がY
ESとなり、MIDIID法ルが固定チャネルから該固
定チャネル+5チヤネルまでの6チヤネルの範囲内に入
っている場合のみ、S 1204の判別がYESとなり
、第11図31108すなわち第15図のPitch 
Bender処理に進む。第2演奏モードの場合、S 
1501の判別がNoとなった後、S 1502の判別
がYESとなり、S 1504に進む、ここでは、以前
に発音したチャネル(発音中のチャネル)とMIDIチ
ャネルが等しい音に対してのみピッチベンダーのデータ
を反映させる。すなわち、例えばチョーキング等がなさ
れた弦に対応する音にのみ、独立してピッチベンドがか
かることになる。
When the Pitch Bender command is input in the second performance mode, after the determination at 5IIOI in FIG. 11 becomes NO, the determination at 51102 becomes YES, and channel determination 1 at 51107 is executed. This is the same as the above Note
312 in FIG. 12, as in the case of on10ff command 7.
After the determination of 01 becomes No, the determination of S1203 becomes Y.
ES, and only when the MIDI ID modulus is within the range of 6 channels from the fixed channel to the fixed channel + 5 channels, the determination in S1204 becomes YES, and the Pitch of FIG.
Proceed to Bender processing. In the second performance mode, S
After the determination in S 1501 becomes No, the determination in S 1502 becomes YES, and the process proceeds to S 1504. Here, the pitch bender is applied only to notes whose MIDI channel is the same as the channel that was previously sounded (the channel that is currently being sounded). Reflect the data. In other words, pitch bending is applied independently only to the notes corresponding to the strings that have been bent, for example.

第2演奏モードでAfter Touchコマンドが入
力した場合、第11図5IIOI及び51102の判別
がNOとなった後、51103の判別がYESとなり、
51109のチャネル判断2すなわち第13図が実行さ
れ、前記第1演奏モードでAfter Touchコマ
ンドが入力した場合と全く同様に、MIDIチャネルと
固定チャネルが等しい場合のみS 1301の判別がY
ESとなり、第11図5111OのAfter Tou
ch処理すなわち第16図のAfter Touch処
理に進む。すなわち第2演奏モードの場合、After
 Touchコマンドに対しては前記Note on1
0ffコマンド又はPi tchRenderコマンド
とは異なり、6チヤネルのうち最低弦チャネルの固定さ
れた所定のMIDIチャネルが指定されている場合のみ
該コマンドを受は付けるように動作する。第16図での
After Touch処理は第1演奏モードの場合と
同様、S 1601−31602−31603と進んで
キーボード楽器に適したアフタータッチ処理が行われる
が、この場合、固定チャネルから+5したチャネルに対
応する6弦分のチャネルに対して同時に上記コマンドが
実行される。
When the After Touch command is input in the second performance mode, after the determination of 5IIOI and 51102 in FIG. 11 becomes NO, the determination of 51103 becomes YES,
Channel determination 2 of S1309, that is, FIG. 13, is executed, and the determination of S1301 is Y only when the MIDI channel and fixed channel are equal, just as in the case where the After Touch command is input in the first performance mode.
ES, and After Tou of 5111O in Figure 11
The process proceeds to the ch process, that is, the After Touch process shown in FIG. In other words, in the case of the second performance mode, After
For the Touch command, the Note on1
Unlike the 0ff command or the PitchRender command, the command is accepted only when a fixed predetermined MIDI channel, which is the lowest chord channel among the six channels, is specified. The After Touch processing in Fig. 16 is similar to the case of the first performance mode, and proceeds to S1601-31602-31603 to perform aftertouch processing suitable for keyboard instruments, but in this case, the after touch processing is performed on a channel +5 from the fixed channel. The above command is executed simultaneously for the corresponding six string channels.

これにより、1弦分に対するAfter Touchコ
マンドの転送で、6弦に対して同時にアフタータッチの
効果をかけることができる。
Thereby, by transferring the After Touch command for one string, it is possible to simultaneously apply the aftertouch effect to six strings.

第2演奏モードで音色チェンジコマンドが入力した場合
、第11図5IIOI〜51103の判別がNOとなっ
た後、51104の判別がYESとなり、5l111の
チャネル判断2すなわち第13図が実行され、前記Af
ter Touchコマンドの場合と同様、MIDIチ
ャネルと固定チャネルすなわち最低弦チャネルが等しい
場合のみ第13図31301の判別がYESとなって該
コマンドを受は付け、第11図31112の音色チェン
ジ処理すなわち第17図に進む。ここでは、第1演奏モ
ードの場合と同様、51701−31702と進んで発
音中の音が全て消音され、S 1703で第1図のRA
MB内の発音制御用のRA M 鎖酸をイニシャライズ
し、S 1704で音源9に入力した音色データを転送
して、音源9で発音すべき音色を切り替えさせる。この
場合も、固定チャネルから+5したチャネルに対応する
6弦分のチャネルに対して同時に上記コマンドが実行さ
れることにより、1弦分に対するAfter Touc
hコマンドの転送で、6弦に対して同時に音色チェンジ
が行える。
When a tone change command is input in the second performance mode, after the determinations in 5IIOI to 51103 in FIG.
As in the case of the ter Touch command, only when the MIDI channel and the fixed channel, that is, the lowest string channel are equal, the determination in FIG. 13 31301 becomes YES and the command is accepted, and the tone change process in FIG. Proceed to figure. Here, as in the case of the first performance mode, all the notes being sounded are muted in steps 51701-31702, and in S1703 the RA of FIG.
The RAM chain acid for sound generation control in the MB is initialized, and the tone data inputted to the sound source 9 in S1704 is transferred to switch the tone to be produced by the sound source 9. In this case as well, the above command is executed simultaneously for the channels for 6 strings corresponding to the channel +5 from the fixed channel, and the After Touch for 1 string is executed at the same time.
By transmitting the h command, you can change the tone of all 6 strings at the same time.

続いて、第3演奏モードとして、NORMAL MOD
EでWind  Modeが選択されている場合につい
て説明する。
Next, as the third performance mode, NORMAL MOD
The case where Wind Mode is selected in E will be explained.

第3演奏モードでNote on10ffコマンドが入
力した場合は、第1演奏モードすなわちKey Boa
rdModeが選択されている場合と同様、第11図5
llOfの判別がYESとなり、31105のチャネル
判断1が実行され、第11図31101.51203ノ
判別がNOとなり、更にMIDIチャネルが固定チャネ
ルに等しい場合のみS 1205の判別がYESとなっ
て、第11図31106すなわち第14図のNote 
on10ff処理に進む。第14図では、第3演奏モー
ドの場合、S 1401、S 1402の判別がNOと
なり、S 1403に進む、そして、コマンドがNot
e onコマンドの場合はS 1414に進むがこの判
別はNOとなるため、S 1404に進む。そしてここ
では、第1図の音源9の発音中でない空モジュールに対
して発音開始を指示する。なお、この場合は前記Key
 Board Modeの場合と異なり、左右チャネル
への振り分けは行わない。
If the Note on10ff command is input in the third performance mode, the Key Boa
As in the case where rdMode is selected, FIG.
The determination of llOf becomes YES, the channel determination 1 of 31105 is executed, the determination of 31101.51203 in FIG. Figure 31106, i.e. Note in Figure 14
Proceed to on10ff processing. In FIG. 14, in the case of the third performance mode, the determinations in S1401 and S1402 are NO, and the process proceeds to S1403, and the command is Not.
If it is an e on command, the process advances to S1414, but since this determination is NO, the process advances to S1404. Here, the empty module of the sound source 9 in FIG. 1 which is not currently producing sound is instructed to start producing sound. In this case, the above Key
Unlike the case of Board Mode, distribution to left and right channels is not performed.

一方、コマンドがNote offコマンドの場合は、
S 1403− S 1405に進み、音源9で現在発
音中のものでノートナンバー(以下、Note No、
と呼ぶ)が等しい音を消音させる。
On the other hand, if the command is a Note off command,
Proceed to S1403-S1405, and select the note number (hereinafter referred to as Note No.) of the sound source 9 that is currently producing sound.
) is the same sound.

次に、第3演奏モードでPitch Bender及び
音色チェンジの各コマンドが入力した場合の動作は、前
記第1演奏モードの場合と全く同様である。
Next, when the Pitch Bender and Tone Change commands are input in the third performance mode, the operations are exactly the same as in the first performance mode.

第3演奏モードでAfter Touchコマンドが入
力した場合は、第1演奏モードと同様に第11図511
03→S 1109−31110と進むが、第16図で
31601の判別がNoとなった後はS 1602の判
別がYESとなる。これにより31604に進み、管楽
器特有のアフタータッチ処理が行われる。具体的には、
入力したアフタータッチのデータを第1図のROM7に
記憶されている管楽器に適した変換カーブあるいは変換
アルゴリズムに基づいて楽音の音量・音色のパラメータ
に変換し、音源9にそのパラメータを転送して音源の特
性を変更させる。これにより、アフタータッチにより音
量等を制御するという管楽器特有の制御形態において、
音の立ち上がり時にアフタータッチのデータが必ず小さ
くなるという動作に自然に対応することができる。
If the After Touch command is input in the third performance mode, the command 511 in Fig. 11 is input as in the first performance mode.
The process proceeds as 03→S 1109-31110, but after the determination in S 1601 becomes No in FIG. 16, the determination in S 1602 becomes YES. The process then proceeds to 31604, where aftertouch processing unique to wind instruments is performed. in particular,
The input aftertouch data is converted into the volume and timbre parameters of the musical tone based on the conversion curve or conversion algorithm suitable for wind instruments stored in the ROM 7 shown in Fig. 1, and the parameters are transferred to the sound source 9 to be used as a sound source. change the characteristics of As a result, in the control form unique to wind instruments, in which volume etc. are controlled by aftertouch,
This allows you to naturally respond to the behavior in which aftertouch data always becomes smaller at the beginning of a sound.

以上のNORMAL MODEに対し、第4演奏モード
であるCOMBINATTON MODEでは、2音色
が同時に発音され、各音色でのPo1y数が4音になる
以外は、第11図〜第17図の各動作フローチャートで
は、前記NORMAL MODEの第1〜第3の各演奏
モードの場合と同様の処理が行われる。但し、にey 
BoardModeでNote on10fコマンドが
入力した場合は、第14図31414の判別がYESと
なった後、S 1415の判別は、NOとなるため、左
右振り分は発音処理は行わずに、S 1404で通常の
発音処理を行う。また、COMBINATION MO
DEのGuiLarModeでNote on10fコ
マンドが入力した場合は、各音色で6弦に対して4音P
o1yで動作するため、後から入力したノートオンによ
り最も古く発音されている楽音データが消音されながら
発音制御が行われることになる。
In contrast to the above NORMAL MODE, in the fourth performance mode COMBINATTON MODE, two tones are sounded at the same time, and the number of Po1y in each tone is 4. , the same processing as in each of the first to third performance modes of NORMAL MODE is performed. However, to
When the Note on10f command is input in BoardMode, the determination in S1415 becomes NO after the determination in 31414 in FIG. Performs pronunciation processing. Also, COMBINATION MO
If the Note on10f command is input in GUILarMode of DE, each tone will have 4 notes P for 6 strings.
Since it operates in o1y, the sound generation control is performed while the oldest sound data is muted by the later inputted note-on.

最後に第5演奏モードとしてMULTl、POLY M
ODEが選択されている場合の動作について説明する。
Finally, the fifth performance mode is MULTl, POLY M.
The operation when ODE is selected will be explained.

この場合は、各処理がMIDIID法ルと等しいチャネ
ルが割り当てられている発音エリアに音に対してのみ実
行される以外は、前記第1演奏モードの場合と全く同様
に動作する。この場合、発音エリアとは、例えば第1発
音エリアはチャネル番号が1で2音Po1y、第2発音
エリアはチャネル番号が2で3音Po1y、第3発音エ
リアはチャネル番号が3で3音Po1yというように、
各MIDIID法ルに対応して独立した楽器として振る
舞うよう割り当てられた領域をいう。
In this case, operations are performed in exactly the same way as in the first performance mode, except that each process is performed only on sounds in sound generation areas to which channels equal to the MIDI ID modulus are assigned. In this case, the sound generation areas are, for example, the first sound generation area has channel number 1 and 2 sounds Po1y, the second sound generation area has channel number 2 and 3 sound Po1y, and the third sound generation area has channel number 3 and 3 sound Po1y. As in,
This refers to an area allocated to each MIDI ID so that it behaves as an independent musical instrument.

第5演奏モードでNote on10ffコマンドが入
力した場合、第11図S 1101−31105と進み
、第12図31201の判別がYESとなり、5120
2の判別処理が実行されることにより、MIDIID法
ルが割り当てられている発音エリアのPo1y数がOで
ないときに限り、判別がYESとなり、第11図5l1
06のNote on10ff処理すなわち第14図に
進む。
When the Note on10ff command is input in the fifth performance mode, the process proceeds to S 1101-31105 in FIG. 11, the determination in S 31201 in FIG.
By executing the determination process 2, the determination becomes YES only when the Po1y number of the sound generation area to which the MIDI ID modulus is assigned is not O, and the result is 5l1 in FIG.
The process proceeds to the Note on10ff process of 06, ie, FIG.

ここでは、S 1401の判別がYESとなり、MID
IID法ルが割り当てられている発音エリアに対しての
み、前記第1演奏モードのS 1403〜S 1405
の処理に対応するS 1406〜S 1408の処理が
実行される。
Here, the determination in S1401 is YES, and the MID
S1403 to S1405 of the first performance mode are applied only to the sound generation area to which the IID method is assigned.
The processes of S1406 to S1408 corresponding to the process of are executed.

第5演奏モードでPitch Benderコマンドが
入力した場合、第11図S 1101−31102−3
1107と進み、前記Note on10ffコマンド
の場合と全く同様のチャネル判断lが実行され、第11
図51108のPitch Bender処理すなわち
第15図に進む。ここでは、S 1501の判別がYE
Sとなって、MIDIID法ルが割り当てられている発
音エリアに対してのみ、前記第1演奏モードの3150
3の処理に対応するS 1505の処理が実行される。
When the Pitch Bender command is input in the fifth performance mode, S 1101-31102-3 in Figure 11
1107, the same channel judgment l as in the case of the Note on10ff command is executed, and the 11th
The process proceeds to the Pitch Bender process in FIG. 51108, ie, FIG. Here, the determination of S1501 is YE.
3150 of the first performance mode only for the sound generation area to which the MIDI ID modulus is assigned.
The process of S1505 corresponding to the process of 3 is executed.

第5演奏モードでAfter Touchコマンドが人
力した場合、第11図31101−31102−311
03→51109と進み、第13図のチャネル判断2が
前記第1演奏モードの場合と全く同様に実行される。す
なわち、MIDIID法ルと各発音エリアのいずれかの
固定チャネルが等しい場合のみS 1301の判別がY
ESとなり、第11図5IIIOのAfter Tou
ch処理すなわち第16図に進む。ここでは、S 16
01の判別がYESとなって、MIDIID法ルが割り
当てられている発音エリアに対してのみ、前記第1演奏
モードの31603の処理に対応するS 1605の処
理が実行される。
31101-31102-311 in Fig. 11 when the After Touch command is manually executed in the fifth performance mode.
03→51109, and channel determination 2 in FIG. 13 is executed in exactly the same manner as in the first performance mode. In other words, the determination in S1301 is Y only when the MIDI ID modulus and one of the fixed channels of each sound area are equal.
ES, and After Tou in Figure 11 5IIIO
The process proceeds to channel processing, that is, to FIG. Here, S 16
If the determination in step 01 is YES, the processing in step S1605 corresponding to the processing in step 31603 of the first performance mode is executed only for the sound generation area to which the MIDI ID modulus is assigned.

第5演奏モードで音色チェンジコマンドが入力Lf、−
場合、第11図S 1101−31102−31103
=S1104−31111と進み、前記After T
ouch コマ7ドの場合と全く同様のチャネル判断2
が実行され、第11図31112の音色チェンジ処理す
なわち第17図に進む。ここでは、S 1701の判別
がYESとなって、MIDIID法ルが割り当てられて
いる発音エリアに対してのみ、前記第1演奏モードの5
1702〜S 1704の処理に対応するS 1705
〜S 1707の処理が実行される。
In the fifth performance mode, a tone change command is input Lf, -
In the case, Fig. 11 S 1101-31102-31103
= S1104-31111, and the After T
Channel judgment 2 is exactly the same as in the case of ouch command 7.
is executed, and the process proceeds to the tone color change process 31112 of FIG. 11, that is, FIG. 17. Here, the determination in S1701 is YES, and the 5th performance mode of the first performance mode is applied only to the sound generation area to which the MIDI ID modulus is assigned.
S 1705 corresponding to the processing of 1702 to S 1704
The processing of ~S1707 is executed.

以上のようにして、NORMAL MODE 、 CO
MBINATIONMODE又はMULTl、POLY
 MODEの各演奏モードが選択され、更に、Key 
Board Mode、 Guitar Mode又は
Wind Modeが選択されることにより、外部に接
続される電子楽器が、例えばキーボードか電子ギターか
電子管楽器か等により、各装置に最適な楽音の発音制御
を行うことが可能となる。特に、本実施例では、NOR
MAL N0DEでKey Board Modeの場
合に、発音動作毎に楽音がステレオの左右チャネルに交
互に振り分けられる発音処理が行われることが大きな特
徴である。
As above, NORMAL MODE, CO
MBINATIONMODE or MULTl, POLY
Each performance mode of MODE is selected, and the Key
By selecting Board Mode, Guitar Mode, or Wind Mode, it is possible to control the production of musical tones that are optimal for each device, depending on whether the externally connected electronic musical instrument is a keyboard, electronic guitar, electronic wind instrument, etc. becomes. In particular, in this example, NOR
A major feature of MAL N0DE in Key Board Mode is that a sound generation process is performed in which musical tones are alternately distributed to the left and right stereo channels for each sound generation operation.

コントロールデー の    の 最後に、第1図のMIDI回路5を介して外部機器から
コントロールチェンジコマンドが人力されたときの動作
を、第21図の動作フローチャートに沿って説明する。
At the end of the control day, the operation when a control change command is manually input from an external device via the MIDI circuit 5 of FIG. 1 will be explained along the operation flowchart of FIG. 21.

第21図の動作フローチャートは、第2図のスイッチ状
態取り込み動作等と同様、CPUtが特には図示しない
タイマーからの一定周期毎の割り込みに基づいて、第5
図のジェネラル動作フローチャートに優先して実行され
る。従って、コントロールチェンジコマンドが入力した
場合は、上記一定周期単位で処理されることになる。
In the operation flowchart of FIG. 21, similar to the switch state acquisition operation etc. of FIG.
This is executed in priority to the general operation flowchart shown in the figure. Therefore, when a control change command is input, it is processed in units of the above-mentioned fixed period.

マス、コントロールチェンジコマンドが入力した場合、
既に説明したようににID1回路5からの割り込みに基
づいて、第3図の動作フローチャートが実行され、MI
DI回路5で受信されたMIDIコマンドはRAM8に
取り込まれている。そして、この状態は、第21図S 
2101及びS 2102の判別処理で検出される。M
IDIコマンドの入力が発生していない場合又は入力し
たMIDIコマンドがコントロールチェンジコマンドで
ない場合は、S 2101及び又は32102の判別が
Noとなり、32104に進む。これについては後述す
る。
When a mass or control change command is input,
As already explained, the operation flowchart in FIG. 3 is executed based on the interrupt from the ID1 circuit 5, and the MI
The MIDI command received by the DI circuit 5 is captured in the RAM 8. This state is shown in Figure 21, S.
It is detected in the determination processing of S2101 and S2102. M
If no IDI command has been input, or if the input MIDI command is not a control change command, the determination in S2101 and/or 32102 is No, and the process advances to 32104. This will be discussed later.

コントロールチェンジコマンドが検出されると、まず、
MIDIチャネル(入力した同コマンドに指定されてい
るMIDIチャネル)が固定チャネルに等しい場合のみ
、52103の判別がYESとなり、52104のコン
トロールデータ変化処理に進む。ここでは、外部機器で
の例えばモジュレーションホイール、フットボリューム
、マスターボリューム、フットスイッチ、ボルタメント
タイム変更スイッチ、ボルタメント0N10FFスイツ
チ等の操作に基づいて入力したコントロールチェンジの
データに対応する制御を、第1図の音源9に対して行う
、なお、MIDI IN処理の項で説明したようにGu
itar Mode(NORMAL MODE又はCO
MBINATTON MODE)では、MIDIチャネ
ルが最低弦に対応する固定チャネルに等しい場合のみ上
記コマンドを受は付け、実際の制御は固定チャネルから
該チャネル+5チヤネルまでの6弦に対応するチャネル
まで同時に制御を行う。
When a control change command is detected, first
Only when the MIDI channel (MIDI channel specified in the same input command) is equal to the fixed channel, the determination in 52103 becomes YES, and the process proceeds to control data change processing in 52104. Here, the control corresponding to control change data input based on the operation of an external device such as a modulation wheel, foot volume, master volume, foot switch, voltament time change switch, voltament 0N10FF switch, etc. is shown in Figure 1. As explained in the MIDI IN processing section, the Gu
itar Mode (NORMAL MODE or CO
MBINATTON MODE), the above command is accepted only when the MIDI channel is equal to the fixed channel corresponding to the lowest string, and the actual control is performed simultaneously from the fixed channel to the channel corresponding to the 6th string up to the channel + 5 channels. .

また、MIILTl、POLY MODEでは、各発音
エリアに対応する固定チャネルのいずれかに等しい場合
に対応する発音エリアに対してのみ制御を行う。
Furthermore, in MIILT1 and POLY MODE, control is performed only for the corresponding sound generation area when it is equal to one of the fixed channels corresponding to each sound generation area.

上記のようにMIDIコマンドとして入力するコントロ
ールチェンジの命令に加えて、52105では第1図の
コントローラー17が操作され、その状態が前回判別時
から変化したか否かが判別される。
In addition to the control change command input as a MIDI command as described above, the controller 17 shown in FIG. 1 is operated at 52105, and it is determined whether or not its state has changed since the previous determination.

この処理は、「本実施例の構成」の項で説明したように
、本実施例をキーボード楽器の一部とじて実現しコント
ローラー17を有する場合に実行される処理で、自己の
コントローラーの操作も楽音の発音制御に反映させるた
めに、52105のコントローラーの状態変化の判別を
行う。
As explained in the section "Configuration of this embodiment," this processing is executed when this embodiment is realized as part of a keyboard instrument and has a controller 17, and the operation of its own controller is also performed. A change in the state of the controller 52105 is determined in order to reflect the change in the tone production control.

そして、コントローラー操作がなされた場合には、32
106において、対応するコントロールデータの変化処
理を行う。この処理は前記52104の処理と同様であ
る。なお、本実施例をコントローラー17を持たない音
源モジュールタイプの電子楽器として実現する場合には
、32105及び32106の処理は実行する必要はな
い。
Then, if a controller operation is performed, 32
At 106, the corresponding control data is changed. This process is similar to the process of 52104 above. Note that if this embodiment is implemented as a sound source module type electronic musical instrument that does not have the controller 17, it is not necessary to execute the processes 32105 and 32106.

次の32107では、LFOビブラートを実現するため
のデータの演算がなされる。LFOビブラートとは、L
FO(低周波発振器)の出力によって楽音の音高を低周
波数で周期的に振らせる効果であり、第1図のCPUI
が対応する音高変更データを作成して音源9に転送する
ことにより実現する。なおここでは、MIDIコマンド
又は第1図のコントローラ17の操作に基づいて、前記
32104又は52106で演算されたコントロールデ
ータにより、LFOビブラートに対して変調がかけられ
る場合のデータ演算処理もなされる。
In the next step 32107, data calculations are performed to realize LFO vibrato. What is LFO vibrato?
This is an effect that causes the pitch of musical tones to vary periodically at a low frequency by the output of the FO (low frequency oscillator).
This is realized by creating corresponding pitch change data and transmitting it to the sound source 9. Here, data calculation processing is also performed when modulation is applied to the LFO vibrato using the control data calculated in 32104 or 52106 based on the MIDI command or the operation of the controller 17 shown in FIG.

続<32108では、上記処理で演算されたLFOビブ
ラートのデータに基づいて、第1図の音源9に対して実
際に楽音の音高(ピッチ)を変更する指示を行う。
At step <32108, an instruction is given to the sound source 9 in FIG. 1 to actually change the pitch of the musical tone based on the LFO vibrato data calculated in the above processing.

S 2109では、LFOトレモロ(グロール)を実現
するためのデータの演算がなされる。これは、LFOの
出力によって楽音の音量・音色を低周波数で周期的に振
らせる効果であり、第1図のCPU1が対応する音量又
は音色の変更データを作成して音源9に転送することに
より実現する。なおここでは、MIDIコマンド又は第
1図のコントローラ17の操作に基づいて、前記521
04又は5210f3で演算されたコントロールデータ
により、LFOトレモロ(グロール)に対して変調がか
けられる場合のデータ演算処理もなされる。
In S2109, data calculations are performed to realize LFO tremolo (growl). This is an effect in which the volume and timbre of musical tones are periodically varied at low frequencies by the output of the LFO, and when the CPU 1 in FIG. Realize. Here, the above 521
Data calculation processing is also performed when modulation is applied to the LFO tremolo (growl) using the control data calculated at 04 or 5210f3.

続< 32110では、上記処理で演算されたLFOト
レモロ(グロール)のデータに基づいて、第1図の音源
9に対して実際に楽音の音量・音色を変更する指示を行
う。
At step 32110, an instruction is given to the sound source 9 in FIG. 1 to actually change the volume and timbre of the musical tone based on the LFO tremolo (growl) data calculated in the above processing.

そして、52111ではパンニング効果を発生させるた
めのデータの演算処理を行う。ここでいうパンニング効
果とは、既に説明したようにパンニング効果発生器11
において、D/A変換器lOからのステレオのアナログ
楽音信号に対して付加される、左右チャネルの定位を一
定又はランダムに変化させる効果である。
Then, in step 52111, arithmetic processing is performed on data to generate a panning effect. The panning effect here refers to the panning effect generator 11 as described above.
, this is an effect that is added to the stereo analog musical tone signal from the D/A converter IO to change the localization of the left and right channels either uniformly or randomly.

そして、実際のパンニング効果は、第21図の動作フロ
ーチャートとは異なる一定周期毎のタイマー割り込みで
実行される第22図の動作フローチャートの32201
の処理において、第1図のCPU1がバス2を介してパ
ンニング効果発生器9に制御信号を出力することにより
発生・付加される。
The actual panning effect is performed at step 32201 in the operation flowchart of FIG. 22, which is executed by a timer interrupt at regular intervals, which is different from the operation flowchart of FIG. 21.
In the process, the CPU 1 shown in FIG. 1 outputs a control signal to the panning effect generator 9 via the bus 2, thereby generating and adding the control signal.

皿少夫詣炭 以上の実施例では、NORMAL MODEでにey 
BoardModeの場合に、楽音の振り分けは発音毎
に左右交互に振り分けられるように制御したが、左右の
定位に限られるものではなく、例えば発音毎に左−中央
一右一中央一左となるように振り分けを制御してもよく
、更には左右への混合度が連続的に変化するように制御
してもよい。この場合、パンニング効果発生器11によ
りパンニング制御を行うことになる。
In the above embodiments, in NORMAL MODE
In the case of BoardMode, the distribution of musical tones was controlled so that they were distributed alternately to the left and right for each note, but this is not limited to left and right localization; for example, the distribution of musical tones could be done from left to center, right, center, and left for each note. The distribution may be controlled, and furthermore, the degree of mixing to the left and right may be controlled to change continuously. In this case, the panning effect generator 11 performs panning control.

一方、左右チャネルへの楽音の振り分けは、第19図に
示すように第1図の音源9の8つのモジュールを左右各
々4つずつに分割して行ったが、モジュールは左右区別
せずに、モジュールを発音させる段階では各モジュール
に左右のフラグのみ立てておき、最後に累算する段階で
上記フラグに基づいて左右チャネルに振り分けるように
してもよい。
On the other hand, musical tones were distributed to the left and right channels by dividing the eight modules of the sound source 9 in FIG. 1 into four each on the left and right channels, as shown in FIG. In the step of making the module sound, only the left and right flags may be set for each module, and in the final accumulation step, the signals may be distributed to the left and right channels based on the flags.

また、前記実施例において、演奏モードの変更は第1図
のスイッチ部3内の第7図の各スイッチで行うようにし
たが、外部機器からMIDIコマンドによって変更でき
るようにしてもよい。
Further, in the embodiment described above, the performance mode was changed using the switches shown in FIG. 7 in the switch section 3 shown in FIG. 1, but it may be possible to change the performance mode using MIDI commands from an external device.

また、第1図の音源9の最大同時発音可能数は8音とし
たが、これに限られるものではなく16音、24音、3
2音等に増加させてもよい。加えて、Guitar M
odeの場合の対応可能弦数を6弦としたが、それ以上
にしてもよい。
Furthermore, although the maximum number of sounds that can be produced simultaneously by the sound source 9 in FIG. 1 is eight, it is not limited to this;
The number may be increased to 2 tones, etc. In addition, Guitar M
Although the number of strings that can be handled in the case of ode is six strings, it may be more than six strings.

加えて、COMBINATION MODEでは、発音
エリアを2を越える数設けるようにして、1つのNot
e onで同時に発音する異なる音色の楽音の数を3以
上にすることも可能であり、更には、発音エリアを2.
4.8等と切換るようにしてもよい。その場合は、同時
発音のPo1y数が変化することになる。
In addition, in COMBINATION MODE, more than two sound areas are provided, so that one Not
It is also possible to increase the number of tones of different tones to be sounded simultaneously with e on to 3 or more, and furthermore, it is possible to increase the number of musical tones with different tones to 3 or more.
It may be possible to switch to 4.8, etc. In that case, the Po1y number of simultaneous sounds will change.

更に、MULTl、POLY MODEではKey B
oard Modeのみを固定的に設定したが、Gui
tar ModeあるいはWind Mode等を設定
できるようにしてもよい。
Furthermore, Key B in MULTl and POLY MODE
Although only the oard Mode was set fixedly, the GUI
It may also be possible to set tar mode, wind mode, or the like.

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

本発明によれば、演奏操作に基づくノートオン情報の入
力毎に、音源手段から発音される楽音の定位を可変させ
ることができる。これにより、演奏者は例えば単音ずつ
演奏することによって発音される楽音の定位を順次変更
できる。また、例えば和音を演奏することによって、広
がった定位の楽音を発音できる。このように、本発明で
は、演奏者の意図に基づくステレオ効果を得ることがで
きる。
According to the present invention, the localization of musical tones produced from the sound source means can be varied every time note-on information is input based on a performance operation. Thereby, the performer can sequentially change the localization of the musical tones produced by playing, for example, one note at a time. Furthermore, by playing chords, for example, musical tones with a wide localization can be produced. In this way, according to the present invention, it is possible to obtain a stereo effect based on the player's intention.

この場合、ある定位における楽音のポリフォニック数が
一杯になってしまった場合には、他の定位に振り分ける
ことにより、適切な制御を行うことができ、音源を効率
的に使用することが可能となる。
In this case, if the polyphonic number of musical tones in a certain localization becomes full, appropriate control can be performed by distributing the musical tones to another localization, making it possible to use the sound source efficiently. .

更に、全ての定位の楽音のポリフォニック数が一杯にな
ってしまった場合には、後着優先で楽音を発音させるこ
とにより、音源を効率的に使用しながら適切なステレオ
効果等を得ることが可能となる。
Furthermore, if the polyphonic number of musical tones in all localizations is full, by giving priority to the last tones, it is possible to obtain appropriate stereo effects while efficiently using the sound source. becomes.

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

第1図は、本発明による電子楽器の構成図、第2図は、
スイッチ状態取り込みの動作フローチャート、 第3図は、MIDIID時の動作フローチャート、第4
図は、MIDIID時の動作フローチャート、第5図は
、ジェネラル動作フローチャート、第6図は、発音態様
表、 第7図は、発音態様設定キースイッチの構成図、第8図
(a)〜(局は、各モードの表示例を示した図、第9図
は、スイッチ変化処理の動作フローチャート、 第10図(a)〜(C)は、発音態様メモリの構成図、
第11図は、MIDI IN処理の動作フローチャート
、 第12図は、チャネル判断1の動作フローチャート、 第13図は、チャネル判断2の動作フローチャート、 第14図は、Note on10ff処理の動作フロー
チャート、 第15図は、ピッチベンダー処理の動作フローチャート
、 第16図は、アフタータッチ処理の動作フローチャート
、 第17図は、音色切り替え処理の動作フローチャート、 第18図は、左右振り分は発音処理の動作フローチャー
ト、 第19図は、音源の構成図、 第20図は、左右フラグの構成図、 第21図は、コントロールデータの変化処理の動作フロ
ーチャート、 第22図は、PAN制御処理の動作フローチャートであ
る。 1・・・中央制御装置(CPU)、 2・・・バス、 5・・・間ID1回路、 7・・・ROM。 8・・ ・RAM。 9・・・音源。
FIG. 1 is a configuration diagram of an electronic musical instrument according to the present invention, and FIG.
Figure 3 is an operation flowchart for capturing switch status; Figure 4 is an operation flowchart for MIDIID;
5 is a general operation flowchart, FIG. 6 is a sound generation mode table, FIG. 7 is a configuration diagram of the sound generation mode setting key switch, and FIGS. 9 is an operation flowchart of switch change processing; FIGS. 10(a) to 10(C) are configuration diagrams of sound generation mode memory;
11 is an operation flowchart of MIDI IN processing, FIG. 12 is an operation flowchart of channel determination 1, FIG. 13 is an operation flowchart of channel determination 2, FIG. 14 is an operation flowchart of Note on10ff processing, and 15. Figure 16 is an operation flowchart of pitch bender processing, Figure 16 is an operation flowchart of aftertouch processing, Figure 17 is an operation flowchart of tone switching processing, Figure 18 is an operation flowchart of sound generation processing for left and right distribution, 19 is a configuration diagram of the sound source, FIG. 20 is a configuration diagram of left and right flags, FIG. 21 is an operation flowchart of control data change processing, and FIG. 22 is an operation flowchart of PAN control processing. 1...Central control unit (CPU), 2...Bus, 5...ID1 circuit, 7...ROM. 8... ・RAM. 9...Sound source.

Claims (1)

【特許請求の範囲】 1)複数の定位の各々で楽音信号を独立に発音する音源
手段と、 ノートオン情報が入力する毎に前記音源手段において定
位を変更しながら前記ノートオン情報に基づく楽音を発
音させる定位制御手段と、 を有することを特徴とする電子楽器。 2)前記音源手段は前記複数の定位の各々で所定のポリ
フォニック数で楽音信号を独立に発音することを特徴と
する請求項1記載の電子楽器。 3)前記ノートオン情報が入力する毎に前記定位制御手
段が所定の定位を決定したときに、前記音源手段におけ
る前記所定の定位で前記所定のポリフォニック数の楽音
が発音されている場合、前記定位制御手段は前期音源手
段において前記所定の定位以外の定位で前記ノートオン
情報に基づく楽音を発音させることを特徴とする請求項
2記載の電子楽器。 4)前記ノートオン情報が入力する毎に前記定位制御手
段が所定の定位を決定したときに、前記音源手段におけ
る前記複数の定位の全てで前記所定のポリフォニック数
の楽音が発音されている場合、前記定位制御手段は前記
音源手段において前記所定の定位で発音されている楽音
のうち最も古く発音開始された楽音を消音して前記ノー
トオン情報に基づく楽音を発音させることを特徴とする
請求項3記載の電子楽器。
[Scope of Claims] 1) Sound source means for independently producing a musical tone signal at each of a plurality of localizations; and each time note-on information is input, the sound source means generates a musical tone based on the note-on information while changing the localization. An electronic musical instrument characterized by comprising: localization control means for generating sound; 2) The electronic musical instrument according to claim 1, wherein the sound source means independently generates musical tone signals at a predetermined polyphonic number in each of the plurality of localization positions. 3) When the localization control means determines a predetermined localization each time the note-on information is input, if musical tones of the predetermined polyphonic number are being produced at the predetermined localization in the sound source means, the localization control means determines the predetermined localization. 3. The electronic musical instrument according to claim 2, wherein the control means causes the sound source means to generate musical tones based on the note-on information at a localization other than the predetermined localization. 4) When the localization control means determines a predetermined localization every time the note-on information is input, the predetermined polyphonic number of musical tones are being produced at all of the plurality of localizations in the sound source means; 3. The localization control means is characterized in that the sound source means mutes the musical tone that was started earliest among the musical tones being produced at the predetermined localization, and generates a musical tone based on the note-on information. Electronic musical instruments listed.
JP1009436A 1989-01-18 1989-01-18 Electronic musical instrument Expired - Lifetime JP2643405B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1009436A JP2643405B2 (en) 1989-01-18 1989-01-18 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1009436A JP2643405B2 (en) 1989-01-18 1989-01-18 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH02188795A true JPH02188795A (en) 1990-07-24
JP2643405B2 JP2643405B2 (en) 1997-08-20

Family

ID=11720267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1009436A Expired - Lifetime JP2643405B2 (en) 1989-01-18 1989-01-18 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2643405B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04306697A (en) * 1991-04-03 1992-10-29 Kawai Musical Instr Mfg Co Ltd Stereo system
USRE37367E1 (en) 1995-06-06 2001-09-18 Yamaha Corporation Computerized music system having software and hardware sound sources

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4826285A (en) * 1971-08-09 1973-04-06
JPS554012A (en) * 1978-06-22 1980-01-12 Casio Computer Co Ltd Musical tone generator in electronic instrument
JPS57122495A (en) * 1981-01-23 1982-07-30 Nippon Musical Instruments Mfg Electronic musical instrument
JPS5839000A (en) * 1981-09-02 1983-03-07 ヤマハ株式会社 Electronic musical instrument
JPS59102292A (en) * 1982-12-03 1984-06-13 カシオ計算機株式会社 Electronic musical instrument
JPS59166293U (en) * 1983-04-21 1984-11-07 ヤマハ株式会社 electronic musical instruments
JPS6029792A (en) * 1983-07-28 1985-02-15 株式会社河合楽器製作所 Allotment of keyboard circuit
JPS61173297A (en) * 1985-01-29 1986-08-04 ヤマハ株式会社 Electronic musical instrument
JPS62135892A (en) * 1985-12-10 1987-06-18 ヤマハ株式会社 Electronic musical apparatus with sound generation allottingfunction
JPS62116299U (en) * 1986-01-16 1987-07-23
JPS62181998U (en) * 1986-05-09 1987-11-18
JPS63261396A (en) * 1987-04-20 1988-10-28 松下電器産業株式会社 Electronic musical instrument

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4826285A (en) * 1971-08-09 1973-04-06
JPS554012A (en) * 1978-06-22 1980-01-12 Casio Computer Co Ltd Musical tone generator in electronic instrument
JPS57122495A (en) * 1981-01-23 1982-07-30 Nippon Musical Instruments Mfg Electronic musical instrument
JPS5839000A (en) * 1981-09-02 1983-03-07 ヤマハ株式会社 Electronic musical instrument
JPS59102292A (en) * 1982-12-03 1984-06-13 カシオ計算機株式会社 Electronic musical instrument
JPS59166293U (en) * 1983-04-21 1984-11-07 ヤマハ株式会社 electronic musical instruments
JPS6029792A (en) * 1983-07-28 1985-02-15 株式会社河合楽器製作所 Allotment of keyboard circuit
JPS61173297A (en) * 1985-01-29 1986-08-04 ヤマハ株式会社 Electronic musical instrument
JPS62135892A (en) * 1985-12-10 1987-06-18 ヤマハ株式会社 Electronic musical apparatus with sound generation allottingfunction
JPS62116299U (en) * 1986-01-16 1987-07-23
JPS62181998U (en) * 1986-05-09 1987-11-18
JPS63261396A (en) * 1987-04-20 1988-10-28 松下電器産業株式会社 Electronic musical instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04306697A (en) * 1991-04-03 1992-10-29 Kawai Musical Instr Mfg Co Ltd Stereo system
USRE37367E1 (en) 1995-06-06 2001-09-18 Yamaha Corporation Computerized music system having software and hardware sound sources

Also Published As

Publication number Publication date
JP2643405B2 (en) 1997-08-20

Similar Documents

Publication Publication Date Title
AU757577B2 (en) Automatic music generating method and device
US5206446A (en) Electronic musical instrument having a plurality of tone generation modes
US5192824A (en) Electronic musical instrument having multiple operation modes
US5044251A (en) Timbre setting device for an electronic musical instrument
JPH04306697A (en) Stereo system
JPH096350A (en) Effect adding device and electronic musical instrument using the same
JP2565069B2 (en) Electronic musical instrument
JPH02188795A (en) Electronic musical instrument
US5177314A (en) Timbre setting device for an electronic musical instrument
US6351475B1 (en) Mixing apparatus with compatible multiplexing of internal and external voice signals
JPH02287599A (en) Electronic musical instrument
JP2797109B2 (en) Tone generator
JPH02188793A (en) Electronic musical instrument
JPS6340319B2 (en)
JP2819609B2 (en) Sound image localization control device
JPH02188792A (en) Electronic musical instrument
JP2797363B2 (en) Electronic musical instrument
JPH0638192B2 (en) Musical sound generator
JP2983122B2 (en) Electronic musical instrument
JP2817521B2 (en) Electronic musical instrument
JPH02188798A (en) Electronic musical instrument
JPH02188799A (en) Electronic musical instrument
JP3057854B2 (en) Electronic musical instrument
JPH0764553A (en) Electronic musical instrument
JPH087434Y2 (en) Electronic musical instrument