Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3138612B2 - Electronic musical instrument - Google Patents
[go: Go Back, main page]

JP3138612B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP3138612B2
JP3138612B2 JP07114087A JP11408795A JP3138612B2 JP 3138612 B2 JP3138612 B2 JP 3138612B2 JP 07114087 A JP07114087 A JP 07114087A JP 11408795 A JP11408795 A JP 11408795A JP 3138612 B2 JP3138612 B2 JP 3138612B2
Authority
JP
Japan
Prior art keywords
waveform
prediction filter
filter coefficient
data
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP07114087A
Other languages
Japanese (ja)
Other versions
JPH08286670A (en
Inventor
郁 松永
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 Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments 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 Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments 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)

Description

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

【0001】[0001]

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

【0002】[0002]

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

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

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

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

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

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

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

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

【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, decoding is performed at the loop top when repeatedly reading. It is an object of the present invention to provide an electronic musical instrument capable of repeatedly reading without requiring a device for resetting the device.

【0011】[0011]

【課題を解決するための手段】本発明は、2次の差分P
CM方式または適応差分PCM方式で符号化された波形
を繰り返し読み出し復号化する電子楽器において、元波
形をサンプリングし、該サンプリングされた元波形デー
タを圧縮符号化する予測フィルタ手段と、該予測フィル
タのフィルタ係数を算出する予測フィルタ係数算出手段
と、からなる符号化手段であって、前記予測フィルタ係
数が、繰り返し読み出しの行われる波形の繰り返し読み
出し間隔よりも予測フィルタのインパルス応答が短くな
るように設定され、該予測フィルタ係数に応じた圧縮符
号化されたデータを生成する符号化手段と、前記予測フ
ィルタ係数を記憶する予測フィルタ係数記憶手段と、前
記生成された圧縮符号化されたデータを記憶する圧縮符
号化データ記憶手段と、前記予測フィルタ係数記憶手段
より予測フィルタ係数を読み出す予測フィルタ係数読出
手段と、前記圧縮符号化データ記憶手段より圧縮波形デ
ータを読み出す圧縮波形データ読出手段と、復号用レジ
スタを備えるフィルタ手段と、からなり、前記予測フィ
ルタ係数に基づいて圧縮符号化データ記憶手段から読み
出された圧縮符号化データを伸長復号化する復号化手段
と、を備え、前記復号用レジスタの内容が繰り返し読み
出しの先頭部分で毎回一致することを特徴とする電子楽
器である。
SUMMARY OF THE INVENTION The present invention provides a second order differential P
In an electronic musical instrument that repeatedly reads and decodes a waveform encoded by the CM method or the adaptive difference PCM method, a prediction filter means for sampling an original waveform and compression-encoding the sampled original waveform data; Encoding means comprising: a predictive filter coefficient calculating means for calculating a filter coefficient, wherein the predictive filter coefficient is set such that an impulse response of the predictive filter is shorter than a repetitive read interval of a waveform to be repeatedly read. Encoding means for generating compression-encoded data corresponding to the prediction filter coefficient, prediction filter coefficient storage means for storing the prediction filter coefficient, and storing the generated compression-encoded data. Compression encoding data storage means, and a prediction filter from the prediction filter coefficient storage means. A predictive filter coefficient reading means for reading the number, a compressed waveform data reading means for reading the compressed waveform data from the compressed and coded data storage means, and a filter means having a decoding register. A decoding means for decompressing and decoding the compressed and coded data read from the coded data storage means, wherein the contents of the decoding register match each time at the beginning of repeated reading. It is.

【0012】[0012]

【0013】[0013]

【0014】[0014]

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

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

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

【0017】[0017]

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

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

【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, FIG.
As shown in B, 1 is always output from the filter.

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

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

【0022】このため、波形の繰り返し読み出しの場合
の誤差は、ループエンドでは累積されることなく、次の
波形の読み出しの際には正しくループトップの値がセッ
トされる。
For this reason, errors in repeated reading of a waveform are 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 errors accumulated when the same waveform is repeatedly read. As shown in the figure, when errors accumulate, the amplitude of the waveform at the loop end is read by adding the error, and this affects the amplitude of the loop top of the next read waveform.

【0024】このため、図9(A)に例示するように、
波形は,読み出しが繰り返される度に逐次誤差が累積さ
れ図のように上方にずれてしまい、何度も繰り返すとオ
ーバーフロー等の障害を引き起こす原因となってしま
う。
For this reason, as exemplified in FIG.
Each time the reading is repeated, the error is accumulated and the waveform is shifted upward as shown in the figure. If the waveform is repeated many times, the waveform may cause a trouble such as overflow.

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

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

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

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

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

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

【0031】従って、本発明では、予めDPCM方式や
ADPCM方式で圧縮された波形や、該波形に対応した
最適な予測フィルタ係数を、例えば汎用計算機等を用い
てシミュレートし、波形データや使用する予測フィルタ
係数を予め求めておき、該波形を電子楽器に搭載して使
用するものである。
Therefore, in the present invention, a waveform compressed in advance by the DPCM method or the ADPCM method and an optimum prediction filter coefficient corresponding to the waveform are simulated using, for example, a general-purpose computer or the like, and the waveform data and the used data are used. A 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 preparing a prediction filter coefficient and a compressed waveform in advance using, for example, a general-purpose computer. Hereinafter, a procedure of generating waveform data of a compressed waveform and a prediction filter coefficient of the present invention will be described with reference to the drawings.

【0033】図において50は予測ブロックであり、6
0はエンコード部である。予測ブロック50は予測フィ
ルタ係数算出部51と予測フィルタ係数メモリ部52か
らなり、エンコード部60はDPCM符号化部61と波
形メモリ62からなる。
In the figure, reference numeral 50 denotes a prediction block;
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 prediction filter coefficient calculation unit 51 extracts a plurality of samples from an input original waveform such as a natural sound, makes prediction, and calculates and determines an optimum prediction filter coefficient. The determined coefficients are stored in the prediction filter coefficient memory unit 52 and the DPCM encoding unit 6
Sent to 1.

【0035】予測フィルタ係数メモリ部52は、例えば
ROMからなり、予測フィルタ係数算出部51で決定さ
れた予測フィルタ係数を記憶するものである。なお、該
予測フィルタ係数メモリ部52に記憶された予測フィル
タ係数は、電子楽器の予測フィルタ係数メモリ部21に
記憶するデータとして使用される。
The prediction filter coefficient memory unit 52 is composed of, for example, a ROM and stores the prediction filter coefficients determined by the prediction filter coefficient calculation unit 51. The prediction filter coefficients stored in the prediction filter coefficient memory unit 52 are 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 section 62 is used as data in the waveform memory 6 of the electronic musical instrument. Note that the prediction filter coefficients 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 for this is also stored in a predetermined area of a ROM (not shown). Is stored.

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

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

【0040】求められた予測フィルタ係数は、予測フィ
ルタ係数メモリ部52に記憶されるとともにエンコード
部60に送られる。
The calculated prediction filter coefficients are stored in the prediction filter coefficient memory unit 52 and sent to the encoding unit 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 and 617 and a quantization control block 618.

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

【0043】次いで、元波形の一部が予測フィルタブロ
ック60に取り込まれると、前回、前々回入力され、遅
延レジスタ611,612に取り込まれている値が呼び
出され、各乗算器613,614により所定の係数が乗
算されたのち、加算器616により加算される。
Next, when a part of the original waveform is fetched into the prediction filter block 60, the values previously input two times before and the values fetched into the delay registers 611 and 612 are called out, and the multipliers 613 and 614 determine the values. After the coefficients are multiplied, they are added by an 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 inputted by the adder 617 to obtain a difference value. Thereafter, the quantization width control block 61
8 is quantized. As a result, a waveform subjected to predetermined compression 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 way, the maker, when manufacturing an electronic musical instrument, prepares the waveform compressed by the above method, the prediction filter coefficient, and the data relating the waveform and the prediction filter coefficient. By incorporating the electronic musical instrument in an electronic musical instrument, an electronic musical instrument with a compressed waveform memory can be provided.

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

【0047】次に、上記実施例に基づいて作成された波
形及び予測フィルタを搭載した電子楽器について図面を
参照しながら説明する。図1は、本発明に係る電子楽器
の全体的な構成を説明する概略ブロック図である。
Next, an electronic musical instrument equipped with a waveform and a prediction filter created based on 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 unit. 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はスピーカである。
Reference numeral 7 denotes a decoder, 8 denotes a digital control filter (hereinafter referred to as DCF), 9 denotes a digital control amplifier (hereinafter referred to as DCA), 14 denotes a digital / analog converter (hereinafter referred to as a 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 in accordance with a key-depressed portion of the keyboard 1 to generate sound. Things.

【0051】ROM11は、上述したCPU10を動作
させるプログラムの他、音色データ、その他、種々の固
定データを記憶している。なお、本発明に直接関係する
フィルタ係数は、該ROM11の予測フィルタ係数メモ
リ部21に記憶されている。
The ROM 11 stores tone color data and various other fixed data in addition to the above-mentioned program for operating the CPU 10. Note that filter coefficients directly related to the present invention are stored in the prediction 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, and the like for controlling the electronic musical instrument are defined.
1 has a data area in which necessary data is transferred and temporarily stored.

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

【0054】鍵盤1は発生すべき楽音を指定するために
使用されるものであり、複数のキーと、これらのキーの
押鍵・離鍵動作に連動して開閉するキースイッチとで構
成され、演奏者の押鍵・離鍵動作は鍵盤スキャン回路2
によって検出され、検出された信号はCPU10の制御
のもとに楽音信号発生部5に送られる。
The keyboard 1 is used for designating a musical tone to be generated, and is composed of a plurality of keys and a key switch which opens and closes in conjunction with a key press / release operation of these keys. The key press / key release operation of the performer is performed by the keyboard scan circuit 2.
, And 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 key depression or key release of the keyboard 1 is temporarily stored in a predetermined area of the RAM 12 and read out by the CPU 10 as required.

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

【0057】操作パネル3には、電源スイッチの他、音
色選択スイッチ、モード指定スイッチ、メロディ選択ス
イッチ、リズム選択スイッチ等、各種のスイッチや表示
器が設けられている。
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, in addition to a power switch.

【0058】操作パネル3の各スイッチのセット/リセ
ット状態は内部に含まれるパネルスキャン回路4によっ
て検出されるようになっており、このパネルスキャン回
路4で検出したスイッチのセット状態に関するデータは
CPU10の制御の下にRAM12上の所定の領域に記
憶される。
The set / reset state of each switch of the operation panel 3 is detected by a panel scan circuit 4 included therein. 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が設け
られている。
The operation panel 3 is provided with a display 13 for displaying various information in addition to the various switches.

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

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

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

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

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

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

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

【0067】係る構成において、演奏が開始されると、
押鍵検出部2を介して接続されている鍵盤1から入力さ
れた押鍵/離鍵データと、パネルスキャン回路4を介し
て接続された操作パネル3で設定された発音条件がRA
M12に一時記憶される。
In this configuration, when the performance starts,
The key press / key release data input from the keyboard 1 connected via the key press detection unit 2 and the sound generation conditions set on 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 provided to the tone signal generator 5, and the compressed tone signal is read and provided to the decoder 7 for decoding. And an 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より読み出される波形データと予測フィルタ係数を
関連付けるデータを記憶する図示しない関連付けデータ
記憶部で構成される。
A part 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 which is read when decoding the compressed waveform. A coefficient memory unit 21;
A DPCM decoding unit 22 that performs DPCM decoding includes an association data storage unit (not shown) that stores data that associates waveform data read from the waveform memory 6 with prediction filter coefficients.

【0071】係る構成において、例えば鍵盤1が押下さ
れたことが検出されると、CPU10の制御のもと、楽
音信号発生部5は該当する波形データを波形メモリ6よ
り読み出し楽音信号を生成し、デコーダ7に送る。
In this configuration, for example, when it is detected that the keyboard 1 is pressed, under the control of the CPU 10, the tone signal generator 5 reads out the corresponding waveform data from the waveform memory 6 and generates a tone signal. Send to 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 out by the musical tone signal generation section 5 and, based on the data, stores the predetermined prediction filter coefficient from the prediction filter coefficient memory section 21. The data 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 structure of the decoder 7. As shown, the decoder 7 includes a quantization width control block 2
01, delay registers 202 and 203, multiplier 204,
205 and adders 206 and 207.

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

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

【0077】これにより、遅延レジスタ202、203
に記憶されているデータが読み出され、乗算器204、
205で所定の演算が施された後、加算器206に送ら
れて加算され、所望の予測値が求められる。
Thus, the delay registers 202 and 203
Is read out, the multiplier 204,
After a predetermined operation is performed in 205, the result is sent to an 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に記憶される。
These operations are performed by the tone signal generator 5.
The waveform data is repeated every time the waveform data is transmitted. A part of the waveform added and transmitted by the adder 207 is sequentially taken into the delay registers 202 and 203, and is used as the data of the waveform of the immediately preceding and last time. , 20
3 is stored.

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

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

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

【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, a system capable of performing higher-performance encoding than the DPCM system. Also known as

【0084】しかしながら、該ADPCM方式に本発明
を適用した場合の実際の装置の構造や動作は、DPCM
に適用した場合と殆ど同じであり、相違点は信号の符号
化及び復号化の部分のみである。従って、同一動作を行
う部分については説明を省略し、相違点についてのみ説
明する。
However, when the present invention is applied to the ADPCM system, the structure and operation of the actual device are the DPCM
And the difference is only in the coding and decoding of the signal. Therefore, the description of the parts performing 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 view for explaining a waveform compression procedure when the present invention is applied to the ADPCM system. As shown in the drawing, the difference from the DPCM method when determining the filter coefficient is that the DPCM encoding unit 61 of the prediction filter block 60 uses
Only the PCM encoding unit 63 has been changed.
The method of encoding by the method is a known technique.

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

【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, as shown in FIG.
2 is changed to the ADPCM encoding unit 23, and A
The encoding method using 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, it is not necessary to reset even the waveform compressed and encoded by the ADPCM method when shifting from the loop end to the loop top, and the quality is further improved as compared with the DPCM encoding. A high waveform can be obtained.

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

【0090】[0090]

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

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

【図1】本発明の波形データを搭載した電子楽器の全体
構成図である。
FIG. 1 is an overall configuration diagram of an electronic musical instrument equipped with 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 waveform compression of the DPCM method.

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

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

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

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

【図7】ADPCM方式による波形を搭載した電子楽器
のデコーダの動作を説明する図である。
FIG. 7 is a diagram illustrating an operation of a decoder of an electronic musical instrument equipped with a waveform according to 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 (continued) illustrating the relationship between the filter coefficient and the 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 unit 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 encoder (encoding means) 62 waveform memory (waveform storage means) 63 ADPCM encoder (encoding means) ) 611, 612 Delay register 613, 614, 615 Multiplier 618 Quantization block

フロントページの続き (56)参考文献 特開 平2−140021(JP,A) 特開 平2−146599(JP,A) 特開 昭63−289594(JP,A) 特開 昭62−242996(JP,A) 特開 昭62−242995(JP,A) 特開 昭62−242993(JP,A) 特開 平5−257478(JP,A) (58)調査した分野(Int.Cl.7,DB名) G10H 7/02 Continuation of the front page (56) References JP-A-2-140021 (JP, A) JP-A-2-146599 (JP, A) JP-A-63-289594 (JP, A) JP-A-62-242996 (JP, A) JP-A-62-242995 (JP, A) JP-A-62-22993 (JP, A) JP-A-5-257478 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB Name) G10H 7/02

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 2次の差分PCM方式または適応差分P
CM方式で符号化された波形を繰り返し読み出し復号化
する電子楽器において、 元波形をサンプリングし、該サンプリングされた元波形
データを圧縮符号化する予測フィルタ手段と、該予測フ
ィルタのフィルタ係数を算出する予測フィルタ係数算出
手段と、からなる符号化手段であって、前記予測フィル
タ係数が、繰り返し読み出しの行われる波形の繰り返し
読み出し間隔よりも予測フィルタのインパルス応答が短
くなるように設定され、該予測フィルタ係数に応じた圧
縮符号化されたデータを生成する符号化手段と、 前記予測フィルタ係数を記憶する予測フィルタ係数記憶
手段と、 前記生成された圧縮符号化されたデータを記憶する圧縮
符号化データ記憶手段と、 前記予測フィルタ係数記憶手段より予測フィルタ係数を
読み出す予測フィルタ係数読出手段と、前記圧縮符号化
データ記憶手段より圧縮波形データを読み出す圧縮波形
データ読出手段と、復号用レジスタを備えるフィルタ手
段と、からなり、前記予測フィルタ係数に基づいて圧縮
符号化データ記憶手段から読み出された圧縮符号化デー
タを伸長復号化する復号化手段と、 を備え、前記復号用レジスタの内容が繰り返し読み出し
の先頭部分で毎回一致することを特徴とする電子楽器。
1. A second-order differential PCM method or an adaptive differential P
In an electronic musical instrument that repeatedly reads and decodes a waveform encoded by the CM method, a prediction filter means for sampling an original waveform and compression-encoding the sampled original waveform data, and calculating a filter coefficient of the prediction filter. A prediction filter coefficient calculating means, wherein the prediction filter coefficient is set such that an impulse response of the prediction filter is shorter than a repetitive read interval of a waveform to be repeatedly read. Coding means for generating compression-coded data according to the coefficient; prediction filter coefficient storage means for storing the prediction filter coefficient; and compression-coded data storage for storing the generated compression-coded data Means for predicting a prediction filter coefficient from the prediction filter coefficient storage means. Filter data reading means for reading compressed waveform data from the compressed coded data storage means, and filter means having a decoding register, and storing the compressed coded data based on the prediction filter coefficients. A decoding means for decompressing and decoding the compression-encoded data read from the means, wherein the contents of the decoding register match each time at the beginning of repeated reading.
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 JPH08286670A (en) 1996-11-01
JP3138612B2 true 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
USRE47516E1 (en) 2009-03-31 2019-07-16 Kantatsu Co., Ltd. Image pickup lens for solid-state image pickup element

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1095579C (en) * 1994-12-02 2002-12-04 索尼计算机娱乐公司 Sound source data processing device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE47516E1 (en) 2009-03-31 2019-07-16 Kantatsu Co., Ltd. Image pickup lens for solid-state image pickup element
USRE47576E1 (en) 2009-03-31 2019-08-20 Kantatsu Co., Ltd. Image pickup lens for solid-state image pickup element

Also Published As

Publication number Publication date
JPH08286670A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
US4916996A (en) Musical tone generating apparatus with reduced data storage requirements
KR0164589B1 (en) Signal processing and sound source data forming apparatus
HK1002146B (en) Musical tone generating apparatus
JP3138612B2 (en) Electronic musical instrument
EP3144926B1 (en) Waveform data structure for musical instrument with scalable storage-frame length depending on tones .
KR100598209B1 (en) MIDI playback apparatus and method
JPH02146599A (en) Sound source data compressing and encoding method
JP2716088B2 (en) Music signal generator
JPS60192993A (en) Musical sound generator by inputting voice
JP2603922B2 (en) Music signal generator
JPH08292770A (en) Electronic musical instrument
JPH06342291A (en) Electronic musical instrument
JPH0776872B2 (en) Music signal generator
JP3116381B2 (en) Musical sound compression method
JPH08305365A (en) Electronic musical instrument
JPH07111625B2 (en) Playback device for performance information
JP2674155B2 (en) Data compression coding method
JP2006350090A (en) Client / server speech recognition method, speech recognition method in server computer, speech feature extraction / transmission method, system, apparatus, program, and recording medium using these methods
JPH02138831A (en) Pitch detection
KR100689495B1 (en) MIDI playback apparatus and method
JPH09114460A (en) Electronic musical instrument filter device
KR100264389B1 (en) Computer music cycle with key change function
JP3200940B2 (en) Music control device
JPH06348274A (en) Electronic musical instrument
JPH0776873B2 (en) Music signal generator

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