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

JPH0748159B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0748159B2
JPH0748159B2 JP2296601A JP29660190A JPH0748159B2 JP H0748159 B2 JPH0748159 B2 JP H0748159B2 JP 2296601 A JP2296601 A JP 2296601A JP 29660190 A JP29660190 A JP 29660190A JP H0748159 B2 JPH0748159 B2 JP H0748159B2
Authority
JP
Japan
Prior art keywords
pad
sound
assigned
tone
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2296601A
Other languages
Japanese (ja)
Other versions
JPH04170596A (en
Inventor
進 河島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2296601A priority Critical patent/JPH0748159B2/en
Priority to US07/785,544 priority patent/US5281756A/en
Publication of JPH04170596A publication Critical patent/JPH04170596A/en
Publication of JPH0748159B2 publication Critical patent/JPH0748159B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、パッド等の演奏操作子に対して任意の音を
割り当て、該操作子の操作に応じて該割り当て音を発生
することができるようにした電子楽器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention can assign an arbitrary sound to a performance operator such as a pad, and can generate the assigned sound according to the operation of the operator. Related to electronic musical instruments.

〔従来の技術〕[Conventional technology]

演奏操作子にリズム音等を任意に割り当てることができ
るようにした電子楽器としては特開昭61−282896号公報
に示されたものが知られている。そこでは、複数のリズ
ム音源の中から1つのリズム音源を選択して演奏操作子
に対して割り当てることができるようになっている。演
奏操作子に対して所望のリズム音源を割り当てる場合、
まず、所望のリズム音源を選択し、その後、該リズム音
源を割り当てたい演奏操作子をオン操作することによ
り、該演奏操作子のオン操作に応じて割り当てがなされ
るようになっている。
As an electronic musical instrument in which a rhythm sound or the like can be arbitrarily assigned to a performance operator, there is known one disclosed in Japanese Patent Laid-Open No. 61-282896. There, one rhythm sound source can be selected from a plurality of rhythm sound sources and assigned to a performance operator. When assigning the desired rhythm sound source to the performance operator,
First, a desired rhythm sound source is selected, and then the performance operator to which the rhythm sound source is to be assigned is turned on, so that the assignment is made in accordance with the on operation of the performance operator.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述の従来技術においては、演奏操作子をオン操作した
とき割り当て音が確定されてしまうので、割り当て音の
指定を間違えた場合は、割り当て音の指定のし直しを行
うと共に演奏操作子の押し直しもしなければならない。
従って、割り当ての際の操作が面倒になるという欠点が
あり、慎重な操作が要求される。
In the above-mentioned conventional technique, since the assigned sound is fixed when the performance operator is turned on, if the designation of the assigned sound is incorrect, the assigned sound is redesignated and the performance operator is pressed again. Must be.
Therefore, there is a drawback that the operation at the time of allocation becomes troublesome, and careful operation is required.

また、演奏操作子に既に割り当てられている音を聴いて
まず確認した上で、その割り当て音を変更したい場合
は、まず演奏操作子をオン操作してその割り当て音を発
音させ、その後所望の割り当て音を指定し、再度演奏操
作子をオン操作する、というように既割り当て音の発音
操作と新音の割り当て操作とを別々に行わねばなるず、
面倒であった。
If you want to change the assigned sound after listening to the sounds already assigned to the performance operators, first turn on the performance operator to make the assigned sound sound, and then to the desired assignment. It is necessary to specify the sound and turn on the performance operator again, so that the pronunciation operation of the already assigned sound and the assignment operation of the new sound must be performed separately.
It was troublesome.

この発明は上述の点に鑑みてなされたもので、演奏操作
子に対して任意の音を割り当てる場合において、割り当
てし直し操作や既割り当て音の発音確認操作などが簡単
な操作で行えるようにした電子楽器を提供しようとする
ものである。
The present invention has been made in view of the above points, and when assigning an arbitrary sound to a performance operator, a reassignment operation and a pronunciation confirmation operation of an already assigned sound can be performed by a simple operation. It aims to provide electronic musical instruments.

〔課題を解決するための手段〕[Means for Solving the Problems]

この発明に係る電子楽器は、演奏操作子と、前記演奏操
作子に対して割り当てる音を指定する割り当て音指定手
段と、前記演奏操作子がオンからオフに切り替わったと
き前記割り当て音指定手段で指定された音を該操作子に
対して割り当てる制御を行う割り当て制御手段と、前記
演奏操作子がオンされたとき該操作子に割り当てられて
いる音に対応する楽音信号を発生する楽音信号発生手段
と具えたものである。
The electronic musical instrument according to the present invention includes a performance operator, an assigned sound designating means for designating a sound to be assigned to the performance operator, and the assigned sound designating means when the performance operator is switched from ON to OFF. Allocation control means for controlling the assigned sound to the operating element, and musical tone signal generating means for generating a musical tone signal corresponding to the sound assigned to the operating element when the performance operating element is turned on. It is equipped with.

〔作用〕[Action]

所望の音を演奏操作子に割り当てる場合において、ま
ず、該演奏操作子をオン操作し、かつ割り当て音指定手
段により所望の音を指定する。そして、該演奏操作子を
オフ操作する。割り当て制御手段は、該演奏操作子がオ
ンからオフに切り替わったとき前記割り当て音指定手段
で指定された音を該操作子に対して割り当てる制御を行
う。このように、演奏操作子がオンからオフに切り替わ
ったときに割り当てが確定されるので、演奏操作子をオ
ンした後でも、オフする前であれば、割り当て音指定手
段では指定音の変更を自由に行うことができる。従っ
て、割り当て音の指定を間違えた場合でも、単に該割り
当て音の指定のし直しを行うだけでよく、演奏操作子を
オン操作し直す必要が全くない。従って、割り当ての際
の操作が簡単である。
When assigning a desired sound to a performance operator, first, the performance operator is turned on, and the desired sound is designated by the assigned sound designating means. Then, the performance operator is turned off. The assignment control means performs control to assign the sound designated by the assigned sound designating means to the operator when the performance operator is switched from on to off. In this way, since the assignment is fixed when the performance operator is switched from on to off, even after the performance operator is turned on, if it is not turned off, the assigned sound designating means can freely change the designated sound. Can be done. Therefore, even if the assigned sound is specified incorrectly, it is only necessary to re-designate the assigned sound, and there is no need to turn on the performance operator again. Therefore, the operation at the time of allocation is simple.

また、演奏操作子をオン操作したときは、まだその割り
当て内容が変更されないので、該オン操作に応じて既割
り当て音の発生を行うことができ、この既割り当て音を
聴いて確認した上で、所望の割り当て音指定を行い、そ
の後、演奏操作子をオフ操作したとき該指定音が新たに
割り当てされる。従って、既割り当て音の発音操作と新
音の割り当て操作を演奏操作子の1回のオン・オフ操作
で行うことができるので、操作が簡単になる。
Also, when the performance operator is turned on, the assigned contents are not changed yet. Therefore, the assigned sound can be generated according to the on operation, and after checking the assigned sound, A desired assigned sound is designated, and when the performance operator is turned off thereafter, the designated sound is newly assigned. Therefore, the sounding operation of the already-allocated sound and the operation of allocating the new sound can be performed by one on / off operation of the performance operator, which simplifies the operation.

以下説明する実施例において、この発明に従う演奏操作
子のオフ操作に応じた割り当て決定処理は「複数音割り
当てモード」において実施されている。この「複数音割
り当てモード」では、1つの演奏操作子に対して同時に
発音可能な複数音を割り当てる。しかし、これに限ら
ず、1音のみを演奏操作子に割り当てる場合においても
この発明を実施することができるのは勿論である。
In the embodiment described below, the assignment determination process according to the off operation of the performance operator according to the present invention is performed in the "plural note assignment mode". In this "plural note assignment mode", a plurality of notes that can be sounded simultaneously are assigned to one performance operator. However, the present invention is not limited to this, and it is needless to say that the present invention can be implemented when only one note is assigned to the performance operator.

〔実施例〕〔Example〕

以下、添付図面を参照してこの発明の一実施例を詳細に
説明しよう。
An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第1図はこの発明に係る電子楽器の一実施例を示すハー
ド構成ブロック図であり、この例では、中央処理ユニッ
ト(CPU)10、データ及びプログラムROM11、データ及び
ワーキングRAM12を含むマイクロコンピュータの制御の
下で各種処理が実行される。データ及びアドレスバス13
を介して鍵盤回路14,パネルスイッチ回路15等その他各
種回路がマイクロコンピュータに接続されている。
FIG. 1 is a block diagram of a hardware configuration showing an embodiment of an electronic musical instrument according to the present invention. In this example, control of a microcomputer including a central processing unit (CPU) 10, data and program ROM 11, data and working RAM 12 is carried out. Various processes are executed under. Data and address bus 13
A keyboard circuit 14, a panel switch circuit 15, and other various circuits are connected to the microcomputer via.

鍵盤回路14は、発生すべき楽音の音高さ指定するための
複数の鍵を具えた鍵盤に対応して設けられており、該鍵
盤の各鍵に対応するキースイッチを含む回路である。
The keyboard circuit 14 is provided corresponding to a keyboard having a plurality of keys for designating the pitch of a musical tone to be generated, and is a circuit including a key switch corresponding to each key of the keyboard.

パネルスイッチ回路15は、音色、音量、音高、効果等を
選択・設定・制御するための各種操作子に対応するスイ
ッチ群からなる回路である。このパネルスイッチ回路15
における所定のスイッチに対応してLED等からなる表示
器16が設けられており、各スイッチに対応する機能のオ
ン・オフ状態等を表示できるようになっている。
The panel switch circuit 15 is a circuit composed of a switch group corresponding to various operators for selecting, setting, and controlling a tone color, a volume, a pitch, an effect, and the like. This panel switch circuit 15
An indicator 16 composed of an LED or the like is provided in correspondence with a predetermined switch in, and the ON / OFF state of the function corresponding to each switch can be displayed.

演奏操作子として、複数(一例として5個)のパッドP0
〜P4が設けられる。各パッドP0〜P4にはセンサが設けら
れており、演奏者の手などによって該パッドが操作され
たことを検知し、該パッドのオン/オフ情報をバス13に
与える。このパッドP0〜P4の配置は演奏者の操作し易い
位置であることが好ましい。例えば、鍵盤の近く又は前
面パネルにおける適宜の位置などであればよいし、ま
た、パッドP0〜P4が別ユニットとして電子楽器本体から
分離されており、演奏者が操作し易い位置に自由に置け
るようになっていてもよい。
As a performance operator, a plurality of pads (five as an example) P0
~ P4 is provided. Each of the pads P0 to P4 is provided with a sensor, detects that the pad has been operated by a player's hand or the like, and supplies the on / off information of the pad to the bus 13. It is preferable that the pads P0 to P4 are arranged at positions where the player can easily operate them. For example, it may be near the keyboard or at an appropriate position on the front panel, and the pads P0 to P4 are separated from the electronic musical instrument body as a separate unit so that they can be freely placed in a position where the player can easily operate. May be.

各パッドP0〜P4の各々に対応して任意の複数の音を割り
当てることができるようになっており、この割り当て処
理は、該パッド及びパネルスイッチ回路15における所定
のスイッチ等の操作に基づきCPU10の制御の下で行われ
る。この割り当て処理を便宜上パッドアサイン処理とい
うことにする。
Arbitrary plural sounds can be assigned to each of the pads P0 to P4, and this assignment processing is performed by the CPU 10 based on the operation of a predetermined switch in the pad and panel switch circuit 15. Done under control. For convenience, this assignment process will be referred to as a pad assignment process.

楽音信号発生回路17は、複数の楽音発生チャンネル(一
例として16チャンネル)でそれぞれ異なる楽音信号を発
生することが可能なものである。各楽音発生チャンネル
に対する楽音の割り当て処理(これはキーアサイン処理
として知られるものである)は、CPU10の制御の下で行
われる。各楽音発生チャンネルに割り当てられた楽音を
示す情報がバス13を介して楽音信号発生回路17に与えら
れ、楽音信号発生回路17ではこれらの情報に基づき楽音
発生チャンネルで楽音信号を発生する。周知のように、
楽音信号発生回路17における楽音発生チャンネルは、共
通のハードウェア回路を各チャンネルで時分割使用する
ことにより時分割的に形成されるようになっていてもよ
いし、別々のハードウェア回路により並列的に形成され
るようになっていてもよい。
The tone signal generation circuit 17 is capable of generating different tone signals for a plurality of tone generation channels (16 channels as an example). The process of assigning musical tones to each tone generating channel (this is known as key assigning) is performed under the control of the CPU 10. Information indicating a musical tone assigned to each musical tone generating channel is given to the musical tone signal generating circuit 17 via the bus 13, and the musical tone signal generating circuit 17 generates a musical tone signal in the musical tone generating channel based on the information. As we all know,
The tone generation channels in the tone signal generation circuit 17 may be formed in a time-sharing manner by using a common hardware circuit for each channel in a time-division manner, or in parallel by separate hardware circuits. It may be formed in.

また、楽音信号発生回路17における楽音信号発生方式は
どのようなものを用いてもよい。例えば、発生すべき楽
音の音高に対応して変化するアドレスデータに応じて波
形メモリに記憶した楽音波形サンプル値データ順次読み
出す方式(メモリ読出し方式)、あるいは上記アドレス
データを位相角パラメータデータとして所定の周波数変
調演算を実行して楽音波形サンプル値データを求める方
式(FM方式)、あるいは上記アドレスデータを位相角パ
ラメータデータとして所定の振幅変調演算を実行して楽
音波形サンプル値データを求める方式(AM方式)、など
公知のどのような方式を用いてもよい。また、メモリ読
出し方式を採用する場合、波形メモリに記憶する楽音波
形は1周期波形のみであってもよいが、複数周期波形で
ある方が音質の向上が図れるので好ましい。複数周期波
形を波形メモリに記憶しこれを読み出す方式は、例えば
特開昭52−121313号に示されたように発音開始から終了
までの全波形を記憶しこれを1回読み出す方式、あるい
は特開昭58−142396号に示されたようにアタック部の複
数周期波形と持続部の1又は複数周期波形を記憶し、ア
タック部の波形を1回読み出した後持続部の波形を繰返
し読み出す方式、あるいは特開昭60−147793号に示され
たように離散的にサンプリングした複数の波形を記憶
し、読み出すべき波形を時間的に順次切換えて指定し、
指定された波形を繰返し読み出す方式、など種々の方式
が公知であり、これらを適宜採用してよい。
Further, any musical tone signal generating method in the musical tone signal generating circuit 17 may be used. For example, a method of sequentially reading the musical tone waveform sample value data stored in the waveform memory (memory reading method) in accordance with the address data that changes corresponding to the pitch of the musical tone to be generated, or the above-mentioned address data as the phase angle parameter data. Frequency modulation calculation to obtain musical tone waveform sample value data (FM method), or method to perform predetermined amplitude modulation calculation using the above address data as phase angle parameter data to obtain musical tone waveform sample value data (AM Method), or any other known method may be used. Further, when the memory reading method is adopted, the musical tone waveform stored in the waveform memory may be only one period waveform, but it is preferable to use a plurality of period waveforms because the sound quality can be improved. A method of storing a plurality of periodic waveforms in a waveform memory and reading the waveforms is, for example, as shown in Japanese Patent Laid-Open No. 52-121313, a method of storing all waveforms from the start to the end of sound generation and reading them once, or As shown in JP-A-58-142396, a method of storing a plurality of periodic waveforms of the attack portion and one or a plurality of periodic waveforms of the sustain portion, reading the waveform of the attack portion once and then repeatedly reading the waveform of the continuous portion, or As shown in JP-A-60-147793, a plurality of discretely sampled waveforms are stored and the waveforms to be read out are sequentially switched in time and designated.
Various methods such as a method of repeatedly reading a designated waveform are known, and these methods may be appropriately adopted.

また、楽音信号発生回路17においては音階音を発生する
上記楽音発生チャンネルのみならず、リズム音源や自動
演奏機能のための各種装置などを具備していてもよいの
は勿論である。
Further, it is needless to say that the musical tone signal generating circuit 17 may be provided with not only the musical tone generating channel for generating the scale tones but also various devices such as a rhythm sound source and an automatic performance function.

楽音信号発生回路17から発生されたディジタル楽音信号
はディジタル/アナログ変換器18でアナログの楽音信号
に変換され、サウンドシステム19を介して空間的に発音
される。
The digital tone signal generated from the tone signal generation circuit 17 is converted into an analog tone signal by the digital / analog converter 18, and is spatially generated via the sound system 19.

タイマ20は、所定周期のクロックパルスを発生するもの
で、該タイマクロックパルスはCPU10に加わり、タイマ
インタラプト信号として作用する。
The timer 20 generates a clock pulse having a predetermined cycle, and the timer clock pulse is added to the CPU 10 and acts as a timer interrupt signal.

実施例において、パッドの操作に応じた発音モード(こ
れをパッドモードということにする)には、同時発音モ
ードとシーケンス発音モードの2つのモードがある。ま
ず、第1のモードである「同時発音モード」は、1つの
パッドの操作に対応して複数音を同時に発音するモード
である。第2のモードである「シーケンス発音モード」
は、1つのパッドの操作に対応して複数音を順番に発音
するモードである。パッドモードの選択のために何らか
のモード選択手段が設けられる。
In the embodiment, the tone generation modes (which will be referred to as pad modes) according to the operation of the pads include two modes: a simultaneous tone generation mode and a sequence tone generation mode. First, the "simultaneous sound generation mode", which is the first mode, is a mode in which a plurality of tones are simultaneously sounded in response to the operation of one pad. The second mode, "Sequence pronunciation mode"
Is a mode in which a plurality of tones are sequentially generated in response to the operation of one pad. Some mode selecting means is provided for selecting the pad mode.

前述のパッドアサイン処理においては、所望のパッドに
対して上記どのパッドモードで発音を行うかの選択(モ
ード選択)を行い、選択されたモードに従う割り当て処
理を行う。なお、その際、「シーケンス発音モード」に
おけるシーケンス音の発音時間間隔は、割り当て時にそ
れぞれ任意に設定できるようにすることができる。例え
ば、順次発音すべき音をそれぞれ所望の時間間隔で選択
若しくは/指定することにより、その時間間隔情報を選
択された音の情報と共に記憶する等の方法が適宜採用さ
れる。
In the above-mentioned pad assigning process, which pad mode is to be used for sounding a desired pad is selected (mode selection), and the assigning process according to the selected mode is performed. At this time, the sounding time intervals of the sequence sounds in the "sequence sounding mode" can be set arbitrarily at the time of allocation. For example, a method is appropriately adopted in which the sounds to be sequentially pronounced are selected or designated at desired time intervals, and the time interval information is stored together with the information of the selected sounds.

所望のパッドに対して任意の複数音を割り当てるため
に、割り当てようとする音を選択する何らかの選択手段
が設けられる。一例として、パッドに割り当てようとす
る任意の音の選択は、鍵盤における鍵押圧操作によって
行い、パッドに対して複数の音階音を割り当てることが
できる。
In order to assign any of a plurality of tones to a desired pad, some selection means for selecting a tone to be assigned is provided. As an example, selection of an arbitrary note to be assigned to a pad can be performed by a key pressing operation on the keyboard, and a plurality of scale notes can be assigned to the pad.

上記選択手段による選択に従って各パッドに対して割り
当てられた音の情報を記憶するために適当な記憶手段が
設けられる。この記憶手段としてデータ及びワーキング
RAM12内の適当なエリア(これをパッドメモリというこ
とにする)が使用される。
Appropriate storage means are provided for storing the information of the sound assigned to each pad according to the selection by the selection means. Data and working as this storage means
An appropriate area in RAM 12 (this is called pad memory) is used.

第2図a,b,cは、データ及びワーキングRAM12内のパッド
メモリのフォーマット例を示すものである。まず、各パ
ッドP0〜P4毎にそれぞれパッドメモリPDM0〜PDM4のエリ
アが用意される(第2図a参照)。各パッドメモリPDM0
〜PDM4内の記憶フォーマットは、各パッドに対応して現
在選択されているパッドモードによって異なる。第2図
bは同時発音モードの場合の1つのパッドメモリPDM内
の記憶フォーマットを例示するものである。第2図cは
シーケンス発音モードの場合の1つのパッドメモリPDM
内の記憶フォーマットを例示するものである。
2A, 2B and 2C show an example of the format of the pad memory in the data and working RAM 12. First, areas of the pad memories PDM0 to PDM4 are prepared for the respective pads P0 to P4 (see FIG. 2a). Each pad memory PDM0
~ The storage format in PDM4 differs depending on the pad mode currently selected for each pad. FIG. 2B illustrates a storage format in one pad memory PDM in the simultaneous tone generation mode. FIG. 2c shows one pad memory PDM in the sequence tone generation mode.
3 illustrates an example of a storage format in the above.

第2図bにより、同時発音モードのときの記憶データに
ついて説明すると、次の通りである。
The stored data in the simultaneous tone generation mode will be described below with reference to FIG. 2b.

PM(PN):パッドモードデータ:PNはパッド番号であ
り、このパッドメモリPDMに対応するパッド(P0〜P4の
何れか1つ)を特定している。このパッド番号に対応す
るパッドに対して現在選択されている(割り当てられて
いる)パッドモードは何か、を示すデータである。同時
発音モードであれば“0"、シーケンスを発音モードであ
れば“1"である。
PM (PN): Pad mode data: PN is a pad number and specifies the pad (one of P0 to P4) corresponding to this pad memory PDM. This is data indicating what pad mode is currently selected (assigned) to the pad corresponding to this pad number. It is "0" in the simultaneous tone generation mode and "1" in the sequence tone generation mode.

PTC(PN):パッド音色データ:このパッド番号PNに対
応するパッドに対して現在割り当てられている音色は何
か、を示すデータである。このデータは音色を示すコー
ドデータからなる。従って、各パッド毎に異なる音色を
割り当てることが可能である。
PTC (PN): Pad tone color data: Data indicating what tone color is currently assigned to the pad corresponding to this pad number PN. This data consists of code data indicating a tone color. Therefore, it is possible to assign a different tone color to each pad.

P(PN):ポインタ:同時発音モードでは使用しないの
で、後述する。
P (PN): Pointer: Not used in the simultaneous tone generation mode, and will be described later.

PAT(PN):パッド割り当て音データ:パッドアサイン
処理によりこのパッド番号PNに対応するバッドに対して
割り当てた複数音のデータであり、1音につき1バイト
のエリアを使用する。この例では、最大で5音の同時発
音を可能とするので、5バイドがこのバッド割り当て音
データ記憶のために使用される。なお、1音分のデータ
を構成する1バイトデータの内訳は、割り当てられた音
の(鍵)を示す複数ビッドのキーコードと、割り当てら
れていることを示すための1ビットのフラグとからな
る。
PAT (PN): Pad assigned sound data: data of a plurality of sounds assigned to the pad corresponding to the pad number PN by the pad assigning process, and an area of 1 byte is used for each sound. In this example, since a maximum of 5 notes can be sounded simultaneously, 5 bids are used for storing the bad-assigned note data. It should be noted that the breakdown of the 1-byte data that constitutes the data for one note consists of a key code of a plurality of bids that indicates the (key) of the assigned note and a 1-bit flag that indicates that it is assigned. .

TGCHF:音源チャンネルフラグ:上記割り当て音データに
より示された各音がどの発音発生チャンネルに発音割り
当てされたかを示すフラグである。パッドアサイン処理
においては割り当てた各音をどの楽音発生チャンネルで
発音するかまでは指定しない。楽音発生チャンネルに対
する割り当てはキーアサイン処理によって行われる。こ
の音源チャンネルフラグでは、キーアサイン処理により
どのチャンネルに割り当てられたかを記憶する。この音
源チャンネルフラグは2バイト=16ビットからなり、1
ビットが1チャンネルに対応し、パッド割り当て音が割
り当てられたチャンネルに対応するビットに“1"が立
つ。
TGCHF: Sound source channel flag: This flag indicates to which sound generation channel each sound indicated by the above-mentioned allocated sound data has been sound-assigned. In the pad assigning process, it does not specify which musical tone generation channel the assigned notes are to be played. The assignment to the tone generation channel is performed by the key assignment process. The sound source channel flag stores which channel is assigned by the key assign process. This sound source channel flag consists of 2 bytes = 16 bits and 1
The bit corresponds to one channel, and "1" is set to the bit corresponding to the channel to which the pad assigned sound is assigned.

第2図cにより、シーケンス発音モードのときの記憶デ
ータについて説明すると、次の通りである。
The stored data in the sequence tone generation mode will be described with reference to FIG. 2c as follows.

PM(PN):パッドモードデータ:前述。PM (PN): Pad mode data: As mentioned above.

PTC(PN):パッド音色データ:前述。PTC (PN): Pad tone data: As mentioned above.

P(PN):ポインタ:シーケンス音を順番に発音する制
御を行うために、後述のイベント順位を指示するポイン
タである。
P (PN): Pointer: A pointer for pointing the event order, which will be described later, in order to control the sequence sounds to be generated in order.

シーケンスデータエリア:パッドアサイン処理によりこ
のパッド番号PNに対応するパッドに対して割り当てたシ
ーケンス音のデータをイベント順(発音タイミング順)
に記憶するエリアであり、1イベントにつき2バイトの
エリアを使用し、合計20イベント=40バイトの記憶領域
を持つ。1イベントにつき2バイトのデータは、イベン
トデータE(PN,p)とデュレーションデータD(PN,p)
とからなる。p=0,1,2,……,19はイベンド順位であ
り、上記ポインタP(PN)により指定される。イベント
データE(PN,p)は1ビットのイベントフラグと該イベ
ントに関わる割り当て音の音高(鍵)を示す複数ビット
のキーコードとからなる。イベントフラグは、キーオン
イベントのとき“1"、キーオフイベントのとき“0"であ
る。デュレーションデータD(PN,p)は、当該イベント
から次のイベントまでの時間間隔を示すデータである。
なお、シーケンスの最後には所定のエンドマークコード
を記憶しておくものとする。
Sequence data area: Sequence sound data assigned to the pad corresponding to this pad number PN by pad assignment processing is arranged in event order (sound generation timing order)
This area is used to store 2 bytes per event and has a total storage area of 20 events = 40 bytes. 2 bytes of data per event are event data E (PN, p) and duration data D (PN, p)
Consists of. p = 0,1,2, ..., 19 is the event ranking and is designated by the pointer P (PN). The event data E (PN, p) consists of a 1-bit event flag and a multi-bit key code indicating the pitch (key) of the assigned sound related to the event. The event flag is "1" for a key-on event and "0" for a key-off event. The duration data D (PN, p) is data indicating the time interval from the event to the next event.
A predetermined end mark code is stored at the end of the sequence.

TGCHF:音源チャンネルフラム:前述。TGCHF: Sound source channel flam: As mentioned above.

次に、マイクロコンピュータによって実行される処理の
一例につき第3図乃至第12図のフローチャートを参照し
て説明する。
Next, an example of the processing executed by the microcomputer will be described with reference to the flowcharts of FIGS. 3 to 12.

第3図はメインルーチンの一例を示しており、まず所定
の初期設定処理を行った後、「キー処理」、「パッド処
理」、「パネルスイッチ処理」、「その他処理」のルー
チンを繰り返す。「キー処理」では、鍵盤回路14におけ
る各キースイッチをスキャンしてそのオン・オフを検出
し、キーオンイベントのときは第4図に一例を示すキー
オンイベント処理を行い、キーオフイベントのときは第
5図に一例を示すキーオフイベント処理を行う。「パッ
ド処理」では、パッドP0〜P4の各センサをスキャンして
そのオン・オフを検出し、パッドオンイベントのときは
第6図に一例を示すパッドオンイベント処理を行い、パ
ッドオフイベントのときは第7図に一例を示すパッドオ
フイベント処理を行う。「パネルスイッチ処理」では、
パネルスイッチ回路15における各種操作子,スイッチ類
をスキャンしてそのオン・オフを検出し、その検出に基
づき各種処理を行う。この「パネルスイッチ処理」にお
いて実行される処理の例が第8図、第9図、第10図に示
されている。「その他処理」では、その他様々な処理を
行う。ここで行われる処理の1つに第11図に示すように
シーケンス制御処理がある。
FIG. 3 shows an example of the main routine. First, after performing a predetermined initialization process, the "key process", "pad process", "panel switch process", and "other process" routines are repeated. In the "key processing", each key switch in the keyboard circuit 14 is scanned to detect ON / OFF of the key switch, and a key-on event processing, an example of which is shown in FIG. A key-off event process, an example of which is shown in the figure, is performed. In the "pad processing", the sensors of the pads P0 to P4 are scanned to detect their on / off states. When a pad on event occurs, the pad on event processing shown in FIG. 6 is performed, and when a pad off event occurs. Performs pad-off event processing, an example of which is shown in FIG. In "panel switch processing",
Various operators and switches in the panel switch circuit 15 are scanned to detect ON / OFF of the switches, and various processes are performed based on the detection. Examples of the processing executed in this "panel switch processing" are shown in FIGS. 8, 9 and 10. In "other processing", various other processings are performed. One of the processes performed here is a sequence control process as shown in FIG.

メインルーチンの実行中にタイマ20のクロックパルスに
より周期的にインタラプトがかけられる。その場合、第
12図のタイマインタラプト処理が行われる。ここでは、
タイマレジスタTIMEの内容を1増加する。従って、タイ
マTIMEはフリーラン状態であり、また、そのオーバーフ
ローは無視される。
During the execution of the main routine, the interrupt pulse is periodically applied by the clock pulse of the timer 20. In that case,
The timer interrupt process shown in Fig. 12 is performed. here,
Increments the content of the timer register TIME by 1. Therefore, the timer TIME is in the free running state, and its overflow is ignored.

なお、初期設定処理において、各パッドメモリPDM0〜PD
M4に所定の初期データをプリセットするようにしてもよ
い。そうすれば、電源オン時に、各パッドP0〜P4に対し
て所定の複数音を初期割り当てすることができる。勿
論、そのような初期割り当てを行わなくてもよい。
In the initial setting process, each pad memory PDM0-PD
The M4 may be preset with predetermined initial data. Then, when the power is turned on, a predetermined plurality of sounds can be initially assigned to the pads P0 to P4. Of course, such initial allocation may not be performed.

パッドモードの選択 パッドモードは、パッドアサイン処理時に、パネルスイ
ッチ回路15に在るパッドアサインスイッチPASWを操作す
ることにより選択することができる。詳しくは、この実
施例においては、パッドアサインスイッチPASWの操作に
応じてパッドアサインモードが決定され、このパッドア
サインモードに従ってパッドモードが決定される。
Selection of Pad Mode The pad mode can be selected by operating the pad assign switch PASW in the panel switch circuit 15 during the pad assign process. Specifically, in this embodiment, the pad assign mode is determined according to the operation of the pad assign switch PASW, and the pad mode is determined according to the pad assign mode.

パッドアサインモードについて説明すると、これには0
〜3の4つのモードがある。この4つのパッドアサイン
モードはレジスタPAMの内容により、次のように指示さ
れる。
Explaining the pad assign mode, this is 0
There are four modes, ~ 3. The four pad assign modes are instructed as follows by the contents of the register PAM.

PAM=0:プレイモード:通常の演奏を行うモード、つま
りパッドアサイン処理を行わないことを示す。
PAM = 0: Play mode: Indicates a mode in which normal performance is performed, that is, pad assignment processing is not performed.

PAM=1:複数音割り当てモード:同時に発音すべき任意
の複数音を所望の1つのパッドに対応して割り当てると
きのモード。このモードが選択されたとき、前記パッド
モードとして同時発音モードが選択される。実施例で
は、所望のパッドを操作する前に、パッドアサインスイ
ッチPASWを操作すると、このモードが選択される。
PAM = 1: Multiple tone assignment mode: A mode for assigning arbitrary multiple tones that should be sounded simultaneously to one desired pad. When this mode is selected, the simultaneous tone generation mode is selected as the pad mode. In the embodiment, when the pad assign switch PASW is operated before operating the desired pad, this mode is selected.

PAM=2:シーケンス音割り当て準備モード:順番に発音
すべき任意の複数音を所望の1つのパッドに対応して割
り当てるときの最初の状態(準備状態)を示すモード。
このモードが選択されたとき、前記パッドモードとして
シーケンス発音モードが選択される。実施例では、所望
のパッドを操作しながら、パッドアサインスイッチPASW
を操作すると、このモードが選択される。
PAM = 2: Sequence sound assignment preparation mode: A mode showing the initial state (preparation state) when allocating arbitrary plural notes to be sequentially pronounced corresponding to one desired pad.
When this mode is selected, the sequence tone generation mode is selected as the pad mode. In the embodiment, while operating the desired pad, the pad assign switch PASW
This mode is selected by operating.

PAM=3:シーケンス音割り当て記憶モード:シーケンス
音割り当ての際に記憶動作に入ったことを示すモード。
実施例では、シーケンス音割り当て準備モード(PAM=
2)のときに、所望の鍵押圧により割り当て音の選択が
なされると、このモードに切り換わる。
PAM = 3: Sequence sound allocation memory mode: A mode indicating that the memory operation is started when the sequence sounds are allocated.
In the embodiment, the sequence sound allocation preparation mode (PAM =
In the case of 2), when the assigned sound is selected by pressing the desired key, the mode is switched to this mode.

パッドアサインスイッチPASWが操作されると第8図に示
すパッドアサインスイッチオンイベント処理が実行され
る。まず、ステップ30では、パッドアサインモードPAM
の内容を調べ、PAM=0であれば、ステップ31に行き、
いずれかのパッドスイッチP0〜P4が同時にオンされてい
るかを調べる。NOであれば、パッドアサインスイッチPA
SWがパッドスイッチP0〜P4よりも先に押されたことを意
味し、ステップ32に行き、パッドアサインモードPAMを
1にセットする。こうして、複数音割り当てモードが選
択される。
When the pad assign switch PASW is operated, the pad assign switch ON event process shown in FIG. 8 is executed. First, in Step 30, the pad assign mode PAM
Check the contents of, if PAM = 0, go to step 31,
Check if any of the pad switches P0 to P4 are turned on at the same time. If NO, pad assign switch PA
This means that the SW has been pressed before the pad switches P0 to P4, and go to step 32 to set the pad assign mode PAM to 1. In this way, the plural sound allocation mode is selected.

ステップ31がYESであれば、ステップ33に行き、既にオ
ンされているパッドのパッド番号をレジスタiにセット
する。次に、ステップ34に行き、パッドアサインモード
PAMを2にセットする。こうして、シーケンス音割り当
て準備モードが選択される。
If step 31 is YES, the process goes to step 33 to set the pad number of the pad which is already turned on in the register i. Next, go to step 34 and set the pad assign mode.
Set PAM to 2. In this way, the sequence sound allocation preparation mode is selected.

パッドアサインスイッチPASWをもう1度操作することに
より、パッドアサイン処理を終了することができるが、
この点については後述する。
The pad assign process can be ended by operating the pad assign switch PASW again.
This point will be described later.

なお、第13図に示すようにパッドアサインスイッチPASW
の脇にLED等の表示器が設けられ、上記パッドアサイン
モードPAMの状態に応じた表示を行うようになってい
る。例えば、PAM=0のとき消灯、PAM≠0のとき点灯す
るように制御することにより、パッドアサイン処理中で
あることを表示することができる。
As shown in Fig. 13, the pad assign switch PASW
An indicator such as an LED is provided beside the so that the display according to the state of the pad assign mode PAM is performed. For example, by controlling to turn off the light when PAM = 0 and turn on the light when PAM ≠ 0, it is possible to display that the pad assigning process is being performed.

複数音の割り当て 前述のようにPAM=1にセットすると、複数音割り当て
モードが選択される。この状態で、割り当てを行いたい
所望のパッド(P0〜P4のいずれか1つ)をオン操作す
る。すると、第6図のパッドオンイベント処理がスター
トし、次のような処理が行われ、該パッドに現在割り当
てられている音が発音される。
Allocation of Multiple Tones If PAM = 1 is set as described above, the multiple tone allocation mode is selected. In this state, the desired pad (one of P0 to P4) to be assigned is turned on. Then, the pad-on-event process of FIG. 6 is started, and the following process is performed, and the sound currently assigned to the pad is sounded.

まず、オンされたパッドのパッド番号をレジスタPNにス
トアする(ステップ35)。次に、パッドアサインモード
PAMが2又は3であるかを調べる(ステップ36)。今はP
AM=1であるからNOであり、ステップ37に行き、レジス
タPNのパッド番号をレジスタiにストアする。次に、レ
ジスタPNのパッド番号に対応するパッドメモリPDM(PDM
0〜PDM4のうち1つ)からパッドモードデータPM(PN)
を読み出し、それが“0"であるか否かを調べる(ステッ
プ38)。“0"であれば、同時発音モードであり、ステッ
プ39,40の処理により、該パッドメモリPDMからパッド割
り当て音データPAT(PN)を読み出し、このパッド割り
当て音データに対応する複数の音をそれぞれ異なるチャ
ンネルに割り当て、楽音信号発生回路17によりこれらの
複数音を発生させる。他方、“0"でなければ、シーケン
ス発音モードであり、ステップ41〜47及び第11図の処理
により、該パッドメモリPDMのシーケンスデータエリア
から各シーケンス音のイベントデータとデュレーション
データを順次読み出し、各音をそれぞれ適宜のチャンネ
ルに割り当て、楽音信号発生回路17によりこれらの音を
発生させる。なお、同時発音モード及びシーケンス発音
モードにおける発音制御の詳細については後述する。
First, the pad number of the turned-on pad is stored in the register PN (step 35). Next, pad assign mode
It is checked whether PAM is 2 or 3 (step 36). Now P
Since AM = 1, the answer is NO, and the process goes to step 37 to store the pad number of the register PN in the register i. Next, the pad memory PDM (PDM
0 to 1 of PDM4) to pad mode data PM (PN)
Is read and it is checked whether it is "0" (step 38). If it is "0", the simultaneous tone generation mode is set, and by the processing of steps 39 and 40, the pad assigned sound data PAT (PN) is read from the pad memory PDM, and a plurality of sounds corresponding to the pad assigned sound data are respectively output. Assigned to different channels, the tone signal generation circuit 17 generates these plural tones. On the other hand, if it is not "0", it is the sequence tone generation mode, and the event data and duration data of each sequence sound are sequentially read from the sequence data area of the pad memory PDM by the processing of steps 41 to 47 and FIG. The sounds are respectively assigned to appropriate channels, and these sounds are generated by the tone signal generation circuit 17. The details of the sound generation control in the simultaneous sound generation mode and the sequence sound generation mode will be described later.

このように、操作者は、該パッドに既に割り当てられて
いる音を耳で確認することができる。そして、パッドの
オン操作を持続したままで、新たに割り当てしたい望み
の鍵を押圧する。すると、第4図のキーオンイベント処
理がスタートし、次のような処理が行われる。
In this way, the operator can hear the sound already assigned to the pad. Then, while the ON operation of the pad is being continued, the desired key to be newly assigned is pressed. Then, the key-on event process of FIG. 4 starts and the following process is performed.

まず、新たに押圧された鍵のキーコードをレジスタKCD
に登録する(ステップ48)。次に、現在選択されている
音色の音色コードTCがキーボードパーカッションを示す
値“&HFF"であるかを調べる(ステップ49)。なお、キ
ーボードパーカッションとは、鍵盤の鍵を打楽器音指定
操作子として使用することを示し、その場合、音色コー
ドTCは所定値“&HFF"とされ、音色名すなわち打楽器音
名がキーコードによって指定される。
First, register the key code of the newly pressed key in the register KCD
Register with (step 48). Next, it is checked whether the tone color code TC of the tone color currently selected is the value "&HFF" indicating the keyboard percussion (step 49). Note that keyboard percussion means that a key on the keyboard is used as a percussion instrument sound designation operator. In that case, the tone color code TC is set to a predetermined value “& HFF”, and the tone color, that is, the percussion instrument name is designated by the key code. It

押圧鍵が通常の音階音指定鍵である場合は、ステップ50
に行き、通常の発音処理(16チャンネルのいずれかに発
音割り当てするキーアサイン処理を含む)を行い、押圧
鍵の音高を持つ楽音信号を発生する。押圧鍵がキーボー
ドパーカッションの指定鍵である場合は、ステップ51に
行き、キーボードパーカッションのための所定の発音処
理を行う。次のステップ52では、上記発音処理で使用さ
れたチャンネルについて、すべてのパッドメモリPDM0〜
PDM4における当該チャンネルの音源チャンネルフラグTG
CHFをオフする。これは、当該チャンネルを既にパッド
で利用していた場合、その利用を解除し、最新のイベン
トである今回の押圧鍵の発音を優先するためである。次
のステップ53では、パッドアサインモードPAMの内容を
調べ、PAM=0又は1であれば、この処理を終了する。
If the pressed key is a normal scale key, step 50
Go to the normal tone generation process (including the key assignment process to assign to any of the 16 channels), to generate a tone signal with the pitch of the pressed key. If the pressed key is the designated key for the keyboard percussion, the process goes to step 51, and a predetermined sounding process for the keyboard percussion is performed. In the next step 52, all the pad memories PDM0 to PDM0 ...
Sound source channel flag TG of the corresponding channel in PDM4
Turn off CHF. This is because when the channel has already been used by the pad, the use is canceled and the latest key press, which is the latest event, is given priority. In the next step 53, the content of the pad assign mode PAM is checked, and if PAM = 0 or 1, this process ends.

こうして、パッドに割り当てたい所望の鍵を1乃至複数
押圧すると、押圧された各鍵毎に上記処理がなされる。
一旦押圧した鍵を該パッドに割り当てたくない場合は、
該鍵を離鍵すればよい。最終的に望みの鍵を1乃至複数
押圧した状態で、それまでオン操作し続けていたパッド
をオフする。すると、第7図のパッドオフイベント処理
がスタートし、次のような処理が行われ、押鍵中の1乃
至複数鍵に対応する楽音が該パッドに対して割り当てら
れる。
In this way, when one or more desired keys to be assigned to the pad are pressed, the above process is performed for each pressed key.
If you do not want to assign the pressed key to the pad,
The key may be released. Finally, with one or more desired keys pressed, the pad that has been kept on until then is turned off. Then, the pad-off event process of FIG. 7 is started, and the following process is performed, and the musical tones corresponding to one or a plurality of the keys pressed are assigned to the pad.

まず、オフされたパッドのパッド番号をレジスタPNにス
トアする(ステップ54)。次に、レジスタPNのパッド番
号に対応するパッドメモリPDM(PDM0〜PDM4のうち1
つ、これをPDM(PN)と表わす)からパッドモードデー
タPM(PN)を読み出し、PM(PN)=“0"であるかを調べ
る(ステップ55)。YESであれば、ステップ550に行き、
該パッドメモリPDM(PN)からパッド音色データPTC(P
N)を読み出し、PTC(PN)≠&HFFであるかを調べる。Y
ESであれば、ステップ56に行き、該パッドメモリPDM(P
N)における音源チャンネルフラグTGCHFがオンのチャン
ネル(フロー図ではCHと記す)に対応して楽音信号発生
回路17(フロー図ではTGと記す)に対してキーオフ信号
を送出する。これは、当該パッドに関するそれまでの割
り当て音を発音中であったため、その発音割り当てを解
除するためである。ステップ57では、当該オフパッドに
関わるパッドメモリPDM(PN)における音源チャンネル
フラグTGCHFをすべてオフする。
First, the pad number of the turned off pad is stored in the register PN (step 54). Next, the pad memory PDM (one of PDM0 to PDM4) corresponding to the pad number of the register PN is
Then, the pad mode data PM (PN) is read from PDM (PN)) and it is checked whether PM (PN) = "0" (step 55). If yes, go to step 550,
From the pad memory PDM (PN), pad tone color data PTC (P
Read N) and check if PTC (PN) ≠ & HFF. Y
If it is ES, go to step 56 and select the pad memory PDM (P
A key-off signal is sent to the tone signal generation circuit 17 (denoted by TG in the flow chart) corresponding to the channel (denoted by CH in the flow chart) in which the tone generator channel flag TGCHF in N) is ON. This is because the assigned sound of the pad up to that point is being sounded, so that the sounding assignment is canceled. In step 57, all tone generator channel flags TGCHF in the pad memory PDM (PN) related to the off pad are turned off.

PM(PN)=“0"つまり同時発音モードであっても、キー
ボードパーカッション音である場合はステップ550がNO
であり、ステップ56を行わずにステップ57に行く。これ
は、キーボードパーカッション音の場合は、格別にキー
オフ信号を与えることなく、消音されるからである。
PM (PN) = "0", that is, even if the simultaneous tone generation mode is selected, if the keyboard percussion sound is produced, step 550 is NO.
And go to step 57 without performing step 56. This is because the keyboard percussion sound is muted without giving a key-off signal.

また、当該パッドに関するそれまでの割り当て音がシー
ケンス音である場合は、PM(PN)=“1"であり、ステッ
プ55はNOであり、ステップ56,57を行わずにステップ58
に行く。これは、シーケンス音の場合、イベントデータ
によって消音処理がなされるためである。
If the assigned sound of the pad up to that point is a sequence sound, PM (PN) is “1”, step 55 is NO, and steps 58 and 56 are skipped.
go to. This is because, in the case of the sequence sound, the mute processing is performed by the event data.

次のステップ58では、PAM=1かつPN=iであるかをチ
ェックする。今の例では、複数音割り当てモードである
からパッドアサインモードPAM=1である。レジスタi
には最新のパッドオンイベントに関わるパッドの番号が
ストアされており(第6図ステップ37)、レジスタPNに
は今回のパッドオフイベトに関わるパッドの番号がスト
アされている。通常はPN=iであり、ステップ58がYES
となり、ステップ59に行く。ステップ59では現在押圧さ
れている鍵の有無を調べる。押圧されている鍵があれば
ステップ60〜62に行き、レジスタiによって指定された
パッド番号に対応するパッドメモリPDM(PDM0〜PDM4の
いずれか1つ)に対して割り当てデータの書込み行う。
すなわち、パッド番号iに対応するパッドメモリPDMに
おけるパッドモードデータPM(i)を“0"にセットし、
このパッドに対応して同時発音モードが選択されたこと
を記憶する(ステップ60)。そして該パッド番号iに対
応するパッドメモリPDMにおけるパッド音色データPTC
(i)として現在選択されている音色を示す音色コード
TCを記憶する(ステップ60)。また、パッド番号iに対
応するパッドメモリPDMにおけるパッド割り当て音デー
タPAT(PN)として現在押圧されている鍵のキーコード
を書き込む(ステップ61)。この場合、最大で5音まで
のキーコードが書込み可能であり、同時押鍵数が6以上
のときは所定の優先選択基準に従って5鍵のみ選択し、
そのキーコードを書き込むものとする。優先選択基準
は、高音優先あるいは低音優先あるいは押鍵時点が新し
いものを優先する等適宜定めてよい。また、書き込まれ
たキーコードに対応して、割り当てを示すオンフラグ
“1"を立てる。同時押鍵数が5音未満のときは、キーコ
ードを記憶しなかった残りのエリアにキーコード無しを
示すデータ“&H00"とオフフラグ“0"を記憶する(ステ
ップ62)。
In the next step 58, it is checked whether PAM = 1 and PN = i. In the present example, the pad assign mode PAM = 1 because the mode is the multi-tone assignment mode. Register i
The pad number related to the latest pad-on event is stored in (step 37 in FIG. 6), and the pad number related to the pad-off event this time is stored in the register PN. Normally PN = i and step 58 is YES
Next, go to step 59. In step 59, the presence or absence of the currently pressed key is checked. If there is a pressed key, the process goes to steps 60 to 62 to write the allocation data to the pad memory PDM (one of PDM0 to PDM4) corresponding to the pad number designated by the register i.
That is, the pad mode data PM (i) in the pad memory PDM corresponding to the pad number i is set to "0",
The fact that the simultaneous tone generation mode has been selected corresponding to this pad is stored (step 60). The pad tone color data PTC in the pad memory PDM corresponding to the pad number i
Tone code indicating the tone currently selected as (i)
Memorize TC (step 60). Further, the key code of the currently pressed key is written as the pad assigned sound data PAT (PN) in the pad memory PDM corresponding to the pad number i (step 61). In this case, a key code of up to 5 tones can be written, and when the number of simultaneous keys is 6 or more, only 5 keys are selected according to a predetermined priority selection criterion,
The key code shall be written. The priority selection criterion may be determined as appropriate, such as high tone priority, low tone priority, or priority at a new key depression time. In addition, an on-flag “1” indicating allocation is set in correspondence with the written key code. When the number of keys pressed simultaneously is less than five, the data "&H00" indicating no key code and the off flag "0" are stored in the remaining area where no key code is stored (step 62).

以上のようにして、オン操作したパッドに割り当てたい
望みの鍵を1乃至複数押圧した状態で、それまでオン操
作し続けていた該パッドをオフすると、該1乃至複数鍵
に対応する音の情報が該パッドに対応するパッドメモリ
PDMに記憶される。こうして該パッドに対する所望の1
乃至複数音の割り当てが実行される。
As described above, when one or more desired keys to be assigned to the ON-operated pad are pressed and the pad that has been continuously ON-operated until then is turned OFF, the sound information corresponding to the one-to-multiple keys is output. Is a pad memory corresponding to the pad
Stored in PDM. Thus the desired one for the pad
Through assignment of multiple tones.

なお、或るパッドをオン操作してそこに割り当てられて
いる音を発音させ、確認した後、その割り当てを変更す
るつまりがない場合は、新たな割り当て音を選択するた
めの押鍵操作を行わずに、該パッドをオフする。その場
合はステップ59がNOとなるので、ステップ60〜62の処理
を行わずに処理を終了する。
If a certain pad is turned on and the note assigned to it is pronounced and confirmed, and if the assignment does not change, a key press operation is performed to select a new assigned note. Without turning off the pad. In that case, since step 59 becomes NO, the processing is ended without performing the processing of steps 60 to 62.

また、或る第1のパッドをオン操作し、それをオフする
前に別の第2のパッドをオン操作し、その後第1のパッ
ドをオフした場合は、ステップ58のPN=iが成立せず、
ステップ60〜62の処理が行われない。第2のパッドをオ
フしたときにステップ58のPN=iが成立し、ステップ60
〜62の処理に行われる。
If one first pad is turned on, another second pad is turned on before turning it off, and then the first pad is turned off, PN = i in step 58 is satisfied. No
The processing of steps 60 to 62 is not performed. When the second pad is turned off, PN = i in step 58 is satisfied, and step 60
~ 62 processing is performed.

なお、割り当て音の音色も自由に選択することができ
る。この実施例では、パッドに音階音を割り当てる場合
は、1パッドにつき割り当て可能な音色は1種類だけで
ある。その場合、パネルスイッチ回路15において割り当
てたい所望の音色を予め選択しておく。所望の音色の音
色スイッチをオンすると、第10図の音色スイッチオンイ
ベント処理が行われ、オンされた音色スイッチに対応す
る音色コードTCを選択された音色の情報として登録す
る。この音色コードTCが第7図のステップ60においてパ
ッド音色データPTC(i)として記憶されることによ
り、所望音色の割り当てが行われる。この場合、1パッ
ドに割り当てられる複数音に関する音色情報は共通であ
るが、変更例として各音毎に異なる音色を割り当てるよ
うにしてもよいのは勿論である。
The tone color of the assigned sound can be freely selected. In this embodiment, when a scale tone is assigned to a pad, only one type of tone color can be assigned to each pad. In that case, a desired tone color to be assigned is selected in advance in the panel switch circuit 15. When the tone color switch of the desired tone color is turned on, the tone color switch on event process of FIG. 10 is performed, and the tone color code TC corresponding to the turned on tone color switch is registered as the information of the selected tone color. By storing this tone color code TC as pad tone color data PTC (i) in step 60 of FIG. 7, a desired tone color is assigned. In this case, the tone color information regarding a plurality of tones assigned to one pad is common, but it goes without saying that a different tone color may be assigned to each tone as a modification example.

パッドに対してキーボードパーカッション音を割り当て
ることも可能である。そのためには予めキーボードパー
カッションモードに設定しておく。キーボードパーカッ
ションモードはパネルスイッチ回路15に設けられるキー
ボードパーカッションスイッチKPSWの操作に応じてオン
・オフされる。キーボードパーカッションスイッチKPSW
がオンされると、第9図のキーボードパーカッションス
イッチオンイベント処理が行われる。まず、音色コード
TCがキーボードパーカッションモードを示す所定の値
“&HFF"になっているかを調べる(ステップ63)。キー
ボードパーカッションモードにまだなっていない場合
は、NOに分岐し、そのときの音色コードTCをバッフアTC
BUFに保存してから(ステップ64)、音色コードTCをキ
ーボードパーカッションモードを示すコード“&HFF"に
変更する(ステップ65)。こうしてキーボードパーカッ
ションモードに変えてから、所望のパッドをオンし、か
つ所望のキーボードパーカッション音に対応する鍵を押
圧する。そして前述のように、該パッドをオフすると、
押圧された鍵のキーコードがキーボードパーカッション
モードを示す音色コードTCと共にパッドメモリPDMに記
憶される。キーボードパーカッションモードをやめる場
合は、キーボードパーカッションスイッチKPSWをもう1
度オンする。すると今度はステップ63がYESに分岐し、
バッフアTCPUFに保存していた音色コードを音色コードT
Cとして再登録する(ステップ66)。なお、第13図に示
すようにキーボードパーカッションスイッチKPSWの脇に
LED等の表示器が設けられ、上記キーボードパーカッシ
ョンスイッチモードの状態に応じた表示を行うようにな
っている。例えば、キーボードパーカッションモードが
選択されているとき(TC=&HFFのとき)点灯、選択さ
れていないとき(TC≠&HFFのとき)消灯するように制
御する。
It is also possible to assign keyboard percussion sounds to the pads. For that purpose, the keyboard percussion mode is set in advance. The keyboard percussion mode is turned on / off according to the operation of the keyboard percussion switch KPSW provided in the panel switch circuit 15. Keyboard percussion switch KPSW
When is turned on, the keyboard percussion switch on event processing of FIG. 9 is performed. First, the tone code
It is checked whether TC has a predetermined value "&HFF" indicating the keyboard percussion mode (step 63). If it is not in keyboard percussion mode, branch to NO and change the tone code TC at that time to buffer TC.
After saving in the BUF (step 64), the tone code TC is changed to the code "&HFF" indicating the keyboard percussion mode (step 65). After changing to the keyboard percussion mode in this way, the desired pad is turned on and the key corresponding to the desired keyboard percussion sound is pressed. And, as mentioned above, when the pad is turned off,
The key code of the pressed key is stored in the pad memory PDM together with the tone color code TC indicating the keyboard percussion mode. To stop the keyboard percussion mode, press the keyboard percussion switch KPSW again.
Turn on once. Then step 63 branches to YES,
The tone code saved in the buffer TCPUF is replaced by the tone code T
Re-register as C (step 66). As shown in Fig. 13, beside the keyboard percussion switch KPSW.
A display device such as an LED is provided so that the display according to the state of the keyboard percussion switch mode is performed. For example, control is performed so that the keyboard percussion mode is turned on (when TC = & HFF) and turned off when not selected (TC ≠ & HFF).

複数音割り当てモードを終了する場合は、パッドアサイ
ンスイッチPASWをもう1度オン操作する。すると、第8
図のステップ30においてPAM=1(複数音割り当てモー
ド)と判定され、ステップ67に行き、パッドアサインモ
ードPAMの内容がPAM=0(プレイモード)にリセットさ
れる。
To end the multi-tone assignment mode, turn on the pad assign switch PASW again. Then, the eighth
In step 30 of the figure, it is determined that PAM = 1 (plural note assigning mode), the procedure goes to step 67, and the content of the pad assign mode PAM is reset to PAM = 0 (play mode).

シーケンス音の割り当て 前述のようにシーケンス音の割り当てを行いたい場合
は、まず、所望のパッド(P0〜P4のいずれか1つ)を先
にオン操作する。すると、第6図のパッドオンイベント
処理がスタートし、このときPAM=2又は3ではないた
め、ステップ36はNOに分岐し、前述と同様の処理が行わ
れ、該パッドに現在割り当てられている音が発音され
る。これにより既割り当て音を確認した上で、このパッ
ドに新たなシーケンス音を割り当てたい場合は、パッド
アサインスイッチPASWをオン操作する。すると、第8図
のステップ31がYESに分岐し、オンされているパッドの
パッド番号がレジスタiにストアされ、PAM=2にセッ
トされてシーケンス音割り当て準備モードとなる。PAM
=2にセットした後はパッドはいつオフしてもよい。シ
ーケンス音の割り当て/記憶は、パッドのオフタイミン
グではなく、押鍵/離鍵のイベント毎に行われる。
Assignment of Sequence Sound To assign a sequence sound as described above, first turn on a desired pad (one of P0 to P4). Then, the pad-on-event process of FIG. 6 starts, and since PAM = 2 or 3 at this time, step 36 branches to NO, the same process as described above is performed, and it is currently assigned to the pad. The sound is pronounced. If the user wishes to assign a new sequence tone to this pad after checking the already assigned tone, turn on the pad assign switch PASW. Then, step 31 in FIG. 8 branches to YES, the pad number of the pad which is turned on is stored in the register i, PAM = 2 is set, and the sequence tone allocation preparation mode is set. PAM
The pad may be turned off after setting = 2. The sequence sound is assigned / stored at each key depression / key release event, not at the pad off timing.

PAM=2にセットした後、操作者は、シーケンス音とし
て割り当てたい複数音を指定する所望の複数鍵を所望の
タイミングで順次押圧する。この場合、一部期間で2以
上の鍵が重複して押圧されることがあってもさしつかえ
ない。この一連の鍵操作に応じて、押鍵時には第4図の
キーオンイベント処理が行われ、離鍵時には第5図のキ
ーオフイベント処理が行われる。そして、各イベント毎
に、以下説明するように、パッドメモリPDMにおいてシ
ーケンスデータが記憶され、シーケンス音の割り当てが
なされる。
After setting PAM = 2, the operator sequentially presses desired plural keys designating plural sounds to be assigned as sequence sounds at desired timing. In this case, it does not matter if two or more keys are pressed in duplicate for some periods. In response to this series of key operations, the key-on event process of FIG. 4 is performed when the key is pressed, and the key-off event process of FIG. 5 is performed when the key is released. Then, for each event, as described below, the sequence data is stored in the pad memory PDM, and the sequence sound is assigned.

鍵が押圧された場合は、第4図のステップ48〜52の処理
により、該押圧鍵のキーコードをレジスタKCDに登録す
ると共にその楽音を発音させる。
When the key is pressed, the key code of the pressed key is registered in the register KCD and the musical tone is sounded by the processing of steps 48 to 52 in FIG.

最初の鍵が押圧されたときは、まだPAM=2であるか
ら、ステップ53ではPAM=2と判定し、ステップ68に行
く。ステップ68ではパッドアサインモードをPAM=3に
セットし、シーケンス音割り当て記憶モードとする。次
に、レジスタiのパッド番号に対応するパッドメモリPD
M(PDM0〜PDM4のうち1つ)におけるパッドモードデー
タPM(i)を“1"にセットし、このパッドに対応してシ
ーケンス発音モードが選択されたことを記憶する(ステ
ップ69)。そして該パッド番号iに対応するパッドメモ
リPDMにおけるパッド音色データPTC(i)として現在選
択されている音色を示す音色コードTCを記憶する(ステ
ップ69)。
When the first key is pressed, PAM = 2, so PAM = 2 is determined in step 53, and the process proceeds to step 68. In step 68, the pad assign mode is set to PAM = 3 to set the sequence tone allocation storage mode. Next, the pad memory PD corresponding to the pad number of the register i
The pad mode data PM (i) in M (one of PDM0 to PDM4) is set to "1", and it is stored that the sequence tone generation mode is selected corresponding to this pad (step 69). Then, the tone color code TC indicating the tone color currently selected is stored as the pad tone color data PTC (i) in the pad memory PDM corresponding to the pad number i (step 69).

次に、タイマTIMEの現在値に対して所定の1小節時間長
データMJLを加算し、その結果をシーケンス終了時刻レ
ジスタENDTにストアする(ステップ70)。これは、一例
として、シーケンス音の1フレーズを1小節に担当する
時間に限定するためである。次に、割り当てるべきパッ
ドのパッド番号iに対応するパッドメモリPDMにおける
ポインタP(i)を初期値0にセットする(ステップ7
1)。次に、該パッド番号iに対応するパッドメモリPDM
におけるシーケンスデータエリア(第2図c参照)にお
いて、ポインタP(i)=0によって指定される最初の
イベントデータE(i,o)として、レジスタKCDのキーコ
ード(つまり今押圧されたばかりの鍵のキーコード)と
オンイベントフラグ“1"を記憶する(ステップ72)。そ
して、タイマTIMEの現在値をオールドタイムレジスタOL
DTにセットし、これにより今回のイベント発生時刻を記
憶しておく(ステップ73)。
Next, a predetermined one-measure time length data MJL is added to the current value of the timer TIME, and the result is stored in the sequence end time register ENDT (step 70). This is because, for example, one phrase of the sequence sound is limited to the time assigned to one bar. Next, the pointer P (i) in the pad memory PDM corresponding to the pad number i of the pad to be assigned is set to the initial value 0 (step 7).
1). Next, the pad memory PDM corresponding to the pad number i
In the sequence data area (see FIG. 2c) in FIG. 2, as the first event data E (i, o) designated by the pointer P (i) = 0, the key code of the register KCD (that is, the key of the key just pressed). The key code) and the on-event flag "1" are stored (step 72). Then, the current value of the timer TIME is set to the old time register OL.
It is set in DT, and the time when this event occurred is stored (step 73).

2番目以降の鍵が押圧されたときに、すでにPAM=3に
なっているから、ステップ53ではPAM=3と判定し、ス
テップ74に行く。ステップ74では、タイマTIMEの現在値
からオールドタイムレジスタOLDTの値を減算し、前回の
イベント発生時刻と今回のイベント発生時刻の差、つま
りイベント時間間隔を求め、デュレーションレジスタD
にストアする。次に、パッド番号iに対応するパッドメ
モリPDMにおけるシーケンスデータエリア(第2図c参
照)において、ポインタP(i)によって指定されるイ
ベント順位のデュレーションデータD(i,P(i))と
して、該デュレーションレジスタDにストアした時間間
隔データを記憶する(ステップ75)。例えばP(i)=
0であるば、該デュレーションレジスタDの時間間隔デ
ータを最初のイベント順位のデュレーションデータD
(i,0)として記憶する。次に、ポインタP(i)を1
増加し、次のイベント順位(つまり今回のイベントの順
位)を指定する(ステップ76)。
Since PAM = 3 has already been reached when the second and subsequent keys are pressed, it is determined in step 53 that PAM = 3, and the process proceeds to step 74. In step 74, the value of the old time register OLDT is subtracted from the current value of the timer TIME to obtain the difference between the previous event occurrence time and the current event occurrence time, that is, the event time interval, and the duration register D
Store at. Next, in the sequence data area (see FIG. 2c) in the pad memory PDM corresponding to the pad number i, as the duration data D (i, P (i)) of the event order designated by the pointer P (i), The time interval data stored in the duration register D is stored (step 75). For example, P (i) =
If it is 0, the time interval data of the duration register D is the duration data D of the first event ranking.
It is stored as (i, 0). Next, set the pointer P (i) to 1
Increase and specify the next event ranking (that is, the ranking of the current event) (step 76).

次のステップ77では、パッド番号iに対応するパッドメ
モリPDMにおけるシーケンスデータエリア(第2図c参
照)において、ポインタP(i)によって指定されるイ
ベント順位のイベントデータE(i,P(i))として、
レジスタKCDのキーコード(つまり今回のオンイベント
に関わる鍵のキーコード)とオンイベントフラグ“1"を
記憶する。次のステップ78では、ポインタP(i)の値
が最大値19になったかを調べる。NOであれば、ステップ
79に行き、タイマTIMEの現在値をオールドタイムレジス
タOLDTにセットする。
In the next step 77, in the sequence data area (see FIG. 2c) in the pad memory PDM corresponding to the pad number i, the event data E (i, P (i) of the event order designated by the pointer P (i). ) As
The key code of the register KCD (that is, the key code of the key related to the on event this time) and the on event flag “1” are stored. In the next step 78, it is checked whether or not the value of the pointer P (i) has reached the maximum value 19. If NO, step
Go to 79 and set the current value of timer TIME in the old time register OLDT.

こうして、新たなキーオンイベントに対応して、前回の
イベント順位に関わるデュレーションデータD(i,P
(i))と、今回のイベント順位に関わるイベントデー
タE(i,P(i)+1)とが書き込まれる。
Thus, in response to the new key-on event, the duration data D (i, P
(I)) and the event data E (i, P (i) +1) related to the current event ranking are written.

押されていた鍵が離鍵されると、第5図のキーオフイベ
ント処理がスタートする。まず、今回離鍵された鍵のキ
ーコードをレジスタKCDに登録する(ステップ80)。次
に、現在選択されている音色の音色コードTCがキーボー
ドパーカッションを示す値“&HFF"であるかを調べる
(ステップ81)。離鍵された鍵が通常の音階音指定鍵で
ある場合は、ステップ81はONであり、ステップ82に行
き、通常の消音処理を行う。例えば、公知のように、離
鍵された鍵が割り当てられているチャンネルに対応して
キーオフ信号を送出し、該チャンネルの音量エンベロー
プを減衰モードに切り換えて、離鍵に関わる楽音信号の
発音を減衰消去する。次のステップ83では、パッドアサ
インモードがPAM=3かを調べる。今の例の場合、すで
にPAM=3となっているので、YESであり、ステップ84に
行く。
When the pressed key is released, the key-off event process of FIG. 5 starts. First, the key code of the key released this time is registered in the register KCD (step 80). Next, it is checked whether the tone color code TC of the tone color currently selected is the value "&HFF" indicating the keyboard percussion (step 81). If the released key is the normal scale-tone designated key, step 81 is ON, and the process goes to step 82 to perform the normal mute processing. For example, as is well known, a key-off signal is transmitted corresponding to the channel to which the released key is assigned, the volume envelope of the channel is switched to the attenuation mode, and the sound of the tone signal related to the key release is attenuated. to erase. In the next step 83, it is checked whether the pad assign mode is PAM = 3. In the case of the present example, since it is already PAM = 3, it is YES and the routine proceeds to step 84.

ステップ84〜89の処理は第4図のステップ74〜79の処理
とほぼ同様である。異なる点は、ステップ87では、ポイ
ンタP(i)によって指定されるイベント順位のイベン
トデータE(i,P(i))として、レジスタKCDのキーコ
ード(つまり今回のオフイベントに関わる鍵のキーコー
ド)とオフイベントフラグ“0"を記憶する点のみであ
る。こうして、キーオフイベントに対応しても、同様
に、前回のイベント順位に関わるデュレーションデータ
D(i,P(i))と、今回のイベント順位に関わるイベ
ントデータE(i,P(i)+1)とが書き込まれる。
The processing of steps 84 to 89 is almost the same as the processing of steps 74 to 79 in FIG. The difference is that in step 87, the key code of the register KCD (that is, the key code of the key related to the current off event) is used as the event data E (i, P (i)) of the event order designated by the pointer P (i). ) And the off event flag “0” are stored. Thus, even in the case of handling the key-off event, similarly, the duration data D (i, P (i)) relating to the previous event ranking and the event data E (i, P (i) +1) relating to the current event ranking. And are written.

離鍵された鍵がキーボードパーカッション指定鍵の場合
は、ステップ81はYESであり、以後の処理を行わずに、
このキーオフイベント処理を終了する。これはパーカッ
ション音は離鍵操作に無関係に減衰するため、格別の消
音処理が不要であるためである。
If the released key is the keyboard percussion-designated key, step 81 is YES and the subsequent processing is not performed.
This key-off event process ends. This is because the percussion sound is attenuated irrespective of the key release operation, and no special silencing processing is required.

ステップ86におけるインクリメントによりポインタP
(i)の値が最大値19になった場合は、ステップ88がYE
Sとなり、ステップ90に行く。ここではパッドアサイン
モードをPAM=0つまりプレイモードにセットし(ステ
ップ90)、イベント順位19のデュレーションデータD
(i,19)の位置に所定のエンドマークコードを書き込む
(ステップ91)。そしてポインタP(i)の値を“&HF
F"に設定する。これにより、パッドアサイン処理を終了
する。
The pointer P is incremented by the increment in step 86.
When the value of (i) reaches the maximum value of 19, step 88 is YE
Become S and go to step 90. Here, the pad assign mode is set to PAM = 0, that is, the play mode (step 90), and the duration data D of the event ranking 19 is set.
A predetermined end mark code is written at the position (i, 19) (step 91). Then, the value of the pointer P (i) is set to "& HF
Set to F ". This completes the pad assignment process.

キーオンイベント処理のときにポインタP(i)の値が
最大値19になった場合も上述と同様であり、第4図のス
テップ75がYESとなり、上記ステップ90〜92と全く同様
のステップ93〜95の処理を行なって、パッドアサイン処
理を終了する。
The same applies when the value of the pointer P (i) reaches the maximum value of 19 during the key-on event processing, and step 75 in FIG. 4 is YES, and steps 93 to 92 are exactly the same as steps 90 to 92. After performing the processing of 95, the pad assign processing is ended.

一方、メインルーチンを1巡する毎に第11図のシーケン
ス制御処理が行われる。ここでは、まず、パッドアサイ
ンモードがチェックされる(ステップ96)。上述のよう
にシーケンス音割り当て記憶モードを実行中のときはPA
M=3であり、ステップ97に行き、タイマTIMEの現在値
がシーケンス終了時刻レジスタENDTの値に一致したか若
しくはそれをオーバーしたかを調べる。NOであればこの
ルーチンを終了するが、YESならばステップ98〜100の処
理を実行する。ステップ98〜100の処理は上述の第5図
のステップ90〜92と全く同様の処理であり、これにより
シーケンス音割り当て処理を終了する。
On the other hand, the sequence control process of FIG. 11 is performed every time the main routine is cycled. Here, first, the pad assign mode is checked (step 96). As described above, when the sequence tone assignment storage mode is being executed, PA
Since M = 3, the routine proceeds to step 97, where it is checked whether the current value of the timer TIME matches the value of the sequence end time register ENDT or exceeds it. If NO, this routine is ended, but if YES, the processes of steps 98 to 100 are executed. The processing of steps 98 to 100 is exactly the same as the processing of steps 90 to 92 of FIG. 5 described above, and thus the sequence sound allocation processing ends.

また、シーケンス音割り当て記憶モード実行中に、パッ
ドアサインスイッチPASWをもう1度オン操作することに
よっても、シーケンス音割り当て処理を終了することが
できる。その場合、第8図のステップ30においてPAM=
3と判定され、ステップ101〜103の処理を実行する。ス
テップ101〜103の処理は上述の第5図のステップ90〜92
と全く同様の処理である。
The sequence sound allocation process can also be terminated by turning on the pad assign switch PASW again during execution of the sequence sound allocation storage mode. In that case, PAM = in step 30 of FIG.
It is determined to be 3, and the processes of steps 101 to 103 are executed. The processing of steps 101 to 103 is the same as steps 90 to 92 of FIG.
The processing is exactly the same as.

なお、或るパッドに対してシーケンス音割り当て処理を
行っている最中に別のパッドがオンされた場合は、パッ
ドアサインモードPAMが2又は3であるから、当該別の
パッドがオンされたときに実行される第6図のキーオン
イベント処理において、ステップ36がYESとなり、その
キーオンイベント処理を行わずにメインルーチンにリタ
ーンする。
If another pad is turned on while the sequence sound is being assigned to a certain pad, the pad assign mode PAM is 2 or 3, so when the other pad is turned on. In the key-on event process of FIG. 6 executed at step S36, YES is obtained in step 36, and the process returns to the main routine without performing the key-on event process.

複数音の同時発音 所望のパッドをオン操作すれば、該パッドに割り当てら
れている複数音を発音することができる。パッドをオン
操作すると、前述のように、第6図のパッドオンイベン
ト処理がスタートし、該パッドに対応するパッドメモリ
PDM(PN)からパッドモードデータPM(PN)を読み出
し、それが“0"であるか否かを調べる(ステップ38)。
該パッドに対応して選択されたパッドモードが同時発音
モードであればPM(PN)=“0"であり、ステップ39,40
の処理を行う。
Simultaneous sound production of a plurality of tones By turning on a desired pad, a plurality of tones assigned to the pad can be produced. When the pad is turned on, as described above, the pad-on event process of FIG. 6 starts and the pad memory corresponding to the pad is started.
Pad mode data PM (PN) is read from PDM (PN) and it is checked whether or not it is "0" (step 38).
If the pad mode selected corresponding to the pad is the simultaneous tone generation mode, PM (PN) = "0", and steps 39, 40
Process.

ステップ39では、オンされたパッドに対応するパッドメ
モリPDM(PN)のパッド割り当て音データPAT(PN)のエ
リアから該パッドに割り当てられている1乃至複数のキ
ーコードを読み出し、それらをそれぞれ異なるチャンネ
ルに割り当てる。これらのキーコードを割り当てチャン
ネルに対応して、発音信号発生回路17に対して、該キー
コード及びキーオン信号を送出する。また、該パッドメ
モリPDM(PN)からパッド音色データPTC(PN)を読み出
し、これも楽音信号発生回路17に対して送出する。発音
信号発生回路17における対応チャンネルにおいて、これ
ら1乃至複数のキーコードに対応する楽音信号を音色デ
ータに対応する音色で形成し、発生する。
In step 39, one or a plurality of key codes assigned to the pad are read from the pad assigned sound data PAT (PN) area of the pad memory PDM (PN) corresponding to the turned-on pad, and they are read on different channels. Assign to. The key code and the key-on signal are sent to the tone generation signal generating circuit 17 in correspondence with these key codes assigned to the channels. Further, the pad tone color data PTC (PN) is read out from the pad memory PDM (PN) and is also sent to the tone signal generating circuit 17. In the corresponding channel in the tone generation signal generation circuit 17, tone signals corresponding to these one to a plurality of key codes are formed and generated in tone colors corresponding to tone color data.

こうして、1回のパッド操作により、オン操作されたパ
ッドに割り当てられている1乃至複数音が同時に発音さ
れる。例えば、該パッドに所望の和音を割り当てておけ
ば、該パッドの1回の操作により和音演奏をた易く行う
ことができる。しかも、演奏目的に応じてパッドの割り
当て内容を適宜変更することができるので、限られた数
のパッドの様々な和音や任意の複数音の演奏操作子とし
て効率的に使用することができ、演奏操作が楽である。
In this way, one or more tones assigned to the turned-on pad are simultaneously sounded by one pad operation. For example, if a desired chord is assigned to the pad, the chord performance can be easily performed by operating the pad once. Moreover, since the content of the pad assignment can be changed appropriately according to the performance purpose, it can be efficiently used as a performance operator for various chords of a limited number of pads or arbitrary multiple notes. Easy to operate.

ステップ40では、前ステップで割り当て決定したチャン
ネルに対応して、当該パッドメモリPDM(PN)における
音源チャンネルフラグTGCHFを“1"に立てる。
In step 40, the tone generator channel flag TGCHF in the pad memory PDM (PN) is set to "1" corresponding to the channel determined to be allocated in the previous step.

オンされていたパッドがオフされると、前述のように、
第7図のパッドオフイベント処理がスタートし、今回の
オフイベントに係るパッドのパッドモードデータPM(P
N)とパッド音色データPTC(PN)が、PM(PN)=“0"か
つPTC(PN)≠&HFFであるかを調べる(ステップ55及び
550)。同時発音モードかつ通常音色であれば、ステッ
プ56に行き、該パッドに割り当てられている1乃至複数
音が発音割り当てされているチャンネル(音源チャンネ
ルフラグTGCHFがオンのチャンネル)に対してキーオフ
信号を送出する。これにより、該チャンネルの発生音を
離鍵後の減衰発音状態とし、該パッドに対応する1乃至
複数音を消音する。その後、ステップ57に行き、当該オ
フパッドに関わるパッドメモリPDM(PN)における音源
チャンネルフラグTGCFHをすべてオフする。該パッドに
割り当てられた音色がキーボードパーカッション音の場
合は、ステップ550はNOであり、ステップ56を行わずに
ステップ57に行く。キーボードパーカッション音は格別
のキーオフ処理を行うことなく、減衰発音するので、ス
テップ56の処理は不要であるからである。
When the pad that was turned on is turned off, as described above,
The pad off event process of FIG. 7 starts, and the pad mode data PM (P
N) and the pad tone color data PTC (PN) are checked to see if PM (PN) = "0" and PTC (PN) ≠ & HFF (step 55 and
550). If it is the simultaneous tone generation mode and the normal tone color, go to step 56, and send the key-off signal to the channel (the tone source channel flag TGCHF is on) to which the one or more tones assigned to the pad are assigned. To do. As a result, the sound generated by the channel is set to the attenuated sound generation state after the key is released, and one or more sounds corresponding to the pad are muted. Then, it goes to step 57 and turns off all the tone generator channel flags TGCFH in the pad memory PDM (PN) related to the off pad. If the tone assigned to the pad is a keyboard percussion tone, step 550 is NO and step 56 is skipped and step 57 is executed. This is because the keyboard percussion sound is attenuated without performing special key-off processing, and the processing of step 56 is unnecessary.

なお、キーボードパーカッション音の発生にあたって
は、音階音を発生する16チャンネルへの割り当てを行わ
ずに、専用のパーカッション音発生チャンネル又は装置
で発生するようにしてもよい。
Note that when the keyboard percussion sound is generated, it may be generated by a dedicated percussion sound generation channel or device without being assigned to the 16 channels that generate the scale sound.

シーケンス音の発音 所望のパッドをオン操作すると、前述のように、第6図
のパッドオンイベント処理がスタートし、該パッドに対
応するパッドメモリPDMからパッドモードデータPM(P
N)を読み出し、それが“0"であるか否かを調べる(ス
テップ38)。該パッドに対応して選択されたパッドモー
ドがシーケンス発音モードであればPM(PN)=“1"であ
り、ステップ41に行く、シーケンス音の発音処理を開始
する。
Generation of Sequence Sound When the desired pad is turned on, as described above, the pad-on event process of FIG. 6 starts, and the pad mode data PM (P
N) is read and it is checked whether it is "0" (step 38). If the pad mode selected corresponding to the pad is the sequence tone generation mode, PM (PN) = "1", and the process goes to step 41 to start the sequence tone generation process.

ステップ41では、当該オンされたパッドのパッドメモリ
PDM(PN)におけるポインタP(PN)を0にセットし、
最初のイベント順位を指示する。次に、該パッドメモリ
PDM(PN)のシーケンスデータエリア(第2図c参照)
からポインタP(PN)=0により指示された最初のイベ
ント順位のイベントデータE(PN,0)とデュレーション
データD(PN,0)を読み出し、該イベントデータE(P
N,0)により示されたキーコードに対応する音の発音処
理を行う(ステップ42)。この発音処理は前述のステッ
プ39,40の処理とほぼ同様の処理であり、該イベントデ
ータE(PN,0)により示されたキーコードをいずれかの
チャンネルに割り当て、楽音信号発生回路17の該チャン
ネルに対して該キーコードとキーオン信号及びパッド音
色データPTC(PN)を送出し、これにより該楽音信号発
生回路17の該チャンネルにおいて該キーコードに対応す
る1つの楽音信号を音色データに対応する音色で形成
し、発音させる。また、割り当てたチャンネルに対応す
る音源チャンネルフラグTGCHFをオンにする。
In step 41, the pad memory of the turned-on pad is
Set the pointer P (PN) in PDM (PN) to 0,
Indicate the order of the first event. Next, the pad memory
PDM (PN) sequence data area (see Fig. 2c)
The event data E (PN, 0) and the duration data D (PN, 0) in the first event order designated by the pointer P (PN) = 0 are read from the event data E (P
The sound corresponding to the key code indicated by N, 0) is produced (step 42). This tone generation processing is almost the same as the processing of steps 39 and 40 described above, and the key code indicated by the event data E (PN, 0) is assigned to any channel, and the tone signal generation circuit 17 outputs the key code. The key code, the key-on signal, and the pad tone color data PTC (PN) are transmitted to the channel, whereby one tone signal corresponding to the key code in the channel of the tone signal generation circuit 17 corresponds to tone color data. Form with a tone color and make it sound. Also, the sound source channel flag TGCHF corresponding to the assigned channel is turned on.

ステップ43では、読み出したデュレーションデータD
(PN,0)がエンドマークコードであるかを調べる。NOな
らば、ステップ44に行き、タイムTIMEの現在値に該デュ
レーションデータD(PN,0)を加算し、その加算結果を
当該パッド番号PNに対応する次イベント時間レジスタNE
XT(PN)にストアする。このNEXT(PN)の値は、次のイ
ベントが起こる時刻を指示している。その後、ポインタ
P(PN)の値を1増加する(ステップ45)。
At step 43, the read duration data D
Check whether (PN, 0) is the end mark code. If NO, go to step 44, add the duration data D (PN, 0) to the current value of the time TIME, and add the result to the next event time register NE corresponding to the pad number PN.
Store in XT (PN). The value of NEXT (PN) indicates the time when the next event will occur. After that, the value of the pointer P (PN) is incremented by 1 (step 45).

もし、読み出したデュレーションデータD(PN,0)がエ
ンドマークコードであれば、ステップ46に行き、所定の
シーケンス終了処理を行う。ここでは、シーケンス音の
発音を終了させるのに必要な処理、例えば、キーオフ信
号がまだ出されていなければ、キーオフ信号を楽音信号
発生回路17に与えたり、当該パッド番号PNに対応するパ
ッドメモリPDM(PN)における音源チャンネルフラグTGC
HFすべてオフする、等の処理を行う。そして、ポインタ
P(PN)の値を所定終了値&HFFにセットし、処理を終
了する(ステップ47)。
If the read duration data D (PN, 0) is the end mark code, the process goes to step 46 to perform a predetermined sequence end process. Here, processing required to end the generation of the sequence sound, for example, if the key-off signal has not been issued yet, the key-off signal is given to the tone signal generation circuit 17, or the pad memory PDM corresponding to the pad number PN. Source channel flag TGC in (PN)
Perform processing such as turning off all HF. Then, the value of the pointer P (PN) is set to the predetermined end value & HFF, and the process ends (step 47).

以上のようにして、パッドオンイベントのときは、該パ
ッドに割り当てられた最初のイベント順位のシーケンス
音を発音する処理を行う。2番目以降のイベントの処理
は第11図のシーケンス制御処理において行われる。この
シーケンス制御処理はメインルーチンが繰り返される毎
に繰返し行われる。
As described above, in the case of a pad-on event, the sequence sound of the first event sequence assigned to the pad is generated. The processing of the second and subsequent events is performed in the sequence control processing of FIG. This sequence control process is repeated every time the main routine is repeated.

プレイモード又は複数音割り当てモードの場合はPAM=
0又はPAM=1であるから、第11図のステップ96からス
テップ104に分岐する。ステップ104では、パッド番号レ
ジスタPNを0にプリセットする。次に、ステップ105で
は、PNにより指示されたパッドメモリPDM(PN)からパ
ッドモードデータPM(PN)とポインタP(PN)を読み出
し、PM(PN)=“1"かつP(PN)≠&HFFであるかを調
べる。このパッド番号PNに割り当てられた発音モードが
シーケンス発音モードでない場合、若しくはシーケンス
発音モードであってもポインタP(PN)が所定終了値&
HFFにセットされている場合は、ステップ106に行き、パ
ッド番号PNが最大値4に達したかを調べる。まだ達して
いなければステップ107に行き、パッド番号PNを1増加
する。そしてステップ105に戻り、1増加したパッド番
号PNに関して上記判定を行う。
PAM = for play mode or multi-note assignment mode
Since 0 or PAM = 1, the process branches from step 96 to step 104 in FIG. In step 104, the pad number register PN is preset to 0. Next, at step 105, the pad mode data PM (PN) and the pointer P (PN) are read from the pad memory PDM (PN) designated by PN, PM (PN) = "1" and P (PN) ≠ & HFF. To find out. If the tone generation mode assigned to this pad number PN is not the sequence tone generation mode, or even if it is the sequence tone generation mode, the pointer P (PN) causes the predetermined end value &
If it is set to HFF, go to step 106 and check whether the pad number PN has reached the maximum value of 4. If it has not reached yet, the routine proceeds to step 107, where the pad number PN is incremented by 1. Then, the process returns to step 105, and the above determination is made for the pad number PN incremented by 1.

このパッド番号PNに割り当てられた発音モードがシーケ
ンス発音モードであり、かつポインタP(PN)が所定終
了値&HFFにまだセットされていない場合は、ステップ1
05はYESであり、ステップ108に行き、PNにより指示され
たレジスタNEXT(PN)から次イベント時刻データを引き
出し、タイマTIMEの現在値と比較する。タイマTIMEの現
在値が次イベント時刻NEXT(PN)に一致するか若しくは
それを超えたとき、ステップ109に行くが、まだタイマT
IMEの現在値が次イベント時刻NEXT(PN)に到達してい
なえ場合はステップ106に行き、前述のステップ106,10
7,105のループを繰り返す。5つのパッド番号全部につ
いて上述のチェックが終わると、PN=4がYESとなり、
このシーケンス制御処理を終了する。
If the tone generation mode assigned to this pad number PN is the sequence tone generation mode and the pointer P (PN) is not yet set to the predetermined end value & HFF, step 1
If YES in 05, the process goes to step 108 to extract the next event time data from the register NEXT (PN) designated by PN and compare it with the current value of the timer TIME. When the current value of the timer TIME coincides with or exceeds the next event time NEXT (PN), the process goes to step 109, but the timer T
If the current value of IME has not reached the next event time NEXT (PN), go to step 106 and go to steps 106 and 10 above.
Repeat the loop of 7,105. When the above check is completed for all five pad numbers, PN = 4 becomes YES,
This sequence control process ends.

このシーケンス制御処理を何度か繰り返すうちに、タイ
マTIMEの現在値が次イベント時刻NEXT(PN)に到達する
と、ステップ108がYESとなり、ステップ109に行く。ス
テップ109では、PNにより指示されたパッドメモリPDM
(PN)のポインタP(PN)の現在値を読み出し、該パッ
ドメモリPDM(PN)のシーケンスデータエリア(第2図
c参照)から該ポインタP(PN)により指示されたイベ
ント順位のイベントデータE(PN,P(PN))とデュレー
ションデータD(PN,P(PN))を読み出し、該イベント
データE(PN,P(PN))により示されたキーコードに対
応する音の発音処理又は消音処理を行う。該イベントデ
ータE(PN,P(PN))のフラグが押鍵を示すオンフラグ
の場合は発音処理を行い、離鍵を示すオフフラグの場合
は消音処理を行う。この発音処理は前述のステップ42の
処理とほぼ同様の処理であり、該イベントデータE(P
N,P(PN))により示されたキーコードをいずれかのチ
ャンネルに割り当て、楽音信号発生回路17の該チャンネ
ルに対して該キーコードとキーオン信号及びパッド音色
データPTC(PN)を送出し、これにより該楽音信号発生
回路17の該チャンネルにおいて該キーコードに対応する
1つの楽音信号を音色データに対応する音色で形成し、
発生させる。また、割り当てたチャンネルに対応する音
源チャンネルフラグTGCHFをオンにする。消音処理は、
該イベントデータE(PN,(PN))により示されるオフ
イベントに係るキーコードが割り当てられているチャン
ネルに対応して楽音信号発生回路17に対してキーオフ信
号を送出する。どのチャンネルに割り当てられているか
は楽音チャンネルフラグTGCHFにより判明する。キーオ
フ信号を送出したチャンネルに関してはその音源チャン
ネルフラグTGCHFをオフにするとよい。
When the current value of the timer TIME reaches the next event time NEXT (PN) while repeating this sequence control process several times, step 108 becomes YES and the routine proceeds to step 109. In step 109, the pad memory PDM designated by the PN
The current value of the pointer P (PN) of (PN) is read, and the event data E of the event order designated by the pointer P (PN) is read from the sequence data area (see FIG. 2c) of the pad memory PDM (PN). (PN, P (PN)) and duration data D (PN, P (PN)) are read out, and sound generation processing or muting of the sound corresponding to the key code indicated by the event data E (PN, P (PN)) is performed. Perform processing. When the flag of the event data E (PN, P (PN)) is an on flag indicating key depression, sound generation processing is performed, and when it is an off flag indicating key release, mute processing is performed. This tone generation process is almost the same as the process of step 42 described above, and the event data E (P
N, P (PN)) is assigned to any channel, the key code, key-on signal and pad tone color data PTC (PN) is sent to the channel of the tone signal generating circuit 17, As a result, one tone signal corresponding to the key code is formed with a tone color corresponding to tone color data in the channel of the tone signal generating circuit 17,
generate. Also, the sound source channel flag TGCHF corresponding to the assigned channel is turned on. The muffling process is
A key-off signal is sent to the tone signal generating circuit 17 corresponding to the channel to which the key code relating to the off-event indicated by the event data E (PN, (PN)) is assigned. Which channel is assigned is determined by the tone channel flag TGCHF. For the channel that sent the key-off signal, the tone generator channel flag TGCHF should be turned off.

こうして、オフイベントの場合はステップ109で消音処
理が行われ、それまで発音していた当該オフイベントに
係るシーケンス音が消音される。また、オンイベントの
場合はステップ109で発音処理が行われ、新たなシーケ
ンス音が発音される。
In this way, in the case of an off event, the mute processing is performed in step 109, and the sequence sound related to the off event that has been sounding until then is muted. In the case of an on-event, a sounding process is performed in step 109 and a new sequence sound is sounded.

ステップ110では、読み出したデュレーションデータD
(PN,P(PN))がエンドマークコードであるかを調べ
る。NOならば、ステップ111に行き、タイマTIMEの現在
値に該デュレーションデータD(PN,P(PN))を加算
し、その加算結果を当該パッド番号PNに対応する次イベ
ント時間レジスタNEXT(PN)にストアする。その後、PN
により指示されたポインタP(PN)の値を1増加する
(ステップ112)。
In step 110, the read duration data D
Check whether (PN, P (PN)) is the end mark code. If NO, go to step 111, add the duration data D (PN, P (PN)) to the current value of the timer TIME, and add the result to the next event time register NEXT (PN) corresponding to the pad number PN. Store at. Then PN
The value of the pointer P (PN) designated by is incremented by 1 (step 112).

もし、読み出したデュレーションデータD(PN,P(P
N))がエンドマークコードであれば、ステップ113〜11
4に行き、前述のステップ46,47(第6図)と同様の所定
のシーケンス終了処理及びポインタリセット処理を行
う。
If the read duration data D (PN, P (P
N)) is the end mark code, steps 113 to 11
At step 4, the same sequence ending process and pointer resetting process as in steps 46 and 47 (FIG. 6) described above are performed.

以上のようにして、シーケンスデータエリアに記憶され
たイベントデータ及びデュレーションデータに従ってシ
ーケンス音として割り当てられた複数音が順次発音され
る。
As described above, a plurality of tones assigned as sequence tones are sequentially sounded according to the event data and the duration data stored in the sequence data area.

変更例 上記実施例においてこの発明に従う演奏操作子のオフ操
作に応じた割り当て決定処理は「複数音割り当てモー
ド」において実施されているが、これに限らず、1音の
みを演奏操作子に割り当てる場合においてもこの発明を
実施することができるのは勿論である。
Modifications In the above-described embodiment, the assignment determination process according to the off operation of the performance operator according to the present invention is performed in the "plural note assignment mode", but the present invention is not limited to this, and when only one note is assigned to the performance operator. It is needless to say that the present invention can be implemented also in.

また、演奏操作子の数は複数に限らず、1個のみであっ
てもよい。
Further, the number of performance operators is not limited to plural, and may be only one.

また、パッドに対する所望者の割り当て処理方法の細部
は上述の実施例に限定されるものではなく、適宜に変更
可能である。
Further, the details of the method of assigning a desired person to a pad are not limited to the above-described embodiment, and can be changed appropriately.

また、パッドに対する所望者の割り当て処理及びその他
の各種処理は上述の実施例のようなマイクロコンピュー
タを使用したソフトウェア処理に限らず、専用のハード
ウェア回路によって行うようにしてもよい。
Further, the process of assigning a desired person to the pad and other various processes are not limited to the software process using the microcomputer as in the above-described embodiment, but may be performed by a dedicated hardware circuit.

所望音を割り当てることができる演奏操作子としては上
記実施例で示したパッド(弾力性のある操作面を有する
操作子)に限らず、その他任意の操作子に用いてよい。
また、該演奏操作子のセンサは操作のオン/オフを検知
するのみらず、操作タッチを検知し、このタッチに応じ
て発生音を制御するようにしてもよい。
The performance operator to which a desired sound can be assigned is not limited to the pad (operator having an elastic operation surface) shown in the above embodiment, and may be used for any other operator.
Further, the sensor of the performance operator may detect not only the on / off of the operation but also the operation touch and control the generated sound according to the touch.

所望の割り当て音を指定する手段として、上記実施例で
は鍵盤若しくは音色指定スイッチ等を使用しているが、
これに限らずその他適宜のデータ入力手段等であっても
よい。
As a means for designating a desired assigned sound, a keyboard or a timbre designating switch is used in the above embodiment,
The present invention is not limited to this, and other appropriate data input means or the like may be used.

〔発明の効果〕〔The invention's effect〕

以上の通り、この発明によれば、演奏操作子がオンから
オフに切り替わったときに該操作子に対する音の割り当
てが確定されるので、演奏操作子をオンした後でも、オ
フする前であれば、割り当て音の指定変更を自由に行う
ことができる。従って、割り当て音の指定を間違えた場
合でも、単に該割り当て音の指定のし直しを行うだけで
よく、演奏操作子をオン操作し直す必要は全くなく、割
り当ての際の操作が簡単になる、という優れた効果を奏
する。
As described above, according to the present invention, when the performance operator is switched from on to off, the assignment of the sound to the operator is fixed, so that even after the performance operator is turned on, if it is not turned off. , It is possible to freely change the designation of assigned sounds. Therefore, even if the assigned sound is specified incorrectly, it is only necessary to re-designate the assigned sound, there is no need to turn on the performance operator again, and the operation at the time of assignment becomes simple. It has an excellent effect.

また、演奏操作子をオン操作したときは、まだその割り
当て内容が変更されないので、該オン操作に応じて既割
り当て音の発音を行うことができ、この既割り当て音を
聴いて確認した上で、所望の割り当て音指定を行い、そ
の後、演奏操作子をオフ操作したとき該指定音が新たに
割り当てされる。従って、既割り当て音の発音操作と新
音の割り当て操作を演奏操作子の1回のオン・オフ操作
で行うことができるので操作が簡単になる、という優れ
た効果を奏する。
Also, when the performance operator is turned on, the assignment contents are not changed yet, so the assigned sound can be pronounced according to the on operation, and after checking the assigned sound, A desired assigned sound is designated, and when the performance operator is turned off thereafter, the designated sound is newly assigned. Therefore, the operation of sounding the already-allocated sound and the operation of allocating the new sound can be performed by one ON / OFF operation of the performance operator, so that the operation is simplified, which is an excellent effect.

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

第1図はこの発明に係る電子楽器の一実施例を示すハー
ド構成ブロック図、 第2図はデータ及びワーキングRAM内のパッドメモリの
記憶フォーマット例を示す図、 第3図は同実施例のマイクロコンピュータによって実行
されるメインルーチンの一例を示すフロー図、 第4図は第3図のキー処理において実行されるキーオン
イベント処理の一例を示すフロー図、 第5図は第3図のキー処理において実行されるキーオフ
イベント処理の一例を示すフロー図、 第6図は第3図のパッド処理において実行されるパッド
オンイベント処理の一例を示すフロー図、 第7図は第3図のパッド処理において実行されるパッド
オフイベント処理の一例を示すフロー図、 第8図は第3図のパネルスイッチ処理において実行され
るパッドアサインスイッチオンイベント処理の一例を示
すフロー図、 第9図は第3図のパネルスイッチ処理において実行され
るキーボードパーカッションスイッチオンイベント処理
の一例を示すフロー図、 第10図は第3図のパネルスイッチ処理において実行され
る音色スイッチオンイベント処理の一例を示すフロー
図、 第11図は第3図のメインルーチン中で実行されるシーケ
ンス制御処理の一例を示すフロー図、 第12図のタイマインタラプト処理の一例を示すフロー
図、 第13図は第1図のパネルスイッチ回路において設けられ
るスイッチ及びそれに関連する表示器の一例を示す図、
である。 10……中央処理ユニット(CPU)、11……データ及びプ
ログラムROM、12……データ及びワーキングRAM、13……
データ及びアドレスバス13、14……鍵盤回路、15……パ
ネルスイッチ回路15、16……表示器、P0〜P4……パッ
ド、17……楽音信号発生回路、18……ディジタル/アナ
ログ変換器、19……サウンドシステム、20……タイマ、
PDM0〜PDM4……パッドメモリ、PASW……パッドアサイン
スイッチ。
FIG. 1 is a block diagram of a hardware configuration showing an embodiment of an electronic musical instrument according to the present invention, FIG. 2 is a view showing an example of a storage format of a pad memory in a data and working RAM, and FIG. 3 is a micro of the same embodiment. FIG. 4 is a flowchart showing an example of a main routine executed by a computer, FIG. 4 is a flowchart showing an example of a key-on event process executed in the key process of FIG. 3, and FIG. 5 is executed in the key process of FIG. FIG. 6 is a flowchart showing an example of a key-off event process performed, FIG. 6 is a flowchart showing an example of a pad-on event process executed in the pad process of FIG. 3, and FIG. 7 is executed in a pad process of FIG. FIG. 8 is a flow chart showing an example of pad off event processing according to the present invention. FIG. 8 is a pad assign switch on event executed in the panel switch processing of FIG. FIG. 9 is a flowchart showing an example of keyboard percussion switch on event processing executed in the panel switch processing of FIG. 3, and FIG. 10 is executed in the panel switch processing of FIG. FIG. 11 is a flow chart showing an example of the tone color switch-on event processing performed, FIG. 11 is a flow chart showing an example of the sequence control processing executed in the main routine of FIG. 3, and an example of the timer interrupt processing of FIG. FIG. 13 is a flow chart, FIG. 13 is a diagram showing an example of switches provided in the panel switch circuit of FIG. 1 and an indicator associated therewith,
Is. 10 ... Central processing unit (CPU), 11 ... Data and program ROM, 12 ... Data and working RAM, 13 ...
Data and address bus 13, 14 ... Keyboard circuit, 15 ... Panel switch circuit 15, 16 ... Display, P0-P4 ... Pad, 17 ... Tone signal generating circuit, 18 ... Digital / analog converter, 19 …… Sound system, 20 …… Timer,
PDM0 to PDM4 …… Pad memory, PASW …… Pad assign switch.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】演奏操作子と、 前記演奏操作子に対して割り当てる音を指定する割り当
て音指定手段と、 前記演奏操作子がオンからオフに切り替わったとき前記
割り当て音指定手段で指定された音を該操作子に対して
割り当てる制御を行う割り当て制御手段と、 前記演奏操作子がオンされたとき該操作子に割り当てら
れている音に対応する楽音信号を発生する楽音信号発生
手段と を具えた電子楽器。
1. A performance operator, an assigned sound designating means for designating a sound to be assigned to the performance operator, and a sound designated by the assigned sound designating means when the performance operator is switched from ON to OFF. And a tone signal generating means for generating a tone signal corresponding to the sound assigned to the operating element when the performance operating element is turned on. Electronic musical instrument.
【請求項2】前記楽音発生手段は、前記割り当て音指定
手段で音が指定されたとき該指定音に対応する楽音信号
を発生するものである請求項1に記載の電子楽器。
2. The electronic musical instrument according to claim 1, wherein the musical tone generating means generates a musical tone signal corresponding to a designated sound when the assigned sound designating means designates a sound.
【請求項3】前記割り当て制御手段は、前記演奏操作子
に対して割り当てた音の情報を記憶する読み書き可能な
記憶手段を有するものであり、前記楽音発生手段は、前
記記憶手段に記憶されている前記音の情報に基づき、前
記演奏操作子に対して割り当てられている音の楽音信号
を発生するものである請求項1に記載の電子楽器。
3. The assignment control means has a readable / writable storage means for storing information of sounds assigned to the performance operators, and the tone generation means is stored in the storage means. The electronic musical instrument according to claim 1, wherein a musical tone signal of a sound assigned to the performance operator is generated based on the information of the existing sound.
JP2296601A 1990-11-01 1990-11-01 Electronic musical instrument Expired - Fee Related JPH0748159B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2296601A JPH0748159B2 (en) 1990-11-01 1990-11-01 Electronic musical instrument
US07/785,544 US5281756A (en) 1990-11-01 1991-10-31 Electronic musical instrument capable of assigning desired tones to a performance operator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2296601A JPH0748159B2 (en) 1990-11-01 1990-11-01 Electronic musical instrument

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP8137624A Division JP2757856B2 (en) 1996-05-07 1996-05-07 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH04170596A JPH04170596A (en) 1992-06-18
JPH0748159B2 true JPH0748159B2 (en) 1995-05-24

Family

ID=17835662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2296601A Expired - Fee Related JPH0748159B2 (en) 1990-11-01 1990-11-01 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH0748159B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0631973B2 (en) * 1985-12-28 1994-04-27 カシオ計算機株式会社 Electronic musical instrument
JPH046238Y2 (en) * 1986-07-01 1992-02-20

Also Published As

Publication number Publication date
JPH04170596A (en) 1992-06-18

Similar Documents

Publication Publication Date Title
JPH10187157A (en) Automatic performance device
US5281756A (en) Electronic musical instrument capable of assigning desired tones to a performance operator
JP2757856B2 (en) Electronic musical instrument
JPH0748159B2 (en) Electronic musical instrument
JP2531040B2 (en) Electronic musical instrument
JP3156285B2 (en) Electronic musical instrument
JPS61292691A (en) Keyed instrument for transmitting automatic accompanying information
JP2885333B2 (en) Electronic musical instrument
JP2530744Y2 (en) Electronic musical instrument
JP2972362B2 (en) Musical control information processing device, musical control information processing method, performance pattern selection device, and performance pattern selection method
JP2611694B2 (en) Automatic performance device
JP2636688B2 (en) Musical sound generation unit
JPH0822282A (en) Guitar automatic accompaniment device
JPH021316B2 (en)
JPH055357B2 (en)
JP3700605B2 (en) Music signal processor
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP3150580B2 (en) Automatic performance device and automatic performance method
JPH0515279B2 (en)
JP2972364B2 (en) Musical information processing apparatus and musical information processing method
JP4124434B2 (en) Electronic musical instrument with digital sound source
JP3505292B2 (en) Arpeggiator
JPH073639B2 (en) Autorhythm device
JPH0581915B2 (en)
JPH06314096A (en) Device for detecting front code of electronic musical instrument

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090524

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees