JPH0210439B2 - - Google Patents
Info
- Publication number
- JPH0210439B2 JPH0210439B2 JP59133025A JP13302584A JPH0210439B2 JP H0210439 B2 JPH0210439 B2 JP H0210439B2 JP 59133025 A JP59133025 A JP 59133025A JP 13302584 A JP13302584 A JP 13302584A JP H0210439 B2 JPH0210439 B2 JP H0210439B2
- Authority
- JP
- Japan
- Prior art keywords
- reg
- data
- key
- 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.)
- Expired - Lifetime
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は鍵域毎に異なる音色にて演奏可能な
電子楽器に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an electronic musical instrument that can be played with different tones for each key range.
従来から鍵盤をいくつかの領域毎に分割し、各
音域毎に異なる音色にて演奏可能な電子楽器が提
供されている。例えば特開昭56−36697号公報に
示される電子楽器がそれで、鍵盤を2つの鍵域に
分割して両鍵域の音が異なる音色で発音されるよ
うに発音チヤンネルを分割して利用できるように
している。
2. Description of the Related Art Conventionally, electronic musical instruments have been provided in which a keyboard is divided into several regions and each region can be played with a different tone color. For example, the electronic musical instrument shown in Japanese Patent Application Laid-Open No. 56-36697 has a keyboard that can be divided into two key ranges and the sound channel can be divided and used so that the sounds in both key ranges are produced with different tones. I have to.
また特開昭56−106286号公報には、演奏モード
が異なれば、各鍵域毎の同時発音数が異なること
に着目し、各演奏モード毎に各鍵域に割り当てる
発音チヤンネルを変更できるように構成してあ
る。 Furthermore, JP-A No. 56-106286 focuses on the fact that the number of simultaneous pronunciations for each key range is different depending on the performance mode, and it is possible to change the sound generation channel assigned to each key range for each performance mode. It is configured.
さらに特開昭57−122495号公報では、やはり同
様に、スイツチ操作により各鍵盤部分と各発音チ
ヤンネルグループの対応を反転させることによ
り、各鍵域に割り当てられる発音チヤンネル数を
増減できる構成となつている。 Furthermore, in JP-A-57-122495, the number of sounding channels assigned to each key range can be increased or decreased by similarly reversing the correspondence between each keyboard part and each sounding channel group by operating a switch. There is.
しかしながら従来のような構成では、各鍵域毎
の発音チヤンネル数の増減は可能でも、各鍵域の
最大発音数は限定されており、各々の発音チヤン
ネル数はそれほど多くない。従つて、1つの鍵域
に割り当てられている発音チヤンネル数以上の音
を同時に出力することは、他の鍵域に割り当てら
れている発音チヤンネルが使用されていない場合
でも不可能であることを意味し、これは1つの鍵
域からのみ同時に多数の音を発生させるような演
奏ができず、極めて限られた演奏形態しかできな
い不都合が生じる恐れがあつた。
However, in the conventional configuration, although it is possible to increase or decrease the number of sound generation channels for each key range, the maximum number of sound generation channels for each key range is limited, and the number of sound generation channels for each range is not so large. This means that it is impossible to simultaneously output more sounds than the number of sound channels assigned to one key range, even if the sound channels assigned to other key ranges are not in use. However, this has the disadvantage that it is not possible to perform a performance in which a large number of tones are generated simultaneously only from one key range, and that only extremely limited performance forms can be created.
本発明は、こうした従来の課題に鑑み為された
もので、各鍵域とも最大発音可能数まで発音でき
るようにして、あらゆる演奏形態に対応できる電
子楽器を提供することを目的とする。
The present invention has been made in view of these conventional problems, and it is an object of the present invention to provide an electronic musical instrument that is capable of producing the maximum number of sounds in each key range and that can accommodate all types of performance.
本発明は、複数の楽音発生チヤンネルを有し、
この楽音発生チヤンネルに割当てられた音高情報
に基づいて楽音を作成する楽音作成手段を備えた
電子楽器において、入力された音高情報を、この
音高情報が属する音域に依らず入力順に前記楽音
発生チヤンネルに割当てる割当手段と、この割当
手段にて各音高情報が割当てられた楽音発生チヤ
ンネルに対し、割当てられた音高情報の属する音
域に対応する音色情報を割当てる音色割当手段
と、を具備したことを特徴とする。これによつて
分割された鍵域にかかわらず、各鍵域毎に最大発
音数まで発音チヤンネルが得られるようにしてい
る。
The present invention has a plurality of musical tone generation channels,
In an electronic musical instrument equipped with musical tone creation means that creates musical tones based on pitch information assigned to this musical sound generation channel, the input pitch information is inputted into the musical tones in the order of input, regardless of the range to which the pitch information belongs. The present invention includes an allocation means for allocating to a tone generation channel, and a tone color allocation means for allocating tone color information corresponding to a tone range to which the pitch information belongs to the musical sound generation channels to which each pitch information is allocated by the allocation means. It is characterized by what it did. As a result, regardless of the divided key range, the maximum number of sound generation channels can be obtained for each key range.
以下、図面を参照してこの発明の一実施例を説
明する。キーボード1は複数のキーを有し、各キ
ーの出力はCPU(中央処理装置)2及びキーコー
ド大小比較部3に入力する。CPU2はこの電子
楽器のすべての動作を制御し、マイクロプロセツ
サ等から成つている。そして音色、リズム等を制
御するスイツチ等を備えたスイツチ入力部4、音
色レジスタ部5からの各出力も受ける。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. The keyboard 1 has a plurality of keys, and the output of each key is input to a CPU (central processing unit) 2 and a key code size comparison section 3. The CPU 2 controls all operations of this electronic musical instrument and is composed of a microprocessor and the like. It also receives outputs from a switch input section 4, which includes switches for controlling timbre, rhythm, etc., and a timbre register section 5.
一方、キースプリツトスイツチ6はキーボード
1を任意のキー位置にて高音側と低音側とに分割
して夫々で異なる音色を設定せしめるように指示
するスイツチであり、スイツチ6の出力はスプリ
ツト制御部7に入力する。スプリツト制御部7は
これに応じてキースプリツトコード発生部8に対
し制御信号を与えて音高を示すキースプリツトコ
ードを内部の後述するKSP Regにセツトし、こ
のKSP Regからの出力をキーコード大小比較部
3に与える。この比較部3はキースプリツト演奏
モードの際、キーボード1からの信号と前記キー
スプリツトコードとの音高の大小関係を比較し、
その結果信号CをCPU2に与える。音色レジス
タ部5は、CPU2の制御下に、トーンレジスタ
9に複数(この実施例では20種類)プリセツトさ
れている音色の中から選択された高音側、低音側
に対応する音色をセツトされるRTONE Reg,
LTONE Regを有すると共に、現在発音中の楽
音に設定されている音色に対応する番号(1〜
20)を記憶しているCTONE Regを有している。
この実施例では、時分割処理方式によつて8個の
楽音作成チヤンネルがあり、各チヤンネル毎に独
立に音色を設定可能であり、即ちこの音色レジス
タ部5内のCTONE Regは、どのチヤンネルが
どの音色であるかを示すテーブルの役目をなし、
必要な音色番号(1〜20)をCPU2に与えてい
る。そして、CPU2は、この音色番号をもとに、
TONEレジスタ9から対応する音色データを得
ている。 On the other hand, the key split switch 6 is a switch that instructs the keyboard 1 to be divided into a treble side and a bass side at an arbitrary key position and to set different tones for each side, and the output of the switch 6 is sent to the split control section. Enter 7. In response, the split control section 7 gives a control signal to the key split code generation section 8 to set a key split code indicating the pitch in an internal KSP Reg (described later), and outputs the output from this KSP Reg to the key. The code is given to the code size comparison section 3. This comparing section 3 compares the pitch relationship between the signal from the keyboard 1 and the key split chord in the key split performance mode,
As a result, a signal C is given to the CPU2. The timbre register section 5 is an RTONE controller under the control of the CPU 2, which sets tones corresponding to the treble side and the bass side selected from among the tones preset in the tone register 9 (20 types in this embodiment). Reg,
It has LTONE Reg and a number (1~
20) has a CTONE Reg that stores it.
In this embodiment, there are eight musical tone creation channels using a time-sharing processing method, and the tone can be set independently for each channel. It serves as a table to indicate the tone,
The necessary tone numbers (1 to 20) are given to CPU2. Then, based on this tone number, CPU2
The corresponding tone data is obtained from the TONE register 9.
CPU2は後述する各種レジスタを備えたレジ
スタ群11を有し、各種の演算に利用する。そし
て各部からの入力信号に応じた楽音作成のための
制御信号を楽音作成部12へ与え、そのため楽音
信号が作成されてアンプ13、スピーカ14を介
し楽音として放音される。 The CPU 2 has a register group 11 including various registers to be described later, and is used for various calculations. Then, a control signal for creating a musical tone corresponding to the input signals from each section is given to the musical tone generating section 12, whereby a musical tone signal is generated and emitted as a musical tone via an amplifier 13 and a speaker 14.
次に第2図を参照してスイツチ入力部2上の音
色関係のスイツチ類を説明する。茲で、この実施
例の電子楽器の場合、前記トーンレジスタ9にこ
れから説明するスイツチ操作によつて音色作成モ
ードにおいてプリセツトされる20種類の音色の各
データにつき説明すると、第3図に概念的に図示
する前記トーンレジスタ9のメモリ構成から分か
るように、音量、高調波成分抑止、ピツチの3種
類のエンベロープデータ及び基本波形を示す波形
データとから成つている。そして第3図のトーン
レジスタ9のメモリ構成例では、音量エンベロー
プデータはn種類、波形エンベロープデータはm
種類、ピツチエンベロープデータはl種類、基本
波形はk種類となつており、それだけの容量のレ
ジスタが用意されている。また音色の種類はx種
類(但し、実際にはx=20)であり、夫々前記音
量、高調波成分抑止、ピツチの各エンベロープデ
ータ及び波形データに対する合計4個のポインタ
から成り、後述するスイツチ操作によつて夫々任
意に選ばれ記憶する。 Next, the timbre-related switches on the switch input section 2 will be explained with reference to FIG. In the case of the electronic musical instrument of this embodiment, the data for each of the 20 types of tones that are preset in the tone creation mode by the switch operation described below in the tone register 9 will be explained conceptually as shown in FIG. As can be seen from the illustrated memory structure of the tone register 9, it consists of three types of envelope data: volume, harmonic component suppression, and pitch, and waveform data indicating a fundamental waveform. In the memory configuration example of the tone register 9 shown in FIG. 3, there are n types of volume envelope data and m types of waveform envelope data.
There are l types of pitch envelope data and k types of basic waveforms, and registers with a corresponding capacity are prepared. There are x types of tones (actually x = 20), each consisting of a total of 4 pointers for the volume, harmonic component suppression, pitch envelope data and waveform data, and the switch operation described below. are arbitrarily selected and memorized.
そこで第2図に戻ると、基本波形メモリ選択
SW、16は、上述したk=10の場合の10種類の
基本波形の波形データをトーンレジスタ9の対応
するレジスタ(1〜k)にプリセツトするための
スイツチであり、また基本波形生成部スイツチ1
7は5種類用意されている基本波形を指定するス
イツチである。スイツチ17A,11,21,3
1,41,51は、前半の一周期を指定し、スイ
ツチ17B,12,22,32,42,52は後
半の一周期を指定するスイツチである。ここで、
スイツチ17A,17B内のスイツチに書かれて
いる番号のうち10番台は、第4図1に示される波
形、20番台は、第4図2に示されている波形、30
番台は、第4図3に示されている波形、40番台
は、第4図4に示されている波形、50番台は、
第4図5に示されている波形を表わしている。ス
イツチ17Cは、前記前半に指定した波形と、後
半に指定した波形を一周期毎交互に指定するオク
ターブモジユレーシヨンスイツチである。このス
イツチ17Cがオフの時は、前記前半に指定され
た波形のみが指定される。スイツチ16Aは、ス
イツチ17で設定された内容をスイツチ16に書
込むための書込スイツチである。 So, returning to Figure 2, basic waveform memory selection
SW, 16 is a switch for presetting the waveform data of the 10 kinds of basic waveforms in the case of k=10 described above into the corresponding registers (1 to k) of the tone register 9, and also a switch for the basic waveform generation section switch 1.
7 is a switch for specifying one of five types of basic waveforms. Switch 17A, 11, 21, 3
Switches 1, 41, and 51 designate one period in the first half, and switches 17B, 12, 22, 32, 42, and 52 designate one period in the second half. here,
Among the numbers written on the switches in switches 17A and 17B, the numbers in the 10s are the waveforms shown in FIG. 4, 1, the numbers in the 20s are the waveforms shown in FIG.
The number series is the waveform shown in Figure 4 3, the 40s is the waveform shown in Figure 4 4, and the 50s is the waveform shown in Figure 4.
FIG. 4 represents the waveform shown in FIG. The switch 17C is an octave modulation switch that alternately specifies the waveform specified in the first half and the waveform specified in the second half every cycle. When this switch 17C is off, only the waveforms specified in the first half are specified. The switch 16A is a write switch for writing the contents set by the switch 17 into the switch 16.
そして第4図は、前記10種類の基本波形を形成
するためのもとになる5種類の波形の形状とデー
タとを示すものである。また第5図は基本波形の
波形データのデータ構成を示すもので、上位3ビ
ツトのWAVE FORMは第4図の波形に設定さ
れた3ビツトデータ、次の3ビツトのOCT.
MODUL ATION WAVE FORMも、第4図に
示す3ビツトデータが設定される。次の1ビツト
データはOCT.MODUL ATION有無を示すデー
タである。更にLSBの1ビツトは使用されず、
無効となる。 FIG. 4 shows the shapes and data of five types of waveforms that are the basis for forming the ten types of basic waveforms. Also, Figure 5 shows the data structure of the waveform data of the basic waveform, where the upper 3 bits of WAVE FORM are the 3-bit data set for the waveform in Figure 4, and the next 3-bit OCT.
The 3-bit data shown in FIG. 4 is also set for MODULATION WAVE FORM. The next 1-bit data is data indicating the presence or absence of OCT.MODULATION. Furthermore, 1 bit of the LSB is not used,
becomes invalid.
第2図に戻つて、音量エンベロープメモリ選択
SW18、高調波成分抑止エンベロープメモリ選
択SW19、ピツチエンベロープメモリ選択スイ
ツチ20は夫々、前記n=10、m=10、l=10の
場合であつて、音色RAM4中の、音量、高調波
成分抑止、ピツチの各エンベロープデータを記憶
するレジスタ1〜n,1〜m,1〜lを指定する
ためのスイツチであり、而して実際の操作は、先
ず音量、高調波成分抑止、ピツチの各エンベロー
プのスイツチ18〜19中の何れか1個を指定
し、次に0〜7の8個のステツプに対応して夫々
8個づつ設けられているレートバリユー指定スラ
イドSW21、レベルバリユー指定スライドSW
22、サステインポイント指定SW23の各々ス
テツプのスイツチを操作し、次に現在選択中の音
量、高調波成分抑止、ピツチの何れかのエンベロ
ープに対応する書込みSW24または25または
26をオンする。 Returning to Figure 2, volume envelope memory selection
SW 18, harmonic component suppression envelope memory selection SW 19, and pitch envelope memory selection switch 20 are used for the cases where n=10, m=10, and l=10, respectively. This is a switch for specifying registers 1 to n, 1 to m, and 1 to l that store each pitch envelope data.The actual operation is first to adjust the volume, harmonic component suppression, and registers 1 to 1 to store each pitch envelope data. Specify any one of switches 18 to 19, and then select the rate value designation slide SW 21 and level value designation slide SW 21, which are provided eight times each corresponding to the eight steps 0 to 7.
22. Operate the switch at each step of the sustain point designation SW 23, and then turn on the write SW 24, 25, or 26 corresponding to the currently selected envelope of volume, harmonic component suppression, or pitch.
而して第6図は、前記音量、高調波成分抑止、
ピツチの各エンベロープの波形を示すもので、上
述した8個のステツプに応じてスライドSW2
1,23の操作により任意に形成される8個の折
線部から成つている。そしてエンベロープの折線
部の終端(図中、A点〜H点によつて示す)の高
さはレベルバリユーで、各レベルバリユー間はレ
ートバリユー(折線部の傾き)によつて表現され
る。 FIG. 6 shows the volume, harmonic component suppression,
This shows the waveform of each envelope of the pitch, and slide SW2
It consists of eight broken line parts arbitrarily formed by operations 1 and 23. The height of the end of the broken line part of the envelope (indicated by points A to H in the figure) is the level value, and the distance between each level value is expressed by the rate value (the slope of the broken line part). Ru.
第7図は前記エンベロープデータのデータ構成
を示すもので、図中、A〜Hは第6図のエンベロ
ープ波形の端部の点A〜Hに対応するデータ記憶
部を表わし、各18ビツトの容量を有する。そして
その上位8ビツト中のMSBはレートの方向(折
線部の傾き方向)を示す1ビツトデータを記憶
し、“0”のとき〓、“1”のとき〓の各方向とな
る。また次の7ビツトはレートバリユーのデー
タ、更に下位8ビツト中のMSBはサステイン情
報を表わす1ビツトデータであり、“1”のとき
サステインポイントに達したことを示す、“0”
のときはサステインポイントではないことを示
す。そして次の7ビツトデータはレベルバリユー
を示す。なお、上述したレートの方向(〓,〓)
はレベルバリユーの変化から自動的に決定され
る。 FIG. 7 shows the data structure of the envelope data. In the figure, A to H represent data storage units corresponding to points A to H at the end of the envelope waveform in FIG. 6, each having a capacity of 18 bits. has. The MSB of the upper 8 bits stores 1-bit data indicating the direction of the rate (direction of inclination of the broken line), and becomes the direction when it is "0" and the direction when it is "1". The next 7 bits are rate value data, and the MSB of the lower 8 bits is 1-bit data representing sustain information.
indicates that it is not the sustain point. The next 7-bit data indicates the level value. In addition, the direction of the rate mentioned above (〓, 〓)
is automatically determined from the change in level value.
第8図は実際のエンベロープの例を示し、第9
図はこの第8図のエンベロープの実際のデータ例
を示す。この例の場合、点Fがサステインポイン
トとなり、次にキーオフされるまでこのキーのエ
ンベロープのレベルは一定となつて発音される。
この時、点Gの値は無関係となる。 Figure 8 shows an example of an actual envelope, and Figure 9 shows an example of an actual envelope.
The figure shows an example of actual data of the envelope shown in FIG. In this example, point F is the sustain point, and the envelope level of this key remains constant until the next key-off.
At this time, the value of point G becomes irrelevant.
再び第2図に戻つて、音色メモリ選択スイツチ
27は、前記x=20の場合の20種類の音色のデー
タを記憶するトーンレジスタ9内のレジスタ(第
3図のレジスタ1〜x)を指定するスイツチであ
り、而して前記音色作成モード時においては、現
在前記スイツチ16〜20の任意の組合せ操作に
よつて選択されている音色のデータ(基本波形形
の波形データ、音量、高調波成分抑止、ピツチの
各エンベロープデータ)に対する4個の番号が書
込みSW28のオン時に前記レジスタ1〜xに書
込まれる。また通常の演奏モードにおいては、音
色メモリ選択SW27の何れか1個をオンするだ
けで対応する音色データの4個のポインタが前記
レジスタ1〜xから読出され、次いでこれらポイ
ンタに基づいて第3図の1〜n,1〜m,1〜
l,1〜kの各レジスタからそのデータが読出さ
れて処理される。 Returning again to FIG. 2, the timbre memory selection switch 27 specifies the registers (registers 1 to x in FIG. 3) in the tone register 9 that store data for 20 types of timbres in the case of x=20. switch, and in the tone creation mode, data of the tone currently selected by any combination of the switches 16 to 20 (waveform data of fundamental waveform, volume, harmonic component suppression) , pitch) are written into the registers 1 to x when the write SW 28 is turned on. In the normal performance mode, simply by turning on any one of the timbre memory selection SWs 27, the four pointers of the corresponding timbre data are read out from the registers 1 to x, and then based on these pointers, as shown in FIG. 1~n, 1~m, 1~
The data is read from each register 1, 1 to k and processed.
次に第10図により楽音作成部11の具体的構
成を説明する。図中、30は前記CPU2との間
でデータ入出力が行われるインターフエイスであ
り、CPU2はこのインターフエイス30を介し
音量エンベロープ発生回路31、高調波成分抑止
エンベロープ発生回路32、ピツチエンベロープ
発生回路33に対し夫々が第7図に示す前記レー
トバリユー、レベルバリユー等からなるエンベロ
ープデータ(第10図に図示するように、各デー
タをAMP Ramp,WAVE,Ramp,Freq,
Rampとも呼ぶ)を供給する。そして各エンベロ
ープ回路31,32,33は、前記レートバリユ
ーとレベルバリユートから現在のカレントバリユ
ーを計算してそれを夫々、対応するEXP.(イクス
ポーネンシヤル)ROM34、バンドリミツト回
路35、周波数ROM36に与える。また前記カ
レントバリユーがそのときのレートバリユーに到
達すると各エンベロープ回路31,32,33は
インターラプト信号INTを発生し、インターフ
エイス30を介しCPU2に送出して次のステツ
プ0〜7(点A〜H)に対するデータAMP
Ramp,WAVE Ramp,Freq.Rampの出力を要
求する(但し、上述したサステインポイントの場
合はインターラプト信号INTは出力しない)。 Next, the specific configuration of the musical tone creating section 11 will be explained with reference to FIG. In the figure, 30 is an interface through which data input/output is performed with the CPU 2, and the CPU 2 communicates with the volume envelope generation circuit 31, the harmonic component suppression envelope generation circuit 32, and the pitch envelope generation circuit 33 via this interface 30. For each envelope data consisting of the rate value, level value, etc. shown in FIG. 7 (as shown in FIG. 10, each data is divided into AMP Ramp, WAVE, Ramp, Freq,
(also called Ramp). Each envelope circuit 31, 32, 33 calculates the current value from the rate value and level value and transmits it to the corresponding EXP. (exponential) ROM 34, band limit circuit 35, frequency Give to ROM36. Furthermore, when the current value reaches the current rate value, each envelope circuit 31, 32, 33 generates an interrupt signal INT, sends it to the CPU 2 via the interface 30, and executes the next steps 0 to 7 (points). Data AMP for A to H)
Requests the output of Ramp, WAVE Ramp, and Freq.Ramp (however, in the case of the sustain point mentioned above, the interrupt signal INT is not output).
Freq ROM36はピツチエンベロープ回路3
3からの出力に応じた周波数情報(位相角情報)
FIを発生し、バンドリミツト回路35及びフエ
イズジエネレータ37に与える。このフエイズジ
エネレータ37は前記位相角情報FIを累算して
その結果データを割算回路38に与える。また、
バンドリミツト回路35は波形エンベロープ回路
32からの出力及び前記位相角情報に基づき、標
本化定理に基づく折返し歪の発生を防止し、その
出力を割算回路38へ与える。更にこの割算回路
38には、インターフエイス30、波形発生回路
39を介しCPU2が送出してくる所定の波形種
類選択データも与えられる。そして割算回路38
は前記フエイズジエネレータ37、バンドリミツ
ト回路35、波形発生回路39からの各出力に対
して割算処理を行い、その結果データによつてウ
エイブジエネレータ40をアクセスし、波形デー
タを発生させて乗算回路41に送出させる。な
お、前記割算回路38の具体的構成は、本出願人
が既に提案した、例えば特願昭57−221266の特許
出願明細書に記載した実施回路を利用することが
できる。 Freq ROM36 is pitch envelope circuit 3
Frequency information (phase angle information) according to the output from 3
FI is generated and applied to the band limit circuit 35 and phase generator 37. This phase generator 37 accumulates the phase angle information FI and provides the resulting data to a division circuit 38. Also,
The band limit circuit 35 prevents the occurrence of aliasing distortion based on the sampling theorem based on the output from the waveform envelope circuit 32 and the phase angle information, and provides its output to the division circuit 38. Further, the division circuit 38 is also given predetermined waveform type selection data sent from the CPU 2 via the interface 30 and the waveform generation circuit 39. and division circuit 38
performs division processing on each output from the phase generator 37, band limit circuit 35, and waveform generation circuit 39, accesses the wave generator 40 using the resulting data, generates waveform data, and multiplies it. The signal is sent to the circuit 41. As for the specific structure of the division circuit 38, it is possible to use an implementation circuit already proposed by the present applicant, for example, described in the patent application specification of Japanese Patent Application No. 57-221266.
この乗算回路41にはまた、EXP,ROMから
読出される制御データが入力し、したがつて前記
波形データ及び制御データを乗算してその結果デ
ータを累算回路42に与える。この累算回路42
は8チヤンネル分の前記結果データを累算する毎
にその累算データをDACI/F(D−Aコンバー
タインターフエイス)43を介しD−Aコンバー
タに与えるので、その結果、合成楽音が前記スピ
ーカ14から放音されることになる。 Control data read from EXP and ROM is also input to this multiplication circuit 41, and the waveform data and control data are multiplied and the resultant data is provided to an accumulation circuit 42. This accumulation circuit 42
Every time the result data for 8 channels is accumulated, the accumulated data is given to the D-A converter via the DACI/F (D-A converter interface) 43, so that the synthesized musical tone is output to the speaker 14. The sound will be emitted from
次に第11図により前記音量、高調波成分抑
止、ピツチの各エンベロープ回路31,32,3
3の構成を具体的に説明する。なお、これら回路
31〜33は共に同一構成であるから、第11図
の回路は、例えば音量エンベロープ回路31とす
る。 Next, as shown in FIG. 11, the volume, harmonic component suppression, and pitch envelope circuits 31, 32, 3
The configuration of No. 3 will be specifically explained. Note that since these circuits 31 to 33 have the same configuration, the circuit shown in FIG. 11 is assumed to be, for example, the volume envelope circuit 31.
図中、45は容量8ビツトのシフトレジスタを
8段、パラレルに接続したシフトレジスタ群であ
り、トランスフアーゲート46を介しCPU2か
ら送られてくるレベルバリユーがその1段目にパ
ラレルに入力する。なお、シフトレジスタ群45
をシフトレジスタを8段パラレルに接続して構成
した8チヤンネル分の楽音作成系の存在と対応し
ている。そして後述する他のシフトレジスタ群に
ついても同様である。 In the figure, 45 is a shift register group in which 8 stages of shift registers with a capacity of 8 bits are connected in parallel, and the level value sent from the CPU 2 via the transfer gate 46 is input in parallel to the first stage. . Note that the shift register group 45
This corresponds to the existence of an 8-channel musical tone creation system constructed by connecting 8 stages of shift registers in parallel. The same applies to other shift register groups to be described later.
シフトレジスタ群45の1段目に入力したレベ
ルバリユーは次いで後段側にシフトされて8段目
から出力し、トランスフアーゲート47を介し1
段目に戻されると共にコンパレータ48のB入力
端子に与えられる。またトランスフアーゲート4
6はCPU2から送られてくるプリセツト信号を
インバータ49を介しそのゲートに印加されて開
閉制御され、またトランスフアーゲート47は前
記プリセツト信号をゲートに直接印加されて開閉
制御される。なお、このプリセツト信号はレベル
バリユーが送られてくるときにのみ“0”レベル
である。 The level value inputted to the first stage of the shift register group 45 is then shifted to the subsequent stage and output from the eighth stage, and is passed through the transfer gate 47 to the first stage.
It is returned to the stage and is applied to the B input terminal of the comparator 48. Also transfer gate 4
6 is controlled to open or close by applying a preset signal sent from the CPU 2 to its gate via an inverter 49, and the transfer gate 47 is controlled to open or close by directly applying the preset signal to the gate. Note that this preset signal is at the "0" level only when the level value is sent.
一方、トランスフアーゲート群50にはレート
バリユーがトランスフアーゲート51を介し入力
し、またシフトレジスタ群50から出力されると
トランスフアーゲート53を介しシフトレジスタ
群50に戻されると共に、加減算器53のB入力
端子にも与えられる。そしてトランスフアーゲー
ト51,52は夫々、前記プリセツト信号をイン
バータ54を介し、或いは直接にゲートに印加さ
れて開閉制御される。 On the other hand, the rate value is input to the transfer gate group 50 via the transfer gate 51, and when outputted from the shift register group 50, it is returned to the shift register group 50 via the transfer gate 53, and the rate value is input to the adder/subtracter 53. It is also given to the B input terminal of . The opening and closing of the transfer gates 51 and 52 are controlled by applying the preset signal to the gates through the inverter 54 or directly.
更に、シフトレジスタ群55には自身からの出
力データ(カレントバリー)がトランスフアーゲ
ート56を介し戻されて入力すると共に加減算器
53のA入力端子にも与える。そして加減算器5
3の結果データANS1はトランスフアーゲート
57を介しシフトレジスタ群55に与えられると
共に、コンパレータ48のA入力端子にも与えら
れる。而して前記加減算器53の制御端子SUB
には、シフトレジスタ群50から出力するレート
バリユーのMSBのデータ(レートの方向を示し
ているデータ)が減算指令として入力し、この減
算指令が“1”のとき減算を、“0”のとき加算
を行う。またコンパレータ48の制御端子≧には
前記レートバリユーのMSBのデータが比較方法
選択指令として入力し、而してこの比較方法選択
指令が“1”のときには、A≦Bならコンパレー
タ48の比較結果信号ANS2は“1”、A>Bな
ら“0”、他方、比較方法選択指令が“0”のと
きには、A≧Bなら比較結果信号ANS2は
“1”、A<Bなら“0”となる。そして前記比較
結果信号ANS2は、トランスフアーゲート56,
57に夫々、直接またはインバータ58を介して
ゲートに印加され、開閉制御すると共に、ナンド
ゲート59の一端にも与えられる。一方、ナンド
ゲート59の他端には、シフトレジスタ群45か
ら出力するレベルバリユーのMSBのデータ(サ
ステイン情報)が反転されており、而してナンド
ゲート59の出力は前記インターラプト信号
INTとしてCPU2へ送出される。 Further, the output data (current bary) from itself is inputted back to the shift register group 55 via the transfer gate 56 and is also applied to the A input terminal of the adder/subtractor 53 . and adder/subtractor 5
The result data ANS1 of No. 3 is applied to the shift register group 55 via the transfer gate 57, and is also applied to the A input terminal of the comparator 48. The control terminal SUB of the adder/subtractor 53
The data of the MSB of the rate value output from the shift register group 50 (data indicating the direction of the rate) is input as a subtraction command, and when this subtraction command is "1", the subtraction is performed when it is "0". When the addition is performed. Further, the data of the MSB of the rate value is input as a comparison method selection command to the control terminal ≧ of the comparator 48, and when this comparison method selection command is “1”, if A≦B, the comparison result of the comparator 48 is input. Signal ANS2 is “1” and “0” if A>B. On the other hand, when the comparison method selection command is “0”, comparison result signal ANS2 is “1” if A≧B and “0” if A<B. . The comparison result signal ANS2 is then transferred to the transfer gate 56,
57 are applied to the gates directly or via an inverter 58 to control opening and closing, and are also applied to one end of a NAND gate 59. On the other hand, the MSB data (sustain information) of the level value output from the shift register group 45 is inverted at the other end of the NAND gate 59, and the output of the NAND gate 59 is the interrupt signal.
Sent to CPU2 as INT.
次に第12図を参照して各種レジスタにつき説
明する。第12図1はレジスタ群11に設けられ
ているレジスタである。図中の各レジスタOP
Reg、WP Reg、FP Regは共に各ライン(チヤ
ンネルを指す)のインデツクス用として用いられ
る。 Next, various registers will be explained with reference to FIG. FIG. 12 shows registers provided in the register group 11. Each register OP in the diagram
Both Reg, WP Reg, and FP Reg are used for indexing each line (pointing to a channel).
即ち、OP Regは先にキーオンのあつたチヤン
ネルの値を保持する。WP Regはキーアサイナ
(このキーアサイナはCPU2の演算処理によつて
操作キーに対するチヤンネル割当てをする回路で
ある)用ワークポインタである。FP Regは空ラ
インがみつかつたときにそのラインの値を保持す
る。FOUNDF Regは空ラインが有りのとき
TRUE、無しのときFALSEという各データを
CPU2によつて設定される。 That is, OP Reg holds the value of the channel where the key-on occurred first. WP Reg is a work pointer for a key assigner (this key assigner is a circuit that assigns channels to operation keys through arithmetic processing by the CPU 2). FP Reg retains the value of an empty line when it is found. FOUNDF Reg when there is an empty line
Each data is TRUE and FALSE when absent.
Set by CPU2.
次に第12図2の各レジスタもレジスタ群11
内のレジスタである。容量8ビツトのNL Reg
(New Line status)はその0ビツト目、1ビツ
ト目、…、7ビツト目が夫々、0チヤンネル、1
チヤンネル、…、7チヤンネルに対応し、新たに
チヤンネルが指定されると対応するビツトがオン
となる。そして全ラインのチエツク終了毎にNL
Regの内容が次に説明するOL Regの対応ビツト
に転送され、次のチヤンネル割当てに備えられ
る。そして、NL Regの各ビツトの内容はOFFさ
れる。 Next, each register in FIG.
is a register within. 8-bit capacity NL Reg
(New Line status) indicates that the 0th bit, 1st bit, ..., 7th bit are channel 0, channel 1, respectively.
Channels, . . . , correspond to 7 channels, and when a new channel is designated, the corresponding bit is turned on. And every time the check of all lines is completed, NL
The contents of Reg are transferred to the corresponding bits of OL Reg, which will be explained next, in preparation for the next channel assignment. Then, the contents of each bit of NL Reg are turned OFF.
前記OL Regは容量8ビツトであり、下位側か
ら0〜7チヤンネルに対応し、また前記NL Reg
からのデータをそつくり転送されて記憶する。 The OL Reg has a capacity of 8 bits and corresponds to channels 0 to 7 from the lower side, and the NL Reg
The data is then transferred and stored.
TL Reg(Trigger Line Status)は同様に容量
8ビツトであり、下位側から0〜7チヤンネルに
対応する。そしてキーオン時にON、キーオフ時
にOFFされる。 TL Reg (Trigger Line Status) similarly has a capacity of 8 bits and corresponds to channels 0 to 7 from the lower side. It turns ON when the key is on and turns OFF when the key is off.
SC Reg(Scale Code)は容量8ビツトのレジ
スタを8本有し、各レジスタは0〜7チヤンネル
に対応してそのチヤンネルに割当てられたキーの
スケールコードを記憶する。 The SC Reg (Scale Code) has eight registers with a capacity of 8 bits, and each register corresponds to channels 0 to 7 and stores the scale code of the key assigned to that channel.
CSC Reg(Current Scale Code)は現在キー
オン中のキーのスケールコードがセツトされる。 CSC Reg (Current Scale Code) is set to the scale code of the currently key-on key.
第12図3中、KSP Regは、キースプリツト
位置を記憶しているレジスタ、RTONE Regは
右側の鍵に対応する音色データを識別する音色番
号を有するレジスタ、LTONE Regは、左側の
鍵に対応する音色データを識別する音色番号を有
するレジスタ、TONE0〜TONEn(nはいま20ま
で)は、20種類の音色データの内容そのものがセ
ツトされるレジスタ、CTONE0〜CTONE7は、
0〜7チヤンネルに夫々対応するレジスタであ
る。そして前記CTONE0〜CTONE7には前記
LTONE Reg又はRTONE Regの内容がコピー
される。即ち、現在の各ラインの音色番号を示す
ものである。 In Figure 12 3, KSP Reg is a register that stores the key split position, RTONE Reg is a register that has a tone number that identifies the tone data corresponding to the right key, and LTONE Reg is the tone color that corresponds to the left key. The registers TONE0 to TONEn (n is up to 20), which are registers with tone numbers that identify data, are the registers in which the contents of the 20 types of tone data are set, and the registers CTONE0 to CTONE7 are
These registers correspond to channels 0 to 7, respectively. And the above CTONE0 to CTONE7 have the above
The contents of LTONE Reg or RTONE Reg are copied. That is, it shows the current tone color number of each line.
次に第17図の楽譜を演奏する場合を例とし
て、その動作を第13図ないし第16図のフロー
チヤート等を参照して説明する。なお、既に音色
作成モードにおいてトーンレジスタ9には20種類
の音色がプリセツトされているものとする。 Next, taking as an example the case where the musical score shown in FIG. 17 is played, its operation will be explained with reference to the flowcharts shown in FIGS. 13 to 16. It is assumed that 20 types of tones have already been preset in the tone register 9 in the tone creation mode.
電源スイツチをオンして演奏を開始すると、先
ず、ステツプS1,S2のイニシヤライズ(1)、イニシ
ヤライズ(2)の各初期化処理が行われる。而してイ
ニシヤライズ(1)は第15図のフローチヤートが実
行され、はじめにレジスタ群11内のTL、NL、
OLレジスタが全チヤンネルOFFをセツトされる
(ステツプI1)。次にSC Regがクリアされ(ステ
ツプI2)、またOP Regがリセツトされる(ステ
ツプI3)。 When the power switch is turned on and performance begins, initialization processing of steps S 1 and S 2 , initialization (1) and initialization (2), is performed. In the initialization (1), the flowchart shown in FIG. 15 is executed, and first, the TL, NL, and
The OL register is set to all channels OFF (step I1 ). Next, SC Reg is cleared (step I 2 ) and OP Reg is reset (step I 3 ).
次にKSP Regに現在設定中のキースプリツト
位置、例えばC4の音高がセツトされる。この場
合、キースプリツトスイツチ6の出力がスプリツ
ト制御部7に入力しているから、制御部7が所定
の制御信号を与えてキースプリツトコード発生部
8に対し以後、音高C4のキーコードを出力させ、
キーコード大小比較部3へ与える。 Next, the currently set key split position, for example the pitch of C4 , is set in KSP Reg. In this case, since the output of the key split switch 6 is input to the split control section 7, the control section 7 gives a predetermined control signal to the key split code generation section 8 to control the key of pitch C4 . output the code,
It is given to the key code size comparison section 3.
次に、RTONE Regに右側鍵の音色データ番
号(例えば、フルート)、LTONE Regに左側鍵
の音色データ番号(例えば、バイオリン)が夫々
セツトされる(ステツプI5,I6)。この場合、ス
イツチ入力部4上の前記音色メモリ選択スイツチ
27のうち、フルートとバイオリンに対応するも
のが夫々選択されてCPU2内の前記レジスタ
RTONE Reg,LTONE Regへセツトされる。 Next, the timbre data number of the right key (eg, flute) is set in RTONE Reg, and the timbre data number of the left key (eg, violin) is set in LTONE Reg (steps I 5 and I 6 ). In this case, of the tone memory selection switches 27 on the switch input section 4, those corresponding to the flute and violin are selected, respectively, and the registers in the CPU 2 are selected.
Set to RTONE Reg, LTONE Reg.
またイニシヤライズ(2)では、第16図のフロー
にしたがつてOLレジスタにNLレジスタのデータ
が転送され(ステツプN1)、次いでNLレジスタ
の各チヤンネルにOFFがセツトされる(ステツ
プN2)。 In the initialization (2), the data of the NL register is transferred to the OL register according to the flow shown in FIG. 16 (step N 1 ), and then each channel of the NL register is set to OFF (step N 2 ).
次にCPU2はバスラインBUSにキーボード1
に対するキーコモン信号を出力してキースキヤン
を行う(ステツプS3)。そのためキーボード1の
各キーの出力がCPU2に入力し(ステツプS4)
CPU2はそのデータ内容から押鍵の有無を判断
する(ステツプS5)。そして押鍵無しを判断する
と全鍵スキヤンしたか否かを判断し(ステツプ
S6)、「NO」であればステツプS3に戻り、全鍵ス
キヤンされるまで、ステツプS3−S6を繰返す。 Next, CPU2 connects the keyboard 1 to the bus line BUS.
A key common signal is output to perform a key scan (step S3 ). Therefore, the output of each key on keyboard 1 is input to CPU 2 (step S 4 ).
The CPU 2 determines whether a key has been pressed or not from the data content (step S5 ). Then, if it is determined that no key has been pressed, it is determined whether or not all keys have been scanned (step
S 6 ), if "NO", return to step S 3 and repeat steps S 3 to S 6 until all keys are scanned.
次に第18図の楽譜に示す最初の3つの同時楽
音C2,E2,G2(共に全音符)のキーを同時に押鍵
すると、電気的に例えば、C1のキーが最初のオ
ンキーとしてステツプS5により検出されたとする
と、そのキーコードC1がCSC Regにセツトされ
る(ステツプS7)。またOP Regのデータ「0」
がWP Regに転送され(ステツプS8)、更に
FOUND Regにデータ「FALSE」がセツトされ
る(ステツプS9)。そしてWP Regのデータ「0」
をインデツクスとしてSC Regの内容を得るステ
ツプS10の処理が行われ、而していまはじめての
キーオンであるからSC Regの0チヤンネルのス
ケールコードはない。 Next, if you press the keys of the first three simultaneous tones C 2 , E 2 , and G 2 (all whole notes) shown in the musical score in Figure 18 at the same time, electrically, for example, the C 1 key will be activated as the first on key. If detected in step S5 , the key code C1 is set in CSC Reg (step S7 ). Also, OP Reg data “0”
is transferred to WP Reg (step S 8 ) and further
Data "FALSE" is set in FOUND Reg (step S9 ). And WP Reg data “0”
The process of step S10 is performed to obtain the contents of SC Reg using as an index, and since this is the first key-on, there is no scale code for the 0 channel of SC Reg.
次にステツプS11に進み、CSC Regのデータ
「C2」とSC Regのデータ「0」との一致を見、
「NO」であるからステツプS21に進み、WP Reg
の内容「0」をインデツクスとしてTL Regの内
容(0チヤンネルはいま「OFF」)を見、TL
Regの前記データがONしているか否かを判断す
る(ステツプS22)。しかして「NO」であるから
ステツプS15に進み、FOUND Regのデータが
「FALSE」か否かを見るが「YES」であるから、
ステツプS16に進み、FOUNDF Regにデータ
「TRUE」をセツトする。またWP Regのデータ
「0」をFP Regにセツトする(ステツプS17)。 Next, proceed to step S11 , check the match between the CSC Reg data "C 2 " and the SC Reg data "0",
Since the answer is “NO”, proceed to step S 21 and complete the WP Reg
Look at the contents of TL Reg (channel 0 is currently “OFF”) using the contents “0” as the index, and
It is determined whether the data of Reg is ON (step S22 ). However, since it is "NO", proceed to step S15 and check whether the data of FOUND Reg is "FALSE", but since it is "YES",
Proceed to step S16 and set data "TRUE" in FOUNDF Reg. Also, data "0" of WP Reg is set to FP Reg (step S17 ).
次にWP Regをインクリメントして「1」と
し、その結果が「8」となつたか否かを判断する
(ステツプS18)がそうではないので次のステツプ
S19に進む。なお、WP Regが「8」となると自
動的に「0」に戻す作業を行う。 Next, WP Reg is incremented to "1" and it is determined whether the result is "8" (step S18 ), but since it is not, the next step is
Proceed to S 19 . Note that when WP Reg becomes "8", it is automatically returned to "0".
次にステツプS19では、WP Regのデータ「1」
がOP Regが有するデータ「0」に一致するか否
かが判断され、「NO」であるから次のステツプ
S10に進んで、以後、前記ステツプS18でWPレジ
スタがインクリメントされて現在のWPレジスタ
のデータ「1」が「0」に戻されるまでの間、前
記ステツプS19,S10,S11,S21,S22,S15,S16,
S17,S18,S19が7回繰返される。即ち、この間、
WP Regの値は1,2,3,…,7,0と変化す
る。そして「0」になつてステツプS19にてOP
Regのデータ「0」の一致が検出されるとステツ
プS20に進み、FOUNDF RegがTRUEか否かが
判断される。しかして「YES」であり、ステツ
プS23に進んでFP Regの内容「0」をインデツ
クスとしてSC RegにCSC Regのデータ「C2」を
格納する。即ち、SC Regの0チヤンネルにキー
オンされたスケールコードC2が登録された。 Next, in step S 19 , WP Reg data “1”
It is judged whether or not it matches the data “0” that OP Reg has, and since it is “NO”, the next step is
Proceeding to S10 , from then on, steps S19 , S10 , S11 , S 21 , S 22 , S 15 , S 16 ,
S 17 , S 18 , and S 19 are repeated seven times. That is, during this time,
The value of WP Reg changes as 1, 2, 3, ..., 7, 0. Then it becomes "0" and opens at step S 19
When a match of data "0" in Reg is detected, the process proceeds to step S20 , where it is determined whether FOUNDF Reg is TRUE. The answer is ``YES'', and the process proceeds to step S23 , where the data ``C 2 '' of CSC Reg is stored in SC Reg using the content ``0'' of FP Reg as an index. That is, scale code C 2 keyed on channel 0 of SC Reg has been registered.
次にFP Regの内容(0チヤンネル)をインデ
ツクスとしてNL Regを「ON」させ、したがつ
てNL Regの0チヤンネル目にデータ「ON」が
セツトされる(ステツプS24)。そしてFP Regの
内容(0チヤンネル)をインデツクスとしてTL
Regの0チヤンネルに「ON」をセツトする(ス
テツプS25)。更にFP Regのデータ「0」をOP
Regに転送する(ステツプS26)。これはキーアサ
イナのサーチスタートラインのポインタの更新で
ある。 Next, NL Reg is turned "ON" using the contents of FP Reg (channel 0) as an index, and therefore data "ON" is set in the 0th channel of NL Reg (step S24 ). Then, TL using the contents of FP Reg (channel 0) as an index.
Set "ON" to the 0 channel of Reg (step S25 ). Furthermore, OP Reg data “0”
Transfer to Reg (step S26 ). This is an update of the key assigner's search start line pointer.
次にステツプS27に入り、CSC RegとKSP
Regの各データの大小関係を判断する。而してい
まCSC RegはC2、KSP RegはC4であり、CSC<
KSPの関係だからステツプS28に進んで、
LTONE Regの内容をインデツクスとして音色
データを抽出する。そしてCTONE Reg中の
CTONE0にLTONE Regの内容がセツトされる。
そして、CTONE0の内容に従つてTONEレジス
タからバイオリンの音色データが抽出され、楽音
作成部12に送出され(ステツプS29)、またCSC
Regのデータ、即ち、C2のキーコードも楽音作成
部12に送出される(ステツプS30)。そして更に
楽音作成部12に対しCPU2はキーオン指示を
与え(ステツプS31)、そのため楽音作成部12で
はC2のキーの楽音の作成が開始される。そして
ステツプS6に戻り、全鍵スキヤンしたか否かが判
断されてステツプS3またはステツプF1(第14図
のキーオフ処理、後述)に進む。 Next enter step S 27 , CSC Reg and KSP
Determine the size relationship of each data in Reg. Therefore, CSC Reg is C 2 , KSP Reg is C 4 , and CSC<
Since it is related to KSP, proceed to step S 28 .
Extract tone data using the contents of LTONE Reg as an index. and in CTONE Reg
The contents of LTONE Reg are set to CTONE0.
Then, violin tone data is extracted from the TONE register according to the contents of CTONE0, and sent to the musical tone creation section 12 (step S29 ), and is also sent to the CSC.
The data of Reg, ie, the key code of C2 , is also sent to the musical tone creation section 12 (step S30 ). Then, the CPU 2 further gives a key-on instruction to the musical tone generating section 12 (step S31 ), so that the musical tone generating section 12 starts creating a musical tone for the key of C2 . The process then returns to step S6 , where it is determined whether or not all keys have been scanned, and the process proceeds to step S3 or step F1 (key-off processing in FIG. 14, to be described later).
次にC2のキーと同時操作されたキーE2が電気
的に検出されたとすると、ステツプS5を介しステ
ツプS7,S8,S9の各処理により、CSC Regにキ
ーコードE2が書込まれ、WP RegにOP Regのデ
ータ「0」がセツトされ、またFOUNDF Regに
データ「FALSE」がセツトされる。そしてSC
Regの0チヤンネルのデータ「C2」が得られ(ス
テツプS10)、次いでCSC Regのデータ「E2」と、
SC Regのデータ「C2」との不一致が判断され
(ステツプS11)、ステツプS21に進む。そしてTL
Regの0チヤンネルのデータ「ON」が検出され
(ステツプS12)、ステツプS22を介しステツプS18
に進んで、WP Regが+1され、「1」となる。 Next, if key E 2 operated at the same time as key C 2 is electrically detected, key code E 2 is stored in CSC Reg through step S 5 and steps S 7 , S 8 , and S 9 . OP Reg data "0" is set in WP Reg, and data "FALSE" is set in FOUNDF Reg. and SC
Reg 0 channel data “C 2 ” is obtained (step S 10 ), then CSC Reg data “E 2 ” and
It is determined that there is a discrepancy with the data "C 2 " in SC Reg (step S 11 ), and the process proceeds to step S 21 . And T.L.
Reg 0 channel data “ON” is detected (step S 12 ), and the process proceeds via step S 22 to step S 18
Then, WP Reg is incremented by 1 and becomes "1".
次にWP Reg(「1」)と、OP Reg(「0」)の不
一致によりステツプS10に進み、SC Regの第1チ
ヤンネルのデータ(今スケールコード無し)が得
られ、CSC Regとの不一致が判断されて(ステ
ツプS11)TL Regの第1チヤンネルのデータ
「OFF」が読出され、ステツプS22を介しステツプ
S15に進む。そしてステツプS15によりFOUNDF
RegのFALSEが判別され、FOUNDF Regにデ
ータ「TRUE」が書込まれる。次にFP Regにデ
ータ「1」がセツトされ、またWP Regが+1さ
れて「2」となる(ステツプS18)。 Next, due to the discrepancy between WP Reg ("1") and OP Reg ("0"), the process proceeds to step S10 , where data of the first channel of SC Reg (now without scale code) is obtained, and there is a discrepancy with CSC Reg. is determined (step S11 ), the data "OFF" of the first channel of TL Reg is read out, and the step is executed via step S22 .
Proceed to S15 . And by step S 15 FOUNDF
Reg is determined to be FALSE, and data "TRUE" is written to FOUNDF Reg. Next, data "1" is set in FP Reg, and WP Reg is incremented by 1 to become "2" (step S18 ).
次にステツプS19によりWP Regの値がOP
Regに保持されている前回キーオンのポインタ
「0」までインクリメントされるまでの間、ステ
ツプS10,S11,S21,S22,S15,S18,S19が繰返さ
れる。そしてWP Regが「0」となるとステツプ
S20に進み、更にステツプS23によりSC Regの第
1チヤンネルにスケールコードE2が格納される
(ステツプS23)。またNL Regの第1チヤンネル
に「ON」がセツトされ(ステツプS24)、TL
Regの第1チヤンネルも「ON」がセツトされる
(ステツプS25)。 Next, step S19 sets the value of WP Reg to OP.
Steps S 10 , S 11 , S 21 , S 22 , S 15 , S 18 and S 19 are repeated until the previous key-on pointer held in Reg is incremented to "0". Then, when WP Reg becomes “0”, the step
Proceeding to S20 , the scale code E2 is stored in the first channel of SC Reg at step S23 (step S23 ). Also, "ON" is set to the first channel of NL Reg (step S24 ), and TL
The first channel of Reg is also set to "ON" (step S25 ).
次にOP RegにFP Regからのデータ「1」が
セツトされ(ステツプS26)、またステツプS27,
S28,S29,S30,S31がキーC2のときと同様に実行
される。そのためE2のキー楽音もバイオリンの
音色により作成開始される。 Next, data "1" from FP Reg is set in OP Reg (step S 26 ), and in steps S 27 ,
S 28 , S 29 , S 30 , and S 31 are executed in the same way as when key C 2 is pressed. Therefore, the key tone of E 2 is also started with the violin tone.
C2,E2と同時操作キーG2についても上述同様
であり、このキーG2は第2チヤンネルに割当て
られる。そのためOP Reg、FP Regには共にデ
ータ「2」がセツトされ、またNL Reg、TL
Regにはデータ「ON」がセツトされ、更にSC
Regの第2チヤンネルにはスケールコードG2が書
かれる。その結果、C2,E2,G2の楽音が共にバ
イオリンの音色により放音される。 The same applies to C 2 , E 2 and the simultaneous operation key G 2 , and this key G 2 is assigned to the second channel. Therefore, data “2” is set in both OP Reg and FP Reg, and NL Reg and TL Reg are set to “2”.
Data “ON” is set in Reg, and SC
The scale code G 2 is written on the second channel of Reg. As a result, musical tones C 2 , E 2 , and G 2 are all emitted by the violin tone.
次に、1拍後に音高C3の付点2分音符のキー
がオンされると、このキーに対しても前記キー
C2,E2,G2同様に左側の鍵としての処理が実行
され、したがつて第3チヤンネルにおいてC2,
E2,G2と共にバイオリンの音色で同時にその楽
音が放音される。 Next, if the dotted half note key of pitch C 3 is turned on after one beat, the same key will be pressed for this key as well.
Similarly, C 2 , E 2 , G 2 are processed as left keys, so in the third channel C 2 ,
Together with E 2 and G 2 , the musical tones are emitted simultaneously with the tone of a violin.
次の楽音(G3,E3)についても同様であり、
夫々左側の鍵として処理され、夫々、第4チヤン
ネル、第5チヤンネルにおいてバイオリンの音色
により各楽音が他のC2,E2,G2,C3と同時にバ
イオリンの音色により放音される。したがつて全
8チヤンネルの楽音作成系のうち6チヤンネルが
左側の鍵用として充当され、また残りの2チヤン
ネル(6,7チヤンネル)は空チヤンネルであ
る。 The same goes for the next musical tone (G 3 , E 3 ).
Each musical tone is processed as a left key, and each musical tone is emitted simultaneously with the other C 2 , E 2 , G 2 , and C 3 using the violin tone in the fourth and fifth channels, respectively. Therefore, 6 channels out of a total of 8 channels of the musical tone creation system are used for the left key, and the remaining 2 channels (6th and 7th channels) are empty channels.
次に、1小節目が終了するとき前記6個の鍵は
すべてキーオフされる。この場合、例えばC2の
キーオフ処理を説明すると、前記ステツプS6の処
理後、第14図のフローチヤートが実行される。
即ち、WP Regがクリアされて(ステツプF1)
0チヤンネルに割当てられている前記キーC2が
指定され、次いでステツプF2によりWP Regに
よつてTL Reg、OL Reg、NL Regの各0チヤ
ンネルのデータが得られる。そしてTL Reg、
NL Reg、OL Regの各データが「ON」か否か
が判断され、而して夫々は「ON」、「OFF」、
「OFF」となると、キーオフと判断されステツプ
F3,F4,F5を介しステツプF6に進み、TL Reg
の0チヤンネルがOFFされる。そして楽音作成
部12にキーオフ指示がなされ、その結果、C2
の楽音は消音される(ステツプF7)。次にWP
Regがインクリメントされて「1」となり、1チ
ヤンネルが指定され、またWP Regの値が「8」
か否かが判断されてステツプF2に戻り、1チヤ
ンネルに割当てられているE2のキーに対するキ
ーオフ処理が実行される。 Next, when the first measure ends, all six keys are turned off. In this case, for example, to explain the key-off process of C2 , after the process of step S6 , the flowchart of FIG. 14 is executed.
That is, WP Reg is cleared (step F 1 )
The key C2 assigned to the 0 channel is specified, and then in step F2 , data of each 0 channel of TL Reg, OL Reg, and NL Reg is obtained by WP Reg. and TL Reg,
It is determined whether each data of NL Reg and OL Reg is "ON" or not, and each data is "ON", "OFF",
When it becomes “OFF”, it is assumed that the key is off and the step is turned off.
Proceed to step F 6 via F 3 , F 4 , F 5 and TL Reg
0 channel is turned off. Then, a key-off instruction is given to the musical tone creation section 12, and as a result, C 2
The musical tone is muted (step F7 ). Then W.P.
Reg is incremented to "1", 1 channel is specified, and the value of WP Reg is "8"
It is determined whether or not this is the case, and the process returns to step F2 , where key-off processing is executed for the key E2 assigned to one channel.
以下、同様にしてWP Regが更に2〜8となる
までの間に、前記G2,C3,G3,E3も同様にキー
オフされる。 Thereafter, G 2 , C 3 , G 3 , and E 3 are also keyed off in the same way until WP Reg further reaches 2 to 8.
2小節目に入つてもチヤンネル割当ての動作は
同様であり、B2,D3,F3の同時操作キーは夫々、
6,7,0チヤンネルに割当てられる。そして次
のA3のキーがオンされると1チヤンネルに割当
てられ、4つの楽音がバイオリンの音色で放音さ
れる。 Even after entering the second measure, the channel assignment operation is the same, and the simultaneous operation keys of B 2 , D 3 , and F 3 are
Assigned to channels 6, 7, and 0. When the next key, A3, is turned on, it is assigned to channel 1, and four musical tones are emitted in the tone of a violin.
次にG4のキーをオンするとこのキーは右側の
鍵に属するから、このキーに対し2チヤンネルを
割当てるためのステツプS3〜S26までの処理は既
に述べたことと同様であるが、ステツプS27では
CSC Regのデータ(G4)が、KSP Regのデータ
(C4)より大であること、即ち、右側鍵であるこ
とが判別され、ステツプS32に進む。このステツ
プS32はステツプS28と対応し、ステツプS28にお
けるLTONE Regに対する処理を、RTONE
Regに対する処理に替えただけである。そのため
このキーG4は第2チヤンネルの楽音作成系でフ
ルートの音色でその楽音を作成され、B2,D3,
F3,A3のバイオリンの楽音とG4のフルートの楽
音が同時に放音される。そしてそのチヤンネル配
分は、キースプリツトした音高C4を基準にした
左右のキーの押鍵数に関係なく、キー操作順に順
次割当てられてゆく。以下、同様である。 Next, when the G 4 key is turned on, this key belongs to the keys on the right, so the processing from steps S 3 to S 26 for assigning 2 channels to this key is the same as described above, but the steps In S 27
It is determined that the CSC Reg data (G 4 ) is larger than the KSP Reg data (C 4 ), that is, it is the right key, and the process proceeds to step S32 . This step S32 corresponds to step S28 , and the processing for LTONE Reg in step S28 is performed by RTONE
I just changed the processing to Reg. Therefore, this key G 4 is created with a flute tone in the musical tone creation system of the second channel, and B 2 , D 3 ,
The violin tones of F 3 and A 3 and the flute tones of G 4 are emitted simultaneously. The channels are then sequentially assigned in the order in which the keys are pressed, regardless of the number of keys pressed on the left and right keys based on the key-split pitch C4 . The same applies hereafter.
この発明は以上説明したように、分割された鍵
域に関係なく、入力音高順に従つてチヤンネル割
当てを行い、この割り当てられた発音チヤンネル
に対して各鍵域に対応する音色を割り当て、この
音色によつて楽音を放音するようにしたため、各
鍵域毎に最大発音数までの発音チヤンネル数が可
能となる。このため、1つの鍵域にのみ同時発音
数が集中するような演奏も可能となり、いかなる
演奏形態にも対応できる利点が生じる。
As explained above, this invention allocates channels in accordance with the order of input pitches, regardless of the divided key ranges, assigns tones corresponding to each key range to the assigned sounding channels, and Since the musical tones are emitted by , the number of sound generation channels up to the maximum number of sound waves is possible for each key range. Therefore, it is possible to perform a performance in which the number of simultaneous sounds is concentrated only in one key range, and there is an advantage that it can be adapted to any performance format.
第1図はこの発明の一実施例による電子楽器の
全体回路図、第2図はスイツチ入力部4のスイツ
チ構成部、第3図はトーンレジスタのメモリ構成
図、第4図は基本波形の波形図、第5図は基本波
形の波形データのデータ構成図、第6図はエンベ
ロープ波形図、第7図はそのデータ構成図、第8
図はエンベロープ波形の具体例を示す図、第9図
はそのデータ内容図、第10図は楽音作成部12
の具体的回路図、第11図はエンベロープ回路の
回路図、12図1〜3は各種レジスタを説明する
図、第13図ないし第16図はフローチヤートを
示し、第17図は楽譜を示す図である。
1……キーボード、2……CPU、3……キー
コード大小比較部、4……スイツチ入力部、5…
…音色レジスタ部、6……キースプリツトスイツ
チ、7……スプリツト制御部、8……キースプリ
ツトコード発生部、9……トーンレジスタ、11
……レジスタ群、12……楽音作成部、13……
アンプ。
FIG. 1 is an overall circuit diagram of an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a switch component of the switch input section 4, FIG. 3 is a memory configuration diagram of a tone register, and FIG. 4 is a waveform of a basic waveform. Figure 5 is a data configuration diagram of the waveform data of the basic waveform, Figure 6 is an envelope waveform diagram, Figure 7 is its data configuration diagram, and Figure 8 is a data configuration diagram of the waveform data of the basic waveform.
The figure shows a specific example of an envelope waveform, FIG. 9 is a diagram of its data contents, and FIG. 10 is a diagram of the musical tone creation section 12.
11 is a circuit diagram of an envelope circuit, 12 Figures 1 to 3 are diagrams explaining various registers, Figures 13 to 16 are flowcharts, and Figure 17 is a diagram showing a musical score. It is. 1...Keyboard, 2...CPU, 3...Key code size comparison section, 4...Switch input section, 5...
... Tone register section, 6 ... Key split switch, 7 ... Split control section, 8 ... Key split code generation section, 9 ... Tone register, 11
... Register group, 12 ... Musical tone creation section, 13 ...
Amplifier.
Claims (1)
発生チヤンネルに割当てられた音高情報に基づい
て楽音を作成する楽音作成手段を備えた電子楽器
において、 入力された音高情報を、この音高情報が属する
音域に依らず入力順に前記楽音発生チヤンネルに
割当てる割当手段と、 この割当手段にて各音高情報が割当てられた楽
音発生チヤンネルに対し、割当てられた音高情報
の属する音域に対応する音色情報を割当てる音色
割当手段と、 を具備したことを特徴とする電子楽器。[Scope of Claims] 1. In an electronic musical instrument that has a plurality of musical sound generation channels and is equipped with a musical tone creation means that creates musical tones based on pitch information assigned to the musical sound generation channels, input pitch information is provided. an allocation means for allocating pitch information to the musical sound generation channels in the order of input regardless of the pitch range to which the pitch information belongs; An electronic musical instrument characterized by comprising: tone color allocation means for allocating tone color information corresponding to a musical range to which it belongs;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59133025A JPS6113296A (en) | 1984-06-29 | 1984-06-29 | Electronic musical instrument with key split function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59133025A JPS6113296A (en) | 1984-06-29 | 1984-06-29 | Electronic musical instrument with key split function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6113296A JPS6113296A (en) | 1986-01-21 |
| JPH0210439B2 true JPH0210439B2 (en) | 1990-03-08 |
Family
ID=15095034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59133025A Granted JPS6113296A (en) | 1984-06-29 | 1984-06-29 | Electronic musical instrument with key split function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6113296A (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62208096A (en) * | 1986-03-09 | 1987-09-12 | ヤマハ株式会社 | Musical sound generator |
| JPH0646355B2 (en) * | 1987-12-30 | 1994-06-15 | ヤマハ株式会社 | Rhythm playing device |
| US4991486A (en) | 1987-12-30 | 1991-02-12 | Yamaha Corporation | Electronic musical instrument having a rhythm performance function |
| JPH0228698A (en) * | 1988-12-01 | 1990-01-30 | Roland Corp | Electronic rhythm musical instrument |
| JP2655905B2 (en) * | 1989-02-22 | 1997-09-24 | 株式会社河合楽器製作所 | Electronic musical instrument channel assignment device |
| JPH07117834B2 (en) * | 1989-08-22 | 1995-12-18 | カシオ計算機株式会社 | Musical sound generator |
| JPH03269593A (en) * | 1990-03-20 | 1991-12-02 | Yamaha Corp | Musical sound generating device |
| JPH052389A (en) * | 1991-04-09 | 1993-01-08 | Roland Corp | Electronic rhythm instrument |
| JP2562260B2 (en) * | 1992-07-16 | 1996-12-11 | ローランド株式会社 | Electronic musical instrument assigner |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS56149089A (en) * | 1980-04-21 | 1981-11-18 | Matsushita Electric Industrial Co Ltd | Electronic musical instrument |
-
1984
- 1984-06-29 JP JP59133025A patent/JPS6113296A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6113296A (en) | 1986-01-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5119710A (en) | Musical tone generator | |
| JPH04306697A (en) | stereo system | |
| JPH0210439B2 (en) | ||
| US4920851A (en) | Automatic musical tone generating apparatus for generating musical tones with slur effect | |
| US4342248A (en) | Orchestra chorus in an electronic musical instrument | |
| JP2641605B2 (en) | Electronic musical instrument channel assignment device and channel assignment method | |
| US5074183A (en) | Musical-tone-signal-generating apparatus having mixed tone color designation states | |
| JPH0572596B2 (en) | ||
| JPH0638192B2 (en) | Musical sound generator | |
| JPH0462594B2 (en) | ||
| JPS6211357B2 (en) | ||
| EP0201998B1 (en) | Electronic musical instrument | |
| JP2834347B2 (en) | Stereo device and stereo method | |
| JP2701177B2 (en) | Tone generator | |
| JPH01182896A (en) | Tone area converting device for electronic musical instrument | |
| JPS6145290A (en) | Electronic musical instrument | |
| JPH0740191B2 (en) | Envelope generator | |
| JPH0659669A (en) | Musical sound generator | |
| JP2529227Y2 (en) | Electronic musical instrument | |
| JP3508139B2 (en) | Digital signal processor | |
| JPS6217756B2 (en) | ||
| JPS6115199A (en) | Sound pitch controller | |
| JP3190103B2 (en) | Music synthesizer | |
| JPH0727374B2 (en) | Electronic musical instrument | |
| JPH0637895U (en) | Electronic musical instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |