JPH07183854A - Sound compressed data editing device - Google Patents

Sound compressed data editing device

Info

Publication number
JPH07183854A
JPH07183854A JP32824393A JP32824393A JPH07183854A JP H07183854 A JPH07183854 A JP H07183854A JP 32824393 A JP32824393 A JP 32824393A JP 32824393 A JP32824393 A JP 32824393A JP H07183854 A JPH07183854 A JP H07183854A
Authority
JP
Japan
Prior art keywords
compressed data
normalization information
information
normalization
changing
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.)
Pending
Application number
JP32824393A
Other languages
Japanese (ja)
Inventor
Yoshinori Matsui
義徳 松井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP32824393A priority Critical patent/JPH07183854A/en
Publication of JPH07183854A publication Critical patent/JPH07183854A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To unnecessitate a compressor and an expandor by changing only normalization information and changing the sound volume at the time of a reproduction in sound compressed data having normalization information as information on the amplitude value of a sound signal. CONSTITUTION:In a compressed data reading means 11 for reading sound compressed data, compressed data D 11 is obtained. In a normalization information extracting means 12 for extracting normalization information in the compressed data D 11, normalization information D 12 is obtained. In a normalization information changing means 13 for changing the extracted normalization information D 12, changed normalization information D 13 is obtained. This device is provided with a normalization information writing means 14 for superscribing the changed normalization information D 13 in the compressed data D 11. Thus, by extracting the normalization information D 12 from the compressed data D 11, changing normalization information by adding a constant C to the normalization information D 12 and superscribing the changed normalization information D 13 on the normalization information of the original compressed data D 11, the sound volume at the time of a reproduction is changed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、音声信号を圧縮する際
において、MPEG(Moving Picture Expert Group)
のサブバンド符号化方式のように、正規化情報を圧縮デ
ータ中に含む圧縮データの編集装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPEG (Moving Picture Expert Group) when compressing an audio signal.
The present invention relates to an apparatus for editing compressed data that includes normalization information in compressed data, such as the sub-band coding method.

【0002】[0002]

【従来の技術】現在、音声圧縮方式の主流になりつつあ
るMPEGの音声信号圧縮はサブバンド符号化であり、
数ミリ秒から数十ミリ秒で1フレームを構成している。
この際、圧縮の効率を高くするために、フレーム内の最
大振幅値から正規化係数を得て、音声信号の振幅値を正
規化する。正規化係数は正規化情報として、圧縮データ
中に他のデータと共に多重化される。圧縮データには音
声信号の他に、フレーム毎に含まれる同期情報、圧縮パ
ラメータ、前記正規化情報などが含まれる。
2. Description of the Related Art MPEG audio signal compression, which is becoming the mainstream of audio compression systems at present, is sub-band coding.
One frame is composed of several milliseconds to several tens of milliseconds.
At this time, in order to increase the compression efficiency, the normalization coefficient is obtained from the maximum amplitude value in the frame to normalize the amplitude value of the audio signal. The normalization coefficient is multiplexed with other data in the compressed data as normalization information. The compressed data includes, in addition to the audio signal, synchronization information included in each frame, compression parameters, the normalization information, and the like.

【0003】このように構成された音声圧縮データを編
集する従来技術の一例を、図6のブロック図を用いて説
明する。まず、圧縮データ読みとり手段61によって、
圧縮データD1を記録媒体から読みとり、圧縮データ伸
長手段62によって、この圧縮されたデータD1を伸長
し、PCMデータD2を得る。音量を編集する場合には
音量変更手段63を用いてPCMデータD2の振幅値を
変更する。そして、PCMデータ圧縮手段64によって
編集済のPCMデータD2を圧縮し、圧縮データD3を
得る。圧縮データD3は、圧縮データ書き込み手段65
によって記録媒体に書き込まれる。
An example of the prior art for editing the voice compression data thus configured will be described with reference to the block diagram of FIG. First, the compressed data reading means 61
The compressed data D1 is read from the recording medium, and the compressed data decompressing unit 62 decompresses the compressed data D1 to obtain PCM data D2. When the volume is edited, the volume changing means 63 is used to change the amplitude value of the PCM data D2. Then, the PCM data compression means 64 compresses the edited PCM data D2 to obtain compressed data D3. The compressed data D3 is stored in the compressed data writing means 65.
Is written on the recording medium.

【0004】[0004]

【発明が解決しようとする課題】上述の方法では、一旦
PCMデータに戻すために圧縮データを伸長する必要が
あり、圧縮データ伸長手段が必要となる。また、音量を
変更した後のPCMデータを圧縮する必要があるため、
PCMデータ圧縮手段が不可欠になる。さらに、圧縮の
過程を余分に経るため音質の劣化が生ずるなどの課題が
ある。
In the method described above, it is necessary to decompress the compressed data in order to restore it to the PCM data, and the compressed data decompression means is required. Also, since it is necessary to compress the PCM data after changing the volume,
PCM data compression means becomes essential. Further, there is a problem that sound quality is deteriorated because the compression process is additionally performed.

【0005】[0005]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明においては、圧縮データから正規化情報を
抽出し、定数Cを正規化情報に加えて正規化情報に変更
を施し、変更した正規化情報を元の圧縮データの正規化
情報に上書きすることによって、再生時の音量を変更す
る。
In order to solve the above problems, in the present invention, normalization information is extracted from compressed data, a constant C is added to the normalization information, and the normalization information is changed. By overwriting the changed normalization information on the normalization information of the original compressed data, the volume at the time of reproduction is changed.

【0006】[0006]

【作用】本発明の音声圧縮データ編集装置によれば、音
量変更のための圧縮器及び伸長器は不要になる。また、
圧縮の過程を再度経ることなしに編集が行なえるため、
音質の劣化のない高品質な編集が行なえる。
According to the audio compressed data editing apparatus of the present invention, the compressor and the decompressor for changing the volume become unnecessary. Also,
Since editing can be done without going through the compression process again,
You can perform high-quality editing without deterioration of sound quality.

【0007】[0007]

【実施例】図1は、本発明の音声圧縮データの編集装置
の一実施例を説明するためのブロック図である。図1に
おいて、11は音声圧縮データを読みとるための圧縮デ
ータ読みとり手段であり、これにより圧縮データD11
を得る。12は圧縮データ中の正規化情報を抽出するた
めの正規化情報抽出手段であって正規化情報D12を得
る。13は抽出した正規化情報を変更するための正規化
情報変更手段であり、変更された正規化情報D13を得
る。14は変更した正規化情報D13を圧縮データD1
1中に上書きするための正規化情報書き込み手段であ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram for explaining an embodiment of an audio compressed data editing apparatus according to the present invention. In FIG. 1, reference numeral 11 denotes a compressed data reading means for reading the compressed audio data, which allows the compressed data D11 to be read.
To get Reference numeral 12 is a normalization information extraction means for extracting the normalization information in the compressed data, and obtains the normalization information D12. Reference numeral 13 is a normalization information changing unit for changing the extracted normalization information, and obtains the changed normalization information D13. 14 is the modified normalization information D13 which is compressed data D1.
It is a normalized information writing means for overwriting the data in 1.

【0008】正規化情報抽出手段12について、図2を
用いて説明する。図2はMPEGのサブバンド符号化方
式における、音声圧縮データの内容の一例を示すための
フレーム図である。圧縮データは数ミリ秒から数十ミリ
秒単位のフレームからなり、各フレームは先頭からヘッ
ダ201、ビット割り当て情報202、正規化情報20
3、音声信号204の順で構成される。ヘッダ201
は、12ビットからなる同期情報205と、20ビット
からなる圧縮パラメータ206とで構成される。また、
ビット割り当て情報202は、各サブバンドの量子化ビ
ットを4ビットで表す。正規化情報203は、各サブバ
ンドの正規化係数と対応するスケールファクタインデッ
クスに置き換え、これをSCFとし、6ビットで表す。
正規化係数が大きいほどSCFは小さい値をとり、逆に
正規化係数が小さいほどSCFは大きい値をとるように
対応している。
The normalized information extracting means 12 will be described with reference to FIG. FIG. 2 is a frame diagram showing an example of the contents of audio compression data in the MPEG subband coding system. The compressed data is composed of frames of several milliseconds to several tens of milliseconds, and each frame has a header 201, bit allocation information 202, and normalization information 20 from the beginning.
3 and audio signal 204 are arranged in this order. Header 201
Is composed of 12-bit synchronization information 205 and 20-bit compression parameter 206. Also,
The bit allocation information 202 represents the quantized bits of each subband with 4 bits. The normalization information 203 is replaced with a scale factor index corresponding to the normalization coefficient of each subband, and this is designated as SCF, which is represented by 6 bits.
The larger the normalization coefficient, the smaller the SCF, and conversely, the smaller the normalization coefficient, the larger the SCF.

【0009】ヘッダ201は32ビットであり、サブバ
ンドの数をNとすれば、ビット割り当て情報202は
(4×N)ビットである。したがって、同期情報205
を検出すれば、ヘッダから(32+4×N)ビット先に
正規化情報があることになり、これにより正規化情報抽
出手段12は正規化情報を抽出することが可能となる。
各サブバンドの量子化ビットが0でない場合、そのサブ
バンドに対応するSCFをもち、0でない量子化ビット
のサブバンドの数をnとすれば、正規化情報203のサ
イズは(6×n)ビットであることがわかり、正規化情
報を抽出することが可能となる。
The header 201 is 32 bits, and if the number of subbands is N, the bit allocation information 202 is (4 × N) bits. Therefore, the synchronization information 205
Is detected, the normalized information is (32 + 4 × N) bits ahead of the header, which allows the normalized information extracting means 12 to extract the normalized information.
If the quantization bit of each subband is not 0, the size of the normalization information 203 is (6 × n), where SCF has the SCF corresponding to that subband and the number of subbands of the nonzero quantization bit is n. It can be seen that it is a bit, and the normalized information can be extracted.

【0010】正規化情報変更手段13の第一の実施例に
ついて、図3のフローチャートを用いて説明する。ステ
ップ301において、各サブバンドのSCFに加える定
数CおよびSCFの個数nを設定し、SCFのとり得る
値の上限および加減をそれぞれMAX、MINとする。
ステップ302においてカウンタiを0に定め、ステッ
プ303において第i個目のSCFに定数Cを加える。
ステップ304においてSCFがMINより小さけれ
ば、ステップ305においてSCFをMINにクリップ
し、ステップ306においてSCFがMAXより大きけ
れば、ステップ307においてSCFをMAXにクリッ
プする。ステップ308でiを加算し、ステップ309
で全てのSCFを変更したか判断する。ステップ309
の条件が真であればステップ303からステップ308
を繰り返し、ステップ309の条件が偽であればステッ
プ310で次のフレームの存在を判断し、条件が真であ
ればステップ302からステップ309を繰り返し、条
件が偽であれば終了する。
A first embodiment of the normalization information changing means 13 will be described with reference to the flowchart of FIG. In step 301, a constant C and the number n of SCFs to be added to the SCF of each subband are set, and the upper limit and the adjustment of the value that the SCF can take are MAX and MIN, respectively.
In step 302, the counter i is set to 0, and in step 303, the constant C is added to the i-th SCF.
If SCF is smaller than MIN in step 304, SCF is clipped to MIN in step 305, and if SCF is larger than MAX in step 306, SCF is clipped to MAX in step 307. I is added in step 308, and step 309
Check if all SCFs have been changed. Step 309
If the condition is true, steps 303 to 308
If the condition of step 309 is false, the presence of the next frame is judged in step 310. If the condition is true, steps 302 to 309 are repeated, and if the condition is false, the process ends.

【0011】以下、正規化情報変更手段13の第二の実
施例について、図4のフローチャートを用いて説明す
る。ステップ401において定数Cを0に設定し、SC
Fの個数nを設定し、SCFのとり得る値の上限および
加減をそれぞれMAX、MINとする。ステップ402
において定数Cに1を加え、カウンタiを0に設定す
る。ステップ403において第i個目のSCFに定数C
を加える。ステップ404においてSCFがMINより
小さければ、ステップ405においてSCFをMINに
クリップし、ステップ406においてSCFがMAXよ
り大きければ、ステップ407においてSCFをMAX
にクリップする。ステップ408でiを加算し、ステッ
プ409で全てのSCFを変更したか判断する。ステッ
プ409の条件が真であればステップ403からステッ
プ408を繰り返し、ステップ409の条件が偽であれ
ば、ステップ410において全てのSCFがMAXにな
ったか判断する。ステップ410の条件が偽であれば、
ステップ411において次のフレームの存在を判断し、
条件が真であればステップ402から410を繰り返
す。ステップ410の条件が真であるか、またはステッ
プ411の条件が偽であるならば終了する。
A second embodiment of the normalization information changing means 13 will be described below with reference to the flow chart of FIG. In step 401, the constant C is set to 0 and SC
The number n of F is set, and the upper limit and the addition / subtraction of the value that the SCF can take are MAX and MIN, respectively. Step 402
At 1, the constant C is incremented by 1 and the counter i is set at 0. In step 403, the constant C is added to the i-th SCF.
Add. If SCF is less than MIN in step 404, SCF is clipped to MIN in step 405, and if SCF is greater than MAX in step 406, SCF is MAX in step 407.
Clip to. In step 408, i is added, and in step 409, it is determined whether all SCFs have been changed. If the condition in step 409 is true, steps 403 to 408 are repeated, and if the condition in step 409 is false, it is determined in step 410 whether all SCFs have become MAX. If the condition of step 410 is false,
In step 411, the presence of the next frame is judged,
If the condition is true, steps 402 to 410 are repeated. If the condition of step 410 is true or the condition of step 411 is false, the process ends.

【0012】以上2つの実施例は、定数Cの加算によっ
てSCFを変更したが、定数Cによるビットシフトによ
ってもSCFの変更が同様に行なえる。
In the above two embodiments, the SCF is changed by adding the constant C, but the SCF can be similarly changed by the bit shift by the constant C.

【0013】図5の(b)は定数Cを3として第一の実
施例を用いた場合の圧縮データの再生時の波形である。
(a)は編集を加えなかった場合の波形であるが、
(b)は(a)と比較して半分の振幅値になっているこ
とがわかる。(c)は第二の実施例を用いた場合の圧縮
データの再生時の波形である。定数Cが継時的に変化す
るため、徐々に振幅が小さくなっていき、フェードアウ
ト効果を実現している。
FIG. 5B shows a waveform at the time of reproducing the compressed data when the constant C is set to 3 and the first embodiment is used.
(A) is the waveform without editing,
It can be seen that the amplitude value of (b) is half that of (a). (C) is a waveform at the time of reproducing the compressed data when the second embodiment is used. Since the constant C changes over time, the amplitude gradually decreases, and the fade-out effect is realized.

【0014】[0014]

【発明の効果】以上のように、本発明は、音声信号の振
幅値に関する情報として正規化情報をもつ音声の圧縮デ
ータにおいて、正規化情報のみを変更することによって
再生時の音量を変更するので、圧縮器、伸長器が不要と
なり、回路構成が簡略化される。また、伸長、圧縮の過
程を経ないため、音質の劣化なしに音量の変更が可能と
なる。
As described above, according to the present invention, in the compressed data of voice having the normalization information as the information regarding the amplitude value of the voice signal, the volume at the time of reproduction is changed by changing only the normalization information. , A compressor and an expander are not required, and the circuit configuration is simplified. Further, since the process of expansion and compression is not performed, the volume can be changed without deterioration of sound quality.

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

【図1】本発明の音声圧縮データ編集装置における一実
施例のブロック図
FIG. 1 is a block diagram of an embodiment of an audio compressed data editing device of the present invention.

【図2】圧縮データの内容の一例を説明するためのフレ
ーム図
FIG. 2 is a frame diagram for explaining an example of the content of compressed data.

【図3】本発明の音声圧縮データ編集装置における一実
施例を説明するためのフローチャート
FIG. 3 is a flowchart for explaining an embodiment of the audio compressed data editing device of the present invention.

【図4】本発明の音声圧縮データ編集装置における一実
施例を説明するためのフローチャート
FIG. 4 is a flowchart for explaining one embodiment of the audio compressed data editing device of the present invention.

【図5】本発明の音声圧縮データ編集装置を用いた場合
の波形の変化を説明するための特性例図
FIG. 5 is a characteristic example diagram for explaining a change in waveform when the audio compressed data editing device of the present invention is used.

【図6】従来の音声圧縮データの編集方法の構成例を示
すブロック図
FIG. 6 is a block diagram showing a configuration example of a conventional method for editing compressed audio data.

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

11 圧縮データ読みとり手段 12 正規化情報抽出手段 13 正規化情報変更手段 14 正規化情報書き込み手段 D11 圧縮データ D12 正規化情報 D13 変更された正規化情報 201 ヘッダ 202 ビット割り当て情報 203 正規化情報 204 音声信号 205 同期情報 206 圧縮パラメータ 207 第1のサブバンドの量子化ビット 208 第2のサブバンドの量子化ビット 209 第Nサブバンドの量子化ビット 210 第1のサブバンドの正規化係数 211 第2のサブバンドの正規化係数 212 第nのサブバンドの正規化係数 11 Compressed Data Reading Means 12 Normalized Information Extracting Means 13 Normalized Information Changing Means 14 Normalized Information Writing Means D11 Compressed Data D12 Normalized Information D13 Modified Normalized Information 201 Header 202 Bit Allocation Information 203 Normalized Information 204 Voice Signals 205 synchronization information 206 compression parameter 207 first subband quantization bit 208 second subband quantization bit 209 Nth subband quantization bit 210 first subband normalization coefficient 211 second sub Band normalization factor 212 normalization factor for the nth subband

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】音声信号の振幅値に関する情報として正規
化情報をもつ音声の圧縮データにおいて、前記圧縮デー
タを読みとる圧縮データ読みとり手段と、前記正規化情
報を抽出する正規化情報抽出手段と、前記正規化情報に
定数Cを加えて変更する正規化情報変更手段と、前記変
更した正規化情報を圧縮データに書き込む正規化情報書
き込み手段とを有する音声圧縮データ編集装置。
1. In compressed audio data having normalization information as information on the amplitude value of a voice signal, compressed data reading means for reading the compressed data, normalization information extraction means for extracting the normalization information, and An audio compressed data editing apparatus having a normalization information changing unit for changing the normalization information by adding a constant C, and a normalization information writing unit for writing the changed normalization information in compressed data.
【請求項2】音声の圧縮データから抽出した正規化情報
に加える定数Cを継時的に変化させることを特徴とする
請求項1記載の音声圧縮データ編集装置。
2. The audio compressed data editing apparatus according to claim 1, wherein the constant C added to the normalization information extracted from the audio compressed data is continuously changed.
【請求項3】正規化情報変更手段は、定数Cによるビッ
トシフトによって正規化情報を変更することを特徴とす
る請求項1または請求項2記載の音声圧縮データ編集装
置。
3. The audio compressed data editing apparatus according to claim 1, wherein the normalization information changing means changes the normalization information by bit shifting with a constant C.
JP32824393A 1993-12-24 1993-12-24 Sound compressed data editing device Pending JPH07183854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32824393A JPH07183854A (en) 1993-12-24 1993-12-24 Sound compressed data editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32824393A JPH07183854A (en) 1993-12-24 1993-12-24 Sound compressed data editing device

Publications (1)

Publication Number Publication Date
JPH07183854A true JPH07183854A (en) 1995-07-21

Family

ID=18208043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32824393A Pending JPH07183854A (en) 1993-12-24 1993-12-24 Sound compressed data editing device

Country Status (1)

Country Link
JP (1) JPH07183854A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005128404A (en) * 2003-10-27 2005-05-19 Casio Comput Co Ltd Speech processor and speech encoding method
CN102486923A (en) * 2010-12-03 2012-06-06 索尼公司 Encoding apparatus, encoding method, decoding apparatus, decoding method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005128404A (en) * 2003-10-27 2005-05-19 Casio Comput Co Ltd Speech processor and speech encoding method
CN102486923A (en) * 2010-12-03 2012-06-06 索尼公司 Encoding apparatus, encoding method, decoding apparatus, decoding method, and program
JP2012118462A (en) * 2010-12-03 2012-06-21 Sony Corp Encoding device, encoding method, decoding device, decoding method, and program
CN102486923B (en) * 2010-12-03 2015-10-21 索尼公司 Encoding device, coding method, decoding device, coding/decoding method

Similar Documents

Publication Publication Date Title
JP3926726B2 (en) Encoding device and decoding device
JP3277679B2 (en) High efficiency coding method, high efficiency coding apparatus, high efficiency decoding method, and high efficiency decoding apparatus
JP5032314B2 (en) Audio encoding apparatus, audio decoding apparatus, and audio encoded information transmission apparatus
US7143047B2 (en) Time-scale modification of data-compressed audio information
US20060100885A1 (en) Method and apparatus to encode and decode an audio signal
JP2009116371A (en) Encoding device and decoding device
JP2007017908A (en) Signal encoding apparatus and method, signal decoding apparatus and method, and program and recording medium
JP2976860B2 (en) Playback device
US7792681B2 (en) Time-scale modification of data-compressed audio information
US20020169601A1 (en) Encoding device, decoding device, and broadcast system
JP4308229B2 (en) Encoding device and decoding device
US6647063B1 (en) Information encoding method and apparatus, information decoding method and apparatus and recording medium
US6034315A (en) Signal processing apparatus and method and information recording apparatus
JPH07183854A (en) Sound compressed data editing device
KR100300887B1 (en) A method for backward decoding an audio data
JP4508599B2 (en) Data compression method
JPH0793892A (en) Semiconductor memory audio recording and reproducing device
KR100247348B1 (en) Minimizing circuit and method of memory of mpeg audio decoder
JPH0715519A (en) Voice storage device
JPH10334604A (en) Compressed data reproducing apparatus
JPH08305393A (en) Reproducing device
JP2003029797A (en) Encoder, decoder and broadcasting system
JPH09147496A (en) Audio decoder
JPH08162963A (en) Data encoder and decoder
JP2000508146A (en) Data compression / expansion for multiple digital information signals