JPH11237885A - Musical sound producing apparatus - Google Patents

Musical sound producing apparatus

Info

Publication number
JPH11237885A
JPH11237885A JP10333308A JP33330898A JPH11237885A JP H11237885 A JPH11237885 A JP H11237885A JP 10333308 A JP10333308 A JP 10333308A JP 33330898 A JP33330898 A JP 33330898A JP H11237885 A JPH11237885 A JP H11237885A
Authority
JP
Japan
Prior art keywords
address
data
waveform
supplied
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10333308A
Other languages
Japanese (ja)
Other versions
JP3087744B2 (en
Inventor
Tetsuji Ichiki
哲二 市来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP10333308A priority Critical patent/JP3087744B2/en
Publication of JPH11237885A publication Critical patent/JPH11237885A/en
Application granted granted Critical
Publication of JP3087744B2 publication Critical patent/JP3087744B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a musical sound producing apparatus, with which cost-up in the case of extending a sound source can be suppressed in comparison with conventional one in the apparatus enabled in the extension of the sound source. SOLUTION: In the musical sound producing apparatus provided with a waveform memory 6 for storing waveform data and a first sound source 8a having an address generating part 18 for generating an address for each of plural time division channels so as to produce musical sounds for plural time division channels, based on (n) pieces of waveform data for each time division channel read out of the waveform memory 6 corresponding to the generated address, the apparatus is provided with a second sound source 8b, which can be added to the configuration of the apparatus and shares the waveform memory 6 together with the first sound source 8a, and a two-step instructing part 5 for generating an instruction signal for changing the number of pieces of waveform data required to be read out for each time division channel into (m) less than (n) when adding the second sound source 8b.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、波形メモリから
時分割で読み出した波形データを複数の音源により発音
する楽音発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone generator for generating waveform data read out from a waveform memory in a time-division manner by a plurality of sound sources.

【0002】[0002]

【従来の技術】従来より、楽音発生装置には、波形メモ
リに波形データを記憶しておき、発音指示があると、上
記波形データを所定の間隔で読み出し、該読み出した波
形データに従って音源により楽音波形を形成し、楽音と
して発音するものが知られている。この楽音発生装置に
おいて、上記波形データを波形メモリから所定の間隔で
読み出すということは、上記第1のサンプリング周波数
で標本化され、波形メモリに記憶された波形データを、
第2のサンプリング周波数に相当する速さで読み出すこ
とである。したがって、上記波形データから第2のサン
プリング周波数で標本化されるべき離散信号を順次推定
し、所望する波形データを得る必要がある。上記離散信
号の推定は、上記波形メモリから連続する複数の波形デ
ータを読み出し、これら波形データを補間することによ
り求められる。
2. Description of the Related Art Conventionally, in a tone generator, waveform data is stored in a waveform memory, and when a tone generation instruction is given, the waveform data is read out at a predetermined interval, and a tone is generated by a tone generator in accordance with the read waveform data. It is known to form a waveform and pronounce it as a musical tone. In this musical sound generating apparatus, reading the waveform data from the waveform memory at a predetermined interval means that the waveform data sampled at the first sampling frequency and stored in the waveform memory is
That is, reading at a speed corresponding to the second sampling frequency. Therefore, it is necessary to sequentially estimate discrete signals to be sampled at the second sampling frequency from the waveform data to obtain desired waveform data. The estimation of the discrete signal is obtained by reading a plurality of continuous waveform data from the waveform memory and interpolating the waveform data.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述したよ
うな従来の楽音発生装置においては、音源における楽音
形成のための構成を時分割で動作させることにより、1
つの音源で複数の楽音を発音可能としたものがある。楽
音発生装置における発音数の増加は、1つの音源におけ
る時分割の周波数の増大や、さらに音源自体の数を増加
させることによって行われている。一方、市場における
ユーザの多様なニーズに答えるため、音源を後で追加可
能にした楽音発生装置が開発されている。
By the way, in the above-described conventional tone generating apparatus, the structure for forming a tone in a sound source is operated in a time-division manner to achieve one tone.
Some sound sources can produce a plurality of musical tones. Increasing the number of sounds in the tone generator is performed by increasing the frequency of time division in one sound source and further increasing the number of sound sources themselves. On the other hand, in order to respond to various needs of users in the market, a tone generator capable of adding a sound source later has been developed.

【0004】このような従来の音源を追加可能にした楽
音発生装置においては、音源を追加する際に、発音数の
増加に伴う波形データの読み出し周波数の増大を抑える
ため、波形メモリから波形データを読み出しおよび波形
データを補間して楽音を形成するための構成の追加に加
え、波形メモリ自体も追加する仕様となっていた。その
ため、音源を追加する際には、既存のものと同一の波形
データを記録した波形メモリを追加することになり、そ
れ伴うコストアップは音源の追加に要するコストアップ
全体に対して大きな比率を占めていた。
[0004] In such a musical sound generating apparatus to which a conventional sound source can be added, when adding a sound source, the waveform data is read from a waveform memory in order to suppress an increase in the frequency of reading the waveform data accompanying an increase in the number of sounds. In addition to the addition of the configuration for reading and interpolating the waveform data to form a musical tone, the specification also adds a waveform memory itself. Therefore, when adding a sound source, a waveform memory that records the same waveform data as that of an existing sound source must be added, and the resulting cost increase accounts for a large proportion of the total cost increase required for the additional sound source. I was

【0005】この発明は上述した事情に鑑みてなされた
もので、音源を増設可能とした楽音発生装置において、
音源を増設する際のコスト増を従来に比べ抑えることが
できる楽音発生装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and provides a tone generator capable of adding sound sources.
It is an object of the present invention to provide a musical sound generator capable of suppressing an increase in cost when adding a sound source as compared with the related art.

【0006】[0006]

【課題を解決するための手段】上述した問題点を解決す
るために、請求項1記載の発明では、波形データを記憶
する波形メモリと、複数時分割チャンネル毎にアドレス
を生成し、該アドレスによって前記波形メモリから読み
出された、各時分割チャンネル毎にn個の波形データに
基づいて複数時分割チャンネル分の楽音を生成する第1
の楽音生成手段とを備える楽音発生装置において、前記
楽音発生装置の構成に追加可能であって、前記第1の楽
音生成手段とともに、前記波形メモリを共用する第2の
楽音生成手段と、前記第2の楽音生成手段が追加される
際には各時分割チャンネルにて読み出す必要のある波形
データの数を前記n個より少ないm個に変更する読み出
し数変更手段とを具備することを特徴とする。
In order to solve the above-mentioned problems, according to the first aspect of the present invention, a waveform memory for storing waveform data and an address are generated for each of a plurality of time division channels, and the address is generated by the address. A first method of generating musical tones for a plurality of time division channels based on n waveform data for each time division channel read from the waveform memory;
A second tone generating means that can be added to the configuration of the tone generating apparatus, and that shares the waveform memory with the first tone generating means; When two musical tone generating means are added, the read number changing means for changing the number of waveform data to be read in each time-division channel to m less than n is provided. .

【0007】この発明によれば、波形メモリを共用する
第2の楽音生成手段が追加されると、読み出し数変更手
段によって、各時分割チャンネルにて読み出す必要のあ
る波形データの数をn個より少ないm個に変更する。
According to the present invention, when the second musical tone generating means sharing the waveform memory is added, the number of waveform data to be read in each time division channel is increased from n by the read number changing means. Change to a small number m.

【0008】[0008]

【発明の実施の形態】次に図面を参照してこの発明の実
施例について説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0009】(1)全体構成 図1はこの発明の一実施例の構成を示すブロック図であ
る。図において、1は鍵盤であり、白鍵および黒鍵から
なり、各鍵の押離鍵を検出し、その状態を制御部3へ供
給する。また、2は音色スイッチであり、楽音発生装置
の操作パネル上へ設けられ、発音すべき楽音の音色が設
定され、該設定された音色の情報は上記制御部3へ供給
される。制御部3は、所定のプログラムにより楽音発生
装置の各部を制御するものであって、例えば、マイクロ
コンピュータ等により構成される。
(1) Overall Configuration FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, reference numeral 1 denotes a keyboard, which is composed of a white key and a black key. Reference numeral 2 denotes a tone switch, which is provided on the operation panel of the tone generator, sets the tone color of the tone to be generated, and supplies information on the set tone color to the control unit 3. The control section 3 controls each section of the musical sound generating apparatus by a predetermined program, and is composed of, for example, a microcomputer.

【0010】次に、外付け指示部4は、後述する外付け
回路7が装着されると、外付け指示信号OPを音源に出
力する。上記外付け指示信号OPは、外付け回路7が装
着されていないときのみ「0」となり、外付け回路7が
装着されているときには、「1」、「2」もしくは
「3」の値をとる。「1」のときには外付け回路にて1
チャンネル分の遅延が生じ、「2」のときには2チャン
ネル分の遅延が生じ、さらに、「3」のときには3チャ
ンネル分の遅延が生じることを示している。すなわち、
外付け指示部4の出力する外付け指示信号OPは、アド
レス発生部18が波形メモリにアドレスを出力してか
ら、そのアドレスに応じた波形データが外付け回路を通
って補間部19に入力するまでの外付け回路7における
時間遅れに対応して設定される。
Next, when an external circuit 7 described later is mounted, the external instruction section 4 outputs an external instruction signal OP to a sound source. The external instruction signal OP is “0” only when the external circuit 7 is not mounted, and takes a value of “1”, “2” or “3” when the external circuit 7 is mounted. . When "1", 1
A delay of two channels occurs, and when "2", a delay of two channels occurs, and when "3", a delay of three channels occurs. That is,
The external instruction signal OP output from the external instruction section 4 is such that after the address generation section 18 outputs an address to the waveform memory, waveform data corresponding to the address is input to the interpolation section 19 through an external circuit. The setting is made in accordance with the time delay in the external circuit 7 up to.

【0011】次に、2チップ指示部5は、音源8が2チ
ップ装着されたときに「1」となるチップ信号C2と、
マスターとなる音源(以下の説明では8aとする)に
「1」、スレーブとなる音源(以下の説明では8bとす
る)に「0」となるマスター信号MCを音源8a,8b
および外付け回路7に出力する。
Next, the two-chip instructing unit 5 outputs a chip signal C2 which becomes "1" when the two sound sources 8 are mounted,
The master signal MC which is "1" for the master sound source (8a in the following description) and "0" for the slave sound source (8b in the following description) is a sound source 8a, 8b.
And to the external circuit 7.

【0012】波形メモリ6には、圧縮された波形デー
タ、および圧縮されていない波形データ(以下、非圧縮
データという)が格納されている。なお、波形データの
格納の方式については後述する。上記波形メモリ6は、
音源8から供給されるアドレスデータに従って、所定の
波形データを外付け回路7へ出力する。なお、外付け回
路7が装着されていない場合には、直接、音源8の補間
部19へ出力する。外付け回路7は、波形メモリ6と音
源8との間に、着脱可能に設けられる回路であり、チッ
プ信号C2、マスター信号MCに応じて、波形データを
選択した後、該波形データを音源8から供給されるイン
クリメント信号INCに応じて復調した後、音源8へ所
定のタイミングで供給する。なお、ここでいう「着脱可
能」の意味は、外付け回路7が波形メモリ6と補間部1
9との間に挿入された構成と、挿入されない構成との両
方が同一の音源で選択可能であるということである。
The waveform memory 6 stores compressed waveform data and uncompressed waveform data (hereinafter referred to as uncompressed data). The method of storing the waveform data will be described later. The waveform memory 6
According to the address data supplied from the sound source 8, predetermined waveform data is output to the external circuit 7. When the external circuit 7 is not mounted, the signal is directly output to the interpolation unit 19 of the sound source 8. The external circuit 7 is a circuit that is detachably provided between the waveform memory 6 and the sound source 8. After demodulation in accordance with the increment signal INC supplied from the CPU, the signal is supplied to the sound source 8 at a predetermined timing. Here, the meaning of “detachable” means that the external circuit 7 uses the waveform memory 6 and the interpolation unit 1
9 and the configuration not inserted between them can be selected with the same sound source.

【0013】次に、音源8は、時分割32チャンネル動
作により、共通の回路で32個の独立した楽音を順次生
成する音源であり、上記アドレスデータを生成するとと
もに、上記波形メモリ6から供給される波形データに対
して、補間、エンベロープ付与、アナログ変換等を施し
た後、サウンドシステム10へ供給する。サウンドシス
テム10は音源8から供給される楽音信号をスピーカ等
によって楽音として発音する。
Next, the tone generator 8 is a tone generator for sequentially generating 32 independent musical tones by a common circuit by a time-division 32 channel operation. The tone generator 8 generates the address data and is supplied from the waveform memory 6. The waveform data is subjected to interpolation, envelope assignment, analog conversion, etc., and then supplied to the sound system 10. The sound system 10 emits a tone signal supplied from the sound source 8 as a tone using a speaker or the like.

【0014】(2)音源の構成 次に、上述した音源8の詳細な構成について同図1を参
照して説明する。音源8は、インターフェース11、時
分割制御されるレジスタ群12、アドレス発生部18、
補間部19、エンベロープ発生部20、エンベロープ乗
算部21(以上、音源構成要素11〜12は複数チャン
ネル時分割動作を行ない、時分割で複数の独立した楽音
を生成する。)、チャンネル累算部22、およびデジタ
ル−アナログ・コンバータ(以下、DACと呼ぶ)23
から構成されている。インターフェース11は、制御部
3から供給される各種データを受け、所定の制御信号と
して、時分割制御されるレジスタ群12の各々に供給す
る。DACにおけるデジタルアナログ変換のサンプリン
グ周波数は50KHzであり、32の時分割チャンネル
はそれを32分割した32×50K=1.6MHzで動
作している。
(2) Configuration of Sound Source Next, a detailed configuration of the above-described sound source 8 will be described with reference to FIG. The sound source 8 includes an interface 11, a group of registers 12 to be time-divisionally controlled, an address generator 18,
Interpolation section 19, envelope generation section 20, envelope multiplication section 21 (the sound source components 11 to 12 perform time-division operations on a plurality of channels to generate a plurality of independent musical tones by time division), and a channel accumulation section 22. , And a digital-analog converter (hereinafter referred to as DAC) 23
It is composed of The interface 11 receives various data supplied from the control unit 3 and supplies the data as a predetermined control signal to each of the register groups 12 to be time-divisionally controlled. The sampling frequency of the digital-to-analog conversion in the DAC is 50 KHz, and the 32 time-division channels operate at 32 × 50K = 1.6 MHz obtained by dividing the 32 into 32.

【0015】上記レジスタ群12としては、それぞれ、
各時分割チャンネル毎に、独立に押鍵を検出した際にノ
ートオン信号NONを生成し、各部へ供給するノートオ
ン生成部13、2点補間もしくは4点補間のいずれかを
指示する補間制御信号P2、読み出す波形が圧縮波形で
あるか、非圧縮波形であるかを指示する圧縮信号COM
Pを出力する復調制御部14と、波形データ読み出しの
ためのアドレス制御信号ADDCを出力するアドレス制
御部15と、上記波形データの先頭アドレスを指示する
先頭アドレス制御信号TADDCを出力する先頭アドレ
ス制御部16と、波形データに所定のエンベロープを付
与するためのエンベロープ制御信号EV1を生成するエ
ンベロープ発生制御部17とがある。
The register group 12 includes:
A note-on signal NON is generated independently for each time-division channel when a key press is detected, and supplied to each unit. Note-on generation unit 13, an interpolation control signal for instructing either two-point interpolation or four-point interpolation P2, a compressed signal COM indicating whether the waveform to be read is a compressed waveform or an uncompressed waveform
A demodulation control unit 14 for outputting P, an address control unit 15 for outputting an address control signal ADDC for reading out waveform data, and a head address control unit for outputting a head address control signal TADDC for designating a head address of the waveform data. 16 and an envelope generation control unit 17 for generating an envelope control signal EV1 for giving a predetermined envelope to the waveform data.

【0016】上記復調制御部14は、上述した外付け指
示信号OPの指示する遅延分早いタイミングで、上記圧
縮信号COMPを外付け回路7およびアドレス発生部1
8へ供給し、補間制御信号P2をアドレス発生部18
へ、また、補間制御信号P2を標準のタイミングで補間
部19へ供給する。圧縮信号COMPは、例えば、圧縮
波形データを読み出す場合には「1」となり、非圧縮デ
ータを読み出す場合には「0」となる。また、補間制御
信号P2は、2点補間の場合に「1」となり、4点補間
の場合に「0」となる。ここで、圧縮信号COMPおよ
び補間制御信号P2は共に各時分割チャンネル毎に独立
に制御部3により設定されたデータである。
The demodulation control unit 14 outputs the compression signal COMP to the external circuit 7 and the address generation unit 1 at a timing earlier by the delay indicated by the external instruction signal OP.
, And supplies the interpolation control signal P2 to the address generator 18.
And the interpolation control signal P2 is supplied to the interpolation unit 19 at standard timing. For example, the compressed signal COMP becomes “1” when reading compressed waveform data, and becomes “0” when reading uncompressed data. Further, the interpolation control signal P2 becomes "1" in the case of two-point interpolation and becomes "0" in the case of four-point interpolation. Here, both the compression signal COMP and the interpolation control signal P2 are data independently set by the control unit 3 for each time division channel.

【0017】次に、アドレス発生部18は、アドレス制
御信号ADDCおよび先頭アドレス制御信号TADD
C、外付け指示信号OP、チップ信号C2、マスター信
号MCに応じて、アドレスデータADDを生成し、該ア
ドレスデータADDを外付け指示信号OPの指示する遅
延分早いタイミングで波形メモリ6へ供給するととも
に、インクリメント信号INC、信号ODDを外付け回
路7へ供給し、さらに、アドレス小数部を標準のタイミ
ングで補間部19へ供給する。
Next, the address generator 18 generates an address control signal ADDC and a head address control signal TADD.
C, the address data ADD is generated in accordance with the external instruction signal OP, the chip signal C2, and the master signal MC, and the address data ADD is supplied to the waveform memory 6 at a timing earlier by the delay indicated by the external instruction signal OP. At the same time, the increment signal INC and the signal ODD are supplied to the external circuit 7, and the decimal part of the address is supplied to the interpolation unit 19 at standard timing.

【0018】補間部19は、補間制御信号P2、外付け
指示信号OP、チップ信号C2、マスター信号MCに応
じて、波形メモリ6からの波形データをアドレス小数部
により補間し、所定の読み出しサイクルに応じた波形デ
ータとし、これをエンベロープ発生乗算部21へ出力す
る。また、エンベロープ発生部20は、エンベロープ制
御信号EV1に応じて、32チャンネル分のエンベロー
プ信号EV2を生成し、該エンベロープ信号EV2を上
記エンベロープ乗算部21へ出力する。
The interpolating section 19 interpolates the waveform data from the waveform memory 6 by an address decimal part in accordance with the interpolation control signal P2, the external instruction signal OP, the chip signal C2, and the master signal MC, and performs a predetermined read cycle. The corresponding waveform data is output to the envelope generating and multiplying unit 21. The envelope generator 20 generates an envelope signal EV2 for 32 channels according to the envelope control signal EV1, and outputs the envelope signal EV2 to the envelope multiplier 21.

【0019】エンベロープ乗算部21は、時分割で順次
入力する32チャンネル分の波形データに、対応するエ
ンベロープ信号を付与した後、これを順次チャンネル累
算部22へ出力する。チャンネル累算部22は順次供給
される32チャンネル分の波形データを累算(ミキシン
グ)して、サンプリング周波数50KHzの1波の波形
データとしてDAC23へ出力する。DAC23は、上
記波形データをアナログ信号の楽音信号に変換した後、
前述したサウンドシステム10へ出力するようになって
いる。
The envelope multiplying section 21 adds a corresponding envelope signal to the waveform data of 32 channels which are sequentially input in a time-division manner, and sequentially outputs this to the channel accumulating section 22. The channel accumulating unit 22 accumulates (mixes) sequentially supplied waveform data for 32 channels and outputs the waveform data to the DAC 23 as one-wave waveform data having a sampling frequency of 50 KHz. The DAC 23 converts the waveform data into a tone signal of an analog signal,
The sound is output to the sound system 10 described above.

【0020】(3)音源と外付け回路との構成例 ここで、上述した外付け回路7、音源8および波形メモ
リ6の配設関係と、外付け指示信号OP、チップ信号C
2、マスター信号MCとの関係について図2を参照して
説明する。図2(a)は、1つの波形メモリ6に1つの
音源8を用いた場合の構成を示すブロック図であり、従
来と同様の構成となっている。各発音チャンネル毎に4
スロット使用できるので、4点補間で、32チャンネル
の発音が可能である。この場合、本実施例では、外付け
指示信号OPは「0」、チップ信号C2は「0」、マス
ター信号MCは「1」となる。次に、図2(b)では、
1つの波形メモリ6を2つの音源8a,8bが共有する
構成となっている。2つの音源で波形メモリのアクセス
時間を分け合い、各チャンネル当り2スロットしか使用
できないので、2点補間になってしまうが、64チャン
ネルの発音が可能である。この場合、マスターとなる音
源8aにおける外付け指示信号OPは「0」、チップ信
号C2は「1」、マスター信号MCは「1」となり、ス
レーブとなる音源8bにおける外付け指示信号OPは
「0」、チップ信号C2は「1」、マスター信号MCは
「0」となる。
(3) Configuration Example of Sound Source and External Circuit Here, the arrangement relationship of the external circuit 7, the sound source 8, and the waveform memory 6, the external instruction signal OP, the chip signal C
2. The relationship with the master signal MC will be described with reference to FIG. FIG. 2A is a block diagram showing a configuration when one sound source 8 is used for one waveform memory 6, and has a configuration similar to that of the related art. 4 for each sound channel
Since slots can be used, it is possible to generate 32 channels by four-point interpolation. In this case, in this embodiment, the external instruction signal OP is “0”, the chip signal C2 is “0”, and the master signal MC is “1”. Next, in FIG.
In this configuration, one waveform memory 6 is shared by two sound sources 8a and 8b. The access time of the waveform memory is shared by the two sound sources, and only two slots can be used for each channel. Therefore, two-point interpolation is performed, but sounding of 64 channels is possible. In this case, the external instruction signal OP of the master sound source 8a is “0”, the chip signal C2 is “1”, the master signal MC is “1”, and the external instruction signal OP of the slave sound source 8b is “0”. , The chip signal C2 is “1”, and the master signal MC is “0”.

【0021】次に、図2(c)では、1つの波形メモリ
6に対して1つの音源8が対応しており、かつ、外付け
回路7が介挿された構成となっている。この場合、4点
補間で、32チャンネルの発音が可能であるとともに、
圧縮波形および非圧縮波形の再生が可能である。この場
合、外付け指示信号OPは「1」、チップ信号C2は
「0」、そして、マスター信号MCは「1」となる。た
だし、圧縮波形については、再生ピッチが元のピッチの
4倍以上に制限される。そして、最後に、図2(d)で
は、1つの波形メモリ6を2つの音源8a,8bで共有
するとともに、各音源との間に外付け回路7a,7bが
介挿された構成となっている。この場合、読み出しは、
各チャンネル当り2スロットであるが、4点補間が可能
で、64チャンネルの発音になる。ただし、圧縮波形、
非圧縮波形とも、4点補間が可能なのは、再生ピッチが
元のピッチの2倍までであり、それ以上の再生ピッチに
ついては、信号P2により2点補間を行なうように制御
する。また、この時も、圧縮波形の再生ピッチの上限
は、元ピッチの4倍である。マスターとなる音源8aに
おける外付け指示信号OPは「2」、チップ信号C2は
「1」、マスター信号MCは「1」となり、スレーブと
なる音源8bにおける外付け指示信号OPは「2」、チ
ップ信号C2は「1」、そして、マスター信号MCは
「0」となる。
Next, in FIG. 2 (c), one sound source 8 corresponds to one waveform memory 6, and an external circuit 7 is interposed. In this case, it is possible to generate 32 channels by four-point interpolation,
Reproduction of a compressed waveform and an uncompressed waveform is possible. In this case, the external instruction signal OP is "1", the chip signal C2 is "0", and the master signal MC is "1". However, with respect to the compressed waveform, the reproduction pitch is limited to four times or more the original pitch. Finally, in FIG. 2D, one waveform memory 6 is shared by the two sound sources 8a and 8b, and external circuits 7a and 7b are interposed between the two sound sources. I have. In this case, the read is
Although there are two slots for each channel, four-point interpolation is possible, resulting in 64 channels of sound. However, the compressed waveform,
For the uncompressed waveform, the four-point interpolation can be performed up to twice the reproduction pitch of the original pitch, and the control is performed so that the two-point interpolation is performed using the signal P2 for the reproduction pitch higher than the original pitch. Also at this time, the upper limit of the playback pitch of the compressed waveform is four times the original pitch. The external instruction signal OP in the master sound source 8a is "2", the chip signal C2 is "1", the master signal MC is "1", the external instruction signal OP in the slave sound source 8b is "2", and the chip The signal C2 becomes "1", and the master signal MC becomes "0".

【0022】(4)アドレス発生部の構成 次に、前述したアドレス発生部18の構成について図3
を参照して説明する。図3は本実施例におけるアドレス
発生部18の一構成を示すブロック図である。図におい
て、30は、Fナンバ発生器であり、各時分割チャンネ
ルのピッチデータに従って、発音すべき楽音のピッチに
応じたFナンバを順次発生し、該Fナンバの整数部を全
加算器31および半加算器33へ供給し、同Fナンバの
小数部を全加算器32へ供給する。全加算器31および
全加算器32は、後述するアドレスRAM38から順次
供給される各時分割チャンネルのアドレスデータ(整数
部、小数部)に上記Fナンバ(整数部、小数部)を加算
することにより、アドレスデータをピッチに応じたステ
ップで更新する。
(4) Configuration of Address Generation Unit Next, the configuration of the above-described address generation unit 18 will be described with reference to FIG.
This will be described with reference to FIG. FIG. 3 is a block diagram showing one configuration of the address generator 18 in the present embodiment. In the figure, reference numeral 30 denotes an F-number generator, which sequentially generates F-numbers corresponding to the pitches of musical tones to be produced in accordance with the pitch data of each time-division channel, and adds an integer part of the F-number to a full adder 31 and The F number is supplied to the half adder 33, and the decimal part of the F number is supplied to the full adder 32. The full adder 31 and the full adder 32 add the F number (integer part, decimal part) to the address data (integer part, decimal part) of each time division channel sequentially supplied from the address RAM 38 described later. , The address data is updated in steps corresponding to the pitch.

【0023】また、全加算器32のキャリー(桁上げ)
は全加算器31へ供給されるとともに、上記半加算器3
3へ供給されるようになっている。これら全加算器3
1,32によって更新されたアドレスデータ(整数部、
小数部)は、アドレス制御部34へ供給される。アドレ
ス制御部34は、図1に示すアドレス制御レジスタ15
から供給されるアドレス制御データに従って、アタック
波形1回読み後ループ波形繰返し読みや、複数ループ波
形順次繰返し読み等の波形読み出し順序の制御を行なう
とともに、Fナンバに基づくアドレスデータをアドレス
RAM38のデータ入力端へ供給する。
The carry (carry) of full adder 32
Is supplied to the full adder 31 and the half adder 3
3. These full adders 3
Address data (integer part,
The decimal part is supplied to the address control unit 34. The address control unit 34 includes the address control register 15 shown in FIG.
In accordance with the address control data supplied from the controller, the control unit controls the waveform readout sequence such as the loop waveform readout after the attack waveform is read once and the multiple loop waveforms sequentially and repeatedly, and also inputs the address data based on the F number into the data in the address RAM. Feed to the end.

【0024】一方、チャンネルカウンタ35は、時分割
チャンネルをカウントし、該カウント値を全加算器37
の一方の入力端へ供給する。また、オフセット発生器3
6は、「0」、「1」、「2」、「3」、「4」のいず
れの値をとるオフセット値を発生し、上記全加算器37
の他方の入力端へ供給する。全加算器37は、上記カウ
ント値とオフセット値を加算し、これをアドレスとして
アドレスRAM38へ供給する。
On the other hand, the channel counter 35 counts the time-division channels and outputs the count value to the full adder 37.
To one of the input terminals. Also, offset generator 3
6 generates an offset value taking any value of “0”, “1”, “2”, “3”, and “4”, and the full adder 37
Is supplied to the other input terminal. The full adder 37 adds the count value and the offset value, and supplies the result to the address RAM 38 as an address.

【0025】アドレスRAM38には、上記アドレスが
供給されるタイミングに応じて、各時分割4チャンネル
を4つに分けたスロット単位の時分割で、データ入力端
DIへ供給されるアドレスデータが上記アドレスに書き
込まれるとともに、上記アドレスに格納されているアド
レスデータが読み出されてデータ出力端DOから出力さ
れる。該アドレスデータ(整数部、小数部)は、アドレ
ス更新のためのスロットでは、ラッチ回路39を介して
前述した全加算器31,32へ供給されるとともに、そ
のアドレス整数部はラッチ回路45を介して加算器47
の一方の入力端へ供給され、そのアドレス小数部は、波
形読み出しアドレス供給のための読み出しスロットで、
ラッチ回路46を介して図1に示す補間部19へ供給さ
れる。
The address RAM 38 stores the address data supplied to the data input terminal DI in a time-division manner in units of slots obtained by dividing each of the four time-division channels into four in accordance with the timing at which the addresses are supplied. And the address data stored in the above address is read and output from the data output terminal DO. The address data (integer part, decimal part) is supplied to the full adders 31 and 32 via the latch circuit 39 in the slot for updating the address, and the address integer part is supplied via the latch circuit 45. Adder 47
The address fraction is a read slot for supplying a waveform read address.
The signal is supplied to the interpolation unit 19 shown in FIG.

【0026】ここで、本実施例のアドレス発生における
時分割処理について図4を参照して説明する。図4はア
ドレス発生のタイミングを説明するためのタイムチャー
トである。上述したように、本実施例では、各チャンネ
ルを4つのタイムスロットに分割して処理を行なうよう
になっており、上記チャンネルカウンタ35のカウント
値と上記オフセット発生器36のオフセット値とによっ
て、どのチャンネルにおける処理を行なっているかを指
定するようになっている。
Here, the time division processing in address generation according to the present embodiment will be described with reference to FIG. FIG. 4 is a time chart for explaining the timing of address generation. As described above, in the present embodiment, each channel is divided into four time slots to perform processing. Depending on the count value of the channel counter 35 and the offset value of the offset generator 36, It specifies whether or not processing is being performed on the channel.

【0027】図4において、最上部の帯が時間軸上のチ
ャンネルを示しており、符号iがチャンネル番号とな
る。図では、iチャンネルを現在のチャンネルとして、
それより過去のチャンネルを負の添え字で示し、先のチ
ャンネルを正の添え字で示している。各チャンネルは、
次段に示すように、4つのタイムスロットT1〜T4に
分割されており、タイムスロットT1〜T4の各々にお
いて、アドレスRAM38に対するアドレスデータの読
み出し、書き込みが行なわれる。
In FIG. 4, the uppermost band indicates the channel on the time axis, and the symbol i is the channel number. In the figure, i-channel is the current channel,
Channels in the past are indicated by negative suffixes, and previous channels are indicated by positive suffixes. Each channel is
As shown in the next stage, the data is divided into four time slots T1 to T4. In each of the time slots T1 to T4, reading and writing of address data to and from the address RAM 38 are performed.

【0028】まず、第1のタイムスロットT1では、チ
ャンネルカウンタ35のカウント値とオフセット値との
加算値、すなわち全加算器37の出力値を読み出しアド
レスとして、アドレスRAM38からアドレス整数部お
よび小数部が読み出され、ラッチ回路39にラッチされ
る。このタイムスロットT1におけるオフセット値は、
本実施例では、常時、「+4」であり、4チャンネル分
先のチャンネルにおけるアドレス整数部が読み込まれる
ことを意味している。言換えると、iチャンネルのアド
レス整数部は過去の(i−4)チャンネルの処理におい
て読み出される。
First, in the first time slot T1, the sum of the count value of the channel counter 35 and the offset value, that is, the output value of the full adder 37 is used as a read address, and the address integer part and the decimal part are read from the address RAM 38. The data is read out and latched by the latch circuit 39. The offset value in this time slot T1 is
In this embodiment, the value is always "+4", which means that the address integer part in the channel four channels ahead is read. In other words, the address integer part of the i channel is read out in the processing of the past (i-4) channel.

【0029】次に、第2のタイムスロットT2では、チ
ャンネルカウンタ35のカウント値とオフセット値との
加算値を読み出しアドレスとして、アドレスRAM38
からアドレス整数部が読み出され、ラッチ回路45にラ
ッチされる。このタイムスロットT2におけるオフセッ
ト値は、外付け回路7の有無に応じて異なる値をとり、
外付け回路7が装着されていない場合には「0」とな
り、外付け回路7が装着されている場合には、外付け回
路7の処理速度に応じて、「+1」、「+2」、または
「+3」のいずれかの値をとる。なお、本実施例では、
前述したように、外付け指示信号OPによって外付け回
路7の有無を区別しており、上記オフセット値は、外付
け指示信号OPが「0」の場合に「0」となり、外付け
指示信号OPが「2」の場合に「+2」となるようにし
ており、「+1」および「+3」の値を用いる外付け回
路7の例は開示しないが、内部処理に応じて「+1」や
「+3」およびその他の信号OPの値が必要となる外付
け回路7も容易に考えられる。
Next, in the second time slot T2, the sum of the count value of the channel counter 35 and the offset value is used as a read address and the address RAM 38
, The address integer part is read out and latched by the latch circuit 45. The offset value in this time slot T2 takes a different value depending on the presence or absence of the external circuit 7,
When the external circuit 7 is not mounted, the value is “0”. When the external circuit 7 is mounted, “+1”, “+2”, or “+2”, or Takes any value of "+3". In this embodiment,
As described above, the presence / absence of the external circuit 7 is distinguished by the external instruction signal OP. The offset value becomes “0” when the external instruction signal OP is “0”, and the external instruction signal OP becomes “0”. In the case of “2”, “+2” is set, and an example of the external circuit 7 using the values of “+1” and “+3” is not disclosed, but “+1” or “+3” depending on internal processing. An external circuit 7 that requires the value of the signal OP and other signals can be easily considered.

【0030】次に、第3のタイムスロットT3では、チ
ャンネルカウンタ35のカウント値とオフセット値との
加算値を読み出しアドレスとして、アドレスRAM38
からアドレス小数部を読み出して、ラッチ回路46にラ
ッチする。このタイムスロットT3におけるオフセット
値は、本実施例では、常時「0」であり、現時点のチャ
ンネルにおけるアドレス小数部を出力することを意味し
ている。また、第4のタイムスロットT4では、チャン
ネルカウンタ35のカウント値とオフセット値との加算
値を書込みアドレスとして、全加算器31,32および
アドレス制御部34により更新されたアドレスデータが
書込まれる。このタイムスロットT4におけるオフセッ
ト値は、第1のタイムスロットと同様に常時「+4」で
あり、常に4チャンネル分先のチャンネルにおけるアド
レスデータを読み出し、更新されたアドレスデータが新
データとして書き込まれる。
Next, in the third time slot T3, the sum of the count value of the channel counter 35 and the offset value is used as a read address and the address RAM 38
, The address decimal part is read out and latched by the latch circuit 46. In this embodiment, the offset value in the time slot T3 is always "0", which means that the decimal part of the address at the current channel is output. Further, in the fourth time slot T4, the address data updated by the full adders 31, 32 and the address control unit 34 is written using the added value of the count value of the channel counter 35 and the offset value as a write address. The offset value in the time slot T4 is always “+4”, like the first time slot, and the address data in the channel four channels ahead is always read, and the updated address data is written as new data.

【0031】したがって、外付け回路7が装着されてい
ない場合には、例えば、iチャンネルに注目すると、該
チャンネルのアドレスデータは、4チャンネル分過去の
(i−4)チャンネルのタイムスロットT1において読
み出され、更新されたアドレスデータがT4において書
込まれる。そのアドレス整数部は、iチャンネルの第2
のタイムスロットT2で順次出力され、そのアドレス小
数部はiチャンネルの第3のタイムスロットT3から順
次出力される。これに対して、外付け回路7が装着さ
れ、信号OPに「2」が設定されている場合には、iチ
ャンネルのアドレスデータは、4チャンネル分過去の
(i−4)チャンネルにおいて更新され、そのアドレス
整数部は2チャンネル過去の(i−2)チャンネルの第
2のタイムスロットT2から順次出力され、そのアドレ
ス小数部はiチャンネルの第3のタイムスロットT3か
ら順次出力される。このように、外付け回路7が装着さ
れ、信号OPに「2」が設定されている場合には、2チ
ャンネル分前の(i−2)チャンネルにおいて、アドレ
ス整数部が出力されることになる。
Therefore, when the external circuit 7 is not mounted, for example, focusing on the i channel, the address data of the i channel is read in the time slot T1 of the (i-4) channel four channels in the past. Issued and updated address data is written in T4. The address integer part is the second of the i channel.
, And the fractional part of the address is sequentially output from the third time slot T3 of the i channel. On the other hand, when the external circuit 7 is attached and the signal OP is set to “2”, the address data of the i channel is updated in the (i−4) channel four channels in the past, The address integer part is sequentially output from the second time slot T2 of the (i-2) channel two channels before, and the address decimal part is sequentially output from the third time slot T3 of the i channel. As described above, when the external circuit 7 is mounted and “2” is set in the signal OP, the address integer part is output in the (i−2) channel two channels before. .

【0032】次に、図3に説明を戻すと、半加算器33
は、Fナンバ発生器30が出力するFナンバの整数部
と、更新されるアドレスデータの小数部のキャリー(桁
上げ)とを加算し、最大値を「4」とするアドレス進み
量ΔIを算出し、遅延回路40へ供給する。遅延回路4
0には、外付け指示信号OPが供給されており、該外付
け指示信号OPに応じて遅延時間を調整し、適切なタイ
ミングで上記アドレス進み量ΔIを後段のインクリメン
ト信号発生部41と戻り量発生部42とへ供給する。該
遅延回路40は、外付け回路7の有無に応じて、アドレ
スRAM38からアドレスデータの整数部が出力され、
ラッチ回路45にラッチされるタイミングと、上記アド
レス補正値の出力タイミングとを一致させるためのもの
である。
Next, returning to FIG.
Is calculated by adding the integer part of the F number output from the F number generator 30 and the carry (carry) of the decimal part of the updated address data to calculate the address advance amount ΔI with the maximum value being “4”. Then, the signal is supplied to the delay circuit 40. Delay circuit 4
0, the external instruction signal OP is supplied, the delay time is adjusted in accordance with the external instruction signal OP, and the address advance amount ΔI is adjusted at an appropriate timing by the increment signal generation unit 41 in the subsequent stage. To the generator 42. The delay circuit 40 outputs an integer part of the address data from the address RAM 38 according to the presence or absence of the external circuit 7,
This is to make the timing latched by the latch circuit 45 coincide with the output timing of the address correction value.

【0033】上記インクリメント信号発生器41は、ア
ドレス進み量ΔIに応じて、4ビットのシリアルデータ
からなるインクリメント信号INC1,INC2,INC
3,INC4を発生し、これを外付け回路7に設けられた
復調回路64へ供給する。このインクリメント信号IN
C1,INC2,INC3,INC4は、再生すべき圧縮波
形データの数に一致したパルス信号であり、上記復調回
路は該インクリメント信号INCi(i=1,2,3,
4)のパルスに従って、復調動作を行なうようになって
いる。
The increment signal generator 41 generates increment signals INC1, INC2, INC consisting of 4-bit serial data according to the address advance amount ΔI.
3, INC4 is generated and supplied to a demodulation circuit 64 provided in the external circuit 7. This increment signal IN
C1, INC2, INC3, and INC4 are pulse signals corresponding to the number of compressed waveform data to be reproduced, and the demodulation circuit uses the increment signal INCi (i = 1, 2, 3, 3).
The demodulation operation is performed according to the pulse of 4).

【0034】例えば、アドレス進み量ΔIが「0」の場
合にはインクリメント信号INC1〜INC4の全てが
「0」となり、ΔIが「1」の場合にはインクリメント
信号INC1のみが「1」で、インクリメント信号IN
C2〜INC4は「0」となる。また、アドレス進み量Δ
Iが「2」の場合にはインクリメント信号INC1およ
びINC2が「1」で、他のインクリメント信号INC
3,INC4は「0」となる。さらに、アドレス進み量Δ
Iが「3」の場合にはインクリメント信号INC1〜I
NC3が「1」となり、インクリメント信号INC4は
「0」となり、ΔIが「4」の場合にはインクリメント
信号INC1〜INC4の全てが「1」となる。
For example, when the address advance amount .DELTA.I is "0", all of the increment signals INC1 to INC4 become "0", and when the address advance amount .DELTA.I is "1", only the increment signal INC1 is "1". Signal IN
C2 to INC4 are "0". Also, the address advance amount Δ
When I is "2", the increment signals INC1 and INC2 are "1" and the other increment signals INC
3, INC4 becomes "0". Further, the address advance amount Δ
When I is "3", the increment signals INC1 to INC1
NC3 becomes “1”, the increment signal INC4 becomes “0”, and when ΔI is “4”, all of the increment signals INC1 to INC4 become “1”.

【0035】圧縮波形を再生する際のアドレス進み量△
IおよびINC信号について説明したが、続いて、非圧
縮波形再生の場合について説明する。この場合、波形が
圧縮されていないので外付け回路7の機能のうち、圧縮
波形のデコード機能は必要がなく、補間のための過去サ
ンプルを供給する機能のみ使用される。この機能が利用
されるのは、2音源構成(チップ信号C2が「1」)、
かつ、外付け回路7付き(信号OPが「0」でない)、
かつ、4点補間(信号P2が「0」)が選択されている
時分割チャンネルの場合であるが、その時は、上述した
圧縮波形を再生する場合と同じ具合でアドレス進み量△
IおよびINC信号が発生する。
Address advance amount when reproducing a compressed waveform 圧 縮
Having described the I and INC signals, the case of non-compressed waveform reproduction will now be described. In this case, since the waveform is not compressed, the function of the external circuit 7 for decoding the compressed waveform is not necessary, and only the function of supplying past samples for interpolation is used. This function is used in two sound source configuration (chip signal C2 is "1"),
And with an external circuit 7 (signal OP is not "0"),
In the case of a time-division channel in which four-point interpolation (signal P2 is "0") is selected, in this case, the amount of address advance △
I and INC signals are generated.

【0036】その他の場合についてであるが、一番わか
りやすいのは外付け回路7なし(信号OPが「0」)の
場合であり、この時にはアドレス進み量△IおよびIN
C信号は使用されないのでどのようになっていてもよ
い。一方、外付け回路7付き(信号OPが「0」でな
い)で、残る1音源構成(チップ信号C2が「0」)、
または、4点補間(信号P2が「0」)が選択されてい
る時分割チャンネルの場合であるが、この時は、外付け
回路7が装着されているものの、その回路の機能は必要
としないので、波形メモリから読みだされた波形が所定
の時間遅れのみを伴って外付け回路7からそのまま出力
されるように制御すればよい。即ち、INC信号につい
ては、アドレス進み量△Iの値にかかわらず、そのアク
セス期間(1音源構成の時、全4スロット。2音源構成
の時、信号MCに応じた前半または後半の2スロッ
ト。)において無条件にパルスを発生させ、そのスロッ
トで読まれた波形を外付け回路7に取り込ませる。
In the other cases, the easiest to understand is the case where there is no external circuit 7 (the signal OP is "0"). At this time, the address advance amounts ΔI and IN
Since the C signal is not used, it may be in any manner. On the other hand, with the external circuit 7 (the signal OP is not "0"), the remaining one sound source configuration (the chip signal C2 is "0"),
Alternatively, this is the case of a time division channel in which four-point interpolation (signal P2 is “0”) is selected. In this case, although the external circuit 7 is mounted, the function of the circuit is not required. Therefore, control may be performed so that the waveform read from the waveform memory is directly output from the external circuit 7 with only a predetermined time delay. That is, the access period of the INC signal is irrespective of the value of the address advance amount △ I (the total of four slots in the case of one tone generator configuration, and the first or second half of the second half according to the signal MC in the case of two tone generator configuration). In ()), a pulse is generated unconditionally, and the waveform read in that slot is taken into the external circuit 7.

【0037】また、戻り量発生部42は、上記アドレス
進み量ΔIに「−1」を乗算した後、「1」を加算し
て、この結果をセレクタ43へ供給する。したがって、
戻り量発生部42からは「1」、「0」、「−1」、
「−2」、「−3」のいずれかの値が戻り量として出力
される。上記セレクタ43には、上記戻り量発生部42
の出力以外に「−3」、「−2」なる一定値が供給され
ており、セレクタ43は、2点補間信号P2およびチッ
プ信号C2に応じて、上記戻り量発生部42から供給さ
れる値か、または「−2」、あるいは「−3」のいずれ
かを選択的にビット拡大部44へ供給する。
The return amount generator 42 multiplies the address advance amount ΔI by “−1”, adds “1”, and supplies the result to the selector 43. Therefore,
From the return amount generation unit 42, “1”, “0”, “−1”,
One of the values “−2” and “−3” is output as the return amount. The selector 43 includes the return amount generation unit 42
, And constant values “−3” and “−2” are supplied to the selector 43. In response to the two-point interpolation signal P2 and the chip signal C2, the selector 43 outputs a value supplied from the return amount generation unit 42. , Or "-2" or "-3" is selectively supplied to the bit enlargement unit 44.

【0038】3つの入力のうち、戻り量発生部の発生す
る戻り量は、外付け回路7の機能を使用する場合に選択
される。即ち、外付け回路7付き(信号OPが「0」で
ない)で、圧縮波形を再生中の発音チャンネル(信号C
OMPが「1」)の場合、もしくは2音源構成(チップ
信号C2が「1」)、かつ、外付け回路7付き(信号O
Pが「0」でない)、かつ、4点補間(信号P2が
「0」)が選択されている時分割チャンネルの場合であ
る。アドレス進み量△Iは、ラッチ回路45にラッチさ
れた各時分割チャンネルのアドレス整数部が(4チャン
ネル時間前の)対応するアドレス更新演算でいくつ進ん
だかを示しており、一方、戻り量は、ラッチ回路45に
ラッチされた該アドレス整数部を、その時進んだ中の1
つめのアドレスに戻すための引き算値として、戻り量
{(−1)*△I+1}を発生している。
Of the three inputs, the return amount generated by the return amount generator is selected when the function of the external circuit 7 is used. That is, with the external circuit 7 (signal OP is not “0”), the sounding channel (signal C
When OMP is “1”, or in a two-sound source configuration (chip signal C2 is “1”) and with an external circuit 7 (signal O
This is the case of a time division channel in which P is not “0”) and four-point interpolation (signal P2 is “0”) is selected. The address advance amount 示 し I indicates how many address integer portions of each time-division channel latched by the latch circuit 45 have advanced by the corresponding address update operation (four channel time ago), while the return amount is The address integer part latched by the latch circuit 45 is stored in the address
A return amount {(-1) * {I + 1}} is generated as a subtraction value for returning to the second address.

【0039】一方、残りの「−2」および「−3」の一
定値の入力は、外付け回路7の機能を使用しない場合
(つまり、上記使用する場合以外の場合)に選択され
る。さらに、この2つの値のうち、「−2」が選ばれる
のはその時分割チャンネルにて2点補間を行っている場
合(信号P2が「1」)であり、「−3」が選択される
のは4点補間を行っている場合(P2が「0」)であ
る。この「−2」と「−3」の値は、それぞれ、2点補
間および4点補間による補間サンプルのラッチ回路45
にラッチされたアドレス整数部に対する相対位置を、外
付け回路7を使用する場合の4点補間による補間サンプ
ルの場合と同じにするための値である。
On the other hand, the remaining constant values of "-2" and "-3" are selected when the function of the external circuit 7 is not used (that is, when the function is not used). Further, of these two values, “−2” is selected when two-point interpolation is performed in the time division channel (the signal P2 is “1”), and “−3” is selected. Indicates the case where the four-point interpolation is performed (P2 is “0”). The values of “−2” and “−3” are stored in the latch circuit 45 of the interpolated sample by two-point interpolation and four-point interpolation, respectively.
This is a value for making the relative position with respect to the address integer part latched at the same value as the case of the interpolated sample by the four-point interpolation when the external circuit 7 is used.

【0040】先に、16ビットの非圧縮波形データおよ
び16ビットの波形を8ビットに圧縮した圧縮波形デー
タを記憶する波形メモリ6の記憶フォーマットについて
説明しておく。波形メモリ6の出力データ幅は16ビッ
トであり、非圧縮波形データは1アドレス1サンプルで
順次記憶されている。一方、圧縮波形データの記憶形式
は図6のようになっており、順次連続する8ビットの圧
縮波形サンプルのうち、偶数番目の8ビットサンプルと
それに続く奇数番目の8ビットサンプルが、それぞれ1
6ビットデータの下位8ビットおよび上位8ビットとし
て結合され、得られた16ビットデータが波形メモリ6
の各アドレスに順次記憶されている。16ビットから8
ビットへの圧縮には、2次のLPC方式もしくはDPC
M方式が使われており、順次供給される圧縮波形デコー
ドのためには、過去の圧縮波形サンプルのデコードされ
た再生サンプルが必要である。つまり、圧縮波形のデコ
ード再生においてはサンプルを飛び越すことは許されな
いわけであり、本実施例では1音源構成の場合1時分割
チャンネルごとに最大4つの圧縮波形サンプルまで、2
音源構成では最大3サンプルまで、しかデコードできな
いので、圧縮波形を再生する時分割チャンネルについて
は上述したFナンバの値は、それぞれ、場合毎に「4」
以下、および「3」以下に制限される。なお、アドレス
RAM38中のアドレスのうち、圧縮波形を読みだして
いる時分割チャンネルのアドレスの値は波形メモリの各
アドレスではなく、読出す圧縮波形の各サンプルの番号
(図6における円で囲んだ数字、0、1、2、・・・
・)を示しており、従って、波形メモリの読み出しアド
レスは、RAM38中のアドレスが「2」進む毎に
「1」進む。その詳細は、シフトダウン部48とともに
後で説明する。
First, the storage format of the waveform memory 6 for storing 16-bit uncompressed waveform data and compressed waveform data obtained by compressing a 16-bit waveform to 8 bits will be described. The output data width of the waveform memory 6 is 16 bits, and the uncompressed waveform data is sequentially stored at one address and one sample. On the other hand, the storage format of the compressed waveform data is as shown in FIG. 6, and among the successive 8-bit compressed waveform samples, the even-numbered 8-bit sample and the odd-numbered 8-bit sample following it are each 1 bit.
The lower 16 bits and the upper 8 bits of the 6-bit data are combined, and the obtained 16-bit data is stored in the waveform memory 6.
Are sequentially stored at each address. 16 bits to 8
For compression into bits, the secondary LPC method or DPC
The M system is used, and decoding of sequentially supplied compressed waveforms requires decoded playback samples of past compressed waveform samples. That is, in decoding and reproducing the compressed waveform, it is not allowed to skip samples. In the present embodiment, in the case of one sound source configuration, up to four compressed waveform samples can be obtained for each time division channel.
Since only a maximum of three samples can be decoded in the sound source configuration, the value of the above-mentioned F number for the time-division channel for reproducing the compressed waveform is “4” in each case.
Or less and “3” or less. It should be noted that among the addresses in the address RAM 38, the value of the address of the time-division channel from which the compressed waveform is read is not the address of the waveform memory but the number of each sample of the compressed waveform to be read (circled in FIG. 6). Number, 0, 1, 2, ...
.), The read address of the waveform memory advances by “1” each time the address in the RAM 38 advances by “2”. The details will be described later together with the shift-down unit 48.

【0041】図3に示すラッチ回路45から出力される
アドレス整数部は、読出す波形データの最終アドレスを
指示するようになっている(ただし、2点補間について
だけは、補間の位相をあわせる関係で例外的にそうなっ
ていない)。すなわち、ある時分割チャンネルのアドレ
スがラッチ回路45にラッチされて、波形メモリ6の読
み出しが行われた後では、該ラッチされたアドレス以前
に記憶されているサンプルは既に最低1回読みだされ再
生されている。上述したように、圧縮波形をデコードす
るためには過去にデコードされたサンプルが必要なわけ
であるが、この場合、アドレスRAM38中の各時分割
チャンネルのアドレスは、その対応する読み出しデコー
ドが行われた後の時点において、既にデコード再生し終
わっているサンプルの最終アドレスを示しているので、
その次のアドレス更新時の同発音チャンネルの処理で
は、更新前のアドレスの1つ後のアドレスの圧縮波形サ
ンプルから更新後のアドレスの圧縮波形サンプルまでを
1つずつ順次読みだしてデコードすればよい。半加算器
33の出力するアドレス進み量△Iは、このアドレス更
新において同発音チャンネルのアドレスの整数部がいく
つ進んだかを示しており、その更新後の読み出しにおい
てデコードすべき圧縮波形のサンプル数に対応してい
る。アドレス進み量△Iに応じて、INC発生器41は
デコードするサンプル数(非圧縮波形については更新す
るサンプル数)のパルスをインクリメント信号として発
生し、一方、戻り量発生部42は、ラッチ回路45にラ
ッチされた該更新後のアドレスの整数部を、加算器47
にて上述した更新前のアドレスの1つ後のアドレスに戻
すための、戻り量を発生している。なお、圧縮波形にお
ける補間は、ラッチ回路45にラッチされたアドレスか
ら前方向に4つ分の連続する4サンプルについて行わ
れ、補間サンプルの位置はその2つめと3つめのサンプ
ルの間である。
The address integer part output from the latch circuit 45 shown in FIG. 3 indicates the final address of the waveform data to be read (however, only for two-point interpolation, the phase of the interpolation is matched). Exceptionally not). That is, after the address of a certain time-division channel is latched by the latch circuit 45 and the waveform memory 6 is read, the samples stored before the latched address are already read at least once and reproduced. Have been. As described above, in order to decode a compressed waveform, samples decoded in the past are necessary. In this case, the address of each time-division channel in the address RAM 38 is subjected to the corresponding read decoding. Since the last address of the sample that has already been decoded and played back is shown after
In the processing of the same sounding channel at the time of the next address update, the compressed waveform sample at the address immediately after the address before the update and the compressed waveform sample at the address after the update may be sequentially read and decoded one by one. . The address advance amount △ I output from the half adder 33 indicates how many integer portions of the address of the same sounding channel have advanced in this address update, and corresponds to the number of compressed waveform samples to be decoded in the read after the update. Yes, it is. In accordance with the address advance amount ΔI, the INC generator 41 generates a pulse of the number of samples to be decoded (the number of samples to be updated for an uncompressed waveform) as an increment signal. The integer part of the updated address latched by
, A return amount for returning to the address immediately after the address before update described above is generated. The interpolation in the compressed waveform is performed for four consecutive four samples in the forward direction from the address latched by the latch circuit 45, and the position of the interpolated sample is between the second and third samples.

【0042】次に、非圧縮波形で4点補間する場合にセ
レクタ43の選択する「−3」の値について説明する。
この場合、加算器47の出力するアドレスを該4サンプ
ルの最初のサンプルのアドレスとして、後述する補助カ
ウンタ49および加算器50の働きにより、4点補間に
必要な連続する4サンプルを1時分割チャンネルの4ス
ロットで順次読出す。ラッチ回路45にラッチされたア
ドレス整数部と補間サンプル位置の関係を、圧縮波形に
おける4点補間と同じにするためには、ラッチ回路45
の該アドレス整数部を該4サンプルの4番目のサンプル
のアドレスになるようにすればよい。後述する補間カウ
ンタ49の発生する値が「0」、「1」、「2」、
「3」であるので、加算器47における加算値を「−
3」とすれば、加算器50における補間カウンタの出力
値と総合して、「−3」、「−2」、「−1」、「0」
となり、それが実現する。
Next, the value of "-3" selected by the selector 43 when performing four-point interpolation with an uncompressed waveform will be described.
In this case, the address output from the adder 47 is set as the address of the first sample of the four samples, and by the operation of the auxiliary counter 49 and the adder 50 described later, four consecutive samples necessary for the four-point interpolation are divided into one time-division channel. Are sequentially read in four slots. In order to make the relationship between the address integer part latched by the latch circuit 45 and the interpolation sample position the same as the four-point interpolation in the compressed waveform, the latch circuit 45
May be set to be the address of the fourth sample of the four samples. When the value generated by an interpolation counter 49 described later is “0”, “1”, “2”,
Since it is “3”, the addition value in the adder 47 is “−”.
If "3", the output value of the interpolation counter in the adder 50 is combined with "-3", "-2", "-1", "0".
And it will be realized.

【0043】一方、非圧縮波形2点補間の時分割チャン
ネルでは、セレクタ43にて「−2」が選択される。こ
の場合、補間のためには連続する2サンプルが必要で、
波形メモリ6から順次読みだされた連続する2サンプル
の間で直線補間が行われる。この時の2サンプルとして
は、4点補間の場合の連続する4サンプルのうちの真中
の2つを使用したほうがよい。なぜならば、4点補間の
場合に補間されるサンプルの位置は該真中の2サンプル
の間であり、その4点補間で得られる補間サンプルに対
して2点補間の際の補間サンプルの位相をあわせるた
め、2点補間を該真中の2サンプルで行うようにする。
2点補間の場合、補間カウンタ49は「0」、「1」を
発生するので、セレクタ43で「−2」を選択すると、
その2つの加算値を総合すると「−2」、「−1」とな
り、それが実現する。位相をあわせる理由は、波形を4
点補間にするか2点補間にするかでサンプルの位置が変
わるため、例えば2波形を混合する場合等に、波形の補
間方法を切り換えたことで音色が大きく変化してしまう
のを防ぐためである。
On the other hand, the selector 43 selects “−2” for the time division channel of the non-compressed waveform two-point interpolation. In this case, two consecutive samples are needed for interpolation,
Linear interpolation is performed between two consecutive samples sequentially read from the waveform memory 6. As the two samples at this time, it is better to use the middle two of four consecutive samples in the case of four-point interpolation. Because, in the case of four-point interpolation, the position of the sample to be interpolated is between the two middle samples, and the phase of the interpolated sample at the time of two-point interpolation is adjusted to the interpolated sample obtained by the four-point interpolation. Therefore, two-point interpolation is performed on the two samples at the center.
In the case of two-point interpolation, the interpolation counter 49 generates “0” and “1”.
When the two added values are combined, they become "-2" and "-1", which are realized. The reason for adjusting the phase is that the waveform
Since the sample position changes depending on whether the point interpolation or the two-point interpolation is used, for example, when two waveforms are mixed, the timbre is largely prevented from being changed by switching the waveform interpolation method. is there.

【0044】ビット数拡大部44は、セレクタ43の出
力する各種データ(4ビット程度)のビット数を加算器
47における演算ビット数(16〜20ビット程度)ま
で符号拡張する回路である。
The bit number expansion section 44 is a circuit for sign-extending the number of bits of various data (about 4 bits) output from the selector 43 to the number of operation bits (about 16 to 20 bits) in the adder 47.

【0045】このように、加算器47において補正され
たアドレス整数部の最下位ビット(1ビット)は信号O
DDとして外付け回路7へ供給され、そのビットも含む
全ビットがシフトダウン部48へ供給される。上記信号
ODDは、16ビット長の波形メモリ6から8ビットの
圧縮波形データを取り出す際、下位8ビットから取り出
すか、上位8ビットから取り出すかを指示する信号であ
る。シフトダウン部48は、圧縮信号COMPが「1」
の場合に、アドレスデータを1ビットシフトダウンして
加算器50へ供給する。
As described above, the least significant bit (1 bit) of the address integer part corrected by the adder 47 is the signal O.
DD is supplied to the external circuit 7, and all bits including that bit are supplied to the shift-down unit 48. The signal ODD is a signal for instructing whether to extract from the lower 8 bits or the upper 8 bits when extracting 8-bit compressed waveform data from the 16-bit waveform memory 6. The shift-down unit 48 sets the compression signal COMP to “1”.
, The address data is shifted down by one bit and supplied to the adder 50.

【0046】圧縮波形が読みだされる時分割チャンネル
では、加算回路47の出力するアドレス整数部がシフト
ダウン部48において1ビットシフトダウンされる。該
シフトダウンにより、ラッチ回路45や加算器47にお
けるアドレスが「2」進む毎に「1」進むアドレスが生
成されシフトダウン部48から出力される。すなわち、
圧縮波形の各サンプル番号を示すアドレスは、シフトダ
ウン部48において、波形メモリ6を読み出すためのア
ドレスに変換されるわけである。
In the time-division channel from which the compressed waveform is read, the address integer part output from the adding circuit 47 is shifted down by one bit in the shift-down unit 48. As a result of the downshift, each time the address in the latch circuit 45 or the adder 47 advances by “2”, an address that advances by “1” is generated and output from the downshift unit. That is,
The address indicating each sample number of the compressed waveform is converted into an address for reading out the waveform memory 6 in the shift-down unit 48.

【0047】また、補間カウンタ49は、4点分の波形
データ(補間データ)を順次読み出すため、もしくは2
つの音源に対して各々2点分の波形データを順次読み出
すために、アドレスを進めるためのカウンタであり、音
源が1チップのとき、「0」、「1」、「2」、「3」
なる値を1チャンネルの4スロット内において順次、加
算器50へ供給し、音源が2チップのとき、「0」、
「1」、「0」、「1」なる値を同4スロット内におい
て順次、加算器50へ供給する。
The interpolation counter 49 is used to sequentially read out four points of waveform data (interpolation data),
A counter for advancing the address in order to sequentially read out two points of waveform data for each of two sound sources. When the sound source is one chip, "0", "1", "2", "3"
Are sequentially supplied to the adder 50 in four slots of one channel, and when the sound source is two chips, “0”,
The values “1”, “0”, and “1” are sequentially supplied to the adder 50 in the same four slots.

【0048】上記加算器50は、上記アドレスデータに
スタートアドレスを加算するとともに、上記補間カウン
タ49から各時分割チャンネルの4つのスロットのタイ
ミングで供給される「0」、「1」、「2」、「3」
(もしくは「0」、「1」、「0」、「1」)なる値を
加算し、4点分のアドレスデータを順次作成してゲート
回路51へ供給する。ゲート回路51は、上記4点分の
アドレスデータの出力タイミングを制御するもので、音
源が1チップの場合には常時、開状態となり、音源が2
チップの場合には、マスタ側の音源に対してはアドレス
データの前半の2タイムスロットだけが開状態となり、
スレーブ側の音源に対してはアドレスデータの後半の2
タイムスロットだけが開状態となる。したがって、波形
メモリ6のアクセス時間、すなわち各4チャンネル毎の
全4スロットのうち、前半の2スロットをマスター側
が、後半の2スロットをスレーブ側の音源が使用する。
このようにして得られたアドレスデータは波形メモリ6
へ供給される。波形メモリ6からは、上記アドレスデー
タに応じて波形データが読み出され、外付け回路7へ供
給される。
The adder 50 adds a start address to the address data, and “0”, “1”, “2” supplied from the interpolation counter 49 at the timing of four slots of each time division channel. , "3"
(Or “0”, “1”, “0”, “1”) are added, and address data for four points are sequentially created and supplied to the gate circuit 51. The gate circuit 51 controls the output timing of the address data for the above-mentioned four points.
In the case of a chip, only the first two time slots of the address data are opened for the sound source on the master side,
For the sound source on the slave side, the second half of the address data
Only the time slot is open. Therefore, of the access time of the waveform memory 6, that is, of the four slots for each four channels, the former two slots are used by the master side and the latter two slots are used by the slave side sound source.
The address data thus obtained is stored in the waveform memory 6
Supplied to The waveform data is read from the waveform memory 6 in accordance with the address data and supplied to the external circuit 7.

【0049】(5)外付け回路の構成 次に、外付け回路7について図5を参照して説明する。
図5は外付け回路7の構成を示すブロック図である。図
において、遅延回路55は、波形メモリ6から読み出さ
れた波形データ(16ビット)を1タイムスロット分遅
延し、遅延回路56へ供給するとともに、セレクタ57
の一方の入力端へ供給する。遅延回路56は、上記遅延
回路55が出力する波形データ(4点分)を2タイムス
ロット分遅延し、上記セレクタ57の他方の入力端へ順
次供給する。
(5) Configuration of External Circuit Next, the external circuit 7 will be described with reference to FIG.
FIG. 5 is a block diagram showing the configuration of the external circuit 7. In the figure, a delay circuit 55 delays the waveform data (16 bits) read from the waveform memory 6 by one time slot, supplies the delayed data to a delay circuit 56, and a selector 57.
To one of the input terminals. The delay circuit 56 delays the waveform data (for four points) output from the delay circuit 55 by two time slots and sequentially supplies the delayed data to the other input terminal of the selector 57.

【0050】セレクタ57は、通常、遅延回路56の出
力、すなわち2タイムスロット分(遅延回路55の遅延
を合せて3タイムスロット分)遅延した波形データ(4
点分)を後段へ順次出力し、2チップの音源を用いる場
合には、スレーブ側の外付け回路7にて、遅延回路55
の出力、すなわち1タイムスロット分遅延した波形デー
タ(4点分)を後段へ順次出力する。これは、2チップ
の音源を用いる場合には、マスター側の外付け回路は4
点分の波形データのうち、前半の2点(I,II)を用
い、スレーブ側の外付け回路は4点分の波形データのう
ち、前半の2点が供給されるタイミングに対して、2タ
イムスロット分遅れて供給される後半の2点(III,
IV)を用いるためである。そこで、セレクタ57は、
4タイムスロットのうち、前半の2タイムスロットを用
いるマスター側では、遅延回路56によって遅延された
波形データを出力し、後半の2タイムスロットを用いる
スレーブ側では遅延回路55の出力する波形データを出
力するようになっている。
The selector 57 normally outputs the output of the delay circuit 56, that is, the waveform data (4) delayed by two time slots (three time slots including the delay of the delay circuit 55).
In the case where a two-chip sound source is used, a delay circuit 55 is provided by the external circuit 7 on the slave side.
, That is, the waveform data (for four points) delayed by one time slot is sequentially output to the subsequent stage. This means that when a two-chip sound source is used, the external circuit on the master
Of the waveform data for the points, the first two points (I, II) are used, and the external circuit on the slave side determines the timing of supplying the first two points of the waveform data for four points by two points. The latter two points (III,
IV). Therefore, the selector 57
Of the four time slots, the master side using the first two time slots outputs the waveform data delayed by the delay circuit 56, and the slave side using the latter two time slots outputs the waveform data output from the delay circuit 55. It is supposed to.

【0051】次に、セレクタ58は、セレクタ57から
直接供給される波形データの上位8ビット、または下位
8ビットのいずれか、もしくは遅延回路59,60,6
1によって1タイムスロット分遅延された波形データの
上位8ビットまたは下位8ビットを、最終的な波形デー
タの下位8ビットとして選択的に出力するようになって
いる。
Next, the selector 58 selects one of the upper 8 bits or lower 8 bits of the waveform data supplied directly from the selector 57, or the delay circuits 59, 60, 6
The upper 8 bits or lower 8 bits of the waveform data delayed by one time slot by 1 are selectively output as the lower 8 bits of the final waveform data.

【0052】ここで、セレクタ58の出力選択について
図7を参照して説明する。図7は16ビット長の波形メ
モリ6から各時分割チャンネルにおいて8ビットの圧縮
波形データを読み出す際の動作を説明するための図であ
る。図7(a)に示すように、16ビット長の波形メモ
リ6には、前述したように、各アドレスの下位8ビッ
ト、上位8ビット毎に、8ビットに圧縮された圧縮波形
データが順次格納されている。波形メモリ6は、供給さ
れるアドレスに従って、16ビット長の波形データ(2
つの圧縮波形データを含む)を順次出力する。したがっ
て、この波形メモリ6から、図7(b)に示すような8
ビットの圧縮波形データを順番に取り出すためには、上
記16ビット長の波形データを所定のタイミングで振分
ける必要がある。すなわち、図5に示すセレクタ58に
は、同一タイミングで第1および第2の圧縮波形データ
(16ビット)が供給されるので、信号ODDが「0」
のとき、すなわちデコードすべき最初の圧縮サンプルが
最初の読み出しデータの下位8ビットに入っている場合
は、当該時分割チャンネルの第1スロットで第1の圧縮
波形データを出力するには入力端Aに直接供給される下
位8ビットのデータを出力すればよい。
Here, the output selection of the selector 58 will be described with reference to FIG. FIG. 7 is a diagram for explaining the operation when reading out 8-bit compressed waveform data in each time-division channel from the 16-bit waveform memory 6. As shown in FIG. 7A, the 16-bit waveform memory 6 sequentially stores compressed waveform data compressed to 8 bits for each of the lower 8 bits and the upper 8 bits of each address as described above. Have been. The waveform memory 6 stores 16-bit waveform data (2
(Including two compressed waveform data). Therefore, from this waveform memory 6, 8 as shown in FIG.
In order to sequentially take out compressed bit waveform data, it is necessary to distribute the 16-bit length waveform data at a predetermined timing. That is, since the first and second compressed waveform data (16 bits) are supplied to the selector 58 shown in FIG. 5 at the same timing, the signal ODD becomes “0”.
In other words, when the first compressed sample to be decoded is included in the lower 8 bits of the first read data, the input terminal A outputs the first compressed waveform data in the first slot of the time division channel. It is sufficient to output the lower 8 bits of data directly supplied to.

【0053】次に、第2スロットで第2の圧縮波形デー
タを出力するには、1タイムスロット分遅延された同一
の読み出しデータの上位8ビットのデータを出力すれば
よい。したがって、入力端Dに供給される、遅延回路5
9が出力する1タイムスロット分遅延された上位8ビッ
トのデータを出力すればよい。次に、第3の圧縮波形デ
ータは、波形メモリから2番目に読み出された読み出し
データの下位8ビットに入っているので、該データを出
力するには、第3スロットで1タイムスロット分遅延さ
れた下位8ビットのデータ、すなわち遅延回路60から
入力端Cに供給される下位8ビットのデータを出力すれ
ばよい。さらに、第4の圧縮波形データを出力するに
は、第4スロットで2タイムスロット分遅延された上位
8ビットのデータ、すなわち遅延回路61から入力端E
に供給される上位8ビットのデータを出力すればよい。
Next, in order to output the second compressed waveform data in the second slot, the upper 8 bits of the same read data delayed by one time slot may be output. Therefore, the delay circuit 5 supplied to the input terminal D
It is sufficient to output the data of the upper 8 bits delayed by one time slot output by 9. Next, since the third compressed waveform data is included in the lower 8 bits of the read data read second from the waveform memory, the data is output by delaying one time slot in the third slot. It is sufficient to output the lower 8 bits of the data, that is, the lower 8 bits of data supplied from the delay circuit 60 to the input terminal C. Further, in order to output the fourth compressed waveform data, the upper 8 bits of data delayed by two time slots in the fourth slot, that is, from the delay circuit 61 to the input terminal E
, The upper 8 bits of the data supplied to the data processor may be output.

【0054】これに対して、信号ODDが「1」のと
き、すなわちデコードすべき最初の圧縮サンプルが最初
の読み出しデータの上位8ビットに入っている場合に
は、セレクタ58は、図7(c)の右側に示すように、
各時分割チャンネルの第1〜第4のスロットにおいて、
入力端B,A,D,Cの順で順次出力すればよい。ま
た、圧縮されていない波形データを読み出す場合には、
ゲート回路62を開状態として、セレクタ57から出力
される上位8ビットのデータを後段へ出力するととも
に、セレクタ58によって入力端Aに供給される下位8
ビットのデータを後段へ出力すればよい。この選択によ
り、セレクタ57の出力で上位8ビット、下位8ビット
に分離されたデータがノンリニア拡張部63の直前で再
び16ビットに合成される。セレクタ58から出力され
た圧縮波形データもしくは非圧縮波形データは、ノンリ
ニア拡張部63へ供給される。なお、該波形データは、
圧縮波形データの場合には、セレクタが出力する8ビッ
トデータであり、非圧縮波形データの場合には、当然、
ゲート回路62を介して供給される上位8ビットを加え
た16ビットデータとなる。
On the other hand, when the signal ODD is “1”, that is, when the first compressed sample to be decoded is included in the upper 8 bits of the first read data, the selector 58 sets the signal in FIG. ) To the right of
In the first to fourth slots of each time division channel,
What is necessary is just to output sequentially in the order of the input terminals B, A, D and C. When reading uncompressed waveform data,
With the gate circuit 62 in the open state, the upper 8 bits of data output from the selector 57 are output to the subsequent stage, and the lower 8 bits supplied to the input terminal A by the selector 58 are output.
The bit data may be output to the subsequent stage. By this selection, the data separated into the upper 8 bits and the lower 8 bits at the output of the selector 57 are combined again into 16 bits immediately before the nonlinear extension section 63. The compressed waveform data or the non-compressed waveform data output from the selector 58 is supplied to the non-linear expansion unit 63. The waveform data is
In the case of compressed waveform data, it is 8-bit data output by the selector, and in the case of uncompressed waveform data,
This becomes 16-bit data obtained by adding the upper 8 bits supplied via the gate circuit 62.

【0055】次に、ノンリニア拡張部63は、圧縮信号
COMPが「1」、すなわち圧縮波形サンプルが供給さ
れた場合には、上記8ビットの圧縮波形データをログ
(対数値)からリニア(直線値)へ伸張するとともに、
符号を拡張して16ビット長の波形データに変換した
後、復調回路64へ供給する。つまり、前述した2次の
LPCまたはDPCMによる圧縮に加えて、その2次の
LPCまたはDPCMで生成された残差波形がさらにリ
ニア→対数変換されて、波形メモリ6に記憶する8ビッ
トの圧縮波形になっているわけである。一方、圧縮信号
COMPが「0」の場合には、供給される16ビットの
非圧縮波形データをそのまま復調回路64へ供給する。
Next, when the compressed signal COMP is “1”, that is, when a compressed waveform sample is supplied, the non-linear expansion unit 63 converts the 8-bit compressed waveform data from a log (logarithmic value) to a linear (linear value). )
After the code is expanded and converted into 16-bit length waveform data, it is supplied to the demodulation circuit 64. That is, in addition to the above-described compression by the secondary LPC or DPCM, the residual waveform generated by the secondary LPC or DPCM is further subjected to linear-to-logarithmic conversion, and the compressed 8-bit waveform stored in the waveform memory 6. That is to say. On the other hand, when the compression signal COMP is “0”, the supplied 16-bit uncompressed waveform data is supplied to the demodulation circuit 64 as it is.

【0056】復調回路64の内部では、供給される圧縮
波形データと、前回復調した波形データとに基づいて、
波形データを復調するようになっている。特に、2次の
LPCによる圧縮波形データの場合には、差分データ
(圧縮データ)が入力されると、1サンプリング周期
(=32チャンネル分の時間)分遅延された復調波形デ
ータと、2サンプリング周期分遅延された復調波形デー
タとに係数A0,A1を乗算した後、該乗算結果を上記差
分データに加算することによって、波形データを復調す
るようになっている。
Inside the demodulation circuit 64, based on the supplied compressed waveform data and the previously demodulated waveform data,
Waveform data is demodulated. In particular, in the case of compressed waveform data by secondary LPC, when differential data (compressed data) is input, demodulated waveform data delayed by one sampling period (= 32 channel time) and two sampling periods After multiplying the demodulated waveform data delayed by the minute with the coefficients A0 and A1, the result of the multiplication is added to the difference data to demodulate the waveform data.

【0057】(6)復調回路の構成 ここで、上記復調回路64について図8を参照して説明
する。図8は復調回路の一構成例を示すブロック図であ
る。図において、バッファRAM70には、所定のタイ
ミングで、入力端DIに供給される、復調された各チャ
ンネルの4点分の波形データが格納されるとともに、格
納された4点分の波形データが順次読み出されて、図示
するラッチ回路71,72,73,74へ供給される。
ラッチ回路71には1サンプリング周期前の波形データ
が供給され、順次、ラッチ回路72には2サンプリング
周期前の波形データ、ラッチ回路73には3サンプリン
グ周期前の波形データ、そして、ラッチ回路74には、
最も古い4サンプリング周期前の波形データが供給され
る。つまり、各チャンネル毎の過去に復調された4点分
の波形データがラッチ71〜74に順次ラッチされる。
ラッチ回路71〜74は、各々、供給される波形データ
を一旦保持し、セレクタ75〜78の第1の入力端へ供
給する。
(6) Configuration of Demodulation Circuit Here, the demodulation circuit 64 will be described with reference to FIG. FIG. 8 is a block diagram illustrating a configuration example of the demodulation circuit. In the figure, a buffer RAM 70 stores demodulated waveform data for four points of each channel supplied to an input terminal DI at a predetermined timing, and sequentially stores the stored waveform data for four points. The data is read out and supplied to the illustrated latch circuits 71, 72, 73, 74.
The waveform data of one sampling cycle before is supplied to the latch circuit 71, the waveform data of two sampling cycles before is supplied to the latch circuit 72, the waveform data of three sampling cycles before, and the latch circuit 74. Is
The oldest waveform data before four sampling periods is supplied. That is, the waveform data of four points demodulated in the past for each channel are sequentially latched by the latches 71 to 74.
The latch circuits 71 to 74 temporarily hold the supplied waveform data, respectively, and supply them to the first input terminals of the selectors 75 to 78.

【0058】また、上記バッファRAM70の読み出し
アドレス、および書き込みアドレスは、チャンネルカウ
ンタ80、遅延回路81、およびセレクタ82により生
成される。チャンネルカウンタ80は、所定のタイミン
グで「1」、「2」、…なるチャンネルを指示するカウ
ント値を生成し、セレクタ82の一方の入力端と遅延回
路81とへ供給する。遅延回路81は、上記カウント値
を8スロット分(=2チャンネル分)遅延して、セレク
タ82の他方の入力端へ供給する。また、セレクタ82
は、チャンネルカウンタ80から直接供給されるカウン
ト値を、読み出しアドレスとしてバッファRAM70へ
供給する一方、遅延回路81から供給される8スロット
分遅延されたカウント値を書き込みアドレスとしてバッ
ファRAM70へ供給する。
The read address and write address of the buffer RAM 70 are generated by a channel counter 80, a delay circuit 81, and a selector 82. The channel counter 80 generates a count value indicating a channel “1”, “2”,... At a predetermined timing, and supplies it to one input terminal of the selector 82 and the delay circuit 81. The delay circuit 81 delays the count value by eight slots (= two channels) and supplies the delayed count value to the other input terminal of the selector 82. Also, the selector 82
Supplies the count value directly supplied from the channel counter 80 to the buffer RAM 70 as a read address, and supplies the count value delayed by 8 slots supplied from the delay circuit 81 to the buffer RAM 70 as a write address.

【0059】セレクタ75〜78は、遅延回路83,8
4,85,86を介して縦続接続されており、前述した
インクリメント信号INCの第1〜第3スロットのパル
スに応じて、3つの入力端に供給されるデータのいずれ
かを選択的に後段の遅延回路へ出力するようになってい
る。また、セレクタ75,76の出力は、各々、遅延回
路83,84とともに乗算器87,88にも供給されて
いる。乗算器87,88には、各々、LPC復調係数A
0,A1が供給されており、上記セレクタ75,76の出
力にこれらLPC復調係数A0,A1を乗算して、加算器
89へ供給する。加算器89は、乗算器87,88の出
力データを加算して、予測データとしてゲート回路90
へ供給する。ゲート回路90は、圧縮信号COMPが
「1」のときにのみ開状態となり、加算器89の出力を
加算器91の一方の入力端へ供給する。該加算器91の
他方の入力端には、前述したノンリニア拡張部63から
出力される波形データが供給されており、加算器91
は、元となる波形データと予測データとを加算し、遅延
回路92へ供給する。遅延回路92は、上記加算された
波形データを1タイムスロット分遅延させた後、上述し
たセレクタ75の第2の入力端へ供給する。
The selectors 75 to 78 include delay circuits 83 and 8
4, 85, 86, and selectively outputs any of the data supplied to the three input terminals in response to the pulses of the first to third slots of the increment signal INC described above. Output to the delay circuit. The outputs of the selectors 75 and 76 are also supplied to multipliers 87 and 88 together with the delay circuits 83 and 84, respectively. Multipliers 87 and 88 have LPC demodulation coefficients A
0 and A1 are supplied. The outputs of the selectors 75 and 76 are multiplied by these LPC demodulation coefficients A0 and A1 and supplied to an adder 89. The adder 89 adds the output data of the multipliers 87 and 88 and outputs the result as the prediction data by the gate circuit 90.
Supply to The gate circuit 90 is opened only when the compression signal COMP is “1”, and supplies the output of the adder 89 to one input terminal of the adder 91. The other input terminal of the adder 91 is supplied with the waveform data output from the above-described non-linear expansion section 63.
Adds the original waveform data and the prediction data and supplies the result to the delay circuit 92. The delay circuit 92 delays the added waveform data by one time slot, and then supplies the delayed waveform data to the second input terminal of the selector 75 described above.

【0060】また、上記遅延回路83〜76の出力は、
各々、次段のセレクタの第2の入力端および前段のセレ
クタの第3の入力端へ供給されるとともに、図面の上段
に示す前段のセレクタの第3の入力端、および次段のセ
レクタの第2の入力端へ供給されるようになっている。
図面上段に示されるセレクタ93,94,95,96
は、上述した下段のセレクタ75〜78と同様に、遅延
回路97,98,99,100を介して縦続接続されて
おり、前述したインクリメント信号INCの第4スロッ
トのパルスに応じて、およびその後の順次送り動作で3
つの入力端に供給されるデータのいずれかを選択的に後
段の遅延回路へ出力するようになっている。遅延回路9
7〜100の出力は、各々、次段のセレクタの第1の入
力端へ供給されるようになっている。また、最終段の遅
延回路100の出力は、バッファRAM70へ前述した
タイミングで書き込まれるとともに、図1に示す補間部
19へ出力される。
The outputs of the delay circuits 83 to 76 are
These are supplied to the second input terminal of the next-stage selector and the third input terminal of the previous-stage selector, respectively, and the third input terminal of the previous-stage selector and the third-stage input terminal of the next-stage selector shown in the upper part of the drawing. 2 input terminals.
Selectors 93, 94, 95, 96 shown in the upper part of the drawing
Are connected in cascade via delay circuits 97, 98, 99, and 100 in the same manner as the above-described selectors 75 to 78 at the lower stage. 3 in sequential feed operation
One of the data supplied to one input terminal is selectively output to a delay circuit at a subsequent stage. Delay circuit 9
The outputs 7 to 100 are supplied to the first input terminals of the next-stage selector. The output of the delay circuit 100 at the last stage is written into the buffer RAM 70 at the above-described timing, and is also output to the interpolation unit 19 shown in FIG.

【0061】(7)補間部の構成 次に、前述した補間部19の構成について図9を参照し
て説明する。図9は本実施例における補間部19の一構
成を示すブロック図である。図において、アドレス発生
部18から出力されるアドレス小数部は、減算器102
の一方の入力端、ビット反転器104、およびセレクタ
105の第3の入力端へ供給されている。補間カウンタ
101は、本実施例では、「1」,「2」,「3」,
「4」なる循環数列を生成し、これを所定のタイミング
で減算器102の他方の入力端へ供給する。上記「1」
〜「4」の数値は、4点分の波形データの各々に対応し
て出力されるようになっている。減算器102は、上記
「1」〜「4」の各値からアドレス小数部を減算し、こ
れを係数メモリ103へ供給する。係数メモリ103に
は、図10(a)に示す補間係数が記憶されており、減
算器102から供給される値に応じた補間係数をセレク
タ105の第1の入力端へ供給する。
(7) Configuration of Interpolator Next, the configuration of the interpolator 19 will be described with reference to FIG. FIG. 9 is a block diagram showing one configuration of the interpolation unit 19 in the present embodiment. In the figure, an address fraction output from an address generator 18 is a subtractor 102
, The bit inverter 104, and the third input terminal of the selector 105. In this embodiment, the interpolation counter 101 has “1”, “2”, “3”,
A cyclic sequence "4" is generated and supplied to the other input terminal of the subtractor 102 at a predetermined timing. The above "1"
Numerical values of “〜” to “4” are output corresponding to each of the waveform data of four points. The subtracter 102 subtracts the decimal part of the address from each value of “1” to “4”, and supplies the result to the coefficient memory 103. The interpolation coefficient shown in FIG. 10A is stored in the coefficient memory 103, and the interpolation coefficient corresponding to the value supplied from the subtracter 102 is supplied to the first input terminal of the selector 105.

【0062】また、ビット反転器104は、上記アドレ
ス小数部をビット単位で反転し、これをセレクタ105
の第2の入力端へ供給する。セレクタ105は、2点補
間信号P2およびマスター信号MCの値に応じて、第1
〜第3の入力端のいずれかに供給されたデータを乗算器
107の一方の入力端へ供給する。4点補間の場合に
は、2点補間信号P2が「0」となり、この場合、セレ
クタ105は、係数メモリ103から供給される補間係
数を出力する。
Further, the bit inverter 104 inverts the above-mentioned address decimal part in bit units, and
To the second input of The selector 105 controls the first point in accordance with the values of the two-point interpolation signal P2 and the master signal MC.
To the third input terminal to one input terminal of the multiplier 107. In the case of four-point interpolation, the two-point interpolation signal P2 becomes “0”. In this case, the selector 105 outputs the interpolation coefficient supplied from the coefficient memory 103.

【0063】また、2つの音源構成で、各音源にて2点
補間する場合には、2点補間する時分割チャンネル内に
おいて、2点補間信号P2は常時「1」となり、マスタ
ー信号MCが「1」の場合は前半の2スロット分の波形
データの入力タイミングを用い、「0」の場合は後半の
2スロット分の波形データの入力タイミングを用いる。
この場合、セレクタ105は、前半および後半、各々の
2点分の波形データに同期して、順次、ビット反転器1
04から供給されるビット反転されたアドレス小数部、
直接供給されるアドレス小数部を乗算器107へ出力す
る。この操作により、図10(b)に示す2点補間時の
係数が乗算器107に供給される。
When two points are interpolated by each sound source in a two sound source configuration, the two-point interpolation signal P2 is always "1" and the master signal MC is "1" in the time-division channel for the two-point interpolation. In the case of "1", the input timing of the waveform data of the first two slots is used, and in the case of "0", the input timing of the waveform data of the second two slots is used.
In this case, the selector 105 sequentially switches the bit inverters 1 in synchronization with the waveform data of the first half and the waveform data of the second half.
Bit-reversed address fraction supplied from 04,
The directly supplied address decimal part is output to the multiplier 107. By this operation, the coefficient at the time of the two-point interpolation shown in FIG.

【0064】遅延回路106は、各タイムスロット毎に
供給される波形データを順次遅延し、上記乗算器107
へ出力する。乗算器107は、各波形データに、対応す
るデータ(係数、反転されたアドレス小数部、もしくは
アドレス小数部)を乗算し、補間累算器108へ供給す
る。補間累算器108は波形データを累算した後、各時
分割チャンネル毎に、得られた補間サンプルを1つ、図
1に示すエンベロープ乗算部21へ出力するようになっ
ている。
The delay circuit 106 sequentially delays the waveform data supplied for each time slot, and
Output to The multiplier 107 multiplies each waveform data by the corresponding data (coefficient, inverted address decimal part or address decimal part), and supplies it to the interpolation accumulator 108. After accumulating the waveform data, the interpolation accumulator 108 outputs one obtained interpolation sample to the envelope multiplying unit 21 shown in FIG. 1 for each time division channel.

【0065】(8)動作の説明 次に、上述した本実施例の楽音発生装置の動作について
図11および図12を参照して説明する。演奏者が音色
スイッチ2によって音色を設定し、鍵盤により演奏を行
なうと、演奏に応じたキーコード、タッチ等の演奏情報
が制御部3に供給される。そして、制御部3によって、
インターフェース11を介して、各種情報がレジスタ群
12へ供給される。レジスタ群12の各々は、音源の
数、外付け回路の有無に応じて、前述した各種信号を各
部へ供給する。なお、音色設定や、鍵盤の操作による演
奏については各ケースにおける共通の操作として以下で
はその説明を省略する。また、以下では、図2(a)〜
(d)に示す構成を、各々、ケースA,B,C,Dとし
て説明する。
(8) Description of Operation Next, the operation of the above-described musical sound generating apparatus of this embodiment will be described with reference to FIGS. When the performer sets a tone using the tone switch 2 and plays the keyboard, performance information such as key codes and touches corresponding to the performance is supplied to the control unit 3. Then, by the control unit 3,
Various information is supplied to the register group 12 via the interface 11. Each of the register groups 12 supplies the above-described various signals to each unit according to the number of sound sources and the presence or absence of an external circuit. Note that the tone color setting and the performance by operating the keyboard are common operations in each case, and the description thereof will be omitted below. In the following, FIGS.
The configuration shown in (d) will be described as cases A, B, C, and D, respectively.

【0066】(8−1)ケースA まず、図2(a)に示すように、外付け回路7を装着せ
ず、かつ、1つの音源8で発音する場合について説明す
る。この場合には、外付け指示信号OP=0、チップ信
号C2=0、およびマスター信号MC=1となり、楽音
の発音は、4点補間で、32チャンネル分の発音が行な
われる。また、この場合には、圧縮波形は用いられな
い。
(8-1) Case A First, as shown in FIG. 2A, a case in which the external circuit 7 is not attached and one sound source 8 produces sound will be described. In this case, the external instruction signal OP = 0, the chip signal C2 = 0, and the master signal MC = 1, and the musical sound is generated by 32 channels by four-point interpolation. In this case, no compressed waveform is used.

【0067】アドレス発生部18では、オフセット発生
部36に供給される外付け指示信号OPが「0」となる
ため、タイムスロットT1〜T4において出力されるオ
フセット値は、順次、「+4」、「0」、「0」、「+
4」となる。したがって、アドレスRAM38において
は、タイムスロットT1において、4チャンネル分先の
チャンネルのアドレスデータがアドレスRAM38から
読み出され、出力端DOからラッチ回路39へ出力され
ラッチされる(図4の「外付け回路が装着されていない
場合」を参照)。
In the address generator 18, since the external instruction signal OP supplied to the offset generator 36 is "0", the offset values output in the time slots T1 to T4 are "+4", " 0 ”,“ 0 ”,“ + ”
4 ". Accordingly, in the address RAM 38, in the time slot T1, the address data of the channel four channels ahead is read out from the address RAM 38, output from the output terminal DO to the latch circuit 39, and latched (see "External Circuit" in FIG. 4). Is not installed ").

【0068】次に、タイムスロットT2,T3において
は、オフセット値が「0」であるため、自身のチャンネ
ルのアドレスデータがアドレスRAM38から読み出さ
れて、アドレス整数部がラッチ回路45にラッチされ、
アドレス小数部がラッチ回路46にラッチされる。この
タイムスロットT2,T3の間に、タイムスロットT1
においてラッチ回路39にラッチされた、4チャンネル
分先のアドレスデータは、そのアドレス整数部が全加算
器31へ供給され、アドレス小数部が全加算器32へ供
給される。そして、Fナンバ発生部30からピッチデー
タに従って読み出されたFナンバと加算されて更新さ
れ、アドレス制御部34へ供給される。アドレス制御部
34では、更新されたアドレスデータ(整数部、小数
部)に対し、アドレス制御データに従って、ループ読み
の処理等の所定の処理が行なわれた後、アドレスRAM
38の入力端DIへ供給される。
Next, in the time slots T2 and T3, since the offset value is "0", the address data of its own channel is read from the address RAM 38, and the address integer part is latched by the latch circuit 45.
The address decimal part is latched by the latch circuit 46. Between the time slots T2 and T3, the time slot T1
In the address data latched by the latch circuit 39, the address integer part thereof is supplied to the full adder 31 and the address decimal part is supplied to the full adder 32. Then, it is added to and updated with the F number read out from the F number generation unit 30 according to the pitch data, and is supplied to the address control unit 34. The address control unit 34 performs a predetermined process such as a loop reading process on the updated address data (integer part and decimal part) in accordance with the address control data, and then executes address RAM processing.
It is supplied to an input DI at 38.

【0069】そして、タイムスロットT4において、ア
ドレス制御部34から供給された、更新されたアドレス
データがアドレスRAM38の4チャンネル分先のチャ
ンネルに相当するアドレスに格納される。すなわち、こ
の場合には、各チャンネルのアドレスデータの更新は、
4チャンネル分未来のチャンネル処理におけるタイムス
ロットT1,T4で行なわれ、各チャンネルのアドレス
データは該当チャンネル処理におけるタイムスロットT
2,T3で出力される。アドレスデータの整数部はラッ
チ回路45を経て加算器47へ供給される。
Then, in the time slot T4, the updated address data supplied from the address control unit 34 is stored in the address of the address RAM 38 corresponding to the channel four channels ahead. That is, in this case, the update of the address data of each channel is
This is performed in time slots T1 and T4 in the future channel processing for four channels, and the address data of each channel is stored in the time slot T in the corresponding channel processing.
2, T3. The integer part of the address data is supplied to the adder 47 via the latch circuit 45.

【0070】一方、この場合、チップ信号C2および2
点補間信号P2は共に「0」であるため、セレクタ43
からは「−3」が出力され、ビット拡大部44において
ビットが伸張された後、加算器47へ供給される。アド
レス整数部には、上記加算器47においてアドレス補正
値が加算される。補正されたアドレス整数部は、シフト
ダウン部48に供給される。非圧縮波形データを読み出
す場合であり、圧縮信号COMPは「0」となるので、
シフトダウン部48にてシフトダウンされずに、そのま
ま加算器50へ供給される。
On the other hand, in this case, chip signals C2 and 2
Since both the point interpolation signals P2 are “0”, the selector 43
Is output as “−3”, the bit is expanded in the bit enlargement unit 44, and then supplied to the adder 47. The adder 47 adds the address correction value to the address integer part. The corrected address integer part is supplied to the shift-down part 48. This is a case where uncompressed waveform data is read, and the compressed signal COMP becomes “0”.
The data is directly supplied to the adder 50 without being shifted down by the shift-down unit 48.

【0071】加算器50で、シフトダウン部48から出
力されたアドレス整数部に、スタートアドレスと補間カ
ウンタ49からの補間カウント値とが加算された後、ゲ
ート回路51へ供給される。この場合、4点補間である
ため、補間カウンタ49からは、1時分割チャンネルの
各タイムスロット毎に、「0」、「1」、「2」、
「3」となるカウント値が順次出力される。そして、ス
タートアドレス+アドレス整数部+補間カウント値なる
4点分のアドレスデータはゲート回路51を介して波形
メモリ6へ供給される。前述した通り、読み出される波
形データのアドレスは、各時分割チャンネルのスタート
アドレスとラッチ回路45にラッチされたアドレスの和
に、セレクタ43と補間カウンタ49から供給される総
合値「−3」、「−2」、「−1」、「0」を加算した
アドレスである。
The adder 50 adds the start address and the interpolation count value from the interpolation counter 49 to the address integer part output from the shift-down unit 48, and supplies the result to the gate circuit 51. In this case, since the interpolation is four-point interpolation, the interpolation counter 49 outputs “0”, “1”, “2”,
The count value "3" is sequentially output. Then, the address data for four points of the start address + address integer part + interpolation count value is supplied to the waveform memory 6 via the gate circuit 51. As described above, the address of the waveform data to be read is obtained by adding the start address of each time-division channel and the address latched by the latch circuit 45 to the total values “−3” and “3” supplied from the selector 43 and the interpolation counter 49. -2 "," -1 ", and" 0 ".

【0072】波形メモリ6からは上記アドレスデータに
従って波形データ(4点分)が読み出され、音源8の補
間部19へ供給される。補間部19では、この場合、4
点補間であるので、係数メモリ103から出力される係
数(4点分)がセレクタ105から順次出力され、乗算
器107へ供給される。また、補間部19の遅延回路1
06には、上述した波形メモリ6から読み出された4点
分の波形データが順次供給される。したがって、各時分
割チャンネルの4つのスロットで読み出された波形デー
タは、乗算器107において、上記対応する係数が乗算
された後、補間累算器108で累算され、各時分割チャ
ンネルの補間された波形データとして図1に示すエンベ
ロープ乗算部21へ供給される。このタイミングは、図
12の「4点補間時」に示されている。
The waveform data (for four points) is read from the waveform memory 6 in accordance with the address data and supplied to the interpolation unit 19 of the sound source 8. In this case, the interpolation unit 19
Because of the point interpolation, the coefficients (for four points) output from the coefficient memory 103 are sequentially output from the selector 105 and supplied to the multiplier 107. Further, the delay circuit 1 of the interpolation unit 19
To 06, the waveform data of four points read from the waveform memory 6 described above are sequentially supplied. Therefore, the waveform data read in the four slots of each time-division channel is multiplied by the corresponding coefficient in the multiplier 107, and then accumulated in the interpolation accumulator 108. The resulting waveform data is supplied to the envelope multiplication unit 21 shown in FIG. This timing is shown in "during 4-point interpolation" in FIG.

【0073】一方、エンベロープ発生部20では、エン
ベロープ制御レジスタ17から供給されるエンベロープ
制御信号に応じて、32チャンネル分のエンベロープが
順次生成され、該エンベロープは上記エンベロープ発生
乗算部21へ供給される。そして、エンベロープ乗算部
21において、各時分割チャンネル毎に上記補間された
波形データに、上記エンベロープが付与され、チャンネ
ル累算部22において、32チャンネル分の波形データ
がミキシングされて、1サンプリング周期毎のミキシン
グ波形データとなり、DAC23によりアナログ信号に
変換された後、サウンドシステム10において楽音とし
て発音される。なお、上述したケースAの構成では、発
音される楽音のピッチに制限はない。
On the other hand, in the envelope generating section 20, envelopes for 32 channels are sequentially generated in accordance with the envelope control signal supplied from the envelope control register 17, and the envelopes are supplied to the envelope generating and multiplying section 21. Then, the envelope multiplication unit 21 adds the envelope to the interpolated waveform data for each time-division channel, and the channel accumulation unit 22 mixes the waveform data for 32 channels. After being converted into an analog signal by the DAC 23, the sound signal is generated as a musical tone in the sound system 10. In the configuration of Case A described above, there is no limitation on the pitch of the tones to be generated.

【0074】(8−2)ケースB 次に、図2(b)に示すように、外付け回路7を装着せ
ず、かつ、2つの音源8a,8bで発音する場合につい
て説明する。この場合には、マスター側の音源8aに対
しては、外付け指示信号OP=0、チップ信号C2=
1、およびマスター信号MC=1となる一方、スレーブ
側の音源8bに対しては、外付け指示信号OP=0、チ
ップ信号C2=1、およびマスター信号MC=0とな
る。この場合は、2点補間(全時分割チャンネルの信号
P2が全て「1」)で、64チャンネル分の発音が行な
われる。この場合も、ケースAと同様に圧縮波形データ
は用いられない(信号COMPは全て「0」)。また、
各音源8a,8bにおけるアドレス発生部18における
ラッチ回路45までの動作は、前述した場合と同一であ
るので説明を省略する。
(8-2) Case B Next, as shown in FIG. 2 (b), a case where the external circuit 7 is not mounted and two sound sources 8a and 8b emit sound will be described. In this case, the external instruction signal OP = 0 and the chip signal C2 =
1, and the master signal MC = 1, while the external instruction signal OP = 0, the chip signal C2 = 1, and the master signal MC = 0 for the sound source 8b on the slave side. In this case, sound generation for 64 channels is performed by two-point interpolation (the signals P2 of all time division channels are all “1”). Also in this case, the compressed waveform data is not used (all signals COMP are “0”) as in the case A. Also,
The operation up to the latch circuit 45 in the address generator 18 in each of the sound sources 8a and 8b is the same as that in the case described above, and the description is omitted.

【0075】先に説明したように、2点補間の時分割チ
ャンネル(P2が「1」)については、セレクタ43で
必ず「−2」が選択される。また、圧縮波形は用いられ
ないので、シフトダウン部48は、入力するアドレスを
そのまま出力する。結局、シフトダウン部48の出力す
るアドレスは、ラッチ回路45にラッチされたアドレス
にセレクタ43の出力する「−2」を加算した値にな
る。ケースBのこれ以降の説明において、2音源構成の
各音源の構成要件は、添字a,bによって区別すること
とする。
As described above, the selector 43 always selects "-2" for the time-division channel of the two-point interpolation (P2 is "1"). Further, since the compressed waveform is not used, the shift-down unit 48 outputs the input address as it is. As a result, the address output from the shift-down unit 48 is a value obtained by adding “−2” output from the selector 43 to the address latched by the latch circuit 45. In the following description of case B, the configuration requirements of each of the two sound source configurations will be distinguished by subscripts a and b.

【0076】まず、マスター側の音源8aでは、アドレ
ス発生部18aの加算器50aにおいて、アドレス整数
部にスタートアドレスと補間カウンタからの補間カウン
ト値とが加算され、ゲート回路51aへ供給される。こ
の場合、2点補間であるため、補間カウンタ49aから
は、「0」、「1」、「0」、「1」となるカウント値
が出力される。また、音源が2つあるため(信号C2が
「1」)、マスター側のゲート回路51aは前半の2点
分の期間のみ開状態となり、タイムスロットT1,T2
の2点分のアドレスデータが波形メモリ6へ供給され
る。一方、スレーブ側の音源8bにおいては、ゲート回
路51bが後半の2点分の期間のみ開状態となるため、
タイムスロットT3,T4の2点分のアドレスデータが
波形メモリ6へ供給される。
First, in the master-side sound source 8a, the adder 50a of the address generator 18a adds the start address and the interpolation count value from the interpolation counter to the address integer part, and supplies the result to the gate circuit 51a. In this case, since two-point interpolation is performed, count values of “0”, “1”, “0”, and “1” are output from the interpolation counter 49a. Further, since there are two sound sources (signal C2 is "1"), the gate circuit 51a on the master side is open only during the first two points, and the time slots T1, T2
Are supplied to the waveform memory 6. On the other hand, in the sound source 8b on the slave side, since the gate circuit 51b is open only during the latter two points,
Address data for two points of the time slots T3 and T4 are supplied to the waveform memory 6.

【0077】つまり、ゲート回路51aおよび51bに
入力するアドレスとしては、加算器47の加算値「−
2」も含めて、ラッチ回路45にラッチしたアドレスに
対し「−2」、「−1」、「−2」、「−1」した値
が、T1〜T4のタイムスロットにて供給されている。
マスター側のゲート回路51aではこのうちの前半の2
スロット分を出力し、スレーブ側のゲート回路51bで
は後半の2スロット分を出力する訳であるが、マスター
側もスレーブ側もそれぞれに許された波形メモリの2ス
ロット分のアクセス時間において、ラッチ回路45にラ
ッチしたアドレスに対し「−2」、「−1」した2つの
アドレスを出力している。
That is, the address inputted to the gate circuits 51a and 51b is the sum of the adder "-" of the adder 47.
The values obtained by adding “−2”, “−1”, “−2”, and “−1” to the address latched by the latch circuit 45, including “2”, are supplied in the time slots T1 to T4. .
In the gate circuit 51a on the master side, the first two
The slot circuit is output, and the gate circuit 51b on the slave side outputs the latter two slots. However, in the access time for the two slots of the waveform memory, which is allowed on both the master side and the slave side, the latch circuit Two addresses "-2" and "-1" are output with respect to the address latched at 45.

【0078】波形メモリ6からはマスター側の出力した
前2つと、スレーブ側の出力した後2つの4スロット分
のアドレスデータに従って、4点分の波形データが読み
出され、マスター側の音源8aの補間部19aへ供給さ
れるとともに、スレーブ側の音源8bの補間部19bへ
供給される。この場合、マスター側の補間部19aで
は、マスター信号MCが「1」であるため、タイムスロ
ットT1においては、セレクタ105からビット反転器
104が出力するビット反転されたアドレス小数部が出
力され、また、第2のタイムスロットT2においては、
直接供給されるアドレス小数部が出力される。この操作
により、マスター側の音源8aに対する2点補間の係数
が供給され、残りのT3とT4のタイムスロットでは、
セレクタ105はいずれの入力も選択しない(すなわ
ち、「0」を出力する)。
From the waveform memory 6, four points of waveform data are read out according to the address data of the four slots before the output on the master side and the two after the output on the slave side. The signal is supplied to the interpolation unit 19a, and is also supplied to the interpolation unit 19b of the sound source 8b on the slave side. In this case, since the master signal MC is “1” in the master-side interpolation unit 19a, the bit-inverted address decimal part output from the bit inverter 104 is output from the selector 105 in the time slot T1. , In the second time slot T2,
The directly supplied address fraction is output. By this operation, the coefficients of the two-point interpolation for the sound source 8a on the master side are supplied, and in the remaining time slots of T3 and T4,
The selector 105 does not select any input (that is, outputs “0”).

【0079】同様に、スレーブ側の補間部19bでは、
マスター信号MCが「0」であるため、前半のT1とT
2のタイムスロットでは「0」を出力し、さらにタイム
スロットT3においては、ビット反転器104から供給
されるビット反転されたアドレス小数部が出力され、ま
た、次のタイムスロットT4においては、直接供給され
るアドレス小数部が出力される。この操作により、1チ
ャンネルの4スロットのうちの後半2スロットにおいて
スレーブ側の音源8bに対する2点補間の係数が供給さ
れる。
Similarly, in the slave-side interpolation unit 19b,
Since the master signal MC is “0”, the first half of T1 and T1
In the time slot T2, "0" is output, and in the time slot T3, the bit-reversed address fraction supplied from the bit inverter 104 is output. In the next time slot T4, the address is directly supplied. The output fractional part is output. By this operation, two-point interpolation coefficients for the sound source 8b on the slave side are supplied in the latter two slots of the four slots of one channel.

【0080】一方、マスター側の補間部19aの遅延回
路106aには、上述した波形メモリ6から読み出され
た4点分の波形データが順次供給される。そのうちの前
半の2スロットで供給される2点分の波形データに対
し、乗算器107aにおいて、上記対応する補間係数が
乗算された後、補間累算器108aによって累算され、
補間された波形データとして図1に示すエンベロープ乗
算部21aへ供給される。同様に、スレーブ側では、波
形メモリ6から読み出された波形データのうち、後半の
2スロットに読み出された2点分の波形データに対し
て、乗算器107bにおいて、上記対応する補間係数が
乗算された後、補間累算器108bによって累算され、
補間された波形データとして、音源8bのエンベロープ
乗算部21bへ供給される。
On the other hand, the waveform data for the four points read from the waveform memory 6 is sequentially supplied to the delay circuit 106a of the master-side interpolation unit 19a. The multiplier 107a multiplies the waveform data for two points supplied in the first two slots by the corresponding interpolation coefficient, and accumulates the data by the interpolation accumulator 108a.
The interpolated waveform data is supplied to the envelope multiplier 21a shown in FIG. Similarly, on the slave side, among the waveform data read from the waveform memory 6, the multiplier 107 b compares the corresponding interpolation coefficient with the waveform data for two points read in the latter two slots. After being multiplied, they are accumulated by the interpolation accumulator 108b,
The interpolated waveform data is supplied to the envelope multiplier 21b of the sound source 8b.

【0081】また、各音源8a,8bでは、エンベロー
プ発生部20a,20bにおいて、エンベロープ制御レ
ジスタ17a,17bから供給されるエンベロープ制御
信号に応じて、各32チャンネル分のエンベロープ(合
計64チャンネル)が順次生成され、該エンベロープは
上記エンベロープ発生乗算部21a,21bへ供給され
る。そして、エンベロープ乗算部21a,21bにおい
て、各時分割チャンネルの上記補間された波形データ
に、上記エンベロープが付与され、チャンネル累算部2
2a,22bにおいて、32チャンネル分の波形データ
がミキシングされて、DAC23a,23bによりアナ
ログ信号に変換された後、サウンドシステム10a,1
0bにおいて楽音として発音される。なお、上述したケ
ースBの構成では、発音される楽音のピッチに制限はな
い。
In each of the sound sources 8a and 8b, the envelope generators 20a and 20b sequentially generate the envelopes for a total of 32 channels (a total of 64 channels) in accordance with the envelope control signals supplied from the envelope control registers 17a and 17b. The generated envelope is supplied to the envelope generating and multiplying units 21a and 21b. Then, in the envelope multiplying units 21a and 21b, the envelope is added to the interpolated waveform data of each time-division channel, and the channel accumulating unit 2
In 2a and 22b, waveform data for 32 channels are mixed and converted into analog signals by the DACs 23a and 23b, and then the sound systems 10a and 1b.
0b is pronounced as a musical tone. In the configuration of Case B described above, there is no limitation on the pitch of the tones to be generated.

【0082】(8−3)ケースC 次に、図2(c)に示すように、1つの音源8に対し
て、外付け回路7を1つ装着した場合について説明す
る。この場合には、外付け指示信号OP=1、チップ信
号C2=0、およびマスター信号MC=1となり、4点
補間で、32チャンネル分の発音が行なわれる。なお、
この場合には外付け回路7が装着されているので、各時
分割チャンネルで非圧縮波形データもしくは圧縮波形デ
ータの双方に対して楽音の発音が可能である。
(8-3) Case C Next, a case where one external circuit 7 is attached to one sound source 8 as shown in FIG. 2C will be described. In this case, the external instruction signal OP = 1, the chip signal C2 = 0, and the master signal MC = 1, and sound is generated for 32 channels by four-point interpolation. In addition,
In this case, since the external circuit 7 is mounted, it is possible to generate a tone for both the non-compressed waveform data and the compressed waveform data in each time-division channel.

【0083】まず、アドレス発生部18では、オフセッ
ト発生部36に供給される外付け指示信号OPが「2」
となるため、タイムスロットT1〜T4において出力さ
れるオフセット値は、順次、「+4」、「+2」、
「0」、「+4」となる。したがって、アドレスRAM
38においては、第1のタイムスロットT1において、
4チャンネル分先のチャンネルのアドレスデータがアド
レスRAM38から読み出され、出力端DOからラッチ
回路39にラッチされる。
First, in the address generator 18, the external instruction signal OP supplied to the offset generator 36 is “2”.
Therefore, the offset values output in the time slots T1 to T4 are “+4”, “+2”,
"0" and "+4". Therefore, the address RAM
At 38, in a first time slot T1,
The address data of the channel four channels ahead is read from the address RAM 38 and latched by the latch circuit 39 from the output terminal DO.

【0084】次に、次の第2のタイムスロットT2にお
いては、オフセット値が「2」であるため、2チャンネ
ル分先のアドレス整数部がアドレスRAM38から読み
出され、ラッチ回路45にラッチされる。そして、第3
のタイムスロットT3においては、オフセット値が
「0」であるため、自身のチャンネルのアドレス小数部
がアドレスRAM38から読み出されて、ラッチ回路4
6にラッチされる。このタイムスロットT2,T3の間
に、タイムスロットT1においてラッチ回路39にラッ
チされた、4チャンネル分先のアドレスデータのアドレ
ス整数部が全加算器31へ供給され、アドレス小数部が
全加算器32へ供給される。そして、Fナンバ発生部3
0からピッチデータに従って読み出されたFナンバと加
算されて、更新されたアドレスデータ(整数部、小数
部)は、アドレス制御部34にて、制御データに応じた
制御を施された後に、アドレスRAM38の入力端DI
へ供給される。
Next, in the next second time slot T2, since the offset value is "2", the address integer part two channels ahead is read from the address RAM 38 and latched by the latch circuit 45. . And the third
In the time slot T3, since the offset value is "0", the address decimal part of its own channel is read from the address RAM 38, and the latch circuit 4
6 is latched. Between these time slots T2 and T3, the address integer part of the address data four channels ahead latched by the latch circuit 39 in the time slot T1 is supplied to the full adder 31, and the decimal part of the address data is supplied to the full adder 32. Supplied to Then, the F number generating unit 3
The updated address data (integer part, decimal part) added to the F number read from 0 in accordance with the pitch data is subjected to control according to the control data by the address control unit 34, and then updated. Input terminal DI of RAM38
Supplied to

【0085】そして、第4のタイムスロットT4におい
て、上記更新されたアドレスデータがアドレスRAM3
8の4チャンネル分先のチャンネルに相当するアドレス
に格納される。すなわち、この場合には、各チャンネル
のアドレスデータの更新は、4チャンネル分未来のチャ
ンネル処理におけるタイムスロットT1,T4で行なわ
れ、各チャンネルのアドレス整数部は、2チャンネル分
未来のチャンネル処理におけるタイムスロットT2で出
力されるとともに、アドレス小数部は該当チャンネルの
第3のタイムスロットT3で出力される。
In the fourth time slot T4, the updated address data is stored in the address RAM3.
8 is stored in the address corresponding to the channel four channels ahead. That is, in this case, the update of the address data of each channel is performed in the time slots T1 and T4 in the future channel processing of four channels, and the address integer part of each channel is the time in the future channel processing of two channels. In addition to being output in slot T2, the fractional part of the address is output in the third time slot T3 of the corresponding channel.

【0086】この場合、セレクタ43から供給されるア
ドレス補正値は、各時分割チャンネルで読出す波形が圧
縮波形であるかどうか(信号COMPが「1」かどう
か)で変わってくる。圧縮波形の場合、セレクタ43
は、必ず、戻り量発生部42の出力する戻り量を選択す
る。一方、非圧縮波形では、2点補間も選択できるた
め、セレクタ43において「−2」が選択される可能性
もあるが、通常は、補間の精度の良い4点補間を使うの
で、セレクタ43では、一定値「−3」を選択出力す
る。
In this case, the address correction value supplied from the selector 43 changes depending on whether the waveform read out in each time division channel is a compressed waveform (whether the signal COMP is "1"). In the case of a compressed waveform, the selector 43
Always selects the return amount output from the return amount generation unit 42. On the other hand, in the case of an uncompressed waveform, two-point interpolation can also be selected, so that “−2” may be selected in the selector 43. , And outputs a constant value “−3”.

【0087】ビット拡大部44においてビットが伸張さ
れた後、加算器47へ供給される。アドレス整数部に
は、上記加算器47において上記アドレス補正値が加算
される。補正されたアドレス整数部は、シフトダウン部
48に供給されるとともに、その最下位ビットは信号O
DDとして、補間部19へ供給される。上記アドレス整
数部は、圧縮波形データを読み出す場合には、圧縮信号
COMPが「1」となるので、1ビット分、シフトダウ
ンされた後、加算器50へ供給される。
After the bits are expanded in the bit expansion section 44, the bits are supplied to the adder 47. The address correction value is added to the address integer part by the adder 47. The corrected address integer part is supplied to the shift-down part 48, and the least significant bit is the signal O.
It is supplied to the interpolation unit 19 as DD. When the compressed waveform data is read, the address integer part is supplied to the adder 50 after being shifted down by one bit because the compression signal COMP becomes “1”.

【0088】上記2チャンネル前のアドレス整数部は、
加算器50によって、スタートアドレスと補間カウンタ
からの補間カウント値とが加算され、ゲート回路51へ
供給される。この場合、音源は1チップであるため、補
間カウンタ49からは、各時分割チャンネルの4つのタ
イムスロットT1〜T4にわたり、順次「0」、
「1」、「2」、「3」となるカウント値が出力され
る。また、ゲート回路51は全タイムスロットにわたっ
て開状態となり、スタートアドレス+アドレス整数部+
補間カウント値なる4点分のアドレスデータはゲート回
路51を介して波形メモリ6へ供給される。
The address integer part two channels before is:
The start address and the interpolation count value from the interpolation counter are added by the adder 50 and supplied to the gate circuit 51. In this case, since the sound source is one chip, the interpolation counter 49 sequentially outputs “0”,
The count values “1”, “2”, and “3” are output. Further, the gate circuit 51 is opened over all time slots, and the start address + address integer part +
The address data for four points, which is the interpolation count value, is supplied to the waveform memory 6 via the gate circuit 51.

【0089】前述したように、セレクタ43から供給さ
れるアドレス補正値が、各時分割チャンネルで読出す波
形の圧縮状態に応じて異なっているので、ここで出力さ
れる4点分のアドレスデータも、それに応じて異なった
データが出力されている。まず、圧縮波形を再生中の時
分割チャンネルで出力される4点分のアドレスである
が、先に説明したとおり、このアドレスは、既にデコー
ドされた複数のサンプルのうちの最終サンプルの次の圧
縮サンプル、すなわち次にデコードすべきサンプルを含
むアドレスを先頭とする連続4アドレスになっている。
つまり、各時分割チャンネルの最初のスロットで読まれ
た1データの中に、該次にデコードすべきサンプルが含
まれており、さらに残り3スロットにわたり、それに引
き続く3アドレス分のデータが読みだされる。一方、非
圧縮波形を再生する時分割チャンネルの場合であるが、
この時出力される4アドレスは、そのまま、4点補間の
ための4サンプルのアドレスになっている。既に説明し
たように、この4アドレスは、ラッチ回路45にラッチ
されたアドレスを最後の4点目のアドレスとする連続4
アドレスになっている。
As described above, since the address correction value supplied from the selector 43 differs depending on the compression state of the waveform read out in each time-division channel, the address data for four points output here is also different. , Different data is output according to the data. First, there are four addresses that are output on the time-division channel during which the compressed waveform is being reproduced. The sample, that is, four consecutive addresses starting from the address containing the sample to be decoded next.
In other words, one data read in the first slot of each time-division channel contains a sample to be decoded next, and data for the next three addresses is read over the remaining three slots. You. On the other hand, in the case of a time division channel for reproducing an uncompressed waveform,
The four addresses output at this time are the addresses of four samples for four-point interpolation as they are. As described above, these four addresses are consecutive 4
Address.

【0090】波形メモリ6からは上記アドレスデータに
従って波形データ(4点分)が読み出され、外付け回路
7へ供給される。外付け回路7においては、信号C2が
「0」であるので、遅延回路56の出力、すなわち2タ
イムスロット分遅延した波形データ(4点分)がセレク
タ57から出力される(図11の「復調回路入力」を参
照)。次に、圧縮波形を再生中の時分割チャンネルにお
けるセレクタ58の動作を説明する。セレクタ58から
は、信号ODDが「0」のときには、該時分割チャンネ
ルの4タイムスロットで、順次、入力端A,D,C,E
の順で波形データが出力される。この結果、図7(a)
に示すように、順次、第1の波形データ(I)、第2の
波形データ(II)、次に、第3の波形データ(II
I)、そして、第4の波形データ(IV)が出力され
る。これに対して、信号ODDが「1」のときには、セ
レクタからは、同4タイムスロットで、入力端B,A,
D,Cの順で波形データが出力される。セレクタ58か
ら出力された波形データ(各8ビット)は、順次、ノン
リニア拡張部63へ供給され、16ビットデータに変換
された後、図8に示す復調回路64へ供給される。
The waveform data (for four points) is read from the waveform memory 6 in accordance with the address data and supplied to the external circuit 7. In the external circuit 7, since the signal C2 is "0", the output of the delay circuit 56, that is, the waveform data (for four points) delayed by two time slots is output from the selector 57 (see "demodulation" in FIG. 11). Circuit input "). Next, the operation of the selector 58 in the time-division channel where the compressed waveform is being reproduced will be described. From the selector 58, when the signal ODD is "0", the input terminals A, D, C, and E are sequentially output in four time slots of the time division channel.
The waveform data is output in this order. As a result, FIG.
As shown in the figure, the first waveform data (I), the second waveform data (II), and then the third waveform data (II)
I), and the fourth waveform data (IV) is output. On the other hand, when the signal ODD is "1", the selector outputs the input terminals B, A,
Waveform data is output in the order of D and C. The waveform data (8 bits each) output from the selector 58 is sequentially supplied to the non-linear expansion unit 63, converted into 16-bit data, and then supplied to the demodulation circuit 64 shown in FIG.

【0091】一方、セレクタ57から非圧縮波形が出力
される時分割チャンネルにおいては、セレクタ58が入
力端Aを選択出力すると共に、ゲート62が開かれ、セ
レクタ57の出力する下位8ビットと、ゲート62の出
力する上位8ビットが合成され、セレクタ57の出力し
た16ビットのデータがそのままノンリニア拡張部63
に供給される。ノンリニア拡張部63は、この16ビッ
トの非圧縮波形に対しては、何も処理も施せずそのまま
復調回路64に出力する。
On the other hand, in the time-division channel in which the non-compressed waveform is output from the selector 57, the selector 58 selects and outputs the input terminal A, and the gate 62 is opened. The high-order 8 bits output from the selector 62 are combined, and the 16-bit data output from the selector 57 is directly used as the nonlinear expansion unit 63.
Supplied to The non-linear expansion unit 63 outputs the 16-bit uncompressed waveform to the demodulation circuit 64 without performing any processing.

【0092】2次LPCの圧縮波形を再生する時分割チ
ャンネルにおける復調回路64の動作を説明する。復調
回路64では、1つ過去のチャンネルの再生処理におい
て、バッファRAM70から既に再生済の波形データの
うちの最後の4点分が読み出されて、新しい順に、順次
ラッチ71,72,73,74に保持されている。そし
て、セレクタ75〜78における現チャンネルの第1の
タイムスロットにおいて、下段のセレクタ75〜78が
第1の入力端(上段の入力端)、すなわち上記ラッチ7
1〜74によって保持された波形データを順次後段の遅
延回路83〜86へ出力する(図11の「セレクタa」
の「上」を参照)。各セレクタ75〜78から出力され
たデータは、遅延回路83〜86によって1タイムスロ
ット分遅延された後、再び、前段のセレクタの第3の入
力端へ供給される。特に、セレクタ75,76の出力
は、乗算器87,88において、係数A0,A1が乗算さ
れた後、加算器89で加算され、ゲート90(圧縮波形
の場合、オープン)、加算器91を介して、遅延回路9
2により遅延された後、セレクタ75の第2の入力端へ
供給される。
The operation of the demodulation circuit 64 in the time division channel for reproducing the compressed waveform of the secondary LPC will be described. In the demodulation circuit 64, the last four points of the already reproduced waveform data are read from the buffer RAM 70 in the reproduction processing of the previous channel, and the latches 71, 72, 73, 74 are sequentially arranged in the newest order. Is held in. Then, in the first time slot of the current channel in the selectors 75 to 78, the lower selectors 75 to 78 are connected to the first input terminal (the upper input terminal),
The waveform data held by 1 to 74 are sequentially output to the subsequent delay circuits 83 to 86 (“selector a” in FIG. 11).
Above). The data output from each of the selectors 75 to 78 is delayed by one time slot by the delay circuits 83 to 86, and then supplied again to the third input terminal of the previous-stage selector. In particular, the outputs of the selectors 75 and 76 are multiplied by coefficients A0 and A1 in multipliers 87 and 88, and then added in an adder 89. And the delay circuit 9
After being delayed by 2, the signal is supplied to the second input terminal of the selector 75.

【0093】前述したように、セレクタ75で選択出力
されているデータは、1つ前に復調再生された波形デー
タであり、セレクタ76の出力データは2つ前に復調さ
れた波形データであるので、それらに係数A0、A1を
乗じて、加算器91で入力してくる圧縮波形データに加
算することにより、2次のLPC圧縮されたデータが復
調され、加算器91から復調された波形データが順次出
力される。なお、入力する波形がDPCM圧縮の圧縮波
形の場合は、その時分割チャンネルの該係数A0、A1
として、それぞれ、「1」、「0」の値を供給してやれ
ばよい。
As described above, the data selectively output by the selector 75 is the waveform data demodulated and reproduced immediately before, and the output data of the selector 76 is the waveform data demodulated immediately before. Are multiplied by the coefficients A0 and A1 and added to the compressed waveform data input by the adder 91 to demodulate the secondary LPC-compressed data. Output sequentially. When the input waveform is a compressed waveform of DPCM compression, the coefficients A0 and A1 of the time division channel are used.
It is sufficient to supply the values of “1” and “0”, respectively.

【0094】そして、次のタイムスロットにおいて、各
セレクタ75〜78は、アドレス発生部18から供給さ
れるインクリメント信号INC1の状態に応じて、第2
もしくは第3の入力端に供給されるデータを後段の回路
へ出力する(図11の「セレクタaのx1」を参照)。
インクリメント信号INC1が「1」のときには、第2
の入力端に供給されるデータが選択的に後段の回路へ出
力され、インクリメント信号INC1が「0」のときに
は、第3の入力端に供給されるデータが選択的に後段の
回路へ出力される。すなわち、インクリメント信号IN
Cが「1」のときには、データを更新する必要がある場
合であり、各セレクタの前段のディレイから供給された
データを後段のディレイに出力することになる。一方、
インクリメント信号INC1が「0」のときには、デー
タを更新する必要がない場合であり、セレクタの後段の
ディレイから出力されたデータを再びそのディレイに戻
し、前のタイムスロットにおいて各ディレイの出力して
いたデータを再び出力することになる。以下、インクリ
メント信号INC1からインクリメント信号INC3ま
で、各インクリメント信号の状態に応じて上記処理が行
なわれる(図11の「セレクタa」および「インクリメ
ント信号INC」を参照)。
Then, in the next time slot, each of the selectors 75 to 78 outputs the second signal according to the state of the increment signal INC1 supplied from the address generator 18.
Alternatively, the data supplied to the third input terminal is output to a subsequent circuit (see “x1 of selector a” in FIG. 11).
When the increment signal INC1 is “1”, the second
Is selectively output to the subsequent circuit, and when the increment signal INC1 is "0", the data supplied to the third input terminal is selectively output to the subsequent circuit. . That is, the increment signal IN
When C is "1", it is necessary to update the data, and the data supplied from the delay at the previous stage of each selector is output to the delay at the subsequent stage. on the other hand,
When the increment signal INC1 is "0", there is no need to update the data, and the data output from the delay at the subsequent stage of the selector is returned to that delay again, and the output of each delay was output in the previous time slot. The data will be output again. Hereinafter, the above processing is performed from the increment signal INC1 to the increment signal INC3 according to the state of each increment signal (see “selector a” and “increment signal INC” in FIG. 11).

【0095】すなわち、復調回路64の加算器91に対
し、ノンリニア拡張部からは4サンプル分の8ビット圧
縮波形データが順次供給され、一方、音源8のINC発
生部41からはデコードすべき圧縮波形データの数のパ
ルスがINC信号として供給されているので、該信号I
NC1〜INC3の中の「1」の信号数だけ順送りが行
われ、加算器91から出力される復調サンプルがディレ
イ92を通過した後にディレイ群83〜86に順次取り
込まれる。なお、下段のセレクタ75〜78における当
該時分割チャンネルの処理は、この信号INC3のタイ
ムスロットで終了し、次のタイムスロットからは次の時
分割チャンネル処理に移行する。一方、上段のセレクタ
93〜96においては、当該時分割チャンネルの処理
を、次の信号INC4のタイムスロットから連続4タイ
ムスロット分の期間行う。
That is, to the adder 91 of the demodulation circuit 64, the 8-bit compressed waveform data for four samples is sequentially supplied from the non-linear expansion section, while the compressed waveform to be decoded is supplied from the INC generation section 41 of the sound source 8. Since pulses equal to the number of data are supplied as the INC signal, the signal I
Forwarding is performed by the number of signals of “1” among NC1 to NC3, and demodulated samples output from the adder 91 are sequentially taken into the delay groups 83 to 86 after passing through the delay 92. The processing of the time division channel in the lower selectors 75 to 78 ends in the time slot of the signal INC3, and the next time slot shifts to the next time division channel processing. On the other hand, in the upper selectors 93 to 96, the processing of the time division channel is performed for a period of four consecutive time slots from the time slot of the next signal INC4.

【0096】そして、インクリメント信号INC4が供
給されると、上段のセレクタ93〜96は、該インクリ
メント信号INC4に応じて、当該タイムスロットにお
いて第2もしくは第3の入力端へ下段の遅延回路83〜
86から供給されたデータを選択的に後段の遅延回路9
7〜100へ出力する(図11の「セレクタb」および
「インクリメント信号INC」を参照)。すなわち、イ
ンクリメント信号INC4が「1」のときには、データ
を更新する場合であって、第2の入力端へ供給されるデ
ータ、すなわち下段のディレイ92、83、84、85
の出力する波形データがそれぞれ選択的に後段の遅延回
路97〜100へ出力される。一方、インクリメント信
号INC4が「0」ときには、データを更新する必要が
ない場合であり、第3の入力端へ供給されるデータ、す
なわち下段のディレイ83〜86の出力する波形データ
がそれぞれ選択的に後段の遅延回路97〜100へ出力
される。
When the increment signal INC4 is supplied, the upper selectors 93 to 96 supply the lower delay circuits 83 to 96 to the second or third input terminals in the time slot in accordance with the increment signal INC4.
86 is selectively supplied to the subsequent delay circuit 9
7 to 100 (see "selector b" and "increment signal INC" in FIG. 11). That is, when the increment signal INC4 is "1", the data is updated, and the data supplied to the second input terminal, that is, the lower delays 92, 83, 84, 85
Are selectively output to the subsequent delay circuits 97 to 100, respectively. On the other hand, when the increment signal INC4 is "0", there is no need to update the data, and the data supplied to the third input terminal, that is, the waveform data output from the lower-stage delays 83 to 86 are selectively output. It is output to the delay circuits 97 to 100 at the subsequent stage.

【0097】信号INC4のタイムスロットでディレイ
97〜100に取り込まれる4サンプル分の波形データ
のうち、4スロットのINC信号のうちの「1」であっ
たスロット数と同じ数のサンプルが、今回の時分割チャ
ンネルの処理で新たに復調されたデータであり、残りは
それ以前の同時分割チャンネルの処理で既に復調されて
いたデータである。この4サンプル分の再生波形データ
が、続く連続4スロットの期間にわたって、復調回路6
4から出力されると同時に、当該チャンネルの過去に再
生された4サンプル分のデータとして波形サンプルバッ
ファRAM70の当該チャンネルに対応した位置に順次
書き込まれる。
Of the four samples of waveform data taken into the delays 97 to 100 in the time slot of the signal INC4, the same number of samples as the number of slots that were “1” in the four-slot INC signal were used in this time. The data is newly demodulated in the processing of the time division channel, and the rest is the data already demodulated in the processing of the previous simultaneous division channel. The reproduced waveform data of these four samples is supplied to the demodulation circuit 6 over a period of four successive slots.
At the same time as the data output from the channel 4, the data is sequentially written in the waveform sample buffer RAM 70 at a position corresponding to the channel as data of four samples reproduced in the past of the channel.

【0098】したがって、信号INC4の次のタイムス
ロット以降、上段のセレクタ93〜96は常時第1の入
力端(上段の入力端)へ供給されるデータを選択し、後
段の遅延回路97〜100へ順次出力する(図11の
「セレクタb」を参照)。すなわち、セレクタ93は
「0」を出力し、セレクタ94〜96は、前段の遅延回
路からのデータを後段の遅延回路へ出力する。したがっ
て、最終段の遅延回路100からは、順次、復調された
4点分の波形データが古い順に出力され、バッファRA
M70へ順次書き込まれるとともに、復調回路64の出
力波形データとして出力される(図11の「バッファR
AM」を参照)。
Therefore, after the next time slot of the signal INC4, the upper selectors 93 to 96 always select the data supplied to the first input terminal (the upper input terminal) and send the data to the subsequent delay circuits 97 to 100. Output sequentially (see "selector b" in FIG. 11). That is, the selector 93 outputs “0”, and the selectors 94 to 96 output the data from the preceding delay circuit to the subsequent delay circuit. Therefore, the last-stage delay circuit 100 sequentially outputs the demodulated waveform data of four points in the order of chronological order.
M70, and is output as output waveform data of the demodulation circuit 64 (“buffer R” in FIG. 11).
AM ").

【0099】次に、非圧縮波形を再生する時分割チャン
ネルにおける復調部64の動作について説明する。4点
補間を行うということであったので、当該時分割チャン
ネルにおいて、復調部64には、ノンリニア拡張部よ
り、補間に必要な4点分のH圧縮波形データが順次供給
される。この場合、1音源構成(信号C2が「0」)
で、当該チャンネルについて4点補間(信号P2が
「0」)かつ非圧縮波形(信号COMPが「0」)であ
るので、INC信号発生部は全4パルスを発生する。復
調回路64の動作は、前述した圧縮波形のチャンネルの
場合と同様であるが、この場合、信号COMPが「0」
であるのでゲート90は閉じた状態となり、加算器91
からはその片方の入力に順次供給される4点分の非圧縮
データがそのまま出力される。加算器91を通過した非
圧縮波形データは、まず、先の3点分が全て「1」であ
る信号INC1〜3に応じてディレイ83〜85に順送
りで取り込まれ、続く「1」の値の信号INC4によっ
て、最後に入力される4点目の波形データと共に上段デ
ィレイ97〜100に取り込まれる。取り込まれた4点
分の非圧縮波形データは、圧縮波形データの場合と同じ
4スロット分のタイミングで、順次ディレイ100から
出力され、バッファRAM70に書き込まれると同時
に、復調回路64の出力波形データとして出力される。
Next, the operation of the demodulation unit 64 in a time division channel for reproducing an uncompressed waveform will be described. Since four-point interpolation is to be performed, H-compressed waveform data for four points required for interpolation is sequentially supplied to the demodulation unit 64 from the non-linear expansion unit in the time-division channel. In this case, one sound source configuration (signal C2 is "0")
Since the channel has a four-point interpolation (the signal P2 is "0") and an uncompressed waveform (the signal COMP is "0"), the INC signal generator generates all four pulses. The operation of the demodulation circuit 64 is the same as in the case of the above-described channel of the compressed waveform, but in this case, the signal COMP becomes “0”.
Therefore, the gate 90 is closed, and the adder 91 is closed.
Output uncompressed data for four points sequentially supplied to one of the inputs. The uncompressed waveform data that has passed through the adder 91 is first taken in by delays 83 to 85 in order according to the signals INC1 to INC3 in which the preceding three points are all "1", and the subsequent values of "1" In response to the signal INC4, it is taken into the upper-stage delays 97 to 100 together with the last input waveform data of the fourth point. The captured four points of uncompressed waveform data are sequentially output from the delay 100 and written into the buffer RAM 70 at the same timing as the four slots as in the case of the compressed waveform data, and simultaneously as output waveform data of the demodulation circuit 64. Is output.

【0100】上記復調回路64によって復調された4点
分の波形データは、図1に示す音源8の補間部19へ供
給される。この場合、4点補間であるので2点補間信号
P2が「0」となっている。したがって、補間部19の
セレクタ105は、第1の入力端(上段の入力端)に供
給される係数メモリ103からの補間係数を出力する
(図12の「4点補間時(P2=0)」を参照)。そし
て、各波形データは、乗算器107において、上記対応
する補間係数が乗算された後、補間累算器108で累算
され、各時分割チャンネルの補間された波形データとし
て図1に示すエンベロープ乗算部21へ供給される。
The waveform data for the four points demodulated by the demodulation circuit 64 is supplied to the interpolation unit 19 of the sound source 8 shown in FIG. In this case, the two-point interpolation signal P2 is "0" because of the four-point interpolation. Therefore, the selector 105 of the interpolation unit 19 outputs the interpolation coefficient from the coefficient memory 103 supplied to the first input terminal (upper input terminal) (“4 point interpolation (P2 = 0)” in FIG. 12). See). Each waveform data is multiplied by the corresponding interpolation coefficient in the multiplier 107, and then accumulated in the interpolation accumulator 108. The multiplied envelope data shown in FIG. It is supplied to the unit 21.

【0101】一方、エンベロープ発生部20では、エン
ベロープ制御レジスタ17から供給されるエンベロープ
制御信号に応じて、32チャンネル分のエンベロープが
順次生成され、該エンベロープは上記エンベロープ発生
乗算部21へ供給される。そして、エンベロープ乗算部
21において、各時分割チャンネル毎に、上記補間され
た波形データに、上記エンベロープが付与され、チャン
ネル累算部22において、32チャンネル分の波形デー
タがミキシングされて、1サンプリング周期毎のミキシ
ング波形データを生成し、DAC23によりアナログ信
号に変換された後、サウンドシステム10において楽音
として発音される。
On the other hand, in the envelope generation section 20, envelopes for 32 channels are sequentially generated in accordance with the envelope control signal supplied from the envelope control register 17, and the envelope is supplied to the envelope generation multiplication section 21. Then, in the envelope multiplication unit 21, the envelope is added to the interpolated waveform data for each time-division channel, and the waveform data for 32 channels is mixed in the channel accumulation unit 22 to obtain one sampling period. After each mixing waveform data is generated and converted into an analog signal by the DAC 23, it is generated as a musical tone in the sound system 10.

【0102】なお、上述したケースCの構成では、16
ビットデータ(非圧縮)の場合には、発音される楽音の
ピッチに制限はなく、8ビットデータ(圧縮)の場合に
は、200KHzまで(すなわち、Fナンバが「4」以
下)のピッチ制限が生じる。なぜならば、本実施例で
は、各時分割チャンネル毎に、最大4点の圧縮波形デー
タまでしかデコードできず、かつ、圧縮波形データをデ
コードする時には、飛ばし読みは許されないからであ
る。
In the configuration of case C described above, 16
In the case of bit data (uncompressed), there is no limit on the pitch of the tones to be generated. Occurs. This is because, in the present embodiment, only up to four points of compressed waveform data can be decoded for each time-division channel, and skipping is not allowed when decoding compressed waveform data.

【0103】(8−4)ケースD 次に、図2(d)に示すように、2つの音源8a,8b
に対して、その各々に1つの外付け回路7a,7bを装
着した場合について説明する。この場合には、マスター
側の音源8aに対しては、外付け指示信号OP=2、チ
ップ信号C2=1、およびマスター信号MC=1となる
一方、スレーブ側の音源8bに対しては、外付け指示信
号OP=2、チップ信号C2=1、およびマスター信号
MC=0となる。この場合、音源8a,8bでは、4点
補間で、32チャンネル分の発音が行なわれ、全体とし
て計64チャンネル分の発音が行なわれる。
(8-4) Case D Next, as shown in FIG. 2D, the two sound sources 8a and 8b
The case where one external circuit 7a, 7b is attached to each of them will be described. In this case, the external instruction signal OP = 2, the chip signal C2 = 1, and the master signal MC = 1 for the master sound source 8a, while the external sound signal 8b for the slave sound source 8b. The attachment instruction signal OP = 2, the chip signal C2 = 1, and the master signal MC = 0. In this case, the sound sources 8a and 8b generate sounds for 32 channels by four-point interpolation, and generate sounds for a total of 64 channels.

【0104】まず、マスター側の音源8aにおけるアド
レス発生部18aでは、オフセット発生部36aに供給
される外付け指示信号OPが「2」となるため、タイム
スロットT1〜T4において出力されるオフセット値
は、順次、「+4」、「+2」、「0」、「+4」とな
る。したがって、タイムスロットT1においては、4チ
ャンネル分先のチャンネルのアドレスデータがアドレス
RAM38aから読み出され、ラッチ回路32aによっ
てラッチされる。
First, in the address generation section 18a of the master-side sound source 8a, the external instruction signal OP supplied to the offset generation section 36a is "2". Sequentially become "+4", "+2", "0", and "+4". Therefore, in the time slot T1, the address data of the channel four channels ahead is read from the address RAM 38a and latched by the latch circuit 32a.

【0105】次に、タイムスロットT2においては、オ
フセット値が「2」であるため、2チャンネル先のアド
レス整数部がアドレスRAM38aから読み出され、ラ
ッチ回路39aによってラッチされる。そして、タイム
スロットT3においては、オフセット値が「0」である
ため、自身のチャンネルのアドレス小数部がアドレスR
AM38aから読み出されて、ラッチ回路46によって
ラッチされる。このタイムスロットT2,T3の間に、
タイムスロットT1において、ラッチ回路39にラッチ
された、4チャンネル分先のアドレスデータは、そのア
ドレス整数部が全加算器31aへ供給され、アドレス小
数部が全加算器32aへ供給される。そして、Fナンバ
発生部30aが出力するFナンバと加算されて更新さ
れ、更新されたアドレスデータ(整数部、小数部)は、
アドレス制御部34aにおいて、アドレス制御データに
応じた処理を施された後、アドレスRAM38aの入力
端DIへ供給される。
Next, in the time slot T2, since the offset value is "2", the address integer part two channels ahead is read from the address RAM 38a and latched by the latch circuit 39a. In the time slot T3, since the offset value is “0”, the address decimal part of its own channel is the address R.
The data is read from the AM 38 a and latched by the latch circuit 46. Between these time slots T2 and T3,
In the time slot T1, the address data of four channels ahead of the address data latched by the latch circuit 39 is supplied to the full adder 31a, and the fractional part of the address is supplied to the full adder 32a. The updated address data (integer part, decimal part) is added to and updated with the F number output by the F number generation unit 30a.
After being processed in the address control section 34a in accordance with the address control data, it is supplied to the input terminal DI of the address RAM 38a.

【0106】そして、タイムスロットT4において、上
記更新されたアドレスデータがアドレスRAM38aの
4チャンネル分先のチャンネルに相当するアドレスに格
納される。すなわち、この場合には、各チャンネルのア
ドレスデータの更新は、4チャンネル分未来のチャンネ
ル処理におけるタイムスロットT1,T4で行なわれ、
各チャンネルのアドレス整数部は、1チャンネル分未来
のチャンネル処理におけるタイムスロットT2で出力さ
れるとともに、そのアドレス小数部は、該当チャンネル
のタイムスロットT3で出力される。
Then, in the time slot T4, the updated address data is stored in the address corresponding to the channel four channels ahead in the address RAM 38a. That is, in this case, the update of the address data of each channel is performed in the time slots T1 and T4 in the future channel processing for four channels,
The address integer part of each channel is output in the time slot T2 in the future channel processing for one channel, and the address decimal part is output in the time slot T3 of the corresponding channel.

【0107】この構成の場合、外付け回路7a、7bの
デコード機能により圧縮波形も再生可能であり、さら
に、非圧縮波形の再生において、外付け回路7a、7b
から過去サンプルを供給して4点補間を行うことが可能
である(ちなみに、圧縮波形では必ず4点補間を行い、
2点補間は選択されない)。ただし、該過去サンプルの
供給において、Fナンバが「2」を越える場合は新規サ
ンプルの供給が追い付かなくなるため、非圧縮波形の補
間を2点補間に設定する。また、圧縮波形のデコードに
ついては、やはり新規サンプルの供給スピードの理由に
よりFナンバが「3」以下に制限される。このそれぞれ
の場合について、ラッチ回路45以降の働きが異なるの
で、それぞれの場合について説明する。
In the case of this configuration, the compressed waveform can be reproduced by the decoding function of the external circuits 7a and 7b. Further, in reproducing the non-compressed waveform, the external circuits 7a and 7b
It is possible to perform a four-point interpolation by supplying a past sample from
Two-point interpolation is not selected). However, if the F number exceeds “2” in the supply of the past sample, the supply of the new sample cannot keep up with the current sample, so that the interpolation of the non-compressed waveform is set to two-point interpolation. Also, for decoding of the compressed waveform, the F number is limited to “3” or less for the same reason as the supply speed of a new sample. Since the operation after the latch circuit 45 is different in each case, each case will be described.

【0108】まず、圧縮波形再生の場合であるが、この
時のセレクタ43aおよびシフトダウン部48aの働き
は、1音源構成の場合と全く同じであり、セレクタ43
aは補正値として戻り量発生部42aの出力する戻り量
を選択出力し、シフトダウン部48aでは、1ビットの
シフトダウンが行われる。半加算器33aの算出したア
ドレス進み量ΔIは、上述した理由により値が「3」以
下に制限されており、その値ΔIに応じて、戻り量発生
部42aは、戻り量を発生するし、INC発生部41a
は同数のパルスを発生する。加算器50aには、シフト
ダウン部より1音源構成の場合と同じ値のアドレスが供
給されるが、今度の場合は信号C2が「1」であるた
め、補間カウンタ49aからは1時分割チャンネルの4
スロットにわたり、「0」、「1」、「0」、「1」を
供給する。マスター側ではその内の前半の2スロットで
波形メモリをアクセスし、先程と同様、既にデコードさ
れたサンプルの次の、次にデコードすべき圧縮サンプル
を含む16ビットデータのアドレスと、該アドレスの次
のアドレスが、前半の2スロットにて順次ゲート回路5
1aから出力され、波形メモリ6に供給される。
First, in the case of compressed waveform reproduction, the operations of the selector 43a and the shift-down unit 48a at this time are exactly the same as in the case of the one sound source configuration.
“a” selectively outputs the return amount output from the return amount generation unit 42a as a correction value, and the shift-down unit 48a performs one-bit downshift. The value of the address advance amount ΔI calculated by the half adder 33a is limited to “3” or less for the above-described reason. According to the value ΔI, the return amount generation unit 42a generates the return amount. INC generator 41a
Generates the same number of pulses. The adder 50a is supplied with the address of the same value as in the case of the one-sound-source configuration from the shift-down unit. 4
Provide "0", "1", "0", "1" over the slot. On the master side, the waveform memory is accessed in the first two slots, and the address of the 16-bit data including the compressed sample to be decoded next to the already decoded sample and the address next to the address, as described above, Are sequentially input to the gate circuit 5 in the first two slots.
1a and supplied to the waveform memory 6.

【0109】次に、非圧縮波形4点補間の場合である
が、通常の4点補間の場合と異なり、セレクタ43aは
戻り量発生部42aの発生する戻り量を選択出力する。
直前の圧縮波形の再生の場合と同様、半加算器33aの
算出するアドレス進み量ΔIは、値が「2」以下に制限
されており、その進み量ΔIに応じて、戻り量およびI
NC信号が生成される。加算器47aにて、ラッチ回路
45aにラッチされたアドレスに戻り量が加算され、加
算器47aの計算結果であるところの次に読み出すべき
非圧縮波形のアドレス(スタートアドレスからの相対ア
ドレス)が出力され、該アドレスは、信号COMPが
「0」であるので、シフトダウン部48aを何ら処理を
受けることなく通過し、加算器50aに入力する。補助
カウンタ49aからは、先と同様、1時分割チャンネル
の4スロットにわたり、「0」、「1」、「0」、
「1」が順次出力されており、ゲート回路51aでは、
加算器50aにおける加算結果のうちの前2スロットを
出力する。
Next, in the case of the non-compressed waveform four-point interpolation, unlike the normal four-point interpolation, the selector 43a selects and outputs the return amount generated by the return amount generator 42a.
As in the case of reproducing the immediately preceding compressed waveform, the value of the address advance ΔI calculated by the half adder 33a is limited to “2” or less, and the return amount and I
An NC signal is generated. In the adder 47a, the return amount is added to the address latched by the latch circuit 45a, and the address of the next uncompressed waveform to be read out (the relative address from the start address), which is the calculation result of the adder 47a, is output. Since the signal COMP is "0", the address passes through the shift-down unit 48a without any processing and is input to the adder 50a. From the auxiliary counter 49a, "0", "1", "0",
“1” is sequentially output, and in the gate circuit 51a,
The previous two slots of the addition result in the adder 50a are output.

【0110】この外付け回路7aによるサンプル供給を
受けた4点補間の場合、外付け回路7aのバッファRA
M70aの中に過去の当該時分割チャンネルで読み出し
た4点分の非圧縮波形データがそのまま収納されてお
り、各時分割チャンネルで新たに読み出した波形データ
とバッファRAM70aの過去に読み出した4点分の波
形データから、補間に必要な4点分の波形データを得る
ようになっている。ここで、加算器47の出力は、バッ
ファRAM70aに記憶された4点分の波形データに続
く、次の波形データの相対アドレスである。マスター側
の音源では、前半の2スロットを用いてバッファRAM
70aに記憶された波形データに続く、次の波形データ
とさらにその次の波形データを波形メモリ6から読み出
すようになっている。同時に、INC発生器41aから
は、アドレス進み量ΔIに応じてインクリメント信号I
NC1〜INC4を順次発生する。該信号INC1〜IN
C4は、その読み出された波形データのうちいくつを外付
け回路7に取り込むかを示すパルス信号である。前述し
たようにアドレスの進み量ΔIは、「2」以下であるの
で、信号INC3、INC4は必ず「0」になる。
In the case of four-point interpolation in which the sample is supplied by the external circuit 7a, the buffer RA of the external circuit 7a is used.
The uncompressed waveform data of the past four points read out by the time division channel in the past is stored in M70a as it is. The waveform data of four points required for interpolation is obtained from the waveform data of. Here, the output of the adder 47 is the relative address of the next waveform data following the waveform data for four points stored in the buffer RAM 70a. The master side sound source uses the buffer RAM with the first two slots.
The next waveform data following the waveform data stored in 70a and the next waveform data are read from the waveform memory 6. At the same time, the INC generator 41a outputs an increment signal I according to the address advance amount ΔI.
NC1 to INC4 are sequentially generated. The signals INC1 to IN
C4 is a pulse signal indicating how many of the read waveform data are taken into the external circuit 7. As described above, since the address advance amount ΔI is equal to or less than “2”, the signals INC3 and INC4 always become “0”.

【0111】最後に、非圧縮波形を2点補間する場合で
あるが、先に説明した2音源構成の場合と全く同じであ
る。つまり、セレクタ43aは一定値「−2」を選択出
力し、シフトダウン部48aは入力するアドレスをその
まま出力し、補間カウンタ49aは「0」、「1」、
「0」、「1」を出力し、ゲートはマスター側において
前半の2スロットのみ開く。したがって、動作の詳細に
ついての説明は省略する。ただし、INC発生部は、通
常と異なり、マスター側にて「1」、「1」「1」、
「1」を、スレーブ側にて「0」、「0」、「1」、
「1」を、それぞれ時分割チャンネルの4スロットの期
間に出力している。このインクリメント信号は、外付け
回路7a、7bから補間部19a、19bに対し、波形
データを出力する出力タイミングを、マスター側、スレ
ーブ側それぞれに適したタイミングで調整している。
Finally, a case where two-point interpolation is performed on the uncompressed waveform is exactly the same as the case of the two sound source configuration described above. That is, the selector 43a selects and outputs the constant value “−2”, the shift-down unit 48a outputs the input address as it is, and the interpolation counter 49a outputs “0”, “1”,
"0" and "1" are output, and the gate opens only the first two slots on the master side. Therefore, a detailed description of the operation is omitted. However, the INC generating unit is different from the usual one, and the master side sets “1”, “1”, “1”,
“1” is replaced by “0”, “0”, “1”,
"1" is output in each of the four slots of the time-division channel. The increment signal adjusts the output timing of outputting the waveform data from the external circuits 7a and 7b to the interpolation units 19a and 19b at timings suitable for the master side and the slave side.

【0112】一方、スレーブ側の音源8bにおいても、
マスター側の音源8aと同様の動作により、2点分のア
ドレスデータが生成され、波形メモリ6へ順次供給され
る。ただし、スレーブ側の音源8bでは、最終段のゲー
ト回路51bが後半の2タイムスロットだけ開状態とな
るため、後半の2点分のアドレスデータが出力されるこ
とになる。
On the other hand, also in the sound source 8b on the slave side,
Address data for two points is generated by the same operation as that of the tone generator 8a on the master side, and is sequentially supplied to the waveform memory 6. However, in the sound source 8b on the slave side, the gate circuit 51b in the last stage is open only for the latter two time slots, so that the address data for the latter two points is output.

【0113】波形メモリ6からは上記アドレスデータ
(マスター用の2点、スレーブ用の2点)に従って波形
データが順次読み出され、前半の2点分の波形データが
マスター側の音源8aに対する外付け回路7aへ供給さ
れ、後半の2点分の波形データがスレーブ側の音源8b
に対する外付け回路7bへ供給される。
The waveform data is sequentially read from the waveform memory 6 in accordance with the address data (two points for the master and two points for the slave). The waveform data for the latter two points is supplied to the circuit 7a and the slave side sound source 8b
To the external circuit 7b.

【0114】マスター側の外付け回路7aにおいては、
セレクタ57aで遅延回路56aの出力を選択する。一
方、スレーブ側ではセレクタ57bは遅延回路55bの
出力側を選択する。この様子が、図11の2チップ時
(マスター/スレーブ)に示されている。波形メモリの
各時分割チャンネルの4つのタイムスロットで取り込ま
れたデータをそれぞれI、II、III、IVとする
と、マスター側ではその前半の2スロット分のデータ
I、II、スレーブ側では後半の2スロット分のデータ
III、IVをそれぞれ取り込むわけである。図11に
よると、セレクタ57aの出力するデータI、IIのタ
イミングと、セレクタ57bの出力するデータIII、
IVのタイミングが丁度同じタイミング(1時分割チャ
ンネルの4スロットのうちの前半2スロット)になるよ
う制御されているわけである。つまり、このセレクタ5
7a、57b以降の復調回路64a、64bのところま
ではマスター/スレーブとも同一のタイミングで動作し
ている。
In the external circuit 7a on the master side,
The output of the delay circuit 56a is selected by the selector 57a. On the other hand, on the slave side, the selector 57b selects the output side of the delay circuit 55b. This state is shown in the case of two chips (master / slave) in FIG. Assuming that data taken in four time slots of each time division channel of the waveform memory are I, II, III, and IV, respectively, data I and II for the first two slots on the master side, and data I and II for the second half on the slave side. The data III and IV corresponding to the slot are taken in. According to FIG. 11, the timing of data I and II output from the selector 57a and the timing of data III and
The IV timing is controlled so as to be exactly the same timing (the first two slots of the four slots of one time division channel). That is, this selector 5
The master / slave operates at the same timing up to the demodulation circuits 64a and 64b after 7a and 57b.

【0115】セレクタ57a、57bから出力されたデ
ータは、それぞれ、その後につながるセレクタ58a、
58b〜復調回路64a、64bにおいて所定の処理を
施されつつ通過するわけである。圧縮波形についてのこ
この部分での処理は、既に、外付け回路7付き1音源構
成のところで述べたものと全く同じであり、説明を省略
する。
The data output from the selectors 57a and 57b are connected to the selectors 58a and 58
From 58b to the demodulation circuits 64a and 64b, the signal passes while being subjected to predetermined processing. The processing in this part of the compressed waveform is exactly the same as that already described in the case of the one-sound-source configuration with the external circuit 7, and the description is omitted.

【0116】次に、非圧縮波形を再生する時分割チャン
ネルの場合の説明を行う。セレクタ57a、57bを通
過した非圧縮波形の波形データは、外付け回路7付き1
音源構成のところで前述した非圧縮波形の場合と同様、
何ら処理を施されずに復調回路64a、64bに入力す
る。4点補間と2点補間の場合がありえるが、ここまで
はどちらも同じである。
Next, a case of a time division channel for reproducing an uncompressed waveform will be described. The uncompressed waveform data that has passed through the selectors 57a and 57b is
As with the uncompressed waveform described above for the sound source configuration,
The data is input to the demodulation circuits 64a and 64b without any processing. There may be a case of four-point interpolation and a case of two-point interpolation, but both are the same so far.

【0117】先に復調回路64a、64bにおける非圧
縮波形の4点補間用過去サンプル供給の処理について説
明する。この場合、バッファRAM70a、70bには
当該時分割チャンネルで過去に読み出され補間に使用さ
れた4点分の波形データが記憶されている。今回の時分
割チャンネルで波形メモリ6から読み出されたデータが
加算器91a、91bに入力する前のタイミング(図1
1のバッファRAMのDOのタイミング)において、該
4点分の波形データがバッファRAM70a、70bか
ら読み出され順次ラッチ71a、71b〜74a、74
bにラッチされる。ラッチされた各データは、次の図1
1のセレクタa「上」のタイミングでセレクタ75a、
75b〜78a、78bにより選択され、ディレイ83
a、83b〜86a、86bに供給される。
First, the process of supplying the past samples for the four-point interpolation of the uncompressed waveform in the demodulation circuits 64a and 64b will be described. In this case, the buffer RAMs 70a and 70b store the waveform data of four points that have been read out in the past in the time division channel and used for interpolation. The timing before the data read from the waveform memory 6 in the current time-division channel is input to the adders 91a and 91b (FIG.
At the timing of DO of one buffer RAM), the waveform data of the four points is read from the buffer RAMs 70a and 70b and sequentially latched 71a, 71b to 74a and 74.
b. Each of the latched data is shown in FIG.
The selector 75a at the timing of “upper” of the selector a
75b to 78a, 78b
a, 83b to 86a, 86b.

【0118】図11に示されるように、そのタイミング
から、順次新たな読み出しデータが加算器91a、91
bに入力するが、この時、信号COMPが「0」である
ので、ゲート90a、90bは閉じており、入力した非
圧縮波形データはそのままディレイ90a、90bにそ
れぞれ供給される。先に述べたとおり、インクリメント
信号INCとして、新たに取り込むべき波形データの数
だけパルスが供給されているので、セレクタaのX1と
X2のタイミングにおいて、該信号INC1〜INC2に
応じたシフトを行い(信号INC3〜INC4は必ず
「0」)、信号INC4のタイミングでセレクタ93
a、93b〜96a、96bの第3の入力端からディレ
イ97a、97b〜100a、100bに供給され、そ
の後、該上段のディレイ97a、97b〜100a、1
00bで順送りすることにより、ディレイ100a、1
00bの出力がバッファRAM70a、70bに再び供
給され書込まれるとともに、復調部64a、64bの出
力として補間部19a、19bにそれぞれ供給される。
この出力されるデータは、結局、もともとバッファRA
M70a、70bに入っていた過去に4点補間に使用し
た4点分の波形データを、信号INC1〜INC2に応じ
て新たに波形メモリ6から読み出した波形データで更新
した4点分の波形データが、今回の補間に使用する4点
分の波形データということになり、復調部64a、64
bから出力されるとともに、次回の処理のためバッファ
RAM70a、70bに書込まれる。
As shown in FIG. 11, from the timing, new read data is sequentially added to the adders 91a and 91a.
At this time, since the signal COMP is "0", the gates 90a and 90b are closed, and the input uncompressed waveform data is supplied to the delays 90a and 90b as they are. As described above, since pulses are supplied as the increment signal INC by the number of waveform data to be newly acquired, a shift corresponding to the signals INC1 to INC2 is performed at the timing of X1 and X2 of the selector a ( The signals INC3 to INC4 are always "0"), and the selector 93 is set at the timing of the signal INC4.
a, 93b to 96a and 96b are supplied to the delays 97a, 97b to 100a and 100b from the third input terminals, and thereafter, the delays 97a, 97b to 100a and 1
00b, the delay 100a, 1
The output of 00b is again supplied to and written into the buffer RAMs 70a and 70b, and is also supplied to the interpolation units 19a and 19b as the outputs of the demodulation units 64a and 64b, respectively.
This output data is eventually stored in the buffer RA.
The four points of waveform data that were previously used for the four-point interpolation in M70a and 70b and that were updated with the waveform data newly read from the waveform memory 6 in accordance with the signals INC1 to INC2 are used. That is, the waveform data for four points used for the current interpolation is obtained.
b and is written to the buffer RAMs 70a and 70b for the next processing.

【0119】次に、圧縮波形を再生している場合である
が、先に説明した通り、セレクタ57a、57bの働き
によりスレーブ側の入力波形のタイミングがマスター側
の1音源構成の場合と同じタイミングに揃えられ、セレ
クタ58a、58bで1音源構成の場合と同じに8ビッ
トデータに分離しているので、復調回路64a、64b
に入る圧縮波形の態様は、先に説明した外付け回路7付
き1音源構成の場合と全く同じになる。したがって、ノ
ンリニア拡張部63a、63bで拡張された圧縮波形
は、復調回路64a、64bにおいて、その場合と同様
に復調、出力される。
Next, in the case where the compressed waveform is being reproduced, as described above, the timing of the input waveform on the slave side is the same as that in the case of the one sound source configuration on the master side by the operation of the selectors 57a and 57b. And the selectors 58a and 58b separate the data into 8-bit data in the same manner as in the case of the one sound source configuration, so that the demodulation circuits 64a and 64b
The form of the compressed waveform to be entered is exactly the same as in the case of the one-sound-source configuration with the external circuit 7 described above. Therefore, the compressed waveforms expanded by the non-linear expansion units 63a and 63b are demodulated and output by the demodulation circuits 64a and 64b in the same manner as in that case.

【0120】最後に、非圧縮波形を2点補間する場合に
ついて説明する。上記の場合と同様、セレクタ57a、
57bにてマスター側とスレーブ側のデータが同一タイ
ミングになるように制御され、そのまま、セレクタ58
a、58bおよびゲート62a、62bとノンリニア拡
張部63a、63bを通過して復調回路64に入力す
る。復調回路64a、64bの出力が入力する補間部1
9a、19bでは、2音源構成で外付けがある場合と無
い場合とで、処理のタイミングが一緒であるので、復調
回路64a、64bでは、その同一タイミング化された
データを、マスター側、スレーブ側で異なるタイミング
にもう一度直して出力する必要がある。この場合、復調
回路64a、64bには、1チャンネル4タイムスロッ
ト分のインクリメント信号INCとして、マスター側に
「1」、「1」、「1」、「1」が、スレーブ側に
「0」、「0」、「1」、「1」が供給されている。復
調回路64a、64bの各構成要素の働き自体はいまま
での説明と同じであるが、このインクリメント信号IN
Cにより、該異なるタイミングに直す処理が行われる。
すなわち、各時分割チャンネルの4タイムスロットの前
半2スロットに入っている2点分の非圧縮波形データ
は、マスター側復調回路64aの出口では各時分割チャ
ンネルの前半2スロット、スレーブ側復調回路64bの
出口では後半2スロットの、それぞれ異なるタイミング
に入っている。
Finally, a case where two-point interpolation is performed on an uncompressed waveform will be described. As in the above case, the selector 57a,
At 57b, the data on the master side and the data on the slave side are controlled so as to have the same timing.
a, 58b, the gates 62a, 62b, and the non-linear extension units 63a, 63b. Interpolator 1 to which the outputs of demodulation circuits 64a and 64b are input
In 9a and 19b, the processing timing is the same between the case where there is an external device and the case where there is no external device in the two sound source configuration, so that the demodulation circuits 64a and 64b use It is necessary to output again at a different timing. In this case, the demodulation circuits 64a and 64b output “1”, “1”, “1”, “1” on the master side and “0” on the slave side as increment signals INC for four time slots per channel. “0”, “1”, and “1” are supplied. The function itself of each component of the demodulation circuits 64a and 64b is the same as described above, but this increment signal IN
By C, the process of correcting to the different timing is performed.
That is, two points of uncompressed waveform data in the first two slots of the four time slots of each time-division channel are output from the master-side demodulation circuit 64a at the first two slots of each time-division channel and the slave-side demodulation circuit 64b. At the exit, the two slots in the latter half are at different timings.

【0121】先に説明した通り、図4には、外付け回路
7有りの場合の2チャンネル時間分先にiチャンネルの
アドレス発生している様子が示されている。一方、図1
1には、メモリアドレスとして、その2チャンネル時間
分先出しされたアドレスが示されており、波形メモリ6
から読み出されたデータは、このタイミングで外付け回
路7に取り込まれる。取り込まれたデータは、図11の
出力として描かれているタイミングで外付け回路7より
出力される。すなわち、この図11には、外付け回路7
に波形メモリの読み出しデータが入力されてから補間部
19に波形データが出力される間での2チャンネル分の
時間遅れが生じる様子が示されている。図4の2チャン
ネル分先出しされたアドレスに対応した波形データは、
外付け回路7からそのチャンネル分後、つまり図4にお
ける外付け回路のない場合の読み出しタイミングと同じ
タイミングにて出力される。
As described above, FIG. 4 shows a state in which an i-channel address is generated two channels ahead of time when the external circuit 7 is provided. On the other hand, FIG.
1 shows a memory address, which is an address advanced by two channel times, as a memory address.
Is read into the external circuit 7 at this timing. The fetched data is output from the external circuit 7 at the timing depicted as the output in FIG. That is, FIG.
2 shows a state in which a time delay of two channels occurs between the input of the read data of the waveform memory and the output of the waveform data to the interpolation unit 19. The waveform data corresponding to the two-channel advanced address shown in FIG.
The signal is output from the external circuit 7 after the number of channels, that is, at the same timing as the read timing when there is no external circuit in FIG.

【0122】補間部19a、19bの各時分割チャンネ
ルの4スロットの各入力タイミングにおける波形データ
は、上述してきた補間の各場合ごと、外付け回路が装着
されていないときと、装着されているときとで変らな
い。したがって、補間部19a、19bは、外付け回路
が装着されているか装着されていないかを気にすること
なく、指定された補間方法で補間を実行し、各時分割チ
ャンネル毎に1つの補間された波形データを出力する。
The waveform data at each input timing of the four slots of each time-division channel of each of the interpolation units 19a and 19b is obtained when the external circuit is not mounted and when the external circuit is mounted in each case of the above-described interpolation. And does not change. Therefore, the interpolating units 19a and 19b execute the interpolation according to the specified interpolation method without regard to whether the external circuit is mounted or not, and perform one interpolation for each time-division channel. Output the waveform data.

【0123】一方、エンベロープ発生部20aでは、エ
ンベロープ制御レジスタ17aから供給されるエンベロ
ープ制御信号に応じて、32チャンネル分のエンベロー
プが順次生成され、該エンベロープは上記エンベロープ
発生乗算部21aへ供給される。そして、エンベロープ
乗算部21aにおいて、各時分割チャンネル毎に、上記
補間された波形データに、上記エンベロープが付与さ
れ、チャンネル累算部22aにおいて、32チャンネル
分の波形データがミキシングされて、DAC23aによ
りアナログ信号に変換された後、サウンドシステム10
において楽音として発音される。
On the other hand, in the envelope generating section 20a, envelopes for 32 channels are sequentially generated in accordance with the envelope control signal supplied from the envelope control register 17a, and the envelopes are supplied to the envelope generating and multiplying section 21a. The envelope multiplication unit 21a adds the envelope to the interpolated waveform data for each time-division channel, and the channel accumulation unit 22a mixes the waveform data for 32 channels, and the analog data is converted by the DAC 23a. After being converted to a signal, the sound system 10
Is pronounced as a musical tone.

【0124】なお、上述したケースDの構成では、16
ビットデータ(非圧縮)の場合には、100KHzまで
のピッチ制限が生じ、8ビットデータ(圧縮)の場合に
は、150KHzまでのピッチ制限が生じる。また、こ
の構成では2点補間も可能であり、この場合、16ビッ
トデータ(非圧縮)ではピッチ制限がなくなる。また、
音源を2チップとした場合には、いずれか一方にのみ、
外付け回路を装着するようにしてもよい。
Note that, in the configuration of Case D described above, 16
In the case of bit data (uncompressed), a pitch limitation of up to 100 KHz occurs, and in the case of 8-bit data (compression), a pitch limitation of up to 150 KHz occurs. In this configuration, two-point interpolation is also possible. In this case, the pitch limitation is eliminated with 16-bit data (uncompressed). Also,
If the sound source is two chips, only one of them
An external circuit may be attached.

【0125】[0125]

【発明の効果】以上、説明したように、請求項1記載の
発明によれば、波形データを記憶する波形メモリと、複
数時分割チャンネル毎にアドレスを生成し、該アドレス
によって前記波形メモリから読み出された、各時分割チ
ャンネル毎にn個の波形データに基づいて複数時分割チ
ャンネル分の楽音を生成する第1の楽音生成手段とを備
える楽音発生装置において、前記楽音発生装置の構成に
追加可能であって、前記第1の楽音生成手段とともに、
前記波形メモリを共用する第2の楽音生成手段と、前記
第2の楽音生成手段が追加される際には各時分割チャン
ネルにて読み出す必要のある波形データの数を前記n個
より少ないm個に変更する読み出し数変更手段とを具備
するようにしたため、波形メモリの共有化によって、波
形メモリを追加することなく音源をユーザが追加可能に
するとともに、音源を追加した場合に補間点数を落とす
ようにして、波形メモリへのアクセス回数を減らすこと
により、波形データの読み出しに係る速度を抑えること
ができるという利点が得られる。
As described above, according to the first aspect of the present invention, a waveform memory for storing waveform data, an address is generated for each of a plurality of time division channels, and the address is read from the waveform memory by the address. A first tone generating means for generating musical tones for a plurality of time division channels based on n waveform data output for each of the time division channels. Possible, together with the first musical tone generating means,
A second musical tone generating means sharing the waveform memory, and when the second musical tone generating means is added, the number of waveform data to be read in each time division channel is reduced to m less than n. And a readout number changing means for changing the number of waveforms, so that the waveform memory can be shared by the user without adding a waveform memory, and the number of interpolation points can be reduced when a sound source is added. By reducing the number of accesses to the waveform memory, it is possible to obtain an advantage that the speed of reading the waveform data can be suppressed.

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

【図1】 本発明の一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of one embodiment of the present invention.

【図2】 (a)は、1つの波形メモリに対して1つの
音源を用いた場合の構成を示すブロック図、(b)は、
1つの波形メモリを2つの音源が共有する構成を示すブ
ロック図、(c)は、1つの波形メモリに対して1つの
音源を用いて、かつ、外付け回路を介挿した場合の構成
を示すブロック図、(d)は、1つの波形メモリを2つ
の音源で共有するとともに、各音源との間に外付け回路
を介挿した場合の構成を示すブロック図である。
FIG. 2A is a block diagram showing a configuration when one sound source is used for one waveform memory, and FIG.
FIG. 3C is a block diagram illustrating a configuration in which one sound source is shared by two sound sources, and FIG. 3C illustrates a configuration in which one sound source is used for one waveform memory and an external circuit is interposed. FIG. 3D is a block diagram showing a configuration in which one waveform memory is shared by two sound sources and an external circuit is interposed between each sound source.

【図3】 本実施例におけるアドレス発生部18の一構
成を示すブロック図である。
FIG. 3 is a block diagram illustrating one configuration of an address generator 18 in the present embodiment.

【図4】 同実施例におけるアドレス発生のタイミング
を説明するためのタイムチャートである。
FIG. 4 is a time chart for explaining the timing of address generation in the embodiment.

【図5】 同実施例における外付け回路7の一構成例を
示すブロック図である。
FIG. 5 is a block diagram showing a configuration example of an external circuit 7 in the embodiment.

【図6】 同実施例における波形メモリのアドレッシン
グを説明するための概念図である。
FIG. 6 is a conceptual diagram for explaining addressing of a waveform memory in the embodiment.

【図7】 (a)〜(c)は同実施例における16ビッ
トの波形メモリ6から8ビットに圧縮された波形データ
の読み出し方を説明するための図である。
FIGS. 7A to 7C are diagrams for explaining how to read waveform data compressed to 8 bits from a 16-bit waveform memory 6 in the embodiment.

【図8】 同実施例における復調回路64の一構成例を
示すブロック図である。
FIG. 8 is a block diagram illustrating a configuration example of a demodulation circuit 64 according to the embodiment.

【図9】 同実施例における補間部19の一構成例を示
すブロック図である。
FIG. 9 is a block diagram illustrating a configuration example of an interpolation unit 19 according to the embodiment.

【図10】 (a)は4点補間における補間係数を説明
するための図であり、(b)は2点補間における補間係
数を説明するための図である。
10A is a diagram for explaining an interpolation coefficient in four-point interpolation, and FIG. 10B is a diagram for explaining an interpolation coefficient in two-point interpolation.

【図11】 同実施例における楽音発生装置の動作を説
明するためのタイミングチャートである。
FIG. 11 is a timing chart for explaining the operation of the musical sound generating device in the embodiment.

【図12】 同実施例における補間部19の動作を説明
するためのタイミングチャートである。
FIG. 12 is a timing chart for explaining the operation of the interpolation unit 19 in the embodiment.

【符号の説明】[Explanation of symbols]

1……鍵盤、2……音色スイッチ、3……マイコン(制
御部)、4……外付け指示部、5……2チップ指示部
(読み出し数変更手段)、6……波形メモリ、7,7
a,7b……外付け回路、8,8a……音源(楽音生成
手段、第1の楽音生成手段),8b……音源(楽音生成
手段、第2の楽音生成手段)、18……アドレス発生
部、19……補間部、70……再生サンプルバッファR
AM。
1 ... keyboard, 2 ... tone switch, 3 ... microcomputer (control unit), 4 ... external instruction unit, 5 ... 2-chip instruction unit (reading number changing means), 6 ... waveform memory, 7, 7
a, 7b ... external circuit, 8, 8a ... sound source (tone generating means, first tone generating means), 8b ... sound source (tone generating means, second tone generating means), 18 ... address generation Section, 19 ... interpolation section, 70 ... reproduced sample buffer R
AM.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 波形データを記憶する波形メモリと、 複数時分割チャンネル毎にアドレスを生成し、該アドレ
スによって前記波形メモリから読み出された、各時分割
チャンネル毎にn個の波形データに基づいて複数時分割
チャンネル分の楽音を生成する第1の楽音生成手段とを
備える楽音発生装置において、 前記楽音発生装置の構成に追加可能であって、前記第1
の楽音生成手段とともに、前記波形メモリを共用する第
2の楽音生成手段と、 前記第2の楽音生成手段が追加される際には各時分割チ
ャンネルにて読み出す必要のある波形データの数を前記
n個より少ないm個に変更する読み出し数変更手段とを
具備することを特徴とする楽音発生装置。
1. A waveform memory for storing waveform data, an address generated for each of a plurality of time division channels, and n waveform data for each time division channel read from the waveform memory by the address. And a first tone generating means for generating a tone for a plurality of time-division channels, wherein the tone generator can be added to the configuration of the tone generator.
A second musical tone generating means sharing the waveform memory with the musical tone generating means, and when the second musical tone generating means is added, the number of waveform data to be read in each time division channel is determined by the a tone generator for changing the number of readings to m less than n.
JP10333308A 1998-11-24 1998-11-24 Music generator Expired - Fee Related JP3087744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10333308A JP3087744B2 (en) 1998-11-24 1998-11-24 Music generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10333308A JP3087744B2 (en) 1998-11-24 1998-11-24 Music generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5325266A Division JP2921376B2 (en) 1993-12-22 1993-12-22 Tone generator

Publications (2)

Publication Number Publication Date
JPH11237885A true JPH11237885A (en) 1999-08-31
JP3087744B2 JP3087744B2 (en) 2000-09-11

Family

ID=18264658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10333308A Expired - Fee Related JP3087744B2 (en) 1998-11-24 1998-11-24 Music generator

Country Status (1)

Country Link
JP (1) JP3087744B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057547A1 (en) * 2003-12-08 2005-06-23 Kabushiki Kaisha Kawai Gakki Seisakusho Musical sound generation device
JP2005172875A (en) * 2003-12-08 2005-06-30 Kawai Musical Instr Mfg Co Ltd Waveform reproducing device
JP2007132961A (en) * 2005-11-07 2007-05-31 Shinsedai Kk Multimedia processor and sound processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05106338A (en) * 1991-10-16 1993-04-27 Kajima Corp Construction method for vertical hole

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057547A1 (en) * 2003-12-08 2005-06-23 Kabushiki Kaisha Kawai Gakki Seisakusho Musical sound generation device
JP2005172875A (en) * 2003-12-08 2005-06-30 Kawai Musical Instr Mfg Co Ltd Waveform reproducing device
US7329811B2 (en) 2003-12-08 2008-02-12 Kabushiki Kaisha Kawai Gakki Seisakusho Musical sound generation device capable of effectively utilizing the access timing for an unused slave sound source
JP2007132961A (en) * 2005-11-07 2007-05-31 Shinsedai Kk Multimedia processor and sound processor

Also Published As

Publication number Publication date
JP3087744B2 (en) 2000-09-11

Similar Documents

Publication Publication Date Title
JP2921376B2 (en) Tone generator
EP0377459B1 (en) Electronic musical instrument having plural different tone generators
US4893538A (en) Parameter supply device in an electronic musical instrument
JPH0119594B2 (en)
US4681007A (en) Sound generator for electronic musical instrument
JP3087744B2 (en) Music generator
US5290965A (en) Asynchronous waveform generating device for use in an electronic musical instrument
JPH05119777A (en) Electronic musical instrument
US5522010A (en) Pitch control apparatus for setting coefficients for cross-fading operation in accordance with intervals between write address and a number of read addresses in a sampling cycle
JPH0213799B2 (en)
JP2915452B2 (en) Tone generator
JP2950461B2 (en) Tone generator
JPH05188952A (en) Electronic musical instrument
JPS58200297A (en) Envelope signal generator
JPS6330638B2 (en)
JPH0125079B2 (en)
US4184402A (en) Electronic musical instrument
US5817964A (en) Electronic musical instrument and method for storing a plurality of waveform sampling data at a single address
JP3257520B2 (en) Music signal generator
JPH0468632B2 (en)
JP2877012B2 (en) Music synthesizer
JPH021314B2 (en)
JP3134840B2 (en) Waveform sample interpolation device
JPH0122632B2 (en)
JPS58200295A (en) Envelope signal generator

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees