[go: up one dir, main page]

JP3116381B2 - Musical sound compression method - Google Patents

Musical sound compression method

Info

Publication number
JP3116381B2
JP3116381B2 JP02417380A JP41738090A JP3116381B2 JP 3116381 B2 JP3116381 B2 JP 3116381B2 JP 02417380 A JP02417380 A JP 02417380A JP 41738090 A JP41738090 A JP 41738090A JP 3116381 B2 JP3116381 B2 JP 3116381B2
Authority
JP
Japan
Prior art keywords
value
difference
data
current timing
processing
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
JP02417380A
Other languages
Japanese (ja)
Other versions
JPH056171A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP02417380A priority Critical patent/JP3116381B2/en
Publication of JPH056171A publication Critical patent/JPH056171A/en
Application granted granted Critical
Publication of JP3116381B2 publication Critical patent/JP3116381B2/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]

【産業上の利用分野】本発明は、適応差分パルス符号変
調方式による音源処理プログラムを実行して楽音信号を
発生する楽音波形発生装置において使用される適応量子
化された楽音信号の差分データを生成するための楽音波
形圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone generator for generating tone signals by executing a sound source processing program based on an adaptive difference pulse code modulation system to generate difference data of adaptively quantized tone signals. The present invention relates to a method of compressing a musical sound waveform for performing a sound compression.

【0002】[0002]

【従来の技術】ディジタル信号処理技術とLSI処理技
術の発達により性能の良い様々な電子楽器が実現されて
いる。特に、半導体メモリの低価格化に伴い、自然楽器
等の楽音波形をデジタル信号としてメモリに記憶させ、
これを演奏操作に対応する音程等で読み出すことで、リ
アルな楽音波形を発音可能な電子楽器の登場が、プロ・
アマチュアを問わず音楽人口の大幅な増加に貢献してい
る。
2. Description of the Related Art Various electronic musical instruments having high performance have been realized by the development of digital signal processing technology and LSI processing technology. In particular, with the cost reduction of semiconductor memory, musical tone waveforms of natural musical instruments and the like are stored in the memory as digital signals,
An electronic musical instrument capable of producing realistic musical sound waveforms by reading this at the pitch etc.
It contributes to a huge increase in the music population regardless of amateur.

【0003】このような音源方式としては、PCM(パ
ルス符号変調)方式、DPCM(差分パルス符号変調)
方式、ADPCM(適応差分パルス符号変調)方式とい
った方式がある。特に、ADPCM方式は、大きなデー
タ圧縮が可能であるため優れた音源方式である。
[0003] Such a sound source system includes a PCM (pulse code modulation) system, a DPCM (differential pulse code modulation).
And ADPCM (Adaptive Differential Pulse Code Modulation). In particular, the ADPCM method is an excellent sound source method because large data compression is possible.

【0004】上述のような音源方式を採用する楽音波形
発生装置は、大量かつ高速のディジタル演算が必要なた
め、従来は、必要とする音源方式に基づく楽音発生アル
ゴリズムと等価なアーキテクチャをハードウエアで実現
した専用の音源回路によって構成されていた。しかし、
ハードウエア規模が大きくなってしまい、LSIで実現
した場合におけるLSIチップ製造時の歩留り等の点に
おいて、製造段階でのコストアップを招き、楽音波形発
生装置の大型化を招いてしまうという問題点を有してい
た。
[0004] Since the musical tone waveform generator employing the above-mentioned sound source system requires a large amount of high-speed digital operation, an architecture equivalent to a tone generation algorithm based on the required sound source system has conventionally been implemented by hardware. It consisted of a dedicated tone generator circuit. But,
The problem is that the hardware scale becomes large, the cost increases in the manufacturing stage, and the size of the musical tone waveform generator increases in terms of the yield at the time of manufacturing the LSI chip when it is realized by the LSI. Had.

【0005】これに対して、近年では、汎用のデータ処
理を行うための高性能なマイクロプロセッサが多く実現
されており、このようなマイクロプロセッサを使用して
音源処理をソフト的に行うことも可能となってきてお
り、例えば複数のプロセッサ構成で並列処理を行うこと
により、ADPCM方式のような高度な音源方式の処理
が可能となってきている。
On the other hand, in recent years, many high-performance microprocessors for performing general-purpose data processing have been realized, and sound source processing can be performed by software using such a microprocessor. For example, by performing parallel processing with a plurality of processor configurations, processing of an advanced sound source system such as the ADPCM system has become possible.

【0006】[0006]

【発明が解決しようとする課題】ここで、音源処理方式
としてADPCM方式が採用された場合、適応量子化さ
れた差分データが波形メモリ等に記憶され、これが読み
出されながら逆量子化が行われて楽音信号の差分値が復
号され、更に、その差分値が各タイミング毎に累算され
て楽音信号が生成される。
Here, when the ADPCM method is adopted as the sound source processing method, the adaptively quantized difference data is stored in a waveform memory or the like, and inverse quantization is performed while reading the data. Thus, the difference value of the tone signal is decoded, and the difference value is accumulated at each timing to generate a tone signal.

【0007】上述の適応量子化された差分データは、P
CM楽音信号に対して差分信号を計算し、その差分信号
の振幅レベルを圧縮して量子化するという適応量子化を
行うことにより得られる。
The above-mentioned adaptively quantized difference data is represented by P
It is obtained by calculating a difference signal with respect to the CM tone signal and performing adaptive quantization such that the amplitude level of the difference signal is compressed and quantized.

【0008】ここで、適応量子化された差分データを生
成する過程において、差分信号の振幅レベルを圧縮して
量子化した場合、各量子化幅の最大1/2の幅の量子化
誤差が発生する。そして、音源処理において、このよう
な量子化誤差を含む差分データに基づいて逆量子化を行
い、それにより得られた差分値を累算して楽音信号を生
成した場合、得られた楽音信号の振幅値が、その楽音信
号に割り当てられたデジタル信号のビット数で表現可能
な最大又は最小の振幅値を、量子化誤差に相当する分だ
けわずかに越えてしまう場合が起こり得る。
In the process of generating the adaptively quantized difference data, if the amplitude level of the difference signal is compressed and quantized, a quantization error having a maximum half width of each quantization width is generated. I do. Then, in the sound source processing, when the inverse quantization is performed based on the difference data including such a quantization error, and the difference value obtained thereby is accumulated to generate a tone signal, the obtained tone signal is In some cases, the amplitude value slightly exceeds the maximum or minimum amplitude value that can be represented by the number of bits of the digital signal assigned to the musical tone signal by an amount corresponding to the quantization error.

【0009】このような場合、何も対策を講じないと、
最大又は最小の振幅値をわずかに越えただけでも、デジ
タル信号の場合は符号の反転等が発生する。すなわち、
上記振幅値が正の最大値よりわずかに大きくなっただけ
で、そのデジタル振幅値は負の振幅値側に折り返ってし
まう。逆に、上記振幅値が負の最小値よりわずかに小さ
くなっただけで、そのデジタル振幅値は正の振幅値側に
折り返ってしまう。
In such a case, if no measures are taken,
Even if the amplitude value slightly exceeds the maximum or minimum amplitude value, in the case of a digital signal, sign inversion or the like occurs. That is,
Even if the amplitude value becomes slightly larger than the positive maximum value, the digital amplitude value is folded back to the negative amplitude value side. Conversely, if the amplitude value becomes slightly smaller than the negative minimum value, the digital amplitude value will turn back to the positive amplitude value side.

【0010】そして、このような事態が発生すると、得
られる楽音信号の波形は実際の波形の変化から大きくか
け離れた波形となってしまい、その楽音信号がそのまま
発音された場合、大きなノイズが発生して楽音信号の音
質が著しく低下してしまうという問題点を有していた。
When such a situation occurs, the waveform of the obtained musical tone signal becomes a waveform far apart from the change of the actual waveform, and if the musical tone signal is produced as it is, a large noise is generated. Therefore, there is a problem that the tone quality of the musical tone signal is remarkably deteriorated.

【0011】本発明は、音源処理方式としてADPCM
方式が採用された場合、量子化誤差によって音源処理の
過程で楽音信号に生じるノイズ成分を最小限に抑えるこ
とを可能とする楽音波形の圧縮技術を提供することにあ
る。
The present invention relates to an ADPCM as a sound source processing system.
It is an object of the present invention to provide a musical sound waveform compression technique capable of minimizing a noise component generated in a musical sound signal in a sound source processing process due to a quantization error when a system is adopted.

【0012】[0012]

【課題を解決するための手段】本発明は、適応差分パル
ス符号変調方式によって楽音信号を発生する楽音波形発
生装置で使用される適応量子化された差分データを生成
するための楽音波形圧縮方法を前提とし、以下の各過程
が実行される。
SUMMARY OF THE INVENTION The present invention provides a tone waveform compression method for generating adaptively quantized difference data used in a tone waveform generator for generating a tone signal by an adaptive difference pulse code modulation method. Assuming that the following steps are executed.

【0013】まず、現在のタイミングのデジタル楽音信
号の値と前回のタイミングまでの後述する再生された差
分値の累算値との差を演算し、現在のタイミングの差分
値を得る差分演算過程が実行される。
First, a difference calculation step of calculating the difference between the value of the digital musical tone signal at the current timing and the accumulated value of a reproduced difference value to be described later up to the previous timing to obtain a difference value at the current timing is described. Be executed.

【0014】次に、差分演算過程で得られた現在のタイ
ミングの差分値を圧縮しながら適応量子化を行い、現在
のタイミングの適応量子化された差分データを得る適応
量子化過程が実行される。
Next, an adaptive quantization step of performing adaptive quantization while compressing the difference value of the current timing obtained in the difference calculation process to obtain adaptively quantized difference data of the current timing is executed. .

【0015】また、適応量子化過程で得られた現在のタ
イミングの適応量子化された差分データを逆量子化し、
現在のタイミングの再生された差分値を演算する逆量子
化過程が実行される。
Further, the adaptively quantized difference data at the current timing obtained in the adaptive quantization process is inversely quantized,
An inverse quantization process for calculating the reproduced difference value at the current timing is performed.

【0016】続いて、逆量子化過程で得られる現在のタ
イミングの再生された差分値を前回のタイミングまでの
再生された差分値の累算値に累算し、現在のタイミング
までの再生された差分値の累算値を得る累算過程が実行
される。
Subsequently, the reproduced difference value at the current timing obtained in the inverse quantization process is accumulated to the accumulated value of the reproduced difference values up to the previous timing, and the reproduced value up to the current timing is reproduced. An accumulation process for obtaining an accumulated value of the difference values is performed.

【0017】また、累算過程で得られる現在のタイミン
グまでの再生された差分値の累算値が、楽音信号を生成
するために該楽音信号に割り当てられるビット数の最大
変化幅を越えたか否かを判定する判定過程が実行され
る。
Also, whether or not the accumulated value of the reproduced difference values up to the current timing obtained in the accumulation process exceeds the maximum change width of the number of bits allocated to the tone signal for generating the tone signal. Is determined.

【0018】更に、判定過程により現在のタイミングま
での再生された差分値の累算値が前記最大変化幅を越え
ないと判定された場合には、前記適応量子化過程で得ら
れた現在のタイミングの適応量子化された差分データを
出力する出力過程が実行される。
Further, when it is determined by the determining step that the accumulated value of the reproduced difference values up to the current timing does not exceed the maximum change width, the current timing obtained in the adaptive quantization step is obtained. An output process of outputting the adaptively quantized difference data of the above is performed.

【0019】加えて、判定過程により前述の現在のタイ
ミングまでの再生された差分値の累算値が前述の最大変
化幅を越えたと判定された場合には、適応量子化過程で
得られた現在のタイミングの適応量子化された差分デー
タの値を、その値に基づいて累算過程で得られる現在の
タイミングまでの再生された差分値の累算値が最大変化
幅を越えないように変更して前述の逆量子化過程、累算
過程及び判定過程を繰り返させる差分データ変更過程が
実行される。この場合の変更動作は、例えば現在のタイ
ミングの適応量子化された差分データの絶対値を1デー
タ値だけ少ないデータ値に変更する動作である。
In addition, if it is determined in the determining step that the accumulated value of the reproduced difference values up to the above-mentioned present timing exceeds the above-mentioned maximum change width, the current value obtained in the adaptive quantization step is obtained. The value of the adaptively quantized difference data at the timing of the above is changed so that the accumulated value of the reproduced difference values up to the current timing obtained in the accumulation process based on the value does not exceed the maximum change width. Then, a difference data changing step of repeating the above-described inverse quantization step, accumulation step and determination step is executed. The changing operation in this case is, for example, an operation of changing the absolute value of the adaptively quantized difference data at the current timing to a data value smaller by one data value.

【0020】そして、ここまでの各過程を楽音信号の発
生タイミング毎に繰り返させる繰り返し過程が実行され
る。
Then, a repetition process of repeating each process up to this point for each tone signal generation timing is executed.

【0021】[0021]

【作用】本発明では、逆量子化過程及び累算過程におい
て、適応量子化過程で得られた現在のタイミングの適応
量子化された差分データに対して、音源処理と同様の再
生処理が行われ、音源処理により得られるであろう楽音
信号の波高値と同様の現在のタイミングの再生された差
分値の累算値が求められる。
According to the present invention, in the inverse quantization step and the accumulation step, the reproduction processing similar to the sound source processing is performed on the adaptively quantized difference data at the current timing obtained in the adaptive quantization step. Then, the accumulated value of the reproduced difference value at the current timing similar to the peak value of the musical sound signal which will be obtained by the sound source processing is obtained.

【0022】そして、この再生側に対応する累算値を使
用して、前述の差分演算過程が実行されることにより、
楽音信号の差分値の演算動作において、適応量子化を行
ったことによる誤差を吸収することができる。
Then, by using the accumulated value corresponding to the reproducing side to execute the above-described difference calculation process,
In the operation of calculating the difference value of the tone signal, an error caused by performing the adaptive quantization can be absorbed.

【0023】また、特に本発明では、上述の再生側に対
応する累算値が楽音信号に割り当てられるビット数の最
大変化幅を越えたか否かを判定することにより、適応量
子化過程で得られる現在のタイミングの適応量子化され
た差分データに基づいて音源処理が実行された場合に、
出力値の符号反転が発生しているか否かを判定すること
ができる。
In particular, in the present invention, it is obtained in the adaptive quantization step by determining whether or not the above-mentioned accumulated value corresponding to the reproducing side exceeds the maximum change width of the number of bits allocated to the tone signal. When the sound source processing is performed based on the adaptively quantized difference data at the current timing,
It can be determined whether or not the sign of the output value has been inverted.

【0024】そして、この判定過程において上記累算値
が前述の最大変化幅を越えたと判定された場合には、差
分データ変更過程が、適応量子化過程で得られた現在の
タイミングの適応量子化された差分データの値を、その
値に基づいて得られる累算値が前記最大変化幅を越えな
いように変更して、前述の逆量子化過程、累算過程、判
定過程及び出力過程を繰り返させる。
If it is determined in this determination step that the accumulated value has exceeded the above-mentioned maximum change width, the difference data change step includes the adaptive quantization of the current timing obtained in the adaptive quantization step. The value of the obtained difference data is changed so that the accumulated value obtained based on the value does not exceed the maximum change width, and the above-described inverse quantization step, accumulation step, determination step and output step are repeated. Let

【0025】このようにして変更された現在のタイミン
グの適応量子化された差分データを出力することによ
り、音源処理が実行された場合に、出力値の符号反転が
発生する事態を事前に防止することができ、ノイズの発
生を最小限に抑えることができる。
By outputting the adaptively quantized difference data of the current timing changed in this way, it is possible to prevent in advance the occurrence of the sign inversion of the output value when the sound source processing is executed. And the occurrence of noise can be minimized.

【0026】[0026]

【実施例】以下、図面を参照しながら本発明の実施例を
説明する。本実施例の構成 図1は、本発明の実施例の全体構成図である。
Embodiments of the present invention will be described below with reference to the drawings. Diagram 1 of the present embodiment is an overall configuration diagram of an embodiment of the present invention.

【0027】同図において、まず、装置全体はマイクロ
コンピュータ101により制御される。特に、楽器の制
御入力の処理のみならず、楽音を生成する処理もマイク
ロコンピュータ101で実行され、楽音生成用の音源回
路は必要としない。
In the figure, first, the entire apparatus is controlled by a microcomputer 101. In particular, not only the processing of control input of the musical instrument but also the processing of generating musical tones are executed by the microcomputer 101, and a tone generator for generating musical sounds is not required.

【0028】鍵盤102と機能キー103とからなるス
イッチ部104は楽器の操作入力部分であり、スイッチ
部104から入力された演奏情報はマイクロコンピュー
タ101で処理される。
A switch section 104 comprising a keyboard 102 and function keys 103 is an operation input portion of the musical instrument. Performance information input from the switch section 104 is processed by the microcomputer 101.

【0029】マイクロコンピュータ101が生成したア
ナログ変換後の楽音信号はローパスフィルタ105で平
滑化され、アンプ106で増幅された後、スピーカ10
7を介して放音される。電源回路108は、マイクロコ
ンピュータ101、ローパスフィルタ105及びアンプ
106に必要な電源を供給する。
The tone signal after analog conversion generated by the microcomputer 101 is smoothed by a low-pass filter 105, amplified by an amplifier 106,
7 is emitted. The power supply circuit 108 supplies necessary power to the microcomputer 101, the low-pass filter 105, and the amplifier 106.

【0030】次に、図2はマイクロコンピュータ101
の内部構成を示すブロック図である。制御データ兼波形
用ROM212には、後述するエンベロープ値の目標値
等の楽音制御パラメータ、ADPCM(アダプティブ差
分パルス符号変調)方式における楽音差分波形データ及
び量子化データが記憶されている。そして、コマンド解
析部207は、制御用ROM201のプログラムの内容
を順次解析しながら、制御データ兼波形用ROM212
上の上記各データをアクセスして、ソフトウエアによる
音源処理を行う。
Next, FIG.
FIG. 2 is a block diagram showing an internal configuration of the device. The control data / waveform ROM 212 stores tone control parameters such as a target value of an envelope value to be described later, tone difference waveform data in ADPCM (adaptive differential pulse code modulation), and quantized data. Then, the command analysis unit 207 sequentially analyzes the contents of the program in the control ROM 201 while controlling the control data / waveform ROM 212.
Each of the above data is accessed to perform sound source processing by software.

【0031】制御用ROM201には、後述する楽音制
御用のプログラムが記憶されており、ROMアドレス制
御部205からROMアドレスデコーダ202を介して
指定されたアドレスのプログラム語(命令)を順次出力
する。具体的には、各プログラム語の語長は例えば28
ビットであり、プログラム語の一部が次に読み出される
べきアドレスの下位部(ページ内アドレス)としてRO
Mアドレス制御部205に入力されるネクストアドレス
方式となっている。なお、当然、通常のプログラムカウ
ンタ方式のCPUで構成してもよい。
The control ROM 201 stores a tone control program to be described later, and sequentially outputs a program word (instruction) at a designated address from the ROM address control unit 205 via the ROM address decoder 202. Specifically, the word length of each program word is, for example, 28
And a part of the program word is designated as RO as the lower part (in-page address) of the address to be read next.
The next address method is input to the M address control unit 205. Of course, it may be constituted by a CPU of an ordinary program counter system.

【0032】コマンド解析部207は、制御用ROM2
01から出力される命令のオペコードを解析し、指定さ
れたオペレーションを実行するために、回路の各部に制
御信号を送る。
The command analysis unit 207 includes a control ROM 2
It analyzes the operation code of the instruction output from 01 and sends a control signal to each part of the circuit to execute the specified operation.

【0033】RAMアドレス制御部204は、制御用R
OM201からの命令のオペランドがレジスタを指定し
ている場合に、RAM206内の対応するレジスタのア
ドレスを指定する。RAM206には、図9及び図10
等として後述する各種楽音制御データが8発音チャネル
分記憶されるほか、後述する各種バッファ等が記憶さ
れ、後述する音源処理に使用される。
The RAM address control unit 204 includes a control R
When the operand of the instruction from the OM 201 specifies a register, the address of the corresponding register in the RAM 206 is specified. 9 and 10 are stored in the RAM 206.
For example, various tone control data described later are stored for eight sounding channels, and various buffers and the like described later are stored and used for sound source processing described later.

【0034】ALU部208及び乗算器209は、制御
ROM31からの命令が演算命令の場合に、コマンド解
析部207からの指示に基づいて、前者は加減算と論理
演算、後者は乗算を実行する。
When the instruction from the control ROM 31 is an operation instruction, the ALU unit 208 and the multiplier 209 execute addition / subtraction and logical operation, and the latter execute multiplication based on an instruction from the command analysis unit 207.

【0035】インタラプト制御部203は、内部の特に
は図示しないハードタイマに基づいて、一定時間毎に、
ROMアドレス制御部205及びD/A変換器部213
にインタラプト信号を供給する。
The interrupt control unit 203, based on an internal hard timer (not shown), executes
ROM address control unit 205 and D / A converter unit 213
Supply an interrupt signal.

【0036】入力ポート210及び出力ポート211に
は、図1のスイッチ部104が接続される。制御用RO
M201又はRAM206から読み出される各種データ
は、バスを介してROMアドレス制御部205、ALU
部208、乗算器209、制御データ兼波形用ROM2
12、D/A変換器部213、入力ポート210及び出
力ポート211に供給される。また、ALU部208、
乗算器209及び制御データ兼波形用ROM212の各
出力は、バスを介してRAM206に供給される。
The switch unit 104 of FIG. 1 is connected to the input port 210 and the output port 211. RO for control
Various data read from the M201 or the RAM 206 are transmitted to the ROM address control unit 205 and the ALU via the bus.
Section 208, multiplier 209, control data / waveform ROM2
12, the D / A converter section 213, the input port 210, and the output port 211. Also, the ALU unit 208,
Each output of the multiplier 209 and the control data / waveform ROM 212 is supplied to the RAM 206 via the bus.

【0037】次に、図4は、図1のD/A変換器部21
3の内部構成を示すもので、データバスを介して、音源
処理で作成された楽音の1サンプルデータが、ラッチ3
01に入力される。そして、ラッチ301のクロック入
力に図2のコマンド解析部207から音源処理終了信号
が入力されると、データバス上の1サンプル分の楽音デ
ータが、図5に示すようにラッチ301にラッチされ
る。
FIG. 4 shows the D / A converter 21 of FIG.
3 shows an internal configuration of the latch 3 via a data bus.
01 is input. When the tone generator processing end signal is input from the command analyzer 207 of FIG. 2 to the clock input of the latch 301, the musical tone data for one sample on the data bus is latched by the latch 301 as shown in FIG. .

【0038】ここで、前述の音源処理に要する時間は、
音源処理用のソフトウエアの実行条件により変化するた
め、音源処理が終了し、ラッチ301に楽音データがラ
ッチされるタイミングは一定でない。そのため、図3の
ように、ラッチ301の出力をそのままD/A変換器3
03に入力させることはできない。
Here, the time required for the sound source processing is as follows.
Since the sound source processing varies depending on the execution condition of the software for the sound source processing, the timing at which the sound source processing ends and the tone data is latched in the latch 301 is not constant. Therefore, as shown in FIG. 3, the output of the latch 301 is directly used as the D / A converter
03 cannot be entered.

【0039】そこで、本実施例では図4の如く、ラッチ
301の出力をさらにラッチ401でラッチし、図2の
インタラプト制御部203から出力されるサンプリング
クロック間隔に等しいインタラプト信号により、楽音信
号をラッチ401にラッチさせ、一定間隔でD/A変換
器303に出力させるようにしている。
Therefore, in this embodiment, as shown in FIG. 4, the output of the latch 301 is further latched by the latch 401, and the tone signal is latched by an interrupt signal output from the interrupt control unit 203 shown in FIG. The data is latched at 401 and output to the D / A converter 303 at regular intervals.

【0040】このようにラッチを2つ用いて、音源方式
における処理時間の変化を吸収したので、楽音データを
D/A変換器へ出力させるための複雑なタイミング制御
プログラムが不用になった。本実施例の全体動作 次に、本実施例の全体動作を説明する。
As described above, the use of two latches absorbs a change in the processing time in the tone generator system, so that a complicated timing control program for outputting musical sound data to the D / A converter is unnecessary. Next, the overall operation of the present embodiment will be described.

【0041】本実施例では、マイクロコンピュータ10
1が、図6のメインフローチャートに示すように、S
602 〜S610 の一連の処理を繰り返し行っている。そし
て実際の音源処理は割り込み(インタラプト)処理で行
っている。具体的には、ある一定時間毎に、図6のメイ
ンフローチャートとして実行されているプログラムに割
り込みが掛かり、それに基づいて8チャンネルの楽音信
号を作る音源処理のプログラムが実行される。その処理
が終わると、8チャネル分の楽音波形が加算され、マイ
クロコンピュータ101に接続されているD/A変換器
部213から出力さえる。その後、割り込み状態からメ
インフローに戻る。なお、上述の割り込みは、図2のイ
ンタラプト制御部203内のハードタイマに基づき、周
期的に行われる。この周期は、楽音出力時のサンプリン
グ周期に等しい。
In this embodiment, the microcomputer 10
As shown in the main flowchart of FIG.
602 repeatedly performs a series of processes to S 610. The actual sound source processing is performed by interrupt processing. More specifically, the program executed as the main flowchart of FIG. 6 is interrupted at certain intervals, and a sound source processing program for generating an 8-channel tone signal is executed based on the interrupt. When the processing is completed, the tone waveforms for eight channels are added and output from the D / A converter unit 213 connected to the microcomputer 101. Thereafter, the process returns from the interrupt state to the main flow. Note that the above-described interrupt is periodically performed based on a hard timer in the interrupt control unit 203 in FIG. This period is equal to the sampling period at the time of outputting the musical sound.

【0042】以上が、本実施例の概略動作で、次に、図
6〜図8を用いて詳細に本実施例の全体動作を説明す
る。図6のメインフローチャートは、インタラプト制御
部203から割り込みが掛からない状態においてマイク
ロコンピュータ101で実行される、音源処理以外の処
理の流れを示している。
The above is the schematic operation of this embodiment. Next, the overall operation of this embodiment will be described in detail with reference to FIGS. The main flowchart of FIG. 6 shows a flow of processing other than the sound source processing, which is executed by the microcomputer 101 in a state where no interrupt is issued from the interrupt control unit 203.

【0043】まず、電源がONされ、マイクロコンピュ
ータ101内のRAM206(図2参照)の内容等の初
期設定が行われる(S601)。次に、マイクロコンピュー
タ101の外部に接続される機能キー103(図1参
照)の各スイッチが走査され(S602 )、各スイッチの
状態が入力ポート210からRAM206内のキーバッ
ファエリアに取り込まれる。その走査の結果、状態の変
化した機能キーが識別され、対応する機能の処理がなさ
れる(S603 )。例えば、楽音番号のセット、エンベロ
ープ番号のセット、また、付加機能にリズム演奏がつい
ていれば、リズム番号のセット等が行われる。
First, the power is turned on, and initial settings such as the contents of the RAM 206 (see FIG. 2) in the microcomputer 101 are performed (S 601 ). Next, each switch of the function key 103 (see FIG. 1) connected to the outside of the microcomputer 101 is scanned ( S602 ), and the state of each switch is taken into the key buffer area in the RAM 206 from the input port 210. As a result of the scanning, the function key whose state has changed is identified, and the processing of the corresponding function is performed ( S603 ). For example, setting of a musical tone number, setting of an envelope number, and setting of a rhythm number if the additional function has rhythm performance.

【0044】その後、図1の鍵盤102において押鍵さ
れている鍵盤キーが上記機能キーの場合と同様に取り込
まれ(S604 )、変化した鍵が識別されることによりキ
ーアサイン処理が行われる(S605 )。
Thereafter, the keyboard key pressed on the keyboard 102 in FIG. 1 is captured in the same manner as in the case of the function key ( S604 ), and a key assignment process is performed by identifying the changed key ( S604 ). S605 ).

【0045】次に、機能キー103(図1)で特には図
示しないデモ演奏キーが押されたときは、図2の制御デ
ータ兼波形用ROM212からデモ演奏データ(シーケ
ンサデータ)が順次読み出されて、キーアサイン処理な
どが行われる(S606 )。また、リズムスタートキーが
押されたときは、リズムデータが制御データ兼波形用R
OM212から順次読み出され、キーアサイン処理など
が行われる(S607 )。
Next, when a demo performance key (not shown) is pressed with the function key 103 (FIG. 1), demo performance data (sequencer data) is sequentially read from the control data / waveform ROM 212 of FIG. Then, key assignment processing and the like are performed ( S606 ). When the rhythm start key is pressed, the rhythm data is stored in the control data / waveform R
The data is sequentially read from the OM 212, and key assignment processing and the like are performed ( S607 ).

【0046】その後に、以下に述べるタイマー処理が行
われる(S608 )。すなわち、後述するインタラプトタ
イマー処理(S702 )でインクリメントされている時間
データの時間値が判別され、デモ演奏制御用に順次読み
出される時間制御用のシーケンサデータ又はリズム演奏
制御用に読み出される時間制御用のリズムデータと比較
されることにより、S606 のデモ演奏又はS607 のリズ
ム演奏を行う場合の時間制御が行われる。
Thereafter, a timer process described below is performed ( S608 ). That is, the time value of the incremented time data is determined in an interrupt timer process ( S702 ) described later, and the sequencer data for time control sequentially read out for demo performance control or the time control for time control read out for rhythm performance control By performing comparison with the rhythm data of step S606 , time control for performing the demonstration performance of S606 or the rhythm performance of S607 is performed.

【0047】さらに、発音処理S609 では、発音処理さ
れるべき楽音のピッチにエンベロープを付加し、対応す
る発音チャネルにピッチデータを設定するというピッチ
エンベロープ処理等が行われる。
Further, in the sound generation processing S609 , a pitch envelope processing or the like is performed in which an envelope is added to the pitch of the musical sound to be sound-processed, and pitch data is set in the corresponding sound generation channel.

【0048】更に、フロー1周準備処理が実行される
(S610)。この処理においては、S605の鍵盤キー処理に
おいて押鍵開始となったノート番号の発音チャネルの状
態を押鍵中に変えたり、離鍵となったノート番号の発音
チャネルの状態を消音中に変える等の処理が行われる。
Further, a one-round flow preparation process is executed.
( S610 ). In this process, alter or change the state of the sound channel of the note number that became a key-start in keyboard key processing of S 605 in the key depression, the state of the sound channel of the note number that became a key release in the silencer Are performed.

【0049】次に、図7図のインタラプト処理につき説
明する。図2のインタラプト制御部203により、図6
のメインフローに対応するプログラムに割り込みが掛か
ると、同プログラムの処理が中断され、図7のインタラ
プト処理プログラムの実行が開始される。この場合、イ
ンタラプト処理のプログラムにおいて、図6のメインフ
ローのプログラムで書き込みが行われるレジスタ等につ
いては、内容の書き換えが行われないように制御され
る。従って、通常のインタラプト処理の開始時と終了時
に行われるレジスタの退避と復帰の処理は不要となる。
これにより、図6のメインフローチャートの処理とイン
タラプト処理との間の移行が迅速に行われる。
Next, the interrupt processing shown in FIG. 7 will be described. 6 by the interrupt control unit 203 of FIG.
When the program corresponding to the main flow is interrupted, the processing of the program is interrupted, and the execution of the interrupt processing program of FIG. 7 is started. In this case, in the interrupt processing program, control is performed so that the contents of registers and the like to which writing is performed in the main flow program of FIG. 6 are not performed. Therefore, it is unnecessary to save and restore the registers at the start and end of the normal interrupt processing.
As a result, the transition between the processing of the main flowchart in FIG. 6 and the interrupt processing is quickly performed.

【0050】続いて、インタラプト処理において音源処
理が開始される(S701 )。この音源処理は図8に示さ
れる。この結果、8発音チャネル分が累算された楽音波
形データが、図2のRAM206内の後述するバッファ
Bに得られる。
Subsequently, sound source processing is started in the interrupt processing ( S701 ). This sound source processing is shown in FIG. As a result, tone waveform data in which eight sounding channels are accumulated is obtained in a buffer B described later in the RAM 206 of FIG.

【0051】さらに、S702 では、インタラプトタイマ
ー処理が行われる。ここでは、図7のインタラプト処理
が一定のサンプリング周期毎に実行されることを利用し
て、RAM206(図2)上の特には図示しない時間デ
ータの値がインクリメントされる。すなわち、この時間
データの値を見れば時間経過がわかる。このようにして
得られる時間データは、前述したように、図6のメイン
フローのタイマー処理S608 における時間制御に用いら
れる。
[0051] In addition, in S 702, interrupt timer processing is performed. Here, the value of the time data (not shown) on the RAM 206 (FIG. 2) is incremented by utilizing the fact that the interrupt process of FIG. 7 is executed at a constant sampling period. That is, the value of the time data indicates the passage of time. The time data thus obtained is used for time control in the timer process S608 of the main flow of FIG. 6, as described above.

【0052】そして、S703 において、上記バッファ領
域の内容がD/A変換器部213のラッチ301(図
4)にラッチされる。次に、図8のフローチャートを用
いて、インタラプト処理のステップS701 で実行される
音源処理の動作を説明する。
Then, in S703 , the contents of the buffer area are latched by the latch 301 (FIG. 4) of the D / A converter section 213. Next, the operation of the sound source processing executed in step S701 of the interrupt processing will be described with reference to the flowchart of FIG.

【0053】まず、RAM206の波形データ加算用の
領域がクリアされる(S801 )。次に、発音チャネルの
1チャネル毎に音源処理が行われ(S802 〜S809 )、
最後に8チャネル目の音源処理が終了した時点で所定の
バッファ領域Bに8チャネル分が加算された波形データ
が得られる。これらの詳細な処理については後述する。
First, an area for adding waveform data in the RAM 206 is cleared (S 801 ). Then, tone generator processing is performed for each channel of the sound channel (S 802 ~S 809),
Finally, when the sound source processing for the eighth channel is completed, waveform data obtained by adding the data for the eight channels to the predetermined buffer area B is obtained. Details of these processes will be described later.

【0054】次に図9は、前述の図6、図7のフローチ
ャートの処理の関係を概念的に示した流れ図である。ま
ず、ある処理A(以下、B、C、・・・、Fも同じ)が
行われる(S901 )。この「処理」は、図6のメインフ
ローチャートの、例えば「機能キー処理」、や「鍵盤キ
ー処理」などに対応する。その後、インタラプト処理に
入り、音源処理が開始される(S902 ) 。これにより、
1サンプル分の8発音チャネルをまとめた楽音信号が得
られ、D/A変換器部213に出力される。その後、メ
インフローチャートの何らかの処理Bに戻る。以上のよ
うな動作が、8つの全ての発音チャネルに対する音源処
理が行われながら繰り返される(S904 〜S911 )。そ
して、この繰り返し処理は、楽音の発音中続けられる。音源処理におけるデータ構成 次に、図7のS701 で実行される音源処理の具体例につ
いて説明する。
FIG. 9 is a flow chart conceptually showing the relationship between the processes in the flowcharts of FIGS. 6 and 7 described above. First, a certain process A (hereinafter, the same applies to B, C,..., F) is performed (S 901 ). This “processing” corresponds to, for example, “function key processing” or “keyboard key processing” in the main flowchart of FIG. Thereafter, an interrupt process is started, and a sound source process is started ( S902 ). This allows
A tone signal in which eight sounding channels for one sample are collected is obtained and output to the D / A converter unit 213. After that, the process returns to some process B in the main flowchart. Above operation is, the sound source processing for all eight sound channel is repeated while made (S 904 ~S 911). This repetition processing is continued while the musical sound is being generated. Data structure of tone generator processing Next, a specific example of tone generator processing executed in S 701 of FIG.

【0055】本実施例では、マイクロコンピュータ10
1が、8発音チャネル分の音源処理を分担することは前
述した。この8チャネル分の音源処理用のデータは、図
10に示すようなデータフォーマットで、図2のRAM
206内の発音チャネル毎の領域に設定される。
In this embodiment, the microcomputer 10
As described above, 1 shares the sound source processing for eight sounding channels. The data for sound source processing for these eight channels has a data format as shown in FIG.
This is set in an area for each sounding channel in 206.

【0056】また、このRAM206に、図11に示す
ような波形累算用のバッファBが確保されている。この
場合、図10の各発音チャネル領域には、ADPCM方
式に基づく音源処理用の各種制御データが格納される。
同図において、Aは、音源処理時に適応量子化差分デー
タ(後述する)が読み出される場合に指定されるアドレ
スを表し、AI が現在アドレスの整数部で、制御データ
兼波形用ROM212(図2)の適応量子化差分データ
が格納されているアドレスに直接対応する。また、AF
は現在アドレスの小数部で、上記ROM412から読み
出され逆量子化された差分値の補間に用いられる。つぎ
のPI はピッチデータの整数部、PF はピッチデータの
小数部を表す。例を示すと、PI =1、PF =0は原音
のピッチを、PI =2、PF =0は1オクターブ上のピ
ッチを、また、PI =0、PF =0.5は、1オクター
ブ下のピッチをそれぞれ表す。その他の種々の制御デー
タについては、後述のADPCM方式の説明の際に詳述
する。
In this RAM 206, a buffer B for waveform accumulation as shown in FIG. In this case, various control data for sound source processing based on the ADPCM method are stored in each sounding channel area in FIG.
In the figure, A is represents the address specified when adaptive quantized differential data at the sound source processing (described later) is read, an integer part of A I the current address, control data and the waveform ROM 212 (Fig. 2 ) Directly corresponds to the address where the adaptive quantization difference data is stored. Also, A F
Is a decimal part of the current address, which is used for interpolation of the dequantized difference value read from the ROM 412. The integer part of the next P I is the pitch data, P F represents the fractional part of the pitch data. For example, P I = 1, P F = 0 indicates the pitch of the original sound, P I = 2, P F = 0 indicates the pitch one octave higher, and P I = 0, P F = 0.5. Represents a pitch one octave below. Other various control data will be described in detail when the ADPCM system is described later.

【0057】本実施例では、図6のメインフローが実行
される場合に、音源処理に必要な制御データ、例えばピ
ッチデータ、エンベロープデータ等が、対応する発音チ
ャネル領域に設定される。そして、図7のインタラプト
処理での音源処理として実行される図8の各チャネル対
応の音源処理において、上記発音チャネル領域に設定さ
れている各種制御データが使用されながら、楽音の生成
処理が実行される。このようにメインフローのプログラ
ムと音源処理プログラムとの間のデータの通信は、RA
M206上の発音チャネル領域の制御データ(楽音生成
データ)を介して行われ、各プログラムにおける発音チ
ャネル領域に対するアクセスは相手のプログラムの実行
状態に一切関わりなく行えばよいため、実質的に両プロ
グラムを独立したモジュール構成とすることができ、簡
単かつ効率的なプログラム構造とすることができる。
In this embodiment, when the main flow of FIG. 6 is executed, control data necessary for sound source processing, such as pitch data and envelope data, are set in the corresponding sounding channel area. Then, in the sound source processing corresponding to each channel shown in FIG. 8 which is executed as the sound source processing in the interrupt processing shown in FIG. 7, the tone generation processing is executed while using the various control data set in the sounding channel area. You. As described above, data communication between the main flow program and the sound source processing program is performed by RA
This is performed via the control data (musical tone generation data) of the tone generation channel area on M206, and the access to the tone generation channel area in each program may be performed irrespective of the execution state of the other program. An independent module configuration can be used, and a simple and efficient program structure can be obtained.

【0058】さらに、制御データ兼波形用ROM212
には、特には図示しないデータフォーマットで適応量子
化差分データ(後述する)が記憶されると共に、図17
(a)、図18(b) のような伸張テーブルが記憶される。
このテーブルは、後述するように、制御データ兼波形量
ROM212から読み出された適応量子化差分データの
逆量子化を行うために使用されるデータである。このほ
か、同ROM212には、各音色に対応する楽音生成用
の制御データが記憶されており、演奏者により或る音色
が設定された場合に、同ROM212からRAM206
の前述の各発音チャネル領域に上記制御データが転送、
設定される。ADPCM方式による音源処理の原理 以下、このようなデータ構成を用いて実行される、図8
の1チャネル毎の各音源処理(S802 〜S809 のいずれ
か)であるADPCM方式の音源処理について説明す
る。なお、この音源処理は、マイクロコンピュータ10
1のコマンド解析部207が、制御用ROM201に格
納されている音源処理用のプログラムを解釈・実行する
ことにより実現される。以下、特に言及しないかぎり、
この前提のもとで処理が行われるものとする。
Furthermore, ROM 212 for control data and waveform
17 stores adaptive quantized difference data (described later) in a data format (not shown).
(a) and an expansion table as shown in FIG. 18 (b) are stored.
This table is data used to perform inverse quantization of the adaptive quantization difference data read from the control data / waveform amount ROM 212 as described later. In addition, the ROM 212 stores control data for musical tone generation corresponding to each tone, and when a certain tone is set by a player, the ROM 212 stores the RAM 206
The above-mentioned control data is transferred to each sounding channel area of the above,
Is set. The principle of the sound source processing by the ADPCM method will be described below.
The sound source processing of the ADPCM method, which is the sound source processing for any one channel (any of S 802 to S 809 ), will be described. This sound source processing is performed by the microcomputer 10
The first command analysis unit 207 is realized by interpreting and executing a sound source processing program stored in the control ROM 201. In the following, unless otherwise noted,
It is assumed that processing is performed on this premise.

【0059】始めに、ADPCM方式の動作原理の概略
を説明する。まず、図12において、制御データ兼波形
用ROM212(図2)のアドレスAI に対応するサン
プルデータXP は、アドレスAI の1つ前の、特には図
示しないアドレス(AI −1)に対応するサンプルデー
タとの差分値から求めた値である。
First, an outline of the operation principle of the ADPCM system will be described. First, in FIG. 12, the sample data X P corresponding to the address A I for control data and the waveform ROM 212 (Fig. 2) is, prior to one of the addresses A I, the address (A I -1) which is not shown in FIG. This is a value obtained from the difference value with the corresponding sample data.

【0060】制御データ兼波形用ROM212のアドレ
スAI には、つぎのサンプルデータとの差分値Dを求め
るための適応量子化差分データが書き込まれており、こ
のデータから差分値Dが求まる。従って、つぎのアドレ
スのサンプルデータはXP +Dで求まり、これが新たな
サンプルデータXP としておきかわる。
At the address A I of the control data / waveform ROM 212, adaptive quantization difference data for obtaining a difference value D from the next sample data is written, and the difference value D is obtained from this data. Thus, the sample data of the next address Motomari in X P + D, which replaces the new sample data X P.

【0061】この場合、現在アドレスを同図に示すよう
にAF とすれば、現在アドレスAF に対応するサンプル
データは、XP +D×AF で求まる。このように、AD
PCM方式では、現在のアドレスと、つぎのアドレスに
対応するサンプルデータ間の差分値Dを求めるための適
応量子化差分データが制御データ兼波形用ROM212
(図2)から読み出され、それに基づいて差分値Dが計
算され、現在のサンプルデータに加算されて、つぎのサ
ンプルデータが求められることにより、順次波形データ
が作成される。
In this case, assuming that the current address is A F as shown in the figure, the sample data corresponding to the current address A F can be obtained by X P + D × A F. Thus, AD
In the PCM method, adaptive quantization difference data for obtaining a difference value D between a current address and sample data corresponding to the next address is stored in the control data / waveform ROM 212.
(FIG. 2), the difference value D is calculated based on the calculated value, added to the current sample data, and the next sample data is obtained, thereby sequentially generating waveform data.

【0062】このようなADPCM方式を採用すると、
隣接する標本間の差分値が一般に小さい音声や楽音等の
ような波形を量子化する場合、通常のPCM方式に比較
して、少ないビット数で量子化を行えることは明らかで
ある。
When such an ADPCM system is adopted,
When quantizing a waveform such as a voice or a musical tone in which the difference value between adjacent samples is generally small, it is apparent that the quantization can be performed with a smaller number of bits as compared with the ordinary PCM method.

【0063】さらに、ADPCM方式においては、以下
のような巧妙な適応量子化の原理が採用されている。
今、例えば楽音波形の差分値をメモリに記憶させる場
合、一定のS/Nを確保しながら最大±Eの振幅値(例
えば電圧値)をとり得る差分値を量子化するために、n
ビットの量子化ビット数が必要であるとする。これに対
して、メモリ容量の制約等から1サンプルデータあたり
nビットより少ないmビットのデータ量しか割り当てら
れない場合、差分値を1サンプルあたりなんとかmビッ
トで量子化しなければならない。
Further, in the ADPCM method, the following principle of adaptive quantization is adopted.
Now, for example, when storing a difference value of a musical tone waveform in a memory, n is quantized to a difference value that can take an amplitude value (eg, a voltage value) of a maximum ± E while securing a constant S / N.
It is assumed that a bit quantization bit number is required. On the other hand, when only a data amount of m bits smaller than n bits per sample data is allocated due to a limitation of a memory capacity or the like, the difference value must be somehow quantized by m bits per sample.

【0064】そのために通常は、±Eの振幅値の範囲を
m 分割することになるが、これでは量子化幅が広がっ
てS/Nが劣化してしまう。そこで、ADPCM方式で
は、楽音波形等の差分値をメモリに記憶等させる場合
に、一定のS/Nを確保できて、かつ、mビットで表現
できる振幅値の絶対値が|±E|より小さい|±e|の
範囲を定める。そして、振幅値の絶対値が|±e|より
大きな差分値は、1以上の正規化係数で割ってその範囲
内に入るように圧縮し、その後にmビットで量子化し、
メモリに記憶等させる。これにより、一定のS/Nを確
保したまま1サンプルデータあたりの量子化ビット数を
減らすことができ、メモリ容量を減らすことができる。
このような操作を適応量子化と呼ぶ。
For this reason, the range of the amplitude value of ± E is usually divided into 2 m, but this increases the quantization width and degrades the S / N. Therefore, in the ADPCM method, when storing a difference value of a musical tone waveform or the like in a memory, a constant S / N can be secured, and the absolute value of an amplitude value that can be expressed by m bits is smaller than | ± E |. The range of | ± e | is determined. Then, the difference value whose absolute value of the amplitude value is larger than | ± e | is divided by one or more normalization coefficients, compressed so as to fall within the range, and then quantized with m bits.
It is stored in a memory. This makes it possible to reduce the number of quantization bits per sample data while securing a constant S / N, and reduce the memory capacity.
Such an operation is called adaptive quantization.

【0065】ここで、上述のように適応量子化された差
分データから元の差分値を再現するためには、各サンプ
ルデータの適応量子化を行ったときの上記正規化係数も
いっしょに記憶させておき、適応量子化された差分デー
タをメモリから読み出すときに、それに対応する正規化
係数もいっしょに読みだし、適応量子化された差分デー
タに乗算して元の差分値を再生しなければならない。こ
の操作を逆量子化と呼ぶ。
Here, in order to reproduce the original difference value from the difference data adaptively quantized as described above, the above-mentioned normalization coefficient at the time of performing the adaptive quantization of each sample data is also stored. In addition, when the adaptively quantized difference data is read from the memory, the corresponding normalization coefficient must also be read out, and the original difference value must be reproduced by multiplying the adaptively quantized difference data. . This operation is called inverse quantization.

【0066】しかし、1サンプルデータごとに上記正規
化係数を記憶させたのでは、結局、振幅値が±Eの範囲
の差分値をnビットで量子化したのと同程度の記憶容量
が必要になってしまい、データ圧縮は実現できない。
However, storing the above-described normalization coefficient for each sample data requires a storage capacity equivalent to that obtained by quantizing a difference value having an amplitude value of ± E in n bits. Therefore, data compression cannot be realized.

【0067】そこで、記憶容量の増加を抑えることので
きるADPCM方式による音源処理の実施例につき、以
下に説明する。ADPCM方式による音源処理の実施例 本実施例では、楽音波形の差分値の振幅の分布が予め楽
音波形に特有の分布となることを利用して、正規化係数
の代わりに、差分値の各振幅をどの値に圧縮するかとい
う図17(a) 、図18(a) で後述するような圧縮特性の
テーブルを定め、差分値をメモリ(図2の212)に記
憶させる際に、この圧縮テーブルで圧縮を行いながら適
応量子化して記憶させることとする。そして、音源処理
時には、その圧縮特性の逆特性である伸張特性で適応量
子化された差分値を伸張しながら逆量子化を行って元の
差分値を再生し、それを累算して楽音波形を再生すれば
よい。そのために、制御データ兼波形用ROM212
(図2)には、上記伸張特性で伸張を行うための図17
(b) 、図18(b) で後述するような伸張テーブルを記憶
させておく。
An embodiment of the sound source processing according to the ADPCM method which can suppress an increase in storage capacity will be described below. Embodiment of the sound source processing by the ADPCM method This embodiment utilizes the fact that the amplitude distribution of the difference value of the musical tone waveform becomes a distribution specific to the musical tone waveform in advance, and uses each amplitude of the difference value instead of the normalization coefficient. 17 (a) and 18 (a), a table of compression characteristics, which will be described later, is used to determine which value is to be compressed. When the difference value is stored in the memory (212 in FIG. 2), Adaptively quantized while compressing the data and storing it. At the time of sound source processing, the original difference value is reproduced by performing inverse quantization while expanding the difference value adaptively quantized by the expansion characteristic, which is the inverse characteristic of the compression characteristic, and is accumulated to obtain the tone waveform. Can be played. Therefore, the control data / waveform ROM 212
(FIG. 2) shows FIG. 17 for performing expansion with the above expansion characteristics.
(b), an expansion table as described later with reference to FIG. 18 (b) is stored.

【0068】以上のADPCM方式の音源処理の実施例
の動作を、図13〜図15の動作フローチャートを用い
て説明する。フロー中の各変数は、図2のマイクロコン
ピュータ101内のRAM206上の対応する発音チャ
ネル領域に図10のデータフォーマットで確保されてい
る。
The operation of the embodiment of the sound source processing of the ADPCM system will be described with reference to the operation flowcharts of FIGS. Each variable in the flow is secured in the corresponding sounding channel area on the RAM 206 in the microcomputer 101 of FIG. 2 in the data format of FIG.

【0069】図13〜図15に基づく音源処理は、大き
く分けてエンベロープ処理(S1301〜S1307)と、波形
処理(S1308〜S1324)から構成される。まず、図12
及び図13のADPCM方式の原理に基づく波形処理の
前に、エンベロープ処理について説明する。
The sound source processing based on FIGS. 13 to 15 is roughly divided into an envelope processing (S 1301 to S 1307 ) and a waveform processing (S 1308 to S 1324 ). First, FIG.
Before the waveform processing based on the principle of the ADPCM method shown in FIG. 13, the envelope processing will be described.

【0070】図16は、エンベロープ処理で生成される
エンベロープを示した図である。S1301〜S1307の処理
により生成されるエンベロープ値Eは、後述するステッ
プS1323において楽音波形出力Oに乗算されることによ
り、楽音波形の各サンプルデータにエンベロープが付加
される。
FIG. 16 is a diagram showing an envelope generated by the envelope processing. Envelope value E that is generated by the processing of S 1301 to S 1307, by being multiplied by the tone waveform output O in step S 1323 to be described later, the envelope is added to each sample data of the tone waveform.

【0071】各楽音波形データに付加されるエンベロー
プは、時間的にいくつかのステップ(セグメント)から
構成されている。同図では、4ステップの例が示されて
いる。図中のΔxはエンベロープのサンプリング周期で
あり、Δyはエンベロープ値の変化幅である。
The envelope added to each tone waveform data is composed of several steps (segments) in time. In the figure, an example of four steps is shown. In the figure, Δx is the sampling period of the envelope, and Δy is the change width of the envelope value.

【0072】エンベロープ処理S1301〜S1307では、サ
ンプリングタイミング毎のエンベロープ値Eの計算と、
その値が現在のステップの目標エンベロープ値OEに達
したか否かのチェックが行われる。そして、EがOEに
達したときには、図6のメインフローにおけるS609
発音処理においてそれが検知されて、次のステップのエ
ンベロープのためのデータ(Δx、Δy及び目標エンベ
ロープ値OE)が、図2の制御データ兼波形用ROM2
12から読み出されて、RAM206(図2)上の対応
する発音チャネル領域(図10参照)にセットされてい
る。
In the envelope processing S 1301 to S 1307 , calculation of the envelope value E for each sampling timing,
A check is made as to whether the value has reached the target envelope value OE of the current step. Then, when E reaches OE, it is detected in the sound generation processing of S609 in the main flow of FIG. 6, and the data (Δx, Δy and target envelope value OE) for the envelope of the next step are shown in FIG. 2 control data and waveform ROM2
12 are set in the corresponding sounding channel area (see FIG. 10) on the RAM 206 (FIG. 2).

【0073】具体的には、S1301で、エンベロープの演
算周期Δxと比較するためのタイマ値Δxt が、インタ
ラプトタイミング毎にインクリメントされる。次に、S
1302で、ΔxがΔxt と一致したか否かが判定される。
Specifically, in S 1301 , the timer value Δx t for comparison with the envelope calculation period Δx is incremented at each interrupt timing. Next, S
In 1302, whether [Delta] x matches the [Delta] x t is determined.

【0074】一致しなければエンベロープ処理は行われ
ない。S1302で、ΔxがΔxt と一致したと判定された
場合、S1303で、エンベロープ値の変化幅Δyの符号ビ
ットが判別される。
If they do not match, no envelope processing is performed. In S 1302, if the [Delta] x is determined to match the [Delta] x t, in S 1303, the sign bit of variation Δy of the envelope values are determined.

【0075】符号ビットが正でS1303の判定がYESの
場合、すなわち、エンベロープが上昇中の場合には、ス
テップS1304において、現在エンベロープ値Eに変化幅
Δyが加算される。
If the sign bit is positive and the determination in S 1303 is YES, that is, if the envelope is rising, the change width Δy is added to the current envelope value E in step S 1304 .

【0076】逆に、符号ビットが負でS1303の判定がN
Oの場合、すなわち、エンベロープが下降中の場合に
は、ステップS1305において、現在エンベロープ値Eか
ら変化幅Δyが減算される。
Conversely, if the sign bit is negative and the determination in S 1303 is N
O, see i.e., envelope in the case of descending, in step S 1305, the variation width Δy from a current envelope value E is subtracted.

【0077】その後、S1306において、現在エンベロー
プ値Eが目標エンベロープ値OE以上となったか否かが
判別される。EがOE以上となった場合には、現在エン
ベロープ値Eが目標エンベロープ値OEで置き換えられ
る。
Thereafter, in S1306 , it is determined whether or not the current envelope value E has become equal to or larger than the target envelope value OE. When E becomes OE or more, the current envelope value E is replaced with the target envelope value OE.

【0078】これが、前述の如く図6のメインフローに
おけるS609 の発音処理で検知されて、次のステップの
エンベロープのためのデータがRAM206上にセット
される。なお、発音処理で現在エンベロープ値Eとして
0が検出された場合には、発音の終了として処理され
る。
As described above, this is detected in the sound generation processing of S609 in the main flow of FIG. 6, and data for the envelope of the next step is set on the RAM 206. If 0 is detected as the current envelope value E in the sound generation processing, the processing is performed as the end of sound generation.

【0079】次に、図12のADPCM方式の原理に基
づく、S1308〜S1324の波形処理について説明する。制
御データ兼波形用ROM212(図2)上の適応量子化
差分データが記憶されているアドレスのうち、現在の処
理の対象とされるデータが記憶されているアドレスを図
10の(AI,F )とする。
Next, the waveform processing of S 1308 to S 1324 based on the principle of the ADPCM system shown in FIG. 12 will be described. Of the addresses at which the adaptive quantization difference data is stored in the control data / waveform ROM 212 (FIG. 2), the addresses at which the data to be processed at present are stored are indicated by (A I, A in FIG. 10). F ).

【0080】まず、現在アドレス(AI,F )にピッチ
データ(PI,F )が加算される(S1308)。このピッ
チデータは、図1の鍵盤102において押鍵操作された
鍵番号に対応している。
First, pitch data (P I, P F ) is added to the current address (A I, A F ) (S 1308 ). This pitch data corresponds to a key number of a key pressed on the keyboard 102 of FIG.

【0081】そして、加算されたアドレスの整数部AI
に変化があるか否かが判定される(S1309)。判定がN
Oならば、図12のアドレスAI における差分値Dを用
いて、D×AF なる演算処理により、アドレスの小数部
F に対応する補間データ値Oが演算される
(S1321)。なお、差分値Dは、今回以前のインタラプ
トタイミングにおける音源処理により求まっている(後
述するS1314又S1317参照)。
Then, the integer part A I of the added address
It is determined whether or not there is a change ( S1309 ). Judgment is N
If it is O, the interpolation data value O corresponding to the decimal part A F of the address is calculated by the calculation process of D × A F using the difference value D at the address A I in FIG. 12 (S 1321 ). Note that the difference value D is obtained by the sound source processing at the interrupt timing before this time (see S1314 or S1317 described later).

【0082】次に、上記補間データ値Oにアドレスの整
数部AI に対応するサンプルデータXP が加算され、現
在アドレス(AI,F )に対応する新しいサンプルデー
タO(図12のXQに対応)が得られる(S1322)。
Next, the sample data X P corresponding to the integer part A I address to the interpolation data value O is added, the current address (A I, A F) new sample data corresponding to O (in FIG. 12 X (Corresponding to Q ) is obtained ( S1322 ).

【0083】この後、このサンプルデータに、前述のエ
ンベロープ処理で求まっているエンベロープ値Eが乗算
され(S1323)、得られたOの内容がRAM206(図
2)内の波形データバッフアB(図11参照)に累算さ
れる(S1324)。このバッファBには、他の発音チャネ
ルに対する音源処理(図8S802 〜S809 )で生成され
た楽音波形出力が累算され、最終的に8チャネル分が累
算されたデータとして、1サンプル分の楽音波形データ
が生成される。
Thereafter, the sample data is multiplied by the envelope value E obtained by the above-described envelope processing (S 1323 ), and the contents of the obtained O are stored in the waveform data buffer B (FIG. 11) in the RAM 206 (FIG. 2). (See S 1324 ). The buffer B, tone generator processing (FIG 8S 802 to S 809) tone waveform output produced by for the other sound channel are accumulated, finally as 8 channels are accumulated data, one sample Is generated.

【0084】その後、図6のメインフローに戻り、つぎ
のサンプリング周期でインタラプトが掛かって、図13
〜図15の音源処理の動作フローチャートがふたたび実
行されて、現在アドレス(AI,F )にピッチデータ
(PI,F )が加算される(S 1308)。
Thereafter, returning to the main flow of FIG.
FIG. 13 shows an interrupt in the sampling period of FIG.
-The operation flow chart of the sound source processing of FIG.
The current address (AI,AF) To pitch data
(PI,PF) Is added (S 1308).

【0085】以上の動作が、アドレスの整数部AI に変
化が生ずるまで繰り返される。 この間、サンプルデー
タXP 及び差分値Dは更新されず、補間データOのみが
アドレスAF に応じて更新され、その都度新たなサンプ
ルデータXQ が得られる。
The above operation is repeated until a change occurs in the integer part A I of the address. During this time, the sample data XP and the difference value D are not updated, only the interpolation data O is updated according to the address AF, and new sample data XQ is obtained each time.

【0086】 次に、S1308で現在アドレス(A
I,F )にピッチデータ(PI,F )が加算された結
果、現在アドレスの整数部AI が変化したら
(S1309)、アドレスAI がエンドアドレスAE に達し
ているか又は越えているか否かが判定される
(S1310)。
[0086] Next, in S1308 , the current address (A
If the integer part A I of the current address changes as a result of adding the pitch data (P I, P F ) to the current address ( I, A F ) (S 1309 ), the address A I reaches or exceeds the end address A E. It is determined whether or not it is ( S1310 ).

【0087】判定がNOの場合、以下のS1311〜S1314
のループ処理により、現在アドレスの整数部AI に対応
するサンプルデータが計算される。すなわち、まず、旧
I という変数(図10参照)には、現在アドレスの整
数部AI が変化する前の値が格納されている。これは、
後述するS1313又はS1320の処理の繰り返しにより実現
される。
If the determination is NO, the following S 1311 to S 1314
, The sample data corresponding to the integer part A I of the current address is calculated. That is, first, the value before the change of the integer part A I of the current address is stored in the variable A 1 (see FIG. 10). this is,
Is realized by repeating the processing of S 1313 or S 1320 will be described later.

【0088】この旧AI の値がS1313で順次インクリメ
ントされながら、S1314において、旧AI により指示さ
れる制御データ兼波形用ROM212(図2)上の適応
量子化差分データが読み出され、逆量子化の処理により
差分値Dが演算される。この逆量子化は、前述した如
く、上記適応量子化差分データを入力として、ROM2
12上に記憶されている図17(b) 、図18(b) の例の
ような特性を有する伸張テーブルで直接伸張されること
により実現され、これにより差分値Dが演算される。
While the value of the old A I is sequentially incremented in S 1313 , the adaptive quantization difference data on the control data / waveform ROM 212 (FIG. 2) designated by the old A I is read in S 1314 . , The difference value D is calculated by the inverse quantization process. As described above, this inverse quantization is performed by inputting the adaptive quantization difference data to the ROM 2.
17 (b) and 18 (b) stored on the memory 12 and directly expanded by an expansion table having characteristics as shown in FIGS. 17 (b) and 18 (b), whereby the difference value D is calculated.

【0089】楽音波形信号の場合、その波形特性は予め
わかっているため、生成される楽音の特性別に図17
(a) 又は図18(b) の例のような伸張テーブルを複数組
用意して制御データ兼波形用ROM212に記憶させる
ことにより、現在の適応量子化差分データの大きさに基
づいて、それを生成されるべき楽音に対応する伸張テー
ブルによって直接逆量子化できる。このため、通常の通
信音声信号のように長時間の平均的な特性しかわからな
いような信号に適用した場合に比較し、はるかに正確な
適応量子化を行うことが可能となり、高品質かつ高圧縮
率で楽音信号の記録・再生が可能となる。
In the case of a musical tone waveform signal, since its waveform characteristics are known in advance, FIG.
By preparing a plurality of sets of expansion tables as shown in (a) or FIG. 18 (b) and storing them in the control data / waveform ROM 212, based on the size of the current adaptive quantized difference data, It can be directly dequantized by a decompression table corresponding to the tone to be generated. For this reason, it is possible to perform much more accurate adaptive quantization than when applied to signals whose average characteristics are known for a long time, such as a normal communication voice signal. Recording / reproduction of a musical tone signal can be performed at a desired rate.

【0090】この場合、演奏者による音色の設定等に対
応して、どの伸張テーブルで伸張を行うかを示すテーブ
ル選択データTBLが、例えば図6のメインフローの機
能キー処理S603 等でRAM206(図2)上の図10
に示される各発音チャネル領域に設定される。そして、
上記伸張処理時に、そのテーブル選択データTBLに対
応する伸張テーブルが制御データ兼波形用ROM212
から読み出される。
In this case, table selection data TBL indicating which expansion table is to be used for expansion in accordance with the setting of the tone color by the player, etc., is stored in the RAM 206 (see FIG. 2) Figure 10 above
Are set in each sounding channel area shown in FIG. And
At the time of the above expansion processing, the expansion table corresponding to the table selection data TBL is stored in the control data / waveform ROM 212.
Is read from.

【0091】以上のようにして、ステップS1314で差分
値Dが演算される。そして、この差分値Dが、ステップ
1312において順次サンプルデータXP に累算される。
以上の動作が繰り返される結果、旧AI の値が変化後の
現在アドレスの整数部AI に等しくなった時点で、サン
プルデータXP の値は変化後の現在アドレスの整数部A
I に対応する値となる。
As described above, the difference value D is calculated in step S1314 . Then, the difference value D is accumulated in the sequential sample data X P at step S 1312.
The results above operation is repeated, when the value of the old A I is equal to the integer portion A I of the current address after the change, the sample data X P value integer part A of the current address after change
The value corresponds to I.

【0092】このようにして、現在アドレスの整数部A
I に対応するサンプルデータXP が求まると、S1311
判定がYESとなり、前述の補間値の演算処理
(S1321)に移る。
Thus, the integer part A of the current address
If the sample data X P corresponding to I is obtained, the determination is YES in S 1311, proceeds to the processing of the aforementioned interpolated value (S 1321).

【0093】上述の音源処理が各インタラプトタイミン
グ毎に繰り返され、S1310の判定がYESに変化した
ら、つぎのループ再生のための処理に入る。ループ再生
とは、楽音信号の所定の波形領域を繰り返し連続して発
音させる場合に実行される処理であり、予め設定された
ループアドレスAL からエンドアドレスAE までが、演
奏者による消音指示が発生するまで繰り返し発音される
処理である。これにより、全ての楽音信号を記憶させな
くても長時間の発音が可能となる。
[0093] sound source processing described above is repeated for each interrupt timing, the determination of S 1310 is When changes to YES, starts the processing for the next loop reproduction. Loop reproduction is a process executed when a predetermined waveform region of a musical tone signal is repeatedly and continuously generated, and when a preset loop address A L to an end address A E is set to a mute instruction by a player. This is a process that is repeatedly sounded until it occurs. As a result, it is possible to generate sound for a long time without storing all the tone signals.

【0094】まず、エンドアドレスAE を越えた分のア
ドレス(AI −AE )がループアドレスAL に加算さ
れ、得られたアドレスが新たな現在アドレスの整数部A
I とされる(S1315)。
[0094] First, an end address A E min addresses beyond the (A I -A E) is added to the loop address A L, the resulting address is a new current address integer part A
It is set to I ( S1315 ).

【0095】以下、ループアドレスAL からどれだけア
ドレスが進んだかによって、差分値Dが演算され累算さ
れる操作が何回か繰り返されることにより、新たな現在
アドレスの整数部AI に対応するサンプルデータXP
計算される。
The operation of calculating and accumulating the difference value D is repeated several times depending on how much the address has advanced from the loop address A L to correspond to the integer part A I of the new current address. Sample data XP is calculated.

【0096】すなわち、まず、初期設定としてサンプル
データXP が予め設定されているループアドレスAL
のサンプルデータXPL(図10参照)の値とされ、旧A
I がループアドレスALの値とされる(S1316)。
[0096] That is, first, the value of the sample data X PL (see FIG. 10) of the loop the address A L that sample data X P as the initial configuration is set in advance, the old A
I is set to the value of the loop address A L (S 1316 ).

【0097】AL 及びXPLは、予め制御データ兼波形用
ROM212からRAM206の各発音チャネル領域
(図10参照)に読み出されている。なお、これらは演
奏者が特には図示しない手段により設定できるようにし
てもよい。
A L and X PL are read in advance from the control data / waveform ROM 212 into each sounding channel area of the RAM 206 (see FIG. 10). It should be noted that these may be set by the player by means not specifically shown.

【0098】続いて、以下のS1317〜S1320の処理が繰
り返される。すなわち、旧AI の値がS1320で順次イン
クリメントされながら、S1317において、旧AI により
指示される制御データ兼波形用ROM212(図2)上
の適応量子化差分データが読み出され、S1314の場合と
同様の逆量子化(伸張)処理によって差分値Dが演算さ
れる。
Subsequently, the following steps S 1317 to S 1320 are repeated. That is, while the value of the old A I is sequentially incremented in S 1320 , the adaptive quantization difference data on the control data / waveform ROM 212 (FIG. 2) indicated by the old A I is read in S 1317 , The difference value D is calculated by the same inverse quantization (expansion) processing as in the case of 1314 .

【0099】そして、この差分値Dが、S1319において
順次サンプルデータXP に累算される。以上の動作が繰
り返される結果、旧AI の値が変化後の現在アドレスの
整数部AI に等しくなった時点で、サンプルデータXP
の値はループ処理後の新たな現在アドレスの整数部AI
に対応する値となる。
[0099] Then, the difference value D is accumulated in the sequential sample data X P in S 1319. As a result of repeating the above operation, when the value of the old A I becomes equal to the integer part A I of the changed current address, the sample data X P
Is the integer part A I of the new current address after loop processing.
Becomes the value corresponding to.

【0100】このようにして、新たな現在アドレスの整
数部AI に対応するサンプルデータXP が求まると、S
1318の判定がYESとなり、前述の補間値の演算処理
(S1321)に移る。
[0100] In this way, the sample data X P corresponding to the integer part A I of the new current address is obtained, S
The determination at 1318 is YES, and the process proceeds to the above-described interpolation value calculation processing ( S1321 ).

【0101】以上のようにして、1発音チャネル分のA
DPCM方式による波形データが生成される。ADPCM方式による楽音の適応量子化処理の実施例 次に、上述の音源処理を可能とするために、PCM楽音
信号に対して適応量子化(圧縮処理)をおこなって、適
応量子化差分データを求める処理の実施例について説明
する。
As described above, A for one sounding channel
Waveform data according to the DPCM method is generated. Embodiment of Adaptive Quantization Processing of Musical Sound by ADPCM Method Next, in order to enable the above-described sound source processing, adaptive quantization (compression processing) is performed on a PCM musical sound signal to obtain adaptive quantization difference data. An example of the processing will be described.

【0102】本実施例で採用する適応量子化処理では、
前述したように、PCM楽音信号の差分値の各振幅をど
の値に圧縮するかという圧縮テーブルを定め、上記差分
値をこの圧縮テーブルで圧縮しながら適応量子化して記
憶させる。そして、音源処理時には、その圧縮特性の逆
特性を有する伸張テーブルで適応量子化された差分値を
伸張しながら逆量子化が行って元の差分値を再生し、そ
れを累算して楽音波形を再生する。
In the adaptive quantization processing employed in this embodiment,
As described above, a compression table is determined to which value each amplitude of the difference value of the PCM tone signal is to be compressed, and the difference value is adaptively quantized and stored while being compressed by the compression table. At the time of sound source processing, the original difference value is reproduced by performing inverse quantization while expanding the difference value adaptively quantized with a decompression table having the inverse characteristic of the compression characteristic, and is accumulated to obtain the tone waveform. To play.

【0103】そのため、楽音信号の特性毎、例えばフル
ート、シンバル、尺八等の楽音の種類毎に、例えば図1
7(a) 、図18(a) に示すような圧縮テーブルを定め
る。これらの図では、縦軸のd(ADR)がPCM楽音
信号の差分値であり、テーブル変換により求まるG{d
(ADR)}が適応量子化された差分データである。
Therefore, for each characteristic of a tone signal, for example, for each type of tone such as flute, cymbal, shakuhachi, etc., FIG.
7 (a), a compression table as shown in FIG. 18 (a) is determined. In these figures, d (ADR) on the vertical axis is the difference value of the PCM tone signal, and G {d obtained by table conversion.
(ADR)} is adaptively quantized difference data.

【0104】そして、例えば図17(a) は、圧縮率が大
きい特性であり、例えばシンバルのように、PCM差分
信号が大きい値となり得るような楽音信号の圧縮に使用
される。これに対して、図18(a) は、圧縮率が小さい
特性であり、例えばフルートのように、PCM差分信号
があまり大きい値となり得ないような楽音信号の圧縮に
使用される。
FIG. 17 (a) shows a characteristic having a large compression ratio, and is used for compressing a tone signal such as a cymbal in which a PCM difference signal can have a large value. On the other hand, FIG. 18A has a characteristic that the compression ratio is small, and is used for compression of a tone signal in which the PCM difference signal cannot have a very large value such as a flute.

【0105】また、上述の各圧縮テーブルに対応させ
て、図17(b) 、図18(b) のような伸張テーブルを定
める。この伸張テーブルは、図17(a) 、図18(a) 等
の圧縮テーブルの逆特性を有し、横軸の適応量子化差分
データrom(ADR)が伸張変換されて再生差分値J
{rom(ADR)}が得られる。この伸張テーブル
は、前述したように、図2の制御データ兼波形用ROM
212に記憶され、音源処理に使用されるが、以下の適
応量子化処理においても使用される。
Also, decompression tables as shown in FIGS. 17 (b) and 18 (b) are determined in correspondence with the above-described compression tables. This decompression table has the inverse characteristics of the compression tables of FIGS. 17 (a) and 18 (a) and the like, and the adaptive quantization difference data rom (ADR) on the horizontal axis is subjected to expansion conversion to obtain the reproduction difference value J.
{Rom (ADR)} is obtained. This expansion table is, as described above, the control data and waveform ROM of FIG.
Although stored in 212 and used for sound source processing, it is also used in the following adaptive quantization processing.

【0106】以上のような圧縮テーブルを選択した後
に、図19の動作フローチャートで示される適応量子化
処理が実行され、適応量子化差分データが求められる。
なお、このフローチャートは、制御データ兼波形用RO
M212(図2)に記憶される適応量子化差分データを
求めるための処理であるため、楽器本体ではなく、特に
は図示しない汎用コンピュータ等の制御装置で実行さ
れ、また、上述の圧縮テーブル及び伸張テーブルも特に
は図示しないメモリ上に用意される。また、特には図示
しない波形メモリ上には、予め図20(a) に示されるよ
うなPCM楽音信号が選択的に記憶されているものとす
る。更に、説明の簡略化のため、ある楽器のPCM楽音
信号が選択されると、その信号は波形メモリ上のアドレ
ス0からFFF(16進表現)まで記憶されるものとす
る。更に、以下の説明で使用される記号値は、実際には
RAM上に設けられる変数の内容を示しているが、説明
では単に値を示す記号として説明する。
After selecting the compression table as described above, the adaptive quantization processing shown in the operation flowchart of FIG. 19 is executed, and the adaptive quantization difference data is obtained.
Note that this flowchart shows the control data and waveform RO
Since the process is for obtaining the adaptive quantization difference data stored in M212 (FIG. 2), the process is executed not by the musical instrument itself but by a control device such as a general-purpose computer (not shown). The table is also prepared on a memory (not shown). It is also assumed that a PCM tone signal as shown in FIG. 20A is selectively stored in advance on a waveform memory (not shown). Further, for simplification of description, when a PCM tone signal of a certain musical instrument is selected, the signal is stored from address 0 on the waveform memory to FFF (hexadecimal representation). Furthermore, the symbol values used in the following description actually indicate the contents of variables provided on the RAM, but in the description, they will be described simply as symbols indicating values.

【0107】図19において、まず、上記メモリ上のP
CM楽音信号の格納アドレス値ADRが、その楽音信号
の先頭アドレス0に初期設定される(S1901)。そし
て、そのアドレス値ADRがステップS1910で+1ずつ
インクリメントされながら、最終アドレスFFFと判定
されるまで(S1911)、PCM楽音信号が順次読み出さ
れ、以下のステップS1902〜S1914の適応量子化処理が
実行される。
In FIG. 19, first, P
The storage address value ADR of the CM tone signal is initialized to the head address 0 of the tone signal ( S1901 ). Then, while the address value ADR is incremented by +1 at step S 1910, until it is determined that the last address FFF (S 1911), PCM tone signal is read out sequentially, the following adaptive quantization steps S 1902 to S 1914 Is performed.

【0108】すなわち、アドレス値ADRに対応するア
ドレスから読み出されたPCM楽音信号値PCM(AD
R)が、入力値H(ADR)とされる(S1902)。次
に、この入力値H(ADR)の値から、前回までの累算
波高値R(ADR−1)が減算され、現在のPCM差分
値d(ADR)とされる(S1903)。累算波高値R(A
DR−1)については後述する。
That is, the PCM tone signal value PCM (AD) read from the address corresponding to the address value ADR
R) is set as the input value H (ADR) (S 1902 ). Next, the accumulated peak value R (ADR-1) up to the previous time is subtracted from the value of the input value H (ADR), and the result is set as the current PCM difference value d (ADR) ( S1903 ). Cumulative peak value R (A
DR-1) will be described later.

【0109】次に、上記PCM差分値d(ADR)が、
図17(a) 、図18(a) 等から予め選択された圧縮テー
ブルによって圧縮変換され、その圧縮値G{d(AD
R)}が、制御データ兼波形用ROM212(図2)に
記憶される現在の適応量子化差分データrom(AD
R)とされる(S1904)。
Next, the PCM difference value d (ADR) is
The compression conversion is performed by a compression table selected in advance from FIG. 17A and FIG. 18A, and the compression value G {d (AD
R)} is the current adaptive quantized difference data rom (AD) stored in the control data / waveform ROM 212 (FIG. 2).
R) ( S1904 ).

【0110】続いて、上述の適応量子化差分データro
m(ADR)が、上記圧縮テーブルに対応する伸張テー
ブルによって伸張変換されて逆量子化され、その変換値
が再生差分値K(ADR)とされる(S1905)。そし
て、この値が前回までの累算波高値R(ADR−1)に
加算され、現在の累算波高値R(ADR)が求められる
(S1906)。
Subsequently, the adaptive quantization difference data ro
m (ADR) is inverse quantized is decompression conversion by stretching table corresponding to the compression table, the conversion value is the restored difference value K (ADR) (S 1905) . Then, this value is added to the accumulator peak value R (ADR-1) up to the previous, current accumulated peak value R (ADR) is calculated (S 1906).

【0111】これらの処理は、上述の適応量子化差分デ
ータrom(ADR)に対して、音源処理と同様の再生
処理を行って、音源処理により得られるであろう現在の
累算波高値R(ADR)を求める処理である。そして、
この再生側に対応する累算波高値R(ADR)を使用し
て、前述のステップS1903で、次回のPCM差分値d
(ADR)を求めることにより、適応量子化を行ったこ
とによる誤差を吸収することができる。
In these processes, the above-described adaptive quantized difference data rom (ADR) is subjected to the same reproduction process as the sound source process, and the current accumulated peak value R ( (ADR). And
Using the accumulated peak value R (ADR) corresponding to the reproducing side, in the aforementioned step S1903 , the next PCM difference value d
By calculating (ADR), it is possible to absorb an error caused by performing adaptive quantization.

【0112】上述のようにして求まった累算波高値R
(ADR)は、本実施例では音源処理において正負の符
号を含めて12ビットのデータとして得られる。そし
て、この絶対値が最大値である2047を越えているか
否かが判定される(S1907)。
The accumulated peak value R obtained as described above
In this embodiment, (ADR) is obtained as 12-bit data including positive and negative signs in the sound source processing. Then, it is determined whether or not this absolute value exceeds the maximum value 2047 (S 1907 ).

【0113】越えていなければ、更に、現在のアドレス
ADRが、前述のループ再生(図14参照)のための予
め設定されたループアドレスAL に等しいか否かが判定
される(S1908)。
If not, it is further determined whether or not the current address ADR is equal to the previously set loop address A L for loop reproduction (see FIG. 14) (S 1908 ).

【0114】等しくなければ、アドレスADRを+1し
て(S1910)、ステップS1911の判定を介して、ステッ
プS2002に戻る。ここで、現在のアドレスADRが
ループアドレスAL に等しいと判定された場合(S1908
の判定がYES)、そのときの累算波高値R(ADR)
がループ波高値XPLとされて、ループアドレスAL と共
に図2の制御データ兼波形用ROM212に格納され
る。これらのデータは、前述した図14のループ再生処
理において使用される。
If they are not equal, the address ADR is incremented by 1 (S 1910 ), and the process returns to step S 2002 through the determination in step S 1911 . Here, when it is determined that the current address ADR is equal to the loop address A L (S 1908)
Is YES), the accumulated peak value R (ADR) at that time
There is a loop peak value X PL, it is stored in the control data and the waveform for ROM212 of Fig. 2 with the loop address A L. These data are used in the above-described loop reproduction processing of FIG.

【0115】ステップS1907において、累算波高値R
(ADR)の絶対値が、12ビットの最大値である20
47を越えていると判定された場合、現在の適応量子化
差分データrom(ADR)の値が1つ下の量子化レベ
ルに下げられる。すなわち、rom(ADR)が正の値
ならマイナス1され(S1912→S1913)、負の値ならプ
ラス1される(S1912→S1914)。
In step S 1907 , the accumulated peak value R
The absolute value of (ADR) is 20 which is the maximum value of 12 bits.
If it is determined that the difference exceeds 47, the value of the current adaptive quantization difference data rom (ADR) is reduced to the next lower quantization level. That is, if rom (ADR) is a positive value, -1 is set (S 1912 → S 1913 ), and if rom (ADR) is a negative value, +1 is set (S 1912 → S 1914 ).

【0116】累算波高値R(ADR)は、前述したよう
に、再生側(楽器側)の音源処理で得られるであろう実
際の楽音信号であるが、再生側で適応量子化差分データ
を逆量子化しながら累算していった場合、量子化誤差に
よって累算波高値の絶対値が再生側の規定ビット数の1
2ビットの最大値を越えてしまうことが起こり得る。そ
して、これが発生すると、符号の反転等が発生して大き
なノイズが発生してしまう。そのため、再生側で得られ
るであろう累算波高値R(ADR)の絶対値が上記最大
値を越えた場合には、それを演算するもととなった現在
の適応量子化差分データrom(ADR)の量子化レベ
ルを下げることにより、再生側での累算波高値の絶対値
が上記最大値を越えないように制御する。
As described above, the accumulated peak value R (ADR) is the actual tone signal that would be obtained by the sound source processing on the reproducing side (instrument side). When accumulation is performed while performing inverse quantization, the absolute value of the accumulated peak value becomes 1 of the specified number of bits on the reproduction side due to a quantization error.
It is possible that the maximum value of 2 bits is exceeded. When this occurs, sign inversion or the like occurs, and large noise occurs. Therefore, when the absolute value of the accumulated peak value R (ADR) that can be obtained on the reproducing side exceeds the above-mentioned maximum value, the current adaptive quantized difference data rom ( By lowering the quantization level of ADR, control is performed so that the absolute value of the accumulated peak value on the reproduction side does not exceed the maximum value.

【0117】以上の処理の後に、再び前述のステップS
1905及びS1906を演算し直して、ステップS1907での判
定がNOとなるまで、上述の処理が繰り返される。な
お、通常は、量子化レベルを1レベル下げるだけで累算
波高値R(ADR)の絶対値を上記最大値以下とするこ
とができる。
After the above processing, the above-described step S is performed again.
1905 and S 1906 are recalculated, and the above processing is repeated until the determination in step S 1907 becomes NO. Normally, the absolute value of the accumulated peak value R (ADR) can be set to be equal to or less than the above-mentioned maximum value only by lowering the quantization level by one level.

【0118】以上説明した適応量子化処理により、例え
ば図20(a) の12ビットのPCM楽音信号を、4ビッ
トのADPCM楽音信号に圧縮することができる。
By the above-described adaptive quantization processing, for example, a 12-bit PCM tone signal shown in FIG. 20A can be compressed into a 4-bit ADPCM tone signal.

【0119】[0119]

【発明の効果】本発明によれば、逆量子化過程及び累算
器により、音源処理により得られるであろう楽音信号の
波高値と同様の現在のタイミングの再生された差分値の
累算値を求めることができ、この再生側に対応する累算
値が楽音信号に割り当てられるビット数の最大変化幅を
越えたか否かを判定することにより、適応量子化過程で
得られる現在のタイミングの適応量子化された差分デー
タに基づいて音源処理が実行された場合に、出力値の符
号反転の事態が発生しているか否かを判定することが可
能となる。
According to the present invention, the inverse quantization process and the accumulator accumulate the reproduced difference value at the current timing similar to the peak value of the tone signal that would be obtained by the sound source processing. By determining whether the accumulated value corresponding to the reproducing side exceeds the maximum change width of the number of bits allocated to the tone signal, it is possible to determine whether or not the current timing obtained in the adaptive quantization process is adaptive. When the sound source process is executed based on the quantized difference data, it is possible to determine whether or not the sign of the output value is inverted.

【0120】そして,この判定過程の判定結果に基づい
て、差分データ変更過程が現在のタイミングの適応量子
化された差分データの値を変更することにより、音源処
理が実行された場合に出力値の符号反転が発生する事態
を事前に防止することができ、ノイズの発生を最小限に
抑えることが可能となる。
Then, based on the determination result of this determination step, the difference data changing step changes the value of the adaptively quantized difference data at the current timing, so that when the sound source processing is executed, the output value is changed. The occurrence of sign inversion can be prevented in advance, and the occurrence of noise can be minimized.

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

【図1】本実施例の全体構成図である。FIG. 1 is an overall configuration diagram of the present embodiment.

【図2】マイクロコンピュータの内部構成図である。FIG. 2 is an internal configuration diagram of a microcomputer.

【図3】従来のD/A変換器部の構成図である。FIG. 3 is a configuration diagram of a conventional D / A converter unit.

【図4】本実施例によるD/A変換器部の構成図であ
る。
FIG. 4 is a configuration diagram of a D / A converter unit according to the present embodiment.

【図5】D/A変換におけるタイミングチャートであ
る。
FIG. 5 is a timing chart in D / A conversion.

【図6】本実施例の全体動作フローチャートである。FIG. 6 is an overall operation flowchart of the embodiment.

【図7】インタフェース処理の動作フローチャートであ
る。
FIG. 7 is an operation flowchart of an interface process.

【図8】音源処理の動作フローチャートである。FIG. 8 is an operation flowchart of a sound source process.

【図9】メイン動作フローチャートとインタラプト処理
との関係を示す概念図である。
FIG. 9 is a conceptual diagram showing a relationship between a main operation flowchart and interrupt processing.

【図10】RAM上の発音チャネル毎の記憶領域を示す
図である。
FIG. 10 is a diagram showing a storage area for each sounding channel on a RAM.

【図11】RAM上のバッフア領域を示す図である。FIG. 11 is a diagram showing a buffer area on a RAM.

【図12】ADPCM方式において差分値Dと現在アド
レスAF を用いて補間値XQ を求める場合の原理説明図
である。
12 is an explanatory view of the principle of the case of obtaining the interpolation value X Q current difference value D by using the address A F in ADPCM scheme.

【図13】ADPCM方式による音源処理の動作フロー
チャート(その1)である。
FIG. 13 is an operation flowchart (part 1) of sound source processing by the ADPCM method.

【図14】ADPCM方式による音源処理の動作フロー
チャート(その2)である。
FIG. 14 is an operation flowchart (part 2) of a sound source process according to the ADPCM method.

【図15】ADPCM方式による音源処理の実施例の動
作フローチャート(その3)である。
FIG. 15 is an operation flowchart (part 3) of the embodiment of the sound source processing according to the ADPCM method.

【図16】エンベロープ特性の説明図である。FIG. 16 is an explanatory diagram of envelope characteristics.

【図17】圧縮テーブルと伸張テーブルの第1の例を示
した図である。
FIG. 17 is a diagram showing a first example of a compression table and a decompression table.

【図18】圧縮テーブルと伸張テーブルの第2の例を示
した図である。
FIG. 18 is a diagram illustrating a second example of a compression table and a decompression table.

【図19】適応量子化処理の動作フローチャートであ
る。
FIG. 19 is an operation flowchart of an adaptive quantization process.

【図20】PCM楽音親王とADPCM楽音信号の例を
示した図である。
FIG. 20 is a diagram showing an example of a PCM musical tone master and an ADPCM musical tone signal.

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

101 マイクロコンピュータ 102 鍵盤 103 機能キー 104 スイッチ部 105 ローパスフィルタ 106 アンプ 107 スピーカ 108 電源回路 201 制御用ROM 202 ROMアドレスデコーダ 203 インタラプト制御部 204 RAMアドレス制御部 205 ROMアドレス制御部 206 RAM 207 コマンド解析部 208 ALU部 209 乗算器 210 入力ポート 211 出力ポート 212 制御データ兼波形用ROM 213 D/A変換器部 301、401 ラッチ 303 D/A変換器 101 microcomputer 102 keyboard 103 function key 104 switch section 105 low-pass filter 106 amplifier 107 speaker 108 power supply circuit 201 control ROM 202 ROM address decoder 203 interrupt control section 204 RAM address control section 205 ROM address control section 206 RAM 207 command analysis section 208 ALU unit 209 Multiplier 210 Input port 211 Output port 212 Control data / waveform ROM 213 D / A converter unit 301, 401 Latch 303 D / A converter

───────────────────────────────────────────────────── フロントページの続き (72)発明者 斯波 康祐 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (72)発明者 太期 広一郎 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (72)発明者 小倉 和夫 東京都西多摩郡羽村町栄町3丁目2番1 号 カシオ計算機株式会社羽村技術セン ター内 (58)調査した分野(Int.Cl.7,DB名) G10H 7/02 ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Kosuke Shinami 3-2-1, Sakaemachi, Hamura-machi, Nishitama-gun, Tokyo Casio Computer Co., Ltd. Hamura Technical Center (72) Inventor Koichiro Taiki Hamura-cho, Nishitama-gun, Tokyo 3-2-1, Sakaemachi Casio Computer Co., Ltd. Hamura Technology Center (72) Inventor Kazuo Ogura 3-2-1, Sakaemachi, Hamura-machi, Nishitama-gun, Tokyo Casio Computer Co., Ltd. Hamura Technology Center (58) Field (Int.Cl. 7 , DB name) G10H 7/02

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 適応差分パルス符号変調方式によって楽
音信号を発生する楽音波形発生装置で使用される適応量
子化された差分データを生成するための楽音波形圧縮方
法において、現在のタイミングのデジタル楽音信号の値
と前回のタイミングまでの再生された差分値の累算値と
の差を演算し、現在のタイミングの差分値を得る差分演
算過程と、該差分演算過程で得られた現在のタイミング
の差分値を圧縮しながら適応量子化を行い、現在のタイ
ミングの適応量子化された差分データを得る適応量子化
過程と、該適応量子化過程で得られた現在のタイミング
の適応量子化された差分データを逆量子化し、現在のタ
イミングの再生された差分値を演算する逆量子化過程
と、該逆量子化過程で得られる現在のタイミングの再生
された差分値を前回のタイミングまでの再生された差分
値の累算値に累算し、現在のタイミングまでの再生され
た差分値の累算値を得る累算過程と、該累算過程で得ら
れる現在のタイミングまでの再生された差分値の累算値
が、楽音信号を生成するために該楽音信号に割り当てら
れるビット数の最大変化幅を越えたか否かを判定する判
定過程と、該判定過程により前記現在のタイミングまで
の再生された差分値の累算値が前記最大変化幅を越えな
いと判定された場合には、前記適応量子化過程で得られ
た現在のタイミングの適応量子化された差分データを出
力する出力過程と、前記判定過程により前記現在のタイ
ミングまでの再生された差分値の累算値が前記最大変化
幅を越えたと判定された場合には、前記適応量子化過程
で得られた現在のタイミングの適応量子化された差分デ
ータの値を、その値に基づいて前記累算過程で得られる
前記現在のタイミングまでの再生された差分値の累算値
が前記最大変化幅を越えないように変更して前記逆量子
化過程、前記累算過程、前記判定過程及び前記出力過程
を繰り返させる差分データ変更過程と、上記各過程を楽
音信号の発生タイミング毎に繰り返させる繰り返し過程
と、からなることを特徴とする楽音波形圧縮方法。
1. A musical tone waveform compression method for generating adaptively quantized difference data used in a musical tone waveform generator for generating a tone signal by an adaptive differential pulse code modulation method, wherein a digital tone signal at a current timing is provided. And the difference between the current timing obtained by the difference calculation process and the difference between the current timing obtained by the difference calculation process and the difference between the current timing and the accumulated value of the difference value reproduced up to the previous timing. An adaptive quantization process of performing adaptive quantization while compressing a value to obtain adaptively quantized difference data of a current timing; and an adaptively quantized difference data of a current timing obtained in the adaptive quantization process. Is inversely quantized to calculate a reproduced difference value of the current timing, and the reproduced difference value of the current timing obtained in the inverse quantization process is An accumulation process of accumulating the accumulated value of the reproduced difference values up to the timing and obtaining an accumulated value of the reproduced difference values up to the current timing; and A determining step of determining whether or not the accumulated value of the reproduced difference values has exceeded a maximum change width of the number of bits allocated to the tone signal for generating the tone signal; and determining the current timing by the determining step. If it is determined that the accumulated value of the reproduced difference values does not exceed the maximum change width, adaptively quantized difference data at the current timing obtained in the adaptive quantization process is output. An output step, and when it is determined in the determination step that the accumulated value of the reproduced difference values up to the current timing exceeds the maximum change width, the current timing obtained in the adaptive quantization step is obtained. Adaptive quantum The value of the obtained difference data is changed based on the value so that the accumulated value of the reproduced difference values obtained up to the current timing obtained in the accumulation process does not exceed the maximum change width, and the reverse is performed. A tone comprising: a difference data changing step of repeating a quantization step, the accumulation step, the determination step, and the output step; and a repeating step of repeating each of the above steps for each tone signal generation timing. Waveform compression method.
【請求項2】 前記差分データ変更過程は、前記判定過
程により前記現在のタイミングまでの再生された差分値
の累算値が前記最大変化幅を越えたと判定された場合に
は、前記適応量子化過程で得られた現在のタイミングの
適応量子化された差分データの絶対値を1データ値だけ
少ないデータ値に変更し、前記逆量子化過程、前記累算
過程及び前記判定過程を繰り返させることを特徴とする
請求項1記載の楽音波形圧縮方法。
2. The adaptive quantization method according to claim 1, wherein the difference data changing step includes the step of determining whether the accumulated value of the reproduced difference values up to the current timing exceeds the maximum change width. Changing the absolute value of the adaptively quantized difference data of the current timing obtained in the process to a data value smaller by one data value, and repeating the inverse quantization process, the accumulation process, and the determination process. 2. A method for compressing a musical sound waveform according to claim 1, wherein:
JP02417380A 1990-12-30 1990-12-30 Musical sound compression method Expired - Fee Related JP3116381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02417380A JP3116381B2 (en) 1990-12-30 1990-12-30 Musical sound compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02417380A JP3116381B2 (en) 1990-12-30 1990-12-30 Musical sound compression method

Publications (2)

Publication Number Publication Date
JPH056171A JPH056171A (en) 1993-01-14
JP3116381B2 true JP3116381B2 (en) 2000-12-11

Family

ID=18525498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02417380A Expired - Fee Related JP3116381B2 (en) 1990-12-30 1990-12-30 Musical sound compression method

Country Status (1)

Country Link
JP (1) JP3116381B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3097534B2 (en) * 1995-12-21 2000-10-10 ヤマハ株式会社 Musical tone generation method

Also Published As

Publication number Publication date
JPH056171A (en) 1993-01-14

Similar Documents

Publication Publication Date Title
US11094307B2 (en) Electronic musical instrument and method of causing electronic musical instrument to perform processing
US4700393A (en) Speech synthesizer with variable speed of speech
JPS616689A (en) Electronic musical instrument
US7276655B2 (en) Music synthesis system
JP3116381B2 (en) Musical sound compression method
US20050011341A1 (en) Dynamic control of processing load in a wavetable synthesizer
JP3006095B2 (en) Musical sound wave generator
KR100721235B1 (en) Apparatus and method for producing sound, providing medium, and data recording medium
US5329062A (en) Method of recording/reproducing waveform and apparatus for reproducing waveform
JPH09258735A (en) Electronic musical instrument
US5693901A (en) Electronic musical instrument
US5459279A (en) Electronic instrument for generating sounds based on the compressed waveform data stored beforehand
JPH07219552A (en) Musical sound wave generator and music sound wave compression device
JP2900076B2 (en) Waveform generator
JP2705063B2 (en) Music signal generator
JP2900078B2 (en) Waveform recording / playback method and waveform playback device
JP2900077B2 (en) Waveform recording / playback method and waveform playback device
JP2001109474A (en) Musical sound generation device for electronic music instrument
JP3138612B2 (en) Electronic musical instrument
JP3912304B2 (en) Compressed data structure, waveform generation device, and waveform storage device
JP3884131B2 (en) Data compression device and data decompression device
JP2594782B2 (en) Electronic musical instrument
JP2709965B2 (en) Music transmission / reproduction system used for BGM reproduction
JPS5926790A (en) Combination musical tone generator for musical instrument
JPH08146963A (en) Musical tone generating device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000905

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

Free format text: PAYMENT UNTIL: 20071006

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081006

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081006

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees