JPH0651778A - Waveform generating device - Google Patents

Waveform generating device

Info

Publication number
JPH0651778A
JPH0651778A JP4219751A JP21975192A JPH0651778A JP H0651778 A JPH0651778 A JP H0651778A JP 4219751 A JP4219751 A JP 4219751A JP 21975192 A JP21975192 A JP 21975192A JP H0651778 A JPH0651778 A JP H0651778A
Authority
JP
Japan
Prior art keywords
waveform
data
sample
signal
output
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
JP4219751A
Other languages
Japanese (ja)
Other versions
JP2748784B2 (en
Inventor
Hiroyuki Toda
裕行 戸田
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 JP4219751A priority Critical patent/JP2748784B2/en
Priority to US08/097,163 priority patent/US5416264A/en
Publication of JPH0651778A publication Critical patent/JPH0651778A/en
Application granted granted Critical
Publication of JP2748784B2 publication Critical patent/JP2748784B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To reduce the cost by increasing a pitch-up width without increasing the memory capacity of a waveform memory. CONSTITUTION:The waveform memory is stored with plural blocks each consisting of waveform data (a) having one uncompressed waveform sample and three waveform data (b)-(c) having 8 compressed waveform samples; once musical performance data and a timbre number are determined, a specific block is read out and divided through a data divider into a 16-bit uncompressed waveform sample (d) and 8 6-bit compressed waveform samples (e)-(f), and 9 waveform samples are regenerated through a decoder. A 4-data sender selects four successive regenerated waveform samples among the 9 regenerated waveform samples, and one interpolative sample is generated from the four regenerated waveform samples, multiplied by the envelope output waveform of an envelope generator through a multiplier, and outputted as a musical sound signal to a sound system, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、波形生成装置、特に少
くとも1つの非圧縮波形サンプルと複数の圧縮波形サン
プルとを1ブロックにして複数のブロックのデータを記
憶した波形メモリから、所望の波形サンプルを再生する
波形生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform generator, and more particularly, to a desired waveform from a waveform memory which stores at least one uncompressed waveform sample and a plurality of compressed waveform samples into one block and stores data of a plurality of blocks. The present invention relates to a waveform generation device that reproduces a waveform sample.

【0002】[0002]

【従来の技術】従来、波形サンプルをデジタル変換して
記憶する波形メモリを備えた波形生成装置が電子鍵盤楽
器のPCM音源等として使用されている。かかる波形生
成装置は、その波形メモリを効率的に利用するために、
波形メモリに記憶する波形サンプルのデータの表現形式
を単なるPCM形式でなく、圧縮したデータの表現形式
を用いている。この圧縮したデータの表現形式には、様
々な種類の表現形式が提案されている。
2. Description of the Related Art Heretofore, a waveform generator having a waveform memory for digitally converting a waveform sample and storing it has been used as a PCM sound source of an electronic keyboard instrument. Such a waveform generation device, in order to efficiently use the waveform memory,
The expression format of the waveform sample data stored in the waveform memory is not the PCM format but the compressed data expression format. Various types of expression formats have been proposed for the expression format of this compressed data.

【0003】例えば、各波形サンプルと次の波形サンプ
ルとの偏差を取り、その偏差を記憶するいわゆるDPC
M方式と称される表現形式がある。
For example, a so-called DPC which takes the deviation between each waveform sample and the next waveform sample and stores the deviation.
There is an expression format called the M method.

【0004】このDPCM方式は、最初にサンプリング
された1つの圧縮されていない波形サンプルを記憶し、
順次、得られる前記偏差を波形メモリに記憶する方式で
あり、圧縮される前の波形サンプルを再生するときに
は、前記圧縮されていない波形サンプルと最初に記憶さ
れた偏差とを加算して、次の波形サンプルが再生され、
この波形サンプルと2番目に記憶された偏差とを加算し
てその次の波形サンプルが再生されるというように、所
望の再生波形サンプルは、1つ前の再生波形サンプルと
所望の再生波形サンプルに対応して記憶された偏差とを
加算することにより得られる。
This DPCM scheme stores one uncompressed waveform sample initially sampled,
The obtained deviations are sequentially stored in a waveform memory. When reproducing a waveform sample before being compressed, the uncompressed waveform sample and the initially stored deviation are added to obtain the next The waveform sample is played,
The desired playback waveform sample is the previous playback waveform sample and the desired playback waveform sample, such that this waveform sample and the second stored deviation are added and the next waveform sample is played back. It is obtained by adding the correspondingly stored deviations.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の波形生成装置では、音声をピッチアップして再生す
るため波形メモリに記憶された波形サンプルを飛ばし読
みするときに、常に一つ前の波形サンプルを再生し、こ
の再生された波形サンプルに次の偏差を加算しなけれ
ば、所望の波形サンプルを得ることができないので、ピ
ッチアップできる幅に制限があった。したがって、例え
ば、ピッチアップ幅を大きくして各波形を広い音域で使
用する代わりに、波形サンプルの圧縮データを記憶する
波形メモリの容量を増大する必要があり、コスト増を招
くという問題があった。
However, in the above-mentioned conventional waveform generating apparatus, when skipping the waveform sample stored in the waveform memory in order to reproduce the sound by pitching up the voice, the previous waveform sample is always read. Is reproduced and the next deviation is not added to the reproduced waveform sample, the desired waveform sample cannot be obtained. Therefore, for example, it is necessary to increase the capacity of the waveform memory that stores the compressed data of the waveform samples instead of increasing the pitch up width and using each waveform in a wide range, which causes a problem of increasing cost. .

【0006】また、ピッチEGなどのピッチの変動に
は、ピッチアップの制限のため追従できない場合が生じ
ていた。
Further, there have been cases where it is not possible to follow the fluctuation of the pitch such as the pitch EG because of the limitation of the pitch up.

【0007】本発明は、上記問題に鑑みてなされたもの
で、波形メモリのメモリ容量を増大させることなくピッ
チアップできる幅を大きくすることができ、コストの低
減化を図ることが可能となる波形生成装置を提供するこ
とを目的とする。
The present invention has been made in view of the above problems, and it is possible to increase the pitch increase width without increasing the memory capacity of the waveform memory, and it is possible to reduce the cost. An object is to provide a generator.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
本発明は、少くとも1つの圧縮されていない波形サンプ
ルと複数の圧縮された波形サンプルとを1ブロックにし
て複数のブロックのデータを記憶した記憶手段と、ピッ
チを指定するピッチ指定手段と、該ピッチ指定手段によ
り指定されたピッチに基づいて前記記憶手段から波形サ
ンプルをブロック毎に読出す読出し手段と、該読出し手
段により読出されたブロックの圧縮された波形サンプル
を圧縮前の波形サンプルに再生する再生手段と、該再生
手段により再生された波形サンプルを所望の楽音信号と
して取出す取出し手段とを有することを特徴とする。
To achieve the above object, the present invention stores at least one uncompressed waveform sample and a plurality of compressed waveform samples into one block to store data of a plurality of blocks. Storage means, a pitch designating means for designating a pitch, a reading means for reading a waveform sample for each block from the storage means based on the pitch designated by the pitch designating means, and a block read by the reading means. And reproducing means for reproducing the compressed waveform sample into the uncompressed waveform sample and extracting means for taking out the waveform sample reproduced by the reproducing means as a desired musical tone signal.

【0009】また、生成しようとする波形の周波数と無
関係に常に一定のサンプリング周波数でサンプリングす
ることにより波形を生成する場合に、前記所望の楽音信
号を生成するために前記再生された複数の波形サンプル
を用いて補間する補間手段を有し、該補間手段は、m個
の波形サンプルを用いて補間する場合に、前記記憶手段
に記憶された1ブロックの波形サンプルの内、最後から
m―1個の波形サンプルは、次のブロックの波形サンプ
ルの最初からm―1個の波形サンプルと同一であること
を特徴とする。
Further, when a waveform is generated by always sampling at a constant sampling frequency irrespective of the frequency of the waveform to be generated, the plurality of reproduced waveform samples for generating the desired musical tone signal. Has an interpolating means for interpolating using m waveform samples, and the interpolating means, when performing interpolation using m waveform samples, selects m−1 from the end of the waveform samples of one block stored in the storage means. The waveform sample of is the same as the m−1 waveform samples from the beginning of the waveform sample of the next block.

【0010】[0010]

【作用】ピッチ指定手段によりピッチが指定されると、
該ピッチに対応し、記憶手段に記憶された波形サンプル
が読出し手段により1ブロック毎に読出され、再生手段
により圧縮される前の波形サンプルが再生され、取出し
手段により楽音信号として出力される。
[Operation] When the pitch is designated by the pitch designating means,
Corresponding to the pitch, the waveform sample stored in the storage means is read out for each block by the reading means, the waveform sample before being compressed is reproduced by the reproducing means, and is output as a musical tone signal by the extracting means.

【0011】また、生成しようとする波形の周波数と無
関係に常に一定のサンプリング周波数でサンプリングす
ることにより波形を生成する場合には、前記圧縮される
前の波形サンプルが再生された後、補間手段により該再
生された波形サンプルを用いて補間され、補間サンプル
が生成され、取出し手段により楽音信号として出力され
る。
When a waveform is generated by always sampling at a constant sampling frequency irrespective of the frequency of the waveform to be generated, after the waveform sample before compression is reproduced, the interpolation means is used. The reproduced waveform sample is interpolated to generate an interpolated sample, which is output as a tone signal by the extracting means.

【0012】[0012]

【実施例】以下、本発明の実施例を図面に基づき詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0013】図1は、本発明に係る波形生成装置を有す
る電子鍵盤楽器の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic keyboard instrument having a waveform generating device according to the present invention.

【0014】この電子鍵盤楽器は、各種音色を指定する
音色スイッチ1と、音色スイッチ1の状態を検出する検
出器2と、鍵盤3と、鍵盤3の押鍵状態を検出する検出
器4と、検出器2から出力される音色番号TNおよび検
出器4から出力される演奏データPD(ノートコード、
ノートオン/オフデータ等)に基づいて楽音信号波形を
生成する音源部(波形生成装置)5と、音源部5により
出力されるデジタル信号をアナログ信号に変換するD/
Aコンバータ6と、D/Aコンバータ6の出力信号を音
声に変換するスピーカ等のサウンドシステム7とにより
構成される。
This electronic keyboard instrument includes a tone color switch 1 for designating various tone colors, a detector 2 for detecting the state of the tone color switch 1, a keyboard 3, and a detector 4 for detecting a key depression state of the keyboard 3. The tone color number TN output from the detector 2 and the performance data PD (note code,
A tone generator (waveform generator) 5 that generates a tone signal waveform based on note-on / off data, etc., and a D / that converts a digital signal output by the tone generator 5 into an analog signal.
It is composed of an A converter 6 and a sound system 7 such as a speaker that converts the output signal of the D / A converter 6 into voice.

【0015】図2は、本発明の特徴である音源部5の波
形メモリに記憶された圧縮記憶波形サンプルとその再生
波形サンプルを説明する説明図である。
FIG. 2 is an explanatory diagram for explaining the compressed stored waveform samples stored in the waveform memory of the tone generator 5 and the reproduced waveform samples, which are the features of the present invention.

【0016】本実施例において、後述する波形メモリに
は、16ビットの圧縮されていない波形サンプル(以
下、「非圧縮波形サンプル」という)から成る波形デ
ータ(イ)(図2 a)と、6ビットの圧縮された波形サ
ンプル(以下、「圧縮波形サンプル」という)〜か
らなる波形データ(ロ)〜(ニ)(図2 a)が、図2a)
のように1データ長16ビットで、4データを1ブロッ
ク(即ち、1ブロックには9つの波形サンプル〜が
記憶されていることになる)として、複数のブロックが
記憶されている。該記憶された波形サンプルを読み出す
ときには、ブロック単位で読み出される。ここで、メモ
リを有効に使用するため、圧縮波形サンプル〜は、
図2 a)の(ロ)〜(ニ)のようにメモリ内に隙間なく記
憶されている。
In the present embodiment, the waveform memory, which will be described later, includes waveform data (a) (FIG. 2a) consisting of 16-bit uncompressed waveform samples (hereinafter referred to as "uncompressed waveform samples"), and 6 Waveform data consisting of bit-compressed waveform samples (hereinafter referred to as "compressed waveform samples")-(b)-(d) (Fig. 2a) is shown in Fig. 2a).
As described above, one data length is 16 bits, and a plurality of blocks are stored with 4 data as one block (that is, nine waveform samples 1 to 9 are stored in one block). When the stored waveform sample is read, it is read in block units. Here, in order to use the memory effectively, the compressed waveform sample ~ is
As shown in (b) to (d) of FIG. 2 a), they are stored in the memory without any space.

【0017】図2 b)は、前記読み出された1ブロッ
クの波形データが後述するデータ分割器により分割され
た状態を示し、例えば、1番目の非圧縮波形サンプル
(ホ)は、図2 a)の波形データ(イ)により、2番目の
圧縮波形サンプル(ヘ)は、図2a)の波形データ(ロ)の
下位6ビットにより、4番目の波形サンプル(チ)は、図
2 a)の波形データ(ロ)の上位4ビットと波形データ
(ハ)の下位2ビットにより生成される。
FIG. 2B) shows a state in which the read-out waveform data of one block is divided by a data divider described later. For example, the first uncompressed waveform sample
(E) is based on the waveform data (a) of FIG. 2a), and the second compressed waveform sample (f) is based on the lower 6 bits of the waveform data (b) of FIG. 2a). ) Is the upper 4 bits and waveform data of the waveform data (b) in Figure 2a)
It is generated by the lower 2 bits of (c).

【0018】図2 c)は、図2 b)で分割された波
形データをデコードして圧縮される前の波形サンプルを
再生した状態を示している。例えば、再生波形サンプル
(カ)は、図2 b)の非圧縮波形サンプル(ホ)に圧縮波
形サンプル(ヘ)の伸長データを加算して生成され、再生
波形サンプル(ヨ)は、該波形サンプル(カ)に図2 b)
の圧縮波形サンプル(ト)の伸長データを加算して生成さ
れる。
FIG. 2C) shows a state in which the waveform data divided in FIG. 2B) is decoded and the waveform sample before being compressed is reproduced. For example, playback waveform sample
(F) is generated by adding the decompressed data of the compressed waveform sample (f) to the uncompressed waveform sample (e) of Fig. 2b), and the reproduced waveform sample (yo) is shown in the waveform sample (f). 2 b)
It is generated by adding the decompressed data of the compressed waveform sample (G).

【0019】図3は、図2 b)に示される分割された
波形データから圧縮される前の波形サンプルを再生する
処理を示す原理図である。同図において、図2 b)の
非圧縮波形サンプル(ホ)は直接セレクタ81の一入力端
に入力される。一方、圧縮波形サンプル(ヘ)〜(ワ)は、
データ伸長テーブル82を介して16ビットデータに順
次伸長され、該伸長データは、加算器83により、遅延
回路84により遅延されたセレクタ81の出力値と加算さ
れ、リミッタ85を介してセレクタ81の他の入力端に入
力される。
FIG. 3 is a principle diagram showing a process of reproducing a waveform sample before being compressed from the divided waveform data shown in FIG. 2B). In the figure, the uncompressed waveform sample (e) of FIG. 2B) is directly input to one input terminal of the selector 8 1 . On the other hand, the compressed waveform samples (f) to (wa) are
16-bit data is sequentially expanded via the data expansion table 8 2 and the expanded data is added by the adder 8 3 to the output value of the selector 8 1 delayed by the delay circuit 8 4 and via the limiter 8 5 . Is input to the other input terminal of the selector 8 1 .

【0020】例えば、図2 b)の圧縮波形サンプル
(ヘ)がデータ伸長テーブル82により16ビットデータ
に伸長され、出力されると、このときセレクタ81の出
力値は非圧縮波形サンプル(ホ)であるため、加算器83
では、圧縮波形サンプル(ヘ)の伸長波形サンプルと非圧
縮波形サンプル(ホ)とが加算され、セレクタ81から図
2 c)の再生波形サンプル(カ)が出力される。同様に
して、圧縮波形サンプル(ト)がデータ伸長テーブル82
により16ビットデータに伸長され、出力されると、加
算器83により圧縮波形サンプル(ト)の伸長波形サンプ
ルは再生波形サンプル(カ)と加算され、セレクタ81
ら再生波形サンプル(ヨ)が出力される。
For example, the compressed waveform sample of FIG. 2b)
When (f) is decompressed into 16-bit data by the data decompression table 8 2 and output, the output value of the selector 8 1 at this time is an uncompressed waveform sample (e), so the adder 8 3
So extended waveform samples and uncompressed waveform samples of the compressed waveform sample (f) and (e) is added, reproducing the waveform samples of Figure 2 c) from the selector 8 1 (f) is output. In the same manner, the compressed waveform sample (g) is stored in the data expansion table 8 2
By being stretched 16-bit data, when output, extended waveform samples of the compressed waveform sample (g) by the adder 8 3 is added to the reproduced waveform sample (f), the reproduced waveform sample from the selector 8 1 (Yo) is Is output.

【0021】なお、波形メモリには、上述した圧縮波形
サンプルを有するブロックのみでなく、すべて非圧縮波
形サンプルから成るブロックも記憶されている。
The waveform memory stores not only the blocks having the above-mentioned compressed waveform samples but also all blocks made up of non-compressed waveform samples.

【0022】図2 d)は、後述する4データ送出回路
から補間回路へ出力される4つの再生波形サンプルを示
し、この4つの再生波形サンプルは、図2 c)の9つ
の再生波形サンプルから連続的に選択されたものであ
る。
FIG. 2d) shows four reproduced waveform samples output from the four-data transmission circuit described later to the interpolation circuit. The four reproduced waveform samples are consecutive from the nine reproduced waveform samples shown in FIG. 2c). It is the one that was selected.

【0023】図4は、本発明に係る波形生成装置として
の音源部5の詳細な構成を示すブロック図である。
FIG. 4 is a block diagram showing a detailed configuration of the sound source section 5 as the waveform generating apparatus according to the present invention.

【0024】図1の鍵盤3からの演奏データPDは、発
音チャンネル割当て回路(以下、「割当て回路」とい
う)10に入力される。一般に、音源部は1つの回路で
複数の音を発生させることができるように時分割で各回
路を使用し、割当回路10は、この時分割されたどのタ
イムスロットに演奏データPDを割り当てるかを決定す
る。以下、説明の都合上、時分割された複数のタイムス
ロットに割り当てられた演奏データPDの内、ある1つ
のタイムスロットに割り当てられた演奏データPD′に
ついて説明する。
Performance data PD from the keyboard 3 of FIG. 1 is input to a tone generation channel assignment circuit (hereinafter referred to as "assignment circuit") 10. In general, the tone generator section uses each circuit in a time-division manner so that one circuit can generate a plurality of sounds, and the allocation circuit 10 determines which time-divided time slot the performance data PD is allocated to. decide. For convenience of explanation, the performance data PD ′ assigned to one time slot among the performance data PD assigned to a plurality of time-divided time slots will be described below.

【0025】割当て回路10の出力側にはFナンバ発生
器11および音色データ発生器13が接続され、演奏デ
ータPD′の内、音高を示すノートコードNCは、Fナ
ンバ発生器11に、また、演奏データPD′は、音色デ
ータ発生器13に入力される。
An F-number generator 11 and a tone color data generator 13 are connected to the output side of the allocation circuit 10. The note code NC indicating the pitch of the performance data PD 'is sent to the F-number generator 11 and to the F-number generator 11. , Performance data PD ′ is input to the tone color data generator 13.

【0026】Fナンバ発生器11は、ノートコードNC
(音高)の周波数に比例するFナンバの値が記憶され、
入力されたノートコードNCに応じたFナンバ値を出力
する。また、生成しようとする波形の周波数と無関係に
常に一定のサンプリング周波数でサンプリングすること
により波形を生成するとき(ピッチ非同期あるいは固定
DACサイクル)に、Fナンバは、ノートコードNCに
より指定された周波数と波形メモリ19に記憶された波
形サンプルのサンプリング周波数との比で小数部およよ
び整数部からなる数値として決定されるため、Fナンバ
発生器11には、選択された波形メモリ19の波形サン
プルがもともとどのサンプリング周波数で記録されたも
のであるかの情報を伝達する信号FCが、楽音データ発
生器13により供給される。しかして、Fナンバ発生器
11は、該信号FCおよび前記ノートコードNCに応じ
たFナンバを出力する。
The F number generator 11 uses the note code NC
The value of F number proportional to the frequency of (pitch) is stored,
The F number value corresponding to the input note code NC is output. Further, when a waveform is generated by always sampling at a constant sampling frequency regardless of the frequency of the waveform to be generated (pitch asynchronous or fixed DAC cycle), the F number corresponds to the frequency specified by the note code NC. The F number generator 11 stores the waveform sample of the selected waveform memory 19 because it is determined as a numerical value consisting of a fractional part and an integer part in proportion to the sampling frequency of the waveform sample stored in the waveform memory 19. The tone data generator 13 supplies a signal FC which conveys information as to which sampling frequency was originally recorded. Then, the F number generator 11 outputs the F number according to the signal FC and the note code NC.

【0027】Fナンバ発生器11の出力側は、メインカ
ウンタ12の入力側に接続され、メインカウンタ12
は、Fナンバ発生器11から出力されたFナンバ値に応
じてカウントを行い、カウント値を出力する。即ち、メ
インカウンタ12によりノートコードNCの周波数に比
例したカウント値が出力されることになる。一般的に、
該カウント値は正の実数である。
The output side of the F number generator 11 is connected to the input side of the main counter 12, and the main counter 12
Performs counting according to the F number value output from the F number generator 11, and outputs the count value. That is, the main counter 12 outputs a count value proportional to the frequency of the note code NC. Typically,
The count value is a positive real number.

【0028】前述したように、割当て回路10により割
当てられた演奏データPD′は、前記音色番号TNと共
に音色データ発生器13に入力される。音色データ発生
器13は、これらの入力信号に応じて、楽音出力波形の
エンベロープを制御するエンベロープ制御データEC、
選択された波形データが圧縮波形サンプルか非圧縮波形
サンプルかを示す信号COMP、選択された波形データ
の後述する波形メモリ19内におけるブロックのスター
トアドレスを示す波形スタートアドレスWSおよび前記
信号FCを出力する。ここで、信号COMPは、“H”
レベルのとき、選択された波形データが圧縮波形サンプ
ルであることを示し、“L”レベルのとき、非圧縮波形
サンプルであることを示す。
As described above, the performance data PD 'assigned by the assigning circuit 10 is input to the tone color data generator 13 together with the tone color number TN. The tone color data generator 13 controls the envelope control data EC for controlling the envelope of the tone output waveform in accordance with these input signals,
A signal COMP indicating whether the selected waveform data is a compressed waveform sample or an uncompressed waveform sample, a waveform start address WS indicating the start address of a block in the waveform memory 19 of the selected waveform data described later, and the signal FC are output. . Here, the signal COMP is "H".
The level indicates that the selected waveform data is a compressed waveform sample, and the level “L” indicates that it is an uncompressed waveform sample.

【0029】メインカウンタ12の出力値は、前述した
ように正の実数であり、各々1つの波形サンプルに対応
する整数部を示す信号INTと小数部を示す信号FRA
Cが別々に取り出される。該信号INTは、2つに分岐
され、一方は直接セレクタ14の一入力端に入力され、
他方は、2ビットシフト回路15を介して4倍され、セ
レクタ14の他の入力端に入力される。更に、セレクタ
14には、前記信号COMPが入力され、セレクタ14
は、該信号COMPが“L”レベル(0)のとき、即ち
非圧縮波形サンプルのとき前記直接入力された信号IN
Tを出力し、“H”レベル(1)のとき、即ち圧縮波形
サンプルのとき前記4倍された信号INTを出力する。
As described above, the output value of the main counter 12 is a positive real number, and the signal INT indicating the integer part and the signal FRA indicating the fractional part respectively corresponding to one waveform sample.
C is fetched separately. The signal INT is branched into two, one of which is directly input to one input terminal of the selector 14,
The other is multiplied by 4 via the 2-bit shift circuit 15 and input to the other input end of the selector 14. Further, the signal COMP is input to the selector 14, and the selector 14
Is the directly input signal IN when the signal COMP is at "L" level (0), that is, when it is an uncompressed waveform sample.
T is output, and at the time of "H" level (1), that is, the compressed waveform sample, the signal INT multiplied by 4 is output.

【0030】このセレクタ14の出力側は、加算器16
の一入力端に接続され、また、加算器16の他の入力端
には、前記波形スタートアドレスWSが入力され、セレ
クタ14の出力値は波形スタートアドレスWSと加算さ
れる。即ち、ノートコードNCにより選択された音高に
基づき、波形メモリ19から読み出されるべきブロック
のスタートアドレスが決定される。
The output side of the selector 14 has an adder 16
The waveform start address WS is input to the other input end of the adder 16, and the output value of the selector 14 is added to the waveform start address WS. That is, the start address of the block to be read from the waveform memory 19 is determined based on the pitch selected by the note code NC.

【0031】加算器16の出力側は、加算器17の一入
力端に接続され、加算器17の他の入力端には、補助カ
ウンタ18の出力側が接続されている。補助カウンタ1
8は、波形データ読出し用カウンタで、0〜3までの整
数値を出力し、このカウンタ値が加算器17で加算器1
6の出力値により指定されたアドレスに加算され、1ブ
ロックに対応する連続した4つの波形データのアドレス
が、順次、波形メモリ19に出力される。即ち、圧縮波
形サンプルを有するブロックが指定されたとき、補助カ
ウンタ18は、非圧縮波形サンプルが読み出されるとき
には、“0”を、圧縮波形サンプルが読み出されるとき
には、その記憶位置に応じて1〜3の値を出力してい
る。
The output side of the adder 16 is connected to one input end of the adder 17, and the output side of the auxiliary counter 18 is connected to the other input end of the adder 17. Auxiliary counter 1
A waveform data reading counter 8 outputs an integer value from 0 to 3, and the counter value is added by the adder 17 to the adder 1
It is added to the address designated by the output value of 6, and the addresses of four continuous waveform data corresponding to one block are sequentially output to the waveform memory 19. That is, when a block having a compressed waveform sample is designated, the auxiliary counter 18 outputs "0" when the non-compressed waveform sample is read, and when the compressed waveform sample is read, the auxiliary counter 1 to 3 depending on its storage position. The value of is output.

【0032】加算器17の出力側は、波形メモリ19の
入力側に接続され、加算器17により、前記4つの波形
データのアドレスが、順次、波形メモリ19に入力さ
れ、波形メモリ19は、該アドレス値により指定された
波形データを出力する。
The output side of the adder 17 is connected to the input side of the waveform memory 19, and the adder 17 sequentially inputs the addresses of the four waveform data to the waveform memory 19, and the waveform memory 19 Outputs the waveform data specified by the address value.

【0033】波形メモリ19の出力側は、データ分割器
20の入力側および遅延回路22の入力側に接続されて
いる。
The output side of the waveform memory 19 is connected to the input side of the data divider 20 and the input side of the delay circuit 22.

【0034】図5は、このデータ分割器20の詳細な構
成を示すブロック図である。前述したように、データ分
割器20は、非圧縮波形サンプルは、そのまま、圧縮
波形サンプル〜は、6ビットデータに分割され出力
されるように構成されている。図5において、データ分
割器20は、ラッチ回路51と、セレクタ52と、遅延
回路53と、タイミング調整回路54とにより構成され
ている。波形メモリ19の全出力ビット(0〜15ビッ
ト)、即ち図2 a)の波形データ(イ)の非圧縮波形
サンプルがラッチ回路51に入力され、ラッチ回路5
1は、セレクト信号S1が入力されると、ラッチされた
データを後述するデコーダに出力する。
FIG. 5 is a block diagram showing the detailed structure of the data divider 20. As described above, the data divider 20 is configured to divide the non-compressed waveform samples as they are into the compressed waveform samples 1 to 6 and output the divided 6-bit data. In FIG. 5, the data divider 20 includes a latch circuit 51, a selector 52, a delay circuit 53, and a timing adjustment circuit 54. All the output bits (0 to 15 bits) of the waveform memory 19, that is, the uncompressed waveform sample of the waveform data (a) in FIG. 2A is input to the latch circuit 51, and the latch circuit 5
When the select signal S1 is input, 1 outputs the latched data to the decoder described later.

【0035】一方、セレクタ52の各入力端子(I1
8)には、波形メモリ19から、それぞれ図2 a)
の波形データ(ロ)〜(ニ)に記憶された圧縮波形サンプル
〜に相当するビットが入力される。例えば、入力端
1には、0〜5ビット、即ち、前記波形データ(ロ)の
圧縮波形サンプルが直接入力され、入力端I3には、
遅延回路53を介して12〜15ビットおよび、直接、
0〜1ビット、即ち、波形サンプルデータ(ロ)および
(ハ)の圧縮波形サンプルが入力される。
On the other hand, each input terminal (I 1 to
I 8 ), from the waveform memory 19 shown in FIG.
The bits corresponding to the compressed waveform samples stored in waveform data (b) to (d) are input. For example, the input terminal I 1, 0 to 5 bits, i.e., the compressed waveform samples of the waveform data (b) is input directly, to the input terminal I 3,
12 to 15 bits and directly via the delay circuit 53,
0 to 1 bit, that is, waveform sample data (b) and
The compressed waveform sample of (C) is input.

【0036】以下、同様にして、セレクタ52の他の入
力端には、他の各圧縮波形サンプルに対応するビットが
入力される。このように、遅延回路53は、圧縮波形サ
ンプルおよびのように、圧縮波形サンプルが、隣接
する波形データにまたがって記憶されている場合、前の
波形データに記憶されている圧縮波形サンプルを遅延さ
せ、後の波形データに記憶されている圧縮波形サンプル
と略同時にセレクタ52に入力させるために用いられ
る。
Similarly, bits corresponding to other compressed waveform samples are input to the other input terminal of the selector 52 in the same manner. In this way, the delay circuit 53 delays the compressed waveform sample stored in the previous waveform data when the compressed waveform sample is stored across adjacent waveform data, like the compressed waveform sample and. , And is used to input to the selector 52 substantially at the same time as the compressed waveform sample stored in the subsequent waveform data.

【0037】更に、セレクタ52は、セレクト信号Sn
が入力され、この信号Snに従って、圧縮波形サンプル
〜を、順次、タイミング調整回路54に出力する。
タイミング調整回路54は、このようにセレクタ52か
ら時分割されて出力された圧縮波形サンプル〜のタ
イムスロット間隔を均一になるように補正する。
Further, the selector 52 has a select signal Sn.
Is input, and the compressed waveform samples are sequentially output to the timing adjustment circuit 54 in accordance with the signal Sn.
The timing adjusting circuit 54 corrects the time slot intervals of the compressed waveform samples time-divided and output from the selector 52 in this way so as to be uniform.

【0038】ここで、本音源部5は、図示しないシステ
ムクロック発生器を有し、該システムクロック発生器は
装置全体の動作に必要なシステムクロックを生成する。
また、システムクロックは、図示しないタイミング信号
発生器に供給され、各種タイミング信号が該タイミング
信号発生器により生成される。前記信号S1およびSn
は、このタイミング発生器により生成され、供給され
る。
Here, the tone generator section 5 has a system clock generator (not shown), and the system clock generator generates a system clock necessary for the operation of the entire apparatus.
Further, the system clock is supplied to a timing signal generator (not shown), and various timing signals are generated by the timing signal generator. Said signals S 1 and Sn
Are generated and supplied by this timing generator.

【0039】データ分割器20の出力側は、デコーダ2
1の入力側と接続され、タイミング調整回路54により
タイミング調整された圧縮波形サンプルは、デコーダ2
1に信号Wbとして出力される。
The output side of the data divider 20 is the decoder 2
The compressed waveform sample which is connected to the input side of No. 1 and whose timing is adjusted by the timing adjustment circuit 54 is the decoder 2
1 is output as a signal Wb.

【0040】デコーダ21は、信号Wbに基づいて、図
2 c)で説明したように、圧縮波形サンプルを非圧縮
波形サンプルに再生する処理を行う。
The decoder 21 performs the process of reproducing the compressed waveform sample into the non-compressed waveform sample based on the signal Wb, as described in FIG. 2c).

【0041】図6は、このデコーダ21の詳細な構成を
示すブロック図であり、本図は、図3で説明した原理図
と略同一であるので、同一要素には同一番号を付し、そ
の詳細な説明は省略する。
FIG. 6 is a block diagram showing a detailed configuration of the decoder 21. Since this diagram is substantially the same as the principle diagram described in FIG. 3, the same elements are designated by the same reference numerals, Detailed description is omitted.

【0042】図3で説明したように、データ分割器20
により出力された信号Wbの内、非圧縮波形サンプル
はそのままセレクタ81の一入力端に入力される一方、
圧縮波形サンプル〜はデータ伸長テーブル82によ
り16ビットデータに伸長された後、遅延回路84を介
してセレクタ81から出力された直前の信号に加算さ
れ、リミッタ85を介してセレクタ81の他の入力端に入
力される。セレクタ81は、前記タイミング発生器によ
り供給されたセレクト信号SDにより、この2つの入力
信号の内、一方を出力する。このセレクタ81の出力信
号は、遅延回路84に入力され、この遅延出力信号は、
2つに分岐され、一方は、加算器83に戻され、他方
は、信号Wcとして出力される。
As described with reference to FIG. 3, the data divider 20
Of the signal Wb output by the non-compressed waveform sample is directly input to one input terminal of the selector 8 1 .
After compression waveform sample-is, which is extended by the data decompression table 82 in 16-bit data is added immediately before the signal output from the selector 81 through the delay circuit 8 4, a selector 8 1 via the limiter 8 5 Is input to the other input terminal of. The selector 8 1 outputs one of these two input signals according to the select signal SD supplied by the timing generator. The output signal of the selector 8 1 is input to the delay circuit 8 4 , and the delayed output signal is
It is branched into two, one is returned to the adder 8 3 and the other is output as a signal Wc.

【0043】デコーダ21の出力側は、4データ送出器
23の一入力端に接続され、4データ送出器23の他の
入力端には、前記遅延回路22の出力側および後述する
遅延回路24,28の出力側が接続されている。しかし
て、デコーダ21により出力された信号Wcは、遅延回
路22を介して遅延された波形メモリ19の非圧縮波形
データの出力信号Waとともに4データ送出回路23に
入力される。更に、4データ送出回路23には、後述す
る小数部FRACが6倍され、桁上がりした整数部FR
INTが遅延回路24を介して遅延された信号(以下、
「サンプル選択信号」という)SSと、遅延回路28を
介して遅延された前記COMP信号とが入力される。
The output side of the decoder 21 is connected to one input terminal of the 4-data transmitter 23, and the output side of the delay circuit 22 and a delay circuit 24, which will be described later, are connected to the other input terminal of the 4-data transmitter 23. 28 outputs are connected. Then, the signal Wc output from the decoder 21 is input to the 4-data sending circuit 23 together with the output signal Wa of the non-compressed waveform data of the waveform memory 19 delayed by the delay circuit 22. Further, in the 4-data transmission circuit 23, a fractional part FRAC, which will be described later, is multiplied by 6 and carried to the integer part FR.
A signal obtained by delaying INT through the delay circuit 24 (hereinafter,
The “sample selection signal” SS and the COMP signal delayed by the delay circuit 28 are input.

【0044】ここで、前記サンプル選択信号SSについ
て説明する。
Now, the sample selection signal SS will be described.

【0045】前述したように、メインカウンタ12の出
力信号は、整数部INTと小数部FRACとに分離され
て取り出され、小数部FRACは、さらに2つに分岐さ
れ、一方は1ビットシフト回路25、26および加算器
27により6倍されて遅延回路24に入力され、他方は
直接セレクタ30の一入力端に入力される。この6倍さ
れた小数部FRACは、桁上がりして整数となった整数
部FRINTと小数部FRFRACとに分離される。こ
の整数部FRINTは、遅延回路24を介してサンプル
選択信号SSとして4データ送出器23に入力される。
このサンプル選択信号SSは、後述するように、図2
c)に示される9つの再生波形サンプルから連続した4
つの再生波形サンプルを取り出すために用いられる。一
方、小数部FRFRACは、セレクタ30の他の入力端
に入力される。更に、セレクタ30のセレクト端子に
は、信号COMPが入力され、セレクタ30は、該信号
COMPが“H”レベルのとき、小数部FRFRACを
出力し、“L”レベルのときメインカウンタ12からの
小数部FRACを出力する。
As described above, the output signal of the main counter 12 is separated and taken out into the integer part INT and the decimal part FRAC, and the decimal part FRAC is further branched into two, one of which is the 1-bit shift circuit 25. , 26 and the adder 27, the signal is multiplied by 6 and input to the delay circuit 24, and the other is input directly to one input terminal of the selector 30. This 6-fold fractional part FRAC is separated into an integer part FRINT and a fractional part FRFRAC that carry up to an integer. The integer part FRINT is input to the 4-data transmitter 23 as the sample selection signal SS via the delay circuit 24.
This sample selection signal SS will be described later with reference to FIG.
4 consecutive from the 9 reproduced waveform samples shown in c)
Used to retrieve one playback waveform sample. On the other hand, the fractional part FFRRAC is input to the other input end of the selector 30. Further, the signal COMP is input to the select terminal of the selector 30, and the selector 30 outputs the fractional part FFRRAC when the signal COMP is at “H” level, and the decimal number from the main counter 12 when it is at “L” level. The section FRAC is output.

【0046】ここで、小数部FRACを6倍してその整
数部FRINTを取り出す理由は、後述するように、サ
ンプル選択信号SSは、6種類あり、6倍することによ
りこの6種類のサンプル選択信号SSを都合よく選択で
きるからである。即ち、小数部FRACの範囲は、0〜
0.9・・であり、これを6倍すると、0〜5.9・・
となり、この整数部の範囲は0〜5となるため、各整数
値をこの6種類のサンプル選択信号SSに対応させるこ
とにより、4データ送出器23は、前記4つの連続した
再生波形サンプルを後述する補間回路に送出することが
できる。
The reason for taking out the integer part FRINT by multiplying the fractional part FRAC by 6 is that there are 6 types of sample selection signals SS, as will be described later, and by multiplying by 6, these 6 types of sample selection signals This is because SS can be selected conveniently. That is, the range of the decimal part FRAC is 0 to
0.9 ···, and multiplying this by 6 gives 0 to 5.9 ···
Since the range of the integer part is 0 to 5, by associating each integer value with the 6 types of sample selection signals SS, the 4 data transmitter 23 will describe the 4 consecutive reproduction waveform samples described later. Can be sent to the interpolation circuit.

【0047】これは圧縮の1ブロック毎に9つの波形が
再生でき、その中から補間用の4サンプルを選ぶときの
選び方が6通りあるためであり、1ブロックが再生時の
6サンプル分のアドレスに対応している。
This is because nine waveforms can be reproduced for each compressed block, and there are six ways of selecting four samples for interpolation from among them. One block is the address for six samples during reproduction. It corresponds to.

【0048】また、セレクタ30から出力された信号
は、遅延回路31に入力され、信号FRAC′として後
述する補間回路29ヘ出力される。
The signal output from the selector 30 is input to the delay circuit 31 and output to the interpolating circuit 29 described later as the signal FRAC '.

【0049】図7は、4データ送出器23の詳細な構成
を示すブロック図である。
FIG. 7 is a block diagram showing the detailed structure of the 4-data transmitter 23.

【0050】同図において、デコーダ21の出力Wc
は、セレクタ71の一入力端に入力され、遅延された信
号Waは、セレクタ71の他の入力端に入力される。ま
た、セレクタ71のセレクト端子には、前記信号COM
Pが入力され、該信号COMPは、同様に、セレクタ7
2のセレクト端子にも入力されている。
In the figure, the output Wc of the decoder 21
Is input to one input end of the selector 71, and the delayed signal Wa is input to the other input end of the selector 71. In addition, the select terminal of the selector 71 is connected to the signal COM.
P is input, and the signal COMP is similarly supplied to the selector 7
It is also input to the 2 select terminal.

【0051】セレクタ72の一入力端には、後述する信
号NPが入力され、他の入力端には、前記サンプル選択
信号SSに応じて、選択パルス発生器73により発生さ
れたタイミングの異なる6種類の選択パルスSP(パル
ス数4)が入力される。
A signal NP, which will be described later, is input to one input terminal of the selector 72, and the other input terminal is provided with six kinds of different timings generated by the selection pulse generator 73 according to the sample selection signal SS. Selection pulse SP (pulse number 4) is input.

【0052】セレクタ71の出力側は、取り込みパルス
付き遅延回路74のデータ入力端子に接続され、セレク
タ72の出力側は、取り込みパルス付き遅延回路74の
取り込みパルス入力端子に接続されている。
The output side of the selector 71 is connected to the data input terminal of the delay circuit with a capture pulse 74, and the output side of the selector 72 is connected to the capture pulse input terminal of the delay circuit with a capture pulse 74.

【0053】セレクタ71は、信号COMPに応じて、
データの非圧縮時には遅延されたデータWaを、データ
の圧縮時にはデコーダ21の出力データWcをそれぞれ
選択して取り込みパルス付き遅延回路74に送る。ま
た、セレクタ72は、信号COMPに応じて、データの
非圧縮時には信号NPを、データの圧縮時にはサンプル
選択信号SS(選択パルスSP)を取り込みパルス付き
遅延回路74に送る。
The selector 71 responds to the signal COMP by
When the data is not compressed, the delayed data Wa is selected, and when the data is compressed, the output data Wc of the decoder 21 is selected and sent to the delay circuit with a pulse 74. Further, the selector 72 takes in the signal NP when the data is not compressed and the sample selection signal SS (selection pulse SP) when the data is compressed, and sends it to the delay circuit with pulse 74 in accordance with the signal COMP.

【0054】取り込みパルス付き遅延回路74は、セレ
クタ72から出力される出力パルスに基づいて、セレク
タ71から出力されるデコーダ出力Wcの再生波形サン
プル,′〜′の中から4つの再生波形サンプルま
たは遅延データ出力Waのデータ(イ)〜(ニ)(R1
〜R4)(以下、両者を総称して「波形データ」とい
う)を遅延回路75に出力する。遅延回路75も、遅延
回路74と同様に取り込みパルス付き遅延回路であり、
更に、遅延回路75には、遅延回路74により入力され
た波形データを出力するためのクロックである信号NP
および遅延回路74から4つの波形データを取り込むタ
イミングと該波形データを出力するタイミングを決定す
るためのパルスであるロード信号LDが入力される。遅
延回路75は、該信号LDに応じて遅延回路74に取込
まれた4つの波形データが入力されると、前記信号NP
に同期して、入力された波形データを補間回路26へ信
号Wdとして出力する。
The delay circuit 74 with a fetch pulse is based on the output pulse output from the selector 72, and four playback waveform samples or delays from the playback waveform samples of the decoder output Wc output from the selector 71, '-'. Data output Wa data (a) to (d) (R 1
To R 4 ) (hereinafter, both are collectively referred to as “waveform data”) are output to the delay circuit 75. Like the delay circuit 74, the delay circuit 75 is also a delay circuit with a capture pulse,
Further, the delay circuit 75 has a signal NP which is a clock for outputting the waveform data input by the delay circuit 74.
Also, the load signal LD, which is a pulse for determining the timing of taking in the four waveform data and the timing of outputting the waveform data, is input from the delay circuit 74. The delay circuit 75 receives the four waveform data captured by the delay circuit 74 in response to the signal LD, and then outputs the signal NP.
The input waveform data is output as a signal Wd to the interpolation circuit 26 in synchronism with.

【0055】ここで、信号LD,NPは、前記タイミン
グ発生器により生成され供給される。
Here, the signals LD and NP are generated and supplied by the timing generator.

【0056】本実施例は、本発明を、生成しようとする
波形の周波数に無関係に常に一定のサンプリング周波数
でサンプリングすることにより波形を生成する、いわゆ
るピッチ非同期型の波形生成装置に適用したもので、こ
の種の波形生成装置においては、生成波形の周波数に、
非調和な折り返しノイズが発生する恐れがあり、これを
除去する必要がある。このため、例えば、以下に述べる
ように、前記4つの再生波形サンプルから1つの出力波
形を生成する4点補間方式が必要となり、これと同様な
補間方式を6点補間に適用したものが、すでに開示され
ている(特開昭63−168695号公報)。
The present embodiment is an application of the present invention to a so-called pitch asynchronous type waveform generator which generates a waveform by always sampling at a constant sampling frequency regardless of the frequency of the waveform to be generated. , In this type of waveform generator, the frequency of the generated waveform is
Anharmonic folding noise may occur and needs to be removed. Therefore, for example, as described below, a four-point interpolation method for generating one output waveform from the four reproduced waveform samples is required, and an interpolation method similar to this is already applied to six-point interpolation. It has been disclosed (JP-A-63-168695).

【0057】また、本実施例は、所望の楽音信号を生成
するとき、1ブロックに含まれる波形サンプルのみから
該楽音信号を生成するように構成している。これは、該
楽音信号の生成に際して複数のブロックを読み出す必要
がなく、単純な回路で補間器を構成することができるか
らである。したがって、本実施例に4点補間方式を適用
する場合、読み出しブロックの最後の3つの波形サンプ
ルと次のブロックの最初の3つの波形サンプルは、重複
して同一データを持つ必要がある。即ち、本実施例は1
ブロック内に9つの波形サンプルを有し、その内3つの
波形サンプルは次のブロックと共通であるため実際には
6つの波形サンプル分の記憶領域に対応していることに
なる。
Further, in the present embodiment, when a desired musical tone signal is generated, the musical tone signal is generated only from the waveform samples included in one block. This is because it is not necessary to read a plurality of blocks when generating the tone signal, and the interpolator can be configured with a simple circuit. Therefore, when the 4-point interpolation method is applied to this embodiment, the last three waveform samples of the read block and the first three waveform samples of the next block must have the same data in duplicate. That is, this embodiment is 1
Since there are 9 waveform samples in a block, and 3 of them are common to the next block, they actually correspond to the storage areas for 6 waveform samples.

【0058】図8は、補間回路の詳細な構成を示すブロ
ック図である。
FIG. 8 is a block diagram showing the detailed structure of the interpolation circuit.

【0059】図8において、4データ送出回路23から
の出力信号Wd(順次送出される4つの波形データ)は
乗算器81の一入力端に入力され、他の入力端には係数
発生器82の出力が入力される。係数発生器82には、
前記遅延回路31からの出力信号FRAC′と補助カウ
ンタ83の出力とが入力され、両入力信号に基づいて所
定の係数が選択され、該係数は乗算器81により入力信
号Wdと乗算される。この乗算された入力信号Wdは、
加算器84に入力される。加算器84の出力は、遅延回
路85を介して遅延され、2つに分岐される。一方はゲ
ート87に入力され、他方は、ラッチ回路88に入力さ
れる。また、前記タイミング発生器から供給される補間
タイミング信号IPがインバータ86を介して反転され
ゲート87に入力されると共に、直接ラッチ回路88に
入力される。
In FIG. 8, the output signal Wd (four waveform data sequentially transmitted) from the four data transmission circuit 23 is input to one input end of the multiplier 81, and the other input end of the coefficient generator 82. Output is input. The coefficient generator 82 includes
The output signal FRAC 'from the delay circuit 31 and the output of the auxiliary counter 83 are input, a predetermined coefficient is selected based on both input signals, and the coefficient is multiplied by the input signal Wd by the multiplier 81. The multiplied input signal Wd is
It is input to the adder 84. The output of the adder 84 is delayed via the delay circuit 85 and branched into two. One is input to the gate 87 and the other is input to the latch circuit 88. Further, the interpolation timing signal IP supplied from the timing generator is inverted via the inverter 86 and input to the gate 87 and directly to the latch circuit 88.

【0060】信号Wdの4つの波形データ(これを、順
にS1,S2,S3,S4とする)の内、最初に出力さ
れた波形データS1は、補助カウンタ83の出力“0”
と信号FRAC′とにより選択された係数(以下、α1
という)と乗算器81により乗算され、その結果のデー
タα1・S1は加算器84に入力される。このとき、補
間タイミング信号IPは“H”レベルとなってゲート8
7は閉じており、データα1,S1はそのまま遅延回路8
5に入力される。次に、信号Wdの波形データS2は、
補助カウンタ83の出力“1”と信号FRACとにより
選択された係数(以下、α2という)と乗算され、その
結果のデータα2・S2は、遅延回路85で遅延された
データα1・S1と加算されて遅延回路85に再び入力
される。以下同様に、順次、データα3・S3はα1・S
1+α2・S2と加算され、α4・S4はα1・S1+α2
2+α3・S3と加算され、IP信号に同期してすべて
加算された結果(以下、「補間サンプル」という)が遅
延回路85から出力されたタイミングでラッチ回路88
によりラッチされ、次のIP信号の立ち上がりパルスに
よって、この補間サンプルWeがラッチ回路88から出
力される。
Of the four waveform data of the signal Wd (which will be referred to as S1, S2, S3 and S4 in order), the waveform data S1 that is output first is the output "0" of the auxiliary counter 83.
And a coefficient selected by the signal FRAC ′ (hereinafter, α 1
Is multiplied by the multiplier 81, and the resulting data α 1 · S1 is input to the adder 84. At this time, the interpolation timing signal IP becomes "H" level and the gate 8
7 is closed, and the data α 1 and S 1 remain unchanged in the delay circuit 8
Input to 5. Next, the waveform data S 2 of the signal Wd is
The output “1” of the auxiliary counter 83 is multiplied by the coefficient (hereinafter referred to as α 2 ) selected by the signal FRAC, and the resulting data α 2 · S2 is the data α 1 · S1 delayed by the delay circuit 85. Is added and input to the delay circuit 85 again. Similarly, the data α 3 · S 3 is changed to α 1 · S.
1 + α 2 · S 2 is added, and α 4 · S 4 is α 1 · S 1 + α 2 ·
S 2 + α 3 · S 3 is added, and the result of adding all in synchronization with the IP signal (hereinafter referred to as “interpolation sample”) is output from the delay circuit 85 at the latch circuit 88.
This interpolated sample We is output from the latch circuit 88 by the next rising pulse of the IP signal.

【0061】補間回路29の出力側は、掛算器34の一
入力端と接続され、乗算器34の他の入力端は、エンベ
ロープ発生器33と接続されている。
The output side of the interpolation circuit 29 is connected to one input end of the multiplier 34, and the other input end of the multiplier 34 is connected to the envelope generator 33.

【0062】前記生成された補間サンプルWeは、音色
データ発生器13により出力され、遅延回路32により
遅延されたエンベロープ制御データECに基づいて、エ
ンベロープ発生器33により生成されたエンベロープ波
形と乗算器34で乗算され、その結果のデータが、チャ
ンネル累算器35により1DACサイクルの複数の時分
割チャンネルのすべてについて累算され、図1のD/A
コンバータ6によりアナログ変換され、サウンドシステ
ム7を介して楽音に変換される。
The generated interpolation sample We is output from the tone color data generator 13 and based on the envelope control data EC delayed by the delay circuit 32, the envelope waveform generated by the envelope generator 33 and the multiplier 34. 1 and the resulting data is accumulated by the channel accumulator 35 for all of the multiple time division channels of one DAC cycle, and the resulting D / A of FIG.
It is converted into analog by the converter 6 and converted into a musical sound through the sound system 7.

【0063】以下、本実施例の動作を図9に基づいて詳
細に説明する。
The operation of this embodiment will be described in detail below with reference to FIG.

【0064】図9は、波形メモリ19から読み出された
1ブロック(4データ)の波形データから1つの補間サ
ンプルが生成されるまでのデータおよびタイミング信号
のタイミングを示すタイミングチャートである。
FIG. 9 is a timing chart showing the timing of data and timing signals until one interpolation sample is generated from the waveform data of one block (4 data) read from the waveform memory 19.

【0065】上述したように、図4の波形メモリ19に
は、圧縮された波形サンプルを含む波形とすべて非圧縮
波形サンプルから成る波形が各々複数記憶され、演奏デ
ータPDと音色番号TNとが決まれば、これに対応した
波形のアドレスが音色データ発生器13により選択さ
れ、該選択されたブロックのアドレスに応じて、圧縮サ
ンプルを含む波形(COMP=1)または圧縮サンプル
を全く含まない波形(COMP=0)が波形メモリ19
から読み出される。
As described above, the waveform memory 19 shown in FIG. 4 stores a plurality of waveforms each including a compressed waveform sample and all non-compressed waveform samples, and the performance data PD and the tone color number TN are determined. For example, a waveform address corresponding to this is selected by the tone color data generator 13, and a waveform containing a compressed sample (COMP = 1) or a waveform containing no compressed sample (COMP) is selected according to the address of the selected block. = 0) is the waveform memory 19
Read from.

【0066】以下、該波形が圧縮波形サンプルを含む波
形である場合と、すべて非圧縮波形サンプルから成る波
形である場合とに分けて説明する。
Hereinafter, description will be given separately for the case where the waveform is a waveform including a compressed waveform sample and the case where the waveform is a waveform including all non-compressed waveform samples.

【0067】まず、図9 a)に示される圧縮波形サン
プルを含む波形が選択された場合を説明する。
First, the case where the waveform including the compressed waveform sample shown in FIG. 9A) is selected will be described.

【0068】演奏データPDと音色番号TNとが決まる
と、割当て回路10により、時分割されたあるタイムス
ロットに演奏データPD′が割り当てられ、該演奏デー
タPD′は、そのまま音色データ発生器13に入力さ
れ、また、該演奏データPD′の内、ノートコードNC
は、Fナンバ発生器11にも入力される。
When the performance data PD and the tone color number TN are determined, the assignment circuit 10 assigns the performance data PD 'to a certain time-divided time slot, and the performance data PD' is directly sent to the tone color data generator 13. The note code NC that has been input and is included in the performance data PD '.
Is also input to the F number generator 11.

【0069】音色データ発生器13は、入力された演奏
データPDおよび音色番号TNに基づいて、Fナンバ発
生器11に前記信号FCを出力し、所定のFナンバが出
力されるように制御する。このようにして、ノートコー
ドNCに基づいて生成されたFナンバ値に応じて、メイ
ンカウンタ12はカウントを行い、カウント値を出力す
る。このカウント値の内、整数部INTは4波形データ
を一度に読むために2ビットシフト回路15により4倍
され、セレクタ14の一入力端に入力される。このと
き、セレクタ14に入力される信号COMPは、圧縮波
形サンプルを選択しているため、セレクタ14は、4倍
された整数部INTを出力する。
The tone color data generator 13 outputs the signal FC to the F number generator 11 based on the input performance data PD and tone color number TN, and controls so that a predetermined F number is output. In this way, the main counter 12 counts according to the F number value generated based on the note code NC, and outputs the count value. Of this count value, the integer part INT is multiplied by 4 by the 2-bit shift circuit 15 in order to read the four waveform data at once, and is input to one input terminal of the selector 14. At this time, since the signal COMP input to the selector 14 selects the compressed waveform sample, the selector 14 outputs the integer part INT multiplied by four.

【0070】セレクタ14の出力信号は、音色データ発
生器13により生成された波形スタートアドレスWSと
加算器16で加算され、この加算値は、補助カウンタ1
8から順次出力された0〜3の出力値と、加算器17で
加算され、この加算器17からの4つの波形データのア
ドレスが波形メモリ19に入力され、図9 a)に示さ
れるように、1ブロックの波形データR1〜R4が波形
メモリ19から順次出力される。
The output signal of the selector 14 is added to the waveform start address WS generated by the tone color data generator 13 by the adder 16, and the added value is added to the auxiliary counter 1
The output values 0 to 3 sequentially output from 8 are added by the adder 17, and the addresses of the four waveform data from the adder 17 are input to the waveform memory 19 as shown in FIG. 9A). The waveform data R1 to R4 of one block are sequentially output from the waveform memory 19.

【0071】このようにして出力された波形データR1
〜R4は、データ分割器20で1つの非圧縮波形サンプ
ル(図9 b)―2)と8つの圧縮波形サンプル〜
(図9 b)―4)とに分割される。即ち、図5にお
いて、波形データR1は、ラッチ回路51によりラッチ
され、図9 b)―1に示されるタイミング信号S1に
より、図9 b)―2に示すように継続して出力され
る。
The waveform data R1 output in this way
~ R4 is one uncompressed waveform sample (Fig. 9b) -2) and eight compressed waveform samples in the data divider 20 ~
(Fig. 9b) -4). That is, in FIG. 5, the waveform data R1 is latched by the latch circuit 51 and continuously output as shown in FIG. 9b) -2 by the timing signal S1 shown in FIG. 9b) -1.

【0072】一方、波形データR2〜R4は、セレクタ
52により、圧縮波形サンプル〜に分割され、この
圧縮波形サンプル〜は、図9 b)―3に示される
タイミング信号Snにより、セレクタ52からタイミン
グ調整回路54へ順次出力され、図9 b)―4に示す
ように、各6ビットの圧縮波形サンプル〜が、同一
の時間間隔で出力される。
On the other hand, the waveform data R2 to R4 are divided by the selector 52 into compressed waveform samples ~, and the compressed waveform samples ~ are adjusted in timing from the selector 52 by the timing signal Sn shown in Fig. 9b) -3. The signals are sequentially output to the circuit 54, and as shown in FIG. 9B) -4, each 6-bit compressed waveform sample is output at the same time interval.

【0073】データ分割器20により分割された波形サ
ンプル〜は、出力信号Wbとしてデコーダ21に入
力され、デコーダ21は、この分割された波形サンプル
〜に基づいて、元の再生サンプルを生成する。
The waveform samples divided by the data divider 20 are input to the decoder 21 as the output signal Wb, and the decoder 21 generates original reproduction samples based on the divided waveform samples.

【0074】図6に示すように、波形サンプルは、セ
レクタ81の一入力端に入力され、図9 c)−1に示
されるセレクト信号SDが“H”レベルになると、セレ
クタ81は、波形サンプルを出力する(図9 c)−
2)。
As shown in FIG. 6, the waveform sample is input to one input terminal of the selector 8 1 , and when the select signal SD shown in FIG. 9c) -1 becomes "H" level, the selector 8 1 Output a waveform sample (Fig. 9c)-
2).

【0075】また、波形サンプルは、データ伸長テー
ブル82により16ビットデータに伸長され、セレクタ
1から出力され遅延回路84により遅延された波形サン
プルと加算器83で加算され、加算結果(以下、「再
生波形サンプル′」という)のオーバーフローを防止
するためのリミッタ85を介してセレクタ81の他の入力
端に入力される。この再生波形サンプル′は、図9
c)−1に示されるように、セレクト信号SDが“L”
レベルになると、セレクタ81から出力される(図9
c)−2)。
The waveform sample is expanded into 16-bit data by the data expansion table 8 2 and added by the adder 8 3 with the waveform sample output from the selector 8 1 and delayed by the delay circuit 8 4 , resulting in the addition result ( Hereinafter, it is input to the other input terminal of the selector 8 1 via a limiter 8 5 for preventing overflow of "reproduced waveform sample '"). This reproduced waveform sample 'is shown in FIG.
c) -1, the select signal SD is "L".
When it reaches the level, it is output from the selector 8 1 (see FIG. 9).
c) -2).

【0076】以下、同様にして、波形サンプル〜が
それぞれ直前の波形サンプルと加算されて、再生波形サ
ンプル′〜′が、セレクタ81から順次出力される
(図9 c)−2)。
[0076] In the same manner, the waveform sample-is added to the immediately preceding waveform samples respectively, the reproduced waveform sample '~' are sequentially outputted from the selector 81 (Fig. 9 c) -2).

【0077】このようにして再生された再生波形サンプ
ル〜′は、出力信号Wcとして4データ送出器23
に出力される。図7に示すように、この出力信号Wc
は、セレクタ71の一入力端に入力され、このとき、セ
レクタ71のセレクト端子に入力された信号COMPは
“H”レベルであるため、そのまま取り込みパルス付き
遅延回路74へ出力される。また、このとき、セレクタ
72の出力信号は、セレクタ71と同様、信号COMP
により選択パルス発生器73の出力信号SPが選択され
る。即ち、図9 d)−1に示される6種類の選択パル
スの内、信号SSの値により選択された1つの選択パル
スSPが取り込みパルス付き遅延回路74のパルス入力
端に入力される。取り込みパルス付き遅延回路74は、
この選択パルスSPに基づきセレクタ71から出力され
た再生波形サンプル〜′の中から連続した4つの再
生波形サンプルを選択し、ロード信号LDのパルスが入
力されると取り込みパルス付き遅延回路75に出力す
る。
The reproduced waveform samples ~ 'reproduced in this way are output to the 4 data transmitter 23 as the output signal Wc.
Is output to. As shown in FIG. 7, this output signal Wc
Is input to one input terminal of the selector 71. At this time, since the signal COMP input to the select terminal of the selector 71 is at the “H” level, it is output as it is to the delay circuit with a fetch pulse 74. Further, at this time, the output signal of the selector 72 is the signal COMP as in the selector 71.
Thus, the output signal SP of the selection pulse generator 73 is selected. That is, of the six types of selection pulses shown in FIG. 9 d) -1, one selection pulse SP selected by the value of the signal SS is input to the pulse input terminal of the delay circuit with a capture pulse 74. The delay circuit with capture pulse 74
Based on this selection pulse SP, four continuous reproduction waveform samples are selected from the reproduction waveform samples output from the selector 71, and when a pulse of the load signal LD is input, it is output to the delay circuit with a capture pulse 75. .

【0078】取り込みパルス付き遅延回路75にロード
信号LDに同期して取込まれた4つの再生波形サンプル
は(図9 d)−4)、信号NPのパルス(図9 d)
−2)の立下がりに同期して信号Wdとして出力される
(図9 d)−5)。
The four reproduced waveform samples captured by the delay circuit with capture pulse 75 in synchronization with the load signal LD (FIG. 9d) -4) are the pulses of the signal NP (FIG. 9d).
It is output as the signal Wd in synchronization with the falling edge of -2) (Fig. 9d) -5).

【0079】この出力信号Wdの再生波形サンプルS1
〜S4は、補間回路29に入力される。図8に示すよう
に、再生波形サンプルS1は、乗算器81で、補助カウ
ンタ83の出力値“0”および前記6倍された小数部F
RACの小数部FRFRACが遅延回路31を介して遅
延された信号FRAC′により選択された係数発生器8
2の係数α1と乗算される。この乗算器81の出力信号
α1・S1は、加算器84でゲート87の出力信号と加
算されるが、このとき、図9 e)−1に示されるよう
に、ゲート87に入力される信号IPは、“H”レベル
であるため、インバータ86により反転され、“L”レ
ベルとなり、ゲート87の出力信号は0となる。したが
って、乗算器81の出力はそのまま遅延回路85に入力
される。遅延回路85により遅延された出力信号は2つ
に分岐され、一方はゲート87に入力され、他方は、ラ
ッチ回路88に入力される。
Reproduced waveform sample S1 of this output signal Wd
~ S4 are input to the interpolation circuit 29. As shown in FIG. 8, the reproduced waveform sample S1 is output by the multiplier 81 to the output value "0" of the auxiliary counter 83 and the fractional part F multiplied by 6.
Coefficient generator 8 whose fractional part FRFRAC of the RAC is selected by the delayed signal FRAC 'via the delay circuit 31.
It is multiplied by a coefficient α 1 of 2. The output signal α 1 · S1 of the multiplier 81 is added to the output signal of the gate 87 by the adder 84. At this time, as shown in FIG. 9e) -1, the signal input to the gate 87. Since IP is at "H" level, it is inverted by the inverter 86 and becomes "L" level, and the output signal of the gate 87 becomes zero. Therefore, the output of the multiplier 81 is directly input to the delay circuit 85. The output signal delayed by the delay circuit 85 is branched into two, one of which is input to the gate 87 and the other of which is input to the latch circuit 88.

【0080】再生波形サンプルS2は、前記再生波形サ
ンプルS1と同様に、補助カウンタ83の出力値“1”
および信号FRAC′により選択された係数と乗算さ
れ、加算器84でゲート87の出力信号と加算される。
このとき、図9 e)−1に示されるように、信号IP
は、“L”レベルであるため、ゲート87から前記遅延
された信号α1・S1が出力され、加算器84の出力信
号は、α1・S1+α2・S2となり、遅延回路85で遅
延され、ラッチ回路88によりラッチされる。
The reproduced waveform sample S2 is the output value "1" of the auxiliary counter 83, like the reproduced waveform sample S1.
And the coefficient selected by the signal FRAC 'and multiplied by the adder 84 with the output signal of the gate 87.
At this time, as shown in FIG.
Is at the “L” level, the delayed signal α 1 · S1 is output from the gate 87, and the output signal of the adder 84 becomes α 1 · S1 + α 2 · S2, which is delayed by the delay circuit 85. It is latched by the latch circuit 88.

【0081】同様にして、再生波形サンプルS3,S4
は、乗算器81により、それぞれ係数α3,α4と掛け合
わされ、加算器84により1つ前の加算結果と加算さ
れ、最終的に、信号α1・S1+α2・S2+α3・S3
+α4・S4が遅延回路85で遅延され、ラッチ回路8
8によりラッチされる。図9 e)−1,2で示される
ように、信号IPの次の立上がりパルスに同期して、補
間サンプルWe(信号α1・S1+α2・S2+α3・S
3+α4・S4)が、ラッチ回路88から出力される。
Similarly, reproduced waveform samples S3 and S4
Is multiplied by the coefficients α 3 and α 4 respectively by the multiplier 81, and is added to the previous addition result by the adder 84, and finally the signal α 1 · S1 + α 2 · S2 + α 3 · S3
+ Α 4 · S4 is delayed by the delay circuit 85, and the latch circuit 8
Latched by 8. As shown in FIG. 9 e) -1, 2, the interpolation sample We (signal α 1 · S 1 + α 2 · S 2 + α 3 · S) is synchronized with the next rising pulse of the signal IP.
3 + α 4 · S4) is output from the latch circuit 88.

【0082】この補間サンプルWeは、乗算器34によ
り、エンベロープ発生器33の出力信号であるエンベロ
ープ波形と乗算され、チャンネル累算器35により各チ
ャンネルの出力信号が累算され、図示しないサウンドシ
ステム等を介して、楽音として出力される。
This interpolated sample We is multiplied by the envelope waveform which is the output signal of the envelope generator 33 by the multiplier 34, and the output signal of each channel is accumulated by the channel accumulator 35. Is output as a musical sound through.

【0083】次に、演奏データPDと音色番号TNによ
り、波形メモリ19に記憶された記憶波形の内、すべて
非圧縮波形サンプルから成るブロックが選択された場合
について説明する。
Next, a case will be described in which a block consisting of all uncompressed waveform samples is selected from the stored waveforms stored in the waveform memory 19 by the performance data PD and the tone color number TN.

【0084】演奏データPDと音色番号TNが決まる
と、前述したように、割当て回路10により時分割され
たあるタイムスロットに演奏データPDが割り当てら
れ、音色データ発生器13により各種制御信号が出力さ
れ、Fナンバ発生器11によりFナンバ値が出力され、
メインカウンタ12によりこのFナンバ値に基づいてカ
ウントが行われ、実数のカウント値がその整数部INT
および小数部FRACとして取り出される。
When the performance data PD and the tone color number TN are determined, as described above, the performance data PD is assigned to a certain time slot which is time-divided by the assigning circuit 10, and the tone color data generator 13 outputs various control signals. , The F number generator 11 outputs the F number value,
The main counter 12 counts on the basis of this F number value, and the real count value is the integer part INT.
And a fractional part FRAC.

【0085】整数部INTは、このとき、セレクタ14
のセレクト端子に入力される信号COMPが“L”レベ
ルであるため、そのままセレクタ14から出力される。
この出力信号INTは、加算器16で波形スタートアド
レスWSと加算され、この加算結果は、加算器17で補
助カウンタ18の出力値0〜3と、順次加算され、加算
器17の出力値で指定されるアドレスに応じて波形メモ
リ19から圧縮されていない波形サンプルが順に4つ出
力され、遅延回路22を介して遅延され、4データ送出
器23に入力される。
At this time, the integer part INT has the selector 14
Since the signal COMP input to the select terminal of is at "L" level, it is output from the selector 14 as it is.
This output signal INT is added to the waveform start address WS in the adder 16, and the addition result is sequentially added to the output values 0 to 3 of the auxiliary counter 18 in the adder 17 and designated by the output value of the adder 17. According to the address, four uncompressed waveform samples are sequentially output from the waveform memory 19, delayed by the delay circuit 22, and input to the four data transmitter 23.

【0086】図7に示すように、このとき、セレクタ7
1、72のセレクト端子に入力された信号COMPは、
“L”レベルであるため、セレクタ71からは前記遅延
回路22により遅延された非圧縮波形サンプルが取り込
みパルス付き遅延回路74に出力され、セレクタ72か
らは図9 d)−2に示される信号NPが取り込みパル
ス付き遅延回路74のパルス入力端に出力され、ロード
信号LDのパルスが入力されると(図9 d)−4)、
信号NPのパルスの立下がりに同期して、取り込みパル
ス付き遅延回路74から取り込みパルス付き遅延回路7
5へ非圧縮波形サンプルR1〜R4が出力される。
As shown in FIG. 7, at this time, the selector 7
The signal COMP input to the select terminals 1 and 72 is
Since it is at the "L" level, the selector 71 outputs the non-compressed waveform sample delayed by the delay circuit 22 to the delay circuit 74 with a fetch pulse, and the selector 72 outputs the signal NP shown in FIG. Is output to the pulse input terminal of the delay circuit with a capture pulse 74, and the pulse of the load signal LD is input (FIG. 9d) -4),
In synchronism with the falling edge of the pulse of the signal NP, the delay circuit with a fetch pulse 74 delays the delay circuit 7 with a fetch pulse.
5, the uncompressed waveform samples R1 to R4 are output.

【0087】取り込みパルス付き遅延回路75にロード
信号LDに同期して取込まれた非圧縮波形サンプルR1
〜R4は、前述したように、信号NPのパルス(図9
d)−2)の立下がりに同期して信号Wdとして出力さ
れる(図9 d)−5)。
Non-compressed waveform sample R1 fetched in the delay circuit with fetch pulse 75 in synchronization with the load signal LD
~ R4 are the pulses of the signal NP (see FIG. 9) as described above.
The signal Wd is output in synchronization with the falling of d) -2) (Fig. 9d) -5).

【0088】信号Wdは、補間回路29に入力される。
このとき、セレクタ30に入力された信号COMPは
“L”レベルであるため、セレクタ30により前記小数
部FRACはそのまま出力され、遅延回路31を介して
遅延された信号FRAC′が補間回路29に入力され
る。
The signal Wd is input to the interpolation circuit 29.
At this time, since the signal COMP input to the selector 30 is at “L” level, the selector 30 outputs the fractional part FRAC as it is, and the signal FRAC ′ delayed by the delay circuit 31 is input to the interpolation circuit 29. To be done.

【0089】補間回路29以降の処理は、前述した圧縮
波形サンプルを含むブロックが選択された場合と同様で
あるので、その詳細な説明を省略する。
The processing after the interpolation circuit 29 is the same as that when the block including the compressed waveform sample is selected, and therefore the detailed description thereof will be omitted.

【0090】以上のようにして、本実施例によれば、各
ブロック中に1つの非圧縮波形サンプルを有し、波形サ
ンプルをブロック単位で読み出すので、ピッチアップし
て、飛ばし読みをしても、その波形サンプルを再生する
ことができ、また、圧縮波形サンプルを有しているため
波形メモリを効率的に使用することができ、これにより
メモリ容量の低減化を図り、コストの増加を抑制するこ
とができる。
As described above, according to the present embodiment, each block has one uncompressed waveform sample and the waveform sample is read out in block units. Therefore, even if the pitch is increased and skipped reading is performed. , The waveform sample can be regenerated, and the waveform memory can be used efficiently because it has the compressed waveform sample, thereby reducing the memory capacity and suppressing the increase in cost. be able to.

【0091】なお、本実施例は、本発明に係る波形生成
装置を電子楽器の音源に適用したが、これに限らず、例
えば、音声メモリを備えた留守番電話やテープレコーダ
等のメモリに記憶された波形サンプルをピッチ変更等の
目的で飛ばし読みする場合にも適用可能である。
Although the waveform generating apparatus according to the present invention is applied to the sound source of an electronic musical instrument in this embodiment, the present invention is not limited to this. For example, it is stored in a memory such as an answering machine or a tape recorder equipped with a voice memory. It can also be applied to skipped reading of the waveform sample for the purpose of changing the pitch.

【0092】また、本実施例では、4点補間を行ってい
るため、圧縮波形サンプルを含む1ブロックは、前述し
たように6つの波形サンプルを有しているが、この補間
をやめてもよい。その場合、ブロック間で重複した波形
サンプルを有する必要がなくなるため、1ブロックは9
つの波形サンプル分のアドレスに対応することになる。
Further, in this embodiment, since four-point interpolation is performed, one block including a compressed waveform sample has six waveform samples as described above, but this interpolation may be stopped. In that case, one block is 9 because there is no need to have overlapping waveform samples between blocks.
It corresponds to the address of one waveform sample.

【0093】さらに、本実施例では、波形サンプルの圧
縮方法としてDPCMを採用したが、これに限らず、L
PC,ADPCM等の過去の再生値と新データに基づき
現在の再生値を得るような圧縮方式であれば、適用可能
である。
Further, although the DPCM is adopted as the method of compressing the waveform samples in the present embodiment, the method is not limited to this, and LPCM is used.
A compression method that can obtain the current reproduction value based on the past reproduction value and new data such as PC and ADPCM can be applied.

【0094】また、本発明は記憶された波形サンプルの
一部をループ読みするようにした圧縮型波形メモリ音源
に適用しても有効である。こうすることにより、ループ
スタートに戻るとき、特別な処理をしなくてもよい。
The present invention is also effective when applied to a compressed waveform memory sound source in which a part of the stored waveform samples is loop-read. By doing so, when returning to the loop start, no special processing is required.

【0095】また、1ブロックを1つの非圧縮波形サン
プルと8つの圧縮波形サンプルで構成しているが、1ブ
ロックの圧縮波形のサンプル数は任意に変更してもよ
い。
Although one block is composed of one uncompressed waveform sample and eight compressed waveform samples, the number of compressed waveform samples in one block may be arbitrarily changed.

【0096】[0096]

【発明の効果】以上説明したように、本発明によれば、
少くとも1つの圧縮されていない波形サンプルと複数の
圧縮された波形サンプルとを1ブロックにして複数のブ
ロックのデータを記憶した記憶手段と、ピッチを指定す
るピッチ指定手段と、該ピッチ指定手段により指定され
たピッチに基づいて前記記憶手段から波形サンプルをブ
ロック毎に読出す読出し手段と、該読出し手段により読
出されたブロックの圧縮された波形サンプルを圧縮前の
波形サンプルに再生する再生手段と、該再生手段により
再生された波形サンプルを所望の楽音信号として取出す
取出し手段とを有するので、ピッチアップして、飛ばし
読みをしても、その波形サンプルを再生することがで
き、ピッチアップの幅を大きくでき、波形メモリを効率
的に使用することができ、これによりメモリ容量の低減
化を図り、コストの増加を抑制することが可能となる効
果を奏する。
As described above, according to the present invention,
By at least one uncompressed waveform sample and a plurality of compressed waveform samples as one block, storage means for storing data of a plurality of blocks, pitch designating means for designating a pitch, and the pitch designating means Reading means for reading the waveform sample from the storage means for each block based on a designated pitch; and reproducing means for reproducing the compressed waveform sample of the block read by the reading means into a waveform sample before compression. Since the waveform sample reproduced by the reproducing means is taken out as a desired musical tone signal, the waveform sample can be reproduced even if the pitch is increased and skip reading is performed, and the pitch increase range is increased. The size of the memory can be increased and the waveform memory can be used efficiently, which reduces the memory capacity and reduces the cost. An effect that it is possible to suppress the pressure.

【0097】また、生成しようとする波形の周波数と無
関係に常に一定のサンプリング周波数でサンプリングす
ることにより波形を生成する場合に、前記所望の楽音信
号を生成するために前記再生された複数の波形サンプル
を用いて補間する補間手段を有し、該補間手段は、m個
の波形サンプルを用いて補間する場合に、前記記憶手段
に記憶された1ブロックの波形サンプルの内、最後から
m―1個の波形サンプルは、次のブロックの波形サンプ
ルの最初からm―1個の波形サンプルと同一であるの
で、前記所望の楽音信号を生成するとき、次のブロック
内の波形サンプルを用いることなく、読み出された1ブ
ロック内の波形サンプルのみから該楽音信号を生成する
ことができ、これにより回路を単純化することが可能と
なる効果を奏する。
Further, when a waveform is generated by always sampling at a constant sampling frequency regardless of the frequency of the waveform to be generated, the plurality of reproduced waveform samples for generating the desired musical tone signal. Has an interpolating means for interpolating using m waveform samples, and the interpolating means, when performing interpolation using m waveform samples, selects m−1 from the end of one block of waveform samples stored in the storage means. Since the waveform sample of is the same as the m−1 waveform samples from the beginning of the waveform block of the next block, when the desired musical tone signal is generated, the waveform sample in the next block is used without being read. The musical tone signal can be generated only from the waveform samples in one block that is output, which has the effect of simplifying the circuit.

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

【図1】本発明に係る波形生成装置を有する電子鍵盤楽
器の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an electronic keyboard instrument having a waveform generation device according to the present invention.

【図2】本発明に係る波形生成装置を構成する波形メモ
リに記憶された圧縮記憶波形サンプルとその再生波形サ
ンプルを説明する説明図である。
FIG. 2 is an explanatory diagram illustrating a compressed stored waveform sample stored in a waveform memory that constitutes a waveform generation device according to the present invention and a reproduced waveform sample thereof.

【図3】データ分割器により分割された波形データから
元の非圧縮波形サンプルを再生する処理を示す原理図で
ある。
FIG. 3 is a principle diagram showing a process of reproducing an original uncompressed waveform sample from waveform data divided by a data divider.

【図4】本発明に係る波形生成装置の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a waveform generation device according to the present invention.

【図5】図4の波形生成装置を構成するデータ分割器の
構成を示すブロック図である。
5 is a block diagram showing a configuration of a data divider that constitutes the waveform generation device of FIG.

【図6】図4の波形生成装置を構成するデコーダの構成
を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a decoder which constitutes the waveform generation device of FIG.

【図7】図4の波形生成装置を構成する4データ送出回
路23の詳細な構成を示すブロック図である。
7 is a block diagram showing a detailed configuration of a 4-data transmission circuit 23 which constitutes the waveform generation device of FIG.

【図8】図4の波形生成装置を構成する補間回路の構成
を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of an interpolation circuit that constitutes the waveform generation device of FIG.

【図9】波形メモリから読み出された1ブロックの波形
データから1つの補間サンプルが生成されるまでのタイ
ミングを示すタイミングチャートである。
FIG. 9 is a timing chart showing the timing until one interpolation sample is generated from one block of waveform data read from the waveform memory.

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

1 音色スイッチ 2 鍵盤 11 Fナンバ発生器(読み出し手段) 12 メインカウンタ(読み出し手段) 13 音色データ発生器 19 波形メモリ(記憶手段) 20 データ分割器 21 デコーダ 23 4データ送出器 29 補間回路(補間手段) 33 エンベロープ発生器(取出し手段) 1 tone color switch 2 keyboard 11 F number generator (reading means) 12 main counter (reading means) 13 tone color data generator 19 waveform memory (storage means) 20 data divider 21 decoder 23 4 data transmitter 29 interpolation circuit (interpolation means) ) 33 Envelope generator (take-out means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少くとも1つの圧縮されていない波形サ
ンプルと複数の圧縮された波形サンプルとを1ブロック
にして複数のブロックのデータを記憶した記憶手段と、
ピッチを指定するピッチ指定手段と、該ピッチ指定手段
により指定されたピッチに基づいて前記記憶手段から波
形サンプルをブロック毎に読出す読出し手段と、該読出
し手段により読出されたブロックの圧縮された波形サン
プルを圧縮前の波形サンプルに再生する再生手段と、該
再生手段により再生された波形サンプルを所望の楽音信
号として取出す取出し手段とを有することを特徴とする
波形生成装置。
1. Storage means for storing data of a plurality of blocks by dividing at least one uncompressed waveform sample and a plurality of compressed waveform samples into one block,
Pitch designating means for designating a pitch, reading means for reading a waveform sample for each block from the storage means based on the pitch designated by the pitch designating means, and a compressed waveform of the block read by the reading means. A waveform generating apparatus comprising: a reproducing unit that reproduces a sample into a waveform sample before compression; and an extracting unit that extracts the waveform sample reproduced by the reproducing unit as a desired musical tone signal.
【請求項2】 生成しようとする波形の周波数と無関係
に常に一定のサンプリング周波数でサンプリングするこ
とにより波形を生成する場合に、前記所望の楽音信号を
生成するために前記再生された複数の波形サンプルを用
いて補間する補間手段を有し、該補間手段は、m個の波
形サンプルを用いて補間する場合に、前記記憶手段に記
憶された1ブロックの波形サンプルの内、最後からm―
1個の波形サンプルは、次のブロックの波形サンプルの
最初からm―1個の波形サンプルと同一であることを特
徴とする請求項1の波形生成装置。
2. A plurality of regenerated waveform samples for generating the desired musical tone signal when a waveform is generated by always sampling at a constant sampling frequency regardless of the frequency of the waveform to be generated. Has an interpolating means for interpolating using m waveform samples, and the interpolating means, when interpolating using m waveform samples, selects m− from the end of one block of waveform samples stored in the storage means.
2. The waveform generating device according to claim 1, wherein one waveform sample is the same as m−1 waveform samples from the beginning of the waveform sample of the next block.
JP4219751A 1992-07-27 1992-07-27 Waveform generator Expired - Fee Related JP2748784B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4219751A JP2748784B2 (en) 1992-07-27 1992-07-27 Waveform generator
US08/097,163 US5416264A (en) 1992-07-27 1993-07-23 Waveform-forming device having memory storing non-compressed/compressed waveform samples

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4219751A JP2748784B2 (en) 1992-07-27 1992-07-27 Waveform generator

Publications (2)

Publication Number Publication Date
JPH0651778A true JPH0651778A (en) 1994-02-25
JP2748784B2 JP2748784B2 (en) 1998-05-13

Family

ID=16740431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4219751A Expired - Fee Related JP2748784B2 (en) 1992-07-27 1992-07-27 Waveform generator

Country Status (1)

Country Link
JP (1) JP2748784B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4812258A (en) * 1983-04-27 1989-03-14 Merck Patent Gesellschaft Mit Beschrankter Haftung Fluorine-containing pyrimidine derivatives
US4824596A (en) * 1986-07-14 1989-04-25 Chisso Corporation 2-(trans-4-alkylcyclohexyl)-5-alkoxypyrimidines
US4882082A (en) * 1984-02-07 1989-11-21 Merck Patent Gesellschaft Mit Beschrankter Haftung Nitrogen-containing hetercyclic compounds
JP2009157272A (en) * 2007-12-27 2009-07-16 Roland Corp Audio playback device
WO2009093475A1 (en) * 2008-01-25 2009-07-30 Panasonic Corporation Lens barrel
JP2009265546A (en) * 2008-04-30 2009-11-12 Casio Comput Co Ltd Waveform generator and waveform generation processing program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146599A (en) * 1988-11-29 1990-06-05 Sony Corp Sound source data compressing and encoding method
JPH03282498A (en) * 1990-03-30 1991-12-12 Kawai Musical Instr Mfg Co Ltd Musical sound generating device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146599A (en) * 1988-11-29 1990-06-05 Sony Corp Sound source data compressing and encoding method
JPH03282498A (en) * 1990-03-30 1991-12-12 Kawai Musical Instr Mfg Co Ltd Musical sound generating device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4812258A (en) * 1983-04-27 1989-03-14 Merck Patent Gesellschaft Mit Beschrankter Haftung Fluorine-containing pyrimidine derivatives
US4882082A (en) * 1984-02-07 1989-11-21 Merck Patent Gesellschaft Mit Beschrankter Haftung Nitrogen-containing hetercyclic compounds
US4824596A (en) * 1986-07-14 1989-04-25 Chisso Corporation 2-(trans-4-alkylcyclohexyl)-5-alkoxypyrimidines
JP2009157272A (en) * 2007-12-27 2009-07-16 Roland Corp Audio playback device
WO2009093475A1 (en) * 2008-01-25 2009-07-30 Panasonic Corporation Lens barrel
JP2009265546A (en) * 2008-04-30 2009-11-12 Casio Comput Co Ltd Waveform generator and waveform generation processing program

Also Published As

Publication number Publication date
JP2748784B2 (en) 1998-05-13

Similar Documents

Publication Publication Date Title
US5625158A (en) Musical tone generating apparatus
JP3482685B2 (en) Sound generator for electronic musical instruments
US5416264A (en) Waveform-forming device having memory storing non-compressed/compressed waveform samples
JP2748784B2 (en) Waveform generator
US5166835A (en) Recording and reproducing apparatus with variable time delay for pcm and analogue audio data
JP2811692B2 (en) Multi-channel signal compression method
EP0338812A2 (en) Magnetic tape recording/reproducing apparatus for digital video signals and associated digital sound signals, and corresponding recording/reproducing method
JP3081530B2 (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
JPS642960B2 (en)
JP2674161B2 (en) Sound source data compression coding method
JPH0422275B2 (en)
US5168116A (en) Method and device for compressing signals of plural channels
US5890119A (en) Digital sound generating system permitting a shared use of a hardware resource between different type tone generators
JPH02124597A (en) Signal compressing method for channel
US5841945A (en) Voice signal compacting and expanding device with frequency division
KR930001700B1 (en) Apparatus for reproducing audio signal
JP2712421B2 (en) Sound source device
JP2671456B2 (en) Sound source device
JP2712422B2 (en) Continuous sound data playback device
JPH1186439A (en) Audio data storing device and audio data replay device
JP2940440B2 (en) Electronic musical instrument waveform data compression recording method and waveform data reproduction method
JPH06202666A (en) Waveform generating device and waveform storage device
JPH08106299A (en) Voice signal time base conversion device
JPH053676B2 (en)

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: 20080220

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees