JP2003337597A - Audio compressing device and audio compressing computer program - Google Patents

Audio compressing device and audio compressing computer program

Info

Publication number
JP2003337597A
JP2003337597A JP2002145782A JP2002145782A JP2003337597A JP 2003337597 A JP2003337597 A JP 2003337597A JP 2002145782 A JP2002145782 A JP 2002145782A JP 2002145782 A JP2002145782 A JP 2002145782A JP 2003337597 A JP2003337597 A JP 2003337597A
Authority
JP
Japan
Prior art keywords
data
waveform data
reference waveform
waveform
difference
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.)
Withdrawn
Application number
JP2002145782A
Other languages
Japanese (ja)
Inventor
Kenji Henmi
憲次 片見
Joji Naito
丈嗣 内藤
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2002145782A priority Critical patent/JP2003337597A/en
Publication of JP2003337597A publication Critical patent/JP2003337597A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To compress audio waveforms, whose fundamental frequency is beforehand known, with a high compression rate and in a reversible compressing manner. <P>SOLUTION: A period detecting means 1 and a reference waveform generating circuit 2 are used to take out data equivalent to one period from digital audio waveform data having a plurality of periods that are continuous on a time base as first reference waveform data. A differencing circuit 7 obtains individual difference data between the first reference waveform data and the digital audio waveform data having the plurality of periods that are continuous. A quantization efficiency evaluating circuit 8 and a control circuit 9 obtain compressed data indicating the difference between second reference waveform data, that is obtained by adjusting the gain of the first reference waveform data so that the sum value of individual difference data becomes a minimum capacity, and the digital audio waveform data having the plurality of periods that are continuous. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、あらかじめ基本周
波数が分かっている音声波形を圧縮する音声圧縮装置及
び音声圧縮コンピュータプログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice compression device and a voice compression computer program for compressing a voice waveform whose fundamental frequency is known in advance.

【0002】[0002]

【従来の技術】音声データを圧縮する音声圧縮方式とし
ては、MPEGオーディオ(Moving Pictures Experts
Groupe Audio)、AC3、AAC(Advanced Audio Cod
ing)、WMA(Windows(R) Media Audio)、ADP
CM(Adaptive DifferentialPulse Code Modulatio
n)、ATRAC(Adaptive Transform Acoustic Codin
g)などの様々な音声圧縮技術が市場に存在する。また
音声に特化していないものとしては、LZH、ZIPな
どの可逆圧縮方式がある。
2. Description of the Related Art As an audio compression method for compressing audio data, MPEG audio (Moving Pictures Experts) is used.
Groupe Audio), AC3, AAC (Advanced Audio Cod
ing), WMA (Windows (R) Media Audio), ADP
CM (Adaptive Differential Pulse Code Modulatio
n), ATRAC (Adaptive Transform Acoustic Codin
There are various audio compression technologies on the market such as g). In addition, there are lossless compression methods such as LZH and ZIP that are not specialized for voice.

【0003】[0003]

【発明が解決しようとする課題】音声データを記録する
装置として、MIDI音源装置やサンプラなどは波形デ
ータを大量に記録するためにデータの圧縮が求められる
が、一方、サンプルデータは極めて厳密に作成されてお
り、圧縮伸長処理によってわずかなデータの劣化も問題
視される傾向がある。そのため、MPEGオーディオや
ADPCMに代表されるような音声圧縮方式は非可逆圧
縮であり、このような可逆圧縮を必要とする用途には使
用は適当ではない。またZIPのような電子データのア
ーカイブに一般に使用される可逆圧縮方式は、音声デー
タの圧縮には効率が良くなく、圧縮率が上がらないとい
う点が課題であった。
As a device for recording audio data, a MIDI sound source device, a sampler, etc. are required to compress data in order to record a large amount of waveform data, while sample data is created extremely strictly. However, even a slight deterioration of data due to the compression / decompression processing tends to be regarded as a problem. Therefore, the audio compression method typified by MPEG audio and ADPCM is lossy compression, and is not suitable for use in applications requiring such lossless compression. Further, the lossless compression method generally used for archiving electronic data such as ZIP has a problem in that it is not efficient in compressing audio data and the compression rate does not increase.

【0004】そこで本発明は、あらかじめ基本周波数が
分かっている音声波形を高圧縮率、可逆圧縮で圧縮する
ことができる音声圧縮装置及び音声圧縮コンピュータプ
ログラムを提供することを目的とする。
Therefore, an object of the present invention is to provide a voice compression apparatus and a voice compression computer program capable of compressing a voice waveform whose fundamental frequency is known in advance with a high compression rate and a reversible compression.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するために、時間軸上に連続した複数の周期のデジタル
音声波形データから1周期分のデータを第1のリファレ
ンス波形データとして取り出して、第1のリファレンス
波形データと連続した複数の周期のデジタル音声波形デ
ータにおける各周期の波形データとの個々の差分データ
を求め、個々の差分データの合計値が最も少ない容量に
なるように第1のリファレンス波形データのゲインを調
整して得られる第2のリファレンス波形データと、連続
した複数の周期のデジタル音声波形データとの差分に圧
縮するようにしたものである。
In order to achieve the above object, the present invention extracts one cycle of data as first reference waveform data from digital audio waveform data of a plurality of cycles continuous on the time axis. , The first difference between the first reference waveform data and the waveform data of each cycle in the continuous digital voice waveform data of a plurality of cycles is calculated, and the first value is set so that the total value of the individual difference data becomes the smallest capacity. The second reference waveform data obtained by adjusting the gain of the reference waveform data is compressed into the difference between the continuous digital audio waveform data of a plurality of cycles.

【0006】すなわち本発明によれば、時間軸上に連続
した複数の周期のデジタル音声波形データから1周期分
のデータを第1のリファレンス波形データとして取り出
す手段と、前記第1のリファレンス波形データと前記連
続した複数の周期のデジタル音声波形データにおける各
周期の波形データとの個々の差分データを求める手段
と、前記個々の差分データの合計値が最も少ない容量に
なるように前記第1のリファレンス波形データのゲイン
を調整して得られる第2のリファレンス波形データと、
前記連続した複数の周期のデジタル音声波形データとの
差分を示す圧縮データに圧縮する手段とを、備えた音声
圧縮装置が提供される。
That is, according to the present invention, a unit for extracting one cycle of data from the digital audio waveform data of a plurality of cycles continuous on the time axis as the first reference waveform data, and the first reference waveform data. A means for obtaining individual difference data with respect to the waveform data of each period in the continuous digital voice waveform data of a plurality of periods; and the first reference waveform so that the total value of the individual difference data becomes the smallest capacity. Second reference waveform data obtained by adjusting the gain of the data,
An audio compression apparatus is provided, which comprises means for compressing compressed data indicating a difference from the digital audio waveform data of a plurality of continuous cycles.

【0007】また本発明によれば、時間軸上に連続した
複数の周期のデジタル音声波形データから1周期分のデ
ータを第1のリファレンス波形データとして取り出すス
テップと、前記第1のリファレンス波形データと前記連
続した複数の周期のデジタル音声波形データにおける各
周期の波形データとの個々の差分データを求めるステッ
プと、前記個々の差分データの合計値が最も少ない容量
になるように前記第1のリファレンス波形データのゲイ
ンを調整して得られる第2のリファレンス波形データ
と、前記連続した複数の周期のデジタル音声波形データ
との差分を示す圧縮データに圧縮するステップとをコン
ピュータに実現させ、前記デジタル音声波形データを前
記圧縮データに圧縮する機能を前記コンピュータに実現
させることを特徴とする音声圧縮コンピュータプログラ
ムが提供される。
Further, according to the present invention, a step of extracting data for one cycle as first reference waveform data from digital audio waveform data of a plurality of cycles continuous on the time axis, and the first reference waveform data A step of obtaining individual difference data from the waveform data of each period in the continuous digital audio waveform data of a plurality of periods; and the first reference waveform so that the total value of the individual difference data becomes the smallest capacity. The computer is made to realize the step of compressing the second reference waveform data obtained by adjusting the gain of the data and the compressed data indicating the difference between the digital speech waveform data of the plurality of continuous cycles, to realize the digital speech waveform. The computer is made to realize a function of compressing data into the compressed data. That voice compression computer program is provided.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本発明の第1の実施
形態として音声圧縮装置を示すブロック図、図2は本発
明の第2の実施形態として音声圧縮コンピュータプログ
ラムを示すフローチャート、図3は原波形のゼロクロス
点間からリファレンス波形データを抽出する処理を示す
説明図、図4はリファレンス波形データの周期を示す説
明図、図5はリファレンス波形データのリサンプリング
を示す説明図、図6はリファレンス波形データのゲイン
補正を示す説明図、図7は音声伸長装置の一実施形態を
示すブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an audio compression apparatus as a first embodiment of the present invention, FIG. 2 is a flow chart showing an audio compression computer program as a second embodiment of the present invention, and FIG. 3 is from a zero cross point of an original waveform. FIG. 4 is an explanatory diagram showing a process of extracting reference waveform data, FIG. 4 is an explanatory diagram showing a cycle of the reference waveform data, FIG. 5 is an explanatory diagram showing resampling of the reference waveform data, and FIG. 6 is a gain correction of the reference waveform data. FIG. 7 is a block diagram showing an embodiment of the audio decompression device.

【0009】図1に示す音声圧縮装置では、原音声波形
は、リファレンス波形と、リファレンス波形との周期
差、位相差、ゲイン補正係数及び差分データに圧縮され
る。図1において、まず、周期検出手段1によってN個
(N周期)の波からなる原波形データiから自己相関部
分が高いものを検出して、波形の周期を特定し、その原
波形データiをバッファ12に格納する。ここで、原波
形は既知であり、周波数の値はほぼ予測がついていてお
り、抽出しやすい。また、MIDI音源のように複数の
原波形データiを圧縮する場合、例えば同じ音色であり
音高のみ異なるような類似した波形が複数の場合は、そ
の類似した波形を他のリファレンスデータとして併用す
ると容量の節約になる場合がある。具体的には、1波形
の容量が大きく、類似した波形と補正したリファレンス
データとの差分が小さい場合に有効である。
In the audio compression apparatus shown in FIG. 1, the original audio waveform is compressed into a reference waveform, a period difference between the reference waveform, a phase difference, a gain correction coefficient and difference data. In FIG. 1, first, the period detecting means 1 detects a high autocorrelation portion from the original waveform data i consisting of N (N periods) waves, specifies the period of the waveform, and determines the original waveform data i. It is stored in the buffer 12. Here, the original waveform is known, and the frequency value is almost predicted, so that it is easy to extract. Further, when compressing a plurality of original waveform data i like a MIDI sound source, for example, when there are a plurality of similar waveforms having the same tone color but different pitches, the similar waveforms may be used as other reference data. May save space. Specifically, it is effective when the capacity of one waveform is large and the difference between the similar waveform and the corrected reference data is small.

【0010】次いでリファレンス波形作成回路2によ
り、図3に示すように1波形の最初と最後のゼロクロス
点を認識して、N周期の原波形データiのうち上記1周
期分の波形をリファレンス波形jとしてバッファ11に
送る。次に、バッファ11内のリファレンス波形jの位
相とバッファ12内の原波形データiの位相との位相差
を位相差検出回路4により検出し、リファレンス波形j
の位相を原波形データiの位相と等しくなるように、す
なわち図4に示すようにa:b=c:dになるように補
正する。また、周期差検出回路3により図5に示すよう
にリファレンス波形jの周期mと原波形データiの周期
nとの周期差を検出して、リファレンス波形jの周期m
をnに補正して、原波形データiとの位相と周期が等し
くなったリファレンス波形jを補正回路6に送る。位相
差と周期差は圧縮データの一部として記録する。
Then, the reference waveform generating circuit 2 recognizes the first and last zero-cross points of one waveform as shown in FIG. 3, and the waveform of one period of the original waveform data i of N periods is referred to as a reference waveform j. Is sent to the buffer 11. Next, the phase difference detection circuit 4 detects the phase difference between the phase of the reference waveform j in the buffer 11 and the phase of the original waveform data i in the buffer 12, and the reference waveform j
Of the original waveform data i, that is, a: b = c: d as shown in FIG. Further, the cycle difference detection circuit 3 detects the cycle difference between the cycle m of the reference waveform j and the cycle n of the original waveform data i as shown in FIG.
Is corrected to n, and the reference waveform j having the same phase and cycle as the original waveform data i is sent to the correction circuit 6. The phase difference and the period difference are recorded as a part of the compressed data.

【0011】次にリサンプリング回路5により、リサン
プリングの1方法として、例えばリファレンスデータj
と原波形データiの1周期分の最初のゼロクロス点から
最後のゼロクロス点までの各サンプリング点の数が異な
る場合、サンプリング点の数が等しくなるように上記リ
ファレンスデータjをリサンプリングする。次に図6に
示すように、そのリサンプリングされたリファレンスデ
ータjに補正回路6によって制御回路9からフィードバ
ックされたゲインの補正係数を掛け、また、補正係数を
圧縮データの一部として記録する。
Next, the resampling circuit 5 uses, for example, reference data j as one resampling method.
And the number of sampling points from the first zero-cross point to the last zero-cross point of one cycle of the original waveform data i is different, the reference data j is resampled so that the number of sampling points becomes equal. Next, as shown in FIG. 6, the resampled reference data j is multiplied by the correction coefficient of the gain fed back from the control circuit 9 by the correction circuit 6, and the correction coefficient is recorded as a part of the compressed data.

【0012】次いで差分回路7によって、補正された上
記リファレンスデータと原波形データiとの差分を計算
し、その差分を圧縮データの一部として記録する。以上
の動作をN個の原波形データiの全てに対して行い、各
補正係数と周期誤差をN個分記録する。その差分データ
は量子化効率評価回路8で圧縮効率を評価され、その結
果は一時的に記録される。最も圧縮効率の高かった結果
が制御回路9によって周期検出手段1とリファレンス波
形作成回路2と補正回路6にフィードバックされ、最も
圧縮効率の良い係数を求める。この作業をN個の各リフ
ァレンス波形jについて行い、最も圧縮効率の良いリフ
ァレンスデータと補正係数を求め、そのリファレンスデ
ータを元にN個全ての波形の圧縮データとする。なお、
“i”と“j”は、波形と、そのデータの双方を指すも
のとする。
Next, the difference circuit 7 calculates the difference between the corrected reference data and the original waveform data i, and records the difference as a part of the compressed data. The above operation is performed for all N pieces of original waveform data i, and each correction coefficient and the period error are recorded for N pieces. The difference data is evaluated for compression efficiency by the quantization efficiency evaluation circuit 8, and the result is temporarily recorded. The result of the highest compression efficiency is fed back by the control circuit 9 to the period detection means 1, the reference waveform creation circuit 2 and the correction circuit 6, and the coefficient with the highest compression efficiency is obtained. This operation is performed for each of the N reference waveforms j, the reference data and the correction coefficient with the highest compression efficiency are obtained, and the compressed data of all the N waveforms is obtained based on the reference data. In addition,
"I" and "j" refer to both the waveform and its data.

【0013】次に図2を参照して音声圧縮コンピュータ
プログラムについて説明する。図2に示す音声圧縮コン
ピュータプログラムでは、原音声波形は、リファレンス
波形と、リファレンス波形との周期差、位相差、ゲイン
補正係数及び差分データに圧縮される。図2において、
まず、ステップS1によってN個(N周期)の波からな
る原波形データiから自己相関部分が高いものを検出し
て、波形の周期を特定し、その原波形データiをバッフ
ァ12(図1参照)に格納する。ここで、原波形は既知
であり、周波数の値はほぼ予測がついていており、抽出
しやすい。また、MIDI音源のように複数の原波形デ
ータiを圧縮する場合、例えば同じ音色であり音高のみ
異なるような類似した波形が複数の場合は、その類似し
た波形を他のリファレンスデータとして併用すると容量
の節約になる場合がある。具体的には、1波形の容量が
大きく、類似した波形と補正したリファレンスデータと
の差分が小さい場合に有効である。
Next, the audio compression computer program will be described with reference to FIG. In the audio compression computer program shown in FIG. 2, the original audio waveform is compressed into a reference waveform, a period difference between the reference waveform, a phase difference, a gain correction coefficient, and difference data. In FIG.
First, in step S1, one having a high autocorrelation portion is detected from the original waveform data i composed of N waves (N periods), the period of the waveform is specified, and the original waveform data i is stored in the buffer 12 (see FIG. 1). ). Here, the original waveform is known, and the frequency value is almost predicted, so that it is easy to extract. Further, when compressing a plurality of original waveform data i like a MIDI sound source, for example, when there are a plurality of similar waveforms having the same tone color but different pitches, the similar waveforms may be used as other reference data. May save space. Specifically, it is effective when the capacity of one waveform is large and the difference between the similar waveform and the corrected reference data is small.

【0014】次いでステップS2により、図3に示すよ
うに1波形の最初と最後のゼロクロス点を認識して、N
周期の原波形データiのうち上記1周期分の波形をリフ
ァレンス波形jとしてバッファ11(図1参照)に送
る。次に、バッファ11内のリファレンス波形jの位相
とバッファ12内の原波形データiの位相との位相差を
ステップS3により検出し、リファレンス波形jの位相
を原波形データiの位相と等しくなるように、すなわち
図4に示すようにa:b=c:dになるように補正す
る。また、ステップS3により図5に示すようにリファ
レンス波形jの周期mと原波形データiの周期nとの周
期差を検出して、リファレンス波形jの周期mをnに補
正して、原波形データiとの位相と周期が等しくなった
リファレンス波形jを求める。位相差と周期差は圧縮デ
ータの一部として記録する。
Next, in step S2, the first and last zero-cross points of one waveform are recognized as shown in FIG.
The waveform of one cycle of the original waveform data i of the cycle is sent to the buffer 11 (see FIG. 1) as the reference waveform j. Next, the phase difference between the phase of the reference waveform j in the buffer 11 and the phase of the original waveform data i in the buffer 12 is detected in step S3 so that the phase of the reference waveform j becomes equal to the phase of the original waveform data i. , That is, as shown in FIG. 4, correction is performed so that a: b = c: d. In step S3, the period difference between the period m of the reference waveform j and the period n of the original waveform data i is detected as shown in FIG. 5, and the period m of the reference waveform j is corrected to n to obtain the original waveform data. A reference waveform j having the same phase as i and the cycle is obtained. The phase difference and the period difference are recorded as a part of the compressed data.

【0015】次にステップS4により、リサンプリング
の1方法として、例えばリファレンスデータjと原波形
データiの1周期分の最初のゼロクロス点から最後のゼ
ロクロス点までの各サンプリング点の数が異なる場合、
サンプリング点の数が等しくなるように上記リファレン
スデータjをリサンプリングする。次に図6に示すよう
に、そのリサンプリングされたリファレンスデータjに
ステップS4によってフィードバックされたゲインの補
正係数を掛け、また、補正係数を圧縮データの一部とし
て記録する。
Next, in step S4, as one resampling method, for example, when the number of sampling points from the first zero-cross point to the last zero-cross point for one cycle of the reference data j and the original waveform data i is different,
The reference data j is resampled so that the number of sampling points becomes equal. Next, as shown in FIG. 6, the resampled reference data j is multiplied by the correction coefficient of the gain fed back in step S4, and the correction coefficient is recorded as a part of the compressed data.

【0016】次いでステップS5によって、補正された
上記リファレンスデータと原波形との差分を計算し、そ
の差分を圧縮データの一部として記録する。以上の動作
をN個の原波形データiの全てに対して行い(ステップ
S3〜S6)、各補正係数と周期誤差をN個分記録す
る。その差分データはステップS7で合計され、次いで
ステップS8で差分データの合計値の圧縮効率を評価さ
れ、その結果は一時的に記録される。この作業をN個の
各リファレンス波形jについて行い(ステップS9)、
最も圧縮効率の良いリファレンスデータと補正係数を求
め、そのリファレンスデータを元にN個全ての波形の圧
縮データとする(ステップS10)。
Then, in step S5, the difference between the corrected reference data and the original waveform is calculated, and the difference is recorded as a part of the compressed data. The above operation is performed for all N original waveform data i (steps S3 to S6), and N correction coefficients and cyclic errors are recorded. The difference data is summed in step S7, then the compression efficiency of the sum of the difference data is evaluated in step S8, and the result is temporarily recorded. This operation is performed for each of the N reference waveforms j (step S9),
The reference data and the correction coefficient with the highest compression efficiency are obtained, and the reference data is used as the compressed data of all N waveforms (step S10).

【0017】次に図7を参照して本発明の音声圧縮装置
で圧縮されたデータを伸長するための音声データ伸長装
置の一例の構成を説明する。この音声データ伸長装置
は、圧縮データからリファレンス波形と周期差と位相差
を読み出し、リサンプル回路10によってリファレンス
波形の周期を元に戻す。次に圧縮データから補正係数を
読み出し、補正回路14により上記リファレンスデータ
に補正係数を掛け、ゲインを変換する。さらに、圧縮デ
ータから差分データを読み出し、加算回路15に送り、
リファレンスデータと差分データの和を取り、原波形の
1周期分のリージョンデータを作る。上記作業を各リー
ジョンについてN回繰り返し行い、そのでき上がったN
個全ての波形を合成回路13で合成して原波形データi
を求める。
Next, with reference to FIG. 7, the structure of an example of a voice data decompression device for decompressing the data compressed by the voice compression device of the present invention will be described. This audio data decompression device reads a reference waveform, a cycle difference, and a phase difference from compressed data, and restores the cycle of the reference waveform by the resample circuit 10. Then, the correction coefficient is read from the compressed data, and the correction circuit 14 multiplies the reference data by the correction coefficient to convert the gain. Further, the difference data is read from the compressed data and sent to the addition circuit 15,
The sum of the reference data and the difference data is taken, and the region data for one cycle of the original waveform is created. The above work is repeated N times for each region, and the completed N
All the waveforms are combined by the combining circuit 13 and the original waveform data i
Ask for.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、時
間軸上に連続した複数の周期のデジタル音声波形データ
から1周期分のデータを第1のリファレンス波形データ
として取り出して、第1のリファレンス波形データと連
続した複数の周期のデジタル音声波形データにおける各
周期の波形データとの個々の差分データを求め、個々の
差分データの合計値が最も少ない容量になるように第1
のリファレンス波形データのゲインを調整して得られる
第2のリファレンス波形データと、連続した複数の周期
のデジタル音声波形データとの差分に圧縮するようにし
たので、あらかじめ基本周波数が分かっている音声波形
を高圧縮率、可逆圧縮で圧縮することができる。
As described above, according to the present invention, one cycle of data is extracted as the first reference waveform data from digital audio waveform data of a plurality of cycles continuous on the time axis, and the first reference waveform data is obtained. First, the individual difference data between the reference waveform data and the waveform data of each cycle in the continuous digital voice waveform data of a plurality of cycles is obtained, and the total value of the individual difference data is set to the smallest capacity.
Since the difference between the second reference waveform data obtained by adjusting the gain of the reference waveform data of and the digital voice waveform data of a plurality of continuous cycles is compressed, the voice waveform whose fundamental frequency is known in advance Can be compressed with high compression ratio and lossless compression.

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

【図1】本発明の第1の実施形態として音声圧縮装置を
示すブロック図である。
FIG. 1 is a block diagram showing a voice compression device as a first embodiment of the present invention.

【図2】本発明の第2の実施形態として音声圧縮コンピ
ュータプログラムを示すフローチャートである。
FIG. 2 is a flowchart showing an audio compression computer program as a second embodiment of the present invention.

【図3】原波形のゼロクロス点間からリファレンス波形
データを抽出する処理を示す説明図である。
FIG. 3 is an explanatory diagram showing a process of extracting reference waveform data from between zero-cross points of an original waveform.

【図4】サンプリング点のズレからなる位相差を修正す
る処理を示す説明図である。
FIG. 4 is an explanatory diagram showing a process of correcting a phase difference due to a deviation of sampling points.

【図5】リファレンスデータの周期を原波形の周期と等
しくする処理を示す説明図である。
FIG. 5 is an explanatory diagram showing a process of making a cycle of reference data equal to a cycle of an original waveform.

【図6】差分データが小さくなるようにリファレンスデ
ータのゲインを補正する場合を示す説明図である。
FIG. 6 is an explanatory diagram showing a case where a gain of reference data is corrected so that difference data becomes small.

【図7】本発明の音声圧縮装置で圧縮されたデータを伸
長するための音声伸長装置の一例を示すブロック図であ
る。
FIG. 7 is a block diagram showing an example of a voice decompression device for decompressing data compressed by the voice compression device of the present invention.

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

1 周期検出手段 2 リファレンス波形作成回路 3 周期差検出回路 4 位相差検出回路 5 リサンプリング回路 6、14 補正回路 7 差分回路 8 量子化効率評価回路 9 制御回路 10 リサンプル回路 11、12 バッファ 13 合成回路 15 加算回路 1 Period detection means 2 Reference waveform creation circuit 3 Period difference detection circuit 4 Phase difference detection circuit 5 Resampling circuit 6,14 Correction circuit 7 Difference circuit 8 Quantization efficiency evaluation circuit 9 Control circuit 10 Resample circuit 11 and 12 buffers 13 Compositing circuit 15 Adder circuit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5D045 DA01 5J064 AA01 AA02 BA01 BB01 BB12 BC08 BC14 BC15 BC16 BC29 BD04    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5D045 DA01                 5J064 AA01 AA02 BA01 BB01 BB12                       BC08 BC14 BC15 BC16 BC29                       BD04

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 時間軸上に連続した複数の周期のデジタ
ル音声波形データから1周期分のデータを第1のリファ
レンス波形データとして取り出す手段と、 前記第1のリファレンス波形データと前記連続した複数
の周期のデジタル音声波形データにおける各周期の波形
データとの個々の差分データを求める手段と、 前記個々の差分データの合計値が最も少ない容量になる
ように前記第1のリファレンス波形データのゲインを調
整して得られる第2のリファレンス波形データと、前記
連続した複数の周期のデジタル音声波形データとの差分
を示す圧縮データに圧縮する手段とを、 備えた音声圧縮装置。
1. A means for extracting one cycle of data as first reference waveform data from digital speech waveform data of a plurality of cycles continuous on a time axis, and a plurality of the plurality of continuous reference waveform data and the first reference waveform data. A means for obtaining individual difference data from the waveform data of each period in the digital voice waveform data of the period, and adjusting the gain of the first reference waveform data so that the total value of the individual difference data becomes the smallest capacity. An audio compression apparatus comprising: means for compressing the second reference waveform data obtained as described above and compressed data indicating a difference between the digital audio waveform data of the plurality of continuous cycles.
【請求項2】 時間軸上に連続した複数の周期のデジタ
ル音声波形データから1周期分のデータを第1のリファ
レンス波形データとして取り出すステップと、 前記第1のリファレンス波形データと前記連続した複数
の周期のデジタル音声波形データにおける各周期の波形
データとの個々の差分データを求めるステップと、 前記個々の差分データの合計値が最も少ない容量になる
ように前記第1のリファレンス波形データのゲインを調
整して得られる第2のリファレンス波形データと、前記
連続した複数の周期のデジタル音声波形データとの差分
を示す圧縮データに圧縮するステップとをコンピュータ
に実現させ、 前記デジタル音声波形データを前記圧縮データに圧縮す
る機能を前記コンピュータに実現させることを特徴とす
る音声圧縮コンピュータプログラム。
2. A step of extracting, as first reference waveform data, one cycle of data from digital audio waveform data of a plurality of cycles continuous on a time axis, and a plurality of the plurality of continuous reference waveform data and the first reference waveform data. Obtaining individual difference data from the waveform data of each period in the digital voice waveform data of the period, and adjusting the gain of the first reference waveform data so that the total value of the individual difference data becomes the smallest capacity. And a step of compressing the second reference waveform data obtained as described above and compressed data indicating a difference between the digital audio waveform data of the plurality of continuous cycles, to realize the digital audio waveform data. Audio compression computer characterized in that the computer realizes the function of compressing in parallel. Computer program.
JP2002145782A 2002-05-21 2002-05-21 Audio compressing device and audio compressing computer program Withdrawn JP2003337597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002145782A JP2003337597A (en) 2002-05-21 2002-05-21 Audio compressing device and audio compressing computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002145782A JP2003337597A (en) 2002-05-21 2002-05-21 Audio compressing device and audio compressing computer program

Publications (1)

Publication Number Publication Date
JP2003337597A true JP2003337597A (en) 2003-11-28

Family

ID=29704958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002145782A Withdrawn JP2003337597A (en) 2002-05-21 2002-05-21 Audio compressing device and audio compressing computer program

Country Status (1)

Country Link
JP (1) JP2003337597A (en)

Similar Documents

Publication Publication Date Title
Robinson SHORTEN: Simple lossless and near-lossless waveform compression
EP1422690A1 (en) Apparatus and method for generating pitch waveform signal and apparatus and method for compressing/decompressing and synthesizing speech signal using the same
EP2596496B1 (en) A reverberation estimator
US20060173692A1 (en) Audio compression using repetitive structures
JP2003122400A (en) Signal modification based upon continuous time warping for low bitrate celp coding
JPS6035799A (en) Input voice signal encoder
WO2002086866A1 (en) Compression method and apparatus, decompression method and apparatus, compression/decompression system, peak detection method, program, and recording medium
JPH02272500A (en) Code driving voice encoding system
EP1259956A1 (en) Method of and apparatus for converting an audio signal between data compression formats
JPS62194296A (en) Voice coding system
EP1306831B1 (en) Digital signal processing method, learning method, apparatuses for them, and program storage medium
JP2003337597A (en) Audio compressing device and audio compressing computer program
JPH0644713B2 (en) Sound recording method
JP2004158925A (en) Digital data processing apparatus and digital data processing method
JP3719503B2 (en) Music player
JP2006350090A (en) Client/server speech recognizing method, speech recognizing method of server computer, speech feature quantity extracting/transmitting method, and system and device using these methods, and program and recording medium
JP2860991B2 (en) Audio storage and playback device
JP2001282246A (en) Waveform data time expansion and compression device
JP3648931B2 (en) Iterative transform speech coding method and apparatus
JP2001166796A (en) Device and method for compressing and decompressing voice data
JP3112462B2 (en) Audio coding device
JP4173218B2 (en) Audio compression apparatus and recording medium
JP2006508386A (en) Separating sound frame into sine wave component and residual noise
JPH0728497A (en) Voice coding device and its analyzer and synthesizer
JPH05265488A (en) Pitch extracting method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802