JPH04170596A - Electronic music instrument - Google Patents
Electronic music instrumentInfo
- Publication number
- JPH04170596A JPH04170596A JP2296601A JP29660190A JPH04170596A JP H04170596 A JPH04170596 A JP H04170596A JP 2296601 A JP2296601 A JP 2296601A JP 29660190 A JP29660190 A JP 29660190A JP H04170596 A JPH04170596 A JP H04170596A
- Authority
- JP
- Japan
- Prior art keywords
- pad
- sound
- assigned
- key
- mode
- 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
Links
- 238000003860 storage Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 description 105
- 230000008569 process Effects 0.000 description 91
- 230000015654 memory Effects 0.000 description 48
- 238000009527 percussion Methods 0.000 description 32
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 11
- 230000004044 response Effects 0.000 description 11
- 230000033764 rhythmic process Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 230000002238 attenuated effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000011505 plaster Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000000994 depressogenic effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003864 performance function Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、パッド等の演奏操作子に対して任意の音を
割り当て、該操作子の操作に応じて該割り当て音を発生
することができるようにした電子楽器に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention is capable of assigning any sound to a performance operator such as a pad, and generating the assigned sound in response to the operation of the operator. Regarding electronic musical instruments.
演奏操作子にリズム音等を任意に割り当てることができ
るようにした電子楽器としては特開昭61−28289
6号公報に示されたものが知られている。そこでは、複
数のリズム音源の中から1つのリズム音源を選択して演
奏操作子に対して割り当てることができるようになって
いる。演奏操電子に対して所望のリズム音源を割り当て
る場合、まず、所望のリズム音源を選択し、その後、該
リズム音源を割り当てたい演奏操作子をオン操作するこ
とにより、該演奏操作子のオン操作に応じて割り当てが
なされるようになっている。Japanese Patent Application Laid-Open No. 61-28289 is an electronic musical instrument that allows rhythm sounds etc. to be arbitrarily assigned to performance controls.
The one shown in Publication No. 6 is known. There, one rhythm sound source can be selected from among a plurality of rhythm sound sources and assigned to a performance operator. When assigning a desired rhythm sound source to a performance controller, first select the desired rhythm sound source, and then turn on the performance controller to which you want to assign the rhythm sound source. Allotments will be made accordingly.
上述の従来技術においては、演奏操作子をオン操作した
とき割り当て音が確定されてしまうので、割り当て音の
指定を間違えた場合は、割り当て音の指定のし直しを行
うと共に演奏操作子の押し直しもしなければならない。In the above-mentioned conventional technology, the assigned note is confirmed when the performance controller is turned on, so if you make a mistake in specifying the assigned note, you have to respecify the assigned note and press the performance controller again. Must have.
従って、割り当ての際の操作が面倒になるという欠点が
あり、慎重な操作が要求される。Therefore, there is a drawback that the operation at the time of allocation becomes troublesome, and careful operation is required.
また、演奏操作子に既に割り当てられている音を聴いて
まず確認した上で、その割り当て音を変更したい場合は
、まず演奏操作子をオン操作してその割り当て音を発音
させ、その後所望の割り当て音を指定し、再度演奏操作
子をオン操作する、というように既割り当て音の発音操
作と新音の割り当て操作とを別々に行わねばならず、面
倒であつた・
この発明は上述の点に鑑みてなされたもので、演奏操作
子に対して任意の音を割り当てる場合において、割り当
てし直し操作や既割り当て音の発音確認操作などが簡単
な操作で行えるようにした電子楽器を提供しようとする
ものである。Also, if you want to change the assigned sound after first listening to and confirming the sound already assigned to the performance controller, first turn on the performance controller to make the assigned sound sound, and then change the assigned sound as desired. This was troublesome as it was necessary to specify the note and turn on the performance controller again, which was a troublesome process. The purpose of this invention is to provide an electronic musical instrument in which, when assigning arbitrary sounds to performance operators, operations such as reassignment and confirmation of the pronunciation of already assigned sounds can be performed with simple operations. It is something.
この発明に係る電子楽器は、演奏操作子と、前記演奏操
作子に対して割り当てる音を指定する割り当て音指定手
段と、前記演奏操作子がオンからオフに切り替わったと
き前記割り当て音指定手段で指定された音を該操作子に
対して割り当てる制御を行う割り当て制御手段と、前記
演奏操作子がオンされたとき該操作子に割り当てられて
いる音に対応する楽音信号を発生する楽音信号発生手段
と具えたものである。The electronic musical instrument according to the present invention includes a performance operator, an assigned sound specifying means for specifying a sound to be assigned to the performance operator, and an assigned sound specifying means for specifying a sound when the performance operator is switched from on to off. an assignment control means for controlling the assignment of the played sound to the operator; and a musical tone signal generating means for generating a musical tone signal corresponding to the tone assigned to the operator when the performance operator is turned on. It is equipped with
所望の音を演奏操作子に割り当てる場合において、まず
、該演奏操作子をオン操作し、かつ割り当て音指定手段
により所望の音を指定する。そして、該演奏操作子をオ
フ操作する。割り当て制御手段は、該演奏操作子がオン
からオフに切り替わったとき前記割り当て音指定手段で
指定された音を該操作子に対して割り当てる制御を行う
。このように、演奏操作子がオンからオフに切り替わっ
たときに割り当てが確定されるので、演奏操作子をオン
した後でも、オフする前であれば、割り当て音指定手段
では指定音の変更を自由に行うことができる。従って、
割り当て音の指定を間違えた場合でも、単に該割り当て
音の指定のし直しを行うだけでよく、演奏操作子−をオ
ン操作し直す必要は全くない、従って、割り当ての際の
操作が簡単である。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 designation means. Then, the performance operator is turned off. The assignment control means performs control to assign the sound specified by the assigned sound designation means to the performance operator when the performance operator is switched from on to off. In this way, the assignment is confirmed when the performance controller is switched from on to off, so even after the performance controller is turned on, as long as it is not turned off, the assigned sound designation means can freely change the specified sound. can be done. Therefore,
Even if you make a mistake in specifying the assigned note, you only need to specify the assigned note again, and there is no need to turn on the performance controller again. Therefore, the operation at the time of assignment is easy. .
また、演奏操作子をオン操作したときは、まだその割り
当て内容が変更されないので、該オン操作に応じて既割
り当て音の発生を行うことができ、この既割り当て音を
聴いて確認した上で、所望の割り当て音指定を行い、そ
の後、演奏操作子をオフ操作したとき該指定音が新たに
割り当てされる。Furthermore, when you turn on a performance controller, the assignment content is not changed yet, so you can generate the assigned sound in response to the on operation, and after listening to and confirming the assigned sound, After specifying a desired assigned note, when the performance operator is turned off, the specified note is newly assigned.
従って、既割り当て音の発音操作と新音の割り当て操作
を演奏操作子の1回のオン・オフ操作で行うことができ
るので、操作が簡単になる。Therefore, the operation of producing the already assigned tone and the assignment of the new tone can be performed with a single on/off operation of the performance operator, which simplifies the operation.
以下説明する実施例において、この発明に従う演奏操作
子のオフ操作に応じた割り当て決定処理は[複数音割り
当てモード」において実施されている。この「複数音割
り当てモード」では、1つの演奏操作子に対して同時に
発音可能な複数音を割り当てる。しかし、これに限らず
、1音のみを演奏操作子に割り当てる場合においてもこ
の発明を実施することができるのは勿論である。In the embodiment described below, the assignment determination process in response to the off operation of the performance operator according to the present invention is carried out in the "multiple note assignment mode". In this "multiple note assignment mode", multiple notes that can be produced simultaneously are assigned to one performance operator. However, the present invention is of course not limited to this, and can be practiced even when only one note is assigned to a performance operator.
以下、添付図面を参照してこの発明の一実施例を詳細に
説明しよう。Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.
第1図はこの発明に係る電子楽器の一実施例を示すハー
ド構成ブロック図であり、この例では、中央処理ユニッ
ト(CPU)10、データ及びプログラムROMII、
データ及びワーキングRAM12を含むマイクロコンピ
ュータの制御の下で各種処理が実行される。データ及び
アドレスバス13を介して鍵盤回路14.パネルスイッ
チ回路15等その他各種回路がマイクロコンピュータに
接続されている。FIG. 1 is a hardware configuration block diagram showing an embodiment of an electronic musical instrument according to the present invention. In this example, a central processing unit (CPU) 10, data and program ROM II,
Various processes are executed under the control of a microcomputer including data and working RAM 12. Keyboard circuit 14 via data and address bus 13. Various other circuits such as the panel switch circuit 15 are connected to the microcomputer.
鍵盤回路14は、発生すべき楽音の音高を指定するため
の複数の鍵を具えた鍵盤に対応して設けられており、該
鍵盤の各鍵に対応するキースイッチを含む回路である。The keyboard circuit 14 is provided corresponding to a keyboard having a plurality of keys for specifying 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 consisting of a group of switches corresponding to various operators for selecting, setting, and controlling tone, volume, pitch, effect, and the like. A display 16 made of an LED or the like is provided corresponding to a predetermined switch in the panel switch circuit 15, and is capable of displaying the on/off status of the function corresponding to each switch.
演奏操作子として、複数(−例として5個)のパッドP
O〜P4が設けられる。各パッドPO〜P4にはセンサ
が設けられており、演奏者の手などによって該パッドが
操作されたことを検知し、該パッドのオン/オフ情報を
バス13に与える。Multiple (for example, 5) pads P as performance operators
O to P4 are provided. Each of the pads PO to P4 is provided with a sensor, which detects when the pad is operated by the player's hand or the like, and provides on/off information of the pad to the bus 13.
このパッドPO〜P4の配置は演奏者の操作し易い位置
であることが好ましい。例えば、鍵盤の近く又は前面パ
ネルにおける適宜の位置などであればよいし、また、パ
ッドPO−P4が別ユニットとして電子楽器本体から分
離されており、演奏者が操作し易い位置に自由に置ける
ようになっていてもよい。It is preferable that the pads PO to P4 are arranged at positions that are easy for the player to operate. For example, it may be placed near the keyboard or at an appropriate position on the front panel, or the pad PO-P4 is separated from the main body of the electronic musical instrument as a separate unit so that it can be placed freely in a position that is easy for the player to operate. It may be .
各パッドP○〜P4の各々に対応して任意の複数の音を
割り当てることができるようになっており、この割り当
て処理は、該バット及びパネルスイッチ回路15におけ
る所定のスイッチ等の操作に基づきCPUl0の制御の
下で行われる。この割り当て処理を便宜上パッドアサイ
ン処理ということにする。Any plurality of sounds can be assigned to each of the pads P○ to P4, and this assignment processing is performed by the CPU 10 based on the operation of a predetermined switch in the bat and panel switch circuit 15. carried out under the control of. For convenience, this assignment processing will be referred to as pad assignment processing.
楽音信号発生回路エフは、複数の楽音発生チャンネル(
−例として16チヤンネル)でそれぞれ異なる楽音信号
を発生することが可能なものである。各楽音発生チャン
ネルに対する楽音の割り当て処理(これはキーアサイン
処理として知られるものである)は、CPUI○の制御
の下で行われる。各楽音発生チャンネルに割り当てられ
た楽音を示す情報がバス13を介して楽音信号発生回路
17に与えられ、楽音信号発生回路17ではこれらの情
報に基づき各楽音発生チャンネルで楽音信号を発生する
。周知のように、楽音信号発生回路17における楽音発
生チャンネルは、共通のハードウェア回路を各チャンネ
ルで時分割使用することにより時分割的に形成されるよ
うになっていてもよいし、別々のハードウェア回路によ
り並列的に形成されるようになっていてもよい。The musical tone signal generation circuit F has multiple musical tone generation channels (
- For example, it is possible to generate different musical tone signals through 16 channels. The processing of assigning musical tones to each musical tone generation channel (this is known as key assignment processing) is performed under the control of the CPUI. Information indicating the musical tone assigned to each musical tone generation channel is provided to the musical tone signal generation circuit 17 via the bus 13, and the musical tone signal generation circuit 17 generates a musical tone signal in each musical tone generation channel based on this information. As is well known, the musical tone generation channels in the musical tone signal generation circuit 17 may be formed in a time-sharing manner by using a common hardware circuit for each channel, or may be formed by using separate hardware circuits. They may be formed in parallel by hardware circuits.
また、楽音信号発生回路17における楽音信号発生方式
はどのようなものを用いてもよい。例えば、発生すべき
楽音の音高に対応して変化するアドレスデータに応じて
波形メモリに記憶した楽音波形サンプル値データを順次
読み出す方式(メモリ読出し方式)、あるいは上記アド
レスデータを位相角パラメータデータとして所定の周波
数変調演算を実行して楽音波形サンプル値データを求め
る方式(FM方式)、あるいは上記アドレスデータを位
相角パラメータデータとして所定の振幅変調演算を実行
して楽音波形サンプル値データを求める方式(AM方式
)、など公知のどのような方式を用いてもよい。また、
メモリ読出し方式を採用する場合、波形メモリに記憶す
る楽音波形は1周期波形のみであってもよいが、複数周
期波形である方が音質の向上が図れるので好ましい。複
数周期波形を波形メモリに記憶しこれを読み出す方式は
、例えば特開昭52−121313号に示されたように
発音開始から終了までの全波形を記憶しこれを1回読み
出す方式、あるいは特開昭58−142396号に示さ
れたようにアタック部の複数周期波形と持続部の1又は
複数周期波形を記憶し、アタック部の波形を1回読み出
した後持続部の波形を繰返し読み出す方式、あるいは特
開昭60−147793号に示されたように離散的にサ
ンプリングした複数の波形を記憶し、読み出すべき波形
を時間的に順次切換えて指定し、指定された波形を繰返
し読み出す方式、など種々の方式が公知であり、これら
を適宜採用してよい。Furthermore, any musical tone signal generation method may be used in the musical tone signal generation circuit 17. For example, there is a method (memory read method) in which musical waveform sample value data stored in a waveform memory is sequentially read out according to address data that changes in accordance with the pitch of the musical sound to be generated, or the above address data is used as phase angle parameter data. A method (FM method) in which musical waveform sample value data is obtained by executing a predetermined frequency modulation calculation, or a method in which musical waveform sample value data is obtained by performing a predetermined amplitude modulation calculation using the address data as phase angle parameter data ( Any known method such as AM method) may be used. Also,
When the memory read method is adopted, the musical sound waveform stored in the waveform memory may be a single-period waveform, but it is preferable to use a multi-period waveform because the sound quality can be improved. A method of storing a multi-period waveform in a waveform memory and reading it out is, for example, a method of storing the entire waveform from the start to the end of sound generation and reading it out once, as shown in Japanese Patent Laid-Open No. 52-121313, or As shown in No. 58-142396, a method in which a multi-cycle waveform of the attack part and one or more cycle waveforms of the sustaining part is stored, and the waveform of the sustaining part is read out repeatedly after the waveform of the attack part is read out once; As shown in Japanese Patent Application Laid-Open No. 60-147793, there are various methods such as storing a plurality of discretely sampled waveforms, sequentially switching over and specifying the waveforms to be read out, and repeatedly reading out the specified waveforms. Methods are known, and these may be adopted as appropriate.
また、楽音信号発生回路17においては音階音を発生す
る上記楽音発生チャンネルのみならず、リズム音源や自
動演奏機能のための各種装置などを具備していてもよい
のは勿論である。Furthermore, it goes without saying that the musical tone signal generation circuit 17 may include not only the above-mentioned musical tone generation channel for generating scale tones, but also a rhythm sound source and various devices for automatic performance functions.
楽音信号発生回路17から発生されたディジタル楽音信
号はディジタル/アナログ変換器18でアナログの楽音
信号に変換され、サウンドシステム19を介して空間的
に発音される。The digital musical tone signal generated by the musical tone signal generation circuit 17 is converted into an analog musical tone signal by a digital/analog converter 18, and is spatially produced via a sound system 19.
タイマ20は、所定周期のクロックパルスを発生するも
ので、該タイマクロックパルスはCPU10に加わり、
タイマインタラブド信号として作用する。The timer 20 generates a clock pulse of a predetermined period, and the timer clock pulse is applied to the CPU 10.
Acts as a timer intertwined signal.
実施例において、パットの操作に応じた発音モード(こ
れをパッドモードということにする)には、同時発音モ
ードとシーケンス発音モードの2つのモードがある。ま
ず、第1のモードである「同時発音モード」は、1つの
パットの操作に対応して複数音を同時に発音するモード
である。第2のモードである「シーケンス発音モードJ
は、1つのパッドの操作に対応して複数音を順番に発音
するモードである。パッドモードの選択のために何らか
のモード選択手段が設けられる。In the embodiment, there are two sound generation modes (hereinafter referred to as pad modes) corresponding to pad operations: a simultaneous sound generation mode and a sequence sound generation mode. First, the first mode, "simultaneous sound production mode", is a mode in which multiple sounds are produced simultaneously in response to the operation of one pad. The second mode, “Sequence sound mode J”
is a mode in which multiple sounds are produced in sequence in response to the operation of one pad. Some mode selection means is provided for selection of pad modes.
前述のパッドアサイン処理においては、所望のパッドに
対して上記どのパッドモードで発音を行うかの選択(モ
ード選択)を行い、選択されたモードに従う割り当て処
理を行う。なお、その際、「シーケンス発音モード」に
おけるシーケンス音の発音時間間隔は、割り当て時にそ
れぞれ任意に設定できるようにすることができる。例え
ば、順次発音すべき音をそれぞれ所望の時間間隔で選択
若しくは/指定することにより、その時間間隔情報を選
択された音の情報と共に記憶する等の方法が適宜採用さ
れる。In the pad assignment process described above, selection (mode selection) is made as to which pad mode is used to generate sound for a desired pad, and assignment processing is performed in accordance with the selected mode. In this case, the generation time intervals of the sequence sounds in the "sequence sound generation mode" can be set arbitrarily at the time of allocation. For example, a method may be adopted as appropriate, such as selecting and/or specifying sounds to be sequentially produced at desired time intervals, and storing the time interval information together with information on the selected sounds.
所望のパッドに対して任意の複数音を割り当てるために
1割り当てようとする音を選択する何らかの選択手段が
設けられる。−例として、パッドに割り当てようとする
任意の音の選択は、鍵盤における鍵押圧操作によって行
い、パッドに対して複数の音階音を割り当てることがで
きる。In order to allocate a plurality of arbitrary tones to a desired pad, some selection means is provided for selecting a tone to be allotted. - For example, selecting an arbitrary note to be assigned to a pad is performed by pressing a key on a keyboard, and a plurality of scale notes can be assigned to a pad.
上記選択手段による選択に従って各パッドに対して割り
当てられた音の情報を記憶するために適当な記憶手段が
設けられる。この記憶手段としてデータ及びワーキング
RAM12内の適当なエリア(これをパッドメモリとい
うことにする)が使用される。Appropriate storage means is provided for storing information on the sounds assigned to each pad according to the selection by the selection means. An appropriate area within the data and working RAM 12 (referred to as pad memory) is used as this storage means.
第2図a、b、aは、データ及びワーキングRAM12
内のパッドメモリのフォーマット例を示すものである。Figure 2 a, b, a are data and working RAM 12
This shows an example of the format of the pad memory in the .
まず、各パッドP○〜P4毎にそれぞれパッドメモリP
DMO−PDM4のエリアが用意される(第2図a参照
)。各パッドメモリPDM○〜PDM4内の記憶フォー
マットは、各パッドに対応して現在選択されているパッ
ドモードによって異なる。第2図すは同時発音モードの
場合の1つのパッドメモリPDM内の記憶フォーマット
を例示するものである。第2図Cはシーケンス発音モー
ドの場合の1つのパッドメモリPDM内の記憶フォーマ
ットを例示するものである。First, each pad memory P is set for each pad P○ to P4.
An area for DMO-PDM4 is prepared (see FIG. 2a). The storage format in each pad memory PDM◯ to PDM4 differs depending on the currently selected pad mode corresponding to each pad. FIG. 2 shows an example of the storage format in one pad memory PDM in the simultaneous sound generation mode. FIG. 2C shows an example of the storage format in one pad memory PDM in the sequence sound generation mode.
第2図すにより、同時発音モードのときの記憶データに
ついて説明すると、次の通りである。Referring to FIG. 2, the stored data in the simultaneous sound mode will be explained as follows.
PM (PN):パッドモードデータ二PNはパッド番
号であり、このパッドメモリPDMに対応するパッド(
PO〜P4の何れか1つ)を特定している。このパッド
番号に対応するパッドに対して現在選択されている(割
り当てられている)パッドモードは何か、を示すデータ
である。同時発音モードであればI(OII、シーケン
ス発音モードであれば“1″である。PM (PN): Pad mode data 2 PN is the pad number, and the pad (PN) corresponding to this pad memory PDM is
any one of PO to P4) is specified. This data indicates what pad mode is currently selected (assigned) to the pad corresponding to this pad number. It is I(OII) in the simultaneous sound mode, and "1" in the sequence sound mode.
PTC(PN):パット音色データ:このパッド番号P
Nに対応するパッドに対して現在割り当てられている音
色は何か、を示すデータである。PTC (PN): Pad tone data: This pad number P
This data indicates what tone color is currently assigned to the pad corresponding to N.
このデータは音色を示すコートデータからなる。This data consists of court data indicating timbre.
従って、各パッド毎に異なる音色を割り当てることが可
能である。Therefore, it is possible to assign a different tone to each pad.
P (PN):ポインタ:同時発音モードでは使用しな
いので、後述する。P (PN): Pointer: Not used in simultaneous sound mode, so will be described later.
PAT (PN):パッド割り当て音データ:パッドア
サイン処理によりこのパッド番号PNに対応するパッド
に対して割り当てた複数音のデータであり、1音につき
1バイトのエリアを使用する。PAT (PN): Pad assigned sound data: Data of multiple sounds assigned to the pad corresponding to this pad number PN by pad assignment processing, and uses one byte area for each sound.
この例では、最大で5音の同時発音を可能とするので、
5バイトがこのパット割り当て音データ記憶のために使
用される。なお、1音分のデータを構成する1バイトデ
ータの内訳は、割り当てられた音の音高(鍵)を示す複
数ビットのキーコードと、割り当てられていることを示
すための1ビツトのフラグとからなる。In this example, a maximum of five notes can be produced simultaneously, so
Five bytes are used to store this pad assignment sound data. The 1-byte data that makes up the data for one note consists of a multi-bit key code that indicates the pitch (key) of the assigned note, and a 1-bit flag that indicates that it has been assigned. Consisting of
TGCHF :音源チャンネルフラグ二上記割り当て音
データにより示された各音がどの楽音発生チャンネルに
発音割り当てされたかを示すフラグである。パッドアサ
イン処理においては割り当てた各音をどの楽音発生チャ
ンネルで発音するかまでは指定しない。楽音発生チャン
ネルに対する割り当てはキーアサイン処理によって行わ
れる。この音源チャンネルフラグでは、キーアサイン処
理によりどのチャンネルに割り当てられたかを記憶する
。この音源チャンネルフラグは2バイト=16ビツトか
らなり、1ビツトが1チヤンネルに対応し、パッド割り
当て音が割り当てられたチャンネルに対応するビットに
1”が立つ。TGCHF: Tone source channel flag 2 This is a flag indicating to which tone generation channel each tone indicated by the above assigned tone data is assigned. In the pad assignment process, it is not specified which musical sound generation channel is used to generate each assigned note. Assignment to musical tone generation channels is performed by key assignment processing. This sound source channel flag stores which channel is assigned by key assignment processing. This sound source channel flag consists of 2 bytes = 16 bits, 1 bit corresponds to 1 channel, and 1'' is set in the bit corresponding to the channel to which the pad assigned sound is assigned.
第2図Cにより、シーケンス発音モードのときの記憶デ
ータについて説明すると、次の通りである。The stored data in the sequence sound generation mode will be explained with reference to FIG. 2C as follows.
PM (PN):パッドモードデータ:前述。PM (PN): Pad mode data: As described above.
PTC(PN):パット音色データ:前述。PTC (PN): Pat tone data: As described above.
P (PN):ポインタ:シーケンス音を順番に発音す
る制御を行うために、後述のイベント順位を指示するポ
インタである。P (PN): Pointer: This is a pointer that indicates the order of events, which will be described later, in order to control the sequential production of sequence sounds.
シーケンスデータエリア:パッドアサイン処理によりこ
のバット番号PNに対応するバットに対して割り当てた
シーケンス音のデータをイベント類(発音タイミング順
)に記憶するエリアであり、1イベントにつき2バイト
のエリアを使用し、合計20イベント=40バイトの記
憶領域を持つ。Sequence data area: This is an area that stores the sequence sound data assigned to the bat corresponding to this bat number PN by pad assignment processing in the order of events (in the order of sound generation timing), and 2-byte area is used for each event. , a total of 20 events = 40 bytes of storage area.
1イベントにつき2バイトのデータは、イベントデータ
E (PN、p)とデュレーションデータD(PN、p
)とからなる。p=o、1,2.・・・・・。2 bytes of data per event are event data E (PN, p) and duration data D (PN, p).
). p=o, 1, 2.・・・・・・.
19はイベント順位であり、上記ポインタP (PN)
により指定される。イベントデータE (PN。19 is the event ranking, and the above pointer P (PN)
Specified by Event data E (PN.
p)は1ビツトのイベントフラグと該イベントに関わる
割り当て音の音高(11りを示す複数ビットのキーコー
ドとからなる。イベントフラグは、キーオンイベントの
とき++ 1 ++、キーオフイベントのとき“OIT
である。デュレーションデータD(PN、P)は、当該
イベントから次のイベントまでの時間間隔を示すデータ
である。なお、シーケンスの最後には所定のエンドマー
クコードを記憶しておくものとする。p) consists of a 1-bit event flag and a multi-bit key code indicating the pitch (11) of the assigned note related to the event.
It is. Duration data D (PN, P) is data indicating the time interval from the event to the next event. Note that a predetermined end mark code is stored at the end of the sequence.
TGCHF :音源チャンネルフラグ:前述。TGCHF: Sound source channel flag: As described above.
次に、マイクロコンピュータによって実行される処理の
一例につき第3図乃至第12図のフローチャートを参照
して説明する。Next, an example of the processing executed by the microcomputer will be described with reference to flowcharts shown in FIGS. 3 to 12.
第3図はメインルーチンの一例を示しており、まず所定
の初期設定処理を行った後、「キー処理」。FIG. 3 shows an example of the main routine, in which a predetermined initial setting process is first performed, and then "key processing" is performed.
「パッド処理」、「パネルスイッチ処理」、「その他処
理」のルーチンを繰り返す。「キー処理」では、鍵盤回
路14における各キースイッチをスキャンしてそのオン
・オフを検出し、キーオンイベントのときは第4図に一
例を示すキーオンイベント処理を行い、キーオフイベン
トのときは第5図に一例を示すキーオフイベント処理を
行う。Repeat the "pad processing", "panel switch processing", and "other processing" routines. In "key processing", each key switch in the keyboard circuit 14 is scanned to detect whether it is on or off, and in the case of a key-on event, key-on event processing is performed as shown in FIG. 4, and in the case of a key-off event, the key switch Key-off event processing, an example of which is shown in the figure, is performed.
「パッド処理」では、パッドPO〜P4の各センサをス
キャンしてそのオン・オフを検出し、パッドオンイベン
トのときは第6図に一例を示すパッドオンイベント処理
を行い、パッドオンイベントのときは第7図に一例を示
すパッドオフイベント処理を行う。「パネルスイッチ処
理」では、パネルスイッチ回路15における各種操作子
、スイッチ類をスキャンしてそのオン・オフを検出し、
その検出に基づき各種処理を行う。この「パネルスイッ
チ処理」において実行される処理の例が第8図、第9図
、第10図に示されている。「その他処理」では、その
他様々な処理を行う。ここで行われる処理の1つに第1
1図に示すようなシーケンス制御処理がある。In "pad processing", each sensor of pads PO to P4 is scanned to detect whether it is on or off, and in the case of a pad-on event, pad-on event processing, an example of which is shown in Figure 6, is performed; performs pad-off event processing, an example of which is shown in FIG. In the "panel switch processing", various operators and switches in the panel switch circuit 15 are scanned to detect whether they are on or off.
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. "Other processing" performs various other processing. One of the processes performed here is the first
There is a sequence control process as shown in Figure 1.
メインルーチンの実行中にタイマ20のクロックパルス
により周期的にインタラブドがかけられる。その場合、
第12図のタイマインタラブド処理が行われる。ここで
は、タイマレジスタTIMEの内容を1増加する。従っ
て、タイマTIMEはフリーラン状態であり、また、そ
のオーバーフローは無視される。During the execution of the main routine, the clock pulses of the timer 20 are periodically interleaved. In that case,
The timer-interrupted process shown in FIG. 12 is performed. Here, the contents of the timer register TIME are incremented by one. Therefore, timer TIME is free-running and its overflow is ignored.
なお、初期設定処理において、各パットメモリPDMO
−PDM4に所定の初期データをプリセットするように
してもよい。そうすれば、電源オン時に、各パットPO
−P4に対して所定の複数音を初期割り当てすることが
できる。勿論、そのような初期割り当てを行わなくても
よい。In addition, in the initial setting process, each pad memory PDMO
- Predetermined initial data may be preset in the PDM 4. Then, when the power is turned on, each pad PO
- A predetermined plurality of tones can be initially assigned to P4. Of course, such initial allocation may not be necessary.
パッドモートの選択
パッドモートは、パッドアサイン処理時に、パネルスイ
ッチ回路15に在るパッドアサインスイッチPASWを
操作することにより選択することができる。詳しくは、
この実施例においては、パッドアサインスイッチPAS
Wの操作に応してパットアサインモードが決定され、こ
のパッドアサインモードに従ってパントモードが決定さ
れる。Selection of pad mote The pad mote can be selected by operating the pad assign switch PASW in the panel switch circuit 15 during pad assign processing. For more information,
In this embodiment, the pad assign switch PAS
A putt assignment mode is determined in response to the operation of W, and a punt mode is determined in accordance with this pad assignment mode.
パットアサインモードについて説明すると、これには0
〜3の4つのモードがある。この4つのパットアサイン
モードはレジスタPAMの内容により、次のように指示
される。To explain the pad assign mode, it has 0
There are four modes: ~3. These four pad assignment modes are instructed as follows according to the contents of register PAM.
PAM=0 ニブレイモート:通常の演奏を行うモード
、つまりパッドアサイン処理を行わないことを示す。PAM=0 Nibray mode: Indicates a mode for normal performance, that is, no pad assignment processing.
PAM=1:複数音割り当てモード:同時に発音すべき
任意の複数音を所望の1つのパットに対応して割り当て
るときのモート。このモートが選択されたとき、前記パ
ットモートとして同時発音モードが選択される。実施例
では、所望のパッドを操作する前に、パッドアサインス
イッチPASWを操作すると、このモードが選択される
。PAM=1: Multiple note assignment mode: Mote used when assigning arbitrary multiple notes to be sounded simultaneously to one desired putt. When this mote is selected, the simultaneous sound mode is selected as the putt mote. In the embodiment, this mode is selected by operating the pad assign switch PASW before operating a desired pad.
PAM=2ニジ−ケンス膏剤り当て準備モード:順番に
発音すべき任意の複数音を所望の1つのパッドに対応し
て割り当てるときの最初の状態(準備状態)を示すモー
ド。このモードが選択されたとき、前記パッドモードと
してシーケンス発音モードが選択される。実施例では、
所望のパッドを操作しながら、パッドアサインスイッチ
PASWを操作すると、このモードが選択される。PAM=2 Nijikensu plaster application preparation mode: A mode indicating the initial state (preparation state) when assigning arbitrary plural sounds to be sounded in order to one desired pad. When this mode is selected, the sequence sound generation mode is selected as the pad mode. In the example,
This mode is selected by operating the pad assign switch PASW while operating a desired pad.
PAM=3ニジ−ケンス膏剤り当て記憶モード:シーケ
ンス音別り当ての際に記憶動作に入ったことを示すモー
ド。実施例では、シーケンス音別り当て準備モード(P
AM=2)のときに、所望の鍵押圧により割り当て音の
選択がなされると、このモードに切り換わる。PAM=3 Nijikensu plaster application memory mode: A mode that indicates that a memorization operation has been entered when applying sequence sounds. In the embodiment, the sequence sound assignment preparation mode (P
When an assigned tone is selected by pressing a desired key when AM=2), the mode is switched to this mode.
パッドアサインスイッチPASWが操作されると第8図
に示すパッドアサインスイッチオンイベント処理が実行
される。まず、ステップ30では、パッドアサインモー
ドPAMの内容を調べ、PAM=Oであれば、ステップ
31に行き、いずれかのパッドスイッチPO−P4が同
時にオンされているかを調べる。NOであれば、パッド
アサインスイッチPASWがパッドスイッチPO〜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 contents of the pad assignment mode PAM are checked, and if PAM=O, the process goes to step 31, and it is checked whether any of the pad switches PO-P4 are turned on at the same time. If NO, pad assign switch PASW is set to pad switch PO~P4.
This means that the key was pressed earlier than , so the program goes to step 32 and sets the pad assign mode PAM to 1. In this way, the multiple note assignment mode is selected.
ステップ31がYESであれば、ステップ33に行き、
既にオンされているパッドのパッド番号をレジスタiに
セントする。次に、ステップ34に行き、パッドアサイ
ンモードP、AMを2にセットする。こうして、シーケ
ンス音別り当て準備モードが選択される。If step 31 is YES, go to step 33,
The pad number of the pad that is already turned on is placed in register i. Next, go to step 34 and set pad assignment modes P and AM to 2. In this way, the sequence sound assignment preparation mode is selected.
パッドアサインスイッチPASWをもう1度操作するこ
とにより、パッドアサイン処理を終了することができる
が、この点については後述する。By operating the pad assign switch PASW again, the pad assign process can be completed, but this point will be described later.
なお、第13図に示すようにパッドアサインスイッチP
ASWの脇にLED等の表示器が設けられ、上記パッド
アサインモードPAMの状態に応じた表示を行うように
なっている。例えば、PAM=Oのとき消灯、PAM≠
0のとき点灯するように制御することにより、パッドア
サイン処理中であることを表示することができる。In addition, as shown in FIG. 13, the pad assign switch P
A display such as an LED is provided beside the ASW, and displays a display according to the state of the pad assignment mode PAM. For example, the light goes off when PAM=O, and PAM≠
By controlling the light to turn on when the light is 0, it is possible to display that pad assignment processing is in progress.
複数音の割り当て
前述のようにPAM=1にセットすると、複数音割り当
てモードが選択されるにの状態で1割り当てを行いたい
所望のパッド(PO−P4のいずれか1つ)をオン操作
する。すると、第6図のパッドオンイベント処理がスタ
ートし、次のような処理が行われ、該パッドに現在割り
当てられている音が発音される。Assignment of multiple sounds When PAM is set to 1 as described above, the desired pad (any one of PO-P4) to which one assignment is to be made is turned on while the multiple sound assignment mode is selected. Then, the pad-on event process shown in FIG. 6 starts, the following process is performed, and the sound currently assigned to the pad is produced.
まず、オンされたパッドのパッド番号をレジスタPNに
ストアする(ステップ35)。次に、パットアサインモ
ードPAMが2又は3であるかを調べる(ステップ36
)。今はPAM=1であるからNoであり、ステップ3
7に行き、レジスタPNのパッド番号をレジスタiにス
トアする。次に、レジスタPNのパット番号に対応する
バットメモリPDM (PDMO−PDM4のうち1つ
)からパッドモードデータPM (PN) を読み出
し、それが110 P+であるか否かを調べる(ステッ
プ38)。II OIIであれば、同時発音モードであ
り、ステップ39.40の処理により、該パッドメモリ
PDMからパッド割り当て音データP、AT(PN)を
読み出し、このパッド割り当て音データに対応する複数
の音をそれぞれ異なるチャンネルに割り当て、楽音信号
発生回路17によりこれらの複数音を発生させる。他方
、110”でなければ、シーケンス発音モードであり、
ステップ41〜47及び第11図の処理により、該パッ
ドメモリPDMのシーケンスデータエリアがら各シーケ
ンス音のイベントデータとデュレーションデータを順次
読み出し、各音をそれぞれ適宜のチャンネルに割り閂で
、楽音信号発生回路17によりこれらの音を発生させる
。なお、同時発音モード及びシーケンス発音モートにお
ける発音制御の詳細については後述する。First, the pad number of the turned-on pad is stored in register PN (step 35). Next, check whether the pad assignment mode PAM is 2 or 3 (step 36).
). Since PAM=1 now, the answer is No, and step 3
7 and stores the pad number of register PN in register i. Next, pad mode data PM (PN) is read from the bat memory PDM (one of PDMO-PDM4) corresponding to the pad number of register PN, and it is checked whether it is 110 P+ (step 38). If it is II OII, it is the simultaneous sound mode, and the process of step 39.40 reads the pad assigned sound data P, AT (PN) from the pad memory PDM, and generates a plurality of sounds corresponding to this pad assigned sound data. The plurality of tones are respectively assigned to different channels and generated by the musical tone signal generation circuit 17. On the other hand, if it is not 110", it is a sequence sound mode,
Through steps 41 to 47 and the processing shown in FIG. 11, the event data and duration data of each sequence sound are sequentially read out from the sequence data area of the pad memory PDM, and each sound is assigned to an appropriate channel with a bar, and the musical sound signal generation circuit 17 to generate these sounds. Note that 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 aurally confirm the sound already assigned to the pad. Then, while keeping the pad on, press the desired key to be newly assigned. Then, the key-on event processing shown in FIG. 4 starts, and the following processing is performed.
まず、新たに押圧された鍵のキーコートをレジスタKC
Dに登録する(ステップ48)。次に。First, write the key code of the newly pressed key to register KC.
D (step 48). next.
現在選択されている音色の音色コードTCがキーボード
パーカッションを示す値”&HFF”であるかを調べる
(ステップ49)。なお、キーボードパーカッションと
は、鍵盤の鍵を打楽器音指定操作子として使用すること
を示し、その場合、音色コードTCは所定値” & H
F F ”とされ、音色名すなわち打楽器音名がキーコ
ードによって指定される。It is checked whether the tone color code TC of the currently selected tone is "&HFF" indicating keyboard percussion (step 49). Note that keyboard percussion refers to using the keys on the keyboard as percussion instrument sound designators, and in that case, the tone code TC is a predetermined value.
F F ”, and the tone name, that is, the percussion instrument tone name is specified by the key code.
押圧鍵が通常の音階音指定鍵である場合は、ステップ5
oに行き、通常の発音処理(16チヤンネルのいずれか
に発音割り当てするキーアサイン処理を含む)を行い、
押圧鍵の音高を持つ楽音信号を発生する。押圧鍵がキー
ボードパーカッションの指定鍵である場合は、ステップ
51に行き、キーボードパーカッションのための所定の
発音処理を行う6次のステップ52では、上記発音処理
で使用されたチャンネルについて、すべてのパッドメモ
リPDMO〜PDM4における当該チャンネルの音源チ
ャンネルフラグTGCHFをオフする。これは、当該チ
ャンネルを既にパッドで利用していた場合、その利用を
解除し、最新のイベントである今回の押圧鍵の発音を優
先するためである。次のステップ53では、パッドアサ
インモードPAMの内容を調べ、PAM=O又は1であ
れば、この処理を終了する。If the pressed key is a normal scale note specified key, step 5
o, perform normal sound processing (including key assignment processing to assign sound to one of the 16 channels),
A musical tone signal having the pitch of the pressed key is generated. If the pressed key is a designated key for keyboard percussion, the process goes to step 51, where a predetermined sound generation process for keyboard percussion is performed.In the next step 52, all pad memories for the channels used in the above sound generation process are Turn off the sound source channel flag TGCHF of the relevant channel in PDMO to PDM4. This is because, if the channel has already been used by a pad, that use is canceled and priority is given to the latest event, which is the sound of the currently pressed key. In the next step 53, the contents of the pad assignment mode PAM are checked, and if PAM=O or 1, this process is ended.
こうして、パッドに割り当てたい所望の鍵を1乃至複数
押圧すると、押圧された各鍵毎に上記処理がなされる。In this way, when one or more desired keys to be assigned to a pad are pressed, the above process is performed for each pressed key.
−旦押圧した鍵を該パッドに割り当てたくない場合は、
該鍵を離鍵すればよい。最終的に望みの鍵を1乃至複数
押圧した状態で、それまでオン操作し続けていたパッド
をオフする。-If you do not want to assign the key you just pressed to the pad,
All you have to do is release the key. Finally, with one or more desired keys pressed, the pad that had been kept on until then is turned off.
すると、第7図のパッドオフイベント処理がスタートし
、次のような処理が行われ、押鍵中の1乃至複数鍵に対
応する楽音が該パッドに対して割り当てられる。Then, the pad-off event process shown in FIG. 7 starts, and the following process is performed, and musical tones corresponding to one or more keys being depressed are assigned to the pad.
まず、オフされたパッドのパッド番号をレジスタPNに
ストアする(ステップ54)、次に、レジスタPNのパ
ッド番号に対応するパッドメモリPDM (PDMO−
PDM4のうち1つ、これをPDM(PN)と表わす)
からパッドモードデータPM (PN)を読み出し、P
M (PN)= ”O”であるかを調べる(ステップ5
5)。YESであれば、ステップ550に行き、該パッ
ドメモリPDM(PN)からパッド音色データPTC(
PN)を読み出し、PTC(PN)≠&HFFであるか
を調べる。YESであれば、ステップ56に行き、該パ
ッドメモリPDM (PN)における音源チャンネルフ
ラグTGCHFがオンのチャンネル()ロー図ではCH
と記す)に対応して楽音信号発生回路17(フロー図で
はTGと記す)に対してキーオフ信号を送出する。これ
は、当該パッドに関するそれまでの割り当て音を発音中
であったため、その発音割り当てを解除するためである
。ステップ57では、当該オフパッドに関わるパッドメ
モリPDM (PN)における音源チャンネルフラグT
GCHFをすべてオフする。First, the pad number of the pad turned off is stored in the register PN (step 54). Next, the pad memory PDM (PDMO-) corresponding to the pad number of the register PN is stored.
One of PDM4, this is expressed as PDM (PN))
Read pad mode data PM (PN) from P
Check whether M (PN) = “O” (Step 5
5). If YES, the process goes to step 550, and the pad tone data PTC (
PN) and check whether PTC(PN)≠&HFF. If YES, the process goes to step 56, and the channel () in which the sound source channel flag TGCHF is on in the pad memory PDM (PN) is CH in the low diagram.
A key-off signal is sent to the musical tone signal generation circuit 17 (denoted as TG in the flowchart) in response to the tone signal (denoted as TG). This is to cancel the sound generation assignment, since the sound previously assigned to the pad was being produced. In step 57, the sound source channel flag T in the pad memory PDM (PN) related to the off-pad is
Turn off all GCHF.
P M(P N)= ” O”つまり同時発音モードで
あっても、キーボードパーカッション音である場合はス
テップ550がNoであり、ステップ56を行わずにス
テップ57に行く。これは、キーボードパーカッション
音の場合は、格別にキーオフ信号を与えることなく、消
音されるからである。Even if P M (P N) = "O", that is, the simultaneous sound mode is a keyboard percussion sound, step 550 is No, and the process proceeds to step 57 without performing step 56. This is because keyboard percussion sounds are muted without any particular key-off signal being given.
また、当該パッドに関するそれまでの割り当て音がシー
ケンス音である場合は、P M(P N)=111 T
rであり、ステップ55はNoであり、ステップ56.
57を行わずにステップ58に行く。Furthermore, if the previously assigned sound for the pad is a sequence sound, P M (P N) = 111 T
r, step 55 is No, step 56.
Go to step 58 without performing step 57.
これは、シーケンス音の場合、イベントデータによって
消音処理がなされるためである。This is because in the case of sequence sounds, muting processing is performed based on event data.
次のステップ58では、PAM=1かつPN=iである
かをチエツクする。今の例では、複数音割り当てモード
であるからバットアサインモートPAM=1である。レ
ジスタiには最新のパッドオフイベントに関わるパッド
の番号がストアされており(第6図ステップ37)、レ
ジスタPNには今回のパッドオフイベントに関わるバッ
トの番号がストアされている。通常はPN=iであり、
ステップ58がYESとなり、ステップ59に行く。ス
テップ59では現在押圧されている鍵の有無を調へる。In the next step 58, it is checked whether PAM=1 and PN=i. In the present example, the bat assignment mode PAM=1 since it is the multiple note assignment mode. Register i stores the number of the pad related to the latest pad-off event (step 37 in FIG. 6), and register PN stores the number of the bat related to the current pad-off event. Usually PN=i,
Step 58 becomes YES, and the process goes to step 59. In step 59, it is checked whether there is a currently pressed key.
押圧されている鍵があればステップ60〜62に行き、
レジスタlによって指定されたパッド番号に対応するパ
ッドメモリPDM (PDMO−PDM4のいずれか1
つ)に対して割り当てデータの書込みを行う。すなわち
、パッド番号iに対応するパッドメモリPDMにおける
パッドモードデータPM(i)を110 nにセットし
、このバットに対応して同時発音モードが選択されたこ
とを記憶する(ステップ60)。そして該パッド番号i
に対応するバットメモリPDMにおけるパッド音色デー
タPTC(i)として現在選択されている音色を示す音
色コードTCを記憶する(ステップ60)。また、パッ
ド番号iに対応するパッドメモリPDMにおけるパッド
割り当て音データFAT (PN)として現在押圧され
ている鍵のキーコードを書き込む(ステップ61)。こ
の場合、最大で5音までのキーコートが書込み可能であ
り、同時押鍵数が6以上のときは所定の優先選択基準に
従って5鍵のみ選択し、そのキーコードを書き込むもの
とする。優先選択基準は、高音優先あるいは低音優先あ
るいは押鍵時点が新しいものを優先する等適宜定めてよ
い。また、書き込まれたキーコードに対応して、割り当
てを示すオンフラグ1″を立てる。同時押鍵数が5音未
満のときは、キーコードを記憶しなかった残りのエリア
にキーコード無しを示すデータ”&HOO’″とオフフ
ラグOnを記憶する(ステップ62)。If there is a pressed key, go to steps 60-62,
Pad memory PDM (any one of PDMO-PDM4) corresponding to the pad number specified by register l
Write allocation data to That is, pad mode data PM(i) in the pad memory PDM corresponding to pad number i is set to 110n, and it is stored that the simultaneous sound mode has been selected for this bat (step 60). and the pad number i
A tone color code TC indicating the currently selected tone is stored as pad tone color data PTC(i) in the bat memory PDM corresponding to (step 60). Furthermore, the key code of the currently pressed key is written as pad assigned sound data FAT (PN) in the pad memory PDM corresponding to pad number i (step 61). In this case, key codes of up to five tones can be written, and when the number of keys pressed simultaneously is six or more, only five keys are selected according to predetermined priority selection criteria and the key codes are written. The priority selection criteria may be determined as appropriate, such as prioritizing high tones, prioritizing low tones, or prioritizing keys pressed at the latest time. In addition, an on flag 1" indicating assignment is set corresponding to the written key code. If the number of keys pressed at the same time is less than 5 notes, data indicating no key code is placed in the remaining area where no key code is stored. "&HOO'" and the off flag On are stored (step 62).
以上のようにして、オン操作したパッドに割り当てたい
望みの鍵を1乃至複数押圧した状態で、それまでオン操
作し続けていた該パッドをオフすると、該1乃至複数畦
に対応する音の情報が該パッドに対応するパッドメモリ
PDMに記憶される。As described above, when you press one or more desired keys to be assigned to the pad that was turned on and then turn off the pad that has been turned on, the sound information corresponding to the one or more rows is is stored in the pad memory PDM corresponding to the pad.
こうして該パッドに対する所望の1乃至複数音の割り当
てが実行される。In this way, the desired one or more tones are assigned to the pad.
なお、成るパッドをオン操作してそこに割り当てられて
いる音を発音させ、確認した後、その割り当てを変更す
るつもりがない場合は、新たな割り当て音を選択するた
めの押鍵操作を行わずに、該パッドをオフする。その場
合はステップ59がNOとなるので、ステップ60〜6
2の処理を行わずに処理を終了する。In addition, if you do not intend to change the assignment after turning on a pad to make the sound assigned to it sound and confirming it, do not press any keys to select the new assigned sound. Then, turn off the pad. In that case, step 59 will be NO, so steps 60 to 6
The process ends without performing process 2.
また、成る第1のパッドをオン操作し、それをオフする
前に別の第2のパッドをオン操作し、その後第1のパッ
ドをオフした場合は、ステップ58のPN=iが成立せ
ず、ステップ60〜62の処理が行われない。第2のパ
ッドをオフしたときにステップ58のPN=iが成立し
、ステップ60〜62の処理が行われる。In addition, if the first pad is turned on, and before it is turned off, another second pad is turned on, and then the first pad is turned off, PN=i in step 58 does not hold. , steps 60 to 62 are not performed. When the second pad is turned off, PN=i in step 58 is established, and steps 60 to 62 are performed.
なお、割り当て音の音色も自由に選択することができる
。この実施例では、パッドに音階音を割り当てる場合は
、1パツドにつき割り当て可能な音色は1種類だけであ
る。その場合、パネルスイッチ回路15において割り当
てたい所望の音色を予め選択しておく。所望の音色の音
色スイッチをオンすると、第10図の音色スイッチオン
イベント処理が行われ、オンされた音色スイッチに対応
する音色コードTCを選択された音色の情報として登録
する。この音色コードTCが第7図のステップ60にお
いてバット音色データPTC(i)として記憶されるこ
とにより、所望音色の割り当てが行われる。この場合、
1パツドに割り当てられる複数音に関する音色情報は共
通であるが、変更例として各音毎に異なる音色を割り描
てるようにしてもよいのは勿論である。Note that the tone color of the assigned sound can also be freely selected. In this embodiment, when assigning scale notes to pads, only one type of tone can be assigned to each pad. In that case, the desired tone to be assigned is selected in advance using the panel switch circuit 15. When the timbre switch of a desired timbre is turned on, the timbre switch-on event process shown in FIG. 10 is performed, and the timbre code TC corresponding to the turned-on timbre switch is registered as information on the selected timbre. By storing this tone color code TC as bat tone color data PTC(i) in step 60 of FIG. 7, a desired tone color is assigned. in this case,
Although the tone color information regarding multiple tones assigned to one pad is common, it is of course possible to assign a different tone color to each tone as a modification example.
パッドに対してキーボードパーカッション音を割り当て
ることも可能である。そのためには予めキーボードパー
カッションモードに設定しておく。It is also possible to assign keyboard percussion sounds to pads. To do this, set the keyboard percussion mode in advance.
キーボードパーカッションモートはパネルスイッチ回路
15に設けられるキーボードパーカッションスイッチK
PSWの操作に応じてオン・オフされる。キーボードパ
ーカッションスイッチKPSWがオンされると、第9図
のキーボードパーカッションスイッチオンイベント処理
が行われる。まず、音色コードTCがキーボードパーカ
ッションモードを示す所定の値“&HFF”になってい
るかを調べる(ステップ63)。キーボードパーカッシ
ョンモードにまだなっていない場合は、N。The keyboard percussion mode is a keyboard percussion switch K provided in the panel switch circuit 15.
It is turned on and off according to the operation of the PSW. When the keyboard percussion switch KPSW is turned on, the keyboard percussion switch on event process shown in FIG. 9 is performed. First, it is checked whether the tone color code TC is a predetermined value "&HFF" indicating the keyboard percussion mode (step 63). If you are not already in keyboard percussion mode, press N.
に分岐し、そのときの音色コードTCをバッファTCB
UFに保存してから(ステップ64)、音色コードTC
をキーボードパーカッションモードを示すコード“&H
FF”に変更する(ステップ65)。こうしてキーボー
ドパーカッションモードに変えてから、所望のパッドを
オンし、かつ所望のキーボードパーカッション音に対応
する鍵を押圧する。そして前述のように、該バットをオ
フすると、押圧された鍵のキーコードがキーボードパー
カッションモードを示す音色コードTCと共にパッドメ
モリPDMに記憶される。キーボードパーカッションモ
ートをやめる場合は、キーボードパーカッションスイッ
チKPSWをもう1度オンする。すると今度はステップ
63がYESに分岐し、バッファTCBUFに保存して
いた音色コードを音色コードTCとして再登録する(ス
テップ66)。なお、第13図に示すようにキーボード
パーカッションスイッチKPSWの脇にLED等の表示
器が設けられ、上記キーボードパーカッションスイッチ
モードの状態に応じた表示を行うようになっている。例
えば、キーボードパーカッションモードが選択されてい
るとき(TC=&HFFのとき)点灯、選択されていな
いとき(TC≠&HFFのとき)消灯するように制御す
る。The tone code TC at that time is stored in the buffer TCB.
After saving to UF (step 64), tone code TC
The code “&H” indicating the keyboard percussion mode
FF" (step 65). After changing to keyboard percussion mode, turn on the desired pad and press the key corresponding to the desired keyboard percussion sound. Then, as described above, turn off the bat. Then, the key code of the pressed key is stored in the pad memory PDM along with the tone code TC indicating keyboard percussion mode.If you want to cancel keyboard percussion mode, turn on the keyboard percussion switch KPSW again.This time, step 63 branches to YES, and the tone code stored in the buffer TCBUF is re-registered as the tone code TC (step 66).As shown in FIG. is provided, and displays according to the state of the keyboard percussion switch mode.For example, when the keyboard percussion mode is selected (TC=&HFF), it lights up, and when it is not selected (TC ≠&HFF) Control the light to turn off.
複数音割り当てモードを終了する場合は、パッドアサイ
ンスイッチPASWをもう1度オン操作する。すると、
第8図のステップ30においてPAM=1 (複数音割
り当てモード)と判定され、ステップ67に行き、パッ
ドアサインモードPAMの内容がPAM=O(プレイモ
ード)にリセットされる。To end the multiple note assignment mode, turn on the pad assign switch PASW again. Then,
In step 30 of FIG. 8, it is determined that PAM=1 (multi-note assignment mode), and the process proceeds to step 67, where the contents of pad assignment mode PAM are reset to PAM=O (play mode).
シーケンス音の」り当て
前述のようにシーケンス音の割り当てを行いたい場合は
、まず、所望のパッド(PO−P4のいずれか1つ)を
先にオン操作する。すると、第6図のパッドオンイベン
ト処理がスタートし、このときPAM=2又は3ではな
いため、ステップ36はNoに分岐し、前述と同様の処
理が行われ、該パッドに現在割り当てられている音が発
音される。これにより既割り当て音を確認した上で、こ
のパッドに新たなシーケンス音を割り当てたい場合は、
パッドアサインスイッチPASWをオン操作する。する
と、第8図のステップ31がYESに分岐し、オンされ
ているパッドのパッド番号がレジスタiにストアされ、
PAM=2にセットされてシーケンス置割り当て準備モ
ードとなる。PAM=2にセットした後はバットはいつ
オフしてもよい。シーケンス音の割り当て/記憶は、パ
ッドのオフタイミングではなく、押#!/離鍵のイベン
ト毎に行われる。Assigning Sequence Sounds If you wish to assign sequence sounds as described above, first turn on the desired pad (any one of PO-P4). Then, the pad on event processing shown in FIG. 6 starts, and since PAM=2 or 3 at this time, step 36 branches to No, and the same processing as described above is performed, and the pad on event processing shown in FIG. A sound is pronounced. After checking the assigned sounds, if you want to assign a new sequence sound to this pad,
Turn on the pad assign switch PASW. Then, step 31 in FIG. 8 branches to YES, and the pad number of the pad that is turned on is stored in register i.
PAM=2 is set to enter the sequence location allocation preparation mode. After setting PAM=2, the bat may be turned off at any time. Sequence sounds are assigned/memorized by pressing #!, not by pad off timing. /Performed for each key release event.
PAM=2にセットした後、操作者は、シーケンス音と
して割り当てたい複数音を指定する所望の複数鍵を所望
のタイミングで順次押圧する。この場合、一部期間で2
以上の鍵が重複して押圧されることがあってもさしつか
えない。この一連の鍵操作に応して、押鍵時には第4図
のキーオンイベント処理が行われ、離郷時には第5図の
キーオフイベント処理が行われる。そして、各イベント
毎に、以下説明するように、パッドメモリPDMにおい
てシーケンスデータが記憶され、シーケンス音の割り当
てがなされる。After setting PAM=2, the operator sequentially presses desired keys specifying the plurality of sounds to be assigned as sequence sounds at desired timing. In this case, 2
There is no problem even if the above keys are pressed more than once. In response to this series of key operations, the key-on event process shown in FIG. 4 is performed when the key is pressed, and the key-off event process shown in FIG. 5 is performed when the user leaves home. Then, for each event, sequence data is stored in the pad memory PDM and a sequence sound is assigned, as will be explained below.
鍵が押圧された場合は、第4図のステップ48〜52の
処理により、該押圧鍵のキーコードをレジスタKCDに
登録すると共にその楽音を発音させる。When a key is pressed, the key code of the pressed key is registered in the register KCD and the corresponding musical tone is generated by the processing of steps 48 to 52 in FIG.
最初の鍵が押圧されたときは、まだPAM=2であるか
ら、ステップ53ではPAM=2と判定し、ステップ6
8に行く。ステップ68ではパッドアサインモードをP
AM=3にセットし、シーケンス音別り当て記憶モード
とする。次に、レジスタiのパッド番号に対応するパッ
ドメモリPDM (PDMO〜PDM4のうち1つ)に
おけるパッドモードデータPM(i)を“1”にセット
し、二のパッドに対応してシーケンス発音モードが選択
されたことを記憶する(ステップ69)。そして該パッ
ド番号iに対応するパッドメモリPDMにおけるパッド
音色データPTC(i)として現在選択されている音色
を示す音色コードTCを記憶する(ステップ69)。When the first key is pressed, PAM=2 is still present, so in step 53 it is determined that PAM=2, and in step 6
Go to 8. In step 68, set the pad assign mode to P.
Set AM=3 to set the sequence sound allocation storage mode. Next, pad mode data PM(i) in the pad memory PDM (one of PDMO to PDM4) corresponding to the pad number of register i is set to "1", and the sequence sound mode is set corresponding to the second pad. The selection is stored (step 69). Then, a tone code TC indicating the currently selected tone is stored as pad tone color data PTC(i) in the pad memory PDM corresponding to the pad number i (step 69).
次に、タイマTIMEの現在値に対して所定の1小節時
間長データMJLを加算し、その結果をシーケンス終了
時刻レジスタENDTにストアする(ステップ70)。Next, the predetermined one-bar 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).
これは、−例として、シーケンス音の1フレーズを1小
節に相当する時間に限定するためである。次に、割り当
てるべきパッドのパッド番号iに対応するパッドメモリ
PDMにおけるポインタP (i)を初期値0にセット
する(ステップ71)。次に、該パッド番号1に対応す
るパッドメモリPDMにおけるシーケンスデータエリア
(第2図C参照)において、ポインタP (i)=Oに
よって指定される最初のイベントデータE (i、o)
として、レジスタKCDのキーコード(つまり今抑圧さ
れたばかりの鍵のキーコード)とオンイベントフラグt
r 1 trを記憶する(ステップ72)、そして、タ
イマTIMEの現在値をオールドタイムレジスタ0LD
Tにセットし、これにより今回のイベント発生時刻を記
憶しておく (ステップ73)。This is because, for example, one phrase of sequenced sounds is limited to a time corresponding to one bar. Next, the pointer P (i) in the pad memory PDM corresponding to the pad number i of the pad to be allocated is set to an initial value of 0 (step 71). Next, in the sequence data area (see FIG. 2C) in the pad memory PDM corresponding to the pad number 1, the first event data E (i, o) specified by the pointer P (i)=O
As, the key code of register KCD (that is, the key code of the key just suppressed) and the on-event flag t
r 1 tr is stored (step 72), and the current value of timer TIME is stored in the old time register 0LD.
T is set, thereby storing the current event occurrence time (step 73).
2番目以降の鍵が押圧されたときは、すでにPAM=3
になっているから、ステップ53ではPAM=3と判定
し、ステップ74に行く。ステップ74では、タイマT
IMEの現在値からオールドタイムレジスタ○LDTの
値を減算し、前回のイベント発生時刻と今回のイベント
発生時刻の差、つまりイベント時間間隔を求め、デュレ
ーションレジスタDにストアする。次に、パッド番号i
に対応するパッドメモリPDMにおけるシーケンスデー
タエリア(第2図C参照)において、ポインタP (i
)によって指定されるイベント順位のデュレーションデ
ータD (i、 P(i) )として、該デュレーショ
ンレジスタDにストアした時間間隔データを記憶する(
ステップ75)。例えばP(i)二〇であれば、該デュ
レーションレジスタDの時間間隔データを最初のイベン
ト順位のデュレーションデータD (i、O)として記
憶する。次に。When the second or subsequent keys are pressed, PAM=3 has already been reached.
Therefore, in step 53, it is determined that PAM=3, and the process goes to step 74. In step 74, timer T
The value of the old time register ○LDT is subtracted from the current value of IME to obtain the difference between the previous event occurrence time and the current event occurrence time, that is, the event time interval, and store it in the duration register D. Next, pad number i
In the sequence data area (see FIG. 2C) in the pad memory PDM corresponding to the pointer P (i
) The time interval data stored in the duration register D is stored as the duration data D (i, P(i)) of the event order specified by (
Step 75). For example, if P(i) is 20, the time interval data of the duration register D is stored as the duration data D (i, O) of the first event order. next.
ポインタP (i)を1増加し、次のイベント順位(つ
まり今回のイベントの順位)を指定する(ステップ76
)。Increment the pointer P (i) by 1 and specify the next event order (that is, the order of the current event) (step 76
).
次のステップ77では、パッド番号iに対応するパッド
メモリPDMにおけるシーケンスデータエリア(第2図
C参照)において、ポインタP(i)によって指定され
るイベント順位のイベントデータE (i、 P(i)
)として、レジスタKCDのキーコード(つまり今回
のオンイベントに関わる鍵のキーコード)とオンイベン
トフラグ1″を記憶する。次のステップ78では、ポイ
ンタP (i)の値が最大値19になったかを調べる。In the next step 77, event data E (i, P(i)) of the event order specified by pointer P(i) is stored in the sequence data area (see FIG. 2C) in the pad memory PDM corresponding to pad number i.
), the key code of the register KCD (that is, the key code of the key related to the current on event) and the on event flag 1'' are stored.In the next step 78, the value of the pointer P (i) reaches the maximum value 19. Check out Taka.
Noであれば、ステップ79に行き、タイマTIMEの
現在値をオールドタイムレジスタ0LDTにセットする
。If No, the process goes to step 79, and the current value of the timer TIME is set in the old time register 0LDT.
こうして、新たなキーオンイベントに対応して、前回の
イベント順位に関わるデュレーションデータo (1,
P(i) )と、今回のイベント順位に関わるイベント
データE (i、P(i)+1)とが書き込まれる。In this way, in response to a new key-on event, duration data o (1,
P(i)) and event data E(i, P(i)+1) related to the current event ranking are written.
押されていた鍵が離鍵されると、第5図のキーオフイベ
ント処理がスタートする。まず、今回離鍵された鍵のキ
ーコードをレジスタKCDに登録する(ステップ80)
。次に、現在選択されている音色の音色コードTCがキ
ーボードパーカッションを示す値“&HFF”であるか
を調べる(ステップ81)。離鍵された鍵が通常の音階
音指定鍵である場合は、ステップ81はNoであり、ス
テップ82に行き、通常の消音処理を行う。例えば、公
知のように、離鍵された鍵が割り当てられているチャン
ネルに対応してキーオフ信号を送出し、該チャンネルの
音量エンベロープを減衰モードに切り換えて、離鍵に関
わる楽音信号の発音を減衰消去する。次のステップ83
では、パッドアサインモードがPAM=3かを調べる。When the pressed key is released, the key-off event process shown in 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 currently selected tone is "&HFF" indicating keyboard percussion (step 81). If the released key is a normal scale note specifying key, step 81 is No, and the process goes to step 82, where normal muting processing is performed. For example, as is well known, a key-off signal is sent corresponding to the channel to which the released key is assigned, and the volume envelope of that channel is switched to attenuation mode, thereby attenuating the sound of the musical tone signal related to the key release. to erase. Next step 83
Now, check whether the pad assignment mode is PAM=3.
今の例の場合、すてにPAM=3となっているので、Y
ESであり、ステップ84に行く。In the current example, since PAM=3, Y
ES, go to step 84.
ステップ84〜89の処理は第4図のステップ74〜7
9の処理とほぼ同様である。異なる点は、ステップ87
では、ポインタP(i)によって指定されるイベント順
位のイベントデータE (i、 P(i))として、レ
ジスタKCDのキーコート(つまり今回のオフイベント
に関わる鍵のキーコード)とオフイベントフラグ0″を
記憶する点のみである。こうして、キーオフイベントに
対応しても、同様に、前回のイベント順位に関わるデュ
レーションデータD (i 、 P(i) )と、今回
のイベント順位に関わるイベントデータE (i、P(
i)+1)とが書き込まれる。The processing in steps 84 to 89 is performed in steps 74 to 7 in FIG.
This is almost the same as the process in step 9. The difference is that step 87
Then, as the event data E (i, P(i)) of the event order specified by the pointer P(i), the key code of the register KCD (that is, the key code of the key related to the current off event) and the off event flag 0. In this way, even when responding to a key-off event, the duration data D (i, P(i)) related to the previous event ranking and the event data E related to the current event ranking are similarly stored. (i, P(
i)+1) is written.
離鍵された鍵がキーボードパーカッション指定鍵の場合
は、ステップ81はYESであり、以後の処理を行わず
に、このキーオフイベント処理を終了する。これはパー
カッション音は離鍵操作に無関係に減衰するため、格別
の消音処理が不要であるためである。If the released key is a keyboard percussion designated key, the answer to step 81 is YES, and the key-off event processing is ended without performing any further processing. This is because the percussion sound attenuates regardless of the key release operation, so no special muting process is required.
ステップ86におけるノンクリメントによりポインタP
(i)の値が最大値19になった場合は、ステップ88
がYESとなり、ステップ90に行く。ここではパッド
アサインモードをPAM=0つまりプレイモードにセッ
トしくステップ90)、イベント順位19のデュレーシ
ョンデータD (i。The non-increment in step 86 causes the pointer P to
If the value of (i) reaches the maximum value 19, step 88
becomes YES, and the process goes to step 90. Here, the pad assignment mode is set to PAM=0, that is, the play mode (step 90), and the duration data D (i.
19)の位置に所定のエンドマークコードを書き込む(
ステップ91)。そしてポインタP(i)の値を“&H
FF”に設定する。これにより、パッドアサイン処理を
終了する。19) Write the specified end mark code in the position (
Step 91). Then, set the value of pointer P(i) to “&H
FF". This completes the pad assignment process.
キーオンイベント処理のときにポインタP(i)の値が
最大値19になった場合も上述と同様であり、第4図の
ステップ78がYESとなり、上記ステップ90〜92
と全く同様のステップ93〜95の処理を行なって、パ
ッドアサイン処理を終了する。The case where the value of pointer P(i) reaches the maximum value 19 during key-on event processing is the same as described above, and step 78 in FIG. 4 becomes YES, and steps 90 to 92
The pad assignment process is completed by performing steps 93 to 95 that are exactly the same as above.
一方、メインルーチンを1巡する毎に第11図のシーケ
ンス制御処理が行われる。ここでは、まず、パッドアサ
インモードがチエツクされる(ステップ96)。上述の
ようにシーケンス音別り当て記憶モードを実行中のとき
はPAM=3であり、ステップ97に行き、タイマTI
MEの現在値がシーケンス終了時刻レジスタENDTの
値に一致したか若しくはそれをオーバーしたかを調べる
。On the other hand, the sequence control process shown in FIG. 11 is performed every time the main routine is passed once. Here, first, the pad assignment mode is checked (step 96). As mentioned above, when the sequence sound allocation storage mode is being executed, PAM=3, and the process goes to step 97, where the timer TI is set.
It is checked whether the current value of ME matches or exceeds the value of the sequence end time register ENDT.
Noであればこのルーチンを終了するが、YESならば
ステップ98〜100の処理を実行する。If No, this routine ends, but if Yes, steps 98 to 100 are executed.
ステップ98〜100の処理は上述の第5図のステップ
90〜92と全く同様の処理であり、これによりシーケ
ンス音別り当て処理を終了する。The processing in steps 98 to 100 is exactly the same as steps 90 to 92 in FIG. 5 described above, and thus the sequence sound assignment processing is completed.
また、シーケンス音別り当て記憶モード実行中に、パッ
ドアサインスイッチPASWをもう1度オン操作するこ
とによっても、シーケンス音別り当て処理を終了するこ
とができる。その場合、第8図のステップ30において
PAM=3と判定され、ステップ101〜103の処理
を実行する。Further, the sequence sound assignment processing can also be ended by turning on the pad assign switch PASW once again while the sequence sound assignment storage mode is being executed. In that case, it is determined in step 30 of FIG. 8 that PAM=3, and the processes of steps 101 to 103 are executed.
ステップ101〜103の処理は上述の第5図のステッ
プ90〜92と全く同様の処理である。The processing in steps 101 to 103 is completely similar to steps 90 to 92 in FIG. 5 described above.
なお、成るパッドに対してシーケンス音別り当て処理を
行っている最中に別のパッドがオンされた場合は、パッ
ドアサインモードPAMが2又は3であるから、当該別
のパッドがオンされたときに実行される第6図のキーオ
ンイベント処理におぃて、ステップ36がYESとなり
、そのキーオンイベント処理を行わずにメインルーチン
にリターンする。Note that if another pad is turned on while the sequence sound assignment process is being performed for the pad, the pad assignment mode PAM is 2 or 3, so when that other pad is turned on. In the key-on event process shown in FIG. 6, which is executed in step 36, the answer is YES, and the process returns to the main routine without performing the key-on event process.
複 音の同時発音
所望のパッドをオン操作すれば、該バットに割り当てら
れている複数音を発音することができる。Simultaneous sound production of multiple sounds By turning on a desired pad, multiple sounds assigned to that bat can be produced.
パッドをオン操作すると、前述のように、第6図のパッ
トオンイベント処理がスタートし、該パッドに対応する
パッドメモリPDM (PN)からパッドモードデータ
PM (PN)を読み出し、そわが′″Ol+であるか
否かを調べる(ステップ38)。When the pad is turned on, the pad-on event processing shown in FIG. 6 starts as described above, reads the pad mode data PM (PN) from the pad memory PDM (PN) corresponding to the pad, and sets the pad-on event processing as described above. It is checked whether or not (step 38).
該パッドに対応して選択されたパッドモードが同時発音
モードであればPM (PN)= ”O″であり、ステ
ップ39.40の処理を行う。If the pad mode selected corresponding to the pad is the simultaneous sound mode, PM (PN) = "O", and the processing of steps 39 and 40 is performed.
ステップ39では、オンされたパッドに対応するパッド
メモリPDM (PN)のパッド割り当て音データFA
T (PN)のエリアから該パッドに割り当てられてい
る1乃至複数のキーコードを読み出し、それらをそれぞ
れ異なるチャンラルに割り当てる。これらのキーコード
を割り当てチャンネルに対応して、楽音信号発生回路1
7に対して、該キーコード及びキーオン信号を送出する
。また。In step 39, the pad assigned sound data FA of the pad memory PDM (PN) corresponding to the turned-on pad is
One or more key codes assigned to the pad are read from the area T (PN) and assigned to different channels. Assign these key codes to the musical tone signal generation circuit 1 corresponding to the channels.
7, the key code and key-on signal are sent. Also.
該パッドメモリPDM (PN)からパッド音色データ
PTC(PN)を読み出し、これも楽音信号発生回路1
7に対して送出する。楽音信号発生回路17における対
応チャンネルにおいて、これら1乃至複数のキーコード
に対応する楽音信号を音色データに対応する音色で形成
し、発生する。The pad tone data PTC (PN) is read from the pad memory PDM (PN), and this is also generated by the musical tone signal generation circuit 1.
Send to 7. In the corresponding channels of the musical tone signal generation circuit 17, musical tone signals corresponding to these one or more key codes are formed and generated using tones corresponding to the tone color data.
こうして、1回のパッド操作により、オン操作されたパ
ッドに割り当てられている1乃至複数音が同時に発音さ
れる。例えば、該パッドに所望の和音を割り当てておけ
ば、該パッドの1回の操作により和音演奏をた易く行う
ことができる。しかも、演奏目的に応じてパッドの割り
当て内容を適宜変更することができるので、限られた数
のパッドを様々な和音や任意の複数音の演奏操作子とし
て効率的に使用することができ、演奏操作が楽である。In this way, by one pad operation, one or more tones assigned to the turned-on pad are simultaneously sounded. For example, if a desired chord is assigned to the pad, the chord can be easily played by operating the pad once. Moreover, since the pad assignments can be changed as appropriate depending on the purpose of the performance, a limited number of pads can be used efficiently as performance controls for various chords or arbitrary multiple notes. Easy to operate.
ステップ40では、前ステップで割り当て決定したチャ
ンネルに対応して、当該パッドメモリPDM (PN)
における音源チャンネルフラグTGCHFを1nに立て
る。In step 40, corresponding to the channel assigned in the previous step, the pad memory PDM (PN) is
Set the sound source channel flag TGCHF to 1n.
オンされていたパッドがオフされると、前述のように、
第7図のパッドオフイベント処理がスタートし、今回の
オフイベントに係るパッドのパッドモードデータPM
(PN)とパッド音色データPTC(PN)が、PM
(PN)= ”O”がっPTC(PN)≠&HFFであ
るかを調べる(ステップ55及び550)。同時発音モ
ードかつ通常音色であれば、ステップ56に行き、該パ
ッドに割り当てられている1乃至複数音が発音割り当て
されているチャンネル(音源チャンネルフラグTGCH
Fがオンのチャンネル)に対してキーオフ信号を送出す
る。これにより、該チャンネルの発生音を離鍵後の減衰
発音状態とし、該パッドに対応する1乃至複数音を消音
する。その後、ステップ57に行き、当該オフパッドに
関わるパッドメモリPDM (pN)における音源チャ
ンネルフラグTGCHFをすべてオフする。該パッドに
割り当てられた音色がキーボードパーカッション音の場
合は、ステップ550はNOであり、ステップ56を行
わずにステップ57に行く。キーボードパーカッション
音は格別のキーオフ処理を行うことなく、減衰発音する
ので、ステップ56の処理は不要であるからである。When a pad that was turned on is turned off, as mentioned above,
The pad off event processing shown in FIG. 7 starts, and the pad mode data PM of the pad related to the current off event is
(PN) and pad tone data PTC (PN) are PM
Check whether (PN)=“O” is PTC(PN)≠&HFF (steps 55 and 550). If it is the simultaneous sound mode and the normal tone, the process goes to step 56, and the channel (sound source channel flag TGCH) to which one or more sounds assigned to the pad is assigned to sound is
Sends a key-off signal to the channel on which F is on. As a result, the sound generated by the channel is brought into an attenuated sounding state after the key is released, and one or more sounds corresponding to the pad are muted. Thereafter, the process goes to step 57, and all tone source channel flags TGCHF in the pad memory PDM (pN) related to the off-pad are turned off. If the tone assigned to the pad is a keyboard percussion tone, the answer to step 550 is NO, and the process proceeds to step 57 without performing step 56. This is because the processing of step 56 is unnecessary because the keyboard percussion sound is attenuated without any special key-off processing.
なお、キーボードパーカッション音の発生にあたっては
、音階音を発生する16チヤンネルへの割り当てを行わ
ずに、専用のパーカッション音発生チャンネル又は装置
で発生するようにしてもよい。Note that keyboard percussion sounds may be generated by a dedicated percussion sound generation channel or device without being assigned to the 16 channels that generate scale sounds.
シーケンス音の 音
所望のパッドをオン操作すると、前述のように、第6図
のパットオンイベント処理がスタートし、該パッドに対
応するパッドメモリPDMがらパッドモードデータPM
(PN)を読み出し、それが“O”であるか否かを調
べる(ステップ38)。Sound of the sequence sound When a desired pad is turned on, the pad-on event processing shown in FIG. 6 starts as described above, and the pad mode data PM is stored in the pad memory PDM corresponding to the pad.
(PN) is read and it is checked whether it is "O" (step 38).
該パッドに対応して選択されたパッドモードがシーケン
ス発音モードであればPM (PN)= ”1”であり
、ステップ41に行く、シーケンス音の発音処理を開始
する。If the pad mode selected corresponding to the pad is the sequence sound generation mode, PM (PN) = "1", and the process proceeds to step 41 to start the sequence sound generation process.
ステップ41では、当該オンされたパッドのパッドメモ
リPDM(PN)におけるポインタP(PN)をOにセ
ットし、最初のイベント順位を指示する。次に、該バッ
トメモリPDM (PN)のシーケンスデータエリア(
第2図C参照)からポインタP(PN)=○により指示
された最初のイベント順位のイベントデータE (PN
、O)とデュレーションデータD (PN、O)を読み
出し、該イベントデータE (PN、O)により示され
たキーコードに対応する音の発音処理を行う(ステップ
42)。この発音処理は前述のステップ39゜40の処
理とほぼ同様の処理であり、該イベントデータE (P
N、O)により示されたキーコードをいずれかのチャン
ネルに割り当て、楽音信号発生回路17の該チャンネル
に対して該キーコードとキーオン信号及びパッド音色デ
ータPTC(PN)を送出し、これにより該楽音信号発
生回路17の該チャンネルにおいて該キーコートに対応
する1つの楽音信号を音色データに対応する音色で形成
し、発音させる。また、割り当てたチャンネルに対応す
る音源チャンネルフラグTGCHFをオンにする。In step 41, the pointer P(PN) in the pad memory PDM(PN) of the turned-on pad is set to O to indicate the first event order. Next, the sequence data area (
(See Figure 2 C), the event data E (PN) of the first event order indicated by pointer P (PN) =
, O) and the duration data D (PN, O) are read out, and the sound corresponding to the key code indicated by the event data E (PN, O) is produced (step 42). This sound generation process is almost the same as the process in steps 39 and 40 described above, and the event data E (P
The key code indicated by N, O) is assigned to one of the channels, and the key code, key-on signal, and pad tone data PTC (PN) are sent to the corresponding channel of the musical tone signal generation circuit 17, thereby generating the corresponding key code. In the channel of the musical tone signal generation circuit 17, one musical tone signal corresponding to the key coat is formed with a tone color corresponding to the tone color data and is generated. Also, the tone source channel flag TGCHF corresponding to the assigned channel is turned on.
ステップ43では、読み呂したデュレーションデータD
(PN、O)がエンドマークコードであるかを調べる
。NOならば、ステップ44に行き、タイマTIMEの
現在値に該デュレーションデータD (PN、O)を加
算し、その加算結果を当該パッド番号PNに対応する次
イベント時間レジスタNEXT (PN)にストアする
。このNE XT(P N)の値は、次のイベントが起
こる時刻を指示している。その後、ポインタP (PN
)の値を1増加する(ステップ45)。In step 43, the read duration data D
Check whether (PN, O) is an end mark code. If NO, go to step 44, add the duration data D (PN, O) to the current value of the timer TIME, and store the addition result in the next event time register NEXT (PN) corresponding to the pad number PN. . The value of NEXT(P N) indicates the time at which the next event will occur. Then pointer P (PN
) is increased by 1 (step 45).
もし、読み出したデュレーションデータD (PN、0
)がエンドマークコードであれば、ステップ46に行き
、所定のシーケンス終了処理を行う。If the read duration data D (PN, 0
) is an end mark code, the process goes to step 46 and predetermined sequence end processing is performed.
ここでは、シーケンス音の発音を終了させるのに必要な
処理、例えば、キーオフ信号がまだ出されていなければ
、キーオフ信号を楽音信号発生回路17に与えたり、当
該パッド番号PNに対応するパッドメモリPDM (P
N)における音源チャンネルフラグTGCHFをすべて
オフする、等の処理を行う。そして、ポインタP (P
N)の値を所定終了値&HFFにセットし、処理を終
了する(ステップ47)。Here, the processing necessary to end the generation of the sequence tones is performed, for example, if a key-off signal has not been issued yet, a key-off signal is given to the musical tone signal generation circuit 17, and the pad memory PDM corresponding to the pad number PN is (P
Processing such as turning off all sound source channel flags TGCHF in N) is performed. Then, pointer P (P
N) is set to a predetermined end value &HFF, and the process ends (step 47).
以上のようにして、パッドオンイベントのときは、該パ
ッドに割り当てられた最初のイベント順位のシーケンス
音を発音する処理を行う。2番目以降のイベントの処理
は第11図のシーケンス制御処理において行われる。こ
のシーケンス制御処理はメインルーチンが繰り返される
毎に繰返し行われる。As described above, in the case of a pad-on event, processing is performed to generate the sequence sound of the first event order assigned to the pad. Processing of the second and subsequent events is performed in the sequence control process shown in FIG. This sequence control process is repeated every time the main routine is repeated.
プレイモード又は複数音割り当てモードの場合はPAM
=O又はPAM=1であるから、第11図のステップ9
6からステップ104に分岐する。PAM for play mode or multiple note assignment mode
=O or PAM=1, so step 9 in Figure 11
6, the process branches to step 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に
関して上記判定を行う。In step 104, the pad number register PN is preset to 0. Next, in step 105, pad mode data PM (PN) and pointer P (PN) are retrieved from the pad memory PDM (PN) specified by PN.
Read out, PM (PN) = “1” and P (PN)
Check whether ≠&HFF. If the sound generation mode assigned to this pad number PN is not the sequence sound mode, or if the pointer P (PN) is set to the predetermined end value &HFF even if it is the sequence sound mode, the process goes to step 106 and the pad number Check whether PN has reached the maximum value of 4. If the pad number PN has not yet been reached, the process goes to step 107 and the pad number PN is incremented by one. Then, the process returns to step 105 and the above determination is made regarding the pad number PN incremented by 1.
このパット番号PNに割り当てられた発音モードがシー
ケンス発音モードであり、かつポインタP (PN)が
所定終了値&HFFにまだセットされていない場合は、
ステップ105はYESであり、ステップ108に行き
、PNにより指示されたレジスタNEXT (PN)か
ら次イベント時刻データを引き出し、タイマ74MEの
現在値と比較する。タイマTIMEの現在値が次イベン
ト時刻NEXT (PN)に一致するが若しくはそれを
超えたとき、ステップ109に行くが、まだタイマTI
MEの現在値が次イベント時刻NE XT(P N )
に到達していない場合はステップ106に行き、前述の
ステップ106,107,105のループを繰り返す、
5つのパッド番号全部について上述のチエツクが終わる
と、PN=4がYESとなり、このシーケンス制御処理
を終了する。If the sound generation mode assigned to this pad number PN is the sequence sound mode and the pointer P (PN) has not yet been set to the predetermined end value &HFF,
Step 105 is YES, and the process goes to step 108, where the next event time data is extracted from the register NEXT (PN) specified by PN and compared with the current value of timer 74ME. When the current value of the timer TIME matches or exceeds the next event time NEXT (PN), the process goes to step 109, but the timer TI is still
The current value of ME is the next event time NEXT(P N )
If not reached, go to step 106 and repeat the loop of steps 106, 107, and 105 described above.
When the above-mentioned check is completed for all five pad numbers, PN=4 becomes YES, and 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。As this sequence control process is repeated several times, the current value of timer TIME changes to the next event time NEXT (PN
), step 108 becomes YES and the process goes to step 109. In step 109, the pointer P( of the pad memory PDM (PN) specified by PN is
The current value of the pad memory PDM (PN) is read out and the current value of the pad memory PDM (
Event data E (PN, P (PN)) and duration data D (PN, P (PN)) of the event order indicated by the pointer P (PN) from the sequence data area (see Figure 2 C) of PN). is read out, and the sound corresponding to the key code indicated by the event data E (PN, P(PN)) is generated or muted. The event data E (PN.
P(PN))のフラグが押鍵を示すオンフラグの場合は
発音処理を行い、離鍵を示すオフフラグの場合は消音処
理を行う。この発音処理は前述のステップ42の処理と
ほぼ同様の処理であり、該イベントデータE (PN、
P(PN)) により示されたキーコードをいずれか
のチャンネルに割り当て、楽音信号発生回路17の該チ
ャンネルに対して該キーコードとキーオン信号及びバッ
ト音色データPTC(PN)を送出し、これにより該楽
音信号発生回路17の該チャンネルにおいて該キーコー
ドに対応する1つの楽音信号を音色データに対応する音
色で形成し、発生させる。また、割り当てたチャンネル
に対応する音源チャンネルフラグTGCHFをオンにす
る。消音処理は、該イベントデータE (PN、P(P
N))により示されるオフイベントに係るキーコードが
割り当てられているチャンネルに対応して楽音信号発生
回路17に対してキーオフ信号を送出する。どのチャン
ネルに割り当てられているかは音源チャンネルフラグT
GCHFにより判明する。キーオフ信号を送出したチャ
ンネルに関してはその音源チャンネルフラグTGCHF
をオフにするとよい。If the flag P(PN)) is an on flag indicating a key press, a sound generation process is performed, and if it is an off flag indicating a key release, a mute process is performed. This sound generation process is almost the same as the process in step 42 described above, and the event data E (PN,
The key code indicated by P(PN)) is assigned to one of the channels, and the key code, key-on signal, and bat tone data PTC(PN) are sent to the channel of the musical tone signal generation circuit 17, thereby In the channel of the musical tone signal generation circuit 17, one musical tone signal corresponding to the key code is formed and generated using a tone color corresponding to the tone color data. Also, the tone source channel flag TGCHF corresponding to the assigned channel is turned on. The muting process is performed using the event data E (PN, P(P
A key-off signal is sent to the musical tone signal generation circuit 17 corresponding to the channel to which the key code related to the off-event indicated by N)) is assigned. The sound source channel flag T indicates which channel is assigned.
This is determined by GCHF. For the channel that sent the key-off signal, its sound source channel flag TGCHF
It's best to turn it off.
こうして、オフイベントの場合はステップ109で消音
処理が行われ、それまで発音していた当該オフイベント
に係るシーケンス音が消音される。In this way, in the case of an off-event, muting processing is performed in step 109, and the sequence sound related to the off-event that has been generated up to that point is muted.
また、オンイベントの場合はステップ109で発音処理
が行われ、新たなシーケンス音が発音される。Furthermore, in the case of an on-event, sound generation processing is performed in step 109, and a new sequence sound is produced.
ステップ110では、読み出したデュレーションデータ
D (PN、P(PN))がエンドマークコードである
かを調べる。Noならば、ステップ111に行き、タイ
マTIMEの現在値に該デュレーションデータD (P
N、P(PN) )を加算し、その加算結果を当該パッ
ド番号PNに対応する次イベント時間レジスタNEXT
(PN)にストアする。その後−PNにより指示された
ポインタP (P N)の値を1増加する(ステップ1
12)。In step 110, it is checked whether the read duration data D (PN, P(PN)) is an end mark code. If No, the process goes to step 111, and the current value of the timer TIME is set to the corresponding duration data D (P
N, P(PN)), and the addition result is stored in the next event time register NEXT corresponding to the corresponding pad number PN.
Store in (PN). After that, the value of the pointer P (P N) indicated by -PN is increased by 1 (step 1
12).
もし、読み出したデュレーションデータD (PN、P
(PN))がエンドマークコードであれば、ステップ1
13〜114に行き、前述のステップ46.47 (第
6図)と同様の所定のシーケンス終了処理及びポインタ
リセット処理を行う。If the read duration data D (PN, P
(PN)) is the end mark code, step 1
13 to 114, and performs a predetermined sequence end process and pointer reset process similar to steps 46 and 47 (FIG. 6) described above.
以上のようにして、シーケンスデータエリアに記憶され
たイベントデータ及びデュレーションデータに従ってシ
ーケンス音として割り当てられた複数音が順次発音され
る。As described above, a plurality of sounds assigned as sequence sounds are sequentially sounded according to the event data and duration data stored in the sequence data area.
変更例
上記実施例においてこの発明に従う演奏操作子のオフ操
作に応じた割り当て決定処理はr複数置割り当てモード
」において実施されているが、これに限らず、1音のみ
を演奏操作子に割り当てる場合においてもこの発明を実
施することができるのは勿論である。Modification Example In the above embodiment, the assignment determination process in response to the off operation of the performance controller according to the present invention is carried out in the multi-position assignment mode. Of course, the present invention can also be practiced in the following.
また、演奏操作子の数は複数に限らず、1個のみであっ
てもよい。Further, the number of performance operators is not limited to a plurality of pieces, and may be only one.
また、パッドに対する所望音の割り当て処理方法の細部
は上述の実施例に限定されるものではなく、適宜に変更
可能である。Furthermore, the details of the processing method for assigning desired sounds to pads are not limited to the above-described embodiments, and can be changed as appropriate.
また、パッドに対する所望音の割り当て処理及びその他
の各種処理は上述の実施例のようなマイクロコンピュー
タを使用したソフトウェア処理に限らず、専用のハード
ウェア回路によって行うようにしてもよい。Further, the process of assigning desired sounds to pads and various other processes are not limited to software processes using a microcomputer as in the above-described embodiments, 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 with a resilient operation surface) shown in the above embodiment, but any other operator may be used.
また、該演奏操作子のセンサは操作のオン/オフを検知
するのみならず、操作タッチを検知し、このタッチに応
じて発生音を制御するようにしてもよい。Furthermore, the sensor of the performance operator may not only detect the on/off state of the operation, but also detect the operation touch, and control the generated sound in accordance with this touch.
所望の割り当て音を指定する手段として、上記実施例で
は鍵盤若しくは音色指定スイッチ等を使用しているが、
これに限らずその他適宜のデータ入力手段等であっても
よい。In the above embodiment, a keyboard or a tone designation switch is used as a means for specifying a desired assigned tone.
The present invention is not limited to this, and any other appropriate data input means may be used.
以上の通り、この発明によれば、演奏操作子がオンから
オフに切り替わったときに該操作子に対する音の割り当
てが確定されるので、演奏操作子をオンした後でも、オ
フする前であれば、割り当て音の指定変更を自由に行う
ことができる。従って、割り当て音の指定を間違えた場
合でも、単に該割り当て音の指定のし直しを行うだけで
よく、演奏操作子をオン操作し直す必要は全くなく、割
り当ての際の操作が簡単にな−る、という優れた効果を
奏する。As described above, according to the present invention, the assignment of a sound to a performance controller is determined when the performance controller is switched from on to off. , you can freely change the assigned sounds. Therefore, even if you make a mistake in specifying the assigned note, you only need to specify the assigned note again, and there is no need to turn on the performance controller again, making the assignment process easier. It has the excellent effect of
また、演奏操作子をオン操作したときは、まだその割り
当て内容が変更されないので、該オン操作に応じて既割
り当て音の発音を行うことができ、この既割り当て音を
聴いて確認した上で、所望の割り当て音指定を行い、そ
の後、演奏操作子をオフ操作したとき該指定音が新たに
割り当てされる。Also, when you turn on a performance controller, the assignment content is not changed yet, so you can sound the assigned sound in response to the on operation, and after listening to and confirming the assigned sound, After specifying a desired assigned note, when the performance operator is turned off, the specified note is newly assigned.
従って、既割り当て音の発音操作と新音の割り当て操作
を演奏操作子の1回のオン・オフ操作で行うことができ
るので操作が簡単になる、という優れた効果を奏する。Therefore, the production operation of the already assigned note and the operation of assigning the new note can be performed with a single on/off operation of the performance operator, which provides an excellent effect of simplifying the operation.
第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・・・表示器、PO−P4・・・パッド、1
7・・・楽音信号発生回路、18・・・ディジタル/ア
ナログ変換器、19・・・サウンドシステム、20・・
・タイマ、PDMO−PDM4・・・パッドメモリ、P
ASW・・・パッドアサインスイッチ。
特許出願人 ヤ マ ハ 株式会社FIG. 1 is a hardware configuration block diagram showing an embodiment of an electronic musical instrument according to the present invention. FIG. 2 is a diagram showing an example of a storage format of data and a pad memory in a working RAM, and FIG. 3 is a flowchart showing an example of a main routine executed by the microcomputer of the same embodiment. 4 is a flow diagram showing an example of key-on event processing executed in the key processing of FIG. 3, and FIG. 5 is a flow diagram showing an example of key-off event processing executed in the key processing of FIG. 3. FIG. 6 is a flow diagram showing an example of pad-on event processing executed in the pad processing of FIG. 3. FIG. 7 is a flow diagram showing an example of pad-off event processing executed in the pad processing of FIG. 3, and FIG.
9 is a flow diagram showing an example of the pad assignment switch on event process executed in the panel switch process of FIG. 3; FIG. 9 is a flow diagram showing an example of the keyboard percussion switch on event process executed in the panel switch process of FIG. 3; FIG. 10 is a flowchart showing an example of the tone switch-on event process executed in the panel switch process of FIG. 3. FIG. 11 is a flowchart showing an example of the sequence control process executed in the main routine of FIG. FIG. 13 is a flowchart showing an example of the timer-interrupted processing shown in FIG. 12, and FIG. 13 is a diagram showing an example of a switch provided in the panel switch circuit of FIG. 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, PO-P4... Pad, 1
7... Musical sound signal generation circuit, 18... Digital/analog converter, 19... Sound system, 20...
・Timer, PDMO-PDM4...pad memory, P
ASW...Pad assign switch. Patent applicant Yamaha Co., Ltd.
Claims (3)
て音指定手段と、 前記演奏操作子がオンからオフに切り替わったとき前記
割り当て音指定手段で指定された音を該操作子に対して
割り当てる制御を行う割り当て制御手段と、 前記演奏操作子がオンされたとき該操作子に割り当てら
れている音に対応する楽音信号を発生する楽音信号発生
手段と を具えた電子楽器。(1) a performance operator; an assigned sound specifying means for specifying a note to be assigned to the performance operator; and an apparatus for assigning the sound specified by the assigned note specifying means when the performance operator is switched from on to off. An electronic musical instrument comprising: an assignment control means for controlling assignment to an operator; and a musical tone signal generating means for generating a musical tone signal corresponding to a tone assigned to the performance operator when the performance operator is turned on. .
音が指定されたとき該指定音に対応する楽音信号を発生
するものである請求項1に記載の電子楽器。(2) The electronic musical instrument according to claim 1, wherein the musical tone generating means generates a musical tone signal corresponding to the specified tone when a tone is specified by the assigned tone specifying means.
て割り当てた音の情報を記憶する読み書き可能な記憶手
段を有するものであり、前記楽音発生手段は、前記記憶
手段に記憶されている前記音の情報に基づき、前記演奏
操作子に対して割り当てられている音の楽音信号を発生
するものである請求項1に記載の電子楽器。(3) The assignment control means has a readable and writable storage means for storing information on the sounds assigned to the performance operators, and the musical sound generation means is configured to have a readable and writable storage means for storing information on the sounds assigned to the performance operators, and the musical tone generation means is configured to store the information on the sounds assigned to the performance operators. 2. The electronic musical instrument according to claim 1, wherein the electronic musical instrument generates a musical tone signal of a tone assigned to the performance operator based on sound information.
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 true JPH04170596A (en) | 1992-06-18 |
JPH0748159B2 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) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62157098A (en) * | 1985-12-28 | 1987-07-13 | カシオ計算機株式会社 | Electronic percussion instrument |
JPS636786U (en) * | 1986-07-01 | 1988-01-18 |
-
1990
- 1990-11-01 JP JP2296601A patent/JPH0748159B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62157098A (en) * | 1985-12-28 | 1987-07-13 | カシオ計算機株式会社 | Electronic percussion instrument |
JPS636786U (en) * | 1986-07-01 | 1988-01-18 |
Also Published As
Publication number | Publication date |
---|---|
JPH0748159B2 (en) | 1995-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5952434B2 (en) | electronic musical instruments | |
US5281756A (en) | Electronic musical instrument capable of assigning desired tones to a performance operator | |
JPH04170596A (en) | Electronic music instrument | |
WO2007015320A1 (en) | Tone color storage device, tone color storage method, and computer program for storing tone colors | |
JP2757856B2 (en) | Electronic musical instrument | |
KR920005713B1 (en) | Electronic musical instrument having rhythm playing function | |
JPS62235989A (en) | Accompanying pattern selector | |
JP4318194B2 (en) | Automatic accompaniment apparatus and automatic accompaniment method for electronic musical instrument | |
JP2531040B2 (en) | Electronic musical instrument | |
JP2555569B2 (en) | Electronic musical instrument | |
JPS61292691A (en) | Keyed instrument for transmitting automatic accompanying information | |
JP2600741B2 (en) | Rhythm pattern program device | |
JPH0115878B2 (en) | ||
JP2611694B2 (en) | Automatic performance device | |
JPH0822282A (en) | Automatic accompaniment device for guitar | |
JP3013796B2 (en) | Rhythm playing device | |
JP2668691B2 (en) | Rhythm playing device | |
JP3275341B2 (en) | Tone generator | |
JPH0515279B2 (en) | ||
JP3505292B2 (en) | Arpeggiator | |
JP3389609B2 (en) | Electronic musical instrument | |
JP2630268B2 (en) | Rhythm sound generator | |
JPH073639B2 (en) | Autorhythm device | |
JP2001013965A (en) | Rhythm playing device | |
JPS6329272B2 (en) |
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 |