JPH08286670A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH08286670A
JPH08286670A JP7114087A JP11408795A JPH08286670A JP H08286670 A JPH08286670 A JP H08286670A JP 7114087 A JP7114087 A JP 7114087A JP 11408795 A JP11408795 A JP 11408795A JP H08286670 A JPH08286670 A JP H08286670A
Authority
JP
Japan
Prior art keywords
waveform
filter coefficient
prediction filter
musical instrument
electronic musical
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
JP7114087A
Other languages
Japanese (ja)
Other versions
JP3138612B2 (en
Inventor
Iku Matsunaga
郁 松永
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP07114087A priority Critical patent/JP3138612B2/en
Priority to US08/627,366 priority patent/US5693901A/en
Publication of JPH08286670A publication Critical patent/JPH08286670A/en
Application granted granted Critical
Publication of JP3138612B2 publication Critical patent/JP3138612B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE: To conduct repeated readings without requiring the device to reset a decoder at a loop top during the repeated readings by setting predicting filter coefficients so that every time the results match with each other at the leading portion of the repeated readings during a decoding. CONSTITUTION: When a musical sound signal generating section 5 transmits compressed waveforms read from a waveform memory 6 to a decoder 7, a quantization width control block controls the quantized width in the decoder 7. At that time, a CPU 10 reads the prediction filter coefficient values related to the read-out musical sound waveforms of the section 5 from a prediction filter coefficient memory section 21 and sets them as the coefficients of each multiplier of the decoder 7. Thus, the data stored in a delayed register are read, prescribed computations are executed and desired predicted values are obtained. Thus, no device is required to reset at the loop top because filter coefficients having a high converging speed and a high stability are used and the contents of the delayed registers are matched to each other at the loop top.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、差分PCM方式や適応
差分PCM方式で圧縮された波形を記憶し、繰返し読出
しを行う電子楽器において、先頭の読出し部分で復号化
装置をリセットする装置を必要とせずに繰り返し読み出
しを可能にする電子楽器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention requires a device for resetting a decoding device at a leading read portion in an electronic musical instrument which stores a waveform compressed by a differential PCM system or an adaptive differential PCM system and repeatedly reads the waveform. The present invention relates to an electronic musical instrument that enables repeated reading without doing so.

【0002】[0002]

【従来の技術】電子楽器では、いかにして自然音に近似
した楽音を発生するかということが重要な課題であり、
近年では、自然音をサンプリングして記憶し、それを記
憶した波形メモリから読み出すことにより楽音を発生す
るPCM方式が主流となっている。
2. Description of the Related Art In electronic musical instruments, how to generate musical sounds that are close to natural sounds is an important issue.
In recent years, the PCM method in which a natural sound is sampled and stored, and a musical sound is generated by reading the natural sound from the stored waveform memory is predominant.

【0003】しかし、自然音の波形は、音高や音量ごと
に異なっており、PCM方式により、より自然な音に近
似した楽音を発生するためには、音高や音量ごとに異な
った波形を用意する必要があり、これを記憶する波形メ
モリは膨大な量となる。
However, the waveform of a natural sound is different for each pitch and volume, and in order to generate a musical sound that is closer to a natural sound by the PCM system, a different waveform for each pitch and volume is used. It is necessary to prepare it, and the waveform memory for storing this is huge.

【0004】そこで、このメモリの圧縮方法として、予
測フィルタを用いて予測値との差分値を記憶しておく差
分PCM方式(以下DPCM方式という)や適応差分P
CM方式(以下ADPCM方式という)が用いられてい
る。
Therefore, as a method of compressing this memory, a differential PCM system (hereinafter referred to as DPCM system) for storing a differential value from a predicted value using a prediction filter and an adaptive differential P
The CM method (hereinafter referred to as ADPCM method) is used.

【0005】また、PCM方式では、自然音の発音開始
から終了までの全てのデータを記憶するのではなく、発
音開始部分とその後の一部の波形を記憶しておき、発音
開始部分を再生したのちは、記憶されている一部の波形
を繰り返して再生することにより楽音を形成する方法を
用いてメモリの節約が図られている。
Further, in the PCM system, not all the data from the start to the end of the sound generation of the natural sound are stored, but a sound generation start portion and a part of the waveform after that are stored and the sound generation start portion is reproduced. After that, a memory is saved by using a method of forming a musical sound by repeatedly reproducing a part of the stored waveforms.

【0006】しかしながら、これらDPCM方式やAD
PCM方式においては、波形の繰返し読出しを行うこと
が有効な手段であると考えられるが、予測フィルタを用
い、データを符号化して処理するため誤差を蓄積すると
いう欠点があった。
However, these DPCM system and AD
In the PCM method, it is considered that the repeated reading of the waveform is an effective means, but it has a drawback that errors are accumulated because the data is encoded and processed by using the prediction filter.

【0007】また、波形の繰り返し読み出しを行うため
には、繰り返しの先頭部分においては予測フィルタの遅
延レジスタの内容が毎回一致している必要がある。
Further, in order to read the waveform repeatedly, it is necessary that the contents of the delay register of the prediction filter match at the beginning of the repetition.

【0008】そこで、従来の電子楽器においては、誤差
の累積を防止し、繰返し読出しの先頭部分(ループトッ
プ)では毎回同じ元波形に戻すために、繰返し読出しの
先頭部分では遅延レジスタの内容を再設定する措置が取
られており、そのための装置が設けられていた。
Therefore, in the conventional electronic musical instrument, in order to prevent the accumulation of errors and restore the same original waveform every time at the head portion (loop top) of the repeated reading, the contents of the delay register are re-read at the head portion of the repeated reading. Measures were taken to set it up, and equipment was provided for it.

【0009】このように従来の電子楽器において波形の
繰り返し読み出しを行うためには、再設定する特殊な装
置を必要とするため、構造は複雑で高価になるという欠
点があり、対応策が求められていた。
As described above, in order to repeatedly read out the waveform in the conventional electronic musical instrument, since a special device for resetting is required, there is a drawback that the structure is complicated and expensive, and a countermeasure is required. Was there.

【0010】[0010]

【発明が解決しようとする課題】本発明は係る事情に鑑
みなされたものであり、DPCM方式やADPCM方式
で圧縮された波形を記憶する電子楽器において、繰り返
し読み出しを行う際にループトップで復号化装置をリセ
ットする装置を必要とせずに繰り返し読み出しを可能に
する電子楽器を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and in an electronic musical instrument that stores a waveform compressed by the DPCM system or the ADPCM system, when decoding is repeatedly performed at the loop top, the decoding is performed. An object of the present invention is to provide an electronic musical instrument that enables repeated reading without requiring a device for resetting the device.

【0011】[0011]

【課題を解決するための手段】本発明は、差分PCM方
式または適応差分PCM方式で圧縮された波形を復号化
し繰返し読出しを行う電子楽器において、前記繰返し読
出しの行われる波形は、復号化時に繰返し読出しの先頭
部分で毎回結果が一致するように予測フィルタ係数が設
定されている予測フィルタにより符号化されていること
を特徴とする。
According to the present invention, in an electronic musical instrument for decoding a waveform compressed by a differential PCM system or an adaptive differential PCM system and repeatedly reading the waveform, the waveform repeatedly read is repeated at the time of decoding. It is characterized in that it is coded by a prediction filter in which prediction filter coefficients are set so that the results match each time at the beginning of reading.

【0012】また、前記予測フィルタ係数は、元波形を
サンプリングし、予測フィルタ係数を算出する予測フィ
ルタ係数算出手段51と、前記予測フィルタ係数算出手
段51により算出された予測フィルタ係数を記憶する予
測フィルタ係数記憶手段52と、前記予測フィルタ係数
算出手段51により算出された予測フィルタ係数に基づ
き元波形を符号化して圧縮する符号化手段61と、前記
符号化手段61により符号化された波形を記憶する波形
記憶手段62とにより設定され、予め予測フィルタ係数
及び圧縮された波形が設定されていることを特徴とす
る。
As the prediction filter coefficient, a prediction filter coefficient calculation means 51 for sampling the original waveform and calculating the prediction filter coefficient, and a prediction filter for storing the prediction filter coefficient calculated by the prediction filter coefficient calculation means 51. A coefficient storage unit 52, a coding unit 61 that codes and compresses an original waveform based on the prediction filter coefficient calculated by the prediction filter coefficient calculation unit 51, and a waveform that is coded by the coding unit 61 are stored. It is characterized in that the predictive filter coefficient and the compressed waveform are set in advance by the waveform storage means 62.

【0013】また、本発明に係る電子楽器は、前記圧縮
方法で求められた波形データを記憶する波形メモリ62
と、予測フィルタ係数を記憶する予測フィルタ係数メモ
リ52を有し、該予測フィルタ係数に基づいて差分PC
M方式または適応差分PCM方式で圧縮された波形の繰
返し読出しが行われる波形データの復号化を行うことを
特徴とする。
The electronic musical instrument according to the present invention has a waveform memory 62 for storing the waveform data obtained by the compression method.
And a prediction filter coefficient memory 52 for storing the prediction filter coefficient, and a difference PC based on the prediction filter coefficient.
A feature of the present invention is that the waveform data compressed by the M method or the adaptive difference PCM method is repeatedly read, and the waveform data is decoded.

【0014】[0014]

【作用】本発明は、DPCM方式やADPCM方式で波
形の圧縮が行われ、波形の繰り返し読み出しを行う電子
楽器において、収束が早く安定度の高いフィルタ係数を
用いて予測を行うことにより、繰り返し読み出しの終末
部分(ループエンド)までには誤差を吸収可能にするも
のである。
According to the present invention, in the electronic musical instrument in which the waveform is compressed by the DPCM method or the ADPCM method and the waveform is repeatedly read, the prediction is performed by using the filter coefficient which converges quickly and has high stability, thereby repeatedly reading. The error can be absorbed by the end part (loop end) of.

【0015】このため、本発明においては、例えば汎用
計算機を用い、予めシミュレーションにより最適な波形
及びフィルタ係数を求め、該シミュレートの結果求めら
れた波形データ及び予測フィルタ係数を電子楽器に搭載
するものである。
Therefore, in the present invention, for example, a general-purpose computer is used to previously obtain optimum waveforms and filter coefficients by simulation, and the waveform data and prediction filter coefficients obtained as a result of the simulation are mounted on the electronic musical instrument. Is.

【0016】これにより、繰返し読出しの先頭部分(ル
ープトップ)では遅延レジスタの内容が常に同一の値と
なるので、繰り返し読み出しの終末部分(ループエン
ド)から先頭部分(ループトップ)に移行する際に新値
をリセットする装置が不要となり、構造が簡単で圧縮効
率に優れ、低価格の電子楽器を提供可能となる。
As a result, the contents of the delay register always have the same value at the beginning portion (loop top) of the repeated reading, so that when the end portion (loop end) of the repeated reading moves to the beginning portion (loop top). A device for resetting a new value is not required, and it is possible to provide a low-priced electronic musical instrument with a simple structure and excellent compression efficiency.

【0017】[0017]

【実施例】先ず、予測フィルタ係数について説明する。
図8は予測フィルタ係数の値と安定度の関係を説明する
図である。図において図8(A)は一次の予測フィルタ
の一例であり、図8(B)、(C)は不安定なフィルタ
のインパルスレスポンスの一例を示し、図8(D)は安
定度の高いフィルタのインパルスレスポンスの1例を示
している。
First, the prediction filter coefficient will be described.
FIG. 8 is a diagram illustrating the relationship between the value of the prediction filter coefficient and the stability. In the figure, FIG. 8A shows an example of a first-order prediction filter, FIGS. 8B and 8C show an example of impulse response of an unstable filter, and FIG. 8D shows a filter with high stability. 3 shows an example of the impulse response of.

【0018】例えば、インパルス1、0、0というデー
タが入力されるものとする。この際、図8(A)の予測
フィルタのフィルタ係数がa=1であったとする。
For example, assume that data of impulses 1, 0, 0 is input. At this time, it is assumed that the filter coefficient of the prediction filter in FIG. 8A is a = 1.

【0019】この場合、最初は1が入力され1が出力さ
れるが、2回目以降は0が入力され、フィルタからは前
回の出力値のa倍の値が加算される。従って、図(8)
Bに示すようにフィルタからは常に1が出力される。
In this case, 1 is input at first and 1 is output, but 0 is input at the second and subsequent times, and a value a times the previous output value is added from the filter. Therefore, Figure (8)
As shown in B, 1 is always output from the filter.

【0020】さらに、例えばa=2の場合、出力値は
1、2、4となり図8(C)に示すように急速に発散
し、オーバフロー等の障害を引き起こす。
Further, when a = 2, for example, the output values become 1, 2, and 4, and diverge rapidly as shown in FIG. 8 (C), causing a failure such as overflow.

【0021】そこで、繰り返し読出しの行われる波形の
ループ周期内にインパルスレスポンスが収束するよう
に、例えばフィルタ係数にa=0.1を用いた場合の出
力値は図8(D)に示すように、1 、0.1 、0.01、0.00
1 となり急速に入力値0に収斂する。
Therefore, the output value when a = 0.1 is used as the filter coefficient is set as shown in FIG. 8D so that the impulse response converges within the loop period of the waveform in which the repeated reading is performed. , 1, 0.1, 0.01, 0.00
It becomes 1 and the input value rapidly converges to 0.

【0022】このため、波形の繰り返し読み出しの場合
の誤差は、ループエンドでは累積されることなく、次の
波形の読み出しの際には正しくループトップの値がセッ
トされる。
Therefore, the error in the case of repeatedly reading the waveform is not accumulated at the loop end, and the value of the loop top is correctly set at the time of reading the next waveform.

【0023】図9(A)は、同一波形を繰り返して読み
出した場合に累積する誤差の一例を示す図である。図に
示すように誤差が累積する場合は、ループエンドにおけ
る波形の振幅は誤差が加算されて読み出され、これが次
回に読み出される波形のループトップの振幅に影響して
しまう。
FIG. 9A is a diagram showing an example of an error accumulated when the same waveform is repeatedly read. When the error is accumulated as shown in the figure, the amplitude of the waveform at the loop end is read with the error added, and this affects the amplitude of the loop top of the waveform read next time.

【0024】このため、図9(A)に例示するように、
波形は,読み出しが繰り返される度に逐次誤差が累積さ
れ図のように上方にずれてしまい、何度も繰り返すとオ
ーバーフロー等の障害を引き起こす原因となってしま
う。
Therefore, as illustrated in FIG. 9 (A),
Each time the waveform is read, errors are successively accumulated and the waveform shifts upward as shown in the figure. If it is repeated many times, it causes an obstacle such as overflow.

【0025】図9(B)は安定度の高いフィルタを用い
た場合の出力の一例を示す図である。図に示すようにル
ープエンドにおける誤差は、次の繰返し読出しのループ
エンドまでには吸収されるため、繰返し読出しの度に誤
差が累積されることはない。
FIG. 9B is a diagram showing an example of output when a filter with high stability is used. As shown in the figure, the error at the loop end is absorbed by the loop end of the next iterative reading, so that the error is not accumulated every time the iterative reading is performed.

【0026】このため、図9(B)のような安定した同
一波形の繰返し読出しが可能となり、ループトップで新
値をリセットするための装置が不要となる。
For this reason, stable repeated reading of the same waveform as shown in FIG. 9B is possible, and a device for resetting a new value at the loop top is not required.

【0027】本発明は係る点に着目してなされたもので
あり、DPCM方式で圧縮された波形の繰り返し読み出
しを行う際に、収束が早く安定度の高いフィルタを用い
ることにより、ループ区間内における誤差が累積しない
ようにするものである。
The present invention has been made paying attention to such a point, and when a waveform compressed by the DPCM method is repeatedly read out, a filter having a fast convergence and a high stability is used, so that the loop interval is increased. The error is not accumulated.

【0028】以下に本発明をDPCM方式に適用した実
施例について説明する。
An embodiment in which the present invention is applied to the DPCM system will be described below.

【0029】前述の説明は1次の予測フィルタを用いた
ため、予測フィルタ係数が−1<a<1であれば収束可
能であった。
Since the first-order prediction filter is used in the above description, if the prediction filter coefficient is -1 <a <1, it can be converged.

【0030】しかしながら、現実に入力される波形の形
状は千差万別であり、また、フィルタの精度を上げノイ
ズを少なくするためには2次、3次と高次のフィルタを
使用する必要があり、予測フィルタ係数は単純には決め
られない。
However, the shapes of the waveforms that are actually input vary widely, and it is necessary to use second-order, third-order, and high-order filters in order to improve the accuracy of the filters and reduce noise. Yes, the prediction filter coefficient cannot be determined simply.

【0031】従って、本発明では、予めDPCM方式や
ADPCM方式で圧縮された波形や、該波形に対応した
最適な予測フィルタ係数を、例えば汎用計算機等を用い
てシミュレートし、波形データや使用する予測フィルタ
係数を予め求めておき、該波形を電子楽器に搭載して使
用するものである。
Therefore, in the present invention, the waveform previously compressed by the DPCM system or the ADPCM system and the optimum predictive filter coefficient corresponding to the waveform are simulated by using, for example, a general-purpose computer to use the waveform data. The prediction filter coefficient is obtained in advance, and the waveform is mounted on an electronic musical instrument for use.

【0032】図2は、例えば汎用計算機等を用いて、予
測フィルタ係数と圧縮された波形を事前に作る手順につ
いて説明する図である。以下図面を参照しながら、本発
明の予測フィルタ係数と圧縮された波形の波形データを
作る手順について説明する。
FIG. 2 is a diagram for explaining a procedure for creating a prediction filter coefficient and a compressed waveform in advance by using a general-purpose computer or the like. A procedure for creating waveform data of a predictive filter coefficient and a compressed waveform according to the present invention will be described below with reference to the drawings.

【0033】図において50は予測ブロックであり、6
0はエンコード部である。予測ブロック50は予測フィ
ルタ係数算出部51と予測フィルタ係数メモリ部52か
らなり、エンコード部60はDPCM符号化部61と波
形メモリ62からなる。
In the figure, 50 is a prediction block, and 6
0 is an encoding unit. The prediction block 50 includes a prediction filter coefficient calculation unit 51 and a prediction filter coefficient memory unit 52, and the encoding unit 60 includes a DPCM encoding unit 61 and a waveform memory 62.

【0034】予測フィルタ係数算出部51は、例えば自
然音等、入力された元波形から複数箇のサンプルを取り
出して予測し、最適の予測フィルタ係数を算出し決定す
るものである。決定された係数は、予測フィルタ係数メ
モリ部52に記憶されるとともに、DPCM符号化部6
1に送られる。
The predictive filter coefficient calculating section 51 extracts a plurality of samples from the input original waveform such as natural sound and predicts them, and calculates and determines the optimum predictive filter coefficient. The determined coefficient is stored in the prediction filter coefficient memory unit 52 and also the DPCM encoding unit 6
Sent to 1.

【0035】予測フィルタ係数メモリ部52は、例えば
ROMからなり、予測フィルタ係数算出部51で決定さ
れた予測フィルタ係数を記憶するものである。なお、該
予測フィルタ係数メモリ部52に記憶された予測フィル
タ係数は、電子楽器の予測フィルタ係数メモリ部21に
記憶するデータとして使用される。
The predictive filter coefficient memory unit 52 is composed of, for example, a ROM, and stores the predictive filter coefficient determined by the predictive filter coefficient calculating unit 51. The prediction filter coefficient stored in the prediction filter coefficient memory unit 52 is used as data stored in the prediction filter coefficient memory unit 21 of the electronic musical instrument.

【0036】DPCM符号化部61は、入力された元波
形を量子化し、予測フィルタ係数算出部51から送られ
た予測フィルタ係数に基づいてDPCM方式で波形を符
号化し圧縮するものである。圧縮された波形は波形メモ
リ部62に記憶される。
The DPCM encoder 61 quantizes the input original waveform, and encodes and compresses the waveform by the DPCM method based on the prediction filter coefficient sent from the prediction filter coefficient calculator 51. The compressed waveform is stored in the waveform memory unit 62.

【0037】この波形メモリ部62に記憶された波形
は、電子楽器の波形メモリ6のデータとして使用され
る。なお、予測フィルタ係数メモリ部52に記憶される
予測フィルタ係数と、波形メモリ部62に記憶される圧
縮された波形データは対をなすものであり、このための
関連データも図示しないROMの所定領域に記憶され
る。
The waveform stored in the waveform memory unit 62 is used as data in the waveform memory 6 of the electronic musical instrument. It should be noted that the prediction filter coefficient stored in the prediction filter coefficient memory unit 52 and the compressed waveform data stored in the waveform memory unit 62 form a pair, and related data therefor is also a predetermined area of the ROM (not shown). Memorized in.

【0038】次に図3を参照しながら予測フィルタが2
次の場合のエンコーダの動作について説明する。エンコ
ードにあたっては、先ず予測フィルタ係数の決定が行わ
れる。
Next, referring to FIG.
The operation of the encoder in the following case will be described. In encoding, the prediction filter coefficient is first determined.

【0039】予測フィルタ係数の決定に当たっては、入
力された元波形のサンプルデータが予測フィルタ係数算
出部51に取り出され、該サンプルデータに基づいて予
測フィルタ係数算出部51において、例えばLevinson-D
urbin 法、あるいはBurg法等の手法により予測フィルタ
係数が求められる。
In determining the prediction filter coefficient, the sample data of the input original waveform is taken out by the prediction filter coefficient calculation section 51, and based on the sample data, the prediction filter coefficient calculation section 51 uses, for example, Levinson-D.
The prediction filter coefficient is obtained by a method such as the urbin method or the Burg method.

【0040】求められた予測フィルタ係数は、予測フィ
ルタ係数メモリ部52に記憶されるとともにエンコード
部60に送られる。
The obtained prediction filter coefficient is stored in the prediction filter coefficient memory section 52 and sent to the encoding section 60.

【0041】エンコード部60は、遅延レジスタ61
1、612、乗算器613、614、615。加算器6
16、617及び量子化制御ブロック618により構成
される。
The encoding unit 60 includes a delay register 61.
1, 612, multipliers 613, 614, 615. Adder 6
16, 617 and a quantization control block 618.

【0042】係る構成において、予測ブロック50より
送られた予測フィルタ係数は、1次及び2次のフィルタ
の予測フィルタ係数としてK0及びK1にセットされ
る。
In such a configuration, the prediction filter coefficient sent from the prediction block 50 is set in K0 and K1 as the prediction filter coefficient of the primary and secondary filters.

【0043】次いで、元波形の一部が予測フィルタブロ
ック60に取り込まれると、前回、前々回入力され、遅
延レジスタ611,612に取り込まれている値が呼び
出され、各乗算器613,614により所定の係数が乗
算されたのち、加算器616により加算される。
Next, when a part of the original waveform is fetched by the prediction filter block 60, the values that were inputted two times before last time and fetched by the delay registers 611, 612 are recalled, and the respective multipliers 613, 614 give predetermined values. The coefficients are multiplied and then added by the adder 616.

【0044】さらに、乗算器615で符号が反転された
のち、加算器617で入力された元波形に加算されて差
分値が求められる。その後、量子化幅制御ブロック61
8により量子化される。これにより所定の圧縮が加えら
れた波形が出力されるので、該波形を波形メモリ62に
記憶させる。
Further, after the sign is inverted by the multiplier 615, it is added to the original waveform input by the adder 617 to obtain the difference value. Then, the quantization width control block 61
Quantized by 8. As a result, a waveform to which a predetermined compression has been applied is output, and the waveform is stored in the waveform memory 62.

【0045】DPCM方式による波形は、このようにし
て作られるので、メーカーは、電子楽器を製造する際
に、上記の手法により圧縮された波形及び予測フィルタ
係数、波形と予測フィルタ係数を関連づけるデータを電
子楽器に組み込むことにより、波形メモリが圧縮された
電子楽器を提供可能となる。
Since the waveform according to the DPCM method is created in this manner, the manufacturer, when manufacturing the electronic musical instrument, obtains the waveform compressed by the above method and the prediction filter coefficient, and the data for associating the waveform with the prediction filter coefficient. By incorporating it into an electronic musical instrument, it is possible to provide an electronic musical instrument whose waveform memory is compressed.

【0046】しかも、従来技術のようにループエンドに
達したら、次に繰り返して読み出される波形のループト
ップの値にリセットし直す特殊の装置を具備する必要は
なくなり低価格の電子楽器が提供可能となる。
Moreover, as in the prior art, when the loop end is reached, it is not necessary to provide a special device for resetting the value of the loop top of the waveform that is repeatedly read next time, and a low-priced electronic musical instrument can be provided. Become.

【0047】次に、上記実施例に基づいて作成された波
形及び予測フィルタを搭載した電子楽器について図面を
参照しながら説明する。図1は、本発明に係る電子楽器
の全体的な構成を説明する概略ブロック図である。
Next, an electronic musical instrument equipped with the waveform and the prediction filter created according to the above embodiment will be described with reference to the drawings. FIG. 1 is a schematic block diagram illustrating the overall configuration of an electronic musical instrument according to the present invention.

【0048】図において、10はCPUであり、11は
ROM,12はRAM、13は表示部である。また、1
は鍵盤、2は鍵盤スキャン回路、3は操作パネル、4は
パネルスキャン回路、5は楽音信号発生部、6は波形メ
モリである。
In the figure, 10 is a CPU, 11 is a ROM, 12 is a RAM, and 13 is a display section. Also, 1
Is a keyboard, 2 is a keyboard scan circuit, 3 is an operation panel, 4 is a panel scan circuit, 5 is a tone signal generator, and 6 is a waveform memory.

【0049】また、7はデコーダ、8はデジタルコント
ロールフィルタ(以下DCFという)、9はデジタルコ
ントロールアンプ(以下DCAという)、14はデジタ
ル・アナログ変換器(以下D/A変換器という)、15
は増幅器、16はスピーカである。
Further, 7 is a decoder, 8 is a digital control filter (hereinafter referred to as DCF), 9 is a digital control amplifier (hereinafter referred to as DCA), 14 is a digital / analog converter (hereinafter referred to as D / A converter), 15
Is an amplifier and 16 is a speaker.

【0050】CPU10は、ROM11の図示しないプ
ログラムメモリ部に記憶された制御プログラムに従って
当該電子鍵盤楽器の各部を制御するとともに、鍵盤1の
押鍵部位に応じて所定のデータを読み出し発音させる制
御を行うものである。
The CPU 10 controls each section of the electronic keyboard instrument according to a control program stored in a program memory section (not shown) of the ROM 11, and controls to read out predetermined data according to a key pressing portion of the keyboard 1. It is a thing.

【0051】ROM11は、上述したCPU10を動作
させるプログラムの他、音色データ、その他、種々の固
定データを記憶している。なお、本発明に直接関係する
フィルタ係数は、該ROM11の予測フィルタ係数メモ
リ部21に記憶されている。
The ROM 11 stores tone color data and various other fixed data in addition to the program for operating the CPU 10 described above. The filter coefficients directly related to the present invention are stored in the predictive filter coefficient memory unit 21 of the ROM 11.

【0052】RAM12にはCPU10の作業用領域、
当該電子楽器を制御するための各種レジスタ、カウン
タ、フラグ、バッファ等が定義されている他、ROM1
1に記憶されているデータのうち必要なデータが転送さ
れて一時的に格納されるデータエリアを有している。
The RAM 12 has a work area for the CPU 10,
Various registers, counters, flags, buffers, etc. for controlling the electronic musical instrument are defined, and ROM1
1 has a data area in which necessary data is transferred and temporarily stored.

【0053】また、操作パネル3の各キーやスイッチの
設定状態に対応して放音に必要なデータがセットされた
複数のレジスタ、楽音信号発生部5の各楽音発生回路
(DCO)を未使用チャンネルに割り付けるためのデー
タを記憶するアサイナメモリ、楽音情報を記憶する記憶
領域等も該RAM12に設けられている。
Further, a plurality of registers in which data necessary for sound emission is set corresponding to the setting states of the keys and switches of the operation panel 3 and the tone generating circuits (DCO) of the tone signal generating section 5 are not used. The RAM 12 is also provided with an assigner memory for storing data to be assigned to channels, a storage area for storing tone information, and the like.

【0054】鍵盤1は発生すべき楽音を指定するために
使用されるものであり、複数のキーと、これらのキーの
押鍵・離鍵動作に連動して開閉するキースイッチとで構
成され、演奏者の押鍵・離鍵動作は鍵盤スキャン回路2
によって検出され、検出された信号はCPU10の制御
のもとに楽音信号発生部5に送られる。
The keyboard 1 is used for designating a musical sound to be generated, and is composed of a plurality of keys and a key switch which opens and closes in conjunction with key pressing / release operations of these keys. The keyboard scanning circuit 2 is used by the performer to press and release keys.
The detected signal is sent to the tone signal generator 5 under the control of the CPU 10.

【0055】また、当該鍵盤1の押鍵又は離鍵により発
生された演奏情報はRAM12の所定のエリアに一時記
憶され所要に応じてCPU10により読み出される。
The performance information generated by pressing or releasing the keyboard 1 is temporarily stored in a predetermined area of the RAM 12 and read by the CPU 10 as required.

【0056】鍵盤スキャン回路2は、演奏者の押鍵・離
鍵動作、つまり鍵のオン/オフを検出し、検出したオン
/オフ情報をその鍵番号とともに楽音信号発生部5に伝
えるものである。CPU10は、この鍵のオン/オフ情
報をRAM12上に記憶させる。
The keyboard scanning circuit 2 detects the key-pressing / key-releasing operation of the player, that is, the ON / OFF state of the key, and transmits the detected ON / OFF information to the tone signal generating section 5 together with the key number. . The CPU 10 stores the ON / OFF information of this key in the RAM 12.

【0057】操作パネル3には、電源スイッチの他、音
色選択スイッチ、モード指定スイッチ、メロディ選択ス
イッチ、リズム選択スイッチ等、各種のスイッチや表示
器が設けられている。
In addition to the power switch, the operation panel 3 is provided with various switches and indicators such as a tone color selection switch, a mode designation switch, a melody selection switch and a rhythm selection switch.

【0058】操作パネル3の各スイッチのセット/リセ
ット状態は内部に含まれるパネルスキャン回路4によっ
て検出されるようになっており、このパネルスキャン回
路4で検出したスイッチのセット状態に関するデータは
CPU10の制御の下にRAM12上の所定の領域に記
憶される。
The set / reset state of each switch of the operation panel 3 is detected by the panel scan circuit 4 included therein, and the data on the set state of the switch detected by the panel scan circuit 4 is stored in the CPU 10. It is stored in a predetermined area on the RAM 12 under control.

【0059】また、操作パネル3には、上記各種スイッ
チ類の他、各種情報を表示するための表示器13が設け
られている。
In addition to the various switches described above, the operation panel 3 is provided with a display 13 for displaying various information.

【0060】楽音信号発生部5は、CPU10から出力
される信号に対応する楽音波形データ及びエンベロープ
データを波形メモリ6から読み出し、読み出した楽音波
形データにエンベロープを付加して楽音信号として出力
するものである。
The tone signal generator 5 reads the tone waveform data and envelope data corresponding to the signal output from the CPU 10 from the waveform memory 6, adds the envelope to the read tone waveform data, and outputs the tone signal. is there.

【0061】この楽音信号発生部5は同時発音数に対応
する数のデジタルコントロールオシレータ(以下「DC
O」という)で構成されており、一発音ごとに、それぞ
れ異なったDCOにより楽音信号が生成され、デコーダ
7に送られる。
The musical tone signal generator 5 has a number of digital control oscillators (hereinafter referred to as "DC
"O"), and a tone signal is generated by a different DCO for each sound and sent to the decoder 7.

【0062】なお、楽音信号発生部5には波形データや
エンベロープデータを記憶する波形メモリ6が接続され
ている。
A waveform memory 6 for storing waveform data and envelope data is connected to the tone signal generator 5.

【0063】デコーダ7は、楽音信号発生部5より送ら
れた波形データを複号化するものであり、本発明の予測
フィルタ係数は、該デコーダ7で波形データが復号化さ
れる際に使用される。
The decoder 7 decodes the waveform data sent from the tone signal generator 5, and the predictive filter coefficient of the present invention is used when the decoder 7 decodes the waveform data. It

【0064】DCF8はディジタル制御フィルタであ
り、デコーダ7から送られた楽音波形に対して音色変化
を加えるものである。また、DCA9はディジタル制御
増幅器であり、DCF8から送られた楽音波形に振幅変
調を加えるものである。
The DCF 8 is a digital control filter, which adds a tone color change to the musical tone waveform sent from the decoder 7. The DCA 9 is a digital control amplifier, which applies amplitude modulation to the tone waveform transmitted from the DCF 8.

【0065】増幅器15は、D/A変換器14から供給
されるアナログ楽音信号を所定の利得で増幅するもので
ある。この増幅器8の出力はスピーカ16に供給される
ようになっている。
The amplifier 15 amplifies the analog musical tone signal supplied from the D / A converter 14 with a predetermined gain. The output of the amplifier 8 is supplied to the speaker 16.

【0066】スピーカ16は、増幅器15より送られた
電気信号としてのアナログ楽音信号を音響信号に変換す
るものである。つまり、発生された楽音信号に応じて楽
音を放音するものである。
The speaker 16 converts an analog musical tone signal as an electric signal sent from the amplifier 15 into an acoustic signal. That is, the musical tone is emitted according to the generated musical tone signal.

【0067】係る構成において、演奏が開始されると、
押鍵検出部2を介して接続されている鍵盤1から入力さ
れた押鍵/離鍵データと、パネルスキャン回路4を介し
て接続された操作パネル3で設定された発音条件がRA
M12に一時記憶される。
With such a structure, when the performance is started,
The key depression / key release data input from the keyboard 1 connected via the key depression detection unit 2 and the tone generation condition set by the operation panel 3 connected via the panel scan circuit 4 are RA.
It is temporarily stored in M12.

【0068】そして、所定のタイミングになると、RA
M12に保存されている鍵盤データとパネルイベントデ
ータがCPU10により読み出され、演算加工されて楽
音信号発生部5に与えられ、圧縮された楽音信号が読み
出されてデコーダ7に与えられて復号化され、元波形が
生成される。
At a predetermined timing, RA
The keyboard data and panel event data stored in M12 are read out by the CPU 10, processed and given to the tone signal generator 5, and the compressed tone signal is read out and given to the decoder 7 for decoding. Then, the original waveform is generated.

【0069】次に図4を参照しながら本発明の電子楽器
のデコーダ7の復号化の流れについて説明する。
Next, the decoding flow of the decoder 7 of the electronic musical instrument of the present invention will be described with reference to FIG.

【0070】本発明の復号化に直接関連する部分は、圧
縮された波形を記憶する波形メモリ6と、該圧縮された
波形を復号化する際に読み出されるフィルタの予測フィ
ルタ係数を記憶する予測フィルタ係数メモリ部21と、
DPCM復号化を行うDPCM復号化部22、波形メモ
リ6より読み出される波形データと予測フィルタ係数を
関連付けるデータを記憶する図示しない関連付けデータ
記憶部で構成される。
The portion directly related to the decoding of the present invention is a waveform memory 6 for storing a compressed waveform and a prediction filter for storing a prediction filter coefficient of a filter read when decoding the compressed waveform. A coefficient memory unit 21,
The DPCM decoding unit 22 that performs DPCM decoding, and the association data storage unit (not illustrated) that stores the data that associates the waveform data read from the waveform memory 6 with the prediction filter coefficient.

【0071】係る構成において、例えば鍵盤1が押下さ
れたことが検出されると、CPU10の制御のもと、楽
音信号発生部5は該当する波形データを波形メモリ6よ
り読み出し楽音信号を生成し、デコーダ7に送る。
In such a configuration, when it is detected that the keyboard 1 is pressed, for example, under the control of the CPU 10, the musical tone signal generator 5 reads the corresponding waveform data from the waveform memory 6 to generate a musical tone signal, Send to the decoder 7.

【0072】一方、CPU10は、楽音信号発生部5が
読み出した波形に対応する予測フィルタ係数を決定する
ための関連付けデータを読み取り、これに基づいて予測
フィルタ係数メモリ部21より所定の予測フィルタ係数
を読み取り、DPCM復号化部22に送る。
On the other hand, the CPU 10 reads the association data for determining the prediction filter coefficient corresponding to the waveform read by the tone signal generator 5, and based on this, the prediction filter coefficient memory unit 21 outputs a predetermined prediction filter coefficient. It is read and sent to the DPCM decoding unit 22.

【0073】DPCM復号化部22は、これに基づいて
復号化して楽音波形を生成する。なお、復号化の動作に
ついては図5で詳述する。
The DPCM decoding section 22 performs decoding based on this to generate a musical tone waveform. The decoding operation will be described in detail with reference to FIG.

【0074】図5はデコーダ7の構成を説明する図であ
る。図のようにデコーダ7は、量子化幅制御ブロック2
01と、遅延レジスタ202、203、乗算器204、
205、加算器206、207で構成される。
FIG. 5 is a diagram for explaining the configuration of the decoder 7. As shown in the figure, the decoder 7 includes a quantization width control block 2
01, the delay registers 202 and 203, the multiplier 204,
205 and adders 206 and 207.

【0075】係る構成において、楽音信号発生部5が波
形メモリ6より読み出した圧縮された波形をデコーダ7
に送ると、デコーダ7では、量子化幅制御ブロック20
1が量子化幅を制御して送出する。
In such a configuration, the compressed waveform read out from the waveform memory 6 by the tone signal generator 5 is decoded by the decoder 7
To the quantization width control block 20 in the decoder 7.
1 controls and sends the quantization width.

【0076】この際、同時にCPU10は、楽音信号発
生部5の読み出した楽音波形に関連付けられている予測
フィルタ係数値を予測フィルタ係数メモリ部21より読
み出し、デコーダ7の各乗算器の係数としてK0,K1
にセットする。
At this time, at the same time, the CPU 10 reads from the prediction filter coefficient memory unit 21 the prediction filter coefficient value associated with the musical tone waveform read by the musical tone signal generation unit 5, and sets K0, as the coefficient of each multiplier of the decoder 7. K1
Set to.

【0077】これにより、遅延レジスタ202、203
に記憶されているデータが読み出され、乗算器204、
205で所定の演算が施された後、加算器206に送ら
れて加算され、所望の予測値が求められる。
As a result, the delay registers 202 and 203
The data stored in the
After a predetermined calculation is performed in 205, it is sent to the adder 206 and added to obtain a desired predicted value.

【0078】該予測値は、加算器207に送られ入力デ
ータに加算されて元の楽音波形が生成され、DCF8に
送られる。
The predicted value is sent to the adder 207 and added to the input data to generate the original tone waveform, which is sent to the DCF 8.

【0079】なお、これらの動作は、楽音信号発生部5
より波形データが送られた都度繰り返されるものであ
り、加算器207で加算され送出された波形の一部は遅
延レジスタ202、203に順次取り込まれ、前回、前
々回の波形のデータとして、遅延レジスタ202、20
3に記憶される。
Note that these operations are performed by the tone signal generator 5
This is repeated every time the waveform data is sent, and a part of the waveform added and sent by the adder 207 is sequentially taken into the delay registers 202 and 203, and the delay register 202 is used as the data of the waveforms of the previous time and the previous time. , 20
3 is stored.

【0080】係る動作において、本発明の収束の速い安
定度の高いフィルタ係数を用いると、ループトップで遅
延レジスタ202、203の内容が常に一致するため、
ループトップでリセットするための装置は不要となる。
In such an operation, if the filter coefficient of the present invention with fast convergence and high stability is used, the contents of the delay registers 202 and 203 always match at the loop top.
No device is needed to reset at the loop top.

【0081】なお、本発明のエンコーダやデコーダは2
次の場合を例に説明しているが、本発明はこれに限定さ
れるものではない。また予測フィルタ係数メモリをRO
Mに設けているが、該メモリはその他の位置に設けても
よい。
It should be noted that the encoder and the decoder of the present invention are 2
Although the following case is described as an example, the present invention is not limited to this. Also, the prediction filter coefficient memory is set to RO
Although provided in M, the memory may be provided in another position.

【0082】次に、本発明の収束が速く安定度の高いフ
ィルタ係数を、ADPCM方式で圧縮した波形に適用す
る場合について説明する。
Next, a case will be described in which the filter coefficient of the present invention, which converges quickly and has high stability, is applied to a waveform compressed by the ADPCM system.

【0083】ADPCM方式とは、適応量子化を用いた
差分PCM方式であり、量子化幅を振幅値に応じて適応
的に制御するため、DPCM方式に比べてより高性能な
符号化のできる方式として知られている。
The ADPCM system is a differential PCM system using adaptive quantization. Since the quantization width is adaptively controlled according to the amplitude value, higher-performance coding is possible as compared with the DPCM system. Known as.

【0084】しかしながら、該ADPCM方式に本発明
を適用した場合の実際の装置の構造や動作は、DPCM
に適用した場合と殆ど同じであり、相違点は信号の符号
化及び復号化の部分のみである。従って、同一動作を行
う部分については説明を省略し、相違点についてのみ説
明する。
However, when the present invention is applied to the ADPCM system, the actual structure and operation of the device are as follows:
This is almost the same as the case of applying the above method, and the only difference is the signal encoding and decoding part. Therefore, the description of the parts that perform the same operation will be omitted, and only the differences will be described.

【0085】図6は本発明をADPCM方式に適用した
場合の波形の圧縮手順を説明する図である。図のように
フィルタ係数決定の際にDPCM方式と異なるのは、予
測フィルタブロック60のDPCM符号化部61がAD
PCM符号化部63に変わったのみであり、ADPCM
方式による符号化の方法は既知の技術である。
FIG. 6 is a diagram for explaining a waveform compression procedure when the present invention is applied to the ADPCM system. As shown in the figure, the difference from the DPCM method when determining the filter coefficient is that the DPCM encoding unit 61 of the prediction filter block 60 performs AD processing.
Only the PCM encoding unit 63 has been changed.
The method of encoding by the method is a known technique.

【0086】従って、DPCM方式の場合と同様に、任
意にフィルタ係数を設定してADPCM符号化方式に基
づいて波形を符号化し、これを再生してチェックする動
作を繰り返し、好適な予測フィルタ係数を選択すればよ
い。
Therefore, as in the case of the DPCM system, the filter coefficient is arbitrarily set, the waveform is coded based on the ADPCM coding system, and the operation of reproducing and checking the waveform is repeated to obtain a suitable prediction filter coefficient. Just select it.

【0087】また、本発明による波形を電子楽器に搭載
した場合も、図7に例示するようにDPCM符号化部2
2がADPCM符号化部23に変わったのみであり、A
DPCM方式による符号化の方法は既知の技術であり、
動作手順はDPCMの場合と同じである。
Also, when the waveform according to the present invention is mounted on an electronic musical instrument, the DPCM encoder 2 as shown in FIG.
2 is changed to the ADPCM encoding unit 23, and A
The encoding method by the DPCM method is a known technique,
The operation procedure is the same as in the case of DPCM.

【0088】本発明によれば、ADPCM方式により圧
縮され符号化された波形においても、ループエンドから
ループトップに移行する際にリセットをする必要はなく
なり、しかも、DPCM符号化の場合より更に品質の高
い波形を得ることが可能となる。
According to the present invention, even in the waveform compressed and coded by the ADPCM system, it is not necessary to reset the waveform when moving from the loop end to the loop top, and furthermore, the quality is higher than that of the DPCM coding. It is possible to obtain a high waveform.

【0089】なお、本実施例では、波形ごとに予測フィ
ルタ係数を決定する場合を例に説明しているが、本発明
は繰返し読出しされる波形の周期内に誤差を吸収できれ
ば良いので、波形のグループごとに予測フィルタ係数を
変化させるように構成しても良い。
In the present embodiment, the case where the predictive filter coefficient is determined for each waveform has been described as an example, but the present invention only needs to be able to absorb the error within the cycle of the waveform repeatedly read out. The prediction filter coefficient may be changed for each group.

【0090】[0090]

【発明の効果】以上詳述したように、本発明によればD
PCM符号化方式やADPCM符号化方式で圧縮された
波形を搭載した電子楽器において、繰返し読出しを行う
波形のループエンドからループトップに移行する際にリ
セットをする必要はなくなり、高圧縮率でしかも構造が
簡単で低価格の電子楽器が提供できる。
As described above in detail, according to the present invention, D
In an electronic musical instrument equipped with a waveform compressed by the PCM coding method or the ADPCM coding method, it is not necessary to reset when shifting from the loop end of the waveform to be repeatedly read to the loop top, and it has a high compression rate and a structure. A simple and low-priced electronic musical instrument can be provided.

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

【図1】本発明の波形データを搭載した電子楽器の全体
構成図である。
FIG. 1 is an overall configuration diagram of an electronic musical instrument equipped with the waveform data of the present invention.

【図2】DPCM方式の波形圧縮において、汎用計算機
等を用いてフィルタ係数を算出する動作を説明する図で
ある。
FIG. 2 is a diagram illustrating an operation of calculating a filter coefficient using a general-purpose computer or the like in DPCM waveform compression.

【図3】汎用計算機における符号化の動作を説明する図
である。
FIG. 3 is a diagram illustrating an encoding operation in a general-purpose computer.

【図4】DPCM方式による波形を搭載した電子楽器の
デコーダの動作を説明する図である。
FIG. 4 is a diagram for explaining an operation of a decoder of an electronic musical instrument having a waveform based on the DPCM method.

【図5】DPCM方式による波形を搭載した電子楽器の
デコーダの構成を説明するブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a decoder of an electronic musical instrument having a waveform based on the DPCM method.

【図6】ADPCM方式の波形圧縮において、汎用計算
機等を用いてフィルタ係数を算出する動作を説明する図
である。
FIG. 6 is a diagram illustrating an operation of calculating a filter coefficient by using a general-purpose computer or the like in ADPCM waveform compression.

【図7】ADPCM方式による波形を搭載した電子楽器
のデコーダの動作を説明する図である。
FIG. 7 is a diagram for explaining the operation of a decoder of an electronic musical instrument that has a waveform based on the ADPCM method.

【図8】フィルタの係数とインパルスレスポンスの関係
を説明する図である。
FIG. 8 is a diagram illustrating a relationship between a filter coefficient and an impulse response.

【図9】フィルタの係数とインパルスレスポンスの関係
を説明する図(続)である。
FIG. 9 is a diagram (continuation) illustrating the relationship between filter coefficients and impulse response.

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

電子楽器 1 鍵盤 2 鍵盤スキャン回路 3 操作パネル 4 パネルスキャン回路 5 楽音信号発生部 6 波形メモリ 7 デコーダ 8 DCF 9 DCA 10 CPU 11 ROM 12 RAM 13 表示部 14 D/A変換器 15 増幅器 16 スピーカ 21 予測フィルタ係数メモリ 22 DPCM復号化部 23 ADPCM復号化部 201 量子化幅制御ブロック 202、203 遅延レジスタ 204、205 乗算器 206、207 加算器 汎用計算機 50 予測ブロック 51 予測フィルタ係数算出部(予測フィルタ係数算
出手段) 52 予測フィルタ係数メモリ(予測フィルタ係数記
憶手段) 60 予測フィルタブロック(エンコーダ) 61 DPCM符号化部(符号化手段) 62 波形メモリ(波形記憶手段) 63 ADPCM符号化部(符号化手段) 611、612 遅延レジスタ 613、614、615 乗算器 618 量子化ブロック
Electronic musical instrument 1 Keyboard 2 Keyboard scan circuit 3 Operation panel 4 Panel scan circuit 5 Music signal generator 6 Waveform memory 7 Decoder 8 DCF 9 DCA 10 CPU 11 ROM 12 RAM 13 Display 14 D / A converter 15 Amplifier 16 Speaker 21 Prediction Filter coefficient memory 22 DPCM decoding unit 23 ADPCM decoding unit 201 Quantization width control block 202, 203 Delay register 204, 205 Multiplier 206, 207 Adder general-purpose computer 50 Prediction block 51 Prediction filter coefficient calculation unit (prediction filter coefficient calculation) Means) 52 Prediction filter coefficient memory (prediction filter coefficient storage means) 60 Prediction filter block (encoder) 61 DPCM coding section (coding means) 62 Waveform memory (waveform storage means) 63 ADPCM coding section (coding means) ) 611, 612 Delay register 613, 614, 615 Multiplier 618 Quantization block

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年3月29日[Submission date] March 29, 1996

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0065[Correction target item name] 0065

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0065】増幅器15は、D/A変換器14から供給
されるアナログ楽音信号を所定の利得で増幅するもので
ある。この増幅器15の出力はスピーカ16に供給され
るようになっている。
The amplifier 15 amplifies the analog musical tone signal supplied from the D / A converter 14 with a predetermined gain. The output of the amplifier 15 is supplied to the speaker 16.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】 [Figure 4]

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図7[Name of item to be corrected] Figure 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図7】 [Figure 7]

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 差分PCM方式または適応差分PCM方
式で圧縮された波形を複合化し繰返し読出しを行う電子
楽器において、 前記繰返し読出しの行われる波形は、復号化時に繰返し
読出しの先頭部分で毎回結果が一致するように予測フィ
ルタ係数が設定されている予測フィルタにより符号化さ
れていることを特徴とする電子楽器。
1. An electronic musical instrument which performs repeated reading by compounding a waveform compressed by a differential PCM method or an adaptive differential PCM method, wherein the repeated reading waveform has a result obtained at the beginning of the repeated reading at the time of decoding. An electronic musical instrument characterized by being encoded by a prediction filter in which prediction filter coefficients are set so as to match.
【請求項2】前記予測フィルタ係数は、元波形をサンプ
リングし、予測フィルタ係数を算出する予測フィルタ係
数算出手段と、 前記予測フィルタ係数算出手段により算出された予測フ
ィルタ係数を記憶する予測フィルタ係数記憶手段と、 前記予測フィルタ係数算出手段により算出された予測フ
ィルタ係数に基づき元波形を符号化して圧縮する符号化
手段と、 前記符号化手段により符号化された波形を記憶する波形
記憶手段により設定され、予め該予測フィルタ係数及び
圧縮された波形が設定されていることを特徴とする請求
項1記載の電子楽器。
2. The predictive filter coefficient, a predictive filter coefficient calculating means for sampling an original waveform and calculating a predictive filter coefficient, and a predictive filter coefficient memory for storing the predictive filter coefficient calculated by the predictive filter coefficient calculating means. And a coding unit that codes and compresses an original waveform based on the prediction filter coefficient calculated by the prediction filter coefficient calculation unit, and a waveform storage unit that stores the waveform coded by the coding unit. 2. The electronic musical instrument according to claim 1, wherein the predictive filter coefficient and the compressed waveform are set in advance.
【請求項3】 前記請求項1乃至2記載の圧縮方法によ
り求められた波形データを記憶する波形メモリと、予測
フィルタ係数を記憶する予測フィルタ係数メモリとを有
し、該予測フィルタ係数に基づいて差分PCM方式また
は適応差分PCM方式で圧縮された波形の繰返し読出し
の行われる波形データの復号化を行うことを特徴とする
電子楽器。
3. A waveform memory for storing the waveform data obtained by the compression method according to claim 1, and a prediction filter coefficient memory for storing a prediction filter coefficient, and based on the prediction filter coefficient. An electronic musical instrument characterized by performing decoding of waveform data in which a waveform compressed by a differential PCM system or an adaptive differential PCM system is repeatedly read.
JP07114087A 1995-04-17 1995-04-17 Electronic musical instrument Expired - Fee Related JP3138612B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP07114087A JP3138612B2 (en) 1995-04-17 1995-04-17 Electronic musical instrument
US08/627,366 US5693901A (en) 1995-04-17 1996-04-04 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07114087A JP3138612B2 (en) 1995-04-17 1995-04-17 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH08286670A true JPH08286670A (en) 1996-11-01
JP3138612B2 JP3138612B2 (en) 2001-02-26

Family

ID=14628772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07114087A Expired - Fee Related JP3138612B2 (en) 1995-04-17 1995-04-17 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP3138612B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU704156B2 (en) * 1994-12-02 1999-04-15 Sony Computer Entertainment Inc. Sound source data generating method, recording medium, and sound source data processing device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5095662B2 (en) 2009-03-31 2012-12-12 カンタツ株式会社 Imaging lens for solid-state imaging device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU704156B2 (en) * 1994-12-02 1999-04-15 Sony Computer Entertainment Inc. Sound source data generating method, recording medium, and sound source data processing device

Also Published As

Publication number Publication date
JP3138612B2 (en) 2001-02-26

Similar Documents

Publication Publication Date Title
EP0241922B1 (en) Musical tone generating apparatus
JPS616689A (en) Electronic musical instrument
EP3144926B1 (en) Waveform data structure for musical instrument with scalable storage-frame length depending on tones .
US5693901A (en) Electronic musical instrument
JPH08286670A (en) Electronic musical instrument
JPH08292770A (en) Electronic musical instrument
JPH02146599A (en) Sound source data compressing and encoding method
JP2006350090A (en) Client/server speech recognizing method, speech recognizing method of server computer, speech feature quantity extracting/transmitting method, and system and device using these methods, and program and recording medium
Maher Wavetable synthesis strategies for mobile devices
JP2603922B2 (en) Music signal generator
JP2716088B2 (en) Music signal generator
JPH08305365A (en) Electronic musical instrument
JP2689709B2 (en) Electronic musical instrument
JPH07111625B2 (en) Playback device for performance information
JPH0776872B2 (en) Music signal generator
JPH09114460A (en) Filter device of electronic musical instrument
JP2674155B2 (en) Data compression coding method
JP2876604B2 (en) Signal compression method
JP3116381B2 (en) Musical sound compression method
JPH0519768A (en) Musical tone synthesis device
JP2900076B2 (en) Waveform generator
JP2715779B2 (en) Music processing method
JP2797141B2 (en) Musical sound wave generator
JP2897377B2 (en) Waveform signal forming device
JP2594656Y2 (en) Electronic keyboard instrument touch data processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071208

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081208

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081208

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091208

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees