JPH0656554B2 - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JPH0656554B2 JPH0656554B2 JP60089919A JP8991985A JPH0656554B2 JP H0656554 B2 JPH0656554 B2 JP H0656554B2 JP 60089919 A JP60089919 A JP 60089919A JP 8991985 A JP8991985 A JP 8991985A JP H0656554 B2 JPH0656554 B2 JP H0656554B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- latch
- bits
- bit
- bus
- 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
- 238000000034 method Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 description 69
- 101150080661 Ear1 gene Proteins 0.000 description 19
- 101150081376 NR1D1 gene Proteins 0.000 description 19
- 102100023170 Nuclear receptor subfamily 1 group D member 1 Human genes 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 230000000694 effects Effects 0.000 description 13
- 101100420776 Arabidopsis thaliana SYN1 gene Proteins 0.000 description 12
- VUDQSRFCCHQIIU-UHFFFAOYSA-N DIF1 Natural products CCCCCC(=O)C1=C(O)C(Cl)=C(OC)C(Cl)=C1O VUDQSRFCCHQIIU-UHFFFAOYSA-N 0.000 description 12
- 101150001108 DIF1 gene Proteins 0.000 description 12
- 101000633516 Homo sapiens Nuclear receptor subfamily 2 group F member 6 Proteins 0.000 description 9
- 102100029528 Nuclear receptor subfamily 2 group F member 6 Human genes 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000003825 pressing Methods 0.000 description 6
- 210000004027 cell Anatomy 0.000 description 5
- 230000000295 complement effect Effects 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005316 response function Methods 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 101150065817 ROM2 gene Proteins 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 210000000056 organ Anatomy 0.000 description 2
- ZYHQYSIVGCZMNM-UHFFFAOYSA-N 4-(2-hydroxyethylsulfonyloxy)butyl 2-hydroxyethanesulfonate Chemical compound OCCS(=O)(=O)OCCCCOS(=O)(=O)CCO ZYHQYSIVGCZMNM-UHFFFAOYSA-N 0.000 description 1
- 235000006040 Prunus persica var persica Nutrition 0.000 description 1
- 240000006413 Prunus persica var. persica Species 0.000 description 1
- 210000004899 c-terminal region Anatomy 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は電子楽器に係り、特にメモリを読み出し、読み
出したデータに基づき楽音を発生するものに関する。Description: TECHNICAL FIELD The present invention relates to an electronic musical instrument, and more particularly to a musical instrument which reads a memory and generates a musical tone based on the read data.
(従来の技術) 近年電子楽器はデジタル信号処理技術の導入により高度
な音色づくりを行えるようになった。このような電子楽
器は例えば特開昭59−214091号公報に示される。(Prior Art) In recent years, electronic musical instruments have become capable of producing sophisticated tones by introducing digital signal processing technology. Such an electronic musical instrument is disclosed in, for example, Japanese Patent Laid-Open No. 59-214091.
そのブロック図を第14図に示した動作原理を説明する。The operation principle whose block diagram is shown in FIG. 14 will be described.
楽音発生部1と楽音合成データROM2がマイコンバスに接
続されている。演奏情報、例えば演奏された鍵盤の音程
・ON/OFF情報や、演奏中指示したヴィブラートやピッチ
コントロール等のエフェクト(効果)情報、或いはどの楽
器の音色で演奏するかというタブレット情報がマイコン
バスを通じて楽音発生部1に転送される。楽音発生部1
は、音程情報からノートデータとアクターブデータを作
成し、ナートデータでノートクロックを作成し、オクタ
ーブデータとタブレットデータによりアドレス信号を作
成する。ROM2には音色毎にオクターブ別に楽音の波形デ
ータが格納されている。楽音発生部1はROM2から、上記
アドレス信号をアドレスとし、上記ノートクロックを読
み出しクロックとして所望の波形データを読み出す。The tone generator 1 and tone synthesis data ROM 2 are connected to the microcomputer bus. Performance information, such as the pitch and ON / OFF information of the played keyboard, effect information such as vibrato and pitch control instructed during the performance, or tablet information indicating which tone of the instrument to play is played through the microcomputer bus. It is transferred to the generator 1. Tone generator 1
Creates note data and actor data from pitch information, creates a note clock with nart data, and creates an address signal with octave data and tablet data. ROM2 stores musical tone waveform data for each tone for each octave. The tone generation section 1 reads out desired waveform data from the ROM 2 using the address signal as an address and the note clock as a read clock.
楽音発生部1は読み出した波形データに所定のエフェク
トを付与して楽音データを作成し、ノートクロックに従
ってフィルタ3に送出する。フィルタ3は楽音データに
混入した雑音(量子化ノイズ、折返しノイズ)を除去しス
ピーカ4を送る。ROM2に格納された波形データは自然楽
器の音をデジタル的にコード化したもので、スピーカ4
から発音される音色は自然楽器音に近いものである。The musical sound generating unit 1 adds a predetermined effect to the read waveform data to create musical sound data, and sends the musical sound data to the filter 3 in accordance with the note clock. The filter 3 removes noise (quantization noise, aliasing noise) mixed in the musical sound data and sends it to the speaker 4. The waveform data stored in ROM2 is a digitally encoded sound of a natural musical instrument.
The timbre produced by is similar to that of a natural musical instrument.
第15図は楽音合成データROM2の構成図である。先頭アド
レス128 ワードは鍵盤の各鍵に対応しており、押圧され
た鍵に対応する制御データ、波形データがどれであるか
を示すデータであり、該当する制御データの先頭アドレ
スが書き込まれている。楽音発生部1は押鍵によって先
頭アドレスを読み取り、先頭アドレスに基づいて制御デ
ータ及び波形データを読み取りながら楽音波形を発生す
る。FIG. 15 is a block diagram of the musical sound synthesis data ROM 2. The start address of 128 words corresponds to each key on the keyboard, and is the data indicating which control data or waveform data corresponds to the pressed key. The start address of the corresponding control data is written. . The musical tone generating section 1 reads a leading address by pressing a key and generates a musical tone waveform while reading control data and waveform data based on the leading address.
(発明が解決しようとする問題点) しかしながら上記のような構成では、図示されていると
おり、波形データ、制御データとも16ビットのデータと
なっている。これは市販されているROM が1ワード8ビ
ットの構成となっているためであるが、波形データ、制
御データとして必ず16ビット必要であるとは限らず、例
えば波形データが12ビットで充分な場合は上位或は下位
4ビットは無駄となるものであった。(Problems to be Solved by the Invention) However, in the above configuration, both waveform data and control data are 16-bit data as shown in the figure. This is because the commercially available ROM has a structure of 1 word and 8 bits, but it is not always necessary to have 16 bits for waveform data and control data. The upper or lower 4 bits are wasted.
本発明は上記問題点に鑑み、ROM の使用効率を上げた電
子楽器を提供するものである。In view of the above problems, the present invention provides an electronic musical instrument with improved ROM usage efficiency.
(問題点を解決するための手段) 上記問題点を解決するため、本発明は波形データ1ワー
ドのビット数がN、上記データバンク1ワードのビット
数がMであってMとNの関係が、 である時、 データバンクの総ワード数をW、上記波形データ第i番
目のワードのデータの上位Mビットと下位(N−M)ビッ
トが上記データバンクに格納されているアドレスを各々
AiとBiとすると 但し[ ]はガウス記号であり、[ ]内の数値の整数
部を表す。(Means for Solving the Problems) In order to solve the above problems, in the present invention, the number of bits of one word of waveform data is N, the number of bits of one word of the data bank is M, and the relationship between M and N is , , The total number of words in the data bank is W, and the upper M bits and the lower (NM) bits of the data of the i-th word of the waveform data are the addresses stored in the data bank, respectively.
Ai and Bi However, [] is a Gaussian symbol and represents the integer part of the numerical value in [].
の関係が成立しているデータバンクを備えたものであ
る。It is equipped with a data bank in which the relationship is established.
(作用) 本発明は上記した構成によってデータを上位ビットと下
位ビットに分け、下位ビットをまとめて1ワードとして
ROM に格納する。これにより利用されないビットが少な
く或は全くなくなるため、ROM の利用効率を著しく向上
させることができる。(Operation) According to the present invention, the data is divided into the upper bit and the lower bit by the above configuration, and the lower bits are collectively set as one word.
Store in ROM. As a result, the number of unused bits is reduced or eliminated altogether, and the utilization efficiency of the ROM can be significantly improved.
(実施例) 以下図面に基づき本発明の一実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明による情報処理装置を電子楽器に用いた
場合のブロック図である。この第1図を説明すると、1-
1 は鍵盤である。1-2 はタブレットであり、本電子楽器
より出力される楽音の音色の選択を指示する操作部であ
る。1-3 は効果スイッチであり、楽音に対する各種の効
果の制御、例えばヴィブラート,トレモロ等の効果のオ
ン・オフを指示するスイッチである。1-4 はマイコン
(マイクロコンピュータ)であり、例えばインテル社のマ
イコン8049等が相当する、1-5 は楽音発生部であり、マ
イコン1-4 より与えられた制御信号に基づいて波形演
算、周波数演算を行う。1-6 はデータバンクであり、楽
音発生部1-5 にて使用する波形データやエンベロープデ
ータが格納されているROM(読出専用メモリ) である。1-
7 はフィルタであり、楽音発生部1-5 より出力される楽
音信号の折り返しノイズを除去する。1-8 はスピーカで
ある。FIG. 1 is a block diagram when the information processing apparatus according to the present invention is used in an electronic musical instrument. To explain FIG. 1, 1-
1 is a keyboard. Reference numeral 1-2 is a tablet, which is an operation unit for instructing selection of a tone color of a musical sound output from the electronic musical instrument. 1-3 are effect switches, which are switches for instructing control of various effects on musical sounds, for example, on / off of effects such as vibrato and tremolo. 1-4 is a microcomputer
1-5, which is a (microcomputer) and corresponds to, for example, a microcomputer 8049 manufactured by Intel Corp., is a tone generation unit that performs waveform calculation and frequency calculation based on a control signal given from the microcomputer 1-4. Reference numeral 1-6 is a data bank, which is a ROM (read-only memory) in which waveform data and envelope data used in the musical tone generator 1-5 are stored. 1-
A filter 7 removes aliasing noise of the musical tone signal output from the musical tone generating unit 1-5. 1-8 are speakers.
次に第1図(イ)に示す電子楽器の動作を説明する。マイ
コン1-4 は内部に予め書き込まれた命令に従って、鍵盤
1-1 、タブレット1-2 、効果スイッチ1-3 の状態を順次
検索する。またマイコン1-4 は鍵盤1-1 における鍵のON
/OFFの状態に基づいて押圧されている鍵のコードを楽音
発生部1-5 の複数のチャンネルに割り当てる割り当て信
号を送出するともに、タブレット1-2 、効果スイッチ1-
3 の状態に応じて制御データを送出する。楽音発生部1-
5 においては、マイコン1-4 より送出される割り当て信
号及びその他の制御信号を内部のレジスタに取り込み、
これらの信号に基づいてデータバンク1-6 より必要な波
形データ、エンベロープデータ読み出したながら楽音信
号の合成を行う。この楽音発生部1-5 において合成され
た楽音信号は、フィルタ1-7 を通してスピーカ1-8 へと
送られ楽音を発生する。Next, the operation of the electronic musical instrument shown in FIG. The microcomputer 1-4 follows the instructions written in advance inside the keyboard.
Search the status of 1-1, tablet 1-2, effect switch 1-3 in order. Also, the microcomputer 1-4 turns on the key on the keyboard 1-1.
Based on the ON / OFF state, the code of the pressed key is assigned to multiple channels of the tone generator 1-5, and an assignment signal is sent out, while the tablet 1-2 and effect switch 1-
Control data is sent according to the state of 3. Tone generator 1-
In 5, the allocation signal and other control signals sent from the microcomputer 1-4 are taken into the internal register,
On the basis of these signals, necessary tone data and envelope data are read out from the data bank 1-6 and a tone signal is synthesized. The musical tone signal synthesized by the musical tone generating section 1-5 is sent to the speaker 1-8 through the filter 1-7 to generate a musical tone.
第1図(ロ)にマイコン1-4 より楽音発生部1-5 へデータ
を転送する場合のタイミング図を示す。また、第1表に
マイコン1-4 より楽音発生部1-5 へ送出するデータの内
容を示す。第1表において、NOD はノートオクターブデ
ータであり、ノートデータNDとオクターブデータOCT 及
びキーオンデータKon より成っている。その具体的な内
容は第2表にNOD のビット構成が示してあり、第3表に
ノートデータNDと音名との対応が示してあり、第4表に
オクターブデータOCT と音域との対応が示してある。即
ち仮に楽音発生部1-5 に対しG#というノートの第6オ
クターブの音(以下G#と略す)をチャンネル1より出力
したい時には第1図(ロ)におけるアドレスとして000000
01,データとして10011110をマイコン1-4 より送出する
ことになる。次に、PDD はピッチデチューンデータであ
り調律をずらすための8bit のデータである。PDD は2
の補数表示にて表されており、可変範囲は-128〜+127の
256 通りである。RLD はリリースデータで、キーオフ後
の減衰特性を制御する4bit のデータである。VOL はボ
リュームフラグであり、このビットを“1”にすると後
述のボリュームデータVLD に応じて楽音発生部1-5 から
の楽音信号の出力レベル制御を可能にするものである。
DMP はダンパフラグであり、ピアノタイプエンベロープ
の場合のキーオフ後の減衰を急速な減衰にせめるフラグ
であり、DMP =1の時に機能する。SOL はソロフラグで
あり、他のチャンネルと同音名の楽音がアサインされた
時にそのチャンネルの発生している楽音とこれから発生
しようとしている楽音の位相特性を合わすか否かを選択
するフラグであり、SOL =1の時には位相合わせをキャ
ンセルする。TAB はタブレットデータであり、第1図に
おけるタブレット1-2 により指定されるデータがこの5
bit に入る。PEはピッチエクステンドフラグで、このビ
ットを“1”にしたチャンネルにはピッチエクステンド
がかかる。VLD はボリュームデータであり、前述のボル
ームフラグVOL とともにチャンネルから出力される楽音
のレベルを8bit の細かさで制御する。なお、これら一
連のデータはすべてチャンネルごとに独立に設定できる
ものである。Figure 1 (b) shows the timing chart when data is transferred from the microcomputer 1-4 to the tone generator 1-5. Table 1 shows the contents of the data sent from the microcomputer 1-4 to the tone generator 1-5. In Table 1, NOD is note octave data, which consists of note data ND, octave data OCT, and key-on data Kon. Table 2 shows the bit structure of NOD, Table 3 shows the correspondence between note data ND and note names, and Table 4 shows the correspondence between octave data OCT and range. It is shown. That is, if it is desired to output the sixth octave sound of the note G # (hereinafter abbreviated as G #) from the channel 1 to the tone generator 1-5, the address 000000 in FIG.
01, 10011110 will be sent as data from the microcomputer 1-4. Next, PDD is pitch detune data, which is 8-bit data for shifting the tuning. PDD is 2
It is represented by the complement display of, and the variable range is from -128 to +127.
There are 256 ways. RLD is release data, which is 4-bit data that controls the attenuation characteristics after key-off. VOL is a volume flag, and when this bit is set to "1", the output level of the musical tone signal from the musical tone generating unit 1-5 can be controlled according to the volume data VLD described later.
DMP is a damper flag, which is a flag that makes the attenuation after key-off in the case of a piano type envelope to be a rapid attenuation, and works when DMP = 1. SOL is a solo flag, and when a tone with the same name as another channel is assigned, it is a flag that selects whether or not to match the phase characteristics of the tone generated by that channel with the tone that is about to be generated. When = 1, phase matching is canceled. TAB is tablet data, and the data specified by tablet 1-2 in Fig. 1 is this 5
go into bit. PE is a pitch extend flag. Pitch extend is applied to the channel for which this bit is set to "1". VLD is volume data, and controls the level of the musical sound output from the channel with 8 bits of fineness together with the above-mentioned volume flag VOL. Note that this series of data can be set independently for each channel.
次に、楽音発生部1-5 における演算シーケンスについて
説明する。Next, the calculation sequence in the musical sound generating section 1-5 will be described.
第5表及び第6表に楽音発生部1-5 の演算シーケンスを
示す。本楽音発生部1-5 において、短い演算サイクルで
より多くのデータ処理を行うために演算シーケンスがイ
ニシャルモード、ノーマルモードの2つのモードを有
し、更に上記両モードがそれぞれログシーケンス、ショ
ートシーケンスに分かれている。また、イニシャルモー
ドショートシーケンス及びノーマルモードロングシーケ
ンスはそれぞれEVEN,ODD の2つの状態を有している。Tables 5 and 6 show the operation sequence of the musical tone generator 1-5. In this tone generation unit 1-5, the operation sequence has two modes, the initial mode and the normal mode, in order to perform more data processing in a short operation cycle, and both modes are a log sequence and a short sequence, respectively. I know. The initial mode short sequence and the normal mode long sequence have two states of EVEN and ODD, respectively.
イニシャルモードはマイコン1-4 が楽音発生部1-5 に対
して新たな楽音の発生を命令した際に楽音発生部1-5 に
おけるマイコン1-4 より指定されたチャンネルについて
種々のレジスタ等の初期設定を行うモードでありロング
シーケスより開始され、シャートシーケンスを2回行っ
た後ノーマルモードに入る。このイニシャルモードにお
ける2回のショートシーケンスについて1回目がODD 、
2回目がEVENのショートシーケンスとなる。このイニシ
ャルモード終了後、ノーマルモードに移るが、ショート
シーケンス6回の後ロングシーケンス1回がくることに
なる。In the initial mode, when the microcomputer 1-4 commands the musical tone generator 1-5 to generate a new musical tone, the various registers etc. are initialized for the channel specified by the microcomputer 1-4 in the musical tone generator 1-5. It is a mode to set, it starts from long sequence, and after performing shunt sequence twice, it enters normal mode. Of the two short sequences in this initial mode, the first is ODD,
The second time will be an EVEN short sequence. After the end of the initial mode, the mode shifts to the normal mode, but the short sequence is repeated 6 times and the long sequence is repeated once.
本実施例では各チャンネル毎に、独立した2系統の波形
と独立した2系統のエンベロープとを掛け合わせるよう
になっており、更にピッチの細かな調整機能をも有して
いるが、これらの演算処理を時分割で8チャンネル分行
うためには多大な演算ステップが必要となる。そこで短
いサイクルで演算しないといけないものをショートシー
ケンスとし、演算頻度の低いもの、つまり長いサイクル
で演算してもよいものをロングシーケンスとする。そし
てショートシーケンスの間にロングシーケンスを挿入す
ることにより演算の効率化を図っている。In this embodiment, for each channel, two independent waveforms are multiplied by two independent envelopes, and a fine pitch adjustment function is also provided. A large number of calculation steps are required to perform the processing for eight channels in a time division manner. Therefore, short sequences are used for operations that need to be performed in short cycles, and long sequences are used for operations that are infrequently operated, that is, operations that can be performed in long cycles. The long sequence is inserted between the short sequences to improve the efficiency of calculation.
第1図(ハ)にショートシーケンス,ログシーケンスのタ
イミング図を示す。第1図(ハ)に示すとおり、ショート
シーケンス(0)〜(10)の11のタイムスロットより成って
おり、ロングシーケンスは(11)〜(19)の9のタイムスロ
ットより成っている。個々のタイムスロットは250ns で
あり、4分割されてψ1,ψ3のノンオーバーラップの
2相クロックとともに全体のシステムが動作している。
ショートシーケンスとロングシーケンスの関係は、ショ
ートシーケンスがチャンネル0からチャンネル7まで8
回くり返されるごとに1チャンネル分のロングシーケン
スが入る。故に、例えばチャンネル3のショートシーケ
ンスは11×8+9の97タイムスロットごとに1回、ロン
グシーケスは97×8の776 タイムスロットごとに1回の
割で現われることになる。更に、ノーマルモードのロン
グシーケンスにはEVENとODD の2つの状態があるため、
776 ×2の1552タイムスロットを周期としてシステムが
動作しているものである。Figure 1 (c) shows the timing chart of the short sequence and log sequence. As shown in FIG. 1C, the short sequence consists of 11 time slots of (0) to (10), and the long sequence consists of 9 time slots of (11) to (19). Each time slot is 250 ns, and is divided into four, and the whole system operates with two non-overlapping two-phase clocks of ψ1 and ψ3.
The relationship between the short sequence and the long sequence is that the short sequence is 8 from channel 0 to channel 7.
Each time it is repeated, a long sequence for one channel is entered. Thus, for example, a channel 3 short sequence will occur once every 11 × 8 + 9 97 time slots and a long sequence will occur once every 97 × 8 776 time slots. Furthermore, since the normal mode long sequence has two states, EVEN and ODD,
The system is operating with 1552 time slots of 776 × 2 as a cycle.
次に、第5表及び第6表に基づいて個々の演算シーケン
スについて説明する。前述のように、楽音発生部1-5 は
新たな押鍵におりイニシャルモードロングシーケンスよ
り開始するようになっているのでイニシャルモードロン
グシーケンスよりタイムスロット別に説明を行う。Next, each operation sequence will be described based on Tables 5 and 6. As described above, since the musical sound generating unit 1-5 is in a new key press and starts from the initial mode long sequence, the explanation will be given for each time slot from the initial mode long sequence.
加算部 (13) PDD + PED → PDR (15) 0 → TR1 (16) 0 → TR2 (17) 0 → ZR1 (18) 0 → ZR2 タイムスロット(13)の意味するところは、PDD というレ
ジスタの内容とPED というレジスタの内容を加算してPD
R というレジスタに格納するということである。タイム
スロット(15)〜(18)は、TR1 ,TR2 ,ZR1 ,ZR2 という
レジスタに0を書き込むということである。Adder (13) PDD + PED → PDR (15) 0 → TR1 (16) 0 → TR2 (17) 0 → ZR1 (18) 0 → ZR2 The time slot (13) means the contents of the register PDD. And the contents of the PED register are added to PD
It means to store in the register called R. Time slots (15) to (18) mean that 0 is written in the registers TR1, TR2, ZR1, and ZR2.
データバンク読み出し部 (12) WTD → HAD → HAD (14) HAD → CONT → CONT , DIF1 (16)〜(17) HAD → STE → EAR1 これらの意味するところは、左端にあるデータ(例えば
タイムスロット(14)ならばHAD というデータ)をアドレ
スとしてデータバンク1-6 より中央に記載のCONTという
データを読み出し、左端にある名前のレジスタCONT及び
DIF1に格納するということである。Data bank readout section (12) WTD → HAD → HAD (14) HAD → CONT → CONT, DIF1 (16) ~ (17) HAD → STE → EAR1 These meanings mean the data at the left end (for example, time slot ( If it is 14), the data called HAD) is used as an address and the data CONT described in the center is read from the data bank 1-6, and the name register CONT and
It means to store in DIF1.
イニシャルモードシーケンス 加算部 (1) PDR + JD L.B. ;0→ ER2/1 (3) ORG +OCT + 1 → WE2 → Δ WAR (4) D.B. + EAR1 → EAR2 (6) 0 → WR1 (8) 0 → ER1 (9) 0 → WE2 (10) 0 WE1, WR2 タイムスロット(1)における0→ER2/1 はショートシー
ケンス1回目即ちODD 時にはER2 ,2回目即ちEVEN時に
はER1 というレジスタに0を書き込むことを意味する。
またL.B.とは、PDR + JDの演算結果をレジスタに格納
せずに、Lバス(後述)を介して乗算部(後述)に送出する
ことを意味する。タイムスロット(3)においては、演算
結果を一度WE2 というレジスタに格納した後デコードし
てΔWAR に格納することを意味する。タイムスロット
(4)におけるD.B.は、後述のデータバンク読み出し部に
よって得られる値をレジスタ等を介さずDバス(後述)を
介して加算器に送出することを意味する。Initial mode sequence Adder (1) PDR + JD LB; 0 → ER2 / 1 (3) ORG + OCT +1 → WE2 → Δ WAR (4) DB + EAR1 → EAR2 (6) 0 → WR1 (8) 0 → ER1 (9) 0 → WE2 (10) 0 WE1, WR2 0 → ER2 / 1 in time slot (1) means writing 0 to the register ER2 at the first short sequence, ODD, and ER1 at the second short sequence, EVEN. .
Further, LB means that the calculation result of PDR + JD is sent to the multiplication unit (described later) via the L bus (described later) without being stored in the register. In the time slot (3), it means that the operation result is once stored in the register WE2, then decoded and stored in ΔWAR. Time slot
DB in (4) means that the value obtained by the data bank reading unit described later is sent to the adder via the D bus (described later) without passing through a register or the like.
乗算部 (4)〜(6) C.B. × CN1 → FR 上記のC.B.は、加算部にて得られた結果をレジスタを介
さずに乗算部に直接入力することを意味しこの場合にお
いてはタイムスロット(1)にて得られたPDR + JDの演
算結果を意味する。Multipliers (4) to (6) CB × CN1 → FR The above CB means that the result obtained by the adder is directly input to the multiplier without passing through the register, and in this case, the time slot ( It means the calculation result of PDR + JD obtained in 1).
データバンク読み出し部 (1) HAD → ΔSTE → A.B. (3)〜(4) EAR1/2 → E1/2 → ΔT1/2,ΔE1/2,ΔZ
1/2 (6)〜(7) HAD → STW/ΔSTW → STW/WAR ここでタイムスロット(1)のA.B.は、データバンク読み
出しによって得られた値をレジスタ等を介さずに直接加
算部のA入力へ入力することを意味する。また、タイム
スロット(6)〜(7)の STW/ΔSTW → STW/WARは、ショートシーケンス1回
目即ちODD 時にはSTW というデータを読み出してSTW と
いうレジスタに格納し、2回目即ちEVEN時にはΔSTW と
いうデータを読み出してWAR というレジスタに格納する
ことを意味する。Data bank reading section (1) HAD → ΔSTE → AB (3) ~ (4) EAR1 / 2 → E1 / 2 → ΔT1 / 2, ΔE1 / 2, ΔZ
1/2 (6) to (7) HAD → STW / ΔSTW → STW / WAR Here, AB of the time slot (1) is A of the direct addition unit that directly adds the value obtained by reading the data bank without using a register or the like. Means input to input. In addition, STW / ΔSTW → STW / WAR of time slots (6) to (7) reads the data STW at the first short sequence, that is, ODD, and stores it in the register STW, and the data ΔSTW at the second time, that is, EVEN. This means reading and storing in a register called WAR.
次にノーマルモードについて説明する。Next, the normal mode will be described.
ノーマルモードショートシーケンス 第6表において*印のついている箇所は、ノートクロッ
クが発生した後の最始のショートシーケンスのみでその
演算が行われるものであり、この動作を制御するフラグ
を計算要求フラグCLRQと呼ぶことにする。Normal mode short sequence In Table 6, the part marked with * indicates that the calculation is performed only in the first short sequence after the note clock is generated, and the flag for controlling this operation is the calculation request flag CLRQ. I will call it.
加算部 (1) WE2 + WE1 → L.B. (2) STW + WAR → D.B.,B.B. (3) ZR1 + ΔZ1 → ZR1 (4) DIF1 + C.B. → D.B. (5) ER1 + ΔE1 + Ci → ER1 (6) ZR2 + ΔZ2 → ZR2 (7) WAR + ΔWAR → WAR* (8) ER2 + ΔE2 + Ci → ER2 (9) FR + CDR → CDR* ここで、タイムスロット(1)のL.B.は、演算結果をレジ
スタを介さず直接乗算部へ入力することを意味する。タ
イムスロット(2)のD.B.,B.B.は同様に演算結果を直接
データバンク読み出し部及び加算部のB入力へ入力する
ことを意味する。タイムスロット(4)におけるC.B.は、
加算部の演算結果をレジスタを介さずに直接入力するこ
とを意味し、この場合はタイムスロット(2)におけるST
W + WARの演算結果が入力される。また、D.B.はその演
算結果を直接データバンク読み出し部へ入力することを
意味する。タイムスロート(5)及び(8)のCiは、それぞ
れタイムスロット(3)及び(6)における演算のくり上り
(キャリー)を加えるという意味である。Adder (1) WE2 + WE1 → LB (2) STW + WAR → DB, BB (3) ZR1 + ΔZ1 → ZR1 (4) DIF1 + CB → DB (5) ER1 + ΔE1 + Ci → ER1 (6) ZR2 + ΔZ2 → ZR2 (7) WAR + ΔWAR → WAR * (8) ER2 + ΔE2 + Ci → ER2 (9) FR + CDR → CDR * Here, the LB of time slot (1) passes the calculation result through a register. It means inputting directly to the multiplying unit. Similarly, DB and BB of the time slot (2) mean that the calculation result is directly input to the B input of the data bank reading unit and the addition unit. CB in time slot (4) is
This means inputting the operation result of the adder directly without going through a register. In this case, the ST in time slot (2)
W + WAR calculation result is input. The DB means that the calculation result is directly input to the data bank reading unit. Ci of the time throats (5) and (8) is the rounding up of calculation in the time slots (3) and (6), respectively.
It means to add (carry).
乗算部 (1)〜(3) WR2 + ER2 → WE2* (4)〜(6) C.B. × CN → (DAC) (7)〜(9) WR1 × ER1 → WE1* ここで、タイムスロット(4)〜(6)のC.B.とは加算部の
出力をレジスタ等を介さず直接乗算部へ入力することを
意味する。この場合は、タイムスロット(1)のWE2 + W
E1の演算結果に相当する。また(DAC) とあるのは、この
演算結果をDAC(DAコンバータ;後述) に入力することを
表す。Multiplier (1) to (3) WR2 + ER2 → WE2 * (4) to (6) CB × CN → (DAC) (7) to (9) WR1 × ER1 → WE1 * where time slot (4) CB in (6) means that the output of the adder is directly input to the multiplier without passing through a register or the like. In this case, WE2 + W in time slot (1)
It corresponds to the calculation result of E1. In addition, (DAC) means that this calculation result is input to a DAC (DA converter; described later).
データバンク読み出し部 (4)〜(5) C.B. → W1 → WR1* (7)〜(8) C.B. → w1 → WR2* ここで、タイムスロット(4)〜(5)のC.B.は加算部の演
算結果を直接データバンク読み出し部へ入力してデータ
バンク1-6 のアドレスとすることを意味し、この場合は
加算部におけるタイムスロット(2)のSTW + WARの演算
結果に相当する。タイムスロット(7)〜(8)のC.B.も同
様にタイムスロット(4)のDIF1 + (STW + WAR) の演
算結果に相当する。Data bank read section (4) to (5) CB → W1 → WR1 * (7) to (8) CB → w1 → WR2 * where CB of time slots (4) to (5) is the calculation result of the addition section Is directly input to the data bank reading unit and used as the address of the data bank 1-6. In this case, this corresponds to the operation result of STW + WAR of the time slot (2) in the adding unit. Similarly, the CBs of the time slots (7) to (8) also correspond to the calculation result of DIF1 + (STW + WAR) of the time slot (4).
ロングシーケンス 加算部 (13) ΔT1/2 + TR1/2 → TR1/2 (14) PDR + JD → L.B. (15) ΔEAR1/2 + EAR1/2 + Ci → EAR1/2 (16) PDD + PED → PDR ここで、タイムスロット(14)のL.B.は、加算部の演算結
果即ちPDR + JD の値をレジスタを介さず直接乗算部へ
入力することを意味する。タイムスロット(15)のCiはタ
イムスロット(13)の演算を行った結果生じるくり上り
(キャリー)を意味する。Long sequence adder (13) ΔT1 / 2 + TR1 / 2 → TR1 / 2 (14) PDR + JD → LB (15) ΔEAR1 / 2 + EAR1 / 2 + Ci → EAR1 / 2 (16) PDD + PED → PDR Here, LB of the time slot (14) means that the calculation result of the adder, that is, the value of PDR + JD is directly input to the multiplier without passing through the register. Ci of time slot (15) is a rounded up result of the calculation of time slot (13)
Means (carry).
乗算部 (16)〜(18) CN + C.B. → FR ここで、C.B.は加算部における演算結果をレジスタを介
さず直接乗算部へ入力することを意味し、この場合は加
算部タイムスロット(14)におけるPDR + JD の演算結果
が入力される。Multipliers (16) to (18) CN + CB → FR where CB means to input the operation result of the adder directly to the multiplier without passing through the register. In this case, adder time slot (14) The calculation result of PDR + JD in is input.
データバンク読み出し部 (14)〜(15) EAR2/1 → E2/1 → ΔT2/1,ΔE2/1,ΔZ2
/1 ここで、2/1 というのは、奇数回目、即ち0DD 時には2
(例えばE2/1ならばE2)、偶数回目、即ちEVEN時には1
(同E1)となることを意味し、EVEN、ODD で別のデータを
読み出し、別のレジスタへ格納することを意味する。Data bank readout section (14) to (15) EAR2 / 1 → E2 / 1 → ΔT2 / 1, ΔE2 / 1, ΔZ2
/ 1 Here, 2/1 means odd number of times, that is, 2 at 0DD
(E2 for E2 / 1, for example), 1 for the even number of times, ie EVEN
(Same E1) means that another data is read by EVEN and ODD and stored in another register.
第2図は第1図(イ)における楽音発生部1-5 の詳細な図
である。まずこの図を用いて各ブロックの機能の概略を
説明すると、2-1 はマスタクロックであり、ここではf
=8.00096MHzのものを用いている。2-2 はシーケンス
(以下SEQ と称す)であり、マスタクロック2-1 によるク
ロック信号を分周し、楽音発生部1-5 全体におけるシー
ケンス信号(以下SQ信号と称す)及び各種制御信号を発生
する。2-3 はマイコンインターフェース部(以下UCIFと
称す)であり、第1表にて示される各種データをマイコ
ン1-4 が楽音発生部1-5 とは非同期で送出しているが、
このデータを取り込み、SEQ により発生されるSQ信号と
の同期をとる回路である。更にフラグKon によりイニシ
ャルモード、ノーマルモードのモード切りかえを指示す
るフラグINI を発生する。2-4 は比較レジスタ部(以下C
DR と称す)であり、前記演算シーケンスで示したレジス
タCDR 8チャンネル分とマスタクロックを順次分周して
得た10ビットの分周信号とを比較し、8チャンネル分の
ノートクロックと計算要求フラグCLRQを発生する。2-5
はラダムアクセスメモリ部(以下メモリと称す)で、楽音
発生部1-5 内で行われる種々の演算結果を記憶する。2-
6 はフルアダー部(以下FAと称す)であり、各種データの
加算を行う16ビットのフルアダーを内蔵している。2-7
は乗算部(以下MPLYと称す)であり、 (2の補数の12bit) × (絶対値10bit) の演算を行う乗算器を有している。2-8 はデジタルアナ
ログコンバータ(以下DAC と称す)であり、MPLY2-7 より
出力されるデジタルの楽音データをアナログの楽音デー
タに変換する。2-9 はアナログバッファメモリ部(以下A
BM と称す)で、DAC2-8よりマシンサイクル周期で発生さ
れる楽音データをCDR2-4により発生されるノートクロッ
クによる音程同期への変換を行う。ABM2-9の機能及び構
成は特開昭59−214091号公報に示されているアナログバ
ッファメモリと同様のものである。2-10は入出力回路部
(以下I/0 と称す)であり、データバンク1-6 へアドレス
信号を送出し、そのアドレス信号に対応した波形デー
タ、エンベロープデータの読み出しを行い、必要に応じ
て読み出したデータのデータ変換を行う。2-11はマトリ
ックススイッチ部(以下MSW と称す)であり、UCIF2-3 、
CDR2-4 、メモリ2-5 に接続された横方向のバスライン
(HA ,HB,HC,HD,HE,HLの各バス)とFA2-6 、MPLY2-7
、I/0 2-10へ接続されている縦方向のバスライン(A,
B,C,D,Lの各バス)とを、SQ信号に応じて接続す
る回路である。これらの回路により第5表及び第6表に
示す演算シーケンスを実行するものである。FIG. 2 is a detailed diagram of the musical sound generating section 1-5 in FIG. First, the outline of the function of each block will be described with reference to this figure. 2-1 is a master clock.
= 8.00096MHz is used. 2-2 is a sequence
(Hereinafter referred to as SEQ), which divides the clock signal by the master clock 2-1 to generate a sequence signal (hereinafter referred to as SQ signal) and various control signals in the entire musical tone generating section 1-5. 2-3 is a microcomputer interface unit (hereinafter referred to as UCIF), and various data shown in Table 1 are sent from the microcomputer 1-4 asynchronously with the tone generation unit 1-5.
This circuit takes in this data and synchronizes with the SQ signal generated by SEQ. Further, the flag Kon generates a flag INI for instructing the mode switching between the initial mode and the normal mode. 2-4 is the comparison register (hereinafter C
It is referred to as DR), and compares 8 channels of the register CDR shown in the above operation sequence with a 10-bit frequency-divided signal obtained by sequentially dividing the master clock, and outputs a note clock for 8 channels and a calculation request flag. Generate CLRQ. 2-5
Is a radam access memory unit (hereinafter referred to as a memory), which stores various calculation results performed in the tone generation unit 1-5. 2-
6 is a full adder unit (hereinafter referred to as FA), which has a built-in 16-bit full adder that adds various data. 2-7
Is a multiplication unit (hereinafter referred to as MPLY), and has a multiplier that performs (2's complement 12 bits) × (absolute value 10 bits). Reference numeral 2-8 is a digital-analog converter (hereinafter referred to as DAC), which converts the digital musical tone data output from the MPLY2-7 into analog musical tone data. 2-9 is the analog buffer memory section (hereinafter A
BM) is used to convert the tone data generated by the DAC2-8 in the machine cycle period into pitch synchronization by the note clock generated by the CDR2-4. The ABM2-9 has the same function and configuration as the analog buffer memory disclosed in Japanese Patent Laid-Open No. 59-214091. 2-10 is the input / output circuit section
(Hereinafter referred to as I / 0), send an address signal to the data bank 1-6, read the waveform data and envelope data corresponding to the address signal, and convert the read data as necessary. To do. 2-11 is a matrix switch part (hereinafter referred to as MSW), which is UCIF2-3,
Horizontal bus line connected to CDR2-4, memory 2-5
(HA, HB, HC, HD, HE, HL buses) and FA2-6, MPLY2-7
, I / 0 2-10 connected to the vertical bus line (A,
B, C, D, L buses) according to the SQ signal. These circuits execute the operation sequences shown in Tables 5 and 6.
次に個々のブロックについて説明する。Next, individual blocks will be described.
第4図は第2図におけるSEQ2-2の詳細図である。FIG. 4 is a detailed view of SEQ2-2 in FIG.
4-1 はカウンタであり、マスタクロックを分周し、第1
図(ハ)に示す種々のタイミング信号を発生する。TSは第
1図(ハ)におけるタイムスロットを表す信号であり、CH
C はチャンネルコードであり、第1図(ハ)におけるチャ
ンネルの番号を表わす信号である。EVは演算シーケンス
における0DD 、EVENを表す信号であり、EV=0は0DD 、
EV=1はEVENを意味する。4-2 はSQROM(シーケンスROM)
である、SQROM4-2のアドレス入力にはタイムスロットを
表す信号TSとフラグINI が入力されており、これらの入
力に基づいて各々のタイムスロットにおける各種制御命
令を発生している。4-3 は論理ゲートであり、SQROM4-2
による出力を各種フラグ及び計算要求フラグCLRQ等で更
に制御して、SQ信号(演奏情報、効果スイッチ1-3 等の
指示に従って、各機能ブロックが各タイムスロット毎に
どのように動作すべきかを指示する信号;図中ではSQと
略記)を発生する。4-1 is a counter that divides the master clock and
It generates various timing signals shown in FIG. TS is a signal that represents the time slot in FIG.
C is a channel code, which is a signal representing the channel number in FIG. EV is a signal representing 0DD and EVEN in the calculation sequence, and EV = 0 is 0DD,
EV = 1 means EVEN. 4-2 is SQROM (sequence ROM)
The signal TS indicating the time slot and the flag INI are input to the address input of the SQROM4-2, and various control commands in each time slot are generated based on these inputs. 4-3 is a logic gate, SQROM4-2
Further control the output by the various flags and calculation request flag CLRQ, etc., and instruct how each functional block should operate for each time slot according to the instruction of SQ signal (performance information, effect switch 1-3, etc.). Signal (abbreviated as SQ in the figure) is generated.
第5図はUCIF2-3 の詳細図である。第5図において、5-
1 はラッチであり、第1図におけるマイコン1-4 より与
えられるA/D 0〜7をALE によりラッチする。A/D 0〜
7とALE の関係は第1図(ロ)に示すとおりであるので、
ラッチ5-1 には第1表に示すところのアドレスがラッチ
される。5-2 はラッチであり、マイコン1-4 より与えら
れるA/D 0〜7を▲▼によりラッチする。A/D 0〜
7と▲▼の関係は第1図(ロ)に示すとおりであるの
でラッチ5-2 には第1表に示すところのデータがラッチ
される。5-3 はラッチであり、▲▼によって制御さ
れラッチ5-1 の出力をラッチする。このようにアドレス
を2段でラッチするのは、ALE が▲▼に無関係に周
期的に“1”になるからであり、このようにアドレスを
2段でラッチすることにより▲▼による新たなデー
タの書き込みを行うまでラッチ5-3 、ラッチ5-2 にはそ
れぞれアドレス及びデータが格納されることになる。5-
4 は1ワード8ビットのRAM であり、Aはアドレス入
力、OEは出力制御端子であり、データ端子DはHEバスに
接続されている。ここで、OE=1となるとA入力で与え
られたアドレスのデータをD端子より出力する。まWEは
書き込み制御端子で、WE=1の時にD端子に与えられて
いるデータをA入力で与えられたアドレスに書き込む。
OE、WEはSQ信号により制御されている。RAM5-4 には第
1表にて示した各種データ(NOD,PDD,RLD・VOL・DMP・
SOL,TAB・PE,VLD)及びコントロールデータCONT(デー
タバンクより書き込む。詳細は後述)、ピッチデータレ
ジスタのデータPDR がそれぞれ8チャンネル分格納され
ている。5-5 はセレクタであり、マイコン1-4 の指定す
るアドレスと、SQ信号で指定するアドレスを、別のSQ信
号を用いて選択出力し、RAM5-4のA入力に与えるもので
ある。5-6 は信号処理器であり、HEバスに接続され、バ
ス上のデータを取り込み各種フラグ信号を発生する。ま
た、マイコン1-4 より送出されたリリースデータRLD4ビ
ットに応じた16とおりのリリース用エンベロープデータ
を発生してHEバスに送出する。5-7 はゲートであり、SQ
信号に応じてラッチ5-2 の出力、つまりマイコン1-4 か
らのデータをHEバス上に送出する。Figure 5 is a detailed diagram of UCIF2-3. In FIG. 5, 5-
Reference numeral 1 is a latch which latches A / Ds 0 to 7 given by the microcomputer 1-4 in FIG. 1 by ALE. A / D 0
Since the relationship between 7 and ALE is as shown in Fig. 1 (b),
The addresses shown in Table 1 are latched in the latch 5-1. 5-2 is a latch, which latches A / Ds 0 to 7 given by the microcomputer 1-4 with ▲ ▼. A / D 0
Since the relationship between 7 and ▲ ▼ is as shown in FIG. 1 (b), the data shown in Table 1 is latched in the latch 5-2. 5-3 is a latch, which is controlled by ▲ ▼ and latches the output of latch 5-1. The reason why the address is latched in two stages is that the ALE becomes “1” periodically regardless of ▲ ▼, and by latching the address in two stages in this way, new data by ▲ ▼ Addresses and data are stored in the latches 5-3 and 5-2 until writing is performed. Five-
Reference numeral 4 is a 1-word 8-bit RAM, A is an address input, OE is an output control terminal, and a data terminal D is connected to the HE bus. Here, when OE = 1, the data of the address given by the A input is output from the D terminal. WE is a write control terminal, which writes the data given to the D terminal when WE = 1 to the address given by the A input.
OE and WE are controlled by the SQ signal. In RAM5-4, various data (NOD, PDD, RLD, VOL, DMP,
SOL, TAB / PE, VLD), control data CONT (written from the data bank, details will be described later), and data PDR of the pitch data register are stored for 8 channels each. Reference numeral 5-5 is a selector, which selectively outputs the address designated by the microcomputer 1-4 and the address designated by the SQ signal by using another SQ signal, and supplies it to the A input of the RAM 5-4. A signal processor 5-6 is connected to the HE bus and takes in data on the bus to generate various flag signals. Also, 16 types of release envelope data corresponding to 4 bits of release data RLD sent from the microcomputer 1-4 are generated and sent to the HE bus. 5-7 is a gate, SQ
The output of the latch 5-2, that is, the data from the microcomputer 1-4 is sent to the HE bus according to the signal.
次にUCIF2-3 の動作を説明する。Next, the operation of UCIF2-3 will be described.
第1表に示すようなデータが第1図(ロ)に示すタイミン
グでマイコン1-4 より与えられたとし、仮にアドレスが
0516、データが8916即ちチャンネル5にF#1の押鍵を
指示したとすると、先ずALE 信号によりラッチ5-1 にア
ドレスがラッチされ、次いで▲▼信号によりラッチ
5-2 にデータがラッチされると同時に、ラッチ5-3 にア
ドレスがラッチされる。次いで所定のタイミングでセレ
クタ5-5 がラッチ5-3 の出力をセレクトし、同時にゲー
ト5-7 が開き、RAM5-4のWEに書き込み信号が与えられ
る。この書き込み信号によりHEバスにはラッチ5-2 にラ
ッチされたデータ即ちマイコン1-4 が書き込もうとした
データ即ち8916が与えられ、RAM5-4のA入力にはラッチ
5-3 の出力である0516が与えられるので、RAM5-4のアド
レス0516番地に8916というデータが書き込まれる。この
ようにして第1表に示した各種データがRAM5-4に書き込
まれる。第1表に示すとおり、RAM5-4にはVOL フラグ、
PEフラグ等のフラグ類が書き込まれているが、これらの
フラグ類はHEバスを介して信号処理器5-6 へ送出し、こ
こで一旦ラッチした後使用している。Assuming that the data shown in Table 1 is given from the microcomputer 1-4 at the timing shown in Fig. 1 (b), the address
05 16 , data is 89 16, that is, if channel 5 is instructed to press the key of F # 1, first the address is latched in the latch 5-1 by the ALE signal, and then by the ▲ ▼ signal.
At the same time as the data is latched in 5-2, the address is latched in the latch 5-3. Then, at a predetermined timing, the selector 5-5 selects the output of the latch 5-3, the gate 5-7 is opened at the same time, and the write signal is given to the WE of the RAM 5-4. By this write signal, the data latched in the latch 5-2, that is, the data that the microcomputer 1-4 tried to write, that is, 89 16 is given to the HE bus, and the latch is input to the A input of the RAM 5-4.
Since 05 16 which is the output of 5-3 is given, the data of 89 16 is written to the address 05 16 of RAM 5-4. In this way, the various data shown in Table 1 are written in the RAM 5-4. As shown in Table 1, RAM5-4 has VOL flag,
Flags such as PE flags are written, but these flags are sent to the signal processor 5-6 via the HE bus and once latched here, they are used.
第6図はCDR2-4の詳細図である。6-1 はマスタクロック
を入力とした10ビットの分周器である。6-2 は比較器付
RAM(以下CDRAMと称す。)であり、1ワード13ビットで8
ワードを有する。各ワードのうち上位10ビットには比較
器が設けてあり、端子Tより入力される分周器6-1 によ
る分周データとの比較が行われ、10ビットすべてが一致
すると端子Cより一致パルスが出力される。OE,WE,
A,Dの機能は前述のRAM5-4と同じである。6-3 はデコ
ーダであり、A入力、EN入力とD出力の関係は第8表に
示すとおりである。6-4 〜6-11はRSラッチであり、S入
力に正のパルスが加わるとQ出力が“1”に、R入力に
正のパルスが加わるとQ出力が“0”になる。RSラッチ
6-4 はチャンネル0、RSラッチ6-5 はチャンネル1、…
…の一致パルスがSに与えられる。6-12はセレクタであ
り、A入力に与えられた8信号からチャンネルコードCH
C 3ビットによりそのうちの1信号を選択してDより出
力する。6-13はラッチであり、SQ信号に従ってセレクタ
6-12の出力をラッチする。6-14はAND ゲートである。FIG. 6 is a detailed diagram of CDR2-4. 6-1 is a 10-bit frequency divider with the master clock as input. 6-2 with comparator
RAM (hereinafter referred to as CDRAM), 8 bits per word 13 bits
Have a word. A comparator is provided for the upper 10 bits of each word, and the data is compared with the divided data by the divider 6-1 input from terminal T. If all 10 bits match, a match pulse is output from terminal C. Is output. OE, WE,
The functions of A and D are the same as those of the RAM 5-4 described above. 6-3 is a decoder, and the relationship between A input, EN input and D output is as shown in Table 8. 6-4 to 6-11 are RS latches, and when a positive pulse is applied to the S input, the Q output becomes "1", and when a positive pulse is applied to the R input, the Q output becomes "0". RS latch
6-4 is channel 0, RS latch 6-5 is channel 1, ...
The coincidence pulse of ... Is given to S. 6-12 is a selector, which selects the channel code CH from the 8 signals given to the A input.
One of the signals is selected by the C 3 bit and output from D. 6-13 is a latch, which selects according to the SQ signal.
Latch the output of 6-12. 6-14 is an AND gate.
次に第6図に示すCDR2-4の動作について説明する。分周
器6-1 がマスタクロックを分周して10ビットの分周出力
をCDRAM6-2のT入力へ与える。CDRAM6-2の各ワードには
任意の値が入っているが、これらの値の上位10ビットが
分周器6-1 の出力値と一致するごとに一致パルスをC端
子より出力する。CDRAM6-2のA入力にはCHC 即ちチャン
ネルを表す信号が入力してあるので、各ワードはそれぞ
れのチャンネルに対応しているので、チャンネルごとに
一致パルスを発生する。この一致パルスはそれぞれをRS
ラッチ6-4 〜6-11へ入力されているので、一致パルスが
発生したチャンネルに対応するRSラッチのQ出力が
“1”にセットされる。RSラッチ6-4 〜6-11のQ出力の
うちの1つがチャンネルコードCHC に応じてセレクタ6-
12により順次選択されラッチ6-13にラッチされる。ラッ
チ6-13の出力はAND ゲート6-14に与えられているので、
現在セレクタ6-12が選択しているRSラッチのQ出力が
“1”ならば、AND ゲート6-14に加えられたSQ信号によ
ってデコーダ6-3 のD出力の該当チャンネルが“1”に
なり上記のRSラッチのQ出力は“0”にリセットされ
る。Next, the operation of CDR2-4 shown in FIG. 6 will be described. The frequency divider 6-1 divides the master clock to give a 10-bit frequency division output to the T input of the CDRAM 6-2. Each word of the CDRAM6-2 contains an arbitrary value, but a matching pulse is output from the C terminal every time the upper 10 bits of these values match the output value of the frequency divider 6-1. A signal representing CHC, that is, a channel is input to the A input of the CDRAM 6-2, so that each word corresponds to each channel, and therefore a coincidence pulse is generated for each channel. This coincidence pulse is RS
Since it is input to the latches 6-4 to 6-11, the Q output of the RS latch corresponding to the channel in which the coincidence pulse is generated is set to "1". One of the Q outputs of the RS latches 6-4 to 6-11 is selected according to the channel code CHC 6-
It is sequentially selected by 12 and latched in the latch 6-13. The output of latch 6-13 is given to AND gate 6-14, so
If the Q output of the RS latch currently selected by the selector 6-12 is "1", the corresponding channel of the D output of the decoder 6-3 becomes "1" by the SQ signal applied to the AND gate 6-14. The Q output of the above RS latch is reset to "0".
第7図はメモリ2-5 の詳細図である。第7図において、
7-1 〜7-4 はRAM であり、OE,WE,A,Dの各機能は前
述のRAM5-4と同じである。ここで、RAM7-1にはWAR ,EA
R1,ΔZ1,ΔE1,WE1 ,EAR2,ΔZ2,ΔE2の各レジスタ
が、RAM7-2にはWR2 ,ZR1 ,ΔT1,FR,ΔWAR ,ZR2 ,
ΔT2の各レジスタが、RAM7-3にはER1 ,TR1 ,DIF1,DW
1 ,ER2 ,TR2 ,STW ,TAB′,HAD の各レジスタが、R
AM7-4にはNOD′、WE2 ,VLD′の各レジスタがそれぞれ
を8チャンネル分格納されている。なおNOD′,TAB′,
VLD′は前述のRAM5-4におけるNOD ,TAB ,VLD のデー
タを書き込んだものである。7-5 は1ワード10ビット13
ワードのROM であり、第5表、第6表で示した演算シー
ケンスにおけるノート係数CNが記憶されている。ここで
Qは出力、Aはアドレス入力、OEは出力制御端子であ
り、OE=1でQにROM の内容が出力され、OE=0の時は
Q=ハイ・インピーダンスである。ノート係数CNの値は
第7表に示すとおりである。なお、ROM7-5の10ビットの
出力はHDバスの下位10ビットに接続されている。7-6 は
信号処理器であり、RAM7-4に格納されたNOD′よりND(ノ
ートデータ)とOCT(オクターブデータ)を読み出しこれら
のデータ及びPEフラグに基づいてピーチデチューンデー
タPED を発生する回路、並びにレジスタWE2 のデータを
読み出してデコードするデコード回路が備えてある。FIG. 7 is a detailed view of the memory 2-5. In FIG.
7-1 to 7-4 are RAMs, and the functions of OE, WE, A, and D are the same as those of the RAM 5-4 described above. Here, RAM7-1 has WAR and EA
R1, ΔZ1, ΔE1, WE1, EAR2, ΔZ2, ΔE2 registers are stored in RAM7-2 in WR2, ZR1, ΔT1, FR, ΔWAR, ZR2,
Each register of ΔT2 is ER1, TR1, DIF1, DW in RAM7-3.
1, ER2, TR2, STW, TAB ', and HAD registers are R
The AM7-4 stores NOD ', WE2, and VLD' registers for eight channels each. NOD ', TAB',
VLD 'is the data of NOD, TAB, and VLD in RAM5-4 described above. 7-5 is 1 word 10 bits 13
It is a ROM of words and stores the note coefficient CN in the operation sequences shown in Tables 5 and 6. Here, Q is an output, A is an address input, and OE is an output control terminal. When OE = 1, the contents of the ROM are output, and when OE = 0, Q = high impedance. The value of note coefficient CN is shown in Table 7. The 10-bit output of ROM7-5 is connected to the lower 10 bits of the HD bus. 7-6 is a signal processor, which reads ND (note data) and OCT (octave data) from NOD 'stored in RAM 7-4 and generates peach detune data PED based on these data and PE flag. , And a decoding circuit for reading and decoding the data in the register WE2.
第8図はFA2-6 の詳細図である。第8図において、8-1
〜8-8 はラッチであり、SEQ2-2が発生するψ1,ψ3の
信号で動作している。8-9 は加算器であり、A入力に与
えられた値とB入力に与えられた値(共に16ビット)とキ
ャリー入力Ciに与えられた値の加算を行い、C及びCoよ
り出力する。Coは演算の結果生じるキャリー出力であ
る。8-10,8-11はビット処理回路であり、ラッチ8-1 ,
ラッチ8-2 による出力のビット操作を行回路である。8-
12は論理ゲートであり、SQ信号に応じてラッチ8-6 の出
力を強制的に“1”または“0”にする。或いはそのま
ま出力するといった動作を行う。8-13はRAM であり、そ
のサイズは1ワード9ビットで12ワードのものである。
A,D,WE,OEの各機能は前述のRAM5-4と同じである。
D出力9ビットはCバスの下位9ビットに接続されてい
る。Figure 8 is a detailed diagram of FA2-6. In FIG. 8, 8-1
8-8 are latches, which operate with the signals ψ1 and ψ3 generated by SEQ2-2. An adder 8-9 adds the value given to the A input, the value given to the B input (both 16 bits) and the value given to the carry input Ci, and outputs from C and Co. Co is the carry output resulting from the operation. 8-10 and 8-11 are bit processing circuits, and latches 8-1 and
It is a row circuit that performs bit manipulation of the output by the latch 8-2. 8-
Reference numeral 12 is a logic gate which forcibly sets the output of the latch 8-6 to "1" or "0" according to the SQ signal. Alternatively, the output is performed as it is. 8-13 is a RAM, the size of which is 9 bits per word and 12 words.
The functions of A, D, WE, and OE are the same as those of the RAM 5-4 described above.
The D output 9 bits are connected to the lower 9 bits of the C bus.
RAM8-13 は位相合わせ(後述)用の位相レジスタで、12
音のノートの個々の波形データ読み出し用アドレス(WA
R) の位相管理を行う。RAM8-13 is a phase register for phase adjustment (discussed later).
Addresses (WA) for reading individual waveform data of sound notes
R) phase management.
第9図(イ)はMPLY2-7の詳細図である。第9図において9
-1 〜9-9 はラッチである。ここでラッチ9-3 はLバス
のビット0〜ビット9が、ラッチ9-5 にはLバスのビッ
ト9〜ビット12が接続されている。9-10はエンコーダで
ある。入出力の関係は第9表に示すとおりである。9-11
はシフタであり、Iから入力される16ビットの信号をC
に入力された制御信号に従ってシフトOより出力する。
シフトの内容は第10表に示すとおりである。9-12はビッ
ト処理回路でありSQ信号に応じてラッチ9-3 が出力する
信号のビット処理を行う。9-13はデコーダであり入力A
と出力dとし関係は第11表に示すとおりである。9-14は
セレクタであり、Cに入力されているSQ信号に応じてC
=1ならばA、C=0ならばBに入力されている16本の
信号を選択してYより出力する。なお、A入力の下位11
ビットはGND(接地電位)に接続されている(即ち“0”が
与えられている)。9-15はシフタでIから入力される14
ビットの信号をCに入力された制御信号に従ってシフト
しOより出力する。シフトの内容は第12表に示すとおり
である。9-16は乗算器であり、A入力がこの補数表示に
よる12ビット、B入力が絶対値の10ビットで出力が2の
補数表示による14ビットである。通常12ビット×10ビッ
トの演算を行うと22とビットの結果が得られるが、無論
乗算器9-16の出力14ビットは22ビットのうちの上位14ビ
ットである。故に、乗算器9-16における入出力の関係
は、次式のとおりになる。FIG. 9 (a) is a detailed view of MPLY2-7. 9 in Fig. 9
-1 to 9-9 are latches. Here, the latch 9-3 is connected to bits 0 to 9 of the L bus, and the latch 9-5 is connected to bits 9 to 12 of the L bus. 9-10 is an encoder. The input / output relationship is shown in Table 9. 9-11
Is a shifter, which converts a 16-bit signal input from I to C
It is output from the shift O according to the control signal input to.
The details of the shift are shown in Table 10. 9-12 is a bit processing circuit, which performs bit processing of the signal output from the latch 9-3 according to the SQ signal. 9-13 is a decoder for input A
And the output d is shown in Table 11. 9-14 is a selector, which responds to the SQ signal input to C by C
If = 1, the 16 signals input to A if C = 0 and B are selected and output from Y. The lower 11 of A input
The bit is connected to GND (ground potential) (that is, "0" is given). 9-15 is a shifter and is input from I 14
The bit signal is shifted according to the control signal input to C and output from O. The details of the shift are shown in Table 12. Reference numeral 9-16 denotes a multiplier, in which the A input is 12 bits in the complement notation, the B input is 10 bits in absolute value, and the output is 14 bits in the 2's complement notation. Normally, when a 12-bit x 10-bit operation is performed, the result of 22 and 22 bits is obtained. Of course, the 14-bit output of the multiplier 9-16 is the upper 14 bits of the 22-bit. Therefore, the input / output relationship in the multiplier 9-16 is as follows.
なお、MPLY2-7 における乗算器9-16は、回路をより簡略
化するために以下の手法を用いる。 The multiplier 9-16 in MPLY2-7 uses the following method in order to further simplify the circuit.
通常乗算器を構成する際に、2の補数値12ビット×絶対
値10ビットの乗算器は116 個の加算器セルにより22ビッ
トの正確な演算結果が得られる。しかし、本システムに
おいては本来得られる22ビットのうちの上位14ビットの
みを使用する。即ち下位8ビットの出力は使用しないの
で本実施例では加算器セル省略による演算誤差が上位14
ビットのLSB に影響しない下位7ビット演算用の加算器
セルを全部省略している。そこで、本乗算器9-16では、
下位ビット演算用の加算器セル28セルを省略し第9図
(ロ)に示すような構成になっている。第9図(ロ)におい
て、破線内は同様のセルを略記した。また、各ブロック
はすべて全加算器であり、入力がA,B,Ci(キャリー
入力)、出力が和S及びキャリーCoである。When constructing a normal multiplier, the multiplier of 2's complement value of 12 bits × absolute value of 10 bits can obtain an accurate calculation result of 22 bits by 116 adder cells. However, in this system, only the upper 14 bits of the 22 bits originally obtained are used. That is, since the output of the lower 8 bits is not used, the arithmetic error due to the omission of the adder cell is higher in the present embodiment.
All the adder cells for the lower 7 bits that do not affect the LSB of the bit are omitted. So, in this multiplier 9-16,
The adder cell 28 for lower bit operation is omitted in FIG.
The configuration is shown in (b). In FIG. 9B, similar cells are abbreviated in broken lines. Further, each block is a full adder, the inputs are A, B, Ci (carry input), and the outputs are sum S and carry Co.
第10図はI/O 2-10の詳細図である。第10図において10-1
〜10-8はラッチである。ここで、ラッチ10-3はセット付
のラッチでラッチの入力はDバスのビット7〜ビット9
に接続されている。10-9はシフタセレクタで、C入力に
よりA入力とB入力の切換及びA入力の1ビットシフト
を行う。10-10 はビット処理回路であり、SQ信号に応じ
て下位3ビットを強制的に“1”或いは“0”にする回
路である。10-11 はデコーダであり、入力Iと出力Dの
関係は第13表に示すとおりである。デコーダ10-11 のA
入力にはラッチ10-7の出力のビット12〜ビット15が与え
られている。10-12 はセレクタであり、C入力に応じて
A又はBに与えられている信号のいずれかを選択してY
より出力する。10-13 はシフタであり、制御端子Cの入
力に応じてIからの入力をシフトしてOより出力する。
10-14 はノイズ回路であり、ノイズフラグNAに応じて入
力データにノイズを混入する。Figure 10 is a detailed view of I / O 2-10. 10-1 in FIG.
~ 10-8 are latches. Here, the latch 10-3 is a latch with a set, and the input of the latch is bit 7 to bit 9 of the D bus.
It is connected to the. Numeral 10-9 is a shifter selector, which switches between A input and B input by C input and shifts A bit by 1 bit. A bit processing circuit 10-10 is a circuit for forcibly setting the lower 3 bits to "1" or "0" according to the SQ signal. Reference numeral 10-11 is a decoder, and the relationship between the input I and the output D is shown in Table 13. Decoder 10-11 A
Bits 12 to 15 of the output of the latch 10-7 are given to the input. Reference numeral 10-12 is a selector, which selects either the signal given to A or B according to the C input and Y
Output more. Reference numeral 10-13 is a shifter which shifts the input from I according to the input of the control terminal C and outputs it from O.
10-14 is a noise circuit, which mixes noise with the input data according to the noise flag NA.
第11図(イ)はNSW2-11 の詳細図である。円で囲った部分
がスイッチであり、具体的には第11図(ロ)に示すように
Nch のMOSFETで構成されており、SQ信号が“1”になる
とMOSFETがオンして縦方向のラインと横方向のラインが
導通しデータが転送される。このMSW2-11 においては高
速化のためにデータの転送の直前にすべてのバスライン
に各タイムスロット毎にψ1信号によりプリチャージを
行った後データの転送を行なっている。これはスイッチ
がNch MOSFETで構成されているので、転送されたデータ
の“1”のレベルがMOSFETのしきい値電圧分だけ降下す
るのを防ぐためである。第11図(ハ)〜第11図(リ)はMSW2
-11 にて使用されているスイッチパターンの例であり、
円で囲った交点の箇所がスイッチを介して接続されてい
る。この例では便宜上各バスが8ビットのものについて
説明する。第11図(ハ)は、スイッチによってbnとan(n
=0〜7)とを接続したものである。第11図(ニ)はb0〜b
3の4本の値と“0”をスイッチによって縦方向のバス
に書き込むようにしたものである。第11図(ホ)はb0〜b3
をa0〜a3へ、c4〜c7をa4〜a7へ書き込むようにしたもの
であり、これにより、2組のバスに別々に表れているデ
ータを混合して他のバスに転送することができるように
したものである。第11図(ヘ)はビット位置を変換してバ
スからバスヘ転送すようにしたもので、このようにスイ
ッチを配することにより横方向のバスのデータの上下各
4ビットを位置を変更して縦方向のバスに転送する。第
11図(ト)〜第11図(リ)は定数をバスに設定するための回
路例であり、第11図(ト)はバスにオール“0”を設定す
る回路、第11図(チ)はバスに10101010即ちAA16を設定す
る回路である。これは、スイッチのない部分であるa7,
a5,a3,a1はこのスイッチが開く直前にプリチャージに
よって“1”が書き込まれたものがそのまま保持される
ことによる。第11図(リ)はフラグT0によって定数の値を
変えるようにしたもので、T0=0ならば0016がバスに書
き込まれ、T0=1ならばEB16がバスに書き込まれる。第
11図(ハ)〜第11図(リ)に示すスイッチをMSW2-11 に用途
に応じて配して選択的に開閉することにより、任意のバ
スから他の任意のバスへのデータ転送が必要なビット処
理を含めて可能となる。例えば、HAバスからAバスへ、
HBバスからBバスへ、CバスからHCバスへ同時にデータ
を転送したい時にはSW1 ,SW7 ,SW13を同時にオンすれ
ばよい。また、CバスのデータをLバスとDバスに転送
したい時にはSW28,SW29,SW30をオンすれば、Cバス→
HLバス→Lバス及びDバスの経路でデータが転送され
る。Figure 11 (a) is a detailed diagram of NSW2-11. The part surrounded by a circle is a switch. Specifically, as shown in Fig. 11 (b),
It is composed of Nch MOSFET. When the SQ signal becomes "1", the MOSFET is turned on and the vertical line and the horizontal line are conducted to transfer data. In this MSW2-11, for speeding up, all the bus lines are precharged by the ψ1 signal for each time slot immediately before the data transfer, and then the data transfer is performed. This is to prevent the level of "1" of the transferred data from dropping by the threshold voltage of the MOSFET because the switch is composed of the Nch MOSFET. Figures 11 (c) to 11 (d) show MSW2
-11 is an example of the switch pattern used in
The points of intersection surrounded by circles are connected via switches. In this example, each bus will be described as having 8 bits for convenience. In Fig. 11 (c), bn and an (n
= 0 to 7). Figure 11 (d) shows b0 to b
The four values of "3" and "0" are written to the vertical bus by a switch. Figure 11 (e) shows b0 to b3
Are written to a0 to a3 and c4 to c7 are written to a4 to a7, so that the data that appears separately on two sets of buses can be mixed and transferred to another bus. It is the one. Figure 11 (f) shows the bit positions converted and transferred from bus to bus. By arranging the switches in this way, the positions of the upper and lower 4 bits of the horizontal bus data can be changed. Transfer to the vertical bus. First
11 (g) to 11 (i) are circuit examples for setting constants in the bus, and FIG. 11 (g) is a circuit for setting all "0" s in the bus, FIG. 11 (h). Is a circuit that sets 10101010 or AA 16 on the bus. This is the part without switch a7,
A5, a3, and a1 are due to the fact that "1" is written by precharging just before this switch is opened and is retained. In FIG. 11 (i), the value of the constant is changed by the flag T0. If T0 = 0, 00 16 is written in the bus, and if T0 = 1, EB 16 is written in the bus. First
Data transfer from any bus to any other bus is required by arranging the switches shown in Figures 11 (c) to 11 (i) on the MSW2-11 according to the application and selectively opening / closing. It is possible to include various bit processing. For example, from HA bus to A bus,
To transfer data from HB bus to B bus and from C bus to HC bus at the same time, SW1, SW7 and SW13 should be turned on at the same time. If you want to transfer the data on the C bus to the L bus and D bus, turn on SW28, SW29, and SW30.
Data is transferred via the route from HL bus to L bus and D bus.
なお、MSW2-11 において、データの転送は第11図(ヌ)に
示すタイミングで行われる。即ち、ψ=1の区間で縦方
向、横方向のバスラインのプリチャージを行い、ψ1の
立ち下りよりψ3の立ち下りまでの区間でデータの転送
を行い、ψ3の立ち下りでラッチする。ここで、ψ3の
立ち下りからψ1の立ち上りまでの区間はラッチ動作を
安定に行うための余裕である。In MSW2-11, data transfer is performed at the timing shown in FIG. That is, the vertical and horizontal bus lines are precharged in the section of ψ = 1, data is transferred in the section from the falling edge of ψ1 to the falling edge of ψ3, and latched at the falling edge of ψ3. Here, the interval from the falling edge of ψ3 to the rising edge of ψ1 is a margin for stable latch operation.
次にデータバンク1-6 について説明する。データバンク
1-6 には4種類のデータが格納されている。それは、
(1)ヘッダアドレスデータ、(2)ヘッダデータ、(3)波
形データ、(4)エンベロープデータである。ここで、ヘ
ッダアドレスデータはヘッダデータがどのアドレスに格
納してあるかを示す8ビットのデータであり、ヘッダデ
ータは波形データ、エンベロープデータの格納してある
アドレス及びそれらの属性を表わした8バイトのデータ
である。次に上記4種類のデータを更に詳しく説明す
る。Next, the data banks 1-6 will be described. Data bank
4 types of data are stored in 1-6. that is,
They are (1) header address data, (2) header data, (3) waveform data, and (4) envelope data. Here, the header address data is 8-bit data indicating at which address the header data is stored, and the header data is 8 bytes representing the address where the waveform data and the envelope data are stored and their attributes. Data. Next, the four types of data will be described in more detail.
(1) ヘッダアドレスデータ(HAD) このデータは各タブレット、各オクターブ、各3鍵ごと
に割り当てられたノートデータをアドレスとしてヘッダ
データのアドレスを示すデータである。ヘッダアドレス
データの格納場所は第14表に示すとおりであり、ビット
9〜ビット5にタブレットデータTAB 、ビット4〜ビッ
ト2にオクターブデータOCT 、ビット1〜ビット0にノ
ートデータNDの上位2ビット、残りのビットにはすべて
“1”が入っている。ここでTAB 、OCT 、NDで構成され
る10ビットをWTD と呼び、その各々は第1表に示したも
のであることは言うまでもない。ヘッダアドレスデータ
によるヘッダデータのアドレスは第15表のように示さ
れ、ビット10〜ビット3にヘッダアドレスデータが入
り、上位ビットはすべて“1”である。また、下位3ビ
ットには000 〜111 のデータを入れる。(1) Header Address Data (HAD) This data is data indicating the address of the header data with the note data assigned to each tablet, each octave, and each three keys as an address. The storage location of the header address data is as shown in Table 14, bit 9 to bit 5 is tablet data TAB, bit 4 to bit 2 is octave data OCT, bit 1 to bit 0 is the upper 2 bits of note data ND, All the remaining bits contain "1". It goes without saying that the 10 bits composed of TAB, OCT and ND are called WTD, and each of them is as shown in Table 1. The header data address according to the header address data is shown in Table 15, the header address data is contained in bits 10 to 3, and the upper bits are all "1". Data of 000 to 111 are put in the lower 3 bits.
(2) ヘッダデータ(HD) ヘッダデータは第15表に示されるアドレスに格納されて
いる1ワード8ビットで8ワードのデータであり、8ワ
ードの各内容は第16表に示すとおりである。第16表にお
いて、CONTはコントロールデータであり、このヘッダデ
ータにて示される波形データ、エンベロープデータの属
性を表す。E1′は2種類あるエンベロープデータのうち
の一方である。他方のエンベロープデータE2′のスター
トアドレスはSTE +ΔSTEで与えられる。W1,W2は2種
類ある波形データであり、W1のスタートアドレスはSTW
+ΔSTW で与えられる。(2) Header data (HD) Header data is 8-word data of 1 word 8 bits stored in the addresses shown in Table 15, and the contents of 8 words are as shown in Table 16. In Table 16, CONT is control data and represents the attributes of the waveform data and envelope data indicated by this header data. E1 'is one of the two types of envelope data. The start address of the other envelope data E2 'is given by STE + ΔSTE. W1 and W2 are two types of waveform data, and the start address of W1 is STW
It is given by + ΔSTW.
なおCONTは第17表に示すとおりの構成になっており、そ
の意味するところは次のとおりである。The CONT has the structure shown in Table 17, and its meaning is as follows.
P/0 :このヘッダデータによる楽音がピアノ型エンベロ
ープを有するかオルガン型エンベロープを有するかを示
すフラグであり、P/0 =1ならばピアノ型であることを
意味する。P / 0: A flag indicating whether the musical sound according to this header data has a piano type envelope or an organ type envelope. If P / 0 = 1, it means that it is a piano type.
ORG :当該の楽音データが本来どの音域に属していたか
を示す3ビットの情報であり、ORG と音域の対応は第18
表に示すとおりである。故に波形データが実際に一周期
分として有するサンプル数がいくつであるかを示す情報
でもある。ORG: 3-bit information indicating which musical range the pertinent musical sound data originally belonged to. The correspondence between ORG and musical range is the 18th.
As shown in the table. Therefore, it is also information indicating how many samples the waveform data actually have for one cycle.
W8 :波形データが12ビット精度であるか8ビット精度
であるかを示す。W8=1ならば8ビット精度である。W8
=1の時には波形データの下位に4ビットの“0”が追
加され、波形の振幅レベルは保たれるようになってい
る。W8: Indicates whether the waveform data has 12-bit precision or 8-bit precision. If W8 = 1, 8-bit precision is obtained. W8
When = 1, 4-bit "0" is added to the lower part of the waveform data, and the amplitude level of the waveform is maintained.
PCM :PCM =1で波形データW1の立ち上り部がPCM であ
ることを示す。PCM: PCM = 1 indicates that the rising edge of the waveform data W1 is PCM.
NA :ノイズ信号を楽音信号に重畳する場合に使用する
2ビットの信号である。NA: A 2-bit signal used when a noise signal is superimposed on a musical tone signal.
(3) 波形データ(W1,W2) 前述のように、楽音発生部1-5 においては波形データと
して12ビットのものと8ビットのものと2種類を使いわ
けている。ここで市販されているROM について考えると
そのほとんどが1ワード8ビット或いはそれ以下のもの
であり、1ワード12ビットのものは希である。そこで本
発明においては次のように波形をROM に格納している。
即ち: 8ビットの場合には、STW 及びΔSTW によって定まるア
ドレスより順次1ワードずつ格納しているが、1ワード
12ビットの波形データの場合は第12図に示すとおり、上
位8ビットはSTW +ΔSTW によって示されるアドレスか
ら順次格納しているが、下位4ビットはSTW +ΔSTW の
値を1ビット右シフトしてMSB に1を入れたアドレスよ
り下位4ビット上位4ビットに2ワード分ずつ順次格納
してある。例えば、仮にアドレス044516にある波形デー
タの上位8ビットの下位4ビットの場所は、アドレス12
2216の上位4ビットということになり、アドレス044516
についてはアドレス122216の下位4ビットということに
なる。(3) Waveform data (W1, W2) As described above, the tone generator 1-5 uses two types of waveform data, 12-bit data and 8-bit data. Most of the commercially available ROMs have a word of 8 bits or less, and a word of 12 bits is rare. Therefore, in the present invention, the waveform is stored in the ROM as follows.
That is: In the case of 8 bits, 1 word is sequentially stored from the address determined by STW and ΔSTW, but 1 word
In the case of 12-bit waveform data, the upper 8 bits are stored sequentially from the address indicated by STW + ΔSTW as shown in Fig. 12, but the lower 4 bits are shifted right by 1 bit from STW + ΔSTW to MSB. Two words are sequentially stored in the lower 4 bits and the upper 4 bits of the address in which 1 is entered. For example, if the location of the lower 8 bits of the upper 8 bits of the waveform data at address 0445 16 is 12
It means that it is the upper 4 bits of 22 16 and the address 0445 16
It comes to the lower 4 bits of the address 1222 16 for.
このようにして効率的に波形データをROM に格納してい
る。即ち、仮にアドレスが000016〜FFFF16までのROM で
あったとすると、アドレス000016〜7FFF16に12ビットの
波形の上位8ビットが格納され、アドレス800016〜BFFF
16にその各々の下位4ビットが格納される。アドレスC0
0016〜FFFF16には12ビットの波形データは格納できない
が、8ビットの波形データ、或いは後述のエンベロープ
データを格納するようにすればほとんど無駄なくROM の
利用が図れる。In this way, the waveform data is efficiently stored in the ROM. That is, if the address is assumed to be ROM to 0000 16 ~FFFF 16, the upper 8 bits of the 12-bit waveform address 0000 16 ~7FFF 16 is stored, the address 8000 16 ~BFFF
In 16 are stored the lower 4 bits of each. Address C0
12-bit waveform data cannot be stored in 00 16 to FFFF 16 , but if 8-bit waveform data or envelope data described later is stored, the ROM can be used almost without waste.
本実施例では波形データが12ビットの場合を示してある
が、波形データが10ビットの場合には、上位8ビットの
アドレスを2ビット右シフトして上位2ビットに1を入
れたアドレスに2ビットずつ4ワード分の下位2ビット
を格納するとよい。例えば上位8ビットのアドレスが12
2216であったとすれば、下位2ビットはアドレスC48816
のビット4、ビット5に格納することになる。このよう
にすれば、仮にROM のアドレスが上記のように000016〜
FFFF16であれば、波形データの上位8ビットをアドレス
000016〜BFFF16に格納し、下位2ビットをアドレスCFFF
16〜DFFF16に格納するようにすることになり、効率よく
諸データの格納が行なえる。In this embodiment, the case where the waveform data is 12 bits is shown. However, when the waveform data is 10 bits, the upper 8 bits of the address are right-shifted by 2 bits and the upper 2 bits are set to 1 by 2 to the address. It is advisable to store the lower 2 bits of 4 words bit by bit. For example, the upper 8 bit address is 12
22 16 if the lower 2 bits are the address C488 16
Will be stored in bit 4 and bit 5. In this way, if the ROM address is 0000 16 ~
If FFFF 16 , the upper 8 bits of the waveform data are addressed
Store in 0000 16 to BFFF 16 and lower 2 bits are address CFFF
Since 16 to DFFF 16 are stored, various data can be stored efficiently.
(4) エンベロープデータ(E1′,E2′) エンベロープデータは16ビットで1ワードを構成し、そ
のデータフォーマットは第19表に示すとおりである。Δ
Tはエンベロープアドレスの更新間隔を決めるデータで
ある。Sはエンベロープの傾き(増加または減少)を示す
フラグである。Zはエンベロープの傾きの大小を示すフ
ラグであり、DATAはその大きさである。第19表に示すデ
ータが第16表に示すSTE 、ΔSTE によって定められたア
ドレスに従ってデータバンクに格納されている。(4) Envelope data (E1 ', E2') The envelope data is 16 bits and forms one word, and its data format is as shown in Table 19. Δ
T is data that determines the update interval of the envelope address. S is a flag indicating the inclination (increase or decrease) of the envelope. Z is a flag indicating the magnitude of the inclination of the envelope, and DATA is the magnitude thereof. The data shown in Table 19 is stored in the data bank according to the address defined by STE and ΔSTE shown in Table 16.
以上のようにデータバンクが構成されているので、とな
り合った3鍵ごとに音色の変化を与えることができる一
方、逆に同一オクターブ内にては同じヘッダアドレスデ
ータを有するようにすれば波形データ、エンベロープデ
ータ、ヘッダデータを増すことなく同じ音色の楽音が得
られる。また、各ヘッダデータにおいて任意の波形デー
タ、エンベロープデータが指定できるので、少ない波形
データ及びエンベロープデータであってもその組み合わ
せ方で様々な楽音を発生することも可能である。Since the data bank is configured as described above, the tone color can be changed for every three adjacent keys, while conversely, if the same header address data is provided in the same octave, waveform data can be obtained. , Tones of the same tone color can be obtained without increasing the envelope data and the header data. Further, since arbitrary waveform data and envelope data can be specified in each header data, it is possible to generate various musical tones even with a small amount of waveform data and envelope data, depending on how they are combined.
次に楽音発生部1-5 における押鍵時のイニシャル処理、
ノートクロックの発生方法、エンベロープ発生方法波形
の発生方法について述べる。Next, the initial processing when the key is pressed in the tone generator 1-5,
This section describes the note clock generation method, envelope generation method, and waveform generation method.
(1) イニシャル処理 イニシャル処理においては、押鍵により楽音が発生され
る際の各種レジスタの初期設定が行われる。押鍵によ
り、演算シーケンスはイニシャルモードのロングシーケ
ンスより開始されるので、加算部において、タイムスロ
ット13でPDR が初期設定される。この演算を更に詳しく
述べると、第5図RAM5-4よりPDD が読み出されてHEバス
にデータが乗る。同時に第7図信号処理器7-6 よりHDバ
スに対してPED が与えられ、第11図(イ)においてSW21と
SW17がオンしてPDD がAバス、PED がBバスに乗る。こ
のデータが第8図に示すところのFA2-6 にて加算されて
Cバスに演算結果が乗る。この演算結果がSW23を介して
HEバスに乗り、RAM5-4にあるレジスタPDR に格納され
る。なお、この演算において、PDD 、PED をFA2-6 への
転送は実際にPDD+PEDの演算が行われるタイムスロット
の1タイムスロット前に、また演算結果のPDR への格納
はPDD+PED演算が行われる1タイムスロット後に行われ
る。以下加算演算についてはすべて同様である。次い
で、タイムスロット(15)〜(18)にてTR1,TR2,ZR1,ZR2
に“0”が書き込まれる。この動作は、TR1 に“0”を
書き込む場合について述べると、タイムスロット(15)に
て第11図(イ)のMSW2-11 においてSW33及びSW13がオンす
る。SW33は第11図(ト)のような構成になっており、Cバ
スに“0”が与えられる。同時にSW13がオンしているの
で、CバスのデータがHCバスに与えられ、第7図に示す
RAM7-3におけるレジスタTR1 に“0”が書き込まれる。(1) Initial processing In the initial processing, various registers are initialized when a musical sound is generated by pressing a key. Since the arithmetic sequence is started from the long sequence in the initial mode by pressing the key, the PDR is initialized in the time slot 13 in the adder. This operation will be described in more detail. PDD is read from RAM5-4 in FIG. 5 and data is loaded on the HE bus. At the same time, PED is given to the HD bus from the signal processor 7-6 in FIG.
SW17 turns on, PDD rides A bus, PED rides B bus. This data is added by FA2-6 shown in FIG. 8 and the calculation result is put on the C bus. This calculation result is sent via SW23
Take the HE bus and store it in the register PDR in RAM5-4. In this calculation, the PDD and PED are transferred to the FA2-6 one time slot before the time slot when the PDD + PED calculation is actually performed, and the calculation result is stored in the PDR one time when the PDD + PED calculation is performed. Done after the slot. The same applies to the following addition operations. Then TR1, TR2, ZR1, ZR2 in time slots (15) to (18)
"0" is written in. This operation will be described by writing "0" in TR1. At time slot (15), SW33 and SW13 are turned on in MSW2-11 of FIG. 11 (a). SW33 has a structure as shown in FIG. 11 (g), and "0" is given to the C bus. At the same time, SW13 is on, so the data on the C bus is given to the HC bus, as shown in Fig. 7.
"0" is written to the register TR1 in RAM7-3.
一方データバンク読み出し部においては、次のような動
作をする。以下第10図を中心に説明する。TAB,ND,OCT
で構成されたWRDによってヘッダアドレスデータHAD が
読み出される。なお、このイニシャル処理を行うイニシ
ャルモードにおいては、ラッチ10-3はSQ信号により111
にセットされている。このデータはI/0 2-10におけるシ
フタ10-13 によって第15図に示されるフォーマットにデ
ータが変換されDバスSW15,HCバスを介してRAM7-3のレ
ジスタHAD に格納される。この動作と同時に、データバ
ンクより読み出されたヘッダアドレスデータHAD は、ラ
ッチ10-8、ラッチ10-6で次々とラッチされ、シフタセレ
クタ10-9にて第15表に示すとおりのフォーマットにデー
タが変換されてラッチ10-4にラッチされる。ラッチ10-4
の出力に対し、先ずビット処理回路10-10 で下位3ビッ
トに対して000 で与えられてコントロールデータCONTが
データバンク1-6 より読み出されラッチ10-8を介してラ
ッチ10-7の上位8ビットにラッチされる。コントロール
データCONTはセレクタ10-12 、シフタ10-13 、ノイズ回
路10-14 、ラッチ10-2を介し、DバスよりRAM5-4のレジ
スタCONTに格納される。一方、ラッチ10-7の上位4ビッ
トはデコーダ10-11 に接続されているので第14表に示す
真理値表に従って16ビットのデータが得られる。但し、
この時にデコーダ10-11 のC入力は“1”となってい
る。セレクタ10-12 がこのデコーダ出力をセレクトし、
シフタ10-13 が6ビット右シフトして出力する。ここ
で、このシフタ10-13 の出力について考えると、ラッチ
10-7よりデコーダ10-11 へ入力されているデータはP/0
及びORG3ビットである。今デコーダ10-11 のC入力は
“1”であるので、デコーダ10-11 の出力はORG 3ビッ
トのみによって定まる。故にデコーダ10-11 の出力をシ
フタ10-13 で6ビット右シフトした値は第18表に示した
値となる。この値がノイズ回路10-14 、ラッチ10-2を介
してDバスに与えられ、MSW2-11 においてSW15を介して
RAM7-3のレジスタDIF1に格納される。On the other hand, the data bank reading section operates as follows. The description will be centered on FIG. 10 below. TAB, ND, OCT
The header address data HAD is read by the WRD composed of. In the initial mode in which this initial processing is performed, the latch 10-3 operates 111 by the SQ signal.
Is set to. This data is converted into the format shown in FIG. 15 by the shifter 10-13 in the I / O 2-10 and stored in the register HAD of the RAM 7-3 via the D bus SW15 and the HC bus. At the same time as this operation, the header address data HAD read from the data bank is latched by the latch 10-8 and the latch 10-6 one after another, and the data is formatted by the shifter selector 10-9 as shown in Table 15. Is converted and latched in the latch 10-4. Latch 10-4
First, the bit processing circuit 10-10 gives 000 to the lower 3 bits, and the control data CONT is read from the data bank 1-6 and the upper order of the latch 10-7 via the latch 10-8. Latched to 8 bits. The control data CONT is stored in the register CONT of the RAM 5-4 via the D bus via the selector 10-12, the shifter 10-13, the noise circuit 10-14 and the latch 10-2. On the other hand, since the upper 4 bits of the latch 10-7 are connected to the decoder 10-11, 16-bit data can be obtained according to the truth table shown in Table 14. However,
At this time, the C input of the decoder 10-11 is "1". Selector 10-12 selects this decoder output,
The shifters 10-13 shift right by 6 bits and output. Considering the output of this shifter 10-13, the latch
The data input from 10-7 to decoder 10-11 is P / 0.
And ORG 3 bits. Since the C input of the decoder 10-11 is "1" now, the output of the decoder 10-11 is determined only by the ORG 3 bit. Therefore, the value obtained by right-shifting the output of the decoder 10-11 by 6 bits by the shifter 10-13 is the value shown in Table 18. This value is given to the D bus through the noise circuit 10-14 and the latch 10-2, and in MSW2-11 via SW15.
It is stored in the register DIF1 of RAM7-3.
次にラッチ10-4の出力に対し、ビット処理回路10-10 が
下位3ビットに対し、001 、次いで010 を与え、ヘッダ
データのSTE の上位、下位の各8ビットを読み出す。こ
のSTE の値がセレクタ10-12 、シフタ10-13 、ノイズ回
路回路10-14 、ラッチ10-2 を介してDバスに与えら
れ、MSW2-11 においてSW5 を介してRAM7-1のレジスタEA
R1へ格納する。Next, the bit processing circuit 10-10 gives 001 and then 010 to the lower 3 bits to the output of the latch 10-4, and reads the upper 8 bits and lower 8 bits of the STE of the header data. The value of this STE is given to the D bus via the selector 10-12, shifter 10-13, noise circuit circuit 10-14 and latch 10-2, and MSW2-11 registers EA of RAM7-1 via SW5.
Store in R1.
次にショートシーケンスに入る。ショートシーケンスは
2回実行される。タイムスロット(1)でPDR とJDが加算
されるが、ここでJDは定数でありMSW2-11 においてSW32
をオンすることにより得られる。SW32は第11図(チ)に示
すような構成になっており、JD=45B16 となっている。
この加算結果に対してノート係数CNを掛け合わせてFRを
得る。この一連の円算を詳しく述べると、PDR +JDがタ
イムスロット(1)で演算され、その結果が前述のとおり
タイムスロット(2)にてCバスに与えられる。ここでMS
W2-11 においてSW28、SW29がオンし、Cバス→HLバス→
Lバスの順でデータが転送され、第9図(イ)におけるMP
LY2-7 のラッチ9-1 にラッチされる。次のタイムスロッ
ト(3)において、第7図のROM7-5によりノートデータND
に応じたCNの値が読み出され、HDバスに与えられる。こ
の値がMSW2-11 におけるSW19を介してLバスに与えら
れ、MPLY2-7 のラッチ9-3 にラッチされる。ラッチ9-1
の出力はシフタ9-11を介してラッチ9-2 へ、ラッチ9-3
の出力はビット処理回路を介してラッチ9-4 へ送られラ
ッチされる。故にラッチ9-2 にはPDR +JDの値が、ラッ
チ9-4 には、CNの値がラッチされている。次いで乗算器
9-16が(PDR+JD) とCNの積を算出し、シフタ9-15を介し
てラッチ9-8 へ送出されラッチされる。なおこれらの一
連の動作において、シフタ9-11 、ビット処理回路9-1
2、シフタ9-15はデータをスルーさせるように動作す
る。即ちエンコーダ9-10のC入力には“1”が与えられ
ている。ラッチ9-8 の値がLバスよりMSW2-11 のSW9 を
介してRAM7-2のレジスタFRに格納される。故に、タイム
スロット(2)において、ORG+OCT+1が演算される。こ
の演算において、+1の動作は第8図のFA2-6 における
論理ゲート8-12によって行われる。即ち該当のタイムス
ロットで論理ゲート8-12が強制的に“1”を出力すれば
ラッチ8-5 が“1”をラッチし、加算器のCi入力に
“1”を与えるものである。この演算の意味するところ
は次のとおりである。即ち: ORGは波形データが本来ど
の音域に属するかを示す値(これを仮にNとする)をオク
ターブデータOCT の逆論理をとった形で示すものであ
る。OCTとORGと、波形サンプル数の関係を第18表と第22
表に示す。故にORG +1は−Nを表わすことになる。つ
まり、 ORG + OCT + 1 = OCT − N ということであり、これは、現在発生しようとしている
楽音信号の音域と実際に使用しようとしている波形デー
タの本来の音域との差、即ちオクターブシフトの量を示
す値である。つまり、周波形を何オクターブ高い音域の
音として読み出すかを示す。この値は一旦RAM7-4のレジ
スタWE2 に格納され、次いで、信号処理器7-6 でデコー
ドされてRAM7-2のレジスタΔWAR に格納される。ORG+O
CT+1の値に対するΔWAR の値は第20表に示すとおりで
ある。Then enter the short sequence. The short sequence is executed twice. PDR and JD are added in time slot (1), where JD is a constant and SW32 in MSW2-11.
It is obtained by turning on. SW32 is configured as shown in FIG. 11 (h), has a JD = 45B 16.
This addition result is multiplied by the note coefficient CN to obtain FR. To explain this series of rounding operations in detail, PDR + JD is calculated in the time slot (1) and the result is given to the C bus in the time slot (2) as described above. MS here
In W2-11, SW28 and SW29 turn on, C bus → HL bus →
Data is transferred in the order of the L bus, and MP in Fig. 9 (a)
Latched to the LY2-7 latch 9-1. In the next time slot (3), note data ND is read by ROM7-5 in FIG.
The value of CN corresponding to is read and given to the HD bus. This value is given to the L bus via SW19 in MSW2-11 and latched in the latch 9-3 of MPLY2-7. Latch 9-1
Output to latch 9-2 via shifter 9-11, latch 9-3
Is output to the latch 9-4 via the bit processing circuit and is latched. Therefore, the value of PDR + JD is latched in the latch 9-2, and the value of CN is latched in the latch 9-4. Then the multiplier
9-16 calculates the product of (PDR + JD) and CN, and it is sent to latch 9-8 via shifter 9-15 and latched. Note that in these series of operations, the shifter 9-11 and the bit processing circuit 9-1
2. The shifters 9-15 operate to let data through. That is, "1" is given to the C input of the encoder 9-10. The value of the latch 9-8 is stored in the register FR of the RAM 7-2 from the L bus via the SW9 of the MSW2-11. Therefore, in time slot (2), ORG + OCT + 1 is calculated. In this operation, the operation of +1 is performed by the logic gate 8-12 in FA2-6 of FIG. That is, if the logic gate 8-12 forcibly outputs "1" in the corresponding time slot, the latch 8-5 latches "1" and gives "1" to the Ci input of the adder. The meaning of this operation is as follows. That is: ORG indicates a value indicating which tone range the waveform data originally belongs to (provisionally N) in the form of the inverse logic of the octave data OCT. Table 18 and 22 show the relationship between OCT and ORG and the number of waveform samples.
Shown in the table. Therefore, ORG +1 represents -N. In other words, ORG + OCT + 1 = OCT-N, which is the difference between the tone range of the tone signal that is currently being generated and the original tone range of the waveform data that is actually being used, that is, the amount of octave shift. Is a value indicating. That is, it indicates how many octaves higher the range waveform is to be read as sound. This value is temporarily stored in the register WE2 of the RAM7-4, then decoded by the signal processor 7-6 and stored in the register ΔWAR of the RAM7-2. ORG + O
The values of ΔWAR with respect to the value of CT + 1 are as shown in Table 20.
以下、タイムスロット(4)でEAR2,同(6),(8),
(9),(10)でWA1 ,ER1 ,WE2 ,WE1 ,WR2 の各レジス
タの初期設定を行っている。Hereafter, in time slot (4), EAR2, same (6), (8),
In steps (9) and (10), the WA1, ER1, WE2, WE1, and WR2 registers are initialized.
一方データバンク読み出し部においては、前述のロング
シーケンスでRAM7-3に格納したヘッダアドレスデータHA
D を読み出し、Dバス→ラッチ10-1→シフタセレクタ10
-9を介してラッチ10-4にラッチし、ビット処理回路10-1
0 で下位3ビットに001 を入力してデータバンクよりヘ
ッダデータのΔSTE を読み出す。この値はラッチ10-7→
セレクタ10-12 →シフタ10-13 →ノイズ回路10-14 →ラ
ッチ10-2を介してDバスへ与えられ、MSW2-11 において
SW26,SW30を介してAバスへ入力されてFA2-6 にてEAR1
と加算される。次いでRAM7-1のレジスタEAR1に格納して
あるSTE(エンベロープデータE1′のスタートアドレス)
が読み出され、Dバス→ラッチ10-1→シフタセレクタ10
-9を介してラッチ10-4にラッチされる。ラッチ10-4の出
力はビット処理回路10-10 によってLSB に“0”次いで
“1”が入力されて、第19表に示されているとおりの2
バイトのエンベロープデータを読み出す。この値16ビッ
トがラッチ10-7にラーチされる。ラッチ10-7の出力に従
って、初回のショートシーケンスでΔT1,ΔE1,ΔZ1,
2回目のショートシーケンスでΔT2,ΔE2,ΔZ2,の値
を発生する。先ず、デコーダ10-11 にはラッチ10-7の上
位4ビットが入力されているが、ラッチ10-7の上位4ビ
ットには第19表に示すところのΔTの値が入っている。
故にデコーダ10-11 はΔTを第13表に従ってデコード
し、セレクタ10-12 へ出力する。セレクタ10-12 におい
ては、この時C=1となってB入力を選択しシフタ10-1
3 へ出力する。このセレクタ10-12 出力はシフタ10-13
、ノイズ回路10-14 においては何らビット操作が行わ
れることなくラッチ10-2 を介してDバスに与えられ、M
SW2-11 においてSW10,HBバスを介してRAM7-2 のレジス
タΔT1に格納される。ΔE1,ΔZ1,ΔE2、ΔZ2は、第19
表に示されるところのZ,S,DATAに応じてシフタ10-1
3 にてビット操作が行われて各レジスタへ格納される。
どのようなビット操作が行われるかについては第13図に
示すとおりである。第19表におけるZの値に応じて、デ
ータフォーマットが異なる事を示している。On the other hand, in the data bank reading section, the header address data HA stored in the RAM7-3 in the long sequence described above is used.
Read D, D bus → latch 10-1 → shifter selector 10
Latch to latch 10-4 via -9, bit processing circuit 10-1
When the value is 0, 001 is input to the lower 3 bits to read the header data ΔSTE from the data bank. This value is latch 10-7 →
Selector 10-12 → shifter 10-13 → noise circuit 10-14 → is given to the D bus via latch 10-2, and at MSW2-11
Input to A bus via SW26 and SW30 and EAR1 at FA2-6
Is added. Next, STE (start address of envelope data E1 ') stored in register EAR1 of RAM7-1
Is read, D bus → latch 10-1 → shifter selector 10
Latched by latch 10-4 through -9. The bit processing circuit 10-10 inputs “0” and then “1” to the LSB of the output of the latch 10-4, and outputs 2 as shown in Table 19.
Read byte envelope data. 16 bits of this value are latched into latches 10-7. According to the output of the latch 10-7, ΔT1, ΔE1, ΔZ1,
The values of ΔT2, ΔE2, and ΔZ2 are generated in the second short sequence. First, the upper 4 bits of the latch 10-7 are input to the decoder 10-11, and the upper 4 bits of the latch 10-7 contain the value of ΔT shown in Table 19.
Therefore, the decoder 10-11 decodes ΔT according to Table 13 and outputs it to the selector 10-12. At this time, in the selector 10-12, C = 1 is set and the B input is selected and the shifter 10-1 is selected.
Output to 3. This selector 10-12 output is shifter 10-13
, The noise circuit 10-14 is given to the D bus through the latch 10-2 without any bit operation being performed, and M
Stored in register ΔT1 of RAM7-2 via SW10 and HB bus in SW2-11. ΔE1, ΔZ1, ΔE2, ΔZ2 are the 19th
Shifter 10-1 according to Z, S and DATA shown in the table
Bits are manipulated in 3 and stored in each register.
What kind of bit operation is performed is as shown in FIG. It is shown that the data format differs depending on the value of Z in Table 19.
次に、データバンク1-6 よりΔSTE を読み出す時と同様
にRAM7-3 よりレジスタHAD の値を読み出してラッチ10-
4 にラッチし、ビット処理回路10-10 にてヘッダアドレ
スデータHAD の下位3ビットに対し初回のイニシャルモ
ードでは100 ,次いで101 ,2回目のイニシャルモード
では110 ,次いで111 を与えることによりデータバンク
1-6 よりSTW ,ΔSTW を読み出し、STW をRAM7-3のレジ
スタSTW ,ΔSTW をRAM7-1のレジスタWAR に格納する。Next, the value of register HAD is read from RAM7-3 and latched in the same manner as when reading ΔSTE from data bank 1-6.
The data bank is latched at 4 and the bit processing circuit 10-10 gives 100 to the lower 3 bits of the header address data HAD in the initial mode, then 101, 110 in the second initial mode, and then 111.
Read STW and ΔSTW from 1-6 and store STW in register STW and ΔSTW of RAM7-3 in register WAR of RAM7-1.
以上により、すべてのレジスタの初期設定が完了する。By the above, the initial setting of all the registers is completed.
(2) ノートクロックの発生方法 先ず楽音発生部1-5 で用いているノートクロックの発生
法の原理について第3図とともに説明する。第3図にお
いて、3-1 は分周器であり端子CKに入力されているマス
タクロックを分周し、10ビットの分周出力をQより出力
する、3-2 は比較器で、A入力及びB入力の比較を行
い、A=Bとなった時にQより“1”を出力する、3-3
はフリップフロップであり、CK入力の立上りでD入力に
与えられた信号をとり込みQより出力す。3-4 は加算器
であり、A入力とB入力の和をCより出力する。3-5 は
加算器3-4 のB入力に対して定数Mを入力する定数回路
である。3-6 はRSラッチであり、S入力の正のパルスが
入るとQ=1となり、R入力に正のパルスが入るとQ=
0となる。3-7 はディレイ回路であり、入力信号を遅延
させて出力する。3-8 はAND ゲートである。(2) Note clock generation method First, the principle of the note clock generation method used in the tone generation section 1-5 will be described with reference to FIG. In FIG. 3, 3-1 is a frequency divider, which divides the master clock input to the terminal CK and outputs a 10-bit divided output from Q. 3-2 is a comparator, A input And B input are compared, and when A = B, "1" is output from Q. 3-3
Is a flip-flop, which takes in the signal given to the D input at the rising edge of the CK input and outputs it from the Q. 3-4 is an adder, which outputs the sum of A input and B input from C. 3-5 is a constant circuit for inputting a constant M to the B input of the adder 3-4. 3-6 is an RS latch, which becomes Q = 1 when a positive pulse is input to the S input, and Q = when a positive pulse is input to the R input.
It becomes 0. 3-7 is a delay circuit, which delays the input signal and outputs it. 3-8 is an AND gate.
次に第3図の動作を説明する。まず、RSラッチ3-6 のQ
出力が“0”であるとすると、AND ゲート3-8 の出力は
常時“0”であるのでフリップフロップ3-3 のQ出力は
一定である。一方分周器はマスタクロックの分周より、
00016から3FF16をくり返す10ビットのQを出力する。仮
にフリップフロップ3-3 の出力がNであったとすると、
当然00016≦N≦3FF16であるので必ずいつか分周器3-1
のQ出力=Nとなる瞬間が存在し、この時は比較器3-2
のQ出力より一致パルスが出力される。すると、この一
致パルスRSラッチ3-6 のS入力に入っているためにRSラ
ッチ3-6 のQ出力は“1”となり書き込みパルスがAND
ゲート3-8 より出力される。フリップフロップ3-3 のD
入力には加算器3-4 のC出力が与えられているのでN+
Mの値が書き込まれる。と同時に、書き込みパルスはデ
ィレイ回路3-7 で遅延された後RSラッチ3-6 のQ出力を
“0”にする。このため、再びフリップフロップ3-3 の
Q出力は一定となるが、値はNからN+Mに変化してい
る。故に次は分周器3-1 のQ出力がN+Mになった時に
一致パルスを発生することになる。これをくり返すこと
により、比較器3-2 は分周器3-1 の出力値がN,N+
M,N+2M……となった時にパルスを発生する。つまり
分周器3-1 がマスタクロックをM回カウントするごとに
一致パルスを発生すことになる。また、 N+nM>3FF16となる場合においては、加算器3-4 の出
力はオーバフローの後N+nM−3FF16となるためにやは
りマスタクロックをM回カウントした時に一致パルスが
発生されることは言うまでもない。つまり、この比較器
3-2 の一致パルスをノートクロックとし、定数Mを変化
させれば種々の周期のノートクロックが得られることに
なり、その周波数は(マスタクロックの周波数)÷Mと
なる。また、SRラッチ3-6 のQ出力が計算要求フラグCL
RQに相当する。Next, the operation of FIG. 3 will be described. First, the Q of RS latch 3-6
If the output is "0", the output of the AND gate 3-8 is always "0", so that the Q output of the flip-flop 3-3 is constant. On the other hand, the frequency divider divides the master clock
It outputs a 10-bit Q that repeats 000 16 to 3FF 16 . If the output of the flip-flop 3-3 is N,
Of course, 000 16 ≤ N ≤ 3FF 16 , so be sure to someday divide by 3-1
There is a moment when Q output of N becomes N, and at this time, comparator 3-2
A coincidence pulse is output from the Q output of. Then, since the coincidence pulse is input to the S input of the RS latch 3-6, the Q output of the RS latch 3-6 becomes “1” and the write pulse is ANDed.
Output from gate 3-8. D of flip-flop 3-3
Since the C output of the adder 3-4 is given to the input, N +
The value of M is written. At the same time, the write pulse is delayed by the delay circuit 3-7 and then the Q output of the RS latch 3-6 is set to "0". Therefore, the Q output of the flip-flop 3-3 becomes constant again, but the value changes from N to N + M. Therefore, next, when the Q output of the frequency divider 3-1 becomes N + M, a coincidence pulse is generated. By repeating this, the comparator 3-2 outputs the output value of the frequency divider 3-1 as N, N +.
Generates a pulse when M, N + 2M ... That is, each time the frequency divider 3-1 counts the master clock M times, a coincidence pulse is generated. Further, when N + nM> 3FF 16 , the output of the adder 3-4 becomes N + nM-3FF 16 after overflow, so that it goes without saying that a coincidence pulse is generated when the master clock is counted M times. . That is, this comparator
If the coincidence pulse of 3-2 is used as a note clock and the constant M is changed, note clocks of various periods can be obtained, and the frequency thereof is (master clock frequency) / M. Also, the Q output of SR latch 3-6 is the calculation request flag CL.
Corresponds to RQ.
以上が本発明におけるノートクロック発生法の原理であ
る。The above is the principle of the note clock generation method in the present invention.
次に、第1図に示す楽音発生部1-5 におけるノートクロ
ックの発生の演算シーケンスの詳細について説明する。Next, the details of the operation sequence of note clock generation in the musical tone generating section 1-5 shown in FIG. 1 will be described.
鍵盤1-1 にて鍵が押圧され、マイコン1-4 が楽音発生部
1-5 に対して楽音の発生を指示すると、前述のように演
算シーケンスがイニシャルモードロングシーケンスより
開始する。先ずタイムスロット(13)で、 PDD + PED → PDR ……(2-1) 次いで、ショートシーケンスに入りタイムスロット(1)
…(6)で PDR + JD →L.B. ……(2-2) C.B.×CN → FR ……(2-3) の演算が行われる。次いでノーマルモードになり、ショ
ートシーケンスのタイムスロット(9)で FR + CDR → FR ……(2-4) ロングシーケンスのタイムスロット(14)〜(18)で PDR + JD →L.B. ……(2-5) C.B. × CN → FR ……(2-6) PDD + PED → PDR ……(2-7) の演算が行われる。ここで、PDD は第1表に示したPDD
即ちピッチデチューンデータであり、PED は前述のピッ
チエクステンドデータである。JDは定数であり111510(1
6進数では45B) という値がセットしてある。ノート係数
CNはアサインされた音名により定まる値であり、音名と
CNの関係は第7表に示してある。第5表、第6表の説明
にて述べたとおり、演算(2-2) ,(2-3) 及び演算(2-5)
,(2-6) は下式のとおりに表せる。A key is pressed on the keyboard 1-1, and the microcomputer 1-4 generates a musical sound
When the musical tone is instructed to 1-5, the operation sequence starts from the initial mode long sequence as described above. First, in the time slot (13), PDD + PED → PDR ...... (2-1) Then, enter the short sequence and time slot (1)
… In (6), PDR + JD → LB (2-2) CB × CN → FR (2-3) is calculated. Then, the normal mode is entered, and FR + CDR → FR …… (2-4) in the short sequence time slot (9) and PDR + JD → LB …… (2- 5) CB × CN → FR …… (2-6) PDD + PED → PDR …… (2-7) is calculated. Here, PDD is the PDD shown in Table 1.
That is, it is pitch detune data, and PED is the above-mentioned pitch extend data. JD is a constant and is 11 15 10 (1
A value of 45B) is set in hexadecimal. Note coefficient
CN is a value determined by the assigned note name.
The CN relationship is shown in Table 7. As described in the explanation of Table 5 and Table 6, calculation (2-2), (2-3) and calculation (2-5)
, (2-6) can be expressed as the following equation.
(PDR +JD) × CN → FR ……(2-8) ここで、PDR はPDD +PED であるので演算(2-8) は、 (PDD + PED + JD) × CN → FR ……(2-9) となる。このFRの値を演算(2-4) で示すようにCDR に
累算する。前述のようにこの累算はノートクロックが発
生するごとに一回行われる。故にCDR の初期値をNとす
ると、CDR の値はN,N+FR,N+2×FR,……と変化
する。このCDR の上位10ビットの値とマスタクロックを
順次分周して得た10ビットの分周信号とを比較し、一致
パルスを発生するようにしているので、実際には、 との比較を行うことになり、CDR の上位10ビットが第3
図のフリップフロップ3-3 に相当し、FR/8が第3図の定
数回路3-5 の値Mに相当する。故に上記(2-1) 〜(2-7)
の演算を行えば一定周期のノートクロックが得られ、そ
の周波数は となる。(PDR + JD) × CN → FR ...... (2-8) Here, since PDR is PDD + PED, the operation (2-8) is (PDD + PED + JD) × CN → FR ...... (2-9 ). The value of this FR is accumulated in CDR as shown in the operation (2-4). As described above, this accumulation is performed once every time the note clock is generated. Therefore, if the initial value of CDR is N, the value of CDR changes to N, N + FR, N + 2 × FR, .... The upper 10 bits of this CDR are compared with the 10-bit frequency-divided signal obtained by sequentially dividing the master clock, and a match pulse is generated. And the upper 10 bits of CDR are the 3rd
FR / 8 corresponds to the value M of the constant circuit 3-5 in FIG. 3. Therefore, the above (2-1) ~ (2-7)
If you perform the calculation of Becomes
(3)波形発生方法 第1図楽音発生部1-5 に示すところの波形発生方法は大
別して次の5ステップに分けられる。即ち: アドレス発生 データバンク1-6 より波形データを読み出す際のアドレ
スを発生させる。(3) Waveform generation method The waveform generation method shown in Fig. 1 musical tone generator 1-5 is roughly divided into the following five steps. That is: Address generation Generates an address when waveform data is read from the data bank 1-6.
波形読み出し 上記のアドレスで指定された波形データをデータバンク
1-6 より読み出し、コントロールデータCONTに応じたビ
ット処理を行う。Waveform reading The waveform data specified by the above address is stored in the data bank.
Read from 1-6 and perform bit processing according to control data CONT.
エンベロープ乗算 2波混合 CN乗算 以下各ステップを詳しく説明する。 Envelope multiplication Two-wave mixing CN multiplication Each step is described in detail below.
アドレス発生 押鍵によるイニシャル設定にてヘッダーデータのSTW(W2
のスタートアドレス)、ΔSTW(W1のワード数)、DIF1(1波
形に含まれるサンプル数)がレジスタSTW ,WAR ,DIF1
に格納され、また演算によってレジスタΔWAR が定ま
る。これらのデータに基づきノーマルモードにてアドレ
ス発生を行うわけであるが、以下の処理において波形デ
ータにPCM 部がある場合(PCM=1)とない場合(PCM=0)
でアドレス発生が異なるのでPCM 部がある場合とPCM が
ない場合に分けて説明する。Address generation STW (W2
Start address), ΔSTW (the number of W1 words), and DIF1 (the number of samples included in one waveform) are registered in STW, WAR, and DIF1.
Is stored in, and the register ΔWAR is determined by calculation. Addresses are generated in normal mode based on these data. In the following processing, when the waveform data has a PCM part (PCM = 1) and when it does not (PCM = 0)
Since the address generation is different, the explanation will be given separately for the case where there is a PCM part and the case where there is no PCM.
PCM 部がない場合 第6表に示すとおり、タイムスロット(2)にて、STW と
WAR の和を求め、この和でもってデータバンク1-6 から
波形1の読み出しを行い、タイムスロット(4)にて上記
の和の更にDIF1を加えたもの即ちSTW +WAR +DIF1の値
でデータバンク1-6 から波形2の読み出しを行ってい
る。ここで、STW は波形2の先頭アドレスであり、レジ
スタWAR には初期値としてΔSTW 即ち波形1に含まれる
ワード数の負数が入っており、タイムスロット(7)にて
ΔWAR を累算していく。故にSTW +WAR の値は、波形1
の先頭アドレスより順次ΔWAR の値ごとに増加する値と
なる。また、ST+WAR +DIF1の値はこの値にDIF1を加え
たものであるので、波形2の先頭アドレスよりΔWAR お
きに増加する値となる。ここで、ΔWAR は、波形の読み
とばしを表わす値であるので、以上のようにして波形1
及び波形2に対するアドレスを発生することができる。When there is no PCM part, as shown in Table 6, in the time slot (2), STW and
Calculate the sum of WAR, read waveform 1 from data bank 1-6 with this sum, and add DIF1 to the above sum at time slot (4), that is, STW + WAR + DIF1 data bank 1 Waveform 2 is being read from -6. Here, STW is the start address of waveform 2, and register WAR contains ΔSTW as an initial value, that is, a negative number of words included in waveform 1, and ΔWAR is accumulated in time slot (7). . Therefore, STW + WAR value is waveform 1
The value sequentially increases from the start address of each for each value of ΔWAR. Further, the value of ST + WAR + DIF1 is the value obtained by adding DIF1 to this value, and therefore the value increases every ΔWAR from the start address of waveform 2. Here, ΔWAR is a value that represents the skipped reading of the waveform, so waveform 1
And an address for waveform 2 can be generated.
また、本発音発生部1-5 においては、PCM 部が無しで、
且つソロフラグSOL =0で且つオクターブシフトが行わ
れない場合に位相合わせを行う。位相合わせの方法は、
演算シーケンスがイニシャルモードからノーマルモード
に転じた時の初回のタイムスロット(7)に演算結果とし
てRAM8-13における同音名をアドレスとするデータ9ビ
ットをレジスタWAR に格納する。RAM8-13の出力は9ビ
ットであるが、Cバスはプリチャージされているので全
16ビットの前述の9ビットより上位7ビットには“1”
が入る。2回目移行のタイムスロット(7)の演算結果
は、第6表に示すとおりレジスタWAR に格納されるとと
もにRAM8-13における同音名をアドレスとするレジスタ
(位相レジスタ)に変更される。このようにすることによ
り、他のチャンネルで同音名の楽音を既に発生している
場合であっても、そのチャンネルにおけるレジスタWAR
の値がRAM8-13を介してこれから楽音を発生しようとし
ているチャンネルのレジスタWAR に与えられるためにこ
れら2チャンネル間での位相を合わせることが可能とな
る。Also, in this pronunciation generator 1-5, there is no PCM part,
In addition, when the solo flag SOL = 0 and the octave shift is not performed, the phase matching is performed. The phase matching method is
In the first time slot (7) when the operation sequence shifts from the initial mode to the normal mode, 9 bits of data having the same name in RAM8-13 as an address are stored in the register WAR as the operation result. The output of RAM8-13 is 9 bits, but the C bus is precharged so all
“1” for 7 bits higher than the 9 bits of 16 bits
Goes in. The calculation result of the time slot (7) of the second transition is stored in the register WAR as shown in Table 6 and the register whose address is the same name in RAM8-13.
Is changed to (Phase register). By doing this, even if a tone with the same name has already been generated on another channel, the register WAR for that channel
Since the value of is given to the register WAR of the channel which is about to generate a musical tone via the RAM8-13, it is possible to match the phase between these two channels.
ここで、タイムスロット(7)の演算WAR +ΔWAR につい
て述べる。Here, the calculation WAR + ΔWAR of the time slot (7) will be described.
WAR +ΔWAR ≧0となると音域とは無関係に演算結果と
いてCバスには−51210(FF0016)が与えられる。オンタ
ーブシフトが無い場合はΔWAR =1であるので、レジス
タWAR の値は512 を周期としてくり返すことになる。When WAR + ΔWAR ≧ 0, the calculation result is given to the C bus as −512 10 (FF00 16 ) regardless of the range. When there is no on-turbe shift, ΔWAR = 1, so the value of register WAR repeats with a cycle of 512.
以上により同じノートを発生する複数チャンネルの各々
のレジスタWAR は常に同一となるので、異なる複数チャ
ンネルの発生する同じノートの波形の位相が完全に一致
することとなり、位相合わせが実現される。As described above, the registers WAR of the plurality of channels that generate the same note are always the same, so that the phases of the waveforms of the same note generated by different channels are completely matched, and phase matching is realized.
次にタイムスロット(2)における演算STW +WAR を更に
詳しく説明する。Next, the calculation STW + WAR in the time slot (2) will be described in more detail.
RAM7-3のレジスタSTW よりデータが読み出され、MSW2-1
1 に示すところのHCバス、SW11、Aバスを介しクロック
ψ3によりFA2-6 のラッチ8-1 にラッチされる。同時に
RAM7-1のレジスタWAR の値がHAバス、SW2 、Bバスを介
しクロックψ3によりFA2-6 のラッチ8-2 にラッチされ
る。ラッチ8-1 の出力は、ビット処理回路8-10では何ら
のビット処理を受けずにクロックψ1によってラッチ8-
3 にラッチされる。一方、ラッチ8-2 の出力は、ビット
処理回路8-11においてORG を入力として第21表に示すと
おりのビット処理が行われた後クロックψ1でラッチ8-
4 にラッチされる。加算器8-9 がラッチ8-3 、ラッチ8-
4 の出力を加算し、ラッチ8-7 、ラッチ8-8 を介してC
バスへ与えられる。ビット処理回路8-11において上記の
ようなビット処理を行うことにより、レジスタWAR が51
2 を周期として変化しているにもかかわらず、各オクタ
ーブに応じた周期で変化していくことにある。例えば、 ORG =5,OCT =2の場合はオクターブシフトはなくイ
ニシャル処理の項で述べたとおりΔWAR =1である。ま
た第21表より、レジスタWAR のビット7,8が常に1に
なるので、タイムスロット(2)の演算結果は仮にSTW′
=0とすると −10,−9,…−1,−128,−127,…−1,−128… となって128 の周期でくり返すことになる。また、ORG
=4、OCT =5の場合は2オクターブシフトとなりΔWA
R =4となる。また第21表によりレジスタWAR のビット
6,7,8が常に1になるので同様に −40,…−8,−4,−64,−60,−56…−4,−64,
… となって16の周期でくり返すことになる。Data is read from the register STW of RAM7-3 and MSW2-1
Latch 8-1 of FA2-6 is latched by clock ψ3 via HC bus, SW11, and A bus shown in 1. at the same time
The value of the register WAR of RAM7-1 is latched in the latch 8-2 of FA2-6 by the clock ψ3 via the HA bus, SW2 and B bus. The output of the latch 8-1 is latched by the clock ψ1 without any bit processing in the bit processing circuit 8-10.
Latched to 3. On the other hand, the output of the latch 8-2 is subjected to bit processing as shown in Table 21 with ORG as an input in the bit processing circuit 8-11 and then latched by the clock ψ1.
Latched to 4. Adder 8-9 is latch 8-3, latch 8-
Add the output of 4 and input C through Latch 8-7 and Latch 8-8.
Given to the bus. By performing the above bit processing in the bit processing circuit 8-11, the register WAR becomes
Even though it changes with a period of 2, it changes with a period according to each octave. For example, when ORG = 5 and OCT = 2, there is no octave shift and ΔWAR = 1 as described in the initial processing section. Also, from Table 21, bits 7 and 8 of register WAR are always 1, so the calculation result of time slot (2) is STW '.
When = 0, it becomes −10, −9, ...- 1, −128, −127,… −1, −128, and repeats in 128 cycles. Also, ORG
= 4 and OCT = 5 results in 2 octave shifts and ΔWA
R = 4. In addition, according to Table 21, bits 6, 7, and 8 of register WAR are always 1, so that -40, ... -8, -4, -64, -60, -56 ... -4, -64,
It will be repeated in 16 cycles.
OCT =2の時くり返し周期が128 であり、 OCT =5の時くり返し周期が16であることは、第22表に
より所望の波形ポイントが得られていることを示してい
る。The repetition period of 128 when OCT = 2 and the repetition period of 16 when OCT = 5 indicate that the desired waveform points are obtained from Table 22.
またORG =4,OCT =5の際、レジスタWAR が4ずつ歩
進していることは、第18表に示される通り波形サンプル
数64のデータを4サンプルに1点ずつ得ることにより本
来の波形データのオクターブ2オクターブ上げることが
できることを示している。Also, when ORG = 4 and OCT = 5, the register WAR is stepped by 4 means that as shown in Table 18, the data of 64 waveform samples is acquired by 1 point for every 4 samples. It shows that the octave of the data can be increased by two octaves.
PCM がある場合 PCM 部がある場合のアドレス発生はPCM 部がない場合と
比較してタイムスロット(2)における演算が異なり、他
は同様である。When there is PCM The address generation when there is a PCM part is the same as in the case where there is no PCM part, except for the operation in time slot (2).
タイムスロット(2)においてはSTR +WAR の演算が行わ
れる。即ち: RAM7-3のレジスタSTW よりデータが読み出され、HCバ
ス、SW11、Aバスを介してクロックψ3によりFA2-6 の
ラッチ8-1 にラッチされる。同時に、RAM7-1のレジスタ
WAR の値がHAバス、SW2 、Bバスを介してFA2-6 のラッ
チ8-2 にラッチされる。ここで、ラッチ8-1 の出力はビ
ット処理回路8-10、ラッチ8-2 の出力はビット処理回路
8-11に入力されるが双方の出力ともビット処理を行われ
ることなくラッチ8-3 、ラッチ8-4 へ送られ、加算器8-
9 にて加算される。In time slot (2), STR + WAR is calculated. That is: Data is read from the register STW of the RAM 7-3 and latched in the latch 8-1 of the FA 2-6 by the clock ψ3 via the HC bus, SW11 and A bus. At the same time, RAM7-1 registers
The value of WAR is latched in the latch 8-2 of FA2-6 via HA bus, SW2 and B bus. Here, the output of the latch 8-1 is the bit processing circuit 8-10, and the output of the latch 8-2 is the bit processing circuit.
Input to 8-11, but both outputs are sent to Latch 8-3 and Latch 8-4 without bit processing and adder 8-
It will be added at 9.
ここで、レジスタWAR の値について考えると、PCM 部が
ない場合にはレジスタWAR には初期値として波形一周期
に含まれるサンプル数の負数が書き込まれるが、PCM 部
がある場合には、レジスタWAR の初期値としてPCM 部と
して用いる波形のすべてのサンプル数の負数が書き込ま
れる。故に、タイムスロット(2)の演算結果はデータバ
ンク1-6 における波形1のPCM 部先頭アドレスから順次
ΔWAR ずつ増加した値となる。PCM 部終了の検出はタイ
ムスロット(7)における演算において WAR +ΔWAR ≧0となることを検出して行い、PCM 部終
了後のアドレス発生はPCM 部がない場合と全く同じであ
り、ビット処理回路8-11によるビット処理が行われる。Here, considering the value of the register WAR, if there is no PCM part, a negative number of samples included in one cycle of the waveform is written to the register WAR as an initial value, but if there is a PCM part, the register WAR As the initial value of, the negative number of all the sample numbers of the waveform used as the PCM part is written. Therefore, the calculation result of the time slot (2) is a value that is sequentially increased by ΔWAR from the PCM head address of the waveform 1 in the data bank 1-6. The end of the PCM part is detected by detecting that WAR + ΔWAR ≥ 0 in the calculation in the time slot (7), and the address generation after the end of the PCM part is exactly the same as when there is no PCM part. Bit processing by -11 is performed.
なお、楽音発生部1-5 におけるアドレス演算は16ビット
であるが、16ビットのアドレス信号では充分でない場合
が当然考えられる。そこで、本楽音発生部1-5 において
は、タブレットデータTAB の上位3ビットを用いてアド
レス空間が拡張できるようになっている。I/0 2-10にお
けるラッチ10-3がアドレス空間拡張用のラッチであり、
ラッチ10-3にタブレットデータTAB の上位3ビットがラ
ッチされる。即ち: 押鍵によりイニシャルモードになると、RAM5-4に格納さ
れたタブレットデータがMSW2-11 を介してRAM7-3のレジ
スタTAB′に格納される。次いでノーマルモードに入る
と、RAM7-3のレジスタTAB′の値が読み出され、MSW2-11
を介してI/0 2-10におけるラッチ10-3 にラッチされ
る。このようにして内部演算は16ビットであるなが19ビ
ットのアドレス空間をアクセスすることができる。It should be noted that the address calculation in the musical tone generating section 1-5 is 16 bits, but it is naturally conceivable that a 16-bit address signal is not sufficient. Therefore, in the musical tone generating section 1-5, the address space can be expanded by using the upper 3 bits of the tablet data TAB. Latch 10-3 in I / 0 2-10 is a latch for address space expansion,
The upper 3 bits of the tablet data TAB are latched in the latch 10-3. That is: When the key is pressed to enter the initial mode, the tablet data stored in the RAM5-4 is stored in the register TAB 'of the RAM7-3 via the MSW2-11. Next, when the normal mode is entered, the value of register TAB ′ in RAM7-3 is read and MSW2-11
Latch 10-3 in I / 0 2-10 via. In this way, although the internal operation is 16 bits, the address space of 19 bits can be accessed.
波形読み出し 波形読み出しはタイムスロット(2),(4)にて行われた
アドレスに基づいて行われる。タイムスロット(2)によ
る演算結果はCバス、SW28、HLバス、SW30、Dバスを介
してI/0 2-10のラッチ10-1にラッチされる。まず、ラッ
チ10-1の出力がシフタセレクタ10-9、ラッチ10-4、ビッ
ト処理回路10-10 を介してラッチ10-5にラッチされてラ
ッチ10-3によるデータとともにデータバンク1-6 を読み
出し、データバンク1-6 の出力がラッチ10-8にラッチさ
れる。次いで、ラッチ10-1の出力がシフタセレクタ10-9
にて1ビット右シフトされ、MSB に“1”が加えられ
てラッチ10-4でラッチされる。ラッチ10-4の出力がビッ
ト処理回路10-10 を介してラッチ10-5にラッチされ、ラ
ッチ10-3によるデータとともにデータバンク1-6 を読み
出し、データバンク1-6 の出力ラッチ10-7にラッチされ
る。この時ラッチ10-7の上位8ビットにはラッチ10-8の
出力が与えられているので、前回のデータバンク1-6 の
値とともにラッチされる。ここで、ラッチ10-7の下位8
ビットにラッチされたデータは、データバンクの項で述
べたとおり12ビット波の下位4ビット2ワード分に相当
する。ラッチ10-7の出力はセレクタ10-12 を介してシフ
タ10-13 に与えられ、上位8ビットは4ビット右にシフ
トされ、ラッチ10-1の出力のLSB =0ならば下位8ビッ
トも4ビット右シフトされ、LSB 1ならば下位4ビット
がシフトされずにシフタ10-13 により出力される。ここ
で、コントロールデータCONTにおいてW8=1即ち8ビッ
ト波形の指定がある場合には、シフタ10-13 は下位4ビ
ットを“0”にして出力する。シフタ10-13 の出力はノ
イズ回路10-14 、ラッチ10-2を介してDバスに与えら
れ、MSW2-11 を介してRAM7-3のレジスタWA1 に格納され
る。この値が波形1の波形データである。Waveform reading Waveform reading is performed based on the addresses performed in the time slots (2) and (4). The calculation result of the time slot (2) is latched by the latch 10-1 of the I / O 2-10 via the C bus, SW28, HL bus, SW30, and D bus. First, the output of the latch 10-1 is latched by the latch 10-5 via the shifter selector 10-9, the latch 10-4, and the bit processing circuit 10-10, and the data by the latch 10-3 is stored in the data bank 1-6. Read, data bank 1-6 outputs are latched in latches 10-8. Next, the output of the latch 10-1 is the shifter selector 10-9.
Is shifted to the right by 1 bit, "1" is added to MSB and latched by the latch 10-4. The output of the latch 10-4 is latched by the latch 10-5 via the bit processing circuit 10-10, the data bank 1-6 is read together with the data by the latch 10-3, and the output latch 10-7 of the data bank 1-6 is read. Latched on. At this time, since the output of the latch 10-8 is given to the upper 8 bits of the latch 10-7, it is latched together with the value of the previous data bank 1-6. Where the lower 8 of latch 10-7
The data latched in the bits corresponds to the lower 4 bits and 2 words of the 12-bit wave as described in the section of the data bank. The output of the latch 10-7 is given to the shifter 10-13 via the selector 10-12, the upper 8 bits are shifted to the right by 4 bits, and if the LSB of the output of the latch 10-1 is 0, the lower 8 bits are also 4 bits. Bits are shifted right, and if LSB is 1, the lower 4 bits are not shifted and are output by the shifter 10-13. Here, when W8 = 1 in the control data CONT, that is, when an 8-bit waveform is designated, the shifter 10-13 outputs the lower 4 bits with "0". The output of the shifter 10-13 is given to the D bus via the noise circuit 10-14 and the latch 10-2, and stored in the register WA1 of the RAM 7-3 via the MSW2-11. This value is the waveform data of waveform 1.
タイムスロット(4)によって得られたアドレスについて
も同様の処理が行われる。ただし、コントロールデータ
CONTにおいてNA=00でない場合にはノイズ回路10-14 に
おいてノイズ信号が加えられる。AN=01の時にはビット
9が、NA=10の時にはビット10が、NA=11の時にはビッ
ト9及び10がノイズ信号におきかえられる。このように
して、加算器を用いずにノイズ信号を重畳している。こ
れが波形2の波形データとしてRAM7-2のレジスタWA2 に
格納される。Similar processing is performed on the address obtained by the time slot (4). However, control data
If NA = 00 at CONT, a noise signal is added at the noise circuit 10-14. Bit 9 is replaced with a noise signal when AN = 01, bit 10 is replaced with NA = 10, and bits 9 and 10 are replaced with NA = 1. In this way, the noise signal is superimposed without using the adder. This is stored in the register WA2 of the RAM 7-2 as the waveform data of waveform 2.
エンベロープ乗算 上記のようにして波形1、波形2の2種類の波形データ
が得られたが、この波形データに対してエンベロープの
乗算を行う。波形1に対するエンベロープはRAM7-3のレ
ジスタER1 に、波形2に対するエンベロープはRAM7-3の
レジスタER2 に入っている。ここで、エンベロープにつ
いて述べると、エンベロープは指数部4ビット仮数部9
ビットの13ビット浮動小数点表示になっている。エンベ
ロープ乗算は各チャンネル2回行われるがそれぞれの動
作は同様であるので、タイムスロット(7)〜(9)におけ
るWR1 ×ER1 の演算について説明する。Envelope multiplication Two types of waveform data of waveform 1 and waveform 2 are obtained as described above, and envelope multiplication is performed on this waveform data. The envelope for waveform 1 is in register ER1 of RAM7-3 and the envelope for waveform 2 is in register ER2 of RAM7-3. Here, when describing the envelope, the envelope has an exponent part, a 4-bit mantissa part 9
13-bit floating point display of bits. The envelope multiplication is performed twice for each channel, but the respective operations are the same, so the calculation of WR1 × ER1 in time slots (7) to (9) will be described.
RAM7-3のレジスタER1 のデータがMSW2-11 を介してMPLY
2-7 のラッチ9-3 及びラッチ9-5 にラッチされる。ここ
で、ラッチ9-3 にはレジスタER1 の下位10ビっトが、ラ
ッチ9-5 にはレジスタER1 のビット9-12がラッチされ
る。次いでRAM7-3のレジスタWR1 のデータがMSW2-11 を
介してMPLY2-7 のラッチ9-1 にラッチされる。ラッチ9-
3 の出力はビット処理回路9-12においてそのMSB が
“1”にされてラッチ9-4 にラッチされる。即ち、ラッ
チ9-4 にはエンベロープ仮定部がラッチされる。ラッチ
9-1 の出力はシフタ9-11を介してラッチ9-2 にラッチさ
れる。この際エンコーダ9-10のC入力にはSQ信号によっ
て1が与えられており、シフタ9-11のC入力には00001
が与えられる。故にシフタ9-11はラッチ9-1 の下位12ビ
ット即ちデータンバンク1-6 より読み出した波形1の波
形データ12ビットをラッチ9-2 送出する。乗算器9-16が
ラッチ9-2 及びラッチ9-4 のデータの乗算を行い、積14
ビットがラッチ9-7 にラッチされ、シフタ9-15へ送出さ
れる。Data in register ER1 of RAM7-3 is MPLY via MSW2-11
It is latched by the latch 9-3 and the latch 9-5 of 2-7. Here, the lower 10 bits of the register ER1 are latched in the latch 9-3, and the bits 9-12 of the register ER1 are latched in the latch 9-5. Then, the data in the register WR1 of the RAM7-3 is latched in the latch 9-1 of the MPLY2-7 via the MSW2-11. Latch 9-
The MSB of the output of 3 is set to "1" in the bit processing circuit 9-12 and latched in the latch 9-4. That is, the latch hypothesis is latched in the latch 9-4. latch
The output of 9-1 is latched by latch 9-2 via shifter 9-11. At this time, 1 is given to the C input of the encoder 9-10 by the SQ signal and 00001 to the C input of the shifter 9-11.
Is given. Therefore, the shifter 9-11 sends the lower 12 bits of the latch 9-1, that is, the 12 bits of the waveform data of the waveform 1 read from the data bank 1-6 to the latch 9-2. Multiplier 9-16 multiplies the data in Latch 9-2 and Latch 9-4 and outputs the product 14
Bits are latched in Latch 9-7 and sent to Shifter 9-15.
一方、ラッチ9-5 にはエンベロープの指数部がラッチさ
れており、ラッチ9-6 を介してデコーダ9-13にてデコー
ドされ、セレクタ9-14を介してシフタ9-15に制御信号と
して与えられる。故に、ラッチ9-7 の出力はエンベロー
プの指数部によってシフトされ、ラッチ9-8 にてラッチ
される。このようにして、固定小数点の波形データと浮
動小数点のエンベロープの乗算が行われる。ラッチ9-8
の出力はLバスよりMSW2-11 を介してRAM7-1のレジスタ
WE1 に格納される。波形2の波形データとエンベロープ
の乗算も同様にして行われRAM7-4のレジスタWE2 に格納
される。On the other hand, the exponent part of the envelope is latched in the latch 9-5, decoded by the decoder 9-13 via the latch 9-6, and given as a control signal to the shifter 9-15 via the selector 9-14. To be Therefore, the output of latch 9-7 is shifted by the exponent part of the envelope and latched by latch 9-8. In this way, the fixed-point waveform data and the floating-point envelope are multiplied. Latch 9-8
Output is from the L bus via MSW2-11 to RAM7-1 register
Stored in WE1. The multiplication of the waveform data of the waveform 2 and the envelope is performed in the same manner and stored in the register WE2 of the RAM7-4.
2波混合 上記のようにして、レジスタWE1 ,WE2 に波形が格納さ
れた。このステップではWE1 とWE2 の和を求める。タイ
ムスロット(1)における演算がこれに相当する。Two-wave mixing Waveforms were stored in registers WE1 and WE2 as described above. In this step, the sum of WE1 and WE2 is calculated. The calculation in the time slot (1) corresponds to this.
CN乗算 タイムスロット(1)で2波混合を行うが、本楽音発生部
1-5 において、ABM2-9及びフイルタ1-7 の特性によって
は音名に応じて発生される音圧レベルが異なる場合があ
る。このための補正を行うのがCN乗算である。ここでは
補正の為の係数としてノード係数CNをそのまま用いてい
る。タイムスロット(1)におけるWE2 +WE1 の演算結果
が、CバスよりSW28、HLバス、SW29、Lバスを介してMP
LY2-7 のラッチ9-1 にラッチされる。一方メモリ2-5 の
RAM7-3よりノートデータNDに応じてノート係数CNが読み
出され、HDバス、SW24、Lバスを介してMPLY2-7 のラッ
チ9-3 にラッチされる。Two-wave mixing is performed in the CN multiplication time slot (1).
In 1-5, depending on the characteristics of ABM2-9 and filter 1-7, the generated sound pressure level may differ depending on the note name. The correction for this is CN multiplication. Here, the node coefficient CN is used as it is as a coefficient for correction. The calculation result of WE2 + WE1 in time slot (1) is MP from the C bus via SW28, HL bus, SW29, L bus.
Latched to the LY2-7 latch 9-1. Meanwhile memory 2-5
The note coefficient CN is read from the RAM 7-3 in accordance with the note data ND and is latched by the latch 9-3 of the MPLY 2-7 via the HD bus, SW24 and L bus.
ここで、WE1 +WE2 は16ビットのデータであるが乗算器
9-16 のA入力は12ビットであるのでMPLY2-7 では次の
ような処理を行っている。即ち、ラッチ9-1 の上位5ビ
ットがエンコーダ9-10に入力され、エンコーダ9-10が第
9表に示すとおりのデータをA,B両端子より出力す
る。つまり、ラッチ9-1 におけるデータが実質何ビット
であるかを求め、この結果に応じてシフタ9-11によって
ラッチ9-1 より12ビットをとり出す。例えば、ラッチ9-
1 の値が3A2616の場合は、このデータは実質15ビットの
データであるのでシフタ9-11はラッチ9-1 のビット14以
下の12ビットをとり出し、シフタ9-11の出力は74416と
なる。このようにしてWE2 +WE1 の実質の部分とノート
係数との乗算を行い、シフタ9-15によって元のビット数
にもどし、ラッチ9-9 でラッチする。Here, WE1 + WE2 is 16-bit data,
Since the A input of 9-16 is 12 bits, MPLY2-7 performs the following processing. That is, the upper 5 bits of the latch 9-1 are input to the encoder 9-10, and the encoder 9-10 outputs the data as shown in Table 9 from both terminals A and B. That is, the number of bits of the data in the latch 9-1 is obtained, and 12 bits are taken out from the latch 9-1 by the shifter 9-11 according to this result. For example, latch 9-
If the value of 1 is 3A26 16 , this data is actually 15 bits, so shifter 9-11 takes out 12 bits below bit 14 of latch 9-1 and the output of shifter 9-11 is 744 16 Becomes In this way, the substantial part of WE2 + WE1 is multiplied by the note coefficient, returned to the original number of bits by the shifter 9-15, and latched by the latch 9-9.
以上のようにして少ないビット数の乗算器を用いて大き
なビット数のデータの乗算を行っている。このようにし
て得られた値をDAC2-8へ出力し、 ABM2-9で所定の周期に補正されて楽音信号として出力さ
れる。As described above, data with a large number of bits is multiplied by using a multiplier with a small number of bits. The value thus obtained is output to the DAC2-8, corrected by the ABM2-9 to a predetermined cycle, and output as a musical tone signal.
ところで、本楽音発生部1-5 においては、先に述べたよ
うにマイコンの指示により第1表のフラグVOL により、
CN乗算をVLD 乗算に切換えることができる。即ち、ロン
グシーケンスにおいて、RAM5-6のレジスタVLD 8ビット
が、MSW2-11 を介してRAM7-3のレジスタLVD′に送られ
る。送出の際にMSW2-11 においてビットシフトがなさ
れ、8ビットのデータを2ビット左シフトし更に下位2
ビットに“0”を追加し、10ビットのデータに変換され
る。このことによりVLD のビット数はCNのビット数と同
一となる。WE2 +WE1 の値にROM7-5 の値を掛けるか、
レジスタVLD′の値を掛け合わせるかは第1表における
フラグVOL で決まり、VOL =0ならばRAM7-3がHDバスに
データを送出し、VOL =1ならばRAM7-3がHDバスにデー
タを送出する。By the way, in the musical tone generating section 1-5, as described above, according to the instruction of the microcomputer, by the flag VOL of Table 1,
CN multiplication can be switched to VLD multiplication. That is, in the long sequence, 8 bits of register VLD of RAM5-6 are sent to register LVD 'of RAM7-3 via MSW2-11. Bits are shifted in MSW2-11 when sending, 8-bit data is left-shifted by 2 bits and further lower 2
It is converted to 10-bit data by adding "0" to the bit. This makes the number of VLD bits the same as the number of CN bits. Multiply the value of WE2 + WE1 by the value of ROM7-5, or
Whether to multiply the value of the register VLD ′ is determined by the flag VOL in Table 1. RAM7-3 sends data to the HD bus if VOL = 0 and RAM7-3 sends data to the HD bus if VOL = 1. Send out.
上記のように構成することにより、マイコン1-4 によっ
て楽音発生部1-5 の出力する楽音信号のレベルを変える
ことが可能となり、第1表のVLD の値を順次変えること
により振幅変調をかえることが可能となる。With the above configuration, it becomes possible to change the level of the musical tone signal output from the musical tone generating section 1-5 by the microcomputer 1-4, and the amplitude modulation can be changed by sequentially changing the value of VLD in Table 1. It becomes possible.
鍵盤を押下する速さと圧力の少なくとも一方に基づきVL
D を作成すると、タッチレスポンス機能が実現する。VL based on at least one of pressing speed and pressure
When D is created, the touch response function is realized.
タッチレスポンス機能とは鍵盤の操作の速さ・強さ等に
よって音量・音色等が変化することである。例えばピア
ノは、強く打鍵すると音量が大きいだけでなく音色も華
やかなものになり、弱く打鍵すると音量が小さいだけで
なく音色もこもったものとなる。打鍵の強さに応じて音
量も音色も自在に変化するが、ピアノの場合は打鍵の
後、鍵盤を押す強さを変化させても、減衰しつつある音
質には変化を加えることができない。このようにピアノ
は打鍵の強さのみがタッチレスポンス機能となってい
て、このような機能を特にイニシャルタッチコントロー
ルと呼ぶ。一般に打楽器がこれに属する。The touch response function is to change the volume, tone, etc. according to the speed and strength of keyboard operation. For example, when a piano key is strongly pressed, not only the volume is high but also the tone color is gorgeous. When the key is weakly pressed, not only the volume is low but the tone color is also muffled. Although the volume and timbre change freely according to the strength of keystrokes, in the case of a piano, even if the strength with which the keyboard is pressed after keystrokes is changed, the sound quality that is decaying cannot be changed. In this way, the piano has a touch response function only with the strength of keystrokes, and such a function is particularly called initial touch control. Percussion instruments generally belong to this category.
一方、トランペットは息の強さにより接続している音質
をも変化することができるので、この音を模倣して電子
楽器の鍵盤操作で演奏する場合も、打鍵によりトランペ
ット音を発生中に打鍵の強さを増減することで音量・音
色に変化を与えることが必要となる。このような機能を
特にアフタータッチコントロールと呼ぶ。一般に、弦楽
器と管楽器がこれに属する。On the other hand, the trumpet can change the connected sound quality depending on the strength of your breath, so even when you imitate this sound and play it with the keyboard of an electronic musical instrument, you can play the trumpet sound while the trumpet sound is generated. It is necessary to change the volume and timbre by increasing or decreasing the strength. Such a function is particularly called aftertouch control. Generally, string instruments and wind instruments belong to this category.
本発明の実施例では先に述べたように、VOL フラグによ
りVLD 乗算を行うことにより、各チャンネル独立に音量
を制御することができる。In the embodiment of the present invention, as described above, the volume can be controlled independently for each channel by performing VLD multiplication with the VOL flag.
応用例として、打鍵の強さを計測して、強さに応じてVL
D の値を作成してマイコンから転送することにより、打
鍵毎に転送された異なるVLD に応じて各音の音量が変化
することになる。As an application example, the strength of keystrokes is measured and VL is calculated according to the strength.
By creating the value of D and transferring it from the microcomputer, the volume of each sound changes according to the different VLD transferred for each keystroke.
マイコンVLD を転送する際、VLD の値に応じてタブレッ
トデータを切換えて転送すると、本実施例の楽音発生部
はVLD の値に応じて音量と共に音色をも変化させられる
ことは、先に掲げた機能説明で明らかである。When transferring the microcomputer VLD by switching the tablet data according to the value of VLD, the tone generation unit of this embodiment can change the tone and the tone color according to the value of VLD. It is clear in the functional description.
この音色の切換について、VLD が8ビットの例で説明す
る。This tone color switching will be described by taking an example in which VLD is 8 bits.
第23表に、VLD の値の範囲と、それに対応する強弱名と
タブレット名の一例を示す。Table 23 shows an example of the VLD value range and the corresponding strong and weak names and tablet names.
VLD が1ビット小さくなる毎に、音量は1/2 つまり6dB
小さくなり、これを音楽用語の強弱名の各々に割当てて
ある。またffの強さには華やかな音色が必要なので高調
波の豊富な波形データをタブレット0に割当て、mpより
小さい音量ではこもった音色が必要なので正弦波に近い
波形データをタブレット3に割当てるように、複数種類
の波形データをデータバンクに準備しておく。Every time VLD is reduced by 1 bit, the volume is 1/2 or 6 dB
It becomes smaller and is assigned to each of the strong and weak names of musical terms. Also, since ff strength requires a gorgeous tone color, waveform data rich in harmonics is assigned to tablet 0, and a timbre tone is required at a volume lower than mp, so waveform data close to a sine wave should be assigned to tablet 3. , Prepare multiple types of waveform data in the data bank.
このようにすると、打鍵の強さによってVLD の数値範囲
で音色が4通り切換えられると同時に8ビットのVLD に
応じて256 通りの音量が指定できる。In this way, four tones can be switched within the VLD numerical range depending on the strength of keystrokes, and at the same time 256 tones can be specified according to the 8-bit VLD.
以上はイニシャルタッチコントロールであったが、同様
に打鍵後の押鍵圧の大小に応じて、刻々と変化するVLD
と、VLD の値に応じて刻々と変化するタブレットデータ
とをマイコンが送出すると、本実施例の楽音発生部は打
鍵後の押鍵圧の変化に応じて刻々と、音色と音量とを変
化させることができる。The above is the initial touch control, but similarly, VLD that changes momentarily according to the magnitude of key pressing pressure after keystroke.
And the tablet data that changes momentarily according to the value of VLD is sent out by the microcomputer, the musical tone generation unit of this embodiment changes the tone color and the volume momentarily according to the change of the key pressing pressure after the keystroke. be able to.
以上がアフタータッチコントロールである。The above is the aftertouch control.
(4) エンベロープ発生方法 楽音発生部1-5 におけるエンベロープの発生方法は次の
3ステップに分けられる。即ち、 アドレス発生 エベロープデータの読み出し エンベロープ計算 以下各ステップを詳しく説明する。(4) Envelope generating method The envelope generating method in the musical tone generating section 1-5 is divided into the following three steps. That is, reading of address-generated envelope data and envelope calculation will be described in detail below.
アドレス発生 打鍵によるイニシャル設定にて、ヘッダデータのSTE(エ
ンベロープデータE1′のスタートアドレス)、ΔSTE(エ
ンベロープデータE1′のワード数)に基づいてレジスタE
AR1,EAR2,TR1 ,TR2 ,ΔT1,ΔT2が初期設定されて
いる。これらのデータをもとにアドレスの演算が行われ
る。アドレスの演算は演算頻度が少なくてもよいので演
算シーケンスのロングシーケンスにて行っている。更
に、ロングシーケンスの奇数回目でエンベロープデータ
E1′のアドレス演算を、偶数回目でエンベロープデータ
E2′のアドレス演算を行っている。Address generation By initial setting by keystroke, register E based on header data STE (start address of envelope data E1 ′) and ΔSTE (word number of envelope data E1 ′)
AR1, EAR2, TR1, TR2, ΔT1, and ΔT2 are initialized. An address calculation is performed based on these data. The calculation of the address is performed in the long sequence of the calculation sequence because the calculation frequency may be low. In addition, the envelope data can be
E1 ′ address calculation is performed evenly for envelope data
E2 'address calculation is performed.
奇数回目のロングシーケンスにおいて、タイムスロット
(13)で ΔT1 + TR1 → TR1 ……(4-1) タイムスロート(15) ΔEAR1 + EAR1 +Ci → EAR1 ……(4-2) の演算が行われEAR1の値を用いてデータバンク1-6 の読
み出しを行う。タイムスロット(15)のCiはタイムスロッ
ト(13)にて行われるΔT1の累算によって生じたオーバー
フローに当る。ここで演算(4-1) を詳しく説明する。Time slot in odd-numbered long sequence
In (13) ΔT1 + TR1 → TR1 …… (4-1) Time throat (15) ΔEAR1 + EAR1 + Ci → EAR1 …… (4-2) is calculated and the value of EAR1 is used to calculate data bank 1-6. Read out. Ci of the time slot (15) corresponds to the overflow caused by the accumulation of ΔT1 performed in the time slot (13). Here, the calculation (4-1) will be described in detail.
先ず、RAM7-2 のレジスタΔT1の値がHBバス、MSW2-11
を介してFA2-6 のラッチ8-1 にラッチされる。同時に、
RAM7-3のレジスタTR1 の値がHCバス、MSW2-11 を介して
FA2-6 のラッ8-2 にラッチされる。ラッチ8-1 の出力は
ビット処理回路8-10によってビット3が強制的に“0”
にされ(ビット3を“0”にする理由は後で述べ
る。)、ラッチ8-3 でラッチされる。ラッチ8-2 の出力
はビット処理回路8-11を介してラッチ8-4 でラッチされ
る。ここでビット処理回路8-11においてはビットの変換
等の処理は施されない。ラッチ8-3 及びラッチ8-4 の出
力を加算器8-9 にて加算し、ラッチ8-7 、ラッチ8-8 を
介してCバスに与え、MSW2-11 を介してRAM7-3のレジス
タTR1 に加算結果を格納する。ここで加算結果にオーバ
ーフローが生じた場合は、加算器8-9 のCoより“1”が
出力される。この出力をラッチ8-6 にてラッチし、タイ
ムスロット15の演算の際に使用する。但し、これは波形
データにPCM 部がない場合についてであり、波形データ
にPCM 部がある場合(フラグPCM =1)にはPCM 部を読み
終えるまでレジスタTR1 に対し演算結果として強制的に
“0”が入力される。故にΔT1の累算によるオーバーフ
ローが生じることがない為PCM を読み終えるまではEAR1
の値が更新されることはない。ΔT1はイニシャル処理の
項で述べたとおり第13表におけるC=0時のD出力の値
であり、レジスタTR1 は16ビットのレジスタであるの
で、例えばΔT1=400016であれば演算(4-1) は4回行わ
れるとレジスタTR1 はオーバーフローし、演算(4-2) の
Ci=1となりアドレスの更新が行われる。ここで、演算
(4-1) ,(4-2) はロングシーケンスの2回に1回行われ
る。第1図(ハ)で示すとおり、同じチャンネルのロング
シーケンスは388 タイムスロットの周期、即ち1タイム
スロットは250ns であるので97μsの周期に現われる。
故に演算(4-1) ,(4-2) は194 μs毎に行われ、ΔT1=
400016である場合には776 μsでアドレスの更新が行わ
れることになる。First, the value of register ΔT1 of RAM7-2 is HB bus, MSW2-11
Latch 8-1 of FA2-6 via. at the same time,
The value of register TR1 of RAM7-3 is via HC bus, MSW2-11
It is latched by the latch 8-2 of FA2-6. Bit 3 of the output of the latch 8-1 is forced to "0" by the bit processing circuit 8-10.
(The reason for setting bit 3 to "0" will be described later), and it is latched by the latch 8-3. The output of the latch 8-2 is latched by the latch 8-4 via the bit processing circuit 8-11. Here, the bit processing circuit 8-11 does not perform processing such as bit conversion. The outputs of the latch 8-3 and the latch 8-4 are added by the adder 8-9, and the result is given to the C bus via the latch 8-7 and the latch 8-8. Store the addition result in TR1. If an overflow occurs in the addition result, "1" is output from Co of the adder 8-9. This output is latched by latch 8-6 and used for the calculation of time slot 15. However, this is for the case where the waveform data does not have a PCM part, and when the waveform data has a PCM part (flag PCM = 1), the register TR1 is forcibly set to "0" until the PCM part is read. "Is entered. Therefore, since overflow due to accumulation of ΔT1 does not occur, EAR1 until PCM is read.
The value of is never updated. ΔT1 is the value of D output at C = 0 in Table 13 as described in the section of initial processing, and register TR1 is a 16-bit register, so if ΔT1 = 4000 16 , for example, calculate (4-1 ) Is performed 4 times, the register TR1 overflows and the operation (4-2)
Ci = 1 and the address is updated. Where the operation
(4-1) and (4-2) are performed once every two long sequences. As shown in FIG. 1 (c), the long sequence of the same channel appears in the period of 388 time slots, that is, in the time period of 97 μs because one time slot is 250 ns.
Therefore, calculations (4-1) and (4-2) are performed every 194 μs, and ΔT1 =
In the case of 4000 16 , the address will be updated in 776 μs.
ところで、エンベロープデータは2バイトで構成されて
いるので、アドレスの更新の際は2ずつ更新されなけれ
ばならない。タイムスロット(15)においては次のように
してアドレスの更新を行っている。By the way, since the envelope data consists of 2 bytes, it must be updated by 2 when updating the address. In the time slot (15), the address is updated as follows.
先ず、ΔEAR1はΔT1によって定まる値であり、ΔT1≠00
0816の時にはΔEAR1=000016であり、ΔT1=000816の時
にはΔEAR1=FFEB16=−2110である。この操作はMSW2-1
1 におけるSW31にて行われる。SW31は第11図(リ)に示す
ようになっており、ΔT1のビット3の値を示すフラグTO
によって制御している。今仮にΔT1≠000816とすると、
SW31によりAバスに000016が、RAM7-1のレジスタEAR1よ
りHAバス、MSW2-11 のSW2を介してBバスにEAR1の値が
与えられる。これらの値がFA2-6 のラッチ8-1 ,ラッチ
8-2 にラッチされる。ラッチ8-1 の出力はビット処理回
路8-10を介してラッチ8-3 へ送られる。ここで、ビット
処理回路8-10ではデータの変換は行われないようになっ
ている。同時に、ラッチ8-2 の出力はビット処理回路8-
11に与えられ、データのLSB が強制的に“1”にされて
ラッチ8-4 へ送られる。即ちビット処理回路8-11にて予
め1が加えられる。また、先に述べたラッチ8-6 に格納
されている演算(4-1) によるオーバーフローがラッチ8-
5 にラッチされる。故にラッチ8-3 ,ラッチ8-4 及びラ
ッチ8-5 の値の加算を行うと、ラッチ8-5 の値が“1”
であればEAR1の値に“2”が加えられることになる。一
方、ラッチ8-5 の値が“0”の場合はEAR1の値は1増加
されたままとなるが、イニシャル処理の項で述べたよう
に、I/0 2-10においてLSB に強制的に“0”,“1”を
与えるので不都合は生じない。First, ΔEAR1 is a value determined by ΔT1, and ΔT1 ≠ 00
When 08 16 is ΔEAR1 = 0000 16 , and when ΔT1 = 0008 16 is ΔEAR1 = FFEB 16 = −21 10 . This operation is MSW2-1
It is performed by SW31 in 1. SW31 has the structure shown in Fig. 11 (i) and has a flag TO that indicates the value of bit 3 of ΔT1.
Are controlled by. And now if the ΔT1 ≠ 0008 16,
The value of EAR 16 is given to the A bus by SW31, the HA bus from the register EAR1 of RAM7-1, and the EAR1 value to the B bus via SW2 of MSW2-11. These values are FA2-6 Latch 8-1, Latch
Latched to 8-2. The output of the latch 8-1 is sent to the latch 8-3 via the bit processing circuit 8-10. Here, in the bit processing circuit 8-10, data conversion is not performed. At the same time, the output of the latch 8-2 is the bit processing circuit 8-
It is given to 11 and the LSB of the data is forced to "1" and sent to the latch 8-4. That is, 1 is added in advance in the bit processing circuit 8-11. In addition, the overflow due to the operation (4-1) stored in the latch 8-6 described above will not occur in the latch 8--
Latched to 5. Therefore, when the values of Latch 8-3, Latch 8-4 and Latch 8-5 are added, the value of Latch 8-5 becomes "1".
In that case, "2" will be added to the value of EAR1. On the other hand, when the value of latch 8-5 is "0", the value of EAR1 remains incremented by 1. Since "0" and "1" are given, no inconvenience occurs.
ところでΔT1=000816の場合には、ΔEAR1がFFEB16(−
2110)となる。故にEAR1の値から2110引かれることにな
り、10ワード前のエンベロープデータが読まれることに
なる。これにより、エンベロープデータのアドレスがル
ープすることになり、マンドリのようなくり返しエンベ
ロープを発生することができる。先に演算(4-1) にてビ
ット処理回路8-10にてビット3を“0”にすると述べた
が、その理由はビット3がΔEAR1=FFEB16とするビット
であり、この演算を行う際にレジスタTR1 に000816を加
えないようにする為である。By the way, when ΔT1 = 0008 16 , ΔEAR1 becomes FFEB 16 (−
21 10 ). Therefore, 21 10 is subtracted from the value of EAR1, and the envelope data 10 words before is read. As a result, the address of the envelope data is looped, and a repeating envelope like a mandrel can be generated. It was mentioned earlier that bit 3 is set to "0" in the bit processing circuit 8-10 in the operation (4-1). The reason is that bit 3 sets ΔEAR1 = FFEB 16 and this operation is performed. This is to prevent adding 0008 16 to the register TR1.
ロングシーケンスの偶数回目におけるΔT2,TR2 ,ΔEA
R2,EAR2の演算も同様にして行われる。ΔT2, TR2, ΔEA in the even sequence of long sequence
R2 and EAR2 are calculated in the same way.
なお、EAR1,EAR2に関する演算は全く独立に行われる
為、波形1,波形2に対して全く異なったエンベロープ
信号を発生させることができるのは言うまでもない。ま
た、EAR1又はEAR2のくり返しについてもくり返しの周期
を異ならしめることが容易であるので種々の効果を得る
ことができる。It is needless to say that completely different envelope signals can be generated for the waveform 1 and the waveform 2 because the calculations regarding EAR1 and EAR2 are performed independently. Further, since it is easy to make the repetition cycle different for the repetition of EAR1 or EAR2, various effects can be obtained.
エンベロープデータの読み出し エンベロープデータの読み出しはロングシーケンスにお
いて行い、偶数回目に波形1のエンベロープデータを、
奇数回目の波形2のエンベロープデータの読み出しを行
う。Reading Envelope Data Envelope data is read in a long sequence, and the envelope data of waveform 1 is read at an even number of times.
The envelope data of the waveform 2 at the odd number is read.
レジスタEAR1,EAR2の値に基づいて行うエンベロープデ
ータの読み出し方についてはイニシャル処理の項で述べ
たものと全く同じであり、I/0 2-10にてデータバンク1-
6 より読みとったデータのフォーマット変換を行いなが
らレジスタΔT1,ΔT2,ΔZ1,ΔZ2,ΔE1,ΔE2に格納
していく。How to read the envelope data based on the values of the registers EAR1 and EAR2 is exactly the same as that described in the section of the initial processing.
The data read from 6 is stored in registers ΔT1, ΔT2, ΔZ1, ΔZ2, ΔE1, and ΔE2 while performing format conversion.
エンベロープ計算 エンベロープデータの読み出しにより、ΔZ1,ΔZ2,Δ
E1,ΔE2にデータが格納されており、またイニシャル処
理によりER1 ,ER2 ,ZR1 ,ZR2 に初期値が与えられて
いる。これらの値に応じてエンベロープ計算を行う。Envelope calculation By reading the envelope data, ΔZ1, ΔZ2, Δ
Data is stored in E1 and ΔE2, and initial values are given to ER1, ER2, ZR1, and ZR2 by initial processing. The envelope is calculated according to these values.
エンベロープ計算の基本は加算部のタイムスロット
(3),(5),(6),(8)である。タイムスロット(3),
(5)によって波形1のエベロープを計算し、タイムスロ
ット(6),(8)によって波形2のエンベロープを計算す
る。ここで、タイムスロット(5)、(8)のCiはタイムス
ロット(3),(6)による演算で生じたオーバーフローで
あるが、タイムスロット(3),(6)にて生じたオーバー
フローがどのようにしてタイムスロット(5),(8)で加
えられるかについては、アドレス発生のタイムスロット
(13),(15)で述べたものと同様である。このようにして
得られたER1 ,ER2 の値がエンベロープデータである。The basis of envelope calculation is the time slot of the adder
(3), (5), (6), and (8). Time slot (3),
The envelope of waveform 1 is calculated by (5), and the envelope of waveform 2 is calculated by time slots (6) and (8). Here, Ci of the time slots (5) and (8) is an overflow caused by the calculation by the time slots (3) and (6). Which overflow is caused by the time slots (3) and (6)? How to add in time slots (5) and (8)
The same as described in (13) and (15). The ER1 and ER2 values obtained in this way are the envelope data.
ところで、エンベロープ計算は各種モードによって異な
る。各種モードとは、 1) 波形がPCM を有する場合と有しない場合。(PCM=1/
0) 2) ピアノ型エンベロープの場合とオルガン型エンベロ
ープの場合。(P/0=1/0) 3) ダンパフラグをオンした場合とオフした場合。(DMP
=1/0) の3種である。以下個々の場合について説明する。By the way, envelope calculation differs depending on various modes. The various modes are: 1) When the waveform has PCM and when it does not. (PCM = 1 /
0) 2) For piano type envelope and organ type envelope. (P / 0 = 1/0) 3) When the damper flag is turned on and when it is turned off. (DMP
= 1/0). The individual cases will be described below.
PCM =0かつP/0 =0 初期設定はER1 ,ER2 ,ZR1 ,ZR2 とも“0”であり、
鍵が押圧されている時はレジスタΔE1,ΔE2,ΔZ1,Δ
Z2の値に従ってエンベロープの演算を行う。鍵が離され
ると、タイムスロット(3),(5),(6),(8)のΔZ1,
ΔE1,ΔZ2,ΔE2の値として、UCIF2-3 の信号処理器5-
6 よりリリースデータが発生され、レジスタΔZ1,ΔE
1,ΔZD,ΔE2の値のかわりに用いられる。PCM = 0 and P / 0 = 0 The initial setting is "0" for ER1, ER2, ZR1, and ZR2.
Registers ΔE1, ΔE2, ΔZ1, and Δ when the key is pressed
The envelope is calculated according to the value of Z2. When the key is released, the time slot (3), (5), (6), (8) ΔZ1,
As the values of ΔE1, ΔZ2, and ΔE2, the signal processor of UCIF2-3 5-
Release data is generated from 6 and registers ΔZ1 and ΔE
It is used instead of the values of 1, ΔZD, and ΔE2.
なお、このモードにおいてはダンパフラグDMP によって
演算は何ら影響はされない。In this mode, the damper flag DMP has no effect on the operation.
PCM =0かつP/0 =1 初期設定はER1 ,ER2 ,ZR1 ,ZR2 とも“0”であり、
鍵が押圧されている時はレジスタΔE1,ΔE2,ΔZ1,Δ
Z2の値に従ってエンベロープの演算を行う。鍵が離され
ると、ダンパフラグDMP =1の場合は引き続きレジスタ
ΔE1,ΔE2,ΔZ1,ΔZ2の値に従ってエンベロープの演
算を行い、ダイパフラグDMP 0の時はPCM =0かつP/0
=0の場合と同じである。PCM = 0 and P / 0 = 1 The initial setting is “0” for ER1, ER2, ZR1 and ZR2.
Registers ΔE1, ΔE2, ΔZ1, and Δ when the key is pressed
The envelope is calculated according to the value of Z2. When the key is released, if the damper flag DMP = 1, the envelope calculation is continued according to the values of the registers ΔE1, ΔE2, ΔZ1, and ΔZ2. When the damper flag DMP0, PCM = 0 and P / 0.
The same as when = 0.
PCM =1かつP/0 =0 初期設定は、EA1 =1FFF16,ER2 =0,ZR1 =0,ZR2
=0である。鍵が押圧されており、波形1がPCM 部を読
み出している時は初期値が保持され、PCM 部を読み終え
ると、レジスタΔE1,ΔE2,ΔZ1,ΔZ2の値に従ってエ
ンベロープの演算を行う。鍵が離されると、波形1がPC
M 部を読み出しているいないに関係なくUCIF2-3 の信号
処理器5-6 によるリリースデータに基づいて演算が行わ
れる。即ちPCM =0かつP/0 =0の場合に帰着する。PCM = 1 and P / 0 = 0 The initial settings are EA1 = 1FFF 16 , ER2 = 0, ZR1 = 0, ZR2
= 0. When the key is pressed and waveform 1 is reading the PCM part, the initial value is held, and when the PCM part is read, the envelope is calculated according to the values of registers ΔE1, ΔE2, ΔZ1, and ΔZ2. When the key is released, waveform 1 is on the PC
Calculation is performed based on the release data from the signal processor 5-6 of UCIF2-3 regardless of whether the M part is read. That is, it results when PCM = 0 and P / 0 = 0.
なお、このモードにおいてはダンパフラグDMP によって
演算は何ら影響を受けない。In this mode, the damper flag DMP has no effect on the operation.
PCM =1かつP/0 =1 初期設定は、ER1 =1FFF16,ER2 =0,ZR1 =0,ZR2
=0である。アンパフラグDMP=の場合は、1度鍵が押
圧されると離鍵のタイミングには無関係に演算が行われ
る。即ち、波形1がPCM 部を読み出している時にはレジ
スタER1 ,ER2 ,ZR1 ,ZR2 は初期値が保持され、PCM
を読み終えるとレジスタΔE1,ΔE2,ΔZ1,ΔZ2の値に
従って演算が開始される。ダンパフラグDMP =1の場合
は、PCM =1かつP/0 =0の場合と全く同じである。PCM = 1 and P / 0 = 1 The initial setting is ER1 = 1FFF 16 , ER2 = 0, ZR1 = 0, ZR2
= 0. When the amper flag DMP =, once the key is pressed, the calculation is performed regardless of the key release timing. That is, when the waveform 1 is reading the PCM part, the initial values of the registers ER1, ER2, ZR1 and ZR2 are held, and the PCM
After reading, the calculation is started according to the values of the registers ΔE1, ΔE2, ΔZ1, and ΔZ2. When the damper flag DMP = 1, it is exactly the same as when PCM = 1 and P / 0 = 0.
以上述べたように、種々のモードに応じて自由にエンベ
ロープ信号を発生することができる。また、ΔE1,ΔZ1
とΔE2,ΔZ2は全く独立に設定でき、そのデータはアド
レス発生の項にて明らかなとおりΔT1,ΔT2によって定
まる時間で更新されるので前述の2種類の波形データと
相俟って種々の楽音が発生できる。As described above, the envelope signal can be freely generated according to various modes. Also, ΔE1, ΔZ1
, ΔE2, and ΔZ2 can be set independently, and the data are updated at the time determined by ΔT1 and ΔT2, as is clear in the section of address generation. Can occur.
(発明の効果) 以上のように本発明は波形データ1ワードのビット数が
N、上記データバンク1ワードのビット数がMであって
MとNの関係が、 である時、 上記データバンクの総ワード数をW、上記波形データの
第i番目のワードのデータの上位Mビットと下位(N−
M)ビットが上記データバンクに格納されているアドレ
スを各々AiとBiとすると 但し[ ]はガウス記号であり、[ ]内の数値の整数
部を表す。(Effect of the Invention) As described above, according to the present invention, the number of bits of one word of waveform data is N, the number of bits of one word of the data bank is M, and the relationship between M and N is , The total number of words in the data bank is W, the upper M bits of the data of the i-th word of the waveform data and the lower (N-
If the addresses whose M) bits are stored in the data bank are Ai and Bi, respectively. However, [] is a Gaussian symbol and represents the integer part of the numerical value in [].
の関係が成立しているデータバンクを備えたことにより
ROM の使用効率が向上するため、少ないメモリエリアで
より充実した音色の発生を行うことができる。By having a data bank in which the relationship of
Since the ROM usage efficiency is improved, more timbre can be generated with less memory area.
第1図(イ)は本発明における情報処理装置の一実施例の
ブロック図、第1図(ロ)はマイコンによるデータ転送の
タイミング図、第1図(ハ)は本発明において用いられて
いる演算タイムスロットを表わす図、第2図は本発明に
おける楽音発生部1-5 の構成図、第3図は楽音発生部1-
5 におけるノートクロック発生の原理図、第4図は楽音
発生部1-5 におけるSEQ2-2の詳細図、第5図は同じくUC
IF2-3 の詳細図、第6図は同じくCDR2-4の詳細図、第7
図は同じくメモリ2-5 の詳細図、第8図は同じくFA2-6
の詳細図、第9図(イ)は同じくMPLY2-7 の詳細図、第9
図(ロ)はMPLY2-7 にて使用している乗算器9-16の詳細
図、第10図は楽音発生部1-5 におけるI/0 2-10の詳細
図、第11図(イ)は同じくMSW2-11 の詳細図、第11図(ロ)
〜第11図(リ)はMSW2-11 に用いられているスイッチのパ
ターン図、第11図(ヌ)はMSW2-11 におけるデータ転送の
タイミング図、第12図はデータバンク1-6 におけるデー
タフォーマットを示す図、第13図はデータバンク1-6 に
おけるエンベロープデータのデータフォーマットを示す
図、第14図は従来における電子楽器のブロック図、第15
図はその楽音合成データROM の構成図である。 1-1 ……鍵盤、1-2 ……タブレット、1-3 ……効果スイ
ッチ、1-4 ……マイコン、1-5 ……楽音発生部、1-6 …
…データバンク、1-7 ……フィルタ、2-1 ……マスタク
ロック、2-2 ……シーケンサ(SEQ) 、2-3 ……マイコン
インターフェース部(UCIF)、2-4 ……比較レジスタ部(C
DR) 、2-5 ……メモリ、2-6 ……フルアダー部(FA)、2-
7 ……乗算部(MPLY)、2-8 ……ディジタルアナログコン
バータ(DAC) 、2-9 ……アナログバッファメモリ部(AB
M) 、2-10 ……入出力回路部(I/O) 、2-11……マトリッ
クススイッチ部(MSW) 。FIG. 1 (a) is a block diagram of an embodiment of an information processing apparatus according to the present invention, FIG. 1 (b) is a timing diagram of data transfer by a microcomputer, and FIG. 1 (c) is used in the present invention. FIG. 2 is a diagram showing a calculation time slot, FIG. 2 is a block diagram of a musical tone generating section 1-5 according to the present invention, and FIG.
Fig. 5 shows the principle of note clock generation, Fig. 4 is a detailed diagram of SEQ2-2 in the tone generator 1-5, and Fig. 5 is UC.
Detailed drawing of IF2-3, Fig. 6 is also detailed drawing of CDR2-4, 7
The same figure shows the details of memory 2-5, and the same figure shows FA2-6.
Fig. 9 (a) is a detailed view of MPLY2-7.
Figure (b) is a detailed view of the multiplier 9-16 used in MPLY2-7, Figure 10 is a detailed view of I / 0 2-10 in the tone generator 1-5, and Figure 11 (b). Is also a detailed view of MSW2-11, Fig. 11 (b)
~ Fig. 11 (i) is the pattern diagram of the switch used in MSW2-11, Fig. 11 (nu) is the timing diagram of data transfer in MSW2-11, and Fig. 12 is the data format in data bank 1-6. Fig. 13 is a diagram showing the data format of envelope data in the data banks 1-6, Fig. 14 is a block diagram of a conventional electronic musical instrument, and Fig. 15
The figure is a block diagram of the tone synthesis data ROM. 1-1: Keyboard, 1-2: Tablet, 1-3: Effect switch, 1-4: Microcomputer, 1-5: Musical tone generator, 1-6 ...
… Data bank, 1-7 …… Filter, 2-1 …… Master clock, 2-2 …… Sequencer (SEQ), 2-3 …… Microcomputer interface (UCIF), 2-4 …… Comparison register ( C
DR), 2-5 ...... Memory, 2-6 ...... Full adder (FA), 2-
7 …… Multiplying part (MPLY), 2-8 …… Digital-analog converter (DAC), 2-9 …… Analog buffer memory part (AB
M), 2-10 ... Input / output circuit section (I / O), 2-11 ... Matrix switch section (MSW).
Claims (2)
データバンクから順次該波形データを読み出して所定の
処理を施して発音する電子楽器に於いて、 上記波形データ1ワードのビット数がN、上記データバ
ンク1ワードのビット数がMであってMとNの関係が、 である時、 上記データバンクの総ワード数をW、上記波形データの
第i番目のワードのデータの上位Mビット下位(N−M)
ビットが上記データバンクに格納されているアドレスを
各々AiとBiとすると 但し[ ]はガウス記号であり、[ ]内の数値の整数
部を表す。 の関係が成立していることを特徴とする電子楽器。1. An electronic musical instrument in which the waveform data is sequentially read from a data bank storing waveform data consisting of a plurality of words, and a predetermined process is performed to produce the waveform data. The number of bits in one word of a data bank is M, and the relationship between M and N is , The total number of words in the data bank is W, the upper M bits of the data of the i-th word of the waveform data, the lower M bits (N−M)
If the addresses whose bits are stored in the above data bank are Ai and Bi respectively However, [] is a Gaussian symbol and represents the integer part of the numerical value in []. An electronic musical instrument characterized in that the relationship is established.
ビットに1を付与することによって作成する手段を有す
る電子楽器。2. The address Bi is the same as the address Ai. At least 1 including the highest bit shifted right by one bit
An electronic musical instrument having means for creating by adding 1 to a bit.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60089919A JPH0656554B2 (en) | 1985-04-27 | 1985-04-27 | Electronic musical instrument |
| US06/841,110 US4709611A (en) | 1985-03-19 | 1986-03-18 | Electronic musical instrument for generating a natural musical tone |
| DE8686301968T DE3671997D1 (en) | 1985-03-19 | 1986-03-18 | ELECTRONIC MUSIC INSTRUMENT. |
| EP86301968A EP0201998B1 (en) | 1985-03-19 | 1986-03-18 | Electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60089919A JPH0656554B2 (en) | 1985-04-27 | 1985-04-27 | Electronic musical instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61249096A JPS61249096A (en) | 1986-11-06 |
| JPH0656554B2 true JPH0656554B2 (en) | 1994-07-27 |
Family
ID=13984110
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60089919A Expired - Lifetime JPH0656554B2 (en) | 1985-03-19 | 1985-04-27 | Electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0656554B2 (en) |
-
1985
- 1985-04-27 JP JP60089919A patent/JPH0656554B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61249096A (en) | 1986-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5319151A (en) | Data processing apparatus outputting waveform data in a certain interval | |
| US4437377A (en) | Digital electronic musical instrument | |
| EP0201998B1 (en) | Electronic musical instrument | |
| JP2869573B2 (en) | Musical sound wave generator | |
| JPH0656554B2 (en) | Electronic musical instrument | |
| JPH079582B2 (en) | Electronic musical instrument | |
| JP2580814B2 (en) | Music signal generator | |
| JPH0419587B2 (en) | ||
| JPH0522918B2 (en) | ||
| JPH0584534B2 (en) | ||
| JPS61255397A (en) | electronic musical instruments | |
| JPS61240294A (en) | electronic musical instruments | |
| JPH028318B2 (en) | ||
| JPS61231597A (en) | Electronic musical instrument | |
| JPS61233788A (en) | Electronic musical instrument | |
| JPS61231598A (en) | Electronic musical instrument | |
| JPS61248095A (en) | electronic musical instruments | |
| JPH023198B2 (en) | ||
| JPH0230036B2 (en) | ||
| JPS61233790A (en) | electronic musical instruments | |
| JPS61233789A (en) | Electronic musical instrument | |
| JP2798913B2 (en) | Musical tone waveform generating apparatus and musical tone waveform generating method | |
| JPS61156371A (en) | digital signal processing device | |
| JPS61246794A (en) | Electronic musical instrument | |
| JPS61252591A (en) | electronic musical instruments |