JPH0462594B2 - - Google Patents

Info

Publication number
JPH0462594B2
JPH0462594B2 JP59133024A JP13302484A JPH0462594B2 JP H0462594 B2 JPH0462594 B2 JP H0462594B2 JP 59133024 A JP59133024 A JP 59133024A JP 13302484 A JP13302484 A JP 13302484A JP H0462594 B2 JPH0462594 B2 JP H0462594B2
Authority
JP
Japan
Prior art keywords
tone
reg
data
musical
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59133024A
Other languages
Japanese (ja)
Other versions
JPS6113295A (en
Inventor
Akio Iba
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59133024A priority Critical patent/JPS6113295A/en
Publication of JPS6113295A publication Critical patent/JPS6113295A/en
Publication of JPH0462594B2 publication Critical patent/JPH0462594B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は複数の楽音生成チヤンネルを有し、
操作鍵に対して割当てられたチヤンネルにおいて
該操作鍵の楽音を指定された音色により発生する
電子楽器に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention has a plurality of musical tone generation channels,
The present invention relates to an electronic musical instrument that generates the musical tone of an operating key using a specified timbre in a channel assigned to the operating key.

〔従来技術〕[Prior art]

従来の電子楽器では、押鍵中に音色指定スイツ
チを切換えると、押鍵中のキーは全て一旦オフさ
れ、次いで音色が変更されたのち再びキーオンさ
れ、前記変更された音色により前記押鍵中の鍵に
対応した音高にて発音開始されるようになつてい
る。
In conventional electronic musical instruments, when a tone specifying switch is switched while a key is being pressed, all the keys being pressed are turned off, then the tone is changed, and then the key is turned on again. Sound generation starts at the pitch corresponding to the key.

〔従来技術の問題点〕[Problems with conventional technology]

このように、押鍵中に音色を切換えるとそのキ
ーは一旦オフされてあらたに設定音色を付加され
るから、例えば演奏中に音色を切換える場合、従
来は完全にキーがオフされてから新たな音色スイ
ツチをオンするのであるが、音符と音符の間が短
かいと、キーがオフする前に音色スイツチがオン
されることが多く、余計な音が放音されてしまう
という問題がある。
In this way, if you change the tone while a key is being held down, that key will be turned off and a new set tone will be added.For example, when changing the tone during a performance, conventionally the key would be completely turned off and then the new tone would be added. The timbre switch is turned on, but if the interval between notes is short, the timbre switch is often turned on before the key is turned off, causing the problem that unnecessary sounds are emitted.

一方、押鍵中のキーには全て同一音色が付加さ
れるもので、そのため音色指定スイツチを切換え
る前と後の押下キーに対して付加する音色を異な
らせるようなユニークな演奏、例えば異音色の和
音を発音させるようなことは不可能である。
On the other hand, the same tone is added to all the keys that are being pressed, so it is possible to create unique performances such as adding different tones to the keys that are pressed before and after switching the tone specifying switch. It is impossible to make chords sound.

〔発明の目的〕[Purpose of the invention]

音色切換がすばやく、更には異音色の和音が発
音可能な電子楽器が得られるようにすることを目
的とする。
To provide an electronic musical instrument that can quickly switch timbres and can also produce chords with different timbres.

〔発明の要点〕[Key points of the invention]

複数の楽音生成チヤンネルと、音色を指定する
音色指定手段と、演奏操作子に対して前記楽音生
成チヤンネルを割当てると共に該操作鍵の楽音を
前記音色指示手段で指定された音色により発生す
る電子楽器において、音色を前記楽音生成チヤン
ネルに対応して夫々記憶可能な記憶手段と、新た
な演奏操作子が所定チヤンネルに割当てられたと
き前記指示手段による音色情報と前記記憶手段の
前記割当チヤンネルに対応する位置に記憶されて
いる音色情報とを比較し、異なつていれば前記指
示手段による音色情報を前記割当チヤンネルに対
応する位置に転送セツトさせる手段で、前記記憶
手段の前記操作鍵による割当チヤンネルに対応す
る位置に記憶されている音色情報を当該楽音生成
チヤンネルに送つて該音色情報による楽音を生成
せしめる手段とを具備したことである。
An electronic musical instrument having a plurality of musical tone generation channels, a tone specifying means for specifying a tone, and assigning the musical tone generating channel to a performance operator and generating a musical tone of the operation key with a tone specified by the tone specifying means. , storage means capable of storing timbres corresponding to the musical sound generation channels, and timbre information provided by the instruction means when a new performance operator is assigned to a predetermined channel, and a position of the storage means corresponding to the assigned channel. means for comparing the timbre information stored in the storage means with the timbre information stored in the storage means and, if they are different, transferring and setting the timbre information by the instruction means to a position corresponding to the assigned channel, corresponding to the assigned channel by the operation key of the storage means. and means for transmitting the tone color information stored at the location where the tone color information is stored to the tone generation channel to generate a tone based on the tone color information.

〔実施例〕〔Example〕

以下、図面を参照して一実施例を説明する。第
1図は電子楽器の全体ブロツク図である。図中、
1はCPU(中央処理装置)であり、このCPU1に
はバスラインBUSを介しROM(リードオンリメ
モリ)2、RAM(ランダムアクセスメモリ)3、
音色RAM4が夫々接続され、またインターフエ
イス5を介し鍵盤6が、インターフエイス7を介
しスイツチ入力部8が、インターフエイス9を介
しレジスタ部10及び楽音作成部11が、インタ
ーフエイス12を介し音色レジスタ部13が夫々
接続されている。そして音色レジスタ部13は楽
音作成部11に接続され、また楽音作成部11に
はアンプ14を介しスピーカ15が接続されてい
る。
Hereinafter, one embodiment will be described with reference to the drawings. FIG. 1 is an overall block diagram of an electronic musical instrument. In the figure,
1 is a CPU (central processing unit), and this CPU 1 has ROM (read only memory) 2, RAM (random access memory) 3,
The tone RAM 4 is connected to the keyboard 6 via the interface 5, the switch input section 8 via the interface 7, the register section 10 and the tone creation section 11 via the interface 9, and the tone register via the interface 12. The sections 13 are connected to each other. The timbre register section 13 is connected to a musical tone generating section 11, and a speaker 15 is connected to the musical tone generating section 11 via an amplifier 14.

前記CPU1はROM2に記憶されている制御プ
ログラムにしたがつて演算動作等、各種動作を実
行する装置である。たRAM3はCPU1が処理中
の途中結果データ等を一時的に記憶するメモリで
ある。音色RAM4は前記スイツチ入力部8の後
述する各種スイツチによつて任意に設定される20
種類の音色を記憶するメモリである。またこのス
イツチ入力部8には音色設定用のスイツチのほか
に、効果、リズムを付加するためのスイツチ等も
ある。
The CPU 1 is a device that executes various operations such as arithmetic operations according to a control program stored in the ROM 2. The RAM 3 is a memory that temporarily stores intermediate result data and the like during processing by the CPU 1. The tone RAM 4 is arbitrarily set by various switches of the switch input section 8, which will be described later.
This is a memory that stores different types of tones. In addition to switches for setting tone colors, the switch input section 8 also includes switches for adding effects and rhythms.

レジスタ部10は第12図1,2を参照して後
述する各種レジスタを有するが、これらのレジス
タは後述の音色メモリ選択スイツチ(SW)を切
換える都度、この切換え操作後のあらたなオンキ
ーに対しては今回切換えられる音色を付加するた
めの演算処理にCPU1が使用するレジスタであ
る。
The register unit 10 has various registers, which will be described later with reference to FIGS. is a register used by the CPU 1 for arithmetic processing to add the timbre to be switched this time.

一方、音色レジスタ部13は第12図3を参照
して後述するレジスタTONE.Reg.等を有し、而
してこれらレジスタは現在実際発音中の楽音の音
色の内容等を記憶するレジスタである。また楽音
作成部11は、CPU1の時分割処理方式による
演算動作によつて形成される8チヤンネル分の楽
音作成系に対し、鍵盤6の操作キーを夫々割当て
られ、その操作キーの楽音信号を作成し、アンプ
14、スピーカ15を介し合成楽音を放音する。
その場合、楽音作成部11は音色レジスタ13か
らのデータを受けて各操作キーの楽音に対し異な
る音色を付加する。
On the other hand, the timbre register section 13 has registers such as TONE.Reg., which will be described later with reference to FIG. . In addition, the musical sound creation section 11 is assigned to each of the operation keys of the keyboard 6 to the musical sound creation system for eight channels formed by the arithmetic operations using the time-sharing processing method of the CPU 1, and creates musical sound signals for the operation keys. Then, a synthesized musical tone is emitted through the amplifier 14 and speaker 15.
In that case, the musical tone creation section 11 receives data from the tone color register 13 and adds a different tone to the musical tone of each operation key.

次に第2図を参照してスイツチ入力部2上の音
色関係のスイツチ類を説明する。茲で、この実施
例の電子楽器の場合、前記音色RAM4にこれか
ら説明するスイツチ操作によつて音色作成モード
においてプリセツトされる20種類の音色の各デー
タにつき説明すると、第3図に概念的に図示する
前記音色RAM4のメモリ構成から分かるよう
に、音量、高調波成分抑止、ピツチの3種類のエ
ンベロープデータ及び基本波形を示す波形データ
とから成つている。そして第3図の音色RAM4
のメモリ構成例では、音量エンベロープデータは
n種類、波形エンベロープデータはm種類、ピツ
チエンベロープデータは1種類、基本波形は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, each data of 20 types of tones that are preset in the tone creation mode by the switch operation described below in the tone RAM 4 will be explained conceptually as shown in FIG. As can be seen from the memory structure of the timbre RAM 4, the timbre RAM 4 is composed of three types of envelope data: volume, harmonic component suppression, and pitch, and waveform data indicating a basic waveform. And the tone RAM4 in Figure 3
In the example of the memory configuration, there are n types of volume envelope data, m types of waveform envelope data, one type of pitch envelope data, and k types of basic waveforms, and registers with a corresponding capacity are prepared. Also, there are x types of tones (however,
In reality, x = 20), and consists of a total of four pointers for each envelope data and waveform data of the volume, harmonic component suppression, and pitch, respectively,
Each one is arbitrarily selected and stored by a switch operation described later.

そこで第2図に戻ると、基本波形メモリ選択
SW16は、上述したk=10の場合の10種類の基
本波形の波形データを音色RAM4の対応するレ
ジスタ(1−k)にプリセツトするためのスイツ
チであり、また基本波形生成部スイツチ17は5
種類用意されている基本波形を指定するスイツチ
である。スイツチ17A(11,21,31,4
1,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
The SW16 is a switch for presetting the waveform data of the 10 types of basic waveforms in the case of k=10 described above into the corresponding registers (1-k) of the timbre RAM4.
This is a switch that specifies the basic waveform that is available. Switch 17A (11, 21, 31, 4
1, 51) designates one period in the first half, and switch 17B (12, 22, 32, 42, 52) designates one period in the latter half. Here, among the numbers written on the switches in the 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. 4, and the numbers in the 30s are
The waveforms shown in FIG. 4, 40s, and 50s represent the waveforms shown in FIG. 4 and 5, respectively. 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. This switch 17C
When is off, only the waveform specified in the first half is 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.
MODULATION WAVE RORMも、第4図に
示す3ビツトデータが設定される。次の1ビツト
データはOCT.MODULATION有無を示すデー
タである。更に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. Figure 5 shows the data structure of the basic waveform data. The upper 3 bits of WAVE FORM are the 3 bit data set in the waveform of Figure 4, and the next 3 bits of OCT.
The 3-bit data shown in FIG. 4 is also set for MODULATION WAVE RORM. 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個のステツプに応じてスライドW21〜
23の操作により任意に形成される8個の折線部
から成つている。そしてエンベロープの折線部の
終端(図中、A点〜H点によつて示す)の高さは
レベルバリユーで、各レベルバリユー間はレート
バリユー(折線部の傾き)によつて表現される。
FIG. 6 shows the volume, harmonic component suppression,
This shows the waveform of each envelope of pitch, and slides W21 to W21 according to the eight steps mentioned above.
It consists of eight folded line parts arbitrarily formed by the operation of 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, and when it is "1" it indicates that the sustain point has been reached. “0”
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種類の音色のデー
タを記憶する音色RAM4内のレジスタ(第3図
のレジスタ1〜x)を指定するスイツチであり、
而して前記音色作成モード時においては、現在前
記スイツチ16〜20の任意の組合せ操作によつ
て選択されている音色のデータ(基本波形の波形
データ、音量、高調波成分抑止、ピツチの各エン
ベロープデータ)に対する4個の番号が書込み
SW28のオン時に前記レジスタ1〜Xに書込ま
れる。また通常の演奏モードにおいては、音色メ
モリ選択SW27の何れか1個をオンするだけで
対応する音色データの4個のポインタが前記レジ
スタ1〜xから読出され、次いでこれらポインタ
に基づいて第3図の1〜n,1〜m,1〜l,1
〜kの各レジスタからそのデータが読出されて処
理される。
Returning to FIG. 2 again, the timbre memory selection switch 27 is a switch that specifies the registers (registers 1 to x in FIG. 3) in the timbre RAM 4 that store data for 20 types of timbres in the case of x=20. and
In the tone creation mode, the data of the tone currently selected by any combination of the switches 16 to 20 (waveform data of the basic waveform, volume, harmonic component suppression, pitch envelope, 4 numbers for data) are written
It is written into the registers 1 to X when SW28 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-l, 1
The data is read from each register of ~k and processed.

次に第10図により楽音作成部11の具体的構
成を説明する。図中、30は前記CPU1との間
でデータ入出力が行われるインターフエイスであ
り、CPU1はこのインターフエイス30を介し
音量エンベロープ発生回路31、高調波成分抑止
エンベロープ発生回路32、ピツチエンベロープ
発生回路33に対し夫々が第7図に示す前記レー
ドバリユー、レベルバリユー等からなるエンベロ
ープデータ(第10図に図示するように、各デー
タをAMP Ramp、WAVE Ramp、Freg、
Rampとも呼ぶ)を供給する。そして各エンベロ
ープ回路31,32,33は、前記レートバリユ
ーとレベルバリユーから現在のカレントバリユー
を計算してそれを夫々、対応するEXP.(イクスポ
ーネンシヤル)ROM34、バンドリミツト回路
35、周波数ROM36に与える。また前記カレ
ントバリユーがそのときのレートバリユーに到達
すると各エンベロープ回路31,32,33はイ
ンターラプト信号INTを発生し、インターフエ
イス30を介しCPU1に送出して次のステツプ
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 1, and the CPU 1, via this interface 30, controls a volume envelope generation circuit 31, a harmonic component suppression envelope generation circuit 32, and a pitch envelope generation circuit 33. 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, Freg,
(also called Ramp). Each envelope circuit 31, 32, 33 calculates the current value from the rate value and level value, and applies it to the corresponding EXP. (exponential) ROM 34, band limit circuit 35, frequency Give to ROM36. Furthermore, when the current value reaches the rate value at that time, each envelope circuit 31, 32, 33 generates an interrupt signal INT, sends it to the CPU 1 via the interface 30, and executes the next steps 0 to 7 (points). Data AMP Ramp for A to H),
Requests the output of WAVE Ramp and Freq.Ramp (however, in the case of the sustain point mentioned above, the interrupt signal INT is not output).

Freq.ROM36はピツチエンベロープ回路33
からの出力に応じた周波数情報(位相角情報)
FIを発生し、バンドリミツト回路35及びフエ
イズジエネレータ37に与える。このフエイズジ
エネレータ37は前記位相角情報FIを累算して
その結果データを割算回路38に与える。またバ
ンドリミツト回路35は波形エンベロープ回路3
2からの出力及び前記位相角情報に基づき、標本
化定理に基づく折返し歪の発生を防止し、その出
力を割算回路38へ与える。更にこの割算回路3
8には、インターフエイス30、波形発生回路3
9を介しCPU1が送出してくる所定の波形種類
選択データも与えられる。そして割算回路38は
前記フエイズジエネレータ37、バンドリミツト
回路35、波形発生回路39からの各出力に対し
て割算処理を行い、その結果データによつてウエ
イブジエネレータ40をアクセスし、波形データ
を発生させて乗算回路41に送出させる。なお、
前記割算回路38の具体的構成は、本出願人が既
に提案した、例えば特願昭57−221266の出願特許
明細書に記載した実施回路を利用することができ
る。
Freq.ROM36 is pitch envelope circuit 33
Frequency information (phase angle information) according to the output from
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. Furthermore, the band limit circuit 35 is a waveform envelope circuit 3.
Based on the output from 2 and the phase angle information, generation of aliasing distortion based on the sampling theorem is prevented, and the output is given to the division circuit 38. Furthermore, this division circuit 3
8 includes an interface 30 and a waveform generation circuit 3.
Predetermined waveform type selection data sent by the CPU 1 via the CPU 9 is also given. Then, the 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 according to the resulting data, and outputs the waveform data. is generated and sent to the multiplication circuit 41. In addition,
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 specification of Japanese Patent Application No. 57-221266.

この乗算回路41にはまた、EXP.ROMから読
出される制御データが入力し、したがつて前記波
形データ及び制御データを乗算してその結果デー
タを累算回路42に与える。この累算回路42は
8チヤンネル分の前記結果データを累算する毎に
その累算データをDACI/F(D−Aコンバータ
インターフエイス)43を介しD−Aコンバータ
に与えるので、その結果、合成楽音が前記スピー
カ15から放音されることになる。
The multiplication circuit 41 also receives control data read from the EXP.ROM, multiplies the waveform data and control data, and provides the resultant data to the accumulation circuit 42. Every time this accumulation circuit 42 accumulates the result data for 8 channels, it supplies the accumulated data to the DA converter via a DACI/F (DA converter interface) 43. Musical tones will be emitted from the speaker 15.

次に第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を介しCPU1か
ら送られてくるレベルバリユーがその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 1 via the transfer gate 46 is input in parallel to the first stage. . Note that the shift register group 45
When configured by connecting shift registers in 8 stages in parallel, this corresponds to the existence of a musical tone creation system for 8 channels. The same applies to other shift register groups to be described later.

シフトレジスタ群45の1段目に入力したレベ
ルバリユーは次いで後段側にシフトされて8段目
から出力し、トランスフアーゲート47を介し1
段目に戻されると共にコンパレータ48のB入力
端子に与えられる。またトランスフアゲート46
はCPU1から送られてくるプリセツト信号をイ
ンバータ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 46
is controlled to open and close by applying a preset signal sent from the CPU 1 to its gate via an inverter 49, and the opening and closing of the transfer gate 47 is controlled by applying the preset signal directly to the gate. Note that this preset signal is at the "0" level only when the level value is sent.

一方、トランスフアーゲート群50にはレート
バリユーがトランスフアーゲート51を介し入力
し、またシフトレジスタ群50から出力されると
トランスフアーゲート52を介しシフトレジスタ
群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 52, 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入力端子にも与える。そして加減算器
53の結果データANS1はトランスフアーゲー
ト57を介しシフトレジスタ群55に与えられる
と共に、コンパレータ48のA入力端子48にも
与えられる。而して前記加減算器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としてCPU1へ送出される。
Furthermore, the output data (current value) from itself is input 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 . The result data ANS1 of the adder/subtractor 53 is applied to the shift register group 55 via the transfer gate 57, and is also applied to the A input terminal 48 of the comparator 48. The control terminal of the adder/subtractor 53
The MSB data of the rate value output from the shift register group 50 (data indicating the direction of the rate) is input to SUB as a subtraction command.
When this subtraction command is "1", subtraction is performed, and when it is "0", 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”, A
>B is “0”, on the other hand, the comparison method selection command is “0”
In this case, the comparison result signal ANS2 becomes "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 input to the other end of the NAND gate 59, and the output of the NAND gate 59 is the interrupt signal.
Sent to CPU1 as INT.

次に第12図を参照して各種レジスタにつき説
明する。第12図1はレジスタ部10に設けられ
ているレジスタである。図中の各レジスタOP
Reg、WP Reg、FP Regは共に各ライン(チヤ
ンネルを指す)のインデツクス用として用いられ
る。
Next, various registers will be explained with reference to FIG. FIG. 12 shows a register provided in the register section 10. 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はキーアサイナ
(このキーアサイナはCPU1の演算処理によつて
操作キーに対するチヤンネル割当てをする回路で
ある)用ワークポインタである。FP Regは空ラ
インがみつかつたときにそのラインの値を保持す
る。FOUNDF Regは空ラインが有りのとき
TRUE、無しのときRALSEという各データを
CPU1によつて設定される。
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 1). 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, RALSE when absent.
Set by CPU1.

次に第12図2の各レジスタもレジスタ部10
内のレジスタである。容量8ビツトのNL Reg
(New Line status)はその0ビツト目、1ビツ
ト目、…、7ビツト目が夫々、0チヤンネル、1
チヤンネル、…、7チヤンネルに対応し、新たに
チヤンネルが指定されると対応するビツトがオン
となる。そして全ラインのチエツク終了毎に各ビ
ツトの内容はOFFされ、そしてこのNL Regの内
容が次に説明するOL Regの対応ビツトに転送さ
れ、次のチヤンネル割当てに備えられる。
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. The contents of each bit are turned OFF each time the check of all lines is completed, and the contents of this NL Reg are transferred to the corresponding bits of OL Reg, which will be explained next, in preparation for the next channel assignment.

前記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 key currently being played.

第12図3は演奏時、音色RAM4からのデー
タにしたがつてデータが設定される音色レジスタ
部13内に設けられているレジスタである。
FIG. 12 shows a register provided in the timbre register section 13 in which data is set according to data from the timbre RAM 4 during performance.

即ち、TONE Regは、音色メモリ選択スイツ
チ27に対応する番号が格納される。この番号は
音色データのポインターとして使用される。また
音色メモリ選択スイツチ27の切換え時には直ち
に更新される。
That is, the number corresponding to the tone color memory selection switch 27 is stored in TONE Reg. This number is used as a pointer to the tone data. Further, when the tone color memory selection switch 27 is switched, the data is updated immediately.

LTONE Regは8本のレジスタからなり、各
レジスタは0〜7チヤンネルに夫々対応する。そ
して新たにチヤンネルが指定されると、このチヤ
ンネルに対応するラインに前記TONE Regの内
容がコピーされる。即ち、LTONE Regは現在
の各チヤンネルの音色番号を示すものである。
LTONE Reg consists of eight registers, and each register corresponds to channels 0 to 7, respectively. When a new channel is designated, the contents of the TONE Reg are copied to the line corresponding to this channel. That is, LTONE Reg indicates the current tone color number of each channel.

次に第17図の楽譜を演奏する場合を例とし
て、その動作を第13図ないし第16図のフロー
チヤート等を参照して説明する。なお、既に音音
作成モードにおいて音色RAM4には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 RAM 4 in the tone creation mode.

電源スイツチをオンして演奏を開始すると、先
ず、ステツプS1,S2のイニシヤライズ(1)、イニシ
ヤライズ2の各初期化処理が行われる。而してイ
ニシヤライズ1は第15図のフローチヤートが実
行され、はじめにレジスタ部10内の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 ). SC Reg is then cleared (step I 2 ) or OP Reg is reset (step I 3 ).

次にTONE Regに対し所定のデフオルト値
(初期値:例えば1で音色はピアノが設定されて
いるとする)がセツトされ(ステツプI5)、次に
LTONE Regの全チヤンネルにもデフオルト値
1がセツトされる(ステツプI6)。そしてデフオ
ルト音色生成が行われる(ステツプI6)。
Next, a predetermined default value (initial value: for example, 1 and the tone is set to piano) is set for TONE Reg (step I 5 ), and then
A default value of 1 is also set for all channels of LTONE Reg (step I 6 ). Then, default tone color generation is performed (step I6 ).

またイニシヤライズ2では、第16図のフロー
にしたがつてOLレジスタにNLレジスタのデータ
が転送され(ステツプN1)、次いでNLレジスタ
の各チヤンネルにOFFがセツトされる(ステツ
プN2)。
In 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 ).

次にCPU1はバスラインBUSに鍵盤6に対す
るキーコモン信号を出力してキースキヤンを行う
(ステツプS4)。そのため鍵盤6の各キーの出力が
インターフエイス5を介しRAM3に書込まれ
(ステツプS4)、CPU1はこのRAM3内のデータ
内容から押鍵の有無を判断する(ステツプS5)。
そして押鍵無しを判断すると全鍵スキヤンしたか
否かを判断し(ステツプS6)、「NO」であればス
テツプS3に戻り、全鍵スキヤンされるまで、ステ
ツプS3〜S6を繰返す。
Next, the CPU 1 outputs a key common signal for the keyboard 6 to the bus line BUS to perform key scanning (step S 4 ). Therefore, the output of each key on the keyboard 6 is written to the RAM 3 via the interface 5 (step S 4 ), and the CPU 1 determines whether or not a key has been pressed from the data content in the RAM 3 (step S 5 ).
If it is determined that no key has been pressed, it is determined whether all keys have been scanned (step S 6 ), and if "NO", the process returns to step S 3 and steps S 3 to S 6 are repeated until all keys have been scanned. .

そして第17図に示す楽譜の第1楽音E3のキ
ーをオンしたものとする。なお、演奏開始前に予
め音色メモリ選択スイツチ27の1以外のスイツ
チの何れか1つをオン(例えば2)してハープの
音色がセツトされているものとする。
It is assumed that the key of the first musical tone E3 of the musical score shown in FIG. 17 is turned on. It is assumed that the tone color of the harp is set by turning on any one of the tone color memory selection switches 27 other than 1 (for example, 2) before starting the performance.

その結果、E3のキーオンがステツプS5で判断
され、CSCレジスタにそのスケールコードE3
セツトされる(ステツプS12)。またOPレジスタ
のデータ「0」がWPレジスタにセツトされ、
「0」となる(ステツプS13)。またFOUND Reg
にデータ「FALSE」が書込まれる(ステツプ
S14)。そしてWP Regのデータ「0」をインデツ
クスとしてSC Regの内容を得るステツプS15の処
理が行われ、而していまはじめてのキーオンであ
るからSC Regの0チヤンネルのスケールコード
はない。
As a result, key-on of E3 is determined in step S5 , and the scale code E3 is set in the CSC register (step S12 ). Also, data “0” of the OP register is set to the WP register,
It becomes "0" (step S13 ). Also FOUND Reg
Data “FALSE” is written to (step
S14 ). Then, the process of step S15 is performed to obtain the contents of SC Reg using the data "0" of WP Reg as an index, and since this is the first key-on, there is no scale code for the 0 channel of SC Reg.

次にステツプS16に進み、CSC Regのデータ
「E3」とSC Regのデータ「0」との一致を見、
「NO」であるからステツプS26に進み、WP Reg
の内容「0」をインデツクスとしてTL Regの内
容(0チヤンネルはいま「OFF」)を見、TL
Regの前記データがONしているか否かを判断す
る(ステツプS27)。しかして「NO」であるから
ステツプS20に進み、FOUND Regのデータが
「FALSE」か否かを見るが「YES」であるから、
ステツプS21に進み、FOUNDF Regにデータ
「TRUE」をセツトする。またWP Regのデータ
「0」をFP Regにセツトする(ステツプS22)。
Next, proceed to step S16 , check the match between the CSC Reg data "E 3 " and the SC Reg data "0",
Since the answer is “NO”, proceed to step S 26 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 or not (step S27 ). However, since it is "NO", proceed to step S20 and check whether the data of FOUND Reg is "FALSE", but since it is "YES",
Proceed to step S21 and set data "TRUE" in FOUNDF Reg. Also, data "0" of WP Reg is set to FP Reg (step S22 ).

次にWP Regをインクリメントして「1」と
し、その結果が「8」となつたか否かを判断する
がそうではないのでWP Regの値は「1」のまま
次のステツプS24に進む。なお、WP Regが「8」
となると自動的に「0」に戻す作業を行う。
Next, WP Reg is incremented to "1" and it is determined whether the result is "8" or not, but since it is not, the process proceeds to the next step S24 with the value of WP Reg remaining at "1". In addition, WP Reg is "8"
When this happens, the process is automatically reset to "0".

次にステツプS24では、WP Regのデータ「1」
がOP Regが有するデータ「0」に一致するか否
かが判断され、「NO」であるから次のステツプ
S15に進んで、以後、前記ステツプS23でWPレジ
スタがインクリメントされて現在のWPPレジス
タのデータ「1」が「0」に戻されるまでの間、
前記ステツプS24,S15,S16,S26,S27,S20
S21,S22,S23,S24が7回繰返される。即ち、こ
の間、WP Regの値は1,2,3,…,7,0と
変化する。そして「0」になつてステツプS24
てOP Regのデータ「0」の一致が検出されると
ステツプS25に進み、FOUNDF RegがTRUEか
否かが判断される。しかして「YES」であり、
ステツプS28に進んでFP Regの内容「0」をイ
ンデツクスとしてSC RegにCSC Regのデータ
「E3」を格納する。即ち、SC Regの0チヤンネ
ルにキーオンされたスケールコードE3が登録さ
れた。
Next, in step S24 , 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 S15 , from then on, until the WP register is incremented in step S23 and the current data "1" in the WPP register is returned to "0",
The steps S 24 , S 15 , S 16 , S 26 , S 27 , S 20 ,
S 21 , S 22 , S 23 , and S 24 are repeated seven times. That is, during this period, the value of WP Reg changes as 1, 2, 3, . . . , 7, 0. When the value becomes "0" and a match of data "0" in OP Reg is detected in step S24 , the process proceeds to step S25 , where it is determined whether FOUNDF Reg is TRUE or not. However, the answer is “YES”.
Proceeding to step S28 , data ``E 3 '' of CSC Reg is stored in SC Reg using the content ``0'' of FP Reg as an index. That is, scale code E 3 keyed on channel 0 of SC Reg has been registered.

次にFP Regの内容(0チヤンネル)をインデ
ツクスとしてNL Regを「ON」させ、したがつ
てNL Regの0チヤンネル目にデータ「ON」が
セツトされる(ステツプS29)。そしてFP Regの
内容(0チヤンネル)をインデツクスとしてTL
Regの0チヤンネルに「ON」をセツトする(ス
テツプS30)。更にFP Regのデータ「0」をOP
Regに転送する(ステツプS31)。これはキーアサ
イナのサーチスタートラインのポインタの更新で
ある。
Next, NL Reg is turned "ON" using the contents of FP Reg (channel 0) as an index, and data "ON" is set in the 0th channel of NL Reg (step S29 ). Then, TL using the contents of FP Reg (channel 0) as an index.
Set "ON" to the 0 channel of Reg (step S30 ). Furthermore, OP Reg data “0”
Transfer to Reg (step S 31 ). This is an update of the key assigner's search start line pointer.

次にFP Regの内容「0」をインデツクスとし
てLTONE Regの内容を調べる。即ち、音色レ
ジスタ部13内のLTONE Regの0チヤンネル
のデータ「1」を検出し、これはTONE Regの
データ「2」と異なるので(ステツプS33)、ステ
ツプS34に進み、LTONE Regの0チヤンネルに
「2」の音色番号が書込まれる(ステツプS34)。
次いでその番号「2」に対応するハープの音色デ
ータが楽音作成部に送られる(ステツプS35)。次
いでステツプS36に進みCSC Regのデータ「E3
のキーコードが楽音作成部11に送られそのキー
オン指示が行われて第1チヤンネルの楽音作成系
での楽音作成が開始され、E3のハープ音が鳴り
はじめる(ステツプS37)。
Next, the contents of LTONE Reg are examined using the contents "0" of FP Reg as an index. That is, data "1" of channel 0 of LTONE Reg in the tone register section 13 is detected, and since this is different from data "2" of TONE Reg (step S 33 ), the process advances to step S 34 and the data ``1'' of channel 0 of LTONE Reg is detected. The tone number "2" is written to the channel (step S34 ).
Next, the harp tone color data corresponding to the number "2" is sent to the tone generation section (step S35 ). Next, proceed to step S36 and enter the CSC Reg data “E 3 ”.
The key code is sent to the musical sound creation section 11, a key-on instruction is given, and the musical sound creation system of the first channel starts creating a musical sound, and the harp sound of E3 begins to sound (step S37 ).

次にステツプS6に戻り、キースキヤンが終了し
ていなければステツプS6,S3,S4の各処理を実行
してステツプS5に戻り、而してE3のキーはオン
したままであるから、ステツプS12に進み、CSC
Regにデータ「E3」が再びセツトされる。そして
WP Regにデータ「0」がセツトされ(ステツプ
S13)、またFOUNDF Regにデータ「FALSE」
がセツトされる。そしてステツプS15では、SC
Regの0チヤンネルが見られ、キーコードE3が得
られる。そしてステツプS16では共に「E3」と一
致するから、ステツプS17に進み、TL Regの0
チヤンネルのデータ「ON」が得られる。そして
ステツプS18ではそのデータが「ON」か否かが
判断され、「YHS」であるからステツプS19に進
み、WP Regの内容「0」をインデツクスとして
NL Regの0チヤンネルを「ON」とする。
Next, the process returns to step S6 , and if the key scan is not completed, steps S6 , S3 , and S4 are executed, and the process returns to step S5 , and the E3 key remains on. , proceed to step S 12 and CSC
Data "E 3 " is set in Reg again. and
Data “0” is set in WP Reg (step
S 13 ), and also data "FALSE" in FOUNDF Reg
is set. And in step S 15 , SC
The 0 channel of Reg is seen and the key code E 3 is obtained. Then, in step S16 , both match "E 3 ", so proceed to step S17 , and set TL Reg to 0.
Channel data "ON" is obtained. Then, in step S18 , it is determined whether the data is "ON" or not, and since it is "YHS", the process proceeds to step S19 , and uses the content of WP Reg as "0" as an index.
Set the 0 channel of NL Reg to “ON”.

次いでステツプS6に進み、若しステツプS7に進
むと音色スイツチ、即ち、CPU1がスイツチ入
力部8に対してキーコモン信号を出力する。次い
でステツプS9にて音色メモリ選択スイツチ27の
変更があつたか否かが判断され、変更がなければ
ステツプS11のキーオフ処理に進んでステツプS2
に戻る。
Next, the process proceeds to step S6 , and if the process proceeds to step S7 , the tone color switch, that is, the CPU 1 outputs a key common signal to the switch input section 8. Next, in step S9 , it is determined whether or not there has been a change in the tone memory selection switch 27. If there has been no change, the process proceeds to step S11 , where the key-off process is performed, and then step S2.
Return to

一方、E3のキーをオンしたまま、第13図に
示すように音色をピアノに切換えると、ステツプ
S9により判断され、ステツプS10に進んで音色レ
ジスタ部13内のTONE Regにピアノの音色番
号「1」がセツトされる。そしてステツプS11
介しステツプS2に戻る。
On the other hand, if you leave the E 3 key on and switch the tone to piano as shown in Figure 13, the step
The determination is made in step S9 , and the process proceeds to step S10 , where the piano tone number "1" is set in TONE Reg in the tone color register section 13. Then , the process returns to step S2 via step S11.

この後、第2楽音G3のキーをオンすると、ス
テツプS2〜S5を介しS12ではCSC Regにキーコー
ド「G3」がセツトされる。そしてステツプS13
はOP Regのデータ「0」がWP Regに転送さ
れ、またFOUNDF Regに「FALSE」がセツト
される(ステツプS14)。
Thereafter, when the key for the second musical tone G3 is turned on, the key code " G3 " is set in CSC Reg at step S12 through steps S2 to S5 . Then, in step S13 , data "0" in OP Reg is transferred to WP Reg, and "FALSE" is set in FOUNDF Reg (step S14 ).

次にステツプS15によりWP Regのデータ「0」
からSC Regの0チヤンネルのデータ「E3」が得
られるのでステツプS16では「NO」となり、ス
テツプS26に進んでWP Regのデータ「0」から
TL Regの0チヤンネルのデータ「ON」が得ら
れ、ステツプS27ではまた「YES」となり、ステ
ツプS23に進み、WP Regが+1されて「1」と
なる。そしてWP RegはOP Reg(「0」)と不一
致であるから(ステツプS24)ステツプS15に進
み、SC Regの1チヤンネルのデータ「0」が得
られる。そしてステツプS16では「NO」となり、
ステツプS26に戻る。
Next, step S15 sets the WP Reg data to “0”.
Since the data "E 3 " of channel 0 of SC Reg is obtained from , the result is "NO" in step S16 , and the process proceeds to step S26 , where data "0" of WP Reg is obtained.
Data "ON" of channel 0 of TL Reg is obtained, and in step S27 it becomes "YES" again, and the process proceeds to step S23 , where WP Reg is incremented by 1 and becomes "1". Since WP Reg does not match OP Reg ("0") (step S24 ), the process advances to step S15 , and data "0" for one channel of SC Reg is obtained. Then, in step S 16 , it is "NO",
Return to step S26 .

次にTL Regの1チヤンネルのデータ「OFF」
が検出され、ステツプS27では「NO」となつて
ステツプS20に進み、而してこの回も「YES」で
あり、ステツプS21ではFOUNDが「TRUE」に
セツトされる。
Next, TL Reg 1 channel data “OFF”
is detected, the result in step S27 is "NO", and the process proceeds to step S20 , and this time also, the result is "YES", and in step S21 , FOUND is set to "TRUE".

次いでFP RegにWP Regの「1」が転送さ
れ、次いでステツプS23ではWP Regが「2」と
なる。
Next, "1" of WP Reg is transferred to FP Reg, and then in step S23 , WP Reg becomes "2".

以下、WP Regが「0」に戻るまでの間、ステ
ツプS15,S16,S26,S27,S20,S2324が繰返あ
れ、そしてWP Regの値が「0」となるとステツ
プS24を介しS25では「YES」となり、ステツプ
S28に進む。
Below, steps S 15 , S 16 , S 26 , S 27 , S 20 , S 23 and 24 are repeated until WP Reg returns to "0", and when the value of WP Reg becomes "0" “YES” is obtained in step S 25 via step S 24 , and the step
Proceed to S 28 .

ステツプS28ではSCレジスタの1チヤンネルに
キーコードG3がセツトされ、次いでNL Regの
1チヤンネルに「ON」がセツトされる(ステツ
プS29)。次にOP Regに「1」がセツトされ(ス
テツプS31)、更にLTONE Regの1チヤンネル
のデータ「1」が検出され(S32)、またTONE
Rege内のデータ「1」との一致が判断され(ス
テツプS23)、LTONE Regの第1チヤンネルに
は前記音色番号「1」がそのまま変化せず、音色
番号「1」に対応するピアノの音色データを楽音
作成部11に送出し(ステツプS35)、またCSC
Reg内のG3のキーコードも楽音作成部11に送出
され、キーオン指示がなされる(ステツプS36
S37)。そしてステツプS6に戻る。そのため2番目
にオンしたキーはその直前に音色切換えがなされ
たピアノの音色で放音される。一方、1番目のオ
ンキーは、はじめに設定しておいたハープの音色
で放音され、この結果、2つのキーが夫々異なる
音色で放音されることになる。
In step S28 , key code G3 is set in one channel of the SC register, and then "ON" is set in one channel of NL Reg (step S29 ). Next, "1" is set in OP Reg (step S31 ), data "1" of one channel of LTONE Reg is detected ( S32 ), and TONE
It is determined that there is a match with the data "1" in Rege (step S23 ), and the tone number "1" remains unchanged in the first channel of LTONE Reg, and the piano tone corresponding to tone number "1" is displayed. The data is sent to the musical tone creation section 11 (step S35 ), and the CSC
The G 3 key code in Reg is also sent to the musical tone creation section 11, and a key-on instruction is issued (step S36 ,
S37 ). Then return to step S6 . Therefore, the second key turned on is emitted with the piano tone for which the tone color was changed immediately before. On the other hand, the first on-key emits sound with the initially set harp tone, and as a result, the two keys each emit sound with different tones.

以下は同様であり、第17図の楽譜にしたがつ
て説明すると、E3,G3のキーをオンしたまま音
色をパイプオルガンに切換え、次いでC4の3番
目のキーをオンすると、このC4のキーにはパイ
プオルガンの音色がかかり、したがつて3個のキ
ーが各々異なる音色で発音されることになる。
The following is the same, and to explain it according to the score in Figure 17, if you switch the tone to pipe organ while keeping the E 3 and G 3 keys on, then turn on the third key of C 4 , this C The pipe organ tone is applied to the 4th key, so each of the three keys will be sounded with a different tone.

第14図を参照して、前記ステツプS11のキー
オフ処理につき簡単に説明すると、先ず、WP
Regがクリアされ(ステツプF1)、次にこのWP
Regの値をインデツクスとしてTL Reg、OL
Reg、NL Regの各内容を得(ステツプF2)、TL
Reg、NL Reg、OL Reg夫々がONしているか
否かを判断する。そしてTL RegがONしていて
他のRegがONしていなければステツプF6に進
み、TL RegをOFFし、キーオフ指令を出力する
(ステツプF7)。次いでステツプF8ではWP Reg
をインクリメントしてその値が「8」でなければ
ステツプF2に戻つてステツプF2〜F8の処理を再
度実行し、また「8」となれば8チヤンネル分の
キーオフ処理が終了する。
To briefly explain the key-off process in step S11 with reference to FIG.
Reg is cleared (step F 1 ) and then this WP
TL Reg, OL using Reg value as index
Obtain the contents of Reg, NL Reg (step F 2 ), and TL
Determine whether Reg, NL Reg, and OL Reg are ON. If TL Reg is ON and other Regs are not ON, the process advances to step F6 , where TL Reg is turned OFF and a key-off command is output (step F7 ). Then in step F8 WP Reg
is incremented, and if the value is not ``8'', the process returns to step F2 and the processes of steps F2 to F8 are executed again, and if the value is ``8'', the key-off process for eight channels is completed.

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

この発明は以上説明したように、テンポの速い
曲においても、音色切換が支障なく行えると共に
オンキーの各々に夫々異なる音色を付加すること
が簡単にできる異色の楽器が得られ、例えば異音
色の和音、曲のイントロ部での使用等を行えば、
極めて面白く、且つ効果の高い演奏が行える。
As explained above, the present invention provides a unique musical instrument that can easily switch tones even in fast-tempo songs and easily add different tones to each on-key. , if you use it in the intro of a song, etc.
This allows for extremely interesting and highly effective performances.

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

第1図はこの発明の一実施にによる電子楽器の
全体回路図、第2図はキー入力部のスイツチ構成
図、第3図は音色RAM4のメモリ構成図、第4
図は基本波形の波形図、第5図は基本波形の波形
データのデータ構成図、第6図はエンベロープ波
形図、第7図はそのデータ構成図、第8図はエン
ベロープ波形の具体例を示す図、第9図はそのデ
ータ内容図、第10図は楽音作成部11の具体的
回路図、第11図はエンベロープ回路の回路図、
第12図1〜3は各種レジスタを説明する図、第
13図ないし第16図はフローチヤートを示し、
第17図は楽譜を示す図である。 1…CPU、2…ROM、3…RAM、4…音色
RAM、6…鍵盤、8…スイツチ入力部、10…
レジスタ部、11…楽音作成部、14…アンプ、
15…スピーカ。
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 configuration diagram of the key input section, FIG. 3 is a memory configuration diagram of the tone RAM 4, and FIG.
The figure is a waveform diagram of the 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 a data configuration diagram, and Figure 8 is a specific example of the envelope waveform. 9 is a diagram of the data contents, FIG. 10 is a specific circuit diagram of the musical tone creation section 11, and FIG. 11 is a circuit diagram of the envelope circuit.
Figures 12 to 3 are diagrams explaining various registers, Figures 13 to 16 are flowcharts,
FIG. 17 is a diagram showing a musical score. 1...CPU, 2...ROM, 3...RAM, 4...Tone
RAM, 6...Keyboard, 8...Switch input section, 10...
Register section, 11... musical tone creation section, 14... amplifier,
15...Speaker.

Claims (1)

【特許請求の範囲】 1 複数の楽音生成チヤンネルを有し、この楽音
生成チヤンネルに割り当てられた楽音の音高を決
定するための音高情報及び楽音の音色を決定する
ための音色制御情報に基づいて楽音を生成する楽
音生成手段を備えた電子楽器において、 楽音の音色を指定する音色指定手段と、 音高情報が新たに入力する毎にこの音高情報を
前記複数の楽音生成チヤンネルのいずれかに割り
当てる音高割り当て手段と、 音高情報が新たに入力する毎に前記音色指定手
段にて指定されている音高情報を新たに入力され
た音高情報が割り当てられた楽音生成チヤンネル
にのみ割り当てる音色割り当て手段と、 を具備し、上記音色指定手段にて音色情報が切換
えられるとその後に入力する音高情報によつて発
音する楽音の音色のみ該音色情報によつて指定さ
れた音色となることを特徴とする電子楽器。
[Claims] 1. Having a plurality of musical sound generation channels, based on pitch information for determining the pitch of a musical sound assigned to this musical sound generation channel and timbre control information for determining the timbre of a musical sound. In an electronic musical instrument, the electronic musical instrument is equipped with a musical tone generating means for generating a musical tone, and a tone color specifying means for specifying a tone of a musical tone, and each time pitch information is newly inputted, this pitch information is transmitted to one of the plurality of musical tone generation channels. a pitch assigning means for allocating pitch information to a musical tone generation channel to which the newly inputted pitch information is assigned; and a tone color assigning means, wherein when the tone color information is switched by the tone color specifying means, only the tone of the musical tone to be produced based on pitch information inputted thereafter becomes the tone specified by the tone color information. An electronic musical instrument featuring
JP59133024A 1984-06-29 1984-06-29 Electronic musical instrument Granted JPS6113295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59133024A JPS6113295A (en) 1984-06-29 1984-06-29 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59133024A JPS6113295A (en) 1984-06-29 1984-06-29 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS6113295A JPS6113295A (en) 1986-01-21
JPH0462594B2 true JPH0462594B2 (en) 1992-10-06

Family

ID=15095009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59133024A Granted JPS6113295A (en) 1984-06-29 1984-06-29 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS6113295A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2671472B2 (en) * 1989-01-19 1997-10-29 ヤマハ株式会社 Electronic musical instrument

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5383730A (en) * 1976-12-29 1978-07-24 Nippon Gakki Seizo Kk Assigner for electronic insturment
JPS5387719A (en) * 1977-01-12 1978-08-02 Nippon Gakki Seizo Kk Timbre processing apparatus of electronic musical instrument
JPS5636697A (en) * 1979-09-03 1981-04-09 Nippon Musical Instruments Mfg Electronic musical instrument
JPS58214198A (en) * 1983-04-23 1983-12-13 ヤマハ株式会社 Electronic musical instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5383730A (en) * 1976-12-29 1978-07-24 Nippon Gakki Seizo Kk Assigner for electronic insturment
JPS5387719A (en) * 1977-01-12 1978-08-02 Nippon Gakki Seizo Kk Timbre processing apparatus of electronic musical instrument
JPS5636697A (en) * 1979-09-03 1981-04-09 Nippon Musical Instruments Mfg Electronic musical instrument
JPS58214198A (en) * 1983-04-23 1983-12-13 ヤマハ株式会社 Electronic musical instrument

Also Published As

Publication number Publication date
JPS6113295A (en) 1986-01-21

Similar Documents

Publication Publication Date Title
US5319151A (en) Data processing apparatus outputting waveform data in a certain interval
US5119710A (en) Musical tone generator
JP3177374B2 (en) Automatic accompaniment information generator
US5949012A (en) Electronic musical instrument and music performance information inputting apparatus capable of inputting various music performance information with simple operation
US4342248A (en) Orchestra chorus in an electronic musical instrument
US5354948A (en) Tone signal generation device for generating complex tones by combining different tone sources
JPH04306697A (en) Stereo system
JPH0210439B2 (en)
US5074183A (en) Musical-tone-signal-generating apparatus having mixed tone color designation states
JP2538809B2 (en) Musical sound generator
JPH0462594B2 (en)
JPH0638192B2 (en) Musical sound generator
US5998723A (en) Apparatus for forming musical tones using impulse response signals and method of generating musical tones
JPH071430B2 (en) Electronic musical instrument
JP2698942B2 (en) Tone generator
EP0201998B1 (en) Electronic musical instrument
JP2701177B2 (en) Tone generator
JP2746063B2 (en) Electronic musical instruments with pitch shift controls
JP2513041B2 (en) Music signal generator
JP2935053B2 (en) Electronic musical instrument
JPS6145290A (en) Electronic musical instrument
JPS6115199A (en) Sound pitch controller
JP3190103B2 (en) Music synthesizer
JPH0460698A (en) Musical sound waveform generator
JP2001051681A (en) Automatic accompaniment information generator

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term