JPH0248699A - Envelope controller - Google Patents
Envelope controllerInfo
- Publication number
- JPH0248699A JPH0248699A JP63200406A JP20040688A JPH0248699A JP H0248699 A JPH0248699 A JP H0248699A JP 63200406 A JP63200406 A JP 63200406A JP 20040688 A JP20040688 A JP 20040688A JP H0248699 A JPH0248699 A JP H0248699A
- Authority
- JP
- Japan
- Prior art keywords
- key
- data
- cpu
- musical tone
- musical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003252 repetitive effect Effects 0.000 claims description 46
- 238000013016 damping Methods 0.000 abstract description 5
- 230000000994 depressogenic effect Effects 0.000 abstract 1
- 230000005236 sound signal Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 51
- 108700012361 REG2 Proteins 0.000 description 21
- 101150108637 REG2 gene Proteins 0.000 description 21
- 101100120298 Rattus norvegicus Flot1 gene Proteins 0.000 description 21
- 101100412403 Rattus norvegicus Reg3b gene Proteins 0.000 description 21
- 108010062653 Wiskott-Aldrich Syndrome Protein Family Proteins 0.000 description 18
- 230000002238 attenuated effect Effects 0.000 description 17
- 102100037103 Wiskott-Aldrich syndrome protein family member 2 Human genes 0.000 description 15
- 101001096074 Homo sapiens Regenerating islet-derived protein 4 Proteins 0.000 description 14
- 102100037889 Regenerating islet-derived protein 4 Human genes 0.000 description 14
- 108700012364 REG1 Proteins 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 108091058543 REG3 Proteins 0.000 description 5
- 102100027336 Regenerating islet-derived protein 3-alpha Human genes 0.000 description 5
- 101100301524 Drosophila melanogaster Reg-5 gene Proteins 0.000 description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 4
- 102100023882 Endoribonuclease ZC3H12A Human genes 0.000 description 3
- 101710112715 Endoribonuclease ZC3H12A Proteins 0.000 description 3
- 102100038144 Wiskott-Aldrich syndrome protein family member 1 Human genes 0.000 description 3
- QGVYYLZOAMMKAH-UHFFFAOYSA-N pegnivacogin Chemical compound COCCOC(=O)NCCCCC(NC(=O)OCCOC)C(=O)NCCCCCCOP(=O)(O)O QGVYYLZOAMMKAH-UHFFFAOYSA-N 0.000 description 3
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 102100038445 Claudin-2 Human genes 0.000 description 1
- 102100033934 DNA repair protein RAD51 homolog 2 Human genes 0.000 description 1
- 101001132307 Homo sapiens DNA repair protein RAD51 homolog 2 Proteins 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000011295 pitch Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はエンベロープ制御装置に関し、例えばリピー
ト効果、ツインマレット効果等の効果を付与した楽音を
発生する電子楽器に適用して好適なものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an envelope control device, and is suitable for application to electronic musical instruments that generate musical tones with effects such as repeat effects and twin mallet effects. .
この発明は、複数の繰返し波形をもつエンベロープの楽
音を発生させるようになされた電子楽器において、所定
の期間の間にキーオフ操作情報が生じたときこれを保留
した後自然減衰波形を発生させるようにしたことにより
、楽音に不自然な雑音を生じさせることなく減衰さする
ことができる。The present invention is an electronic musical instrument designed to generate an envelope musical tone having a plurality of repeating waveforms, in which when key-off operation information occurs during a predetermined period, it is held and then a naturally decaying waveform is generated. As a result, the musical tones can be attenuated without causing unnatural noise.
従来の電子楽器において、楽音にリピート効果を付与す
る方法として、リピートパルス発振器において所定の周
期で発生されるリピートパルスによってエンベロープカ
ウンタのアドレスをリセットすることにより、繰返し波
形を発生させるようにした電子楽器が提案されている(
特公昭57−29715号公報)。In conventional electronic musical instruments, as a method of imparting a repeat effect to musical tones, a repetitive waveform is generated by resetting the address of an envelope counter with repeat pulses generated at a predetermined period in a repeat pulse oscillator. has been proposed (
(Special Publication No. 57-29715).
〔発明が解決しようとする問題点〕
ところがかかる構成によると、リピートパルス発振器か
らリピートパルスが発生したとき、それまでの演奏によ
って発生された楽音が減衰し切れずに残っているような
場合には、続いて新たな繰返し波形が発生する際に、そ
れまで残っていた楽音と、リピート演奏によって発生す
る新たな楽音との間にエンベロープに不連続点ができる
ためにクリック音が生ずる問題がある。[Problems to be Solved by the Invention] However, with this configuration, when a repeat pulse is generated from the repeat pulse oscillator, if the musical tones generated by the previous performance have not been completely attenuated and remain. Then, when a new repeated waveform is generated, there is a problem in that a click sound is generated because a discontinuous point is created in the envelope between the previously remaining musical tone and the new musical tone generated by the repeated performance.
この問題を解決する1つの方法として、例えば特開昭5
9−136788号公報に開示されている構成を利用し
て、リピートする楽音を発生する直前にそれまで発生し
ていた楽音を急速減衰させることにより、クリック音の
発生を未然に防止し得るように構成することが考えられ
る。As one way to solve this problem, for example,
Utilizing the configuration disclosed in Japanese Patent No. 9-136788, the generation of click sounds can be prevented by rapidly attenuating the musical tones that have been generated up to that point immediately before the repeated musical tones are generated. It is possible to configure
ところがこのようにすると、演奏者がキーを押鍵操作し
ている状Qi(これをキーオン操作状態と呼ぶ)からキ
ーを離鍵操作したとき(これをキーオフ操作と呼ぶ)、
それまで発生している楽音が急速減衰波形に沿って速い
速度で減衰しながらこれに続いて急激に途切れるために
、結局楽音が不自然にブランと切れるような印象を与え
るおそれがある。However, in this case, when the performer releases the key from the state Qi in which the key is pressed (this is called the key-on operation state) (this is called the key-off operation),
Since the musical tone that has been generated up to that point decays at a high speed along the rapid decay waveform and then suddenly stops, there is a risk that the musical tone may end up giving the impression that it cuts off unnaturally.
この発明は以上の点を考慮してなされたもので、演奏者
がキーオフ操作したとき、楽音に不自然な変化(不必要
な雑音を発生したり、急激に途切れたりするような変化
)を生じさせないようにしたエンベロープ制御装置を提
案しようとするものである。This invention was made in consideration of the above points, and it is possible that when a performer performs a key-off operation, an unnatural change occurs in the musical tone (such as a change that generates unnecessary noise or suddenly stops). This paper attempts to propose an envelope control device that prevents this from occurring.
かかる問題点を解決するため第1の発明においては、キ
ーオン操作及びキーオフ操作によって得られるキーオン
操作情報5TBUF (i) 145m及びキーオフ操
作によって得られるキーオフ操作情報5TBUF (i
)□、に基づいて複数の繰返し波形WAVEI、WAV
E2をもつエンベロープの楽音を発生させるようになさ
れた電子楽器において、キーオン操作情報5TBUF
(i)□、に基づいて楽音キーオン処理情報KEYBU
F(i)0.を発生する楽音キーオン処理情報発生手段
(5、RT3)と、キーオフ操作情報5TBUF(i)
□、に基づいて楽音キーオフ処理情報KEY B U
F (i ) xtsを発生する楽音キーオフ情報処理
手段(5、RT5)と、楽音キーオン情報KEYBUF
(i)。3及び楽音キーオフ情報KEYBLJF (
i)。、が与えられたとき複数の繰返し波形WAVEI
SWAVE2をもツエンヘロープの楽音信号を発生する
楽音信号発生手段(5,8)と、繰返し波形WAVEI
、WAVE2の発生期間のうち所定の期間に対応するタ
イミングTIM=0〜TIM=15でキーオフ操作情報
5TBUF (i)□、が生じたとき、当該所定の期間
TIM=0〜TIM=15が経過するまでの間楽音キ−
オフ処理情報KEYBUF (i) 145mを保留し
、当該経過時点TIM=15において楽音信号発生手段
(5,8)から自然減衰波形W15を有する楽音信号S
NDを発生させる楽音キーオフ処理情報保留手段(5、
RT5.5P28)とを具えるようなエンベロープ制御
装置を構成する。In order to solve this problem, in the first invention, key-on operation information 5TBUF (i) 145m obtained by key-on operation and key-off operation and key-off operation information 5TBUF (i) obtained by key-off operation
) □, multiple repetitive waveforms WAVEI, WAV
In an electronic musical instrument designed to generate an envelope musical tone with E2, key-on operation information 5TBUF
(i) Musical key-on processing information KEYBU based on □.
F(i)0. musical tone key-on processing information generating means (5, RT3) that generates key-off operation information 5TBUF (i);
□, musical tone key-off processing information KEY B U
F (i) musical tone key-off information processing means (5, RT5) that generates xts, and musical tone key-on information KEYBUF
(i). 3 and musical key-off information KEYBLJF (
i). , given multiple repetitive waveforms WAVEI
SWAVE2 also includes musical tone signal generating means (5, 8) that generates a Zenherop musical tone signal, and a repetitive waveform WAVEI.
, when key-off operation information 5TBUF (i) □ occurs at timing TIM=0 to TIM=15 corresponding to a predetermined period in the generation period of WAVE2, the predetermined period TIM=0 to TIM=15 elapses. Musical tone key until
Off processing information KEYBUF (i) 145m is held and a musical tone signal S having a naturally decaying waveform W15 is generated from the musical tone signal generating means (5, 8) at the elapsed time TIM=15.
Musical tone key-off processing information retention means (5,
RT5.5P28).
また第2の発明においては、複数の繰返し波形WAVE
I、WAVE2のディケイ波形部W14に急速減衰波形
Wllを形成する急速減衰波形形成手段(5,5P26
)を具え、楽音キーオフ処理情報保留手段(5、RT5
.5P28)は、急速減衰波形Wllが形成されている
期間TIM=0〜T I M= 2の間、楽音キーオフ
処理情報KEYBUF (i)ms++を保留するよう
にする。Further, in the second invention, a plurality of repetitive waveforms WAVE
I, a rapid decay waveform forming means (5, 5P26) that forms a rapid decay waveform Wll in the decay waveform portion W14 of WAVE2.
), musical tone key-off processing information retention means (5, RT5
.. 5P28) holds the tone key-off processing information KEYBUF (i) ms++ during the period TIM=0 to TIM=2 during which the rapid decay waveform Wll is formed.
また第3の発明においては、楽音キーオフ処理情報保留
手段(5、RT5.5P28)は、複数の繰返し波形W
AVEI、WAVE2のアタック波形部W12が形成さ
れている期間の間、楽音キーオフ処理情報KEYBUF
(i) Mssを保留するようにする。Further, in the third invention, the musical tone key-off processing information holding means (5, RT5.5P28) stores a plurality of repetitive waveforms W.
During the period in which the attack waveform portion W12 of AVEI and WAVE2 is being formed, the musical tone key-off processing information KEYBUF
(i) Put Mss on hold.
繰返し波形WAVEI、WAVE2のうち、所定の期間
TIM=0〜TIM=15の間、楽音キーオフ処理情報
KEYBUF (1)xsmを楽音信号発生手段(5,
8)に与えないように保留した後自然減衰波形を呈する
ように楽音を減衰させるようにしたことにより、楽音に
不自然な変化を住しさせることなく楽音を自然減衰させ
ることができる。Among the repetitive waveforms WAVEI and WAVE2, the musical tone key-off processing information KEYBUF (1)xsm is transmitted to the musical tone signal generating means (5,
8), and then the musical tone is attenuated so as to exhibit a natural attenuation waveform, so that the musical tone can be naturally attenuated without causing unnatural changes in the musical tone.
以下図面について、この発明の一実施例を詳述する。 An embodiment of the present invention will be described in detail below with reference to the drawings.
〔1〕第1実施例
(1)全体の構成
第1図において、lは全体として電子楽器を示し、鍵盤
部2から入力されたキー情報KINと、パネル操作部3
から入力された操作子情報PINとを、ROM構成のプ
ログラムメモリ部4に格納されているプログラムデータ
に基づいて第4図に示すメインルーチンを実行する中央
処理ユニット(CPU)5によって処理しながら、バス
6を介してRAM構成の8ビツトのレジスタ群でなるレ
ジスタ部7 (第2図)に取り込むようになされている
。[1] First embodiment (1) Overall configuration In FIG. 1, l indicates an electronic musical instrument as a whole, and key information KIN input from the keyboard section 2 and the panel operation section 3
While processing the operator information PIN input from the central processing unit (CPU) 5 which executes the main routine shown in FIG. 4 based on the program data stored in the program memory section 4 having a ROM configuration, The data is loaded via a bus 6 into a register section 7 (FIG. 2) consisting of a group of 8-bit registers having a RAM configuration.
この実施例の場合、電子楽器1は同時に複数例えば16
音の楽音を発生できるようになされ、CPU5は複数の
キーが同時にキーオン操作されたとき、各キーのデータ
を16個の発音チャンネルのいずれかに割り当てること
により、キーオン操作された各キーに対応する楽音を発
生し得るようになされている。CPU5はキーオン操作
された各キーに対応する楽音制御情報MUSを、バス6
を介して楽音信号発生部(TG)8に供給することによ
り、楽音信号発生部(TG)8から各キーに対応する楽
音信号SNDを発生させてこれをサウンドシステム9に
おいて楽音に変換させる。In the case of this embodiment, the electronic musical instrument 1 can be used for a plurality of devices at the same time, for example, 16
When a plurality of keys are pressed simultaneously, the CPU 5 assigns the data of each key to one of the 16 sound generation channels to correspond to each key pressed. It is designed to be able to generate musical tones. The CPU 5 sends the musical tone control information MUS corresponding to each key operated by the key-on operation to the bus 6.
By supplying the signal to the musical tone signal generating section (TG) 8 via the musical tone signal generating section (TG) 8, the musical tone signal SND corresponding to each key is generated from the musical tone signal generating section (TG) 8, and this is converted into a musical tone in the sound system 9.
この実施例の場合、第3図に示すように、61個のキー
に対応する音高CI 、・・・・・・、cz % C3
”、・・・・・・、B、 、C,に対して、それぞれキ
ーコード24、・・・・・・、48.49・旧・・、8
3.84が割り当てられている。In the case of this embodiment, as shown in FIG. 3, the pitches CI, ..., cz % C3 corresponding to 61 keys are
”,...,B, ,C,respectively, key code 24,...,48.49・old...,8
3.84 has been assigned.
CPU5は電源投入時第4図に示すメインルーチンRT
Oに入って、ステップRTIにおいてイニシャライズル
ーチンを実行することにより、電子楽器1を全体として
初期設定する。このときレジスタ部7の各レジスタがリ
セットされる。When the power is turned on, the CPU 5 executes the main routine RT shown in FIG.
0 and executes an initialization routine in step RTI, thereby initializing the electronic musical instrument 1 as a whole. At this time, each register of the register section 7 is reset.
その後CPU5はステップRT2において、鍵盤部2の
キー情報KINに基づいていずれかのキーについてキー
オン操作がされた(これをキーオンイベントと呼ぶ)キ
ーがあるが否かの判断をし、肯定結果が得られたときキ
ーオンイベント処理ルーチンRT3を実行した後ステッ
プRT4に移り、これに対して否定結果が得られたとき
ステップRT4にジャンプする。After that, in step RT2, the CPU 5 determines whether or not there is a key-on operation for any key (this is called a key-on event) based on the key information KIN of the keyboard section 2, and obtains an affirmative result. When the key-on event processing routine RT3 is executed, the process moves to step RT4, and when a negative result is obtained, the process jumps to step RT4.
このステップRT4においてCPU5は、鍵盤部2のキ
ー情@KINに基づいてキーオフ操作された(これをキ
ーオフイベントと呼ぶ)キーがあるか否かを判断し、肯
定結果が得られたときCPU5はキーオフイベント処理
ルーチンRT5を実行した後ステップRT6に移り、こ
れに対して否定結果が得られたときステップRT6にジ
ャンプする。In step RT4, the CPU 5 determines whether or not there is a key that has been operated as a key-off event (this is called a key-off event) based on the key information @KIN of the keyboard section 2, and when a positive result is obtained, the CPU 5 turns off the key. After executing the event processing routine RT5, the process moves to step RT6, and when a negative result is obtained, the process jumps to step RT6.
このステップRT6においてCPU5は、パネル操作部
3の操作子情報PINに基づいて演奏者が音色の指定を
切り換えるような操作(これを音色チェンジ操作と呼ぶ
)があったか否かの判断をし、肯定結果が得られたとき
音色チェンジ処理ルーチンRT7の処理を実行した後そ
の他の処理ルーチンRT8に移るのに対して、否定結果
が得られたときその他の処理ルーチンRT8にジャンプ
する。In this step RT6, the CPU 5 determines whether or not the performer has performed an operation to change the tone designation (this is called a tone change operation) based on the operator information PIN of the panel operation section 3, and if the result is affirmative, When a negative result is obtained, the process executes the tone color change process routine RT7 and then moves to another process routine RT8, whereas when a negative result is obtained, the process jumps to another process routine RT8.
その他の処理ルーチンRT8においてCPU5はキーオ
ンイベント、キーオフイベント、音色チェンジの処理以
外の処理、例えば音量ボリュームの処理等を実行した後
上述のステップRT2に戻る。In other processing routine RT8, the CPU 5 executes processing other than key-on event, key-off event, and tone color change processing, such as volume processing, and then returns to step RT2 described above.
か(してCPU5は循環処理ループLOOP 1を形成
し、この循環処理ループLOOPIの処理を繰り返すこ
とによって演奏者の演奏操・作に対応する楽音を繰り返
し発生する。Then, the CPU 5 forms a cyclical processing loop LOOP1, and by repeating the processing of this cyclical processing loop LOOPI, it repeatedly generates musical tones corresponding to the performer's performance operations.
(2)キーオンイベントの処理
循環処理ループLOOP 1を循環している状態におい
て演奏者がキーオン操作をすると、CPU5はキーオン
イベント処理ルーチンRT3において第5図に示すよう
な処理を実行する。(2) Processing of key-on event When the performer performs a key-on operation while the loop LOOP 1 is being circulated, the CPU 5 executes the processing shown in FIG. 5 in the key-on event processing routine RT3.
CPU5は先ず、ステップSPIにおいてキーオンイベ
ントがあったキーのキーコードをレジスタ部7 (第2
図)のイベントキーコードレジスタREG3に、イベン
トキーコードデータ NKYL!m 、、4mとして
取り込む。First, the CPU 5 stores the key code of the key in which the key-on event occurred in the step SPI in the register section 7 (second
The event key code data NKYL! is stored in the event key code register REG3 in the figure). Import as m,,4m.
イベントキーコードレジスタREG3は8ビツトのメモ
リエリアのうち第0番目〜第6番目のビットに7ビツト
のキーコードデータでなるイベントキーコードデータN
KYL、、〜1.を記憶する。Event key code register REG3 stores event key code data N consisting of 7-bit key code data in the 0th to 6th bits of the 8-bit memory area.
KYL, ~1. remember.
続いてCPU5はステップSP2に移ってレジスタ部7
の演奏モードレジスタREG5の演奏モードデータMO
DEを読み出してその内容がOであるか否かの判断をす
る。Next, the CPU 5 moves to step SP2 and registers the register section 7.
Performance mode data MO of performance mode register REG5
DE is read and it is determined whether the content is O or not.
この実施例の場合CPU5は、電子楽器1を3つの演奏
モード、すなわちノーマル演奏モード、リピート演奏モ
ード及びツインマレット演奏モードを実現するようなエ
ンベロープを付与した楽音信−1;NDを、演奏者が音
色を選択することにより指定できるようになされており
、CPU5は演奏者がそれぞれノーマル演奏、リピート
演奏及びツインマレット演奏を指定したとき、演奏モー
ドデータMODEとして3値のデータ、すなわちMOD
E= rOJ、rlJ、「2」を保持するようになされ
ている。In the case of this embodiment, the CPU 5 allows the player to play the musical tone signal 1; This can be specified by selecting a tone, and when the performer specifies normal performance, repeat performance, and twin mallet performance, the CPU 5 outputs three-value data as performance mode data MODE, that is, MOD.
E= rOJ, rlJ, "2" is maintained.
ここで、入力指定された音色についての音色パラメータ
データ及び当該音色を演奏モードに変換する変換データ
は、ROM構成の変換テーブル及び音色パラメータメモ
リ部10に格納され、CPU5は演奏者が音色を指定し
たとき対応する音色パラメータデータを楽音信号発生部
(TG)8に転送すると共に、演奏モードデータMOD
Eをレジスタ部7の演奏モードレジスタREG5に保持
するようになされている。Here, the timbre parameter data for the input specified timbre and the conversion data for converting the timbre into a performance mode are stored in a conversion table of ROM configuration and the timbre parameter memory section 10, and the CPU 5 stores the timbre parameter data for the input specified timbre and the conversion data for converting the timbre into a performance mode. At the same time, the corresponding tone parameter data is transferred to the musical tone signal generator (TG) 8, and the performance mode data MOD
E is held in the performance mode register REG5 of the register section 7.
ここでCPU5はノーマル演奏モード(MODE=rO
J)が指定されたとき、第6図(A)及び第7図(A)
及び(B)に示すように、キーオン操作されてキーオン
信号KON (キー情報KINに含まれている)が論理
「1」に立ち上がった後キーオフ操作されるまでの間、
すべてのキーの楽音を同時かつ連続的に発音させるよう
なエンベロープをもつ楽音をサウンドシステム9から発
生させる。Here, the CPU 5 is in normal performance mode (MODE=rO
J) is specified, Figures 6(A) and 7(A)
As shown in (B), after the key-on operation and the key-on signal KON (included in the key information KIN) rises to logic "1", until the key-off operation is performed,
A sound system 9 generates a musical tone having an envelope such that musical tones of all keys are simultaneously and continuously produced.
またCPU5はリピート演奏モード(MODE=rlJ
)が指定されたとき、第6図(B)及び第8図(A)、
(J)に示すように、キーオン操作されてキーオン信号
KONが論理rlJに立ち上がっている期間において、
すべてのキーの楽音を同時にかつ一定周期で間欠的に発
音させるようなエンベロープ(急速減衰波形部W11、
アタック波形部W12、サスティン波形部W13、ディ
ケイ波形部W14を有する繰返し波形WAVEIを形成
する)をもつ楽音をサウンドシステム9から発生させる
。Moreover, the CPU 5 is in the repeat performance mode (MODE=rlJ
) is specified, Fig. 6(B) and Fig. 8(A),
As shown in (J), during the period when the key-on operation is performed and the key-on signal KON rises to logic rlJ,
An envelope (rapid decay waveform part W11,
A musical tone having a repetitive waveform WAVEI having an attack waveform part W12, a sustain waveform part W13, and a decay waveform part W14 is generated from the sound system 9.
さらにCPU5はツインマレット演奏モード(MODE
= r2J’)が指定されたとき、第6図(C)及び第
8図(A)、(J)、(K)に示すように、キーオン操
作されてキーオン信号KONが論理「1」に立ち上がっ
ている期間において、同時に発音しているキーのうち最
低音の楽音でなる第1の楽音と、その他の楽音群でなる
第2の楽音とに分け、第1の楽音及び第2の楽音を所定
の周期で交互に間欠的に発音させるようなエンベロープ
(第1の楽音について、急速減衰波形部Wll、アタッ
ク波形部W12、サスティン波形部W13、ディケイ波
形部W14ををする繰返し波形WAVE1を形成し、ま
た第2の楽音について、急速減衰波形部W21、アタッ
ク波形部W22、サスティン波形部W23、ディケイ波
形部W24を有する繰返し波形WAVE2を形成する)
をもつ楽音をサウンドシステム9から発生させる。Furthermore, CPU5 is set to twin mallet performance mode (MODE).
= r2J') is specified, the key-on operation causes the key-on signal KON to rise to logic "1", as shown in Fig. 6 (C) and Fig. 8 (A), (J), and (K). During this period, the first musical tone is divided into a first musical tone consisting of the lowest musical tone among the keys that are being sounded simultaneously, and a second musical tone consisting of other musical tones, and the first musical tone and the second musical tone are divided into a predetermined musical tone. (For the first musical tone, a repeating waveform WAVE1 is formed that has a rapid decay waveform part Wll, an attack waveform part W12, a sustain waveform part W13, and a decay waveform part W14.) Also, for the second musical tone, a repetitive waveform WAVE2 having a rapid decay waveform part W21, an attack waveform part W22, a sustain waveform part W23, and a decay waveform part W24 is formed)
A musical tone having the following values is generated from a sound system 9.
第5図のステップSP2において肯定結果が得られると
、このことは現在指定されている演奏モードがノーマル
モードであることを意味しており、このときCPU5は
ステップSP3に移って第1番目(i=0〜15)の発
音チャンネルについて、現在キーオン操作されているキ
ーが割り当てられていない発音チャンネルのうち、最も
キーオフ操作時点が古い発音チャンネルをサーチして当
該チャンネルを表すチャンネル番号データをレジスタ部
7の割当チャンネルレジスタREG9に割当チャンネル
データASSとして保持する。If a positive result is obtained in step SP2 of FIG. Among the sound generation channels of 0 to 15), the sound generation channel with the oldest key-off operation time is searched among the sound generation channels to which the currently key-on operation key is not assigned, and the channel number data representing the channel is stored in the register section 7. It is held in the allocated channel register REG9 as allocated channel data ASS.
続いてCPU5はステップSP4に移ってレジスタ部7
の発音チャンネルキーコードレジスタREGIのうち、
割当チャンネルレジスタREG9の割当チャンネルデー
タASSに対応する第1番目(i=Ass)の発音チャ
ンネルの発音キーコードデータKEYBUF (ASS
) Lss−61に、イベントキーコードレジスタRE
G3のイベントキーコードデータNKYLsm〜、を書
き込むと共に、発音オン/オフデータKEYBUF (
ASS) 01mに論理「1」のデータを書き込む。Next, the CPU 5 moves to step SP4 and registers the register section 7.
Of the pronunciation channel key code register REGI,
Sound generation key code data KEYBUF (ASS
) In Lss-61, event key code register RE
In addition to writing the G3 event key code data NKYLsm~, the sound generation on/off data KEYBUF (
ASS) Write logic “1” data to 01m.
発音チャンネルキーコードレジスタREGIは、楽音信
号発生部(TG)8を発音制御するためのデータを保持
するもので第0〜第6ビツトのメモリエリアに7ビツト
のキーコードデータでなる発音キーコードデータKEY
BUF (i)Lsm〜、。The sound generation channel key code register REGI holds data for controlling the sound generation of the musical tone signal generator (TG) 8, and stores sound generation key code data consisting of 7-bit key code data in the memory area of the 0th to 6th bits. KEY
BUF (i) Lsm~,.
を記憶すると共に、第7ビツトのメモリエリアに論理「
1」 (楽音を発音すべき制御状態、すなわち発音キー
オン状態にあることを表す)、又は論理「0」 (楽音
を減衰すべき制御状態、すなわち発音キーオフ状態にあ
ることを表す)の1ビツトのデータでなる発音オン/オ
フデータKEYBUF (+)□、を記憶する。is stored in the memory area of the 7th bit.
1” (represents the control state in which musical tones should be produced, that is, the sound generation key is on), or logic “0” (represents the control state in which musical tones are to be attenuated, that is, the sound generation key is off). The sound generation on/off data KEYBUF (+)□ is stored.
かくして発音チャンネルキーコードレジスタREGIの
第0〜第6ビツトにキーオンイベントが生じたキーのキ
ーコードを表す発音キーコードデータKEYBUF (
Ass) Lsm ++4mが保持されると同時に、第
7ビツトに当該発音チャンネルを発音動作させるべき状
態(これを楽音キーオン状態と呼ぶ)にあることを表す
論理「1」の発音オン/オフデータKEYBUF (A
SS)□、が保持される。Thus, the 0th to 6th bits of the sound generation channel key code register REGI contain sound generation key code data KEYBUF (
Ass) Lsm ++4m is held, and at the same time, the sound generation on/off data KEYBUF ( A
SS) □ is held.
このようにしてキーオンイベントが生じたキーについて
の発音チャンネルへの割り当てを終了するとCPU5は
、次のステップSP5において楽音信号発生部(TO)
8に対して楽音制御情報MUSを与えることにより、当
該割当チャンネルデータASSの発音チャンネルについ
て、発音キーコードデータKEYBUF (ASS)L
SI−61が表すキーコード(すなわちキーオンイベン
トが生じたイベントキーコードデータNKYのキーコー
ド)の楽音信号についてのキーオン処理を実行させた後
、ステップSP6を介してメインルーチンに戻る。After completing the assignment of the key in which the key-on event has occurred to the sound generation channel in this way, the CPU 5 controls the musical tone signal generation section (TO) in the next step SP5.
By giving musical tone control information MUS to 8, the sound generation key code data KEYBUF (ASS)L is set for the sound generation channel of the assigned channel data ASS.
After performing key-on processing on the musical tone signal of the key code represented by SI-61 (ie, the key code of event key code data NKY where a key-on event has occurred), the process returns to the main routine via step SP6.
これに対してステップSP2において否定結果が得られ
ると、このことは現在指定されている演奏モードがリピ
ート演奏モード又はツインマレット演奏モードであるこ
とを表しており、このときCPU5はステップSP7に
移ってすべての発音チャンネル(i=0〜15)につい
て、レジスタ部7の発音チャンネル操作状態レジスタR
EG2のキーオン/キーオフデータ5TBUF (i)
□。On the other hand, if a negative result is obtained in step SP2, this indicates that the currently designated performance mode is the repeat performance mode or the twin mallet performance mode, and at this time, the CPU 5 moves to step SP7. For all the sound generation channels (i=0 to 15), the sound generation channel operation status register R of the register section 7
EG2 key-on/key-off data 5TBUF (i)
□.
が論理「0」となっている発音チャンネルiの中から割
当チャンネルを選択して割当チャンネルレジスタREG
9に割当チャンネルデータASSとして保持する。Select the assigned channel from among the sounding channels i for which is logical "0" and register the assigned channel register REG.
9 as allocated channel data ASS.
ここで発音チャンネル操作状態レジスタREC2は各発
音チャンネル(i=Q〜15)に割り当てられているキ
ーコードのキーに対して現在要求されている操作状態を
表すデータを保持するもので、第7ビツトのメモリエリ
アに論理「l」 (演奏者がキーオン操作している状態
、すなわちキーオン操作状態にあることを表す)、又は
論理「O」 (演奏者がキーオフ操作している状態、す
なわちキーオフ操作状態にあることを表す)の1ビツト
のデータでなるキーオン/キーオフデータ5TBUF(
i)xs*を記憶する。Here, the sound generation channel operation state register REC2 holds data representing the currently requested operation state for the key of the key code assigned to each sound generation channel (i=Q to 15), and the 7th bit In the memory area of the memory area, there is a logic "l" (representing the player's key-on operation, i.e., the key-on operation state) or a logic "O" (the performer's key-off operation, i.e., the key-off operation state). The key-on/key-off data consists of 1 bit data of 5TBUF (representing that the
i) Store xs*.
また発音チャンネル操作状態レジスタREG2は、第6
ビツトのメモリエリアに論理「1」 (キーオン/キー
オフデータ5TBUF (i) 、4ssが論理rOJ
状態にあり、従って演奏者がキーオフ操作したにもかか
わらず、発音オン/オフデータKEYBUF (i)
Plsmを論理「1」の状態、従って楽音信号発生部(
TO)8をキーオン動作状態に保持する状態に保留され
ていることを表す)、又は論理「O」 (当該保留状態
にはないことを表す)の1ビツトのデータでなるキーオ
フリクエストデータ5TBUF (i)6mを記憶する
。Also, the sound generation channel operation status register REG2 is the sixth
Logic “1” in the bit memory area (key-on/key-off data 5TBUF (i), 4ss is logic rOJ
Therefore, even though the performer has performed a key-off operation, the sound on/off data KEYBUF (i)
Plsm is in the logic "1" state, therefore the musical tone signal generator (
Key-off request data 5TBUF (i )6m is memorized.
さらに発音チャンネル操作状態レジスタREG2は、第
0ビツトのメモリエリアに論理「l」 (楽音信号発生
部(TG)8をキーオフ動作させないキーオフ禁止状態
、すなわちディスイネーブル状態にあることを表す)、
又は論理「O」 (当該キーオフ禁止状態にはないこと
を表す)の1ビツトのデータでなるキーオフデイスイネ
ーブルデ〜り5TBUF (i)131を記憶する。Furthermore, the sound generation channel operation status register REG2 has a logic "l" in the memory area of the 0th bit (indicating that the tone signal generator (TG) 8 is in a key-off prohibited state in which the key-off operation is not performed, that is, in a disable state).
Alternatively, a key-off disable enable data 5TBUF(i) 131 consisting of 1-bit data of logic "O" (indicating that the key-off prohibited state is not in question) is stored.
このようにして、CPU5がステップSP7においてキ
ーオン/キーオフデータ5TBUF (i)。m”rO
Jの条件の発音チャンネルiをサーチして割当チャンネ
ルを選択したことは、キーオンデータが割り当てられて
いない発音チャンネルの1つにキーオンデータを割り当
てたことになる。In this way, the CPU 5 generates the key-on/key-off data 5TBUF (i) in step SP7. m”rO
Searching for the sound generation channel i under the condition J and selecting the assigned channel means that the key-on data is assigned to one of the sound generation channels to which no key-on data is assigned.
続いてCPU5は、ステップSP8に移ってイベントキ
ーコードレジスタREG3のイベントキーコードデータ
NKYts*〜1を発音チャンネルキーコードレジスタ
REG1に発音キーコードデータKEYBUF (As
s)Ll。〜lとして書き込むと共に、発音オン/オフ
データKEYBUF(ASS)MSmとして論理「1」
データを書き込む。Next, the CPU 5 moves to step SP8 and transfers the event key code data NKYts*~1 of the event key code register REG3 to the sound generation channel key code register REG1.
s) Ll. ~l and write logic “1” as sound on/off data KEYBUF (ASS) MSm.
Write data.
かくしてcpusは割り当てられた発音チャンネルにつ
いて、楽音信号発生部(TG)8をキーオン処理させる
ことができる状態になる。Thus, the CPU is in a state where it can perform key-on processing on the musical tone signal generator (TG) 8 for the assigned sound generation channel.
続いてCPU5はステップSP9に移って、イベントキ
ーコードレジスタREG3からイベントキーコードデー
タNKYtsm〜、1を読み出してこれが最低音キーコ
ードレジスタREG4に保持されている最低音キーコー
ドデータ LSTK’に’Lsm−allより小さ
いか否かの判断をする。Next, the CPU 5 moves to step SP9, reads the event key code data NKYtsm~, 1 from the event key code register REG3, and sets 'Lsm-' to the lowest note key code data LSTK' held in the lowest note key code register REG4. Determine whether it is smaller than all.
ステップSP9において肯定結果が得られると、このこ
とは現在最低音キーコードレジスタREG4に最低音と
して保持されている最低音キーコードデータL S T
K YLIm〜6.と比較して、イベントキーコード
データNKYL、、〜Amlの方が低音であることを意
味している。このときCPU5はステップ5PIOにお
いて、イベントキーコードレジスタREC3のイベント
キーコードデータNKYL、、〜6.を最低音キーコー
ドレジスタREG4に最低音キーコードデータL S
T K YLs*〜、として書き込むことにより最低音
の情報を書き直した後ステップ5PIIに移る。If a positive result is obtained in step SP9, this means that the lowest tone key code data LST currently held as the lowest tone in the lowest tone key code register REG4.
K YLIm~6. This means that the event key code data NKYL, . At this time, in step 5 PIO, the CPU 5 selects event key code data NKYL, . . . , 6 . Add the lowest note key code data L S to the lowest note key code register REG4.
After rewriting the information on the lowest note by writing as TK YLs*~, the process moves to step 5PII.
かくしてCPU5は現在同時にキーオン操作されている
複数のキーのうち、最低音のキーコードデータを常に最
低音キーコードレジスタREG4に保持するようになさ
れ、これによりツインマレット演奏モードが選択された
とき最低音と、その信置群とを区別して発音できるよう
になされている。In this way, the CPU 5 is configured to always hold the key code data of the lowest note in the lowest note key code register REG4 among the plurality of keys that are currently being keyed on at the same time, so that when the twin mallet performance mode is selected, the lowest note key code data It is designed so that the pronunciation can be distinguished between the ``nobu'' and the ``nobu'' group.
これに対してステップSP9において否定結果が得られ
ると、このことはイベントが生じたキーの楽音は最低音
ではないことを意味しており、このときCPU5はステ
ップ5PIIにジャンプする。On the other hand, if a negative result is obtained in step SP9, this means that the musical note of the key in which the event occurred is not the lowest note, and in this case, the CPU 5 jumps to step 5PII.
このステップ5PIIは現在割当処理したキー以外にキ
ーオン操作されたキーがないか否かの判断をするステッ
プで、CPU5は割当チャンネル1=Ass以外のすべ
ての発音チャンネルiについて、発音チャンネル操作状
態レジスタREG2に保持されているキーオン/キーオ
フデータ5TBUF (i)□3が論理「0」であるか
否かの判断をし、否定結果が得られたとき(このことは
他にキーオン操作されたキーがあることを意味する)
、CPU5はステップ5P12からメインルーチンに戻
り、再度当該キーオン操作されたキーについての処理を
実行する。This step 5PII is a step for determining whether or not there is any key that has been pressed on other than the currently assigned key, and the CPU 5 registers the sound generation channel operation status register REG2 for all sound generation channels i except the allocated channel 1=Ass. The key-on/key-off data 5TBUF (i) □3 held in )
, the CPU 5 returns to the main routine from step 5P12 and again executes the process for the key that has been turned on.
これに対してステップ5PIIにおいて肯定結果が得ら
れると(このことは他にキーオン操作されたキーがない
ことを表す)、CPU5はステップ5P13に移って時
間情報レジスタREG6の時間情報データTIMとして
数値Oを書き込むと共に、ステップ5P14において割
込用タイマ11 (第1図)に対してバス6を介してリ
セット信号R5を送出する。On the other hand, if a positive result is obtained in step 5PII (this indicates that no other keys have been pressed), the CPU 5 moves to step 5P13 and sets the time information data TIM of the time information register REG6 to a value O. At the same time, in step 5P14, a reset signal R5 is sent to the interrupt timer 11 (FIG. 1) via the bus 6.
(3)タイマ割込処理
割込用タイマ11は、第9図(A)に示すように所定の
時間ΔTおきに割込信号INTをCPU5に送出するこ
とにより第10図に示すようなタイマ割込処理ルーチン
RTIOを実行させると共に、CPU5からリセット信
号R3(第9図(B))を受けたとき、その時点から新
たに割込信号INTの計時動作を開始するようになされ
ている。(3) Timer interrupt processing The interrupt timer 11 performs timer interrupt processing as shown in FIG. 10 by sending an interrupt signal INT to the CPU 5 at predetermined intervals ΔT as shown in FIG. 9(A). When the interrupt processing routine RTIO is executed and the reset signal R3 (FIG. 9(B)) is received from the CPU 5, a new timing operation for the interrupt signal INT is started from that point.
すなわち、CPU5は割込信号INTを受けるごとに時
間情報レジスタREG6 (第2図)の時間情報データ
TIMに「+1」加算をしく第9図(C)) 、かくし
てCPU5は外部の割込用タイマ11の時間系列によっ
て制御される。That is, each time the CPU 5 receives the interrupt signal INT, it adds "+1" to the time information data TIM of the time information register REG6 (Figure 2) (Figure 9 (C)), and thus the CPU 5 uses the external interrupt timer. 11 time series.
これと共にCPU5は、ステップ5P13(第5図)に
おいて時間情報レジスタREG6を初期値Oからカウン
ト動作を開始させるようにクリアした後、ステップ5P
14において割込用タイマ11をリセット信号R,Sに
よってリセットすることにより、時間情報データTIM
の変化を割込用タイマ11の割込信号JNTと位相合わ
せする。At the same time, the CPU 5 clears the time information register REG6 in step 5P13 (FIG. 5) so as to start counting from the initial value O, and then clears the time information register REG6 in step 5P13 (FIG. 5).
14, by resetting the interrupt timer 11 with the reset signals R and S, the time information data TIM
The phase of the change is matched with the interrupt signal JNT of the interrupt timer 11.
続いてcpusは、ステップ5P15においてタイマ割
込処理ルーチンを実行した後、ステップ5P16を介し
てメインルーチンに戻る。Subsequently, the CPU executes a timer interrupt processing routine in step 5P15, and then returns to the main routine via step 5P16.
ここでCPU5は、通常は割込用タイマ11から割込信
号INTが発生したときタイマ割込処理ルーチンRTI
Oを実行するが、ステップ5PI3及び5P14におい
て強制的に同期合せをした後の最初の(TIM=O時の
)急速減衰処理をステップ5P15においてタイマ割込
処理ルーチンRTIOを利用して実行する。Here, the CPU 5 normally executes the timer interrupt processing routine RTI when the interrupt signal INT is generated from the interrupt timer 11.
After synchronization is forcibly performed in steps 5PI3 and 5P14, the first rapid decay process (when TIM=O) is executed in step 5P15 using the timer interrupt processing routine RTIO.
すなわち、タイマ割込処理ルーチンRTIOに入るとC
PU5は、第10図に示すように、先ずステップ5P2
1において演奏モードレジスタREG5 (第2図)の
演奏モードデータMODEが数値Oであるか否かの判断
をする。That is, when the timer interrupt processing routine RTIO is entered, C
As shown in FIG. 10, PU5 first performs step 5P2.
At step 1, it is determined whether the performance mode data MODE in the performance mode register REG5 (FIG. 2) is a value O or not.
ここで肯定結果が得られると、このことは演奏者によっ
てノーマル演奏モード(第6図(A))が指定されてい
ることを表しており、このときCPU5はステップ5P
22から直ちにメインルーチンに戻る。この結果CPU
5は、ノーマル演奏モードにおいては時間情報データT
IMの変化には応動せずにノーマル波形WAVEO(第
7図(B))を有する楽音を発生させることになる。If a positive result is obtained here, this means that the normal performance mode (FIG. 6(A)) is designated by the performer, and at this time, the CPU 5 performs step 5P.
22, the program immediately returns to the main routine. As a result, the CPU
5 is the time information data T in the normal performance mode.
A musical tone having a normal waveform WAVEO (FIG. 7(B)) is generated without responding to changes in IM.
これに対してステップ5P21において否定結果が得ら
れると、このことは演奏者によってリピート演奏モード
又はツインマレット演奏モード(第6図(B)又は(C
))が指定されていることを表しており、このときCP
U5はステップ5P23に移って処理が必要な発音チャ
ンネルがあるか否かの判断をする。On the other hand, if a negative result is obtained in step 5P21, this means that the player can play the repeat playing mode or the twin mallet playing mode (FIG. 6(B) or (C).
)) is specified, and in this case, CP
U5 moves to step 5P23 and determines whether there is a sound generation channel that requires processing.
すなわちCPU5は第1に、発音チャンネル操作状態レ
ジスタREG2 (第2図)に保持されているキーオン
/キーオフデータ 5TBUF (i)Msm (
i=o〜15)について、すべての発音チャンネルiの
中にキーオン/キーオフデータ5TBUF (i)xs
mが論理「1」の発音チャンネルがあるか否かの判断を
する。ここで肯定結果が得られると、このことは当該発
音チャンネルに割り当てられているキーがキーオン操作
されている状態にあり、その結果何らかの処理が必要で
あることを表しており、このときCPU5はステップ5
P24に移る。That is, the CPU 5 first reads the key-on/key-off data 5TBUF (i) Msm (
i=o~15), key-on/key-off data 5TBUF (i) xs in all sound generation channels i
It is determined whether there is a sounding channel with m being logic "1". If a positive result is obtained here, this means that the key assigned to the relevant sound channel is in a key-on state, and as a result, some processing is required. At this time, the CPU 5 5
Move on to P24.
これに対して否定結果が得られると、発音チャンネル操
作状態レジスタREG2にはキーオン操作されている状
態にあるキーがないことを表しており、このときCPU
5はステップ5P25からメインルーチンRTO(第4
図)又はキーオンイベント処理ルーチンRT3 (第5
図)に戻る。If a negative result is obtained, it means that there is no key in the key-on operation state in the sound generation channel operation status register REG2, and at this time, the CPU
5 is the main routine RTO (fourth step) from step 5P25.
) or key-on event processing routine RT3 (5th
Return to figure).
またCPU5はステップ5P23において第2に、発音
チャンネルキーコードレジスタREGIに保持されてい
る発音オン/オフデータKEYBUF(i)xsmが論
理「1」であるか否かの判断をする。ここで肯定結果が
得られると、このことはCPU5が当該発音チャンネル
iにおいて楽音信号発生部(TG)8を発音動作させて
いる状態(すなわち発音キーオン状態)にあることを表
しており、このときcpusはステップ5P24に移る
。Further, in step 5P23, the CPU 5 secondly determines whether the sound generation on/off data KEYBUF(i)xsm held in the sound generation channel key code register REGI is logical "1". If an affirmative result is obtained here, this means that the CPU 5 is in a state in which the musical tone signal generator (TG) 8 is operating the sound generation section (TG) 8 in the corresponding sound generation channel i (that is, the sound generation key is on). cpus moves to step 5P24.
これに対してステップ5P23において否定結果が得ら
れると、このことは発音チャンネルキーコードレジスタ
REGIに発音キーオフ状態のデータしか保持されてい
ないことを表しており、このときCPU5はステップ5
P25からメインルーチンRTO(第4図)又はキーオ
フイベント処理ルーチンRT3 (第5図)に戻る。On the other hand, if a negative result is obtained in step 5P23, this means that the sound generation channel key code register REGI holds only data for the sound generation key off state, and at this time, the CPU 5
From P25, the process returns to the main routine RTO (FIG. 4) or the key-off event processing routine RT3 (FIG. 5).
ステップ5P24は時間情報レジスタREG6(第2図
)の時間情報データTIMの値を判断するステップで、
CPU5は当該判断結果に基づいて時間情報データTI
MがそれぞれTIM=O1TIM=2、TIM=15、
TIM=20のときそれぞれ続くステップ5P26.5
P27.5P2B、5P29において楽音にエンベロー
プを付与する処理を実行する。Step 5P24 is a step of determining the value of time information data TIM of time information register REG6 (FIG. 2).
The CPU 5 generates time information data TI based on the determination result.
M is TIM=O1TIM=2, TIM=15, respectively.
Step 5P26.5 followed respectively when TIM=20
At P27.5P2B and 5P29, processing for adding an envelope to the musical tone is executed.
この実施例の場合CPU5は、リピート演奏モードにお
いて、第8図(J)に示すような第1の繰返し波形WA
VEIを形成するように、時間情報データTIM(第8
図(B))がTIM=Oになったとき第8図(C)に示
すようにステップ5P26における急速減衰サブルーチ
ン(F D E XEりを実行することにより楽音を急
速減衰波形部Wllを介して急速減衰させる。In this embodiment, the CPU 5 generates a first repetitive waveform WA as shown in FIG. 8(J) in the repeat performance mode.
The time information data TIM (8th
When TIM=O (FIG. 8(B)), as shown in FIG. 8(C), by executing the rapid decay subroutine (FDE EXE) in step 5P26, the musical tone is transmitted through the rapid decay waveform part Decay rapidly.
ここで、急速減衰波形部Wllの減衰速度は、キーオフ
操作に対応して楽音を終了させる際の楽音の減衰速度(
すなわち自然減衰時の減衰速度)と比較して格段的に大
きい値に選定されている。Here, the attenuation speed of the rapid attenuation waveform portion Wll is the attenuation speed (
In other words, the value is selected to be significantly larger than the damping speed (attenuation rate during natural damping).
また時間情報データTIMがTIM=2のとき(第8図
(B))CPU5は、ステップ5P27の繰返し波形キ
ーオンサブルーチン(RPKONl)(第8図(C))
を、実行することによりアタック波形部W12及びサス
ティン波形部W13(第8図(J))を形成する。Further, when the time information data TIM is TIM=2 (FIG. 8(B)), the CPU 5 executes the repetitive waveform key-on subroutine (RPKONl) in step 5P27 (FIG. 8(C)).
By executing the above, an attack waveform portion W12 and a sustain waveform portion W13 (FIG. 8(J)) are formed.
また時間情報データTIMがTIM=20のとき(第8
図(B))CPU5は、ステップ5P29の繰返し波形
キーオフサブルーチン(RPKOFFl)(第8図(C
))を実行することによりディケイ波形部W14(第8
図(J))を形成する。Also, when the time information data TIM is TIM=20 (the 8th
(B)) The CPU 5 executes the repetitive waveform key-off subroutine (RPKOFFl) in step 5P29 (Fig. 8 (C).
)), the decay waveform part W14 (eighth
Figure (J)) is formed.
またCPU5はステップ5P26 (TIM=0)にお
いて急速減衰サブルーチン5P26を実行したとき、第
18図(F)に示すように、キーオフディスイネーブル
データ5TBUF (i) Lsllを論理「1」レベ
ルに立ち上げるような処理を実行し、その後時間・情報
TIMがTIM=15のタイミングでステップ5P28
においてディスイネーブル終了サブルーチンDISOF
FI (第8図(C))を実行することによりキーオ
フディスイネーブルデータ5TBUF (i)vsIl
を論理「0」レベルに立ち下げる。Further, when the CPU 5 executes the rapid decay subroutine 5P26 in step 5P26 (TIM=0), as shown in FIG. After that, when the time/information TIM is TIM=15, step 5P28 is executed.
Disable end subroutine DISOF
By executing FI (FIG. 8(C)), key-off disable data 5TBUF (i) vsIl
is lowered to a logic "0" level.
か(してCPU5は、繰返し波形WAVEIが急速減衰
波形部Wllを形成し始めたタイミング(TIM=O)
から、アタック波形部W12、サスティン波形部W13
を1頌次形成したタイミング(T I M=15)まで
の期間の間、たとえキーオフイベントが生じたとしても
論理「1」のキーオフディスイネーブルデータ5TBU
F (i)LSllによって楽音信号発生部(TG)8
において、キーオフ処理を指令できないように禁止する
ようになされている。(Then, the CPU 5 determines the timing (TIM=O) when the repetitive waveform WAVEI begins to form the rapid decay waveform portion Wll.
, attack waveform part W12, sustain waveform part W13
Even if a key-off event occurs, 5 TBU of key-off disable data of logic "1" is generated until the timing (T I M = 15) when the key-off event is first formed.
F (i) Musical tone signal generator (TG) 8 by LSll
In this case, the key-off processing is prohibited from being commanded.
このようにしてCPU5は、TIM=O12,15,2
0のタイミングにおいてステップSP26.27.28
.29の処理を実行した後、又はその他のタイミングT
I M= 1.2〜14.16〜19.21〜25(
=0)になったことをステップ5P24において確認し
たとき、ステップ5P30において時間情報レジスタR
EG6の時間情報データTIMに「+1」加算した数を
25で除算した余りの数(=(TIM+1) ・MO
D25)を新たな時間情報データTIMとして時間情報
レジスタREG6に書き直した後、ステップSP31か
らメインルーチンRTO(第4図)又はキーオンイベン
ト処理ルーチンRT3 (第5図)に戻る。In this way, the CPU 5 executes TIM=O12, 15, 2
At the timing of 0, step SP26.27.28
.. After executing the process of 29 or at other timing T
I M = 1.2~14.16~19.21~25 (
= 0) is confirmed in step 5P24, the time information register R is set in step 5P30.
Remainder number when the number obtained by adding “+1” to the time information data TIM of EG6 is divided by 25 (=(TIM+1) ・MO
After rewriting D25) into the time information register REG6 as new time information data TIM, the process returns to the main routine RTO (FIG. 4) or the key-on event processing routine RT3 (FIG. 5) from step SP31.
以上のようにしてリピート演奏モード時CPU5は、時
間情報データTTMがTIM=0〜25(=O)を−巡
する間に急速減衰波形部W11、アタック波形部W12
、サスティン波形部W13を通ってディケイ波形部W1
4を形成し、続いてさらに時間情報データTIMがTI
M=O〜25(=0)を−巡する間にディケイ波形部W
14が自然減衰速度で減衰して行くのを待ち、かくして
時間情報データTIMが2周期分変化する間に1つの繰
返し波形WAVEIを形成する。As described above, in the repeat performance mode, the CPU 5 controls the rapid decay waveform portion W11 and the attack waveform portion W12 while the time information data TTM cycles through TIM=0 to 25 (=O).
, the decay waveform part W1 passes through the sustain waveform part W13.
4, and then further time information data TIM forms TI
Decay waveform part W during the cycle from M=O to 25 (=0)
14 is attenuated at the natural attenuation rate, and thus one repetitive waveform WAVEI is formed while the time information data TIM changes for two periods.
これに対してCPU5はツインマレット演奏モードのと
きにはリピート演奏モードについて上述した第1の繰返
し波形WAVEI (第8図(J))を最低音の楽音
を形成するエンベロープ波形として用いると同時に、第
8図(K)に示すように、第1の繰返し波形WAVEI
に対して172周期だけずれた繰返し波形WAVE2を
時間情報データTMMに基づいて形成し、この第2の繰
返し波形WAVE2を用いて最低音以外の他の楽音群に
対するエンベロープ制御に用いる。On the other hand, when the CPU 5 is in the twin mallet performance mode, the CPU 5 uses the first repetitive waveform WAVEI (FIG. 8 (J)) described above for the repeat performance mode as an envelope waveform forming the lowest musical tone, and at the same time As shown in (K), the first repetitive waveform WAVEI
A repetitive waveform WAVE2 shifted by 172 cycles from the second repetitive waveform WAVE2 is formed based on the time information data TMM, and this second repetitive waveform WAVE2 is used for envelope control for musical tone groups other than the lowest note.
この実施例の場合CPU5は第2の繰返し波形WAVE
2に対して、第8図(D)に示すように、第1の繰返し
波形WAVEIのうちディケイ波形部W14を形成して
いる間に生ずる1周期分の時間情報データTIM(=O
〜25(=O))を用いて、TIM=Oのときタイマ割
込処理ルーチンRT10(第10図)のステップSP2
1において急速減衰サブルーチン(FDEXE2)を実
行することによって急速減衰波形部W21を形成し、T
IM=2においてステップ5P27の繰返し波形キーオ
ンサブルーチン(RPKON2)を実行することによっ
てアタック波形部W22及びサスティン波形部W23を
形成し、TIM=20においてステップ5P29の繰返
し波形キーオフサブルーチン(RPKOFF2)を実行
することによってディケイ波形部W24を形成する。In this embodiment, the CPU 5 generates the second repetitive waveform WAVE.
2, as shown in FIG. 8(D), one period of time information data TIM (=O
~25 (=O)), when TIM=O, step SP2 of the timer interrupt processing routine RT10 (FIG. 10)
1, the rapid decay subroutine (FDEXE2) is executed to form the rapid decay waveform portion W21, and
At IM=2, execute the repetitive waveform key-on subroutine (RPKON2) of step 5P27 to form an attack waveform portion W22 and sustain waveform portion W23, and at TIM=20, execute the repetitive waveform key-off subroutine (RPKOFF2) of step 5P29. A decay waveform portion W24 is formed by this.
これと共にCPU5は、第8図(G)に示すように、急
速減衰サブルーチン(FDEXE2)においてキーオフ
ディスイネーブルデータSTB UF(i)t、ssを
論理rlJレベルに立ち上げた後、TIM=15のタイ
ミングでステップ5P28のディスイネーブル終了サブ
ルーチン(DISOFF2)を実行することにより、キ
ーオフディスイネーブルデータ5TBUF (i) L
smを論理rOJレベルに立ち下げるような処理を実行
する。At the same time, as shown in FIG. 8(G), the CPU 5 raises the key-off disable data STB UF(i)t, ss to the logic rlJ level in the rapid decay subroutine (FDEXE2), and then at the timing of TIM=15. By executing the disable end subroutine (DISOFF2) in step 5P28, key-off disable data 5TBUF (i) L
Processing such as lowering sm to the logical rOJ level is executed.
かくしてツインマレット演奏モードのときには、第1の
繰返し波形WAVEIを用いて最低音の楽音群に対する
エンベロープを繰り返し間欠的に形成すると同時に、当
該筒1の繰返し波形WAVE1に対して172周期ずれ
た第2の繰返し波形WAVE2によって最低音以外の楽
音群のエンベロープを繰り返し間欠的に形成する。Thus, in the twin mallet performance mode, the first repetitive waveform WAVEI is used to repeatedly and intermittently form an envelope for the lowest tone group, and at the same time, the second repetitive waveform WAVE1, which is shifted by 172 cycles from the repetitive waveform WAVE1 of the tube 1, is generated. Envelopes of musical tone groups other than the lowest tone are repeatedly and intermittently formed using the repetitive waveform WAVE2.
(4)急速減衰サブルーチン
タイマ割込処理ルーチンRTIO(第1O図)において
、TIM=0のタイミングでステップ5P26の急速減
衰サブルーチン(FDEXEiFDEXE2)に入ると
、CPU5は、第11図に示すように、ステップ5P3
5において演奏モードデータMODEが数値1であるか
否かの判断をする。(4) Rapid decay subroutine In the timer interrupt processing routine RTIO (Fig. 1O), when the rapid decay subroutine (FDEXEiFDEXE2) of step 5P26 is entered at the timing of TIM=0, the CPU 5 executes the step 5P3
In step 5, it is determined whether the performance mode data MODE is 1 or not.
ここで肯定結果が得られれば、このことは演奏者がリピ
ート演奏モードを指定していることを意味し、このとき
CPU5はステップ5P36に移って発音チャンネル操
作状態レジスタREG2のキーオン/キーオフデータ5
TBUF (i)□。If a positive result is obtained here, this means that the performer has specified the repeat performance mode, and in this case, the CPU 5 moves to step 5P36 and sets the key-on/key-off data of the sound generation channel operation status register REG2.
TBUF (i)□.
について、すべての発音チャンネルiのうち5TBUF
(i)□m=rlJの発音チャンネルiをサーチし、
当該発音チャンネルiに保持されているキーオフディス
イネーブルデータ5TBUF (i)Lsmに論理「1
」データを書き込んだ後、楽音信号発生部(TG)8に
楽音制御情報MUSを転送することにより当該発音チャ
ンネルを急速減衰させるような処理を実行させた後、ス
テップ5P37からタイマ割込処理ルーチンRTIO(
第10図)に戻る。5TBUF out of all pronunciation channels i
(i) Search for pronunciation channel i of □m=rlJ,
Key-off disable data 5TBUF held in the relevant sound generation channel i (i) Logic “1” in Lsm
After writing the data, the musical tone control information MUS is transferred to the musical tone signal generating section (TG) 8 to perform a process of rapidly attenuating the corresponding sound generation channel, and then the timer interrupt processing routine RTIO is executed from step 5P37. (
Return to Figure 10).
か(してCPU5は、演奏者がリピート演奏モードを指
定したときにはすべての発音チャンネルの楽音について
時間情報データTIMがTIM=Oのタイミングで急速
減衰させるようなエンベロープ制御を実行する。(Then, when the performer specifies the repeat performance mode, the CPU 5 executes envelope control such that the musical tones of all sound generation channels are rapidly attenuated at the timing when the time information data TIM is TIM=O.
これに対してステップ5P35において否定結果が得ら
れると、このことは演奏者がツインマレット演奏モード
を指定したことを意味する。On the other hand, if a negative result is obtained in step 5P35, this means that the player has designated the twin mallet performance mode.
このときCPU5は、ステップSP3 Bに移って最低
音キーコードレジスタREG4に保持されている最低音
キーオンデータL S T K YHs*が論理「1」
であるか否か(すなわち現在最低音についての繰返し波
形が発音されている(第8図(E))か否か)の判断を
し、肯定結果が得られたときステップSP39に移る。At this time, the CPU 5 moves to step SP3B and determines that the lowest tone key-on data L S T K YHs* held in the lowest tone key code register REG4 is logic "1".
It is determined whether or not the repeating waveform for the lowest note is currently being sounded (FIG. 8(E)), and when an affirmative result is obtained, the process moves to step SP39.
このステップ5P39においてCPU5は、第1に発音
チャンネル操作状態レジスタREG2に保持されている
キーオン/キーオフデータ5TBOF (i)□、が論
理rlJであり、かつ発音チャンネルコードレジスタR
EGIに保持されている発音キーコードデータ K
EYBUF (i) L12−61が、最低音キーコー
ドレジスタREG4の最低音キーコードデータL S
T K YL51〜68と等しくない発音チャンネルi
があるか否かの判断をする。In this step 5P39, the CPU 5 first determines that the key-on/key-off data 5TBOF (i) □ held in the sound generation channel operation status register REG2 is logical rlJ, and that the sound generation channel code register R
Pronunciation key code data held in EGI K
EYBUF (i) L12-61 is the lowest note key code data L S of the lowest note key code register REG4
TK YL51-68 not equal to pronunciation channel i
Determine whether or not there is.
ここで肯定結果が得られると、このことは演奏者によっ
てキーオン操作されている発音チャンネルにおいて(す
なわち5TBUF (i) sss = rl」のチャ
ンネルにおいて)、最低音のキーコードではないキーコ
ードのものが存在することを表しており、換言すれば最
低音の楽音と、それ以外の楽音群とが両方ともに指定さ
れていることを表している。If a positive result is obtained here, this means that in the sound generation channel where the key is operated by the performer (i.e., in the channel of 5TBUF (i) sss = rl), the key code other than the lowest note key code is In other words, it indicates that both the lowest musical tone and the other musical tones are specified.
このときCPU5はステップ5P40に移って、発音チ
ャンネル操作状態レジスタREG2に保持されている当
該発音チャンネルのキーオフディスイネーブルデータ5
TBUF (i)Illに論理「1」データを書き込ん
で発音キーオフ処理を禁止した後(第8図(G)) 、
楽音信号発生部(TG)8に楽音制御情報MLJSを転
送することにより当該最低音以外の楽音群の発音チャン
ネルを急速減衰処理し、その後ステップ5P41からタ
イマ割込処理ルーチンRTIO(第10図)に戻る。At this time, the CPU 5 moves to step 5P40, and sets the key-off disable data 5 of the sound generation channel held in the sound generation channel operation status register REG2.
TBUF (i) After writing logic "1" data to Ill to inhibit the sound key-off process (Fig. 8 (G)),
By transmitting the musical tone control information MLJS to the musical tone signal generator (TG) 8, the tone generation channels of the musical tone group other than the lowest note are rapidly attenuated, and then from step 5P41 to the timer interrupt processing routine RTIO (FIG. 10). return.
かくしてCPU5はツインマレット演奏モードにおいて
、最低音のキーコードを有する楽音の繰返し波形WAV
EIが発音状態にあるとき、当該最低音以外の楽音群の
エンベロープを急速減衰処理する。Thus, in the twin mallet performance mode, the CPU 5 generates the repetitive waveform WAV of the musical tone having the lowest key code.
When the EI is in the generating state, the envelopes of musical tones other than the lowest note are rapidly attenuated.
これに対してステップ5P38において否定結果が得ら
れると、このことは現在発音されている楽音のキーコー
ドが最低音でなかったことを表しており、このときCP
U5はステップ5P42に移って発音チャンネル操作状
態レジスタREG 2に保持されているキーオン/キー
オフデータ5TBUF (i) ssm = r IJ
で、かつ発音チャンネルキーコードレジスタREGIに
保持されている発音キーコードデータ KEYB
UF (i)い、〜6.が最低音キーコードレジスタR
EG4に保持されている最低音キーコードデータLST
KYtsi〜、と等しいチャンネルiをサーチし、発音
チャンネル操作状態レジスタREG2のキーオフディス
イネーブルデータ 5TBUF (i)L!、に論理
「1」データを書き込んだ後、楽音信号発生部(TG)
8に当該iチャンネルの楽音のエンベロープを急速減衰
処理し、その後ステップ5P43からタイマ割込処理ル
ーチンRTIO(第10図)に戻る。On the other hand, if a negative result is obtained in step 5P38, this means that the key code of the currently sounded musical note is not the lowest note, and at this time, the CP
U5 moves to step 5P42 and reads the key-on/key-off data 5TBUF (i) ssm = r IJ held in the sound generation channel operation status register REG2.
, and the pronunciation key code data held in the pronunciation channel key code register REGI KEYB
UF (i) ~6. is the lowest key code register R
Lowest key code data LST held in EG4
Search for channel i equal to KYtsi~, and set key-off disable data of sound channel operation status register REG2 to 5TBUF (i)L! After writing logic "1" data to the musical tone signal generator (TG)
At step 8, the envelope of the musical tone of the i-channel is subjected to rapid attenuation processing, and then the process returns to the timer interrupt processing routine RTIO (FIG. 10) from step 5P43.
これに加えて上述のステップ5P39において否定結果
が得られたとき(このことはキーオン操作されているキ
ーのうちには最低音キーコード以外のキーコードがない
ことを表す)、CPU5は同様にして上述のステップ5
P42の処理を実行した後ステップ5P43からタイマ
割込処理ルーチンRTIO(第1θ図)に戻る。In addition to this, when a negative result is obtained in step 5P39 described above (this indicates that there is no key code other than the lowest note key code among the keys that are being operated), the CPU 5 similarly performs Step 5 above
After executing the process of P42, the process returns to the timer interrupt process routine RTIO (FIG. 1θ) from step 5P43.
(5)繰返し波形キーオンサブルーチンタイマ割込処理
ルーチンRTIOにおいて、時量情報レジスタREG6
の時間情報データTIMがTIM=2になってステップ
5P27 (第10図)の繰返し波形キーオンサブルー
チン(RPKONI、RPKON2)に入ったとき、C
PU5は、第12図に示すように、先ずステップ5P4
5において演奏モードデータMODEが数値1であるか
否かの判断をし、肯定結果が得られたとき(すなわちリ
ピート演奏モードのとき)、ステップ5P46に移って
発音チャンネル操作状態レジスタREG2に保持されて
いるキーオン/キーオフデータ5TBUF (i)。m
=rlJ(すなわちキーオン操作されているキーのキー
コードが割り当てられている)発音チャンネルiについ
て、発音チャンネルキーコードレジスタREGIの発音
オン/オフデータKEYBUF (i)ssmに論理r
lJデータを書き込んだ後、楽音信号発生部(TG)8
において当該発音チャンネルiにおいてキーコードKE
YBUF (i) Lsm〜、のキーコードをもつ楽音
をキーオン処理した後、ステップ5P47からタイマ割
込処理ルーチンRTIO(第10図)に戻る。(5) In the repeated waveform key-on subroutine timer interrupt processing routine RTIO, the time information register REG6
When the time information data TIM becomes TIM=2 and enters the repetitive waveform key-on subroutine (RPKONI, RPKON2) in step 5P27 (Fig. 10), C
As shown in FIG. 12, PU5 first performs step 5P4.
In step 5, it is determined whether or not the performance mode data MODE is 1, and when a positive result is obtained (that is, in the repeat performance mode), the process moves to step 5P46, where the tone generation channel operation status register REG2 holds the data. Key-on/key-off data 5TBUF (i). m
=rlJ (that is, the key code of the key that is being operated as a key is assigned) for sound generation channel i, sound generation on/off data KEYBUF of sound generation channel key code register REGI (i) logic r in ssm
After writing the lJ data, the musical tone signal generator (TG) 8
key code KE in the corresponding pronunciation channel i.
After performing key-on processing on the musical tone having the key code YBUF (i) Lsm~, the program returns to the timer interrupt processing routine RTIO (FIG. 10) from step 5P47.
かくしてリピート演奏モードにおいてCPU5は、TI
M=2のタイミングで演奏者によってキーオン操作され
ているすべてのキーに対応する楽音を発音させる。Thus, in the repeat performance mode, the CPU 5
Musical tones corresponding to all keys being turned on by a performer are generated at timing M=2.
これに対して上述のステップ5P45において否定結果
が得られると(すなわちツインマレット演奏モードのと
き)CPU5は、ステップ5P48に移って最低音キー
コードレジスタREG4に保持されている最低音キーオ
ンデータ LSTKY、、、が論理「1」であるか否か
の判断をする。On the other hand, if a negative result is obtained in the above-mentioned step 5P45 (that is, in the twin mallet performance mode), the CPU 5 moves to step 5P48 and inputs the lowest key-on data LSTKY, which is held in the lowest key code register REG4. , is the logic "1" or not.
ここで肯定結果が得られると(すなわち現在最低音のキ
ーコードの楽音について繰返し波形WAVEIが発音さ
れている状態にあると)、CPU5はステップ5P49
に移って最低音キーコードデータレジスタREG4の最
低音キーオンデータLSTKY□、に論理rOJのデー
タを書き込むことにより、当該最低音を発生させないよ
うな状態に切り換える処理をした後、ステップ5P50
に移る。If a positive result is obtained here (that is, if the repetitive waveform WAVEI is currently being sounded for the musical tone of the lowest note key code), the CPU 5 executes step 5P49.
Step 5P50 After switching to the state in which the lowest note is not generated by writing data of logic rOJ to the lowest note key-on data LSTKY□ of the lowest note key code data register REG4, step 5P50
Move to.
このステップ5P50においてCPU5は、発音チャン
ネル操作状態レジスタREG2に保持されているキーオ
ン/キーオフデータ5TBUF (i)。m=rlJで
かつ発音チャンネルキーコードレジスタREGIの発音
キーコードデータKEYBUF (i) LSI−bl
が最低音キーコードレジスタREG4の最低音キーコー
ドデータL 5TKY Ls、〜illと一致しないよ
うな発音チャンネルがあるか否かを判断する。In this step 5P50, the CPU 5 reads the key-on/key-off data 5TBUF (i) held in the sound generation channel operation status register REG2. m=rlJ and the sounding key code data KEYBUF of the sounding channel key code register REGI (i) LSI-bl
It is determined whether there is a sound generation channel for which the lowest tone key code data L5TKY Ls, .about.ill of the lowest tone key code register REG4 does not match.
ここで肯定結果が得られるとCPU5は、ステップ5P
51に移って当該発音チャンネルiについて発音チャン
ネルキーコードレジスタREGIの発音オン/オフデー
タKEYBUF (i)、4smに論理「1」データを
書き込んだ後、楽音信号発生部(TO)8において当該
発音チャンネルiについて発音キーコードデータ KE
YBUF(i) LSI−41の楽音をキーオン処理さ
せ、その後ステップSP52からタイマ割込処理ルーチ
ンRT10(第10図)に戻る。If a positive result is obtained here, the CPU 5 proceeds to step 5P.
After moving to step 51 and writing logic "1" data into the sound generation on/off data KEYBUF (i) and 4sm of the sound generation channel key code register REGI for the sound generation channel i, the musical tone signal generation section (TO) 8 writes the sound generation on/off data KEYBUF (i) of the sound generation channel key code register REGI to 4sm. Pronunciation key code data for i KE
YBUF(i) The musical tone of the LSI-41 is subjected to key-on processing, and then the process returns to the timer interrupt processing routine RT10 (FIG. 10) from step SP52.
かくしてCPU5は、時間情報データTrMがTIM=
2のタイミングにおいて、現在最低音の楽音が発生して
いた状り、(第8図(J)のディケイ波形部W14を発
生している状態)にあるとき、当該最低音の楽音を次の
繰返し周期(TIM=0〜25(=0))においては発
生処理させないような状態に制御した後、最低音以外の
楽音群を発生させることにより、繰返し波形WAVE2
(第8図(K))のアタック波形部W22を発生開始
する。Thus, the CPU 5 determines that the time information data TrM is TIM=
At the timing of 2, when the musical tone of the lowest tone is currently being generated (the state in which the decay waveform part W14 of FIG. 8 (J) is being generated), the musical tone of the lowest tone is repeated next. After controlling to a state where no generation processing is performed during the period (TIM=0 to 25 (=0)), by generating musical tones other than the lowest note, the repetitive waveform WAVE2 is generated.
The generation of the attack waveform portion W22 (FIG. 8(K)) is started.
これに対して上述のステップ5P48において否定結果
が得られたとき(すなわち現在発生している楽音が最低
音ではないとき) 、CPU5はステップ5P53に移
って最低音キーオンデータLS T K Yws*に論
理「1」データを書き込むことにより最低音を発生させ
る条件に制御した後、ステップSP54に移る。On the other hand, when a negative result is obtained in the above-mentioned step 5P48 (that is, when the currently generated musical tone is not the lowest note), the CPU 5 moves to step 5P53 and inputs logic to the lowest note key-on data LST K Yws*. After controlling the conditions to generate the lowest tone by writing data "1", the process moves to step SP54.
このステップ5P54においてcpusは、すべての発
音チャンネルにおいてキーオン/キーオフデータ5TB
UF 口)□6が論理「1」で、かつ発音キーコードデ
ータ KEYBUF (i) L!m〜、が最低音キ
ーコードデータ L 5TKYLss〜、おと一致する
発音チャンネルiをサーチし、当該発音チャンネルiの
発音オン/オフデータKEYBUF (i)xs*に論
理「1」データを書き込んだ後、楽音信号発生部(TG
)8を当該発音チャンネルiにおいて発音キーコードデ
ータKEYBLJF (i)い、〜、1の楽音をキーオ
ン処理させ、その後ステップ5P55からタイマ割込処
理ルーチンRTIO(第1θ図)に戻る。In this step 5P54, cpus generates 5TB of key-on/key-off data for all sound generation channels.
UF Mouth) □6 is logic “1” and pronunciation key code data KEYBUF (i) L! After searching for a sounding channel i whose m~, matches the lowest note key code data L 5TKYLss~, and writing logic "1" data into the sounding on/off data KEYBUF (i) xs* of the sounding channel i, , musical tone signal generator (TG
) 8 is key-on-processed for the musical tones of the sound generation key code data KEYBLJF (i), .
かくしてCPU5は最低音の楽音が発生していない状態
において当該最低音をTIM=2のタイミングで発生さ
せるような処理を実行する。In this manner, the CPU 5 executes processing to generate the lowest tone at the timing of TIM=2 in a state where the lowest tone is not generated.
これに加えて上述のステップ5P50において否定結果
が得られたとき、このことは最低音以外の楽音を発生す
べき条件が設定されていないことを表しており、このと
きCPU5は上述のステップ5P53に移って最低音キ
ーオンデータLSTKYMSIとして再度論理rlJデ
ータを書き込み直した後、ステップ5P55において当
該最低音の楽音を発生するような処理をする。In addition, when a negative result is obtained in step 5P50 described above, this indicates that the conditions for generating musical tones other than the lowest note are not set, and in this case, the CPU 5 returns to step 5P53 described above. After moving on and rewriting the logical rlJ data as the lowest note key-on data LSTKYMSI, in step 5P55, processing is performed to generate the musical tone of the lowest note.
その結果演奏者がツインマレット演奏モードを指定して
いるにも関わらず、最低音以外のキーコードのキーをキ
ーオン操作していなかった場合には、次の繰返し周期T
IM=0〜25(=O)においても最低音の繰返し波形
WAVEIを発生させるようにする。As a result, if the performer has specified the twin mallet performance mode but has not pressed a key with a key code other than the lowest note, the next repetition period T
Even when IM=0 to 25 (=O), the lowest tone repetitive waveform WAVEI is generated.
(6)ディスイネーブル終了サブルーチンタイマ割込処
理ルーチンRTIO(第10図)において、TIM=1
5のタイミングでステップ5P28のディスイネーブル
終了サブルーチン(DISOFFI、DISOFF2)
に入ったときCPU5は、第13図に示すように、先ず
ステップ5P61においてすべての発音チャンネルにつ
いて発音チャンネル操作状態レジスタREG2に保持さ
れているキーオフディスイネーブルデータ5TBUF
(i)LSIを論理「0」データに書き直すことにより
、以後演奏者が発音チャンネルiのキーコードのキーを
キーオフ操作したときには直ちに楽音信号発生部(TG
)8においてキーオフ処理をし得る状態に制御する。(6) In the disenable end subroutine timer interrupt processing routine RTIO (Figure 10), TIM=1
Disable end subroutine (DISOFFI, DISOFF2) of step 5P28 at timing 5
As shown in FIG. 13, the CPU 5 first inputs the key-off disable data 5TBUF held in the sound generation channel operation status register REG2 for all sound generation channels in step 5P61.
(i) By rewriting the LSI to logic "0" data, the musical tone signal generating section (TG
) 8, control is made to enable key-off processing.
続いてCPU5はステップ5P62に移って発音チャン
ネル操作状態レジスタREG2に保持されているキーオ
フリクエストデータ5TBUF (i)6□が論理rl
Jの発音チャンネルであるか否かの判断をする。ここで
否定結果が得られると、このことはキーオフ処理を要求
されている発音チャンネルが保留されていないことを表
しており、このときCPU5はステップ5P63からタ
イマ割込処理ルーチンRTIO(第10図)に戻る。Next, the CPU 5 moves to step 5P62, where the key-off request data 5TBUF (i) 6□ held in the sound generation channel operation status register REG2 is set to logic rl.
It is determined whether or not it is the pronunciation channel of J. If a negative result is obtained here, this means that the sound generation channel for which key-off processing is requested is not pending, and in this case, the CPU 5 executes the timer interrupt processing routine RTIO (FIG. 10) from step 5P63. Return to
これに対してステップSP62において肯定結果が得ら
れると、このことはいずれかの発音チャンネルiにおい
てキーオフ処理を要求されているチャンネルが保留され
ていることを表しており、このときCPU5はステップ
5P64に移る。On the other hand, if a positive result is obtained in step SP62, this means that the channel for which key-off processing is requested in any of the sound generation channels i is on hold, and at this time, the CPU 5 proceeds to step 5P64. Move.
このステ゛ンプ5P64において当8亥キーオフリクエ
ストがある発音チャンネルiについて、キーオフリクエ
ストデータ5TBUF (i)6mに論理「0」データ
を書き込むことによりキーオフリクエストを消去し、ま
たキーオン/キーオフデータ5TBUF (i)□、に
論理「0」データを書き込むことにより演°奏者のキー
オフ操作をデータとして取り込むと共に、発音オン/オ
フデータKEYBUF N) Mssに論理「0」デー
タを書き込むことにより当該発音チャンネルをキーオフ
する条件を設定した後、楽音信号発生部(TG)8の当
該発音チャンネルについてキーオフ処理を実行させる。In this step 5P64, for the sound generation channel i that has the current key-off request, the key-off request is erased by writing logical "0" data to key-off request data 5TBUF (i) 6m, and key-on/key-off data 5TBUF (i) □ By writing logic "0" data to , the performer's key-off operation is captured as data, and by writing logic "0" data to sound generation on/off data KEYBUF N) Mss, the condition for keying off the corresponding sound channel is set. After the settings are made, key-off processing is executed for the relevant tone generation channel of the musical tone signal generator (TG) 8.
ここでキーオフリクエストデータ5TBUF (j)b
mは、キーオフディスイネーブルデータ5TBUF (
i) Lssが論理「1」の状態においてキーオフ操作
されたとき、論理rlJになることにより(第15図)
、直ちに発音キーオフ処理をせずに保留される。Here, key-off request data 5TBUF (j)b
m is key-off disable data 5TBUF (
i) When a key-off operation is performed while Lss is in the logic "1" state, it becomes logic rlJ (Figure 15)
, the pronunciation key-off processing is not performed immediately and is put on hold.
このようにしてCPU5は、キーオフリクエストがある
発音チャンネルiについて楽音を自然減衰させる処理を
実行する。In this way, the CPU 5 executes a process of naturally attenuating the musical tone for the sound generation channel i for which the key-off request is made.
因にステップSP64のキーオフ処理において楽音信号
発生部(TG)8は、第8図(J)及び(K)において
ディケイ波形部W15及びW25によって示すように、
急速減衰波形部Wll及びW21.!:比較して減衰率
が小さい減衰波形を描くように楽音を減衰させるような
自然減衰のキーオフ処理を実行し、これにより自然楽器
における楽音の減衰波形と同様の減衰波形(これを自然
減衰波形と呼ぶ)に沿って楽音に雑音を生じさせること
なく楽音を自然減衰させることかできる。Incidentally, in the key-off process at step SP64, the musical tone signal generating section (TG) 8 generates the following signals as shown by the decay waveform sections W15 and W25 in FIGS. 8(J) and (K).
Rapid decay waveform portions Wll and W21. ! : Performs natural attenuation key-off processing that attenuates musical tones so as to draw an attenuation waveform with a smaller attenuation rate compared to It is possible to naturally attenuate musical tones without causing noise in them.
その&CP U 5は、ステップ5P65において、当
該キーオフ処理をした発音チャンネルiの最低音キーコ
ードデータL S T K Ytsm〜、と等しい発音
キーコードデータ KEYBUF (i) LS
I−61の発音チャンネルiがあるか否かを判断する。In step 5P65, the &CPU 5 generates pronunciation key code data KEYBUF (i) LS that is equal to the lowest note key code data L S T K Ytsm~ of the pronunciation channel i that has undergone the key-off processing.
It is determined whether there is a sound generation channel i of I-61.
ここで否定結果が得られると、このことはキーオフ処理
された楽音が最低音ではないことを意味しており、この
ときCPU5はステップ5P66からタイマ割込処理ル
ーチンRTIO(第1O図)に戻る。If a negative result is obtained here, this means that the musical tone subjected to the key-off process is not the lowest note, and in this case, the CPU 5 returns from step 5P66 to the timer interrupt processing routine RTIO (FIG. 1O).
これに対してステップSP65において肯定結果が得ら
れると、このことはキーオフ処理された楽音が最低音で
あったことを意味しており、このときCPU5はステッ
プ5P67に移ってすべての発音チャンネルiについて
キーオン/キーオフデータ5TBUF (i)。、が論
理rOJであるか否かの判断をする。On the other hand, if an affirmative result is obtained in step SP65, this means that the musical tone subjected to key-off processing is the lowest note, and at this time, the CPU 5 moves to step 5P67 and performs all sound generation channels i. Key-on/key-off data 5TBUF (i). , is a logical rOJ.
ここで肯定結果が得られると、このことはすべての発音
チャンネルがキーオフ操作状態にあることを意味してお
り、このときCPU5はステップ5P68に移って最低
音キーコードデータLSTKYt、ss〜、に論理「0
」データを書き込むことによりクリアした後、ステップ
SP69からタイマ割込処理ルーチンRTIO(第10
図)に戻る。If a positive result is obtained here, this means that all the sound generation channels are in the key-off operation state, and at this time, the CPU 5 moves to step 5P68 and inputs the logic into the lowest note key code data LSTKYt, ss~. "0
” data, the timer interrupt processing routine RTIO (10th
Return to figure).
これに対して上述のステップ5P67において否定結果
が得られると、このことはキーオン操作状態にある発音
チャンネルが残っていることを意味しており、このとき
CPU5はステップ5P70に移ってすべての発音チャ
ンネルiについてキーオン/キーオフデータ5TBUF
(i) 、ssが論理「1」である発音チャンネルi
をサーチすると共に、当該発音チャンネルiのうち発音
キーコードデータKEYBUF (i)LS1〜4.が
最小となる発音チャンネルiをサーチする。On the other hand, if a negative result is obtained in step 5P67 described above, this means that there are remaining sound generation channels in the key-on operation state, and at this time, the CPU 5 moves to step 5P70 to check all sound generation channels. About i Key on/key off data 5TBUF
(i) Pronunciation channel i where , ss is logic “1”
At the same time, the sound generation key code data KEYBUF (i) LS1 to 4. of the sound generation channel i is searched. Search for the pronunciation channel i that has the minimum value.
かくしてCPU5はキーオン操作されている発音チャン
ネルのうち、最低音のキーコードをもつ発音チャンネル
iを見つけた後ステップ5P71に移って当該最低音の
発音チャンネルについて発音キーコードデータK E
Y B U F (i ) L□〜6゜を最低音キーコ
ードデータL S T K Y Lsm〜6.として最
低音キーコードレジスタREG4に保持した後、ステッ
プ5P72からタイマ割込処理ルーチンRTIO(第1
0図)に戻る。In this way, the CPU 5 finds the sound generation channel i having the lowest note key code among the sound generation channels for which the key-on operation has been performed, and then moves to step 5P71 to obtain the sound generation key code data KE for the sound generation channel with the lowest note.
Y BUF (i) L□~6° as the lowest key code data L S T K Y Lsm~6. is stored in the lowest note key code register REG4, and then from step 5P72 the timer interrupt processing routine RTIO (first
Return to Figure 0).
かくしてCPU5は上述のステップ5P64においてキ
ーオフ処理された楽音が最低音であるとき、残る楽音の
うちから最小のキーコードをもつ楽音を最低音として指
定してこれを最低音キーコードレジスタREG4に保持
する。Thus, when the musical tone subjected to key-off processing in step 5P64 is the lowest note, the CPU 5 designates the musical tone with the smallest key code from among the remaining musical tones as the lowest note, and stores this in the lowest note key code register REG4. .
(7)繰返し波形キーオフサブルーチンタイマ割込処理
ルーチンRTIO(第10図)において、CPU5は、
TIM=20のタイミングで繰返し波形キーオフサブル
ーチン(RPKOFFl、RPKOFF2)に入ると、
第14図に示すように、ステップ5P75においてすべ
ての発音チャンネルのうち発音オン/オフデータKEY
BUF (i)nssが論理rlJである発音チャンネ
ルiについて楽音信号発生部(TG)8をキーオフ処理
させると共に、当該キーオフ処理した発音チャンネルの
発音オン/オフデータKEYBUF(t)、4ssに論
理「0」データを書き込んだ後、ステップ5P76から
タイマ割込処理ルーチンRT10(第10図)に戻る。(7) In the repetitive waveform key-off subroutine timer interrupt processing routine RTIO (Fig. 10), the CPU 5
When the repetitive waveform key-off subroutine (RPKOFF1, RPKOFF2) is entered at the timing of TIM=20,
As shown in FIG. 14, in step 5P75, the sound generation on/off data KEY of all sound generation channels is
BUF (i) For the tone generation channel i whose nss is logic rlJ, the musical tone signal generator (TG) 8 is subjected to key-off processing, and the tone generation on/off data KEYBUF(t), 4ss of the tone generation channel that has undergone the key-off processing is set to logic "0". '' After writing the data, the process returns to the timer interrupt processing routine RT10 (FIG. 10) from step 5P76.
かくしてCPU5はTIM=20のタイミングにおいて
、楽音信号発生部(TG)8が発生している楽音の発音
チャンネルについて、当該楽音をディケイ波形部W14
、W24(第8図(J)、(K))に沿って減衰させる
ように楽音信号発生部(TG)8を制御する。Thus, at the timing of TIM=20, the CPU 5 converts the musical tone into the decay waveform section W14 for the tone generation channel of the musical tone generated by the musical tone signal generator (TG) 8.
, W24 (FIG. 8 (J), (K)).
(8)キーオフイベントの処理
CPU5はメインルーチンRTO(第4図)のキーオフ
イベント処理ルーチンRT5において第15図に示すよ
うな処理を実行する。(8) Key-off event processing The CPU 5 executes the processing shown in FIG. 15 in the key-off event processing routine RT5 of the main routine RTO (FIG. 4).
すなわちcpusはステップSP81において、キーオ
フイベントがあったキーのキーコードをイベントキーコ
ードレジスタREG3にイベントキーコードデータN
K YLsm +&lとして書き込んだ後、ステップ5
P82において演奏モードデータMODEが数値0であ
るか否かの判断をする。That is, in step SP81, the CPU stores the key code of the key where the key-off event occurred in the event key code register REG3 as event key code data N.
After writing as K YLsm +&l, step 5
At P82, it is determined whether the performance mode data MODE is 0 or not.
ここで肯定結果が得られたとき(すなわちノーマル演奏
モードのとき)、CPU5はステップ5P83に移って
すべての発音チャンネルiについて発音オン/オフデー
タKEYBUF (i)Nimが論理「1」でかつ発音
キーコードデータKEYBUF(i)Lsm〜6.がイ
ベントキーコードデータNKYLsm〜6.と等しい発
音チャンネルiがあるか否かの判断をする。When a positive result is obtained here (in other words, in the normal performance mode), the CPU 5 moves to step 5P83 and sets the sound generation on/off data KEYBUF for all sound generation channels i (i) Nim is logic "1" and the sound generation key Code data KEYBUF(i)Lsm~6. is event key code data NKYLsm~6. It is determined whether there is a pronunciation channel i equal to .
ここで否定結果が得られると、このことは現在発音処理
されている楽音のうちには、キーオフイベントが生じた
キーコードを有する楽音がないことを意味しており、従
って実質的にCPU5がキーオフイベントの処理をする
必要がないので、CPU5はステップ5P84からメイ
ンルーチンRTOに戻る。If a negative result is obtained here, this means that among the musical tones currently being produced, there is no musical tone that has the key code for which a key-off event has occurred, and therefore, in effect, the CPU 5 Since there is no need to process the event, the CPU 5 returns to the main routine RTO from step 5P84.
これに対してステップ5P83において肯定結果が得ら
れると、このことはキーオフイベントが生じたキーのキ
ーコードについてCPU5がキーオフ処理をする必要が
あることを意味しており、このときCPU5はステップ
5P85に移って当該キーオフイベントが生じた発音チ
ャンネルiのチャンネル番号データをレジスタ部7のキ
ーオフデータレジスタREGIO(第2図)にキーオフ
データOFFとして保持する。On the other hand, if a positive result is obtained in step 5P83, this means that the CPU 5 needs to perform key-off processing for the key code of the key in which the key-off event has occurred, and in this case, the CPU 5 returns to step 5P85. Then, the channel number data of the sounding channel i where the key-off event occurred is held in the key-off data register REGIO (FIG. 2) of the register section 7 as key-off data OFF.
続いてCPU5はステップ5P86に移って発音チャン
ネルキーコードレジスタREGIに保持されている発音
オン/オフデータKEYBUF (i ) M31のう
ち、当該キーオフイベントが生じた発音チャンネルの発
音オン/オフデータKEYBUF (OF F) xs
mを論理「O」データに書き直した後、ステップ5P8
7に移って楽音信号発生部(TG)8において当該キー
オフイベントが生じた発音チャンネルについてキーオフ
処理を実行させた後、ステップ5P88からメインルー
チンRTOに戻る。Next, the CPU 5 moves to step 5P86, and checks the sound generation on/off data KEYBUF (i) held in the sound generation channel key code register REGI. F) xs
After rewriting m to logical “O” data, step 5P8
7, the musical tone signal generating section (TG) 8 executes key-off processing for the sound generation channel in which the key-off event has occurred, and then returns to the main routine RTO from step 5P88.
ここで楽音信号発生部(TG)8はステップ5P87に
おけるキーオフ処理によって、第7図の時点t KOF
Fにおいてキーオフ操作がされたとき、自然減衰の傾斜
をもつディケイ波形部WO3によって楽音を自然に減衰
させる。Here, the musical tone signal generating section (TG) 8 performs the key-off processing in step 5P87 to reach the point t KOF in FIG.
When a key-off operation is performed at F, the musical tone is naturally attenuated by the decay waveform portion WO3 having a natural attenuation slope.
これに対して上述のステップSP82において否定結果
が得られると、このことは演奏者がリピート演奏モード
又はツインマレット演奏モードを指定したことを表して
おり、このときCPU5はステップ5P89においてす
べての発音チャンネルiについて、上述のステップ5P
83と同様の判断をし、否定結果が得られたとき当該キ
ーオフイベントについて実質上キーオフ処理をする必要
がないので、ステップ5P90からメインルーチンRT
Oに戻る。On the other hand, if a negative result is obtained in the above-mentioned step SP82, this means that the performer has specified the repeat performance mode or the twin mallet performance mode, and at this time, the CPU 5 in step 5P89 For i, step 5P above
When the same judgment as in step 83 is made and a negative result is obtained, there is no need to perform key-off processing for the relevant key-off event, so the main routine RT starts from step 5P90.
Return to O.
これに対してステップ5P89において肯定結果が得ら
れたときCPU5は、ステップ5P91に移って当該キ
ーオフイベントが生じた発音チャンネルiのチャンネル
番号データをキーオフデータOFFとしてキーオフデー
タレジスタREGIOに格納した後、ステップ5P92
に移る。On the other hand, when an affirmative result is obtained in step 5P89, the CPU 5 moves to step 5P91, stores the channel number data of the sound generation channel i in which the key-off event has occurred in the key-off data register REGIO as key-off data OFF, and then proceeds to step 5P91. 5P92
Move to.
このステップ5P92においてCPU5は、発音チャン
ネル操作状態レジスタREG2に格納されているキーオ
フディスイネーブルデータ5TBUF(i)tsaのう
ち、キーオフイベントが生じた発音チャンネルのキーオ
フディスイネーブルデータ5TBUF (OFF)LS
Iが論理「1」であるか否かの判断をする。In this step 5P92, the CPU 5 selects key-off disable data 5TBUF (OFF)LS of the sound generation channel in which the key-off event has occurred, among the key-off disable data 5TBUF(i)tsa stored in the sound generation channel operation status register REG2.
It is determined whether I is logical "1" or not.
ここで肯定結果が得られると、このことは現在当該発音
チャンネル1=OFFについてはキーオフ処理を禁止す
る状態にあることを意味しており(第8図(F)及び(
G)) 、このときCPU5はステップ5P93に移っ
て発音チャンネル操作状態レジスタREG2に、当該発
音チャンネル1=OFFのキーオフリクエストデータ5
TBUF(OFF>61として論理「1」データを書き
込んだ後、ステップ5P94からメインルーチンRTO
に戻る。If a positive result is obtained here, this means that the key-off process is currently prohibited for the corresponding sound generation channel 1 = OFF (Fig. 8 (F) and (
G)) At this time, the CPU 5 moves to step 5P93 and stores the key-off request data 5 of the corresponding sound generation channel 1=OFF in the sound generation channel operation status register REG2.
After writing logic “1” data as TBUF (OFF>61), the main routine RTO starts from step 5P94.
Return to
かくしてCPU5はキーオフイベントが生じた発音チャ
ンネル1=OFFにおいて楽音のキーオフ処理が禁止さ
れている期間の間、楽音のキーオフ処理を保留する状態
になる。Thus, the CPU 5 suspends the key-off processing of musical tones during the period in which the key-off processing of musical tones is prohibited when the sound generation channel 1=OFF in which the key-off event occurs.
この保留状態は、キーオフリクエストデータ5TBUF
(OFF) Lsgが論理「0」データに書き直され
ることによりステップ5P92において否定結果が得ら
れるまで続けられる。This pending state is based on key-off request data of 5TBUF.
(OFF) The process continues until a negative result is obtained in step 5P92 by rewriting Lsg to logic "0" data.
これに対してステップ5P92において否定結果が得ら
れると、このことはキーオフイベントが生じた発音チャ
ンネル1=OFFについて、楽音のキーオフ処理の禁止
が解除された期間に入ったことを意味し、このときCP
U5はステップ5P95に移ってキーオフイベントが生
じた発音チャンネル1=OFFのキーオン/キーオフデ
ータ5TBUF (OFF)。8に論理「0」データを
書き込むことによって演奏操作状態がキーオフ操作状態
になったことを表す情報を発音チャンネル操作状態レジ
スタREG2に書き込んだ状態になる。On the other hand, if a negative result is obtained in step 5P92, this means that the period in which the prohibition of key-off processing of musical tones has been lifted for tone generation channel 1 = OFF where the key-off event has occurred, and at this time C.P.
U5 moves to step 5P95 to obtain key-on/key-off data 5TBUF (OFF) of sounding channel 1=OFF where a key-off event has occurred. By writing logical "0" data into the register REG2, information indicating that the performance operation state has become the key-off operation state is written in the sound generation channel operation state register REG2.
このときCPU5はステップ5P96に移って発音チャ
ンネル1=OFFについて発音オン/オフデータKEY
BUF (OFF) Hsmが論理「1」であるか否か
の判断をする。ここで肯定結果が得られると(すなわち
今まで楽音が発生されていたことを意味する)、CPU
5はステップ5P97に移って楽音信号発生部(TG)
8を発音チャンネル1=OFFについて楽音のキーオフ
処理を実行させた後、ステップ5P98において当該キ
ーオフ処理した発音チャンネル1=OFFの発音オン/
オフデータKEYBUF (OFF)+saを論理「0
」データに置き換える(楽音をキーオフ処理した情報を
保持したことを意味する)。At this time, the CPU 5 moves to step 5P96 and sets the sound generation on/off data KEY regarding sound generation channel 1=OFF.
BUF (OFF) Determines whether Hsm is logic "1" or not. If a positive result is obtained here (meaning that musical tones have been generated up to now), the CPU
Step 5 moves to step 5P97, where the musical tone signal generator (TG)
8 to execute the key-off processing of the musical tone for the sound generation channel 1 = OFF, and then in step 5P98, turn on/off the sound generation for the sound generation channel 1 = OFF that has undergone the key-off processing.
Set off data KEYBUF (OFF) + sa to logic “0”
” data (meaning that the information obtained by keying off the musical tone is retained).
これに対して上述のステップSP96において否定結果
が得られると、このことはキーオフ操作されたキーがす
でに楽音を発音している状態にはないことを意味してお
り、このときCPU5はステップ5P97及び5P98
の処理をジャンプしてステップ5P99に移る。On the other hand, if a negative result is obtained in the above-mentioned step SP96, this means that the key that was turned off is not already in the state of producing a musical tone, and at this time, the CPU 5 performs step SP97 and 5P98
The process jumps to step 5P99.
ここでCPU5はキーオフイベントが生したキーのイベ
ントキーコードデータNKYLSI〜6mが最低音キー
コードデータL S T K Ytss〜68と等しい
か否かの判断をし、否定結果が得られたとき(すなわち
最低音以外のキーコードのキーがキーオフ操作されたと
き)、CPU5はステップ5P100からメインルーチ
ンRTOに戻る。Here, the CPU 5 judges whether the event key code data NKYLSI~6m of the key generated by the key-off event is equal to the lowest note key code data L S T K Ytss~68, and when a negative result is obtained (i.e. When a key with a key code other than the lowest tone is turned off), the CPU 5 returns to the main routine RTO from step 5P100.
これに対してステップ5P99において肯定結果が得ら
れたとき(すなわち最低音のキーがキーオフ操作された
とき)、CPU5はステップSP1.01に移ってすべ
ての発音チャンネルiについて、キーオン/キーオフデ
ータ 5TBUF (i)0.が論理「1」であるか否
かの判断をする。On the other hand, when an affirmative result is obtained in step 5P99 (that is, when the lowest note key is operated as a key-off), the CPU 5 moves to step SP1.01 and generates key-on/key-off data 5TBUF ( i) 0. It is determined whether or not the logic is "1".
ここで否定結果が得られると、このことは発音チャンネ
ル操作状態レジスタREG2にはもはやキーオン操作状
態のキーがないことを表しており、このときCPU5は
ステップ5P102に移って最低音キーコードデータL
S T K YLss 、bmにオールOのデータを
書き込むことにより最低音キーコード情報をクリアした
後、ステップ5P103からメインルーチンRTOに戻
る。If a negative result is obtained here, this means that there is no longer a key in the key-on operation state in the sound generation channel operation state register REG2.
After clearing the lowest key code information by writing all O data in S T K YLss and bm, the process returns to the main routine RTO from step 5P103.
これに対してステップ5PIOIにおいて肯定結果が得
られると、CPU5はステップ5PIO4に移ってすべ
ての発音チャンネルiについてキーオン/キーオフデー
タ5TBUF (i)、4smが論理「1」である発音
チャンネルiのうち、発音キーコードデータKEYBU
F (i) Lsg−haが最小となる発音チャンネル
iをサーチすることによって最低音のキーコードをもつ
発音チャンネルiをサーチし、続くステップ5P105
において当該最低音の発音チャンネルiについて発音キ
ーコードデータKEYBUF (i) Ls諺〜4.を
新たな最低音キーコードデータL S T K Yll
l m&j+として最低音キーコードレジスタREG4
に保持した後、ステップ5P106からメインルーチン
RTOに戻る。On the other hand, if a positive result is obtained in step 5PIOI, the CPU 5 moves to step 5PIO4, and calculates key-on/key-off data 5TBUF (i), 4sm for all sounding channels i among sounding channels i whose logic is "1". Pronunciation key code data KEYBU
F (i) Search for the pronunciation channel i with the minimum Lsg-ha to search for the pronunciation channel i having the lowest note key code, followed by step 5P105.
In, the pronunciation key code data KEYBUF for the pronunciation channel i of the lowest note (i) Ls proverb ~ 4. New lowest key code data L S T K Yll
l Lowest key code register REG4 as m&j+
After this, the process returns to the main routine RTO from step 5P106.
(9)音色チェンジの処理
cpusはメインルーチンRTOの音色チェンジ処理ル
ーチンRT7に入ると、第16図に示す処理手順に従っ
て対応する音色の楽音を発生すると共に、当該発生した
楽音の音色に基づいて演奏モード、すなわちノーマル演
奏モード、リピート演奏モード、ツインマレット演奏モ
ードの1つを選択するような処理を実行する。(9) Tone change processing When cpus enters the tone change processing routine RT7 of the main routine RTO, it generates a musical tone of the corresponding tone according to the processing procedure shown in FIG. 16, and performs music based on the tone of the generated musical tone. A process is executed to select one of the following modes: normal performance mode, repeat performance mode, and twin mallet performance mode.
すなわちCPU5はステップ5PIIOにおいて、演奏
者によって新たに指定された音色を表す音色情報データ
TONEをレジスタ部7の音色情報レジスタREG7に
書き込んだ後、ステップ5Pillにおいて音色情報デ
ータの音色パラメータを楽音信号発生部(TG)8に送
出する。That is, in step 5PIIO, the CPU 5 writes the timbre information data TONE representing the timbre newly specified by the performer to the timbre information register REG7 of the register section 7, and then in step 5Pill, the CPU 5 writes the timbre parameters of the timbre information data to the musical tone signal generation section. (TG) Send to 8.
かくして楽音信号発生部(TG)8は演奏者によって指
定された音色の楽音を発生する状態に制御される。In this way, the musical tone signal generating section (TG) 8 is controlled to generate a musical tone of a tone specified by the player.
続いてCPU5はステップ5P112に移って演奏モー
ドレジスタREC5に保持している演奏モードデータM
ODEを旧演奏モードレジスタREG8に旧演奏モード
データ0M0DEとして書き換えた後、ステップ5P1
13において音色情報データTONEを演奏モード変換
デー装置(TONE)に変換してこれを演奏モードデー
タMODEとして演奏モードレジスタREG5に格納す
る。Subsequently, the CPU 5 moves to step 5P112 and inputs the performance mode data M held in the performance mode register REC5.
After rewriting ODE to the old performance mode register REG8 as the old performance mode data 0M0DE, step 5P1
At step 13, the tone color information data TONE is converted into a performance mode conversion data device (TONE) and stored in the performance mode register REG5 as performance mode data MODE.
ここで演奏モード変換データTBL (TONE)は演
奏モード変換テーブル及び音色パラメータメモリ部10
(第1図)に変換テーブルとして予め格納されている。Here, the performance mode conversion data TBL (TONE) is the performance mode conversion table and the tone parameter memory section 10.
(FIG. 1) is stored in advance as a conversion table.
CPU5は続(ステップ5P114において旧演奏モー
ドデータ0M0DEが数値0で(このことは音色チェン
ジ前の演奏モードがノーマル演奏モードであることを意
味している)、かつ演奏モードデータMODEが0では
ない(このことは現在指定されている演奏モードがリピ
ート演奏モード又はツインマレット演奏モードであるこ
とを意味している)であるか否かを判断する。The CPU 5 continues (in step 5P114, the old performance mode data 0M0DE is the numerical value 0 (this means that the performance mode before the tone change is the normal performance mode), and the performance mode data MODE is not 0 ( This means that the currently designated performance mode is the repeat performance mode or the twin mallet performance mode.
ここで肯定結果が得られると、演奏者が指定した音色に
よって変化した演奏モードは、ノーマル演奏モードから
リピート演奏モード又はツインマレット演奏モードであ
ったことを意味し、このときCPU5はステップSpH
5に移ってすべての発音チャンネルについて発音チャン
ネルキーコードレジスタREGIに保持されている発音
オン/オフデータKEYBUF (i)□、を発音チャ
ンネル操作状態レジスタREG2にキーオン/キーオフ
データ5TBUF (i) 、4ssとして転送すると
共に、発音チャンネル楽音処理レジスタREG1の発音
オン/オフデータ KEYBUF (i)9.lをオー
ル0にクリアする。If a positive result is obtained here, it means that the performance mode changed according to the tone specified by the performer was from normal performance mode to repeat performance mode or twin mallet performance mode, and at this time, the CPU 5
Moving on to step 5, the sound on/off data KEYBUF (i) □, held in the sound channel key code register REGI for all sound generation channels, is transferred to the sound channel operation status register REG2 as key on/key off data 5TBUF (i), 4ss. At the same time, the sound generation on/off data of the sound generation channel musical tone processing register REG1 is transferred.KEYBUF (i)9. Clear l to all 0.
かくしてcpusは音色変換前に発音していた発音チャ
ンネルの状態を操作情報として発音チャンネル操作状態
レジスタREG2に移し換えた状態を得る。In this way, the cpus obtains a state in which the state of the sound generation channel that was producing sound before the tone color conversion is transferred to the sound generation channel operation state register REG2 as operation information.
続いてCPU5はステップ5P116において、楽音信
号発生部(TG)8をそのすべての発音チャンネルにつ
いて楽音をキーオフ処理させることにより楽音を減衰さ
せた後、ステップ5P117においてすべての発音チャ
ンネルについて、キーオン/キーオフデータ5TBUF
(i)□1が論理rlJの発音チャンネルであるか否
かの判断をする。Subsequently, in step 5P116, the CPU 5 attenuates the musical tone by causing the musical tone signal generator (TG) 8 to perform key-off processing on the musical tone for all of its sound generation channels, and then in step 5P117, it outputs key-on/key-off data for all sound generation channels. 5TBUF
(i) Determine whether □1 is the sound generation channel of logic rlJ.
ここで否定結果が得られると、このことは発音処理すべ
き発音チャンネルがないことを表しており、従って最低
音の指定もできないことになるので、ステップ5P11
8に移って最低音キーコードデータL S T K Y
Ls−s〜、1にオール0データを書き込んだ後、ステ
ップ5P119からメインルーチンRTOに戻る。If a negative result is obtained here, this means that there is no sound generation channel to be processed, and therefore the lowest note cannot be specified, so step 5P11
Moving on to 8, the lowest note key code data L S T K Y
After writing all 0 data to Ls-s~, 1, the process returns to the main routine RTO from step 5P119.
これに対してステップ5P117において肯定結果が得
られると、このことは発音チャンネル1(=O〜15)
のいずれかにキーオン操作されたキーが割り当てられて
いることを表しており、このときCPU5はステップ5
P120に移ってすべての発音チャンネルiについて、
キーオン/キーオフデータ5TBUF (i)□、が論
理「1」である発音チャンネルiのうち、発音キーコー
ドデータKEYBUF (i) Lsm〜、が最小のキ
ーコードとなる発音チャンネル、すなわち最低音の発音
チャンネルiをサーチする。On the other hand, if a positive result is obtained in step 5P117, this means that the sound generation channel 1 (=O~15)
This indicates that the key that was turned on is assigned to one of the keys, and at this time the CPU 5 executes step 5.
Moving on to P120, for all pronunciation channels i,
Among the sound generation channels i whose key-on/key-off data 5TBUF (i) □ is logic "1", the sound generation channel whose sound generation key code data KEYBUF (i) Lsm~ is the minimum key code, that is, the sound generation channel of the lowest note. Search for i.
続いてCPU5はステップ5P121に移って当該最低
音の発音チャンネルiについて発音キーコードデータK
EYBUF (i)LSI〜h、を最低音キーコードデ
ータL S T K Ytsm〜、1として最低音キー
コードレジスタREG4に書き込んだ後、ステップ5P
122からメインルーチンRTOに戻る。Next, the CPU 5 moves to step 5P121, and generates the pronunciation key code data K for the pronunciation channel i of the lowest note.
EYBUF (i) After writing LSI~h to the lowest note key code register REG4 as the lowest note key code data L S T K Ytsm~, 1, step 5P.
At step 122, the process returns to the main routine RTO.
かくしてCPU5は指定された音色に基づいて切り換え
られた演奏モードにおいて、最低音となるキーコードデ
ータL S T K Y Ls*〜1.を選択して最低
音キーコードレジスタREG4に保持した状態になり、
これによりリピート演奏モード又はツインマレット演奏
モードに入る処理を実行する。In this manner, the CPU 5 selects the key code data L S T K Y Ls*~1. is selected and held in the lowest key code register REG4,
This executes the process of entering repeat performance mode or twin mallet performance mode.
これに対して上述のステップ5P114において否定結
果が得られたとき、CPU5はステップ5P123に移
って旧演奏モードデータ0M0DEが0ではなく、かつ
演奏モードデータMODEがOであるか否かの判断をす
る。On the other hand, when a negative result is obtained in the above step 5P114, the CPU 5 moves to step 5P123 and determines whether the old performance mode data 0M0DE is not 0 and the performance mode data MODE is O. .
ここで肯定結果が得られると、このことは音色チェンジ
前の演奏モードがリピート演奏モード又はツインマレッ
ト演奏モードであった状態からノーマル演奏モードに切
り換わったことを表しており、このときCPU5はステ
ップ5P124に移ってすべての発音チャンネルのうち
キーオン/キーオフデータ5TBUF (i)ssmが
論理rlJの発音チャンネルiについて発音オン/オフ
データKEYBUF (i)。3に論理「1」データを
書き込んだ後、楽音信号発生部(TG)8が当該発音チ
ャンネルiにおいて発音キーコードデータKEYBUF
(i) Lsm〜、lIのキーコードをもつ楽音をキ
ーオン処理するように制御した後、ステップ5P126
からメインルーチンに戻る。If a positive result is obtained here, this means that the performance mode before the tone change has been switched from repeat performance mode or twin mallet performance mode to normal performance mode, and at this time, the CPU 5 Moving on to 5P124, key-on/key-off data 5TBUF (i) of all sounding channels is sounding on/off data KEYBUF (i) for sounding channel i where ssm is logic rlJ. After writing logic "1" data to 3, the musical tone signal generator (TG) 8 generates the sound generation key code data KEYBUF in the corresponding sound generation channel i.
(i) After performing key-on processing on musical tones with key codes of Lsm~ and lI, step 5P126
Return to the main routine.
かくしてCPU5は発音チャンネル操作状態レジスタR
EG2に格納されている押鍵操作情報に基づいて発音チ
ャンネルキーコードレジスタREG1に保持されている
発音キーコードデータを用いてノーマル演奏モードで楽
音を発生する。Thus, the CPU 5 registers the sound generation channel operation status register R.
Based on the key press operation information stored in EG2, musical tones are generated in normal performance mode using the sound generation key code data held in the sound generation channel key code register REG1.
これに対して上述のステップ5P123において否定結
果が得られると、このことは演奏モードの切り換えがな
かったことを表しており、このときCPU5はステップ
5P125から直ちにメインルーチンRTOに戻る。On the other hand, if a negative result is obtained in the above-mentioned step 5P123, this means that the performance mode has not been switched, and in this case, the CPU 5 immediately returns to the main routine RTO from step 5P125.
(10)動作 以上の構成の電子楽器は次のように動作する。(10) Operation The electronic musical instrument having the above configuration operates as follows.
(10a)キーオンイベント処理動作
演奏者がパネル操作部3において音色指定操作をすると
、cpusはメインルーチンRTO(第4図)のステッ
プRT6においてこれを判断して音色チェンジ処理ルー
チンRT7 (第16図)に入ってステップ5P113
において指定された音色に対応するようにノーマル演奏
モード、リピート演奏モード、ツインマレット演奏モー
ドを表す演奏モードデータMO・DE=0.1.2を演
奏モードレジスタREGS&こ格納する。(10a) Key-on event processing operation When the performer performs a tone specifying operation on the panel operation section 3, the CPU determines this in step RT6 of the main routine RTO (Figure 4) and performs a tone change processing routine RT7 (Figure 16). Enter step 5P113
Performance mode data MO·DE=0.1.2 representing the normal performance mode, repeat performance mode, and twin mallet performance mode is stored in the performance mode register REGS&, so as to correspond to the timbre specified in .
ここで、ノーマル演奏モードが指定されたときCPU5
は、ステップ5P114−3’P123−3P124−
3P126のループにおいて、鍵盤部2のキーが演奏さ
れているとき当該キーに対応する楽音を楽音信号発生部
(TG)8において発生させ、これに対して未だ鍵盤部
2においてキーが押鍵操作されていない状態においては
楽音を発生させずにステップ5P125からメインルー
チンに戻る。Here, when the normal performance mode is specified, the CPU5
is step 5P114-3'P123-3P124-
In the loop of 3P126, when a key on the keyboard section 2 is being played, a musical tone corresponding to the key is generated in the musical tone signal generating section (TG) 8, and in response to this, a key is not yet pressed on the keyboard section 2. If not, the process returns to the main routine from step 5P125 without generating musical tones.
これに対してリピート演奏モード又はツインマレット演
奏モードが指定されたときCPU5は、ステップ5PI
L4−3P115−3P116−SP117−SP12
0−3P121−5PI22のループにおいて、楽音信
号発生部(TG)8を全体として一旦キーオフ状態にリ
セットした後、キーオン操作されているキーのうち最小
のキーコードの楽音を最低音キーコードデータ LST
KYL、〜4.に選定して(又はキーオン操作されたキ
ーがない場合は最低音キーコードデータLSTK Y
L□〜611をオールrOJにセットして)、タイマ割
込処理ルーチンRTIO(第10図)による繰返し波形
WAVEI (リピート演奏モード時)、又はWAV
El、WAVE2 (ツインマレット演奏モード時)の
形成処理に備える。On the other hand, when the repeat performance mode or the twin mallet performance mode is specified, the CPU 5 performs step 5PI.
L4-3P115-3P116-SP117-SP12
In the loop of 0-3P121-5PI22, after resetting the musical tone signal generator (TG) 8 as a whole to the key-off state, the musical tone of the minimum key code among the keys that are operated on is generated as the lowest note key code data LST
KYL, ~4. (or if no key has been pressed, the lowest key code data LSTK Y
Set L□ to 611 to all rOJ), repeat waveform WAVEI (in repeat performance mode), or WAV by timer interrupt processing routine RTIO (Fig. 10).
Prepare for the formation process of El and WAVE2 (during twin mallet performance mode).
この状態において演奏者がノーマル演奏モードを指定し
て鍵盤部2のキーをキーオン操作すると(第17図(A
)) 、CPU5はこれをステップRT2 (第4図)
において判断してキーオンイベント処理ルーチンRT3
(第5図)に入り、ステップ5PI−3P2−3P3
−SF3−3P5−3P6のループによって押鍵された
キーのキー情報を発音チャンネルi =ASSに割り当
てた後、楽音信号発生部(TG)8において楽音を発生
させ、かくして楽音信号発生部(TG)8は第17図(
C)に示すように、押鍵操作時点tKONにおいて順次
アタック波形部WOI及びサスティン波形部WO2を形
成する。In this state, when the performer specifies the normal performance mode and presses the key on the keyboard section 2 (see Fig. 17 (A)
)), the CPU 5 executes this step RT2 (Fig. 4)
The judgment is made in key-on event processing routine RT3.
(Figure 5), step 5PI-3P2-3P3
- After assigning the key information of the key pressed by the loop of SF3-3P5-3P6 to the sound generation channel i = ASS, a musical tone is generated in the musical tone signal generating section (TG) 8, and thus the musical tone signal generating section (TG) 8 is shown in Figure 17 (
As shown in C), an attack waveform portion WOI and a sustain waveform portion WO2 are sequentially formed at the key press operation time point tKON.
このノーマル演奏モードにおいて割込用タイマ10から
割込信号INTが発生したときCPU5は、タイマ割込
処理ルーチンRTIO(第10図)のステップ5P21
−3P22のループによって直ちにメインルーチンに戻
る。従って楽音信号発生部(TC;)8は発生している
楽音に対して引き続きサスティン波形部WO2を維持す
るようなエンベロープ制御を実行することにより、演奏
者がキーをキーオン操作している間当該キーに対応する
楽音を発生し続ける。In this normal performance mode, when the interrupt signal INT is generated from the interrupt timer 10, the CPU 5 executes step 5P21 of the timer interrupt processing routine RTIO (FIG. 10).
-3P22 loop immediately returns to the main routine. Therefore, the musical tone signal generator (TC;) 8 performs envelope control to maintain the sustain waveform section WO2 for the musical tone being generated, so that the tone signal generator (TC;) continues to generate musical tones corresponding to.
これに対して演奏者がリピート演奏モード又はツインマ
レット演奏モードを指定して鍵盤部2のキーをキーオン
操作すると(第18図(A1)〜(A4)、又は第19
図(A)’) 、CPU5はこれをステップRT2 (
第4図)において判断してキーオンイベント処理ルーチ
ンRT3 (第5図)に入り、ステップ5PI−3P2
−3P?−3P8−3P9−3PIOのループによって
押鍵されたキーのキー情報を発音チャンネルj=Ass
に割り当てると共に最低音キーコードデータL S T
KYLIm〜6.を選定した後、ステップ5PII−3
P13−3P14−3P15−3P16のループによっ
て割込用タイマ11及び時間情報データTIMを同期化
する。In contrast, when the performer specifies the repeat performance mode or the twin mallet performance mode and presses the keys on the keyboard section 2 (Fig. 18 (A1) to (A4), or
Figure (A)'), the CPU 5 executes this in step RT2 (
4), enters the key-on event processing routine RT3 (FIG. 5), and enters step 5PI-3P2.
-3P? -3P8-3P9-3PIO loop generates key information of the pressed key Channel j=Ass
As well as assigning the lowest note key code data L S T
KYLIm~6. After selecting, step 5PII-3
The interrupt timer 11 and the time information data TIM are synchronized by a loop of P13-3P14-3P15-3P16.
ここで、CPU5は、ステップ5P15において、タイ
マ割込処理ルーチンRTIO(第10図)のステップ5
P21−3P23−3P24−3P26−3P30−3
P31のループによって繰返し波形WAVEI (第
18図(C1)〜(C4))、又はWAVEI、WAV
E2 (第19図(E)、(F))の急速減衰波形部W
11、又はWl 1、W21、アタック波形部W12、
又はWl2、W22、サスティン波形部W13、又はW
l3、W23、ディケイ波形部W14、又はWl、l、
W24を形成して行く。Here, in step 5P15, the CPU 5 executes step 5 of the timer interrupt processing routine RTIO (FIG. 10).
P21-3P23-3P24-3P26-3P30-3
Through the loop of P31, the repetitive waveform WAVEI (Fig. 18 (C1) to (C4)), or WAVEI, WAV
Rapid decay waveform part W of E2 (Fig. 19 (E), (F))
11, or Wl 1, W21, attack waveform part W12,
or Wl2, W22, sustain waveform section W13, or W
l3, W23, decay waveform part W14, or Wl, l,
We will form W24.
以後CPU5は、割込用タイマ11から割込信号INT
が得られるごとにタイマ割込処理ルーチンRTIO(第
10図)を実行することにより1ツノ繰返し波形WAV
EI、又はWAVEI、WAVE2の続く波形部分を形
成して行き、さらに続いて演奏者がキーオフ操作するま
で当該繰返し波形WAVEI、又はWAVEI、WAV
E2を繰返し形成する。Thereafter, the CPU 5 receives the interrupt signal INT from the interrupt timer 11.
By executing the timer interrupt processing routine RTIO (Fig. 10) each time the waveform WAV is obtained,
EI, WAVEI, and WAVE2 are formed, and the waveforms WAVEI, WAVEI, and WAV are repeated until the player performs a key-off operation.
Form E2 repeatedly.
やがて演奏者がキーオフ操作をすると、CPU5は指定
された演奏モードに対応するようにキーオフ処理を実行
する。When the player eventually performs a key-off operation, the CPU 5 executes a key-off process corresponding to the designated performance mode.
(10b)ノーマル演奏モードのキーオフ処理第17図
(A)の時点t ll0FFにおいて演奏者がキーを離
鍵操作すると、CPU5はこれをメインルーチンRTO
(第4図)のキーオフイベントRT4において検出して
キーオフイベント処理ルーチンRT5 (第15図)に
入り、ステップ5P81−3P82−SP83−3P8
5−3P86−3P87−SPB8のループによって楽
音信号発生部(TG)8においてキーオフイベントが生
じたキーについての楽音を減衰させる(第17図(C)
)。(10b) Key-off processing in normal performance mode When the performer releases a key at time tll0FF in FIG.
(Fig. 4), the key-off event processing routine RT5 (Fig. 15) is detected, and the key-off event processing routine RT5 (Fig. 15) is detected, and steps 5P81-3P82-SP83-3P8
5-3P86-3P87-SPB8 loop attenuates the musical tone for the key where the key-off event occurs in the musical tone signal generator (TG) 8 (Fig. 17(C))
).
ここでノーマル演奏モードにおける楽音の減衰波形は、
第7図のディケイ波形部WO3について上述したように
、小さい傾斜の自然減衰波形に選定されており、これに
よりキーオフ処理された楽音はノイズ等の不自然な変化
を生じさせることなく自然に減衰する。Here, the attenuation waveform of the musical tone in normal performance mode is
As mentioned above, the decay waveform section WO3 in FIG. 7 is selected as a natural decay waveform with a small slope, so that the musical tone subjected to key-off processing decays naturally without causing any unnatural changes such as noise. .
(10c)リピート演奏モードのキーオフ処理第1に、
第18図(A1)に示すように、急速減衰波形部W11
(第18図(CI))の期間【。〜t8の間の時点t
よ。FFIにおいて押鍵操作されている複数のキーのう
ちの1つが離鍵操作されると、CPU5はメインルーチ
ンRTO(第4図)のキーオフイベント処理ルーチンR
T5 (第15図)のステップ5P81−3P82−3
P89−3P91−3P92−3P93−3P94のル
ープによって、当該キーオフイベントが生じたキーにつ
いてキーオフリクエストデータ5TBUF(OFF)i
nを発音チャンネル操作状態レジスタREG2に保持し
た状態を得、かくしてキーオフ時点t、。FFIにおい
ては楽音信号発生部(TG)8をキーオフ動作させない
ように制御し、この状態を時点tlSまで維持する。(10c) Key-off processing in repeat performance mode First,
As shown in FIG. 18 (A1), the rapid decay waveform portion W11
(Figure 18 (CI)) period [. Time t between ~t8
Yo. When one of the plurality of keys being pressed in the FFI is released, the CPU 5 executes the key-off event processing routine R of the main routine RTO (FIG. 4).
Steps 5P81-3P82-3 of T5 (Figure 15)
Through the loop of P89-3P91-3P92-3P93-3P94, key-off request data 5TBUF(OFF)i is generated for the key where the key-off event has occurred.
A state is obtained in which n is held in the sound generation channel operation state register REG2, thus key-off time t,. In the FFI, the musical tone signal generator (TG) 8 is controlled so as not to perform a key-off operation, and this state is maintained until time tlS.
因に時点t0〜t、のタイミングにおいては、キーオフ
ディスイネーブルデータ5TBUF (OFF)tsm
が論理「1」に立ち上がっているので(第18図(B)
) 、CPU5はステップ5P92 (第15図)にお
いて肯定結果を得ることにより直ちに発音キーオフ処理
をしないようにすると共に、ステップSP93において
キーオフリクエストデータ5TBUF (OFF)ha
として論理「l」データを保持させる。Incidentally, at the timing from time t0 to time t, key-off disable data 5TBUF (OFF)tsm
has risen to logic “1” (Figure 18 (B)
), the CPU 5 obtains an affirmative result in step 5P92 (FIG. 15) so that it does not immediately perform the sound generation key-off process, and also sets the key-off request data 5TBUF (OFF) ha in step SP93.
The logical "l" data is held as .
その後時点t1.になると、CPU5がタイマ割込処理
ルーチンRTIO(第10図)のディスイネーブル終了
サブルーチン5P28 (第13図)のステップ5P6
1−3P62−3P64において、すべての発音チャン
ネルiについて楽音信号発生部(TG)8をキーオフ制
御することにより、繰返し波形WAVEI(第18図(
C1))を自然減衰波形部W15に沿って自然減衰させ
る。か(してCPU5は楽音に不自然な変化を生じさせ
ないように楽音を自然に減衰させることができる。Then time t1. Then, the CPU 5 executes step 5P6 of the disable end subroutine 5P28 (FIG. 13) of the timer interrupt processing routine RTIO (FIG. 10).
1-3P62-3P64, the repetitive waveform WAVEI (FIG. 18 (
C1)) is naturally attenuated along the naturally attenuated waveform portion W15. (Thus, the CPU 5 can naturally attenuate the musical tone so as not to cause unnatural changes in the musical tone.
因にキーオフ時点t KOFF+において楽音の発生を
途切れさせると、楽音が急速減衰波形Wllのまま急速
に減衰するために楽音に雑音が生ずることを避は得ない
が、上述の実施例によればキーオフイベントが生じたタ
イミングに対応する急速減衰波形Wllに続いてさらに
1波分だけアタック波形部W12、サスティン波形部W
13及び自然減衰波形部W15を生じさせることにより
楽音を自然に減衰させることができる。Incidentally, if the generation of musical tones is interrupted at the key-off time tKOFF+, noise will inevitably be generated in the musical tones because the musical tones will rapidly attenuate with the rapid decay waveform Wll; Following the rapid decay waveform Wll corresponding to the timing at which the event occurred, there is an attack waveform portion W12 and a sustain waveform portion W for one more wave.
13 and the natural attenuation waveform portion W15, the musical tone can be attenuated naturally.
第2に、第18図(A2)に示すように、アタック波形
部W12及びサスティン波形部W13が形成される時点
t0及びt+s間の時点t KQFF2においてキーオ
フ操作がされると、CPU5は、第18図(A1)の場
合と同様にしてキーオフイベント処理ルーチンRT5
(第15図)のステップ5P81−3P82−3P89
−3P91−3P92−3P93−3P94のループに
よってキーオフリクエストデータ5TBUF (OFF
)611を保持した後、その後の時点tlsにおいてデ
ィスイネーブル終了サブルーチン5P2B (第13図
)のステップ5P61−3P62−3P64のループに
よってキーオフリクエストデータSTBUF(OFF)
amが保持されている発音チャンネルについて発音キー
オフ処理させる。これにより第18図(C2)に示すよ
うにキーオフ時点t war。Second, as shown in FIG. 18 (A2), when a key-off operation is performed at time t KQFF2 between time t0 and t+s when the attack waveform portion W12 and sustain waveform portion W13 are formed, the CPU 5 The key-off event processing routine RT5 is performed in the same way as in the case of FIG.
(Figure 15) Steps 5P81-3P82-3P89
- Key-off request data 5TBUF (OFF
) 611, the key-off request data STBUF (OFF) is set at a subsequent time tls by a loop of steps 5P61-3P62-3P64 of the disable end subroutine 5P2B (Fig. 13).
The sound generation channel in which am is held is subjected to sound key-off processing. As a result, the key-off time t war is reached as shown in FIG. 18 (C2).
の後も引き続き楽音信号発生部(TG)8を発音制御し
続けた後、自然減衰波形部W15によって楽音を自然減
衰させることができる。After continuing to control the musical tone signal generating section (TG) 8 to generate sound, the musical tone can be naturally attenuated by the natural attenuation waveform section W15.
かくしてこの場合においてもCPU5は発生している楽
音に不自然な変化を生じさせることなく減衰させること
ができる。Thus, even in this case, the CPU 5 can attenuate the generated musical tone without causing any unnatural changes.
因にキーオフ時点t KOFF2においてアタック波形
部W12の途中で直ちに楽音を減衰させると、不完全な
アタック波形が残ることにより音を引きするような不自
然な印象を与えるような楽音の変化が生ずるおそれがあ
るが、上述の実施例によればこれを未然に防止し得る。Incidentally, if the musical tone is immediately attenuated in the middle of the attack waveform portion W12 at the key-off time t KOFF2, an incomplete attack waveform may remain, which may cause a change in the musical tone that gives an unnatural impression that the sound is being pulled back. However, according to the embodiment described above, this can be prevented.
第3に、第18図(A3)に示すように、サスティン波
形部W13に対応する時点t’s及びt2゜間の時点t
KOFF+においてキーオフイベントが生じたとき、
CPU5は、キーオフディスイネーブルデータ5TBU
F (OFF)Lm富がすでに論理「0」レベルに立ち
下がっていることにより、キーオフイベント処理ルーチ
ンRT5 (第15図)のステップSP81−3P82
−3P89−3P91−3P92−3P95−3P96
−3P97−3P98のループによって、楽音信号発生
部(TG)8の発音チャンネルiのうちキーオフイベン
トが生じた発音チャンネル1=OFFについて直ちにキ
ーオフ処理を実行させる。Thirdly, as shown in FIG. 18 (A3), the time t between the time t's and t2° corresponding to the sustain waveform portion W13.
When a key-off event occurs in KOFF+,
The CPU 5 stores 5 TBU of key-off disable data.
Since F (OFF) Lm has already fallen to the logic "0" level, steps SP81-3P82 of the key-off event processing routine RT5 (FIG. 15) are executed.
-3P89-3P91-3P92-3P95-3P96
-3P97-3P98 loop causes the key-off process to be immediately executed for the sound generation channel 1=OFF in which the key-off event has occurred among the sound generation channels i of the musical tone signal generator (TG) 8.
その結果CPU5は、第18図(C3)に示すように、
キーオフ時点tに。FFIから直ちに自然減衰波形部W
16によって自然減衰させるようなエンベロープ制御を
する。As a result, the CPU 5, as shown in FIG. 18 (C3),
At key-off time t. Naturally damped waveform part W immediately from FFI
16 performs envelope control for natural attenuation.
第4に、第18図(A4)に示すように、ディケイ波形
部W14に対応する時点tza及び次の周期の時点t0
間の時点t KOFF4においてキーオフイベントが生
じると、このときCPU5はすでに時点t2゜において
、タイマ割込処理ルーチンRT10(第10図)の繰返
し波形キーオフサブルーチン5P29 (第14図)の
ステップ5P75−3P76によって楽音信号発生部(
TG)8をキーオフ処理すると共に発音オン/オフデー
タKEYBUF (i)。、を論理「0」レベルにクリ
アさせた状態に制御しているので、キーオフイベント処
理ルーチンRT5 (第15図)のステップ5P81−
3P82−3P89−3P90のループによって楽音信
号発生部(TG)8を引き続き自然減衰させるようにエ
ンベロープ制御する。Fourth, as shown in FIG. 18 (A4), the time tza corresponding to the decay waveform portion W14 and the time t0 of the next cycle.
When a key-off event occurs at time t KOFF4, the CPU 5 has already executed the key-off event at time t2 by steps 5P75-3P76 of the repetitive waveform key-off subroutine 5P29 (Fig. 14) of the timer interrupt processing routine RT10 (Fig. 10). Musical tone signal generator (
TG) Performs key-off processing on 8 and generates sound on/off data KEYBUF (i). , is controlled to be cleared to the logical "0" level, so step 5P81- of the key-off event processing routine RT5 (Fig. 15)
The loop of 3P82-3P89-3P90 performs envelope control so that the tone signal generator (TG) 8 continues to naturally attenuate.
その結果繰返し波形WAVEIは第18図(C4)に示
すように、時点t2゜から生したディケイ波形部W14
をそのまま減衰させるような自然減衰波形W16に沿う
エンベロープを呈することになり、その結果CPU5は
楽音に不自然な変化を生じさせることなく楽音を減衰さ
せることができる。As a result, the repetitive waveform WAVEI is a decay waveform portion W14 generated from time t2°, as shown in FIG. 18 (C4).
As a result, the CPU 5 can attenuate the musical tone without causing an unnatural change in the musical tone.
(10d)ツインマレット演奏モードのキーオフ処理ツ
インマレット演奏モードにおいてCPU5は、繰返し波
形キーオンサブルーチン5P27 (第12図)のステ
ップ5P45−3P48−3P49−3P50−3P5
1−3P52のループと、ステップ5P45−3P48
−3P53−3P54−3P55のループとを切り換え
ることにより、直前に発生していた楽音群、すなわち最
低音又はその他の楽音群とは逆の楽音群を交互に発生さ
せるのに対して、最低音又はその他の楽音群の1つにキ
ーオフイベントが生じたときには、第18図について上
述したリピート演奏モードの場合と同様にして第19図
に示すように、キーオフイベントが生じた時点t KO
FFI % t KOFFI 、t I[0FF3、
t KOFF4に応じて自然減衰するディケイ波形W1
5、W16、W17に沿うように楽音を減衰させる。(10d) Key-off processing in twin mallet performance mode In the twin mallet performance mode, the CPU 5 executes steps 5P45-3P48-3P49-3P50-3P5 of the repetitive waveform key-on subroutine 5P27 (Fig. 12).
1-3P52 loop and steps 5P45-3P48
- By switching between the loops of 3P53, 3P54, and 3P55, a group of musical tones opposite to the group of musical tones generated immediately before, that is, the lowest note or other musical tones, is alternately generated, whereas the lowest note or other musical tones are alternately generated. When a key-off event occurs in one of the other musical tone groups, as shown in FIG. 19 in the same manner as in the repeat performance mode described above with reference to FIG.
FFI % t KOFFI , t I[0FF3,
t Decay waveform W1 that naturally attenuates according to KOFF4
5. Attenuate the musical tone along W16 and W17.
このとき繰返し波形WAVEI又はWAVE2のキーオ
フ禁止期間を、キーオフディスイネーブルデータ5TB
UF (OFF)ILSm又は5TBUF (OFF)
2Lsm (第19図(C)又は(D))によって形
成する。At this time, the key-off prohibition period of the repetitive waveform WAVEI or WAVE2 is set using key-off disable data 5TB.
UF (OFF) ILSm or 5TBUF (OFF)
2Lsm (FIG. 19(C) or (D)).
これによりキーオフ処理をした場合に楽音に不自然な変
化を生じさせないようにできる。This prevents unnatural changes in musical tones when key-off processing is performed.
ここでツインマレット演奏モードにおいては、最低音の
キーにキーオフイベントが生じた場合CPU5は、キー
オフイベント処理ルーチンRT5(第15図)のステッ
プ5P96−5P99−3P10.1−3P104−3
P105−3P106のループによって、その他の楽音
群の楽音のうち最低音になる楽音を選定し直すことによ
り、当該選定し直した楽音について最低音側の繰返し波
形WAVEI (第19図(E))のエンベロープ処
理を実行する。Here, in the twin mallet performance mode, when a key-off event occurs on the lowest note key, the CPU 5 performs the steps 5P96-5P99-3P10.1-3P104-3 of the key-off event processing routine RT5 (FIG. 15).
Through the loop of P105-3P106, by reselecting the musical tone that is the lowest tone among the musical tones of the other musical tone groups, the lowest tone repeating waveform WAVEI (Fig. 19 (E)) is created for the reselected musical tone. Perform envelope processing.
これに対してその他の楽音群のうちの1音についてキー
オフイベントが生じた場合には、当該キーオフイベント
が生じた楽音について、急速減衰サブルーチン5P26
(第11図)について上述した急速減衰処理を実行す
ることにより当該キーオフイベントが生じた楽音だけを
減衰させる。On the other hand, if a key-off event occurs for one of the other musical tones, the rapid decay subroutine 5P26
By executing the rapid attenuation process described above with respect to FIG. 11, only the musical tone in which the relevant key-off event has occurred is attenuated.
上述の実施例によれば、ツインマレット演奏モードにお
いても楽音に不自然な変化を生じさせることなくキーオ
フイベントが生じた楽音を自然に減衰させることができ
る。According to the embodiment described above, even in the twin mallet performance mode, it is possible to naturally attenuate a musical tone in which a key-off event has occurred without causing any unnatural changes in the musical tone.
〔2〕他の実施例
(1)上述の実施例においては、繰返し波形WAVEl
、WAVE2のうち、急速減衰波形部Wll、W21の
開始時点からアタック波形部W12、W22を経てサス
ティン波形部W13、W23に入るまでの間、キーオフ
ディスイネーブルデータ5TBUF (OFF)tsm
(第18図)、5TBUF (OFF)ltsa
S 5TBUF (OFF)2L−1(第19図)を
論理rlJに立ち上げることにより、当該論理「1」の
期間の間、楽音のキーオフ処理をさせないようにした実
施例について述べたが、当該楽音キーオフ禁止期間はこ
れに限らず、例えば急速減衰波形部Wll、W21の期
間、アタック波形部W12、W22の期間等に限るよう
にしても上述の場合と同様の効果を得ることができる。[2] Other embodiments (1) In the above embodiment, the repetitive waveform WAVEl
, WAVE2, key-off disable data 5TBUF (OFF) tsm is used from the start of the rapid decay waveform portions Wll and W21 to the sustain waveform portions W13 and W23 via the attack waveform portions W12 and W22.
(Figure 18), 5TBUF (OFF)ltsa
An example has been described in which key-off processing of musical tones is not performed during the period of logic "1" by setting S5TBUF (OFF) 2L-1 (FIG. 19) to logic rlJ. The key-off prohibition period is not limited to this, and the same effect as described above can be obtained even if it is limited to, for example, the period of the rapid decay waveform portions Wll and W21, the period of the attack waveform portions W12 and W22, etc.
(2)キーオンイベントが生じたときの発音チャンネル
の割当方法は、上述の方法に限らず他の方法を適用して
も良い。(2) The method of allocating sound generation channels when a key-on event occurs is not limited to the method described above, and other methods may be applied.
(3)上述の実施例においては、ツインマレット演奏モ
ードにおいて、楽音を最低音とその他の楽音群とに分け
るようにしたが、音群の分は方はこれに限らず例えば最
高音とその他の楽音群とに分ける等、種々変更し得る。(3) In the above embodiment, musical tones are divided into the lowest note and other musical tone groups in the twin mallet performance mode, but the tone groups are not limited to this, for example, the highest note and other musical tone groups. Various changes may be made, such as dividing into musical tone groups.
(4)上述の実施例においては、発音オン/オフデータ
KEYBUF (i) 、4saを保留する期間として
、急速減衰波形部Wit、W21からアタック波形部W
12、W22、サスティン波形部W13、W23に亘る
期間TIM=0〜TIM=15に選定するようにした場
合について述べたが、本発明はこれに限らず急速減衰波
形部Wll、W21をもたないような繰返し波形WAV
EI、WAVE2の場合には、アタック波形部W12の
期間に選定するようにしても上述の場合と同様の効果を
得ることができる。(4) In the above embodiment, the period in which the sound generation on/off data KEYBUF (i) and 4sa are suspended is from the rapid decay waveform portion Wit, W21 to the attack waveform portion W.
12, W22, and the period TIM=0 to TIM=15 spanning the sustain waveform portions W13, W23 has been described, but the present invention is not limited to this, and does not have the rapid decay waveform portions Wll, W21. Repeated waveform WAV like
In the case of EI and WAVE2, the same effect as in the above case can be obtained even if the period of the attack waveform portion W12 is selected.
上述のようにこの発明によれば、繰返し波形を生じさせ
るようにエンベロープ制御をするにつき、キーオフイベ
ントが生じたタイミングにおいて即時に楽音を途切らせ
たときに楽音に不自然な変化が生ずる場合には自然減衰
波形を形成させるようにしたことにより、繰返し波形の
どのタイミングにおいてキーオフイベントが生じても楽
音を常に自然に減衰させるようにし得る。As described above, according to the present invention, when envelope control is performed to generate a repetitive waveform, if an unnatural change occurs in the musical tone when the musical tone is immediately interrupted at the timing when a key-off event occurs, By forming a natural attenuation waveform, the musical tone can always be attenuated naturally no matter what timing of the repeated waveform a key-off event occurs.
第1図は本発明による電子楽器の一実施例を示すブロッ
ク図、第2図はそのレジスタ部の詳細構成を示す路線図
、第3図はキー及びキーコードの関係を示す図表、第4
図は第1図のCPUのメインルーチンを示すフローチャ
ート、第5図は第4図のキーオンイベント処理ルーチン
を示すフローチャート、第6図は演奏モードの説明に供
する路線図、第7図はノーマル演奏モードのエンベロー
プ制御の説明に供する信号波形図、第8図はリピート演
奏モード及びツインマレット演奏モードのエンベロープ
制御の説明に供する信号波形図、第9図はタイマ割込処
理の説明に供する信号波形図、第10図はタイマ割込処
理ルーチンを示すフローチャート、第11図、第12図
、第13図、第14図はそれぞれ第10図の急速減衰サ
ブルーチン5P26、繰返し波形キーオンサブルーチン
5P27、ディスイネーブル終了サブルーチン5P28
、繰返し波形キーオフサブルーチン5P29を示すフロ
ーチャート、第15図は第4図のキーオフイベント処理
ルーチンを示すフローチャート、第16図は第4図の音
色チェンジ処理ルーチンを示すフローチャート、第17
図、第18図、第19図はそれぞれノーマル演奏モード
、リピート演奏モード、ツインマレット演奏モードの動
作の説明に供する信号波形図である。
1・・・・・・電子楽器、2・・・・・・鍵盤部、3・
・・・・・パネル操作部、5・・・・・・CPU、?・
・・・・・レジスタ部、8・・・・・・楽音信号発生部
(TG) 、10・・・・・・演奏モード変換テーブル
及び音色パラメータメモリ部、11・・・・・・割込用
タイマ。
7しジスタ部
レジλり部oQt#譲田
第2図
ノーフル噴奏モード リピー1−壇奏モード ゛ソ
インマトット114t−ド(A) (
ε) (C)慕6 図
を瞭
tteopp−
負連
減衰フ7”ルー+ン
第ff 図
縁改Lfi形キーオンサアルー手ン
→ζ グ2 EユFIG. 1 is a block diagram showing an embodiment of an electronic musical instrument according to the present invention, FIG. 2 is a route map showing the detailed configuration of the register section, FIG. 3 is a diagram showing the relationship between keys and key codes, and FIG.
The figure is a flowchart showing the main routine of the CPU in Fig. 1, Fig. 5 is a flowchart showing the key-on event processing routine in Fig. 4, Fig. 6 is a route map for explaining the performance mode, and Fig. 7 is the normal performance mode. FIG. 8 is a signal waveform diagram for explaining envelope control in repeat performance mode and twin mallet performance mode. FIG. 9 is a signal waveform diagram for explaining timer interrupt processing. FIG. 10 is a flowchart showing the timer interrupt processing routine, and FIGS. 11, 12, 13, and 14 are the rapid decay subroutine 5P26, repeated waveform key-on subroutine 5P27, and disable end subroutine 5P28 of FIG. 10, respectively.
, a flowchart showing the repeated waveform key-off subroutine 5P29, FIG. 15 is a flowchart showing the key-off event processing routine in FIG. 4, FIG. 16 is a flowchart showing the tone change processing routine in FIG. 4, and FIG.
18 and 19 are signal waveform diagrams for explaining the operations in the normal performance mode, repeat performance mode, and twin mallet performance mode, respectively. 1...Electronic musical instrument, 2...Keyboard section, 3.
...Panel operation section, 5...CPU, ?・
... Register section, 8 ... Musical tone signal generation section (TG), 10 ... Performance mode conversion table and tone parameter memory section, 11 ... For interrupt timer. 7 register section register lambda oQt
ε) (C) 楕6 Please refer to the diagram.
Claims (3)
キーオン操作情報及びキーオフ操作情報に基づいて複数
の繰返し波形をもつエンベロープの楽音を発生させるよ
うになされた電子楽器において、上記キーオン操作情報
に基づいて楽音キーオン処理情報を発生する楽音キーオ
ン処理情報発生手段と、 上記キーオフ操作情報に基づいて楽音キーオフ処理情報
を発生する楽音キーオフ処理情報発生手段と、 上記楽音キーオン情報及び上記楽音キーオフ情報が与え
られたとき上記複数の繰返し波形をもつエンベロープの
楽音信号を発生する楽音信号発生手段と、 上記繰返し波形の発生期間のうち所定の期間に対応する
タイミングで上記キーオフ操作情報が生じたとき、当該
所定の期間が経過するまでの間、上記楽音キーオフ処理
情報を保留し、当該経過時点において上記楽音信号発生
手段から自然減衰波形を有する上記楽音信号を発生させ
る楽音キーオフ処理情報保留手段と を具えることを特徴とするエンベロープ制御装置。(1) In an electronic musical instrument that is configured to generate an envelope musical tone having a plurality of repetitive waveforms based on key-on operation information and key-off operation information obtained by key-on operation and key-off operation, based on the key-on operation information, musical key-on processing information generating means for generating musical key-on processing information; musical key-off processing information generating means for generating musical key-off processing information based on the key-off operation information; and the musical key-on information and the musical key-off information are provided. a musical tone signal generating means for generating an enveloped musical tone signal having the plurality of repetitive waveforms, and when the key-off operation information is generated at a timing corresponding to a predetermined period among the generation periods of the repetitive waveforms, the predetermined period and musical tone key-off processing information holding means for holding the musical tone key-off processing information until the period of time has elapsed, and generating the musical tone signal having a naturally decaying waveform from the musical tone signal generating means at the time when the musical tone key-off processing information has elapsed. envelope control device.
衰波形を形成する急速減衰波形形成手段を具え、上記楽
音キーオフ処理情報保留手段は、上記急速減衰波形が形
成されている期間の間、上記楽音キーオフ処理情報を保
留することを特徴とする特許請求の範囲第1項に記載の
エンベロープ制御装置。(2) comprising rapid decay waveform forming means for forming a rapid decay waveform in the decay waveform portion of the plurality of repetitive waveforms; 2. The envelope control device according to claim 1, wherein musical tone key-off processing information is held.
の繰返し波形のアタック波形部が形成されている期間の
間、上記楽音キーオフ処理情報を保留することを特徴と
する特許請求の範囲第1項に記載のエンベロープ制御装
置。(3) The musical tone key-off processing information holding means holds the musical tone key-off processing information during a period in which attack waveform portions of the plurality of repetitive waveforms are formed. Envelope control device as described in.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63200406A JPH0248699A (en) | 1988-08-11 | 1988-08-11 | Envelope controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63200406A JPH0248699A (en) | 1988-08-11 | 1988-08-11 | Envelope controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0248699A true JPH0248699A (en) | 1990-02-19 |
Family
ID=16423788
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63200406A Pending JPH0248699A (en) | 1988-08-11 | 1988-08-11 | Envelope controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0248699A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0468398A (en) * | 1990-07-10 | 1992-03-04 | Yamaha Corp | Envelope waveform generating device |
-
1988
- 1988-08-11 JP JP63200406A patent/JPH0248699A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0468398A (en) * | 1990-07-10 | 1992-03-04 | Yamaha Corp | Envelope waveform generating device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5804751A (en) | Electronic musical instrument for electronically generating tone together with resonant sound variable in response to pedal action | |
| EP0274137A2 (en) | Tone signal generation device having a tone sampling function | |
| US4969385A (en) | Reassignment of digital oscillators according to amplitude | |
| JPH0248699A (en) | Envelope controller | |
| JPH04198994A (en) | Method for controlling musical tone of electronic musical instrument | |
| JPS5943758B2 (en) | Assigner for electronic musical instruments | |
| JPH06266354A (en) | Electronic musical instrument | |
| JPS59139095A (en) | Electronic musical instrument | |
| JPH01177085A (en) | Electronic musical instrument | |
| JP4240772B2 (en) | Music data processing device | |
| JPH096343A (en) | Musical tone signal generator | |
| JP3067145B2 (en) | Envelope generation control device, sound emission form control device, envelope generation control method, and sound emission form control method | |
| JPH05341777A (en) | Parameter controller of electronic musical instrument | |
| JPS5827517B2 (en) | Attenuated sound canceling device for electronic musical instruments | |
| JPS62174797A (en) | Effect impartment controller for electronic musical apparatus | |
| JPH04166895A (en) | Electronic musical instrument | |
| JPS6294898A (en) | electronic musical instruments | |
| JPS63261395A (en) | Electronic musical instrument | |
| JP3508139B2 (en) | Digital signal processor | |
| JP2957204B2 (en) | Electronic musical instrument | |
| JP3011064B2 (en) | Music processing unit | |
| JP4306138B2 (en) | Musical sound generator and musical sound generation processing program | |
| JP3190103B2 (en) | Music synthesizer | |
| JP2993055B2 (en) | Electronic musical instrument | |
| JP2694935B2 (en) | Automatic ensemble device |