JPH0563584A - Signal recorder and/or reproducing device - Google Patents

Signal recorder and/or reproducing device

Info

Publication number
JPH0563584A
JPH0563584A JP24484791A JP24484791A JPH0563584A JP H0563584 A JPH0563584 A JP H0563584A JP 24484791 A JP24484791 A JP 24484791A JP 24484791 A JP24484791 A JP 24484791A JP H0563584 A JPH0563584 A JP H0563584A
Authority
JP
Japan
Prior art keywords
bits
unequal
data
band
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP24484791A
Other languages
Japanese (ja)
Other versions
JP3134393B2 (en
Inventor
Yoshiaki Oikawa
芳明 及川
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP03244847A priority Critical patent/JP3134393B2/en
Publication of JPH0563584A publication Critical patent/JPH0563584A/en
Priority to US08/222,574 priority patent/US5521713A/en
Priority to US08/486,316 priority patent/US5617219A/en
Application granted granted Critical
Publication of JP3134393B2 publication Critical patent/JP3134393B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To save the capacity of a recording medium by reducing the possibility of buffer overflow so as to enhance a bit compression efficiency. CONSTITUTION:Either equal length coding data from quantization sections 503,511 or unequal coding data from unequal code coding sections 504,512 are selected by changeover switches 521,523 and the selected data are recorded on a recording medium via a multiplexer 505 and a buffer 525. A discrimination section 520 compares a bit number of the equal length coding data from the quantization sections 503,511 with a bit number of the unequal coding data from the unequal code coding sections 504,512 and applies changeover control to the changeover switches 521,523 so as to select less bit number.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、信号をリアルタイムに
記録及び/又は再生可能な信号記録装置及び/又は再生
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal recording device and / or reproducing device capable of recording and / or reproducing a signal in real time.

【0002】[0002]

【従来の技術】先ず、信号記録装置に用いられる符号化
装置や信号再生装置に用いられる復号化装置に、不等長
符号化を採用する場合を考える。この不等長符号化と
は、可変長符号化とも称され、データの発生確率により
割り当てる符号の長さを変えて割り当てるという符号化
方式である。すなわち発生確率の高いものには短い符号
を割当、発生確率の低いものには長い符号を割り当てる
ことによって、平均符号長を短く効率的に符号化できる
という方法である。代表的な方式にハフマン符号があ
る。
2. Description of the Related Art First, let us consider a case where unequal length coding is adopted in a coding apparatus used in a signal recording apparatus and a decoding apparatus used in a signal reproducing apparatus. The unequal-length coding is also called variable-length coding, and is a coding method in which the length of the code to be allocated is changed according to the probability of occurrence of data. That is, by allocating short codes to those with a high probability of occurrence and long codes to those with a low probability of occurrence, it is possible to perform efficient coding with a short average code length. Huffman code is a typical method.

【0003】一般にデータは統計モデル化されて扱わ
れ、ガウシャン分布やラプラシアン分布などにモデル化
される。したがって、このような分布を持つデータは、
小さい振幅での発生確率が高いために、小さい振幅のデ
ータは短い符号が、大きい振幅での発生確率は低いの
で、大きい振幅のデータには長い符号が割当られる。
Generally, the data is treated as a statistical model and is modeled as a Gaussian distribution or a Laplacian distribution. Therefore, data with such a distribution is
Since the probability of occurrence at a small amplitude is high, a short code is assigned to data of a small amplitude, and the probability of occurrence at a large amplitude is low. Therefore, a long code is assigned to data of a large amplitude.

【0004】このような不等長符号化方式を適用した従
来の符号化装置の一例を図9に、復号化装置の一例を図
10にそれぞれ示す。図9に示す符号化装置において、
入力されたアナログ楽音信号がA/D(アナログ/ディ
ジタル)変換器301でA/D変換されてディジタル信
号となり、フレーム処理を行なうために所定のサンプル
数のデータ毎にまとめられて出力される。このデータを
周波数分析部302で周波数分析して、例えば2つのバ
ンド(周波数帯域)の信号に分ける。周波数分析された
各バンドの信号は、スケールファクタ算出部307、3
12に送られ、量子化のためのスケールファクタがそれ
ぞれ求められて、スケールファクタ量子化部308、3
13にそれぞれ送られる。スケールファクタ量子化部3
08、313では所定のビット数で上記各スケールファ
クタを量子化し、スケールファクタ逆量子化部309、
314及びマルチプレクサ305に送る。スケールファ
クタ逆量子化部309、314では、量子化された各ス
ケールファクタをそれぞれ逆量子化する。これらの逆量
子化された値を量子化部303、310にそれぞれ供給
するとともに、量子化ビット数決定部315にも供給す
る。量子化ビット数決定部315は、各バンド信号を量
子化するためのビット数をそれぞれ決定し、これらのビ
ット数を量子化部303、310及び不等長符号符号化
部304、311に送る。量子化部303、310で
は、上記逆量子化された各スケールファクタと各ビット
数により、上記周波数分析部302からの2つのバンド
信号のデータをそれぞれ量子化する。これらの量子化部
303、310により量子化された各バンドデータが不
等長符号符号化部304、311に入力され、不等長符
号化される。これらのデータをマルチプレクサ305に
入力する。したがって、マルチプレクサ305の出力で
あるビットストリームデータは、フレームごとに不等長
のビット数となる。そのためビットストリームデータは
バッファ306に蓄えられ、このバッファ306を介し
て、一定ビットレートの伝送路あるいはDAT(ディジ
タルオーディオテープレコーダ)等の記録再生系へ送ら
れる。
FIG. 9 shows an example of a conventional coding apparatus to which such an unequal length coding system is applied, and FIG. 10 shows an example of a decoding apparatus. In the encoding device shown in FIG. 9,
The input analog tone signal is A / D (analog / digital) converted by an A / D converter 301 to be a digital signal, which is collectively output for each predetermined number of samples for frame processing. This data is frequency-analyzed by the frequency analysis unit 302 and divided into, for example, signals of two bands (frequency bands). The signal of each band subjected to frequency analysis is supplied to the scale factor calculation units 307, 3
12, the scale factors for quantization are obtained, and the scale factor quantizers 308, 3
13 respectively. Scale factor quantizer 3
In 08 and 313, each scale factor is quantized by a predetermined number of bits, and the scale factor dequantization unit 309,
314 and multiplexer 305. The scale factor dequantization units 309 and 314 dequantize each quantized scale factor. These dequantized values are supplied to the quantizers 303 and 310, respectively, and also supplied to the quantization bit number determination unit 315. The quantization bit number determination unit 315 determines the number of bits for quantizing each band signal, and sends these bit numbers to the quantization units 303 and 310 and the unequal length code encoding units 304 and 311. The quantizers 303 and 310 quantize the data of the two band signals from the frequency analyzer 302, respectively, using the dequantized scale factors and the numbers of bits. The band data quantized by the quantizers 303 and 310 are input to the unequal length code encoders 304 and 311 and unequal length coded. These data are input to the multiplexer 305. Therefore, the bit stream data output from the multiplexer 305 has an unequal number of bits for each frame. Therefore, the bit stream data is stored in the buffer 306, and is sent to the recording path of a constant bit rate or a recording / reproducing system such as DAT (digital audio tape recorder) via the buffer 306.

【0005】次に図10に示す復号化装置において、伝
送路あるいはDAT等から得られたビットストリームデ
ータがフレーム毎に不等長のビット数となるので、バッ
ファ401に蓄えられる。このビットストリームデータ
はデマルチプレクサ402によりメインデータとスケー
ルファクタとに分けられる。各バンドデータが不等長符
号復号部403、408へ入力されてそれぞれ復号化さ
れ、逆量子化部404、409へ送られる。上記各バン
ドの量子化されたスケールファクタは、スケールファク
タ逆量子化部407、410でそれぞれ逆量子化され、
逆量子化部404、409及び量子化ビット数決定部4
11にそれぞれ送られる。量子化ビット数決定部411
では上記各バンド毎の量子化ビット数を決定し、不等長
符号復号部403、408及び逆量子化部404、40
9へそれぞれ出力する。逆量子化部404、409では
上記各バンド毎の逆量子化されたスケールファクタと量
子化ビット数とにより、上記各バンドの量子化されたデ
ータをそれぞれ逆量子化する。周波数合成部405で各
バンドの逆量子化されたデータより合成を行ない、D/
A(ディジタル/アナログ)変換器406でD/A変換
して出力する。
Next, in the decoding apparatus shown in FIG. 10, since the bit stream data obtained from the transmission line or DAT has an unequal number of bits for each frame, it is stored in the buffer 401. The bitstream data is divided by the demultiplexer 402 into main data and scale factors. Each band data is input to the unequal length code decoding units 403 and 408, decoded respectively, and sent to the dequantization units 404 and 409. The quantized scale factor of each band is dequantized by scale factor dequantization units 407 and 410,
Inverse quantization units 404 and 409 and quantization bit number determination unit 4
11 respectively. Quantization bit number determination unit 411
Then, the number of quantization bits for each band is determined, and the unequal length code decoding units 403 and 408 and the inverse quantization units 404 and 40 are determined.
Output to 9 respectively. The dequantization units 404 and 409 dequantize the quantized data of each band based on the dequantized scale factor and the number of quantization bits for each band. The frequency synthesizer 405 synthesizes the dequantized data of each band, and
The A (digital / analog) converter 406 performs D / A conversion and outputs.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述した図
9、図10に示すような不等長符号化を採用した従来の
記録再生装置においては、伝送または記録するビットレ
ートが一定であるため、リアルタイムに記録再生するた
めにバッファを設けて処理を行なっている。すなわち、
ある時のバッファの状態は、 B(n) =B(n-1) +Bin(n) −Bout(n) 〔bits〕 ・・・(1) となる。この(1)式において、nはバッファの記憶更
新サイクルのn番目を示し、B(n) がバッファに蓄えら
れるデータ量を、Bin(n) がバッファ入力データ量を、
またBout(n)がバッファ出力データ量をそれぞれ示して
いる。この(1)式のBin(n) が不等長で、Bout(n)が
一定という状態である。このような場合において、例え
ば長い符号が集中的に割当られた場合には、バッファに
蓄えようとするデータ量B(n) がバッファ容量Bmax を
超えてしまう(B(n) >Bmax)ようないわゆるオーバ
ーフロー状態が発生し、短い符号が集中的に割当られた
場合には、バッファから送るまたは記録するものが無く
なってしまう(B(n) <0)ようないわゆるアンダーフ
ローが発生するという問題点がある。
By the way, in the conventional recording / reproducing apparatus adopting the unequal length encoding as shown in FIGS. 9 and 10, the bit rate for transmission or recording is constant. A buffer is provided to perform recording and reproduction in real time. That is,
The state of the buffer at a certain time is as follows: B (n) = B (n-1) + Bin (n) -Bout (n) [bits] (1) In this equation (1), n indicates the nth storage update cycle of the buffer, B (n) is the amount of data stored in the buffer, and Bin (n) is the amount of buffer input data.
Bout (n) indicates the amount of buffer output data. Bin (n) in the equation (1) has an unequal length, and Bout (n) is constant. In such a case, for example, when long codes are intensively allocated, the amount B (n) of data to be stored in the buffer exceeds the buffer capacity Bmax (B (n)> Bmax). When a so-called overflow condition occurs and short codes are intensively allocated, there is nothing to be sent or recorded from the buffer (B (n) <0), so-called underflow occurs. There is.

【0007】これを解決するために、従来は (a)大きいメモリ容量をバッファに割り当てる。 (b)オーバーフローやアンダーフローが発生しそうな
場合に、量子化のためのスケールファクタを、発生を抑
制する方向の値に変更する。 等の対策がとられている。上記(b)の対策は、バッフ
ァの状態を監視し、オーバーフローが発生しそうな時に
はスケールファクタを大きくして、量子化される信号を
小さくする。小さい振幅の信号には短い符号が割当られ
ているので、オーバーフローを防ぐことができる。アン
ダーフローが発生しそうな場合にはスケールファクタを
小さくして、量子化される信号を大きくする。大きい振
幅の信号には長い符号が割当られているので、アンダー
フローを防ぐことができる、というものである。
In order to solve this, conventionally, (a) a large memory capacity is assigned to a buffer. (B) When overflow or underflow is likely to occur, the scale factor for quantization is changed to a value in the direction of suppressing the occurrence. Etc. are taken. The measure (b) is to monitor the state of the buffer and increase the scale factor when overflow is likely to occur to reduce the quantized signal. Since a short code is assigned to a signal having a small amplitude, overflow can be prevented. If underflow is likely to occur, reduce the scale factor and increase the quantized signal. Since a long code is assigned to a signal having a large amplitude, underflow can be prevented.

【0008】しかしながら、これらの対策において、上
記(a)のバッファ容量を大きくするという対策はハー
ドウェア規模を増大することになり、上記(b)のスケ
ールファクタを操作するという対策は、所望の特性を得
られなくなるという問題点を持っている。
However, in these measures, the measure (a) of increasing the buffer capacity increases the hardware scale, and the measure (b) of operating the scale factor has a desired characteristic. There is a problem that you can not get.

【0009】本発明は、上述の実情に鑑みてなされたも
のであり、不等長符号化方式を採用した場合に、バッフ
ァがオーバーフローする可能性を低減し、記録媒体の記
録容量を低減し得るような信号記録装置及び/又は再生
装置の提供を目的とする。
The present invention has been made in view of the above situation, and when the unequal length coding method is adopted, the possibility that the buffer overflows can be reduced and the recording capacity of the recording medium can be reduced. It is an object of the present invention to provide such a signal recording device and / or reproducing device.

【0010】[0010]

【課題を解決するための手段】本発明に係る信号記録装
置及び/又は再生装置は、信号をリアルタイムに記録及
び/又は再生可能な信号記録装置及び/又は再生装置に
おいて、量子化されたディジタルデータを不等長符号化
して記録する際に、不等長符号化されたフレーム当たり
あるいはバンド毎のビット数が等長符号化した場合のビ
ット数より長いとき、等長符号化された符号を選択して
記録し、再生する際には、その選択結果に応じて復号化
することにより、上述の課題を解決する。
A signal recording apparatus and / or reproducing apparatus according to the present invention is a signal recording apparatus and / or reproducing apparatus capable of recording and / or reproducing a signal in real time. When recording with unequal length coding, if the number of bits per frame or band that has been unequal length code is longer than the number of bits when unequal length coding, select the code of equal length coding When the data is recorded and played back, the above problem is solved by decoding according to the selection result.

【0011】[0011]

【作用】不等長符号化した場合のフレーム当たり又はバ
ンド毎のビット数が、等長符号化した場合のビット数よ
り長くなることがないため、バッファがオーバーフロー
する可能性を低減する、あるいはバッファ容量を小さく
することができる。また、記録される平均ビット数を小
さくできるので、より効率的にビット圧縮ができること
になり、記録媒体の容量の節約になる。
Since the number of bits per frame or band in the case of unequal length encoding does not become longer than the number of bits in the case of equal length encoding, the possibility of buffer overflow is reduced, or The capacity can be reduced. Moreover, since the average number of bits recorded can be reduced, bit compression can be performed more efficiently, and the capacity of the recording medium can be saved.

【0012】[0012]

【実施例】ここで、本発明実施例の基本原理を簡単に説
明すると、リアルタイムに記録/再生可能な信号記録装
置及び/又は再生装置において、量子化された楽音デー
タ等を符号化器にて不等長符号化して記録する際に、不
等長符号化されたフレーム当たりあるいはバンド毎のビ
ット数が、等長符号化した場合のビット数より長い場合
には、等長符号化された符号を選択し、短い場合には不
等長符号化された符号を選択して、その選択結果と共に
記録する。再生する際には、上記選択結果を読み出し
て、その選択結果に応じて復号する復号器を選択して、
上記楽音データ等を復号する、というものである。
The basic principle of the embodiments of the present invention will be briefly described below. In a signal recording apparatus and / or reproducing apparatus capable of recording / reproducing in real time, quantized musical sound data or the like is encoded by an encoder. When recording with unequal length coding, if the number of bits per frame or band that has been unequal length code is longer than the number of bits when unequal length coding, then the code is equal length coded Is selected, and if the code is short, a code that has been encoded with unequal length is selected and recorded together with the selection result. When playing, read the above selection result, select the decoder to be decoded according to the selection result,
The above-mentioned musical tone data and the like are decoded.

【0013】ここでバッファの状態として、前記図9に
示したような従来方式を Ba(n) =Ba(n-1) +Bina(n) −Bout(n) 〔bits〕 ・・・(2) と表し、上記技術を用いた場合のバッファの状態を Bb(n) =Bb(n-1) +Binb(n) −Bout(n) 〔bits〕 ・・・(3) と表すとき、Binb(n) の最大値Binb(n) maxが等長
符号化されたときの固定ビット数となるわけである。す
なわち、等長符号化されたときの固定ビット数以上の不
等長符号化された符号は採用されず、等長符号化された
符号が採用され、この値以下の場合に不等長符号化され
た符号が採用されるということである。
Here, as the state of the buffer, the conventional system as shown in FIG. 9 is Ba (n) = Ba (n-1) + Bina (n) -Bout (n) [bits] (2) And the state of the buffer using the above technique is expressed as Bb (n) = Bb (n-1) + Binb (n) -Bout (n) [bits] (3), Binb (n The maximum value Binb (n) max of) is a fixed number of bits when equal-length coding is performed. That is, a code that is unequal-length coded with a fixed number of bits or more when equal-length coded is not adopted, but a code that is equal-length coded is adopted. That is, the designated code is adopted.

【0014】従って、 Bina(n) max ≧ Binb(n) max ・・・(4) となるので、長い符号が集中的に割り当てられた場合
(例えば、最大値が連続で割り当てられた場合)には、
バッファの状態は従来方式より少ないビット数となる。
従って、オーバーフローの可能性を低減することができ
る。
Therefore, since Bina (n) max ≥ Binb (n) max (4), it becomes possible to allocate long codes intensively (for example, when maximum values are continuously allocated). Is
The buffer status has a smaller number of bits than the conventional method.
Therefore, the possibility of overflow can be reduced.

【0015】また、平均ビットレートはBina(n) 及び
Binb(n) の平均値である。(4)式より分かるように
最大値が抑えられるため、平均値である平均ビットレー
トが低減されることが分かる。
The average bit rate is the average value of Bina (n) and Binb (n). As can be seen from the equation (4), the maximum value is suppressed, so that the average bit rate, which is the average value, is reduced.

【0016】なお、上記(2)、(3)、(4)式にお
いて、各項の意味は、前記(1)式の場合と同様に、B
(n) がバッファに蓄えられるデータ量を、Bin(n) がバ
ッファ入力データ量を、またBout(n)がバッファ出力デ
ータ量をそれぞれ示している。また、括弧内のnはバッ
ファの記憶更新サイクルのn番目を示し、各項に付した
添付文字のaが従来方式を、bが本発明実施例の技術を
用いた場合をそれぞれ示している。
In the equations (2), (3) and (4), the meaning of each term is B as in the case of the equation (1).
(n) indicates the amount of data stored in the buffer, Bin (n) indicates the amount of buffer input data, and Bout (n) indicates the amount of buffer output data. In addition, n in parentheses indicates the nth of the storage update cycle of the buffer, the attached character a attached to each item indicates the conventional method, and b indicates the case where the technique of the embodiment of the present invention is used.

【0017】以下、本発明の好ましい実施例について、
図面を参照しながら説明する。図1は本発明に係る信号
記録装置の一実施例を示すブロック回路図である。この
図1に示す信号記録装置において、入力されたアナログ
楽音信号がA/D(アナログ/ディジタル)変換器50
1でA/D変換されてディジタル信号となり、フレーム
処理を行なうために所定のサンプル数のデータ毎にまと
められて出力される。このデータを周波数分析部502
で周波数分析して、例えば2つのバンド(周波数帯域)
の信号に分ける。周波数分析された各バンドの信号は、
スケールファクタ算出部508、513に送られ、量子
化のためのスケールファクタがそれぞれ求められて、ス
ケールファクタ量子化部509、514にそれぞれ送ら
れる。スケールファクタ量子化部509、514では所
定のビット数で上記各スケールファクタを量子化し、ス
ケールファクタ逆量子化部510、515及びマルチプ
レクサ505にそれぞれ送る。スケールファクタ逆量子
化部510、515では、量子化された各スケールファ
クタをそれぞれ逆量子化する。これらの逆量子化された
値を量子化部503、511にそれぞれ供給するととも
に、量子化ビット数決定部516にも供給し、各バンド
信号を量子化するためのビット数をそれぞれ決定して量
子化部503、511に送る。
The preferred embodiments of the present invention will be described below.
A description will be given with reference to the drawings. 1 is a block circuit diagram showing an embodiment of a signal recording apparatus according to the present invention. In the signal recording apparatus shown in FIG. 1, the input analog musical tone signal has an A / D (analog / digital) converter 50.
At 1, the signal is A / D converted into a digital signal, which is then collected and output for each predetermined number of samples of data for frame processing. This data is used as the frequency analysis unit 502.
Frequency analysis with, for example, two bands (frequency band)
The signal is divided into. The frequency analyzed signals of each band are
The scale factors are sent to the scale factor calculators 508 and 513, the scale factors for quantization are obtained, and the scale factors are sent to the scale factor quantizers 509 and 514, respectively. The scale factor quantizers 509 and 514 quantize each scale factor with a predetermined number of bits, and send the quantizers to the scale factor dequantizers 510 and 515 and the multiplexer 505, respectively. The scale factor dequantization units 510 and 515 dequantize each quantized scale factor. These dequantized values are supplied to the quantizers 503 and 511, respectively, and are also supplied to the quantization bit number determiner 516 to determine the number of bits for quantizing each band signal and quantize them. Send to the conversion units 503 and 511.

【0018】量子化部503、511では、上記逆量子
化された各スケールファクタと各ビット数とにより、上
記周波数分析部502からの2つのバンド信号のデータ
をそれぞれ量子化する。これらの量子化部503、51
1により量子化されたデータは、及び不等長符号符号化
部504、512にそれぞれ送られ、また、切換スイッ
チ521、523の各被選択端子aにそれぞれ送られ
る。各不等長符号符号化部504、512で不等長符号
化されたデータは、切換スイッチ521、523の各被
選択端子bにそれぞれ送られる。また、量子化部50
3、511からは等長符号化されたトータルビット数が
出力され、不等長符号符号化部504、512からは不
等長符号化されたトータルビット数が出力され、これら
が判定部520に送られる。判定部520では、当該フ
レームにおける等長符号化した場合の符号化ビット数の
合計と、不等長符号化した場合の符号化ビット数の合計
とを互いに比較し、小さい方の符号化方式の選択を指示
する1ビットの判定結果を出力する。この判定結果を切
換スイッチ521、523に供給して、判定結果に応じ
て、不等長符号化された符号(データ)か等長符号化さ
れた符号(データ)かのいずれか一方を切換選択し、マ
ルチプレクサ505に送る。マルチプレクサ505では
入力された上述のデータを多重化して、ビットストリー
ムデータをバッファ525へ送り、このバッファ525
から伝送路やDAT(ディジタルオーディオテープレコ
ーダ)等の記録再生系へ送るようにしている。
The quantizers 503 and 511 quantize the data of the two band signals from the frequency analyzer 502 by using the dequantized scale factors and the numbers of bits. These quantizers 503, 51
The data quantized by 1 are sent to the unequal length code encoding units 504 and 512, respectively, and to the selected terminals a of the changeover switches 521 and 523, respectively. The unequal-length coded data by the unequal-length code encoders 504 and 512 are sent to the selected terminals b of the changeover switches 521 and 523, respectively. In addition, the quantizer 50
3, 511 output equal-length coded total bit numbers, and unequal-length code encoding units 504, 512 output unequal-length encoded total bit numbers, which are sent to the determination unit 520. Sent. The determination unit 520 compares the total number of coded bits in the frame in the case of equal-length coding with the total number of coded bits in the case of unequal length coding, and determines which of the smaller coding methods is used. A 1-bit judgment result instructing selection is output. This determination result is supplied to the changeover switches 521 and 523, and either the unequal-length encoded code (data) or the equal-length encoded code (data) is switched and selected according to the determination result. And sends it to the multiplexer 505. The multiplexer 505 multiplexes the above-mentioned input data and sends the bit stream data to the buffer 525.
To a recording / reproducing system such as a transmission line or DAT (digital audio tape recorder).

【0019】次に、図2は本発明に係る信号再生装置の
一実施例を示している。この図2に示す信号再生装置に
おいて、伝送路やDATから読み出されたビットストリ
ームデータは、フレーム毎に不等長のビット数となるこ
とを考慮し、バッファ401に蓄える。デマルチプレク
サ603にて、先ずこれから読み出そうとするデータの
符号化方式を知るために、上記判定結果を読み出し、こ
の判定結果に応じて切換スイッチ621、622を切換
制御する。すなわち、切換スイッチ621、622は、
上記判定結果が等長符号化方式の選択を指示している場
合にはいずれも被選択端子a側に切換制御され、判定結
果が不等長符号化方式の選択を指示している場合にはい
ずれも被選択端子b側に切換制御される。上記ビットス
トリームデータはデマルチプレクサ603により上記各
バンドの量子化されたメインデータと量子化されたスケ
ールファクタとに分けられる。メインの各バンドデータ
が切換スイッチ621、622に送られ、これらの切換
スイッチ621、622の各被選択端子aからの出力が
逆量子化部605、610にそれぞれ送られ、各被選択
端子bからの出力が不等長符号復号部604、609に
それぞれ送られるようになっている。従って、判定結果
が不等長符号化方式を指示している場合には、デマルチ
プレクサ603からの各バンドデータが切換スイッチ6
21、622の各被選択端子bを介して不等長符号復号
部604、609にそれぞれ送られて復号化された後、
逆量子化部605、610にそれぞれ送られる。判定結
果が等長符号化方式を指示している場合には、デマルチ
プレクサ603からの各バンドデータは切換スイッチ6
21、622の各被選択端子aからそれぞれ取り出さ
れ、不等長符号復号部604、609をパスして、逆量
子化部605、610にそれぞれ送られる。
Next, FIG. 2 shows an embodiment of the signal reproducing apparatus according to the present invention. In the signal reproducing apparatus shown in FIG. 2, the bit stream data read from the transmission path or DAT is stored in the buffer 401 in consideration of the fact that the number of bits is unequal length for each frame. The demultiplexer 603 first reads out the above determination result and controls the changeover switches 621 and 622 in accordance with the determination result in order to know the encoding system of the data to be read out. That is, the changeover switches 621 and 622 are
In the case where the above-mentioned determination results instruct the selection of the equal-length encoding method, the switching is controlled to the selected terminal a side in both cases, and when the determination results instruct the selection of the unequal-length encoding method. Both are switched and controlled to the selected terminal b side. The bitstream data is divided by the demultiplexer 603 into the quantized main data of each band and the quantized scale factor. Each main band data is sent to the changeover switches 621 and 622, the outputs from the selected terminals a of these changeover switches 621 and 622 are sent to the dequantizers 605 and 610, respectively, and the selected terminals b are sent. The output of is transmitted to the unequal length code decoding units 604 and 609, respectively. Therefore, when the determination result indicates the unequal length coding method, each band data from the demultiplexer 603 is changed.
After being sent to the unequal length code decoding units 604 and 609 through the selected terminals b of Nos. 21 and 622, respectively, and decoded,
It is sent to the inverse quantizers 605 and 610, respectively. When the determination result indicates the equal-length coding method, each band data from the demultiplexer 603 is transferred to the changeover switch 6
21 and 622 are respectively taken out from the selected terminals a, passed through the unequal length code decoding units 604 and 609, and sent to the dequantization units 605 and 610, respectively.

【0020】デマルチプレクサ603からの上記各バン
ドの量子化されたスケールファクタは、スケールファク
タ逆量子化部608、611でそれぞれ逆量子化され、
逆量子化部605、610及び量子化ビット数決定部6
13にそれぞれ送られる。量子化ビット数決定部613
では上記各バンド毎の量子化ビット数を決定し、逆量子
化部605、610へそれぞれ出力する。逆量子化部6
05、610では上記各バンド毎の逆量子化されたスケ
ールファクタと量子化ビット数とにより、上記各バンド
の量子化されたデータをそれぞれ逆量子化する。周波数
合成部606で各バンドの逆量子化されたデータより合
成を行ない、D/A(ディジタル/アナログ)変換器6
07でD/A変換して出力する。
The quantized scale factor of each band from the demultiplexer 603 is dequantized by scale factor dequantization units 608 and 611, respectively,
Inverse quantization units 605 and 610 and quantization bit number determination unit 6
13 respectively. Quantization bit number determination unit 613
Then, the number of quantization bits for each band is determined and output to the inverse quantizers 605 and 610, respectively. Inverse quantizer 6
In 05 and 610, the quantized data of each band is dequantized by the dequantized scale factor and the number of quantization bits for each band. The frequency synthesizer 606 synthesizes the inversely quantized data of each band, and the D / A (digital / analog) converter 6
At 07, D / A conversion is performed and output.

【0021】以上説明した信号記録装置、信号再生装置
によれば、不等長符号化した場合のフレーム当たりビッ
ト数が、等長符号化した場合のビット数より長くなるこ
とがないため、バッファ525等のオーバーフローが生
じ難くなり、バッファ容量を少なくできる。また、記録
される平均ビット数を小さくできるので、ビット圧縮効
率が高まり、記録媒体の容量を節約できる。
According to the signal recording apparatus and the signal reproducing apparatus described above, the number of bits per frame in the case of unequal length coding does not become longer than the number of bits in the case of equal length coding, so that the buffer 525 is used. It becomes difficult for overflow to occur and the buffer capacity can be reduced. Moreover, since the average number of bits to be recorded can be reduced, the bit compression efficiency is improved and the capacity of the recording medium can be saved.

【0022】ここで図3、図4は、バンド毎のビット数
に応じて符号化方式の切り換えを行う場合の信号記録装
置、信号再生装置をそれぞれ示している。図3に示す信
号記録装置において、上記図1に示す信号記録装置と異
なる点としては、不等長符号により符号化されたビット
数と等長符号により符号化されたビット数とを比較し判
定する判定部をバンド毎に設けている点が挙げられる。
すなわち、1つのバンドデータについての量子化部50
3からの等長符号化されたビット数と不等長符号符号化
部504からの不等長符号化されたビット数とが判定部
522に送られて比較され、小さい方の符号化方式を当
該バンドについての符号化方式として選択する。また、
もう1つのバンドデータについての量子化部511から
の等長符号化されたビット数と不等長符号符号化部51
2からの不等長符号化されたビット数とが当該バンドの
判定部524に送られて比較判定される。そして、判定
部522からの判定結果により切換スイッチ521を切
換制御し、判定部524からの判定結果により切換スイ
ッチ522を切換制御する。また、これらの判定部52
2、524からの各バンド毎の判定結果がそれぞれ記録
される。他の構成及び作用は、上述した図1に示す実施
例と同様であるため、図中の対応する部分に同じ指示符
号を付して説明を省略する。
Here, FIGS. 3 and 4 show a signal recording device and a signal reproducing device, respectively, in the case of switching the coding method according to the number of bits for each band. The signal recording apparatus shown in FIG. 3 is different from the signal recording apparatus shown in FIG. 1 in that the number of bits encoded by the unequal-length code is compared with the number of bits encoded by the equal-length code to make a determination. One of the points is that each band is provided with a determination unit that does.
That is, the quantization unit 50 for one band data
The number of equal-length coded bits from 3 and the number of non-equal-length coded bits from the unequal-length code encoding unit 504 are sent to the determination unit 522 for comparison, and the smaller encoding method is selected. It is selected as the encoding method for the band. Also,
The number of equal-length coded bits from the quantizing unit 511 for the other band data and the unequal-length code encoding unit 51
The unequal length coded bit number from 2 is sent to the determination unit 524 of the band and compared and determined. Then, the changeover switch 521 is switch-controlled according to the determination result from the determination unit 522, and the changeover switch 522 is switch-controlled according to the determination result from the determination unit 524. In addition, these determination units 52
The determination results for each band from 2, 524 are recorded respectively. Since other configurations and operations are the same as those of the embodiment shown in FIG. 1 described above, the corresponding parts in the drawing are designated by the same reference numerals and the description thereof will be omitted.

【0023】次に図4に示す信号再生装置において、上
記図2に示す信号再生装置と異なる点は、記録媒体に各
バンド毎の判定結果が記録されていることから、デマル
チプレクサ603を介してこれらの各バンド毎の判定結
果をそれぞれ読み出し、各バンドの切換スイッチ62
1、622をそれぞれ切換制御することである。他の構
成及び作用は、上述した図2に示す実施例と同様である
ため、図中の対応する部分に同じ指示符号を付して説明
を省略する。
Next, the signal reproducing apparatus shown in FIG. 4 is different from the signal reproducing apparatus shown in FIG. 2 above, because the judgment result for each band is recorded on the recording medium, and therefore, the signal is reproduced via the demultiplexer 603. The determination results for each band are read out, and the changeover switch 62 for each band is read.
That is, switching control is performed on each of No. 1 and 622. Since other configurations and operations are similar to those of the embodiment shown in FIG. 2 described above, the corresponding parts in the figure are designated by the same reference numerals and the description thereof will be omitted.

【0024】図5、図6は、上記2種類の実施例のそれ
ぞれの処理動作を説明するための処理の様子を示す図で
ある。すなわち図5は、上記図1、図2に示した実施例
の処理の様子の例を示しており、横軸は順次処理される
フレームの番号(フレーム処理番号)を示し、縦軸はフ
レーム当たりのビット数(ビット数/フレーム)を示し
ている。この図5中で実線が不等長符号化した場合のビ
ット数、破線が等長符号化した場合のビット数、太線が
本実施例により選択されたビット数をそれぞれ表してい
る。1ビットの判定結果は、“1”が不等長符号化方式
を、“0”が等長符号化方式をそれぞれ選択することを
指示している。例えば、第1フレームでは不等長符号化
した場合のビット数の方が等長符号化した場合のビット
数よりも長いので、等長符号化方式が選択されている。
第2フレームも同様である。第3フレームでは、等長符
号化した場合のビット数の方が不等長符号化した場合の
ビット数よりも長いので、不等長符号化方式が選択され
ている。このように順次処理が行われる。
FIG. 5 and FIG. 6 are views showing the manner of processing for explaining the respective processing operations of the above-mentioned two types of embodiments. That is, FIG. 5 shows an example of the processing state of the embodiment shown in FIG. 1 and FIG. 2, where the horizontal axis shows the number of frames to be sequentially processed (frame processing number), and the vertical axis shows per frame. The number of bits (number of bits / frame) is shown. In FIG. 5, the solid line represents the number of bits in the case of unequal length coding, the broken line represents the number of bits in the case of equal length coding, and the thick line represents the number of bits selected in this embodiment. The 1-bit determination result indicates that "1" selects the unequal-length coding method and "0" selects the equal-length coding method. For example, in the first frame, the number of bits in the case of unequal length encoding is longer than the number of bits in the case of equal length encoding, so the equal length encoding method is selected.
The same applies to the second frame. In the third frame, the number of bits in the case of equal-length coding is longer than the number of bits in the case of unequal-length coding, so the unequal-length coding method is selected. In this way, the sequential processing is performed.

【0025】この図5の例より、等長符号化した場合よ
り不等長符号化した場合の方が平均ビットレートが短
く、それよりも本実施例の方がさらに平均ビットレート
が短くなっていることが分かる。また、各フレームに割
り当てられるビット数の最大値が等長符号化した場合の
ビット数に制限されるので、例えば第7フレームの場合
のような不等長符号化された場合のビット数が連続する
場合に、バッファの状態は本実施例方式の場合の方が少
なくて済むことが分かる。
From the example of FIG. 5, the average bit rate is shorter in the case of unequal length coding than in the case of equal length coding, and the average bit rate is further shorter in the present embodiment than that. I understand that Further, since the maximum value of the number of bits assigned to each frame is limited to the number of bits in the case of equal length encoding, the number of bits in the case of unequal length encoding such as the case of the seventh frame is continuous. In this case, it can be seen that the buffer state is smaller in the case of the method of this embodiment.

【0026】次に図6は、上記図3、図4に示す実施例
の処理の様子の例を示しており、各フレーム処理番号の
順に、横軸にバンド番号、縦軸にバンド当たりのビット
数をそれぞれ示している。実線は不等長符号化した場合
のビット数を表し、破線は上記量子化ビット数決定部5
16でフレーム当たりのビット数に収まるように各バン
ドにそれぞれ割り当てられたビット数により等長符号化
した場合のビット数を表し、太線はこの図3、図4の実
施例により選択されたビット数を表している。判定結果
は“1”が不等長符号化方式、“0”が等長符号化方式
にそれぞれ対応している。、太線が本実施例により選択
されたビット数をそれぞれ表している。例えば、第1フ
レームでは、第1バンド、第2バンド共に不等長符号化
した場合のビット数の方が等長符号化した場合のビット
数よりも短いので、両バンド共に不等長符号化方式が選
択されている。第2フレームにおいては、第1バンドで
は不等長符号化した場合の方が短く、第2バンドでは等
長符号化した場合の方が短いため、第1バンドは不等長
符号化方式が、第2バンドは等長符号化方式がそれぞれ
選択される。このように、各フレーム内の各バンド毎
に、それぞれ最適な符号化方式が選択されるように処理
が行われる。
Next, FIG. 6 shows an example of the processing state of the embodiment shown in FIGS. 3 and 4, in which the horizontal axis represents the band number and the vertical axis represents the bits per band in the order of the frame processing numbers. Each number is shown. The solid line represents the number of bits when unequal length coding is performed, and the broken line is the quantization bit number determination unit 5 described above.
16 indicates the number of bits in the case of equal-length encoding by the number of bits allocated to each band so that the number of bits per frame fits, and the thick line indicates the number of bits selected by the embodiments of FIGS. 3 and 4. Is represented. In the determination result, "1" corresponds to the unequal length coding method, and "0" corresponds to the equal length coding method. , Bold lines respectively indicate the number of bits selected in this embodiment. For example, in the first frame, the number of bits when unequal-length coding is performed in both the first band and the second band is shorter than the number of bits when unequal-length coding is performed. The method is selected. In the second frame, the unequal length coding scheme is shorter in the first band and the unequal length coding scheme is shorter in the second band. For the second band, the equal length coding method is selected. In this way, the processing is performed so that the optimum coding method is selected for each band in each frame.

【0027】次に、図7、図8は、ICメモリカード等
の半導体メモリを記録媒体として用いてリアルタイムに
記録/再生可能な記録/再生装置において、不等長符号
化を採用する際に、フレーム当たりのビット数に応じて
書き込み/読み出しの速度又は時間を制御する記録/再
生装置に、本発明を適用した実施例を示している。すな
わち図7の信号記録装置においては、上記図1に示す実
施例を基本構成として、さらに、判定部520から上記
選択された符号化方式のデータのフレーム当たりのビッ
ト数(各バンドの合計ビット数)を書き込み速度・時間
制御部527に送り、書き込み速度・時間制御部527
では、求められたビット数に応じてバンドデータの書き
込み速度について、ビット数が多い場合には高速で、ビ
ット数が少ない場合には低速で書き込むように、ライト
(書込)信号をコントロールして、書き込み装置506
へ出力する。あるいは、常に高速で書き込みを行ない、
ライト信号の時間(書き込み時間)をコントロールして
書き込み装置506へ出力する。書き込み装置506で
は、上記ライト信号に応じてマルチプレクサ505から
のビットストリームデータを、半導体メモリであるIC
メモリカード507に書き込むという処理を行なう。こ
の図7の他の構成及び作用は、上述した図1に示す実施
例と同様であるため、対応する部分に同じ指示符号を付
して説明を省略する。
Next, FIGS. 7 and 8 show the case where unequal length encoding is adopted in a recording / reproducing apparatus capable of recording / reproducing in real time using a semiconductor memory such as an IC memory card as a recording medium. An embodiment is shown in which the present invention is applied to a recording / reproducing apparatus that controls the writing / reading speed or time according to the number of bits per frame. That is, in the signal recording apparatus of FIG. 7, the number of bits per frame of the data of the selected encoding method from the determination unit 520 is used as the basic configuration of the embodiment shown in FIG. 1 (the total number of bits of each band). ) To the writing speed / time control unit 527, and the writing speed / time control unit 527
Then, the write (write) signal is controlled so that the writing speed of the band data is high when the number of bits is large and low when the number of bits is small according to the obtained number of bits. , Writing device 506
Output to. Or, always write at high speed,
The write signal time (write time) is controlled and output to the writing device 506. In the writing device 506, the bit stream data from the multiplexer 505 is transferred to the IC, which is a semiconductor memory, according to the write signal.
A process of writing to the memory card 507 is performed. Since the other structure and operation of this FIG. 7 are the same as those of the embodiment shown in FIG. 1 described above, the same reference numerals are given to the corresponding portions and the description thereof will be omitted.

【0028】このように、フレーム当たりのビット数に
応じて、ICメモリカード507に対する書き込み速度
あるいは書き込み時間を制御しているため、上述のよう
なバッファを用いることなく不等長符号による記録が行
える。従って、バッファ処理及びオーバーフロー、アン
ダーフロー対策が不要となり、バッファによるハードウ
ェア規模の増大がなく、オーバーフロー、アンダーフロ
ー対策のためのスケールファクタ操作等による特性劣化
等の問題も生じない。
As described above, since the writing speed or the writing time for the IC memory card 507 is controlled according to the number of bits per frame, recording by unequal length code can be performed without using the above buffer. .. Therefore, buffer processing and measures against overflow and underflow are not required, the hardware scale does not increase due to the buffer, and problems such as characteristic deterioration due to scale factor operation for measures against overflow and underflow do not occur.

【0029】次に図8に示す信号再生装置において、半
導体メモリである例えばICメモリカード601から読
み出し装置602、デマルチプレクサ603を介して、
先ずこれから読み出そうとするフレーム当たりのデータ
のビット数を所定の読み出し速度で読み出す。この値を
読み出し速度・時間制御部612に送る。読み出し速度
・時間制御部612では、この符号化ビット数の合計に
応じてメインデータの読み出し速度を、ビット数が多い
場合には高速で、ビット数が少ない場合には低速で読み
出すようにリード(読出)信号をコントロールして読み
出し装置602へ出力する。あるいは常に高速で読み出
しを行ない、リード信号の時間をコントロールして読み
出し装置602へ出力する。読み出し装置602ではリ
ード信号に応じてICメモリカード601からのビット
ストリームデータをデマルチプレクサ603へ読み込
む。この図8の他の構成及び作用は、上述した図2に示
す実施例の信号再生装置と同様であるため、対応する部
分に同じ指示符号を付して説明を省略する。
Next, in the signal reproducing apparatus shown in FIG. 8, from a semiconductor memory, for example, an IC memory card 601, a reading device 602 and a demultiplexer 603,
First, the number of bits of data per frame to be read is read at a predetermined read speed. This value is sent to the reading speed / time control unit 612. The read speed / time control unit 612 reads the main data according to the total number of encoded bits so that the main data is read at high speed when the number of bits is large and at low speed when the number of bits is small ( The read signal is controlled and output to the reading device 602. Alternatively, the reading is always performed at high speed, and the time of the read signal is controlled and output to the reading device 602. The reading device 602 reads the bit stream data from the IC memory card 601 into the demultiplexer 603 according to the read signal. Since the other structure and operation of FIG. 8 are the same as those of the signal reproducing apparatus of the embodiment shown in FIG. 2 described above, the same reference numerals are given to the corresponding portions and the description thereof will be omitted.

【0030】このような信号再生装置によれば、ICメ
モリカード601から読み出すデータのフレーム当たり
のビット数に応じて、読み出す速度あるいは読み出し時
間を制御しているため、バッファを用いることなく再生
が行える。従って、不等長符号を採用してもバッファ処
理及びオーバーフロー、アンダーフロー対策が不要とな
り、ハードウェア規模の増大がなく、オーバーフロー、
アンダーフロー対策のためのスケールファクタ操作等に
よる特性劣化等の問題も生じない。
According to such a signal reproducing device, the reading speed or the reading time is controlled according to the number of bits per frame of the data read from the IC memory card 601, so that the reproduction can be performed without using a buffer. .. Therefore, even if the unequal length code is adopted, buffer processing, overflow, and underflow countermeasures are not required, and the hardware scale does not increase, and overflow,
There is no problem such as characteristic deterioration due to scale factor operation or the like to prevent underflow.

【0031】なお、本発明は上記実施例のみに限定され
るものではなく、例えば、分割バンド数を3以上として
もよい。また、本発明は、信号記録専用装置、信号再生
専用装置、信号記録再生装置のいずれにも適用可能であ
ることは勿論である。さらに、記録媒体となる半導体メ
モリは、ICメモリカードに限定されず、メモリカート
リッジやメモリパック等の形態も考えられる。またさら
に、記録媒体に対する記録再生のみならず、伝送媒体を
介しての信号伝送にも本発明を適用できる。
The present invention is not limited to the above embodiment, and the number of divided bands may be three or more, for example. Further, it is needless to say that the present invention can be applied to any of a signal recording dedicated device, a signal reproduction dedicated device, and a signal recording / reproducing device. Further, the semiconductor memory serving as the recording medium is not limited to the IC memory card, and may be in the form of a memory cartridge, a memory pack, or the like. Furthermore, the present invention can be applied not only to recording / reproducing to / from a recording medium, but also to signal transmission via a transmission medium.

【0032】[0032]

【発明の効果】本発明に係る信号記録装置によれば、信
号をリアルタイムに記録及び/又は再生可能な信号記録
装置及び/又は再生装置において、量子化されたディジ
タルデータを不等長符号化して記録する際に、不等長符
号化されたフレーム当たりあるいはバンド毎のビット数
が等長符号化した場合のビット数より長いとき、等長符
号化された符号を選択して記録し、再生する際には、そ
の選択結果に応じて復号化しているため、不等長符号化
した場合のフレーム当たり又はバンド毎のビット数が、
等長符号化した場合のビット数より長くなることがな
く、バッファがオーバーフローする可能性を低減し、あ
るいはバッファ容量を小さくすることができる。また、
記録される平均ビット数を小さくできるので、より効率
的にビット圧縮ができることになり、記録媒体の容量の
節約になる。
According to the signal recording apparatus of the present invention, in a signal recording apparatus and / or reproducing apparatus capable of recording and / or reproducing a signal in real time, quantized digital data is encoded with unequal length. When recording, when the number of bits per unequal-length coded frame or band is longer than the number of bits when equal-length coding is performed, the equal-length coded code is selected, recorded, and reproduced. In this case, since the decoding is performed according to the selection result, the number of bits per frame or band when unequal length coding is
The number of bits does not become longer than that in the case of equal-length encoding, and the possibility of buffer overflow can be reduced or the buffer capacity can be reduced. Also,
Since the average number of bits recorded can be reduced, bit compression can be performed more efficiently, and the capacity of the recording medium can be saved.

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

【図1】本発明に係る信号記録装置の一実施例を示すブ
ロック回路図である。
FIG. 1 is a block circuit diagram showing an embodiment of a signal recording device according to the present invention.

【図2】本発明に係る信号再生装置の一実施例を示すブ
ロック回路図である。
FIG. 2 is a block circuit diagram showing an embodiment of a signal reproducing device according to the present invention.

【図3】本発明に係る信号記録装置であってバンド毎の
ビット数に応じて符号化方式の切り換えを行う場合の実
施例を示すブロック回路図である。
FIG. 3 is a block circuit diagram showing an embodiment of the signal recording apparatus according to the present invention in the case of switching the encoding method according to the number of bits for each band.

【図4】本発明に係る信号再生装置であってバンド毎の
ビット数に応じて符号化方式の切り換えを行う場合の実
施例を示すブロック回路図である。
FIG. 4 is a block circuit diagram showing an embodiment of the signal reproducing apparatus according to the present invention in the case of switching the encoding method according to the number of bits for each band.

【図5】図1、図2の実施例の動作を説明するために処
理の様子を示す図である。
FIG. 5 is a diagram showing the manner of processing for explaining the operation of the embodiment shown in FIGS. 1 and 2;

【図6】図3、図4の実施例の動作を説明するために処
理の様子を示す図である。
FIG. 6 is a diagram showing a processing state for explaining the operation of the embodiment shown in FIGS. 3 and 4;

【図7】本発明に係る信号記録装置であってフレーム当
たりのビット数に応じて書き込み速度又は時間をコント
ロールする実施例を示すブロック回路図である。
FIG. 7 is a block circuit diagram showing an embodiment of the signal recording apparatus according to the present invention, in which the writing speed or time is controlled according to the number of bits per frame.

【図8】本発明に係る信号再生装置であってフレーム当
たりのビット数に応じて読み出し速度又は時間をコント
ロールする実施例を示すブロック回路図である。
FIG. 8 is a block circuit diagram showing an embodiment of a signal reproducing device according to the present invention, in which a reading speed or time is controlled according to the number of bits per frame.

【図9】不等長符号化方式を用いた従来の信号符号化装
置の一例を示すブロック回路図である。
FIG. 9 is a block circuit diagram showing an example of a conventional signal encoding device using an unequal length encoding method.

【図10】不等長符号化方式を用いた従来の信号復号化
装置の一例の示すブロック回路図である。 502・・・・・周波数分析部 503、511・・・・・量子化部 504、512・・・・・不等長符号符号化部 505・・・・・マルチプレクサ 506・・・・・書き込み装置 507・・・・・ICメモリカード 508、513・・・・・スケールファクタ算出部 509、514・・・・・スケールファクタ量子化部 510、515・・・・・スケールファクタ逆量子化部 516・・・・・量子化ビット数決定部 520、522、524・・・・・判定部 521、523・・・・・切換スイッチ 525・・・・・バッファ 527・・・・・書き込み速度・時間制御部 601・・・・・ICメモリカード 602・・・・・読み出し装置 603・・・・・デマルチプレクサ 604、609・・・・・不等長符号復号化部 605、610・・・・・逆量子化部 606・・・・・周波数合成部 608、611・・・・・スケールファクタ逆量子化部 612・・・・・読み出し速度・時間制御部 613・・・・・量子化ビット数決定部 621、622・・・・・切換スイッチ 623・・・・・バッファ
FIG. 10 is a block circuit diagram showing an example of a conventional signal decoding device using an unequal length coding method. 502 ... Frequency analysis unit 503, 511 ... Quantization unit 504, 512 ... Unequal length code encoding unit 505 ... Multiplexer 506 ... Writing device 507 ... IC memory card 508, 513 ... Scale factor calculation unit 509, 514 ... Scale factor quantization unit 510, 515 ... Scale factor inverse quantization unit 516. ... Quantization bit number determination unit 520, 522, 524 ... Judgment unit 521, 523 ... Changeover switch 525 ... Buffer 527 ... Writing speed / time control Unit 601 ... IC memory card 602 ... Readout device 603 ... Demultiplexer 604, 609 ... Unequal length code decoding unit 605, 6 0 ... Dequantization unit 606 ... Frequency synthesis unit 608, 611 ... Scale factor dequantization unit 612 ... Read speed / time control unit 613 ... -Quantization bit number determination unit 621, 622 ... Changeover switch 623 ... Buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 信号をリアルタイムに記録及び/又は再
生可能な信号記録装置及び/又は再生装置において、 量子化されたディジタルデータを不等長符号化して記録
する際に、不等長符号化されたフレーム当たりあるいは
バンド毎のビット数が等長符号化した場合のビット数よ
り長いとき、等長符号化された符号を選択して記録し、 再生する際には、その選択結果に応じて復号化すること
を特徴とする信号記録装置及び/又は再生装置。
1. In a signal recording device and / or reproducing device capable of recording and / or reproducing a signal in real time, when the quantized digital data is unequal length encoded and recorded, it is unequal length encoded. When the number of bits per frame or band is longer than the number of bits in the case of equal-length encoding, the equal-length encoded code is selected and recorded, and when it is played back, decoding is performed according to the selection result. A signal recording device and / or a reproducing device characterized by being converted.
JP03244847A 1991-08-29 1991-08-30 Signal encoding apparatus and method and signal decoding apparatus and method Expired - Lifetime JP3134393B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP03244847A JP3134393B2 (en) 1991-08-30 1991-08-30 Signal encoding apparatus and method and signal decoding apparatus and method
US08/222,574 US5521713A (en) 1991-08-29 1994-04-04 Apparatus and method for data compression and expansion using hybrid equal length coding and unequal length coding
US08/486,316 US5617219A (en) 1991-08-29 1995-06-07 Apparatus and method for data compression and expansion using hybrid equal length coding and unequal length coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03244847A JP3134393B2 (en) 1991-08-30 1991-08-30 Signal encoding apparatus and method and signal decoding apparatus and method

Publications (2)

Publication Number Publication Date
JPH0563584A true JPH0563584A (en) 1993-03-12
JP3134393B2 JP3134393B2 (en) 2001-02-13

Family

ID=17124863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03244847A Expired - Lifetime JP3134393B2 (en) 1991-08-29 1991-08-30 Signal encoding apparatus and method and signal decoding apparatus and method

Country Status (1)

Country Link
JP (1) JP3134393B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001510619A (en) * 1997-11-29 2001-07-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Audio recording method and apparatus, record carrier, and playback apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001510619A (en) * 1997-11-29 2001-07-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Audio recording method and apparatus, record carrier, and playback apparatus
JP2009289398A (en) * 1997-11-29 2009-12-10 Koninkl Philips Electronics Nv Method and device for recording audio, record carrier, and playback device

Also Published As

Publication number Publication date
JP3134393B2 (en) 2001-02-13

Similar Documents

Publication Publication Date Title
EP0627858B1 (en) Apparatus for further compressing and recording encoded digital video data streams
US8155973B2 (en) Recording and reproducing apparatus for use with optical recording medium having real-time, losslessly encoded data
KR100257613B1 (en) Video and audio coding method, coding apparatus, and coding program recording medium
JP3134392B2 (en) Signal encoding apparatus and method, signal decoding apparatus and method, signal recording apparatus and method, and signal reproducing apparatus and method
WO1991003128A1 (en) Control system for encoding image
JPWO2002080573A1 (en) Quantizer, quantization method, quantization program, and recording medium
US5617219A (en) Apparatus and method for data compression and expansion using hybrid equal length coding and unequal length coding
JP3134393B2 (en) Signal encoding apparatus and method and signal decoding apparatus and method
KR100214578B1 (en) Real time variable bit rate encoding method and apparatus of image information
JP2957340B2 (en) Digital recording device
JPH0554204A (en) Signal recording device and/or reproducing device
KR0141192B1 (en) Data writing method and apparatus for trick play
JPH114436A (en) Image coder and its method
JP3458398B2 (en) Digital image signal transmission equipment
US20050078216A1 (en) Method of improving audio performance and power utilization of a portable audio device with electronic anti-shock system (EASS)
JPH06250699A (en) Information recording device and recording medium
JPH11203784A (en) Audio signal reproducing device and method, and audio signal recording and reproducing device and method

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: 20001031

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

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11