JP2870398B2 - Waveform memory address generator - Google Patents
Waveform memory address generatorInfo
- Publication number
- JP2870398B2 JP2870398B2 JP5343285A JP34328593A JP2870398B2 JP 2870398 B2 JP2870398 B2 JP 2870398B2 JP 5343285 A JP5343285 A JP 5343285A JP 34328593 A JP34328593 A JP 34328593A JP 2870398 B2 JP2870398 B2 JP 2870398B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- waveform
- address
- data
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は位相データを波形メモ
リに入力することによって所望の波形データを読み出す
波形メモリアドレス発生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform memory address generator for reading desired waveform data by inputting phase data to a waveform memory.
【0002】[0002]
【従来の技術】従来、電子楽器には、楽音波形サンプル
値データを記憶している波形メモリに対して発生すべき
楽音の音高に対応して変化する位相データを供給するこ
とによって順次波形データを読み出す方式の音源を内蔵
したものがある。2. Description of the Related Art Conventionally, an electronic musical instrument is supplied with waveform data which stores tone waveform sample value data, and supplies phase data which varies in accordance with the pitch of a musical tone to be generated. Some have a built-in sound source that reads out data.
【0003】波形メモリの中には、圧縮された波形デー
タ(圧縮波形データ)を記憶しているものや非圧縮波形
データをそのまま記憶しているものがある。電子楽器の
音源は、このような波形メモリの複数個からなるメモリ
システムを内蔵している。従って、位相データをメモリ
システムに供給したとしても、そのアドレスに対応した
波形メモリが圧縮波形データを記憶したものだと、その
圧縮データの解凍に時間が掛かるため、メモリシステム
は波形データを出力するまでに所定の遅延時間を有する
こととなる。一方、波形メモリが非圧縮波形データを記
憶したものだと、メモリシステムは解凍の必要がないの
で位相データの入力に対してほとんど遅延することなく
波形データを出力することができる。[0003] Some waveform memories store compressed waveform data (compressed waveform data) and others store uncompressed waveform data as they are. The sound source of the electronic musical instrument incorporates a memory system including a plurality of such waveform memories. Therefore, even if the phase data is supplied to the memory system, if the waveform memory corresponding to the address stores compressed waveform data, it takes time to decompress the compressed data, so that the memory system outputs the waveform data. Until the predetermined delay time. On the other hand, if the waveform memory stores uncompressed waveform data, the memory system does not need to decompress, so that the waveform data can be output with almost no delay to the input of the phase data.
【0004】すなわち、波形メモリにアドレスを出力し
てアクセスしてから圧縮されていないリニアな波形が得
られるまでの時間は、記憶されている波形が圧縮波形デ
ータが非圧縮波形データかで異なり、通常は圧縮波形デ
ータの場合、非圧縮波形データに比べて長い時間を要す
る。また、圧縮波形データでも、それが差分PCMによ
るものか、適応差分PCM、デルタ変調、線形予測、そ
の他予測、パーコールフィルタ、サブバンドコーティン
グ等のいずれの圧縮方法を用いたものかに応じてその時
間遅れが一定ではない。つまり、この場合にいうメモリ
システムには、圧縮や変調等のさまざまな処理が必要な
複数の波形を記憶している波形メモリと、その処理を行
う処理回路が一緒に入っているものとする。That is, the time from outputting an address to a waveform memory and accessing it until an uncompressed linear waveform is obtained differs depending on whether the stored waveform is compressed waveform data or non-compressed waveform data. Normally, compressed waveform data requires a longer time than uncompressed waveform data. Also, the time of the compressed waveform data depends on whether it is based on differential PCM or any compression method such as adaptive differential PCM, delta modulation, linear prediction, other prediction, Percoll filter, subband coating, etc. The delay is not constant. In other words, it is assumed that the memory system in this case includes a waveform memory that stores a plurality of waveforms that require various processes such as compression and modulation, and a processing circuit that performs the processes.
【0005】このようなメモリシステムを搭載した電子
楽器においては、楽音の素材となる非圧縮の波形データ
が得られてから楽音になるまでの処理回路のタイミング
を共通化しようとする場合、一定のタイミングで波形デ
ータが得られるようにする必要がある。そこで、従来
は、図3及び図4に示すように位相データ線又は波形デ
ータ線に遅延回路(ディレイ)を設けて、波形データの
出力タイミングを調整し、常に一定のタイミングで波形
データが得られるようにしていた。図3は、位相データ
線側に遅延回路を設けて、位相データの供給タイミング
を調整することによって波形データの出力タイミングを
調整するようにしたメモリ読み出し装置を示す図であ
る。In an electronic musical instrument equipped with such a memory system, when the timing of processing circuits from the time when uncompressed waveform data, which is the material of a musical sound, is obtained until the musical sound is obtained, a certain level is required. It is necessary to obtain waveform data at the timing. Therefore, conventionally, as shown in FIGS. 3 and 4, a delay circuit (delay) is provided on a phase data line or a waveform data line to adjust the output timing of the waveform data, so that the waveform data can always be obtained at a constant timing. Was like that. FIG. 3 is a diagram showing a memory reading device in which a delay circuit is provided on the phase data line side and the output timing of waveform data is adjusted by adjusting the supply timing of phase data.
【0006】図3において、メモリシステム1は、圧縮
波形データを記憶している圧縮波形メモリと非圧縮波形
データを記憶している非圧縮波形メモリとで構成されて
いる。ここで、圧縮波形メモリには、圧縮の解凍を行う
デコーダが出力部に設けられているものとする。アドレ
スカウンタロジック回路2は、フルアダー(FA)21
とレジスタ22とで構成されている。フルアダー21
は、発生すべき楽音の音高に対応した周波数ナンバFN
とレジスタ22からの位相データPD(Phase D
ata)を入力し、両者の加算値を新たな位相データP
Dとしてレジスタ22に出力する。従って、アドレスカ
ウンタロジック回路2は、周波数ナンバFNに対応して
順次増加する位相データPDを順次出力する。なお、フ
ルアダー21には、位相データの初期値等の設定が行わ
れるが、その説明は省略する。In FIG. 3, a memory system 1 comprises a compressed waveform memory storing compressed waveform data and an uncompressed waveform memory storing uncompressed waveform data. Here, it is assumed that a decoder for decompressing the compression is provided in the output section in the compression waveform memory. The address counter logic circuit 2 includes a full adder (FA) 21
And a register 22. Full adder 21
Is the frequency number FN corresponding to the pitch of the musical tone to be generated
And phase data PD (Phase D) from the register 22.
data), and adds the two values to the new phase data P
D is output to the register 22. Accordingly, the address counter logic circuit 2 sequentially outputs the phase data PD which sequentially increases in accordance with the frequency number FN. The initial value and the like of the phase data are set in the full adder 21, but the description is omitted.
【0007】ディレイ回路4Aは、圧縮波形メモリに位
相データ整数部INTが入力してから波形データDAT
Aが出力されるまでの時間と同じ時間だけレジスタ22
からの位相データ整数部INTを遅延させるものであ
る。選択回路(SEL)5Aは、レジスタ22からの位
相データ整数部INT及びディレイ回路4で遅延された
遅延アドレスDINTを入力し、いずれか一方をメモリ
システム1に読み出しアドレスADRとして供給するも
のである。[0007] The delay circuit 4A receives the waveform data DAT after the phase data integer part INT is input to the compressed waveform memory.
Register 22 is stored for the same time as the time until A is output.
Is to delay the integer part INT of the phase data. The selection circuit (SEL) 5A receives the phase data integer part INT from the register 22 and the delay address DINT delayed by the delay circuit 4, and supplies one of them to the memory system 1 as a read address ADR.
【0008】ラッチ回路6は、メモリシステム1からの
波形データDATAを一時的に保持し、データ処理部7
に出力する。データ処理部7は、メモリシステム1から
読み出された波形データDATAに対し、補間を施した
り、種々の効果を付与したり、エンベロープを付与した
りする。The latch circuit 6 temporarily holds the waveform data DATA from the memory system 1 and
Output to The data processing unit 7 performs interpolation, imparts various effects, and imparts an envelope to the waveform data DATA read from the memory system 1.
【0009】図4は、波形データ線側に遅延回路を設け
て波形データ自身の出力タイミングを調整するようにし
たメモリ読み出し装置を示す図である。図4において図
3と同じ構成のものには同一の符号が付してあるので、
その説明は省略する。アドレスカウンタロジック回路2
は、フルアダー(FA)21とレジスタ21とで構成さ
れている。フルアダー21は、発生すべき楽音の音高に
対応した周波数ナンバFNとレジスタ22からの位相デ
ータPDを入力し、両者の加算値の整数部を読出しアド
レスADRとしてメモリシステム1に出力する。FIG. 4 is a diagram showing a memory reading device in which a delay circuit is provided on the waveform data line side to adjust the output timing of the waveform data itself. In FIG. 4, the same components as those in FIG.
The description is omitted. Address counter logic circuit 2
Is composed of a full adder (FA) 21 and a register 21. The full adder 21 receives the frequency number FN corresponding to the pitch of the musical tone to be generated and the phase data PD from the register 22, and outputs the integer part of the sum of the two as the read address ADR to the memory system 1.
【0010】ラッチ回路6は、メモリシステム1からの
波形データDATAを一時的に保持し、データ処理部7
に出力する。ディレイ回路4Bは、圧縮波形メモリに位
相データPDが入力してか波形データDATAが出力さ
れるまでの時間と同じ時間差だけラッチ回路6からの波
形データDATAを遅延させるものである。選択回路
(SEL)5Bは、ラッチ回路6からの波形データDA
TA及びディレイ回路4Bで遅延された遅延波形データ
DDATAを入力し、いずれか一方を波形データとして
データ処理部7に供給するものである。The latch circuit 6 temporarily holds the waveform data DATA from the memory system 1 and
Output to The delay circuit 4B delays the waveform data DATA from the latch circuit 6 by the same time difference as the time until the phase data PD is input to the compressed waveform memory or the waveform data DATA is output. The selection circuit (SEL) 5B receives the waveform data DA from the latch circuit 6.
The TA and the delayed waveform data DDATA delayed by the delay circuit 4B are input, and one of them is supplied to the data processing section 7 as waveform data.
【0011】[0011]
【発明が解決しようとする課題】上述のように従来は、
アドレス信号線又は波形データ信号線に遅延回路を設け
て、波形データの出力タイミングを調整していた。しか
しながら、遅延回路は、アドレス又は波形データを格納
できるビット数で、かつ、遅延時間に対応した段数の長
さで構成されなければならないため、読み出し装置に対
して回路構成上大きな割合を占めるという問題があっ
た。As described above, conventionally,
A delay circuit is provided in the address signal line or the waveform data signal line to adjust the output timing of the waveform data. However, since the delay circuit must be configured with the number of bits capable of storing the address or the waveform data and the length of the number of stages corresponding to the delay time, the delay circuit occupies a large proportion of the read device in the circuit configuration. was there.
【0012】本発明は上述の点に鑑みてなされたもので
あり、位相データを入力してから波形データを出力する
までの遅延時間がそれぞれ異なる複数の波形メモリで構
成されたメモリシステムから波形データを読み出す際
に、回路規模を大きくすることなく波形データの出力タ
イミングを適宜調整することのできる波形メモリアドレ
ス発生装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has been made in consideration of a problem that a delay time from input of phase data to output of waveform data is reduced from a memory system including a plurality of waveform memories each having a different delay time. It is an object of the present invention to provide a waveform memory address generator capable of appropriately adjusting the output timing of waveform data without increasing the circuit scale when reading out data.
【0013】[0013]
【課題を解決するための手段】この発明に係る波形メモ
リアドレス発生装置は、複数の時分割チャンネル動作を
する波形メモリアドレス発生装置であって、各記憶位置
に該複数の時分割チャンネルにそれぞれ対応した位相デ
ータが読み書きされ、各時分割チャンネルを複数のタイ
ムスロットに分割した各タイムスロット毎にアクセスさ
れる読み書きメモリと、各時分割チャンネル内の所定の
タイムスロットを用いて、前記読み書きメモリ中の各時
分割チャンネルの位相データの値を、発生したい波形の
音高に応じたレートで変化させる位相データ更新手段
と、各時分割チャンネル内の前記所定のタイムスロット
とは異なる別のタイムスロットを用いて、前記読み書き
メモリより各時分割チャンネルの位相データを順次読出
し、読出した位相データに基づいて波形メモリをアクセ
スするためのアドレスを発生するアドレス発生手段と、
各時分割チャンネル内で前記アドレス発生手段の読み出
す位相データの記憶位置を、前記アドレスを発生させた
いタイミングに応じて変更するタイミング調整手段とを
具えたものである。SUMMARY OF THE INVENTION A waveform memory address generator according to the present invention is a waveform memory address generator for performing a plurality of time division channel operations, and each storage position corresponds to the plurality of time division channels. The read / write memory is read and written, and the read / write memory accessed by each time slot obtained by dividing each time division channel into a plurality of time slots, and the predetermined time slot in each time division channel, Using phase data updating means for changing the value of the phase data of each time division channel at a rate corresponding to the pitch of the waveform to be generated, and another time slot different from the predetermined time slot in each time division channel The phase data of each time-division channel is sequentially read from the read / write memory, and the read phase data is read. And address generating means for generating an address for accessing the waveform memory on the basis of the data,
Timing adjusting means for changing the storage position of the phase data read by the address generating means in each time-division channel in accordance with the timing at which the address is to be generated.
【0014】[0014]
【作用】読み書きメモリには波形メモリをアクセスする
ための位相データが複数の時分割チャンネル分記憶され
ており、そのデータは位相データ更新手段の更新動作に
より各時分割チャンネルで発生する楽音の音高に応じた
レートで順次変化している。一方、アドレス発生手段
は、上記更新動作による読み書きメモリのアクセスとは
別の時分割のタイミングで読み書きメモリをアクセス
し、読出した位相データに基づいて波形メモリのアドレ
スを発生する。アドレス発生手段の位相データの読出し
は、完全に任意であり、また、読み書きメモリには全て
の時分割チャンネルの現在位相が何時でも読出し可能な
状態で入っているので、タイミング調整手段によりアド
レス発生手段の位相データの読出しを制御することによ
り、各時分割チャンネルの位相データがアドレス発生の
ために読み出されるタイミングを、ディレイ等を付加す
ることなく簡単な構成で調整することができる。In the read / write memory, phase data for accessing the waveform memory is stored for a plurality of time-division channels, and the data is stored in a tone pitch of a tone generated in each time-division channel by an update operation of the phase data updating means. At a rate corresponding to On the other hand, the address generating means accesses the read / write memory at a time-division timing different from the access to the read / write memory by the update operation, and generates an address of the waveform memory based on the read phase data. The reading of the phase data by the address generating means is completely arbitrary, and since the current phases of all the time-division channels are readable at any time in the read / write memory, the address adjusting means is read by the timing adjusting means. , The timing at which the phase data of each time-division channel is read for generating an address can be adjusted with a simple configuration without adding a delay or the like.
【0015】[0015]
【実施例】以下、この発明の実施例を添付図面に従って
詳細に説明する。図1は本発明の一実施例に係るメモリ
読み出し装置の構成を示す図である。図1において図3
と同じ構成のものには同一の符号が付してあるので、そ
の説明は省略する。この実施例では、図3のアドレスカ
ウンタロジック回路2のレジスタ22がRAM32に置
き換えられ、このRAM32に供給される書込み及び読
出しアドレスの数ビットがフルアダー37でコントロー
ルされるようになっている。すなわち、RAM32に供
給されるアドレスがオフセット値に応じてオフセットさ
れたり、されなかったりしている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a diagram showing a configuration of a memory reading device according to one embodiment of the present invention. In FIG. 1, FIG.
Components having the same configuration as those described above are denoted by the same reference numerals, and description thereof will be omitted. In this embodiment, the register 22 of the address counter logic circuit 2 in FIG. 3 is replaced with a RAM 32, and several bits of write and read addresses supplied to the RAM 32 are controlled by a full adder 37. That is, the address supplied to the RAM 32 is offset or not according to the offset value.
【0016】この実施例では、アドレスカウンタロジッ
ク回路3は、フルアダー31、RAM32、ラッチ回路
33,34、カウンタ35、アンド回路36及びフルア
ダー37から構成されている。フルアダー31は、発生
すべき楽音の音高に対応した周波数ナンバFNとラッチ
回路33からの位相データPDを入力し、両者を加算し
た値を新たな位相データPDとしてRAM32のデータ
入力端子DIに出力する。In this embodiment, the address counter logic circuit 3 comprises a full adder 31, a RAM 32, latch circuits 33 and 34, a counter 35, an AND circuit 36, and a full adder 37. The full adder 31 receives the frequency number FN corresponding to the pitch of the musical tone to be generated and the phase data PD from the latch circuit 33, and outputs a value obtained by adding both to the data input terminal DI of the RAM 32 as new phase data PD. I do.
【0017】RAM32は、フルアダー31からの位相
データPDをデータ入力端子に入力し、フルアダー37
からのラムアドレスRADRをアドレス端子に入力し、
データ出力端子DOから位相データPDをラッチ回路3
3及び34に出力する。すなわち、RAM32は、フル
アダー37からのラムアドレスRADRの位置にフルア
ダー31の位相データPDを書き込み、フルアダー37
からのラムアドレスRADRの位置から位相データPD
を読み出してラッチ回路33及び34に出力する。The RAM 32 inputs the phase data PD from the full adder 31 to a data input terminal, and the full adder 37
Is input to the address terminal,
Latch circuit 3 latches phase data PD from data output terminal DO.
3 and 34. That is, the RAM 32 writes the phase data PD of the full adder 31 at the position of the ram address RADR from the full adder 37, and
From the position of the ram address RADR from
And outputs it to the latch circuits 33 and 34.
【0018】カウンタ35は、動作クロックをカウント
し、そのカウント値をフルアダー37に出力する。アン
ド回路36は、オフセット値OFSと出力用タイミング
信号OTとを入力し、両者の論理積データをフルアダー
37に出力する。すなわち、アンド回路36は、出力用
タイミング信号OTの入力タイミングに同期してオフセ
ット値OFSをフルアダー37に出力する。ここで、オ
フセット値OFSは、圧縮波形メモリに位相データPD
が入力してから波形データDATAが出力されるまでの
時間に対応したものであり、この値が大きいほど遅延時
間は大きくなり、小さいほど遅延時間は小さくなる。ま
た、出力用タイミング信号OTは、動作クロックの1ク
ロック内でハイレベル“1”とローレベル“0”が繰り
返すようになっている。The counter 35 counts the operation clock and outputs the count value to the full adder 37. The AND circuit 36 receives the offset value OFS and the output timing signal OT, and outputs logical product data of both to the full adder 37. That is, the AND circuit 36 outputs the offset value OFS to the full adder 37 in synchronization with the input timing of the output timing signal OT. Here, the offset value OFS is stored in the compressed waveform memory as the phase data PD.
Corresponds to the time from input to output of the waveform data DATA. The larger the value, the larger the delay time, and the smaller the value, the smaller the delay time. In addition, the output timing signal OT repeats a high level “1” and a low level “0” within one operation clock.
【0019】フルアダー37は、カウンタ35からのカ
ウント値とアンド回路36からの論理積データとの加算
値をラムアドレスRADRとしてRAM32のアドレス
端子に出力する。すなわち、フルアダー37は、出力用
タイミング信号OTの入力タイミングに同期してカウン
タ35からのカウント値CNT1をオフセット値OFS
に対応しただけオフセットして出力する。The full adder 37 outputs the sum of the count value from the counter 35 and the logical product data from the AND circuit 36 to the address terminal of the RAM 32 as a ram address RADR. That is, the full adder 37 changes the count value CNT1 from the counter 35 to the offset value OFS in synchronization with the input timing of the output timing signal OT.
The output is offset by the amount corresponding to.
【0020】すなわち、カウンタ35、アンド回路36
及びフルアダー37は、遅延時間に対応したオフセット
値OFSを動作クロックの1クロック内の所定のタイミ
ングでカウンタ35からのカウント値に加算して出力す
る。出力タイミングOTが1で、オフセット値が負の値
の場合には、フルアダー37からはオフセット値OFS
だけ小さな値がRAM32のアドレス端子に出力され、
逆にオフセット値OFSが正の値の場合には、フルアダ
ー37からはオフセット値OFSだけ大きな値がRAM
32のアドレス端子に出力されるようになる。That is, the counter 35 and the AND circuit 36
The full adder 37 adds the offset value OFS corresponding to the delay time to the count value from the counter 35 at a predetermined timing within one operation clock and outputs the result. When the output timing OT is 1 and the offset value is a negative value, the full adder 37 outputs the offset value OFS
Is output to the address terminal of the RAM 32,
Conversely, when the offset value OFS is a positive value, a value larger by the offset value OFS from the full adder 37 is stored in the RAM.
It is output to 32 address terminals.
【0021】オフセット値OFSが負の値の場合には、
RAM32には、このフルアダー37からの出力のう
ち、オフセットされていない値が位相更新用アドレスと
して入力され、オフセットされた値が読出しアドレスと
して入力されるので、フルアダー31によりオフセット
されていない位相更新用アドレスの位相データPDが更
新され、オフセットされた読出しアドレスから波形メモ
リ読出用の位相データが読み出される。これによって、
RAM32からは遅延時間に対応した時間だけ位相デー
タPDの出力タイミングが遅れることとなる。When the offset value OFS is a negative value,
In the RAM 32, among the outputs from the full adder 37, a value that has not been offset is input as a phase update address, and the offset value is input as a read address. The phase data PD of the address is updated, and the phase data for reading the waveform memory is read from the offset read address. by this,
The output timing of the phase data PD from the RAM 32 is delayed by a time corresponding to the delay time.
【0022】逆に、オフセット値OFSが正の値の場合
には、RAM32には、このフルアダー37からの出力
のうち、オフセットされていない値が位相更新用アドレ
スとして入力され、オフセットされた値が読出アドレス
として入力されるので、フルアダー31によりオフセッ
トされていない位相更新用アドレスの位相データPDが
更新され、オフセットされていない読出アドレスから波
形メモリ読出用の位相データが読み出される。これによ
って、RAM32からは遅延時間に対応した時間だけ位
相データPDの出力タイミングが進む、すなわち早く出
力されることとなる。Conversely, when the offset value OFS is a positive value, the non-offset value of the output from the full adder 37 is input to the RAM 32 as a phase update address, and the offset value is Since it is input as a read address, the phase data PD of the phase update address that is not offset by the full adder 31 is updated, and the phase data for reading the waveform memory is read from the read address that is not offset. As a result, the output timing of the phase data PD advances from the RAM 32 by a time corresponding to the delay time, that is, the phase data PD is output earlier.
【0023】ラッチ回路33及び34は、出力用タイミ
ング信号OTに同期してRAM32からの位相データの
整数部INTをラッチする。すなわち、ラッチ回路33
は出力用タイミング信号OTがローレベル“0”のとき
にRAM32からの位相データの整数部INTをラッチ
し、ラッチ回路34はハイレベル“1”のときに位相デ
ータの整数部INTをラッチするように動作する。ラッ
チ回路6は、メモリシステム1からの波形データDAT
Aを一時的に保持し、データ処理部7に出力する。デー
タ処理部7は、メモリシステム1から読み出された波形
データDATAに種々の効果を付与したり、エンベロー
プを付与したりする。The latch circuits 33 and 34 latch the integer part INT of the phase data from the RAM 32 in synchronization with the output timing signal OT. That is, the latch circuit 33
Latches the integer part INT of the phase data from the RAM 32 when the output timing signal OT is at a low level "0", and the latch circuit 34 latches the integer part INT of the phase data when the output timing signal OT is at a high level "1". Works. The latch circuit 6 receives the waveform data DAT from the memory system 1.
A is temporarily stored and output to the data processing unit 7. The data processing unit 7 gives various effects to the waveform data DATA read from the memory system 1 and adds an envelope.
【0024】以上に説明したような構成の、本発明のメ
モリ読み出し装置は、電子楽器における複数時分割チャ
ンネル波形メモリ音源を構成する複数の回路ブロックの
うちの1つのブロックである。本ブロックの後には、図
1のデータ処理部7に相当する回路として、補間を行う
補間回路、入力する波形データの音色を制御するディジ
タルフィルタ、音量エンベロープを制御するエンベロー
プ制御回路、複数の時分割チャンネルの波形データを混
合する累算器、累算された波形データをアナログ波形に
変換するD/A変換器、アナログ波形を音に変換するサ
ウンドシステム等が順に接続されている。つまり、本発
明の回路は、波形メモリ音源における音の素材となる最
初の波形データを生成する部分である。The memory reading device of the present invention having the above-described configuration is one of a plurality of circuit blocks constituting a plurality of time division channel waveform memory sound sources in an electronic musical instrument. After this block, an interpolation circuit for performing interpolation, a digital filter for controlling the timbre of the input waveform data, an envelope control circuit for controlling the volume envelope, a plurality of time division circuits An accumulator that mixes the waveform data of the channels, a D / A converter that converts the accumulated waveform data into an analog waveform, a sound system that converts the analog waveform into a sound, and the like are sequentially connected. That is, the circuit of the present invention is a part that generates the first waveform data that is the source of sound in the waveform memory sound source.
【0025】一般的に、電子楽器では、音源と、鍵盤等
の演奏操作子と、音色スイッチ等の設定操作子と、それ
らの操作子の操作を検出して音源を制御する制御回路を
備えている。該制御回路は、該演奏操作子が操作された
場合、操作された演奏操作子に対応する音高を音源の発
音チャンネルに割り当て、該音高の楽音の発生を該音源
に指示する。該指示に応じて、本発明のメモリ読み出し
装置は、該音高が割り当てられた時分割チャンネルで波
形を生成し、後続の回路ブロックに送出する。その際、
RAM32の該時分割チャンネルに対応する記憶領域に
は、初期アドレスとして上記音色スイッチで選択された
音色に対応するアドレスが設定され、フルアダー31に
は該音高に対応する周波数ナンバFNが供給される。該
後続の回路ブロックも、同指示に応じて割り当てられた
時分割チャンネルにてそれぞれ所定の処理を行い、結果
としてサウンドシステムより演奏操作子の操作に応じた
楽音の音が出力される。Generally, an electronic musical instrument is provided with a sound source, performance operators such as a keyboard, setting operators such as a tone switch, and a control circuit for detecting the operation of these operators and controlling the sound source. I have. When the performance operator is operated, the control circuit assigns a pitch corresponding to the operated performance operator to a sound channel of a sound source, and instructs the sound source to generate a musical tone of the pitch. In response to the instruction, the memory reading device of the present invention generates a waveform on the time division channel to which the pitch is assigned, and sends it to the subsequent circuit block. that time,
In a storage area of the RAM 32 corresponding to the time division channel, an address corresponding to the tone selected by the tone switch is set as an initial address, and the full adder 31 is supplied with a frequency number FN corresponding to the pitch. . The subsequent circuit blocks also perform predetermined processing on the time-division channels assigned according to the instruction, and as a result, a sound of a musical tone corresponding to the operation of the performance operator is output from the sound system.
【0026】次に、図2を用いて図1のメモリ読み出し
装置の動作を説明する。図2において、カウンタ35か
らのカウント値CNT1は『5』、『6』、『7』、
『8』・・・のように1ずつカウントアップしている。
オフセット値は『+2』であり、この値が遅延時間に相
当する。すなわち、波形の出力までに標準の場合に比べ
て『2』の遅れが発生する。出力用タイミング信号OT
は、『0』と『1』の繰り返しである。このような場合
には、ラムアドレスRADR1がRAM32のアドレス
端子に供給される。すなわち、カウント値CNT1が
『5』で出力用タイミング信号が『0』の場合にはカウ
ント値CNT1の『5』がそのままラムアドレスRAM
ADR1としてアドレス端子に供給され、カウント値C
NT1が『5』で出力用タイミング信号が『1』の場合
にはカウント値CNT1の『5』がオセフット値OFF
SETの『+2』だけオフセットされ、ラムアドレスR
AMADR1としては『7』がアドレス端子に供給され
る。以下同様にして、出力用タイミング信号が『0』の
場合にはカウント値CNT1がそのままアドレス端子に
供給され、出力用タイミング信号が『1』の場合にはカ
ウント値CNT1がオフセット値OFFSETだけオフ
セットされてアドレス端子に供給される。従って、RA
M32のデータ出力端子DOからは、カウンタ35のカ
ウント値CNT1で『+2』に相当する時間だけ早い目
に圧縮波形メモリ用の位相データPDが出力されるよう
になる。Next, the operation of the memory reading device of FIG. 1 will be described with reference to FIG. In FIG. 2, the count value CNT1 from the counter 35 is “5”, “6”, “7”,
It counts up one by one like "8".
The offset value is “+2”, and this value corresponds to the delay time. That is, a delay of “2” occurs before the output of the waveform as compared with the standard case. Output timing signal OT
Is a repetition of “0” and “1”. In such a case, the RAM address RADR1 is supplied to the address terminal of the RAM 32. That is, when the count value CNT1 is "5" and the output timing signal is "0", the count value CNT1 "5" is used as it is in the RAM address RAM.
ADR1 is supplied to the address terminal and the count value C
When NT1 is “5” and the output timing signal is “1”, “5” of the count value CNT1 is set to the OFF-foot value.
It is offset by “+2” of SET, and the ram address R
As AMADR1, "7" is supplied to the address terminal. Similarly, when the output timing signal is "0", the count value CNT1 is supplied to the address terminal as it is, and when the output timing signal is "1", the count value CNT1 is offset by the offset value OFFSET. Supplied to the address terminal. Therefore, RA
From the data output terminal DO of M32, the phase data PD for the compressed waveform memory is output earlier by the time corresponding to "+2" in the count value CNT1 of the counter 35.
【0027】図2において、ラムアドレスRADR2
は、オフセット値OFFSETが『+4』の場合にRA
M32のアドレス端子に供給されるものである。従っ
て、RAM32のデータ出力端子DOからは、カウンタ
35のカウント値CNT1で『+4』に相当する時間だ
け早い目に圧縮波形メモリ用の位相データPDが出力さ
れるようになる。In FIG. 2, the RAM address RADR2
Is RA when the offset value OFFSET is “+4”.
It is supplied to the address terminal of M32. Therefore, the phase data PD for the compressed waveform memory is output from the data output terminal DO of the RAM 32 earlier by the time corresponding to “+4” in the count value CNT1 of the counter 35.
【0028】本実施例は、波形メモリを読み出して楽音
を発生する波形メモリ音源であったが、本発明のアドレ
ス発生装置は入力する波形サンプルを波形メモリに書き
込む、所謂、サンプラーやディジタルレコーダにも適用
可能である。なお、本発明では、メモリシステムの遅延
時間に対応するオフセット値OFSをフルアダー37に
供給する具体的方法を示していないが、これはマニュア
ルで設定してもよいし、予め各メモリシステム毎に設定
してある値を用いてもよいし、メモリシステムの遅れを
自動検出して設定してもよい。Although the present embodiment is a waveform memory sound source for reading a waveform memory and generating a musical tone, the address generator of the present invention writes an input waveform sample in the waveform memory, that is, a so-called sampler or digital recorder. Applicable. Although the present invention does not show a specific method of supplying the offset value OFS corresponding to the delay time of the memory system to the full adder 37, it may be set manually or set in advance for each memory system. A value may be used, or the delay of the memory system may be automatically detected and set.
【0029】[0029]
【発明の効果】本発明によれば、波形メモリアドレス発
生装置の発生するアドレスの出力時刻を、アドレスディ
レイの付加等の大きな回路増加を招くことなしに調整で
きるようになった。According to the present invention, the output time of the address generated by the waveform memory address generator can be adjusted without causing a large increase in the number of circuits such as addition of an address delay.
【図1】 本発明の一実施例に係る波形メモリアドレス
発生装置の構成を示す図である。FIG. 1 is a diagram showing a configuration of a waveform memory address generator according to one embodiment of the present invention.
【図2】 図1の波形メモリアドレス発生装置の動作を
説明するためのタイミングチャート図である。FIG. 2 is a timing chart for explaining the operation of the waveform memory address generator of FIG. 1;
【図3】 アドレス信号線側に遅延回路を設けて、アド
レスの供給タイミングを調整することによって波形デー
タの出力タイミングを調整するようにした従来の波形メ
モリアドレス発生装置を示す図である。FIG. 3 is a diagram showing a conventional waveform memory address generator in which a delay circuit is provided on an address signal line side to adjust an address supply timing to adjust output timing of waveform data.
【図4】 波形データ信号線側に遅延回路を設けて波形
データ自身の出力タイミングを調整するようにした波形
メモリアドレス発生装置を示す図である。FIG. 4 is a diagram showing a waveform memory address generator in which a delay circuit is provided on the waveform data signal line side to adjust the output timing of the waveform data itself.
1…メモリシステム、2、3…アドレスカウンタロジッ
ク回路、4A,4B…遅延回路、5A,5B…選択回
路、6…ラッチ回路、7…データ処理部、21…フルア
ダー、22…レジスタ、31,37…フルアダー、32
…RAM、33,34…ラッチ回路、35…カウンタ、
36…アンド回路DESCRIPTION OF SYMBOLS 1 ... Memory system, 2, 3 ... Address counter logic circuit, 4A, 4B ... Delay circuit, 5A, 5B ... Selection circuit, 6 ... Latch circuit, 7 ... Data processing part, 21 ... Full adder, 22 ... Register, 31, 37 … Full adder, 32
... RAM, 33, 34 ... Latch circuit, 35 ... Counter,
36 ... And circuit
Claims (1)
メモリアドレス発生装置であって、 各記憶位置に該複数の時分割チャンネルにそれぞれ対応
した位相データが読み書きされ、各時分割チャンネルを
複数のタイムスロットに分割した各タイムスロット毎に
アクセスされる読み書きメモリと、 各時分割チャンネル内の所定のタイムスロットを用い
て、前記読み書きメモリ中の各時分割チャンネルの位相
データの値を、発生したい波形の音高に応じたレートで
変化させる位相データ更新手段と、 各時分割チャンネル内の前記所定のタイムスロットとは
異なる別のタイムスロットを用いて、前記読み書きメモ
リより各時分割チャンネルの位相データを順次読出し、
読出した位相データに基づいて波形メモリをアクセスす
るためのアドレスを発生するアドレス発生手段と、 各時分割チャンネル内で前記アドレス発生手段の読み出
す位相データの記憶位置を、前記アドレスを発生させた
いタイミングに応じて変更するタイミング調整手段とを
含む波形メモリアドレス発生装置。1. A waveform memory address generator for performing a plurality of time-division channel operations, wherein phase data respectively corresponding to the plurality of time-division channels are read and written at respective storage positions, and each time-division channel is stored in a plurality of time periods. Using a read / write memory accessed for each time slot divided into slots, and a predetermined time slot in each time-division channel, the phase data value of each time-division channel in the read / write memory is converted to a waveform to be generated. Phase data updating means for changing at a rate corresponding to a pitch, and using another time slot different from the predetermined time slot in each time division channel, sequentially reading the phase data of each time division channel from the read / write memory. reading,
Address generation means for generating an address for accessing the waveform memory based on the read phase data; and a storage position of the phase data read by the address generation means in each time division channel at a timing at which the address is to be generated. A waveform memory address generator including timing adjustment means for changing the timing according to the timing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5343285A JP2870398B2 (en) | 1993-12-17 | 1993-12-17 | Waveform memory address generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5343285A JP2870398B2 (en) | 1993-12-17 | 1993-12-17 | Waveform memory address generator |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07175482A JPH07175482A (en) | 1995-07-14 |
JP2870398B2 true JP2870398B2 (en) | 1999-03-17 |
Family
ID=18360340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5343285A Expired - Fee Related JP2870398B2 (en) | 1993-12-17 | 1993-12-17 | Waveform memory address generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2870398B2 (en) |
-
1993
- 1993-12-17 JP JP5343285A patent/JP2870398B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07175482A (en) | 1995-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5111530A (en) | Digital audio signal generating apparatus | |
US4338674A (en) | Digital waveform generating apparatus | |
US5007323A (en) | Polyphonic electronic musical instrument | |
JP3482685B2 (en) | Sound generator for electronic musical instruments | |
US5809342A (en) | Computer system and method for generating delay-based audio effects in a wavetable music synthesizer which stores wavetable data in system memory | |
JPS634197B2 (en) | ||
JP2870398B2 (en) | Waveform memory address generator | |
US5777249A (en) | Electronic musical instrument with reduced storage of waveform information | |
JP3855711B2 (en) | Digital signal processor for sound waveform data | |
US4526080A (en) | Automatic rhythm performing apparatus | |
JPS6113239B2 (en) | ||
US6750759B2 (en) | Annunciatory signal generating method and device for generating the annunciatory signal | |
JP3252296B2 (en) | Waveform data output device | |
JP3006095B2 (en) | Musical sound wave generator | |
JP3009300B2 (en) | Arbitrary waveform generator | |
JPH02135564A (en) | Data processor | |
JP3567768B2 (en) | Playback device having long stream playback function | |
JP3221987B2 (en) | Delay time modulation effect device | |
KR950007152Y1 (en) | Variable otave address generating apparatus of electronic musical instrument | |
JPH03174592A (en) | Sound source circuit for electronic musical instrument | |
JP2669439B2 (en) | Waveform editing method | |
JPH0468632B2 (en) | ||
KR940009963B1 (en) | Scale generator of electronic musical instruments | |
JP2970372B2 (en) | Sound source parameter supply device | |
JPH02108099A (en) | Waveform interpolating device |
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: 20090108 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |