JP2004226991A - Speech signal transmitting method and speech signal decoding device - Google Patents

Speech signal transmitting method and speech signal decoding device Download PDF

Info

Publication number
JP2004226991A
JP2004226991A JP2004053488A JP2004053488A JP2004226991A JP 2004226991 A JP2004226991 A JP 2004226991A JP 2004053488 A JP2004053488 A JP 2004053488A JP 2004053488 A JP2004053488 A JP 2004053488A JP 2004226991 A JP2004226991 A JP 2004226991A
Authority
JP
Japan
Prior art keywords
data
channel
audio
identifier
channels
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
JP2004053488A
Other languages
Japanese (ja)
Other versions
JP4151018B2 (en
Inventor
Yoshiaki Tanaka
美昭 田中
Shoji Ueno
昭治 植野
Norihiko Fuchigami
徳彦 渕上
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 JP2004053488A priority Critical patent/JP4151018B2/en
Publication of JP2004226991A publication Critical patent/JP2004226991A/en
Application granted granted Critical
Publication of JP4151018B2 publication Critical patent/JP4151018B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enables a reproduction side to perform reproduction normally even when multiple channels are selectively transmitted on a compression or non-compression basis or down mixing on the reception side is selectively permitted or inhibited. <P>SOLUTION: ATSI includes a 1st identifier showing whether multichannel data in an audio packet are compressed or not and a 2nd identifier indicating whether down mixing of the multichannel data into two stereophonic channels is permitted or inhibited. Thus, even when data transmitted while the identifier showing whether or not multichannel data are compressed and the identifier indicating whether down mixing of the multichannel data into two stereophonic channels is permitted or inhibited are both packetized are received, the data can be decoded and reproduced normally. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、マルチチャネル音声信号の伝送方法及びその復号化装置に関する。   The present invention relates to a method for transmitting a multi-channel audio signal and a decoding device therefor.

音声信号を可変長で圧縮する方法として、本発明者は先の出願(特願平9−289159号)において1チャネルの原デジタル音声信号に対して、特性が異なる複数の予測器により時間領域における過去の信号から現在の信号の複数の線形予測値を算出し、原デジタル音声信号と、この複数の線形予測値から予測器毎の予測残差を算出し、予測残差の最小値を選択する予測符号化方法を提案している。   As a method of compressing an audio signal with a variable length, the present inventor has proposed in the earlier application (Japanese Patent Application No. 9-289159) that a plurality of predictors having different characteristics are used in the time domain for one channel of the original digital audio signal. A plurality of linear prediction values of the current signal are calculated from the past signal, a prediction residual for each predictor is calculated from the original digital audio signal and the plurality of linear prediction values, and a minimum value of the prediction residual is selected. A prediction coding method is proposed.

なお、上記方法では原デジタル音声信号がサンプリング周波数=96kHz、量子化ビット数=20ビット程度の場合にある程度の圧縮効果を得ることができるが、近年のDVDオーディオディスクではこの2倍のサンプリング周波数(=192kHz)が使用され、また、量子化ビット数も24ビットが使用される傾向がある。また、マルチチャネルにおけるサンプリング周波数と量子化ビット数はチャネル毎に異なることもある。   In the above method, a certain compression effect can be obtained when the original digital audio signal has a sampling frequency = 96 kHz and the number of quantization bits = approximately 20 bits. = 192 kHz) and the number of quantization bits tends to be 24 bits. Further, the sampling frequency and the number of quantization bits in the multi-channel may be different for each channel.

ところで、マルチチャネルの音声信号を伝送する場合、著作権者がオーディオソースに依っては圧縮を希望するものとそうでないものがあり、また、ユーザがマルチチャネルをステレオ2チャネルにダウンミクスして再生することを望まないものとそうでないものとの2通りがある。したがって、このように圧縮又は非圧縮で選択的に伝送する2通りと、再生側のダウンミクスを選択的に許可、禁止する2通りの合計4通りで伝送した場合には、再生側でこれを識別して選択的に再生する必要がある。   By the way, when transmitting a multi-channel audio signal, the copyright holder may or may not desire compression depending on the audio source, and the user may down-mix the multi-channel to two stereo channels for playback. There are two types of things that you do not want to do and those that do not. Therefore, if the transmission is performed in two ways, that is, selectively transmitted with compression or non-compression and the downmix on the reproduction side is selectively permitted and prohibited, a total of four transmissions is performed on the reproduction side. It needs to be identified and selectively played.

そこで本発明は、再生側のダウンミクスを選択的に許可又は禁止しても再生側が正常に再生することができる音声受信方法及び音声受信装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an audio receiving method and an audio receiving apparatus that allow the reproducing side to normally reproduce even if the downmix on the reproducing side is selectively permitted or prohibited.

本発明は上記目的を達成するために、以下の1)〜3)の手段より成る。
すなわち、
1)マルチチャネルの音声信号が圧縮されたデータ又は圧縮されないデータが選択的に配置されるオーディオデータの領域(オーディオパケット)と、
前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータが圧縮されているか否かを示す第1の識別子と、前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかを示す第2の識別子と、前記マルチチャネルの構造を示す第3の識別子とが配置された管理情報の領域と、
を有するデータ構造のデータを所定のパケットによる通信フォーマットで伝送することを特徴とする音声信号伝送方法。
The present invention comprises the following means 1) to 3) to achieve the above object.
That is,
1) an audio data area (audio packet) in which multi-channel audio signal compressed data or uncompressed data is selectively arranged;
A first identifier indicating whether or not the multi-channel data in the audio data area (audio packet) is compressed; and down-mixing the multi-channel data in the audio data area (audio packet) into two stereo channels. An area of management information in which a second identifier indicating whether to permit or prohibit the operation and a third identifier indicating the structure of the multi-channel are arranged;
An audio signal transmission method characterized by transmitting data having a data structure having a communication format of a predetermined packet.

2)マルチチャネルの音声信号が圧縮されたデータ又は圧縮されないデータが選択的に配置されるオーディオデータの領域(オーディオパケット)と、
前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータが圧縮されているか否かを示す第1の識別子と、前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかを示す第2の識別子と、前記マルチチャネルの構造を示す第3の識別子とが配置された管理情報の領域と、
を有するデータ構造に符号化されて記録することを特徴とする音声信号記録方法。
2) a region (audio packet) of audio data in which compressed data or uncompressed data of a multi-channel audio signal is selectively arranged;
A first identifier indicating whether or not the multi-channel data in the audio data area (audio packet) is compressed; and down-mixing the multi-channel data in the audio data area (audio packet) into two stereo channels. An area of management information in which a second identifier indicating whether to permit or prohibit the operation and a third identifier indicating the structure of the multi-channel are arranged;
A sound signal recording method characterized in that the sound signal is encoded and recorded in a data structure having the following.

3)請求項2記載の記録方法により記録されたデータを復号化する音声復号化装置であって、
前記データをオーディオパケットと管理情報に分離する手段と、前記管理情報内の第2の識別子がダウンミクスすることを許可する場合に前記オーディオパケット内のマルチチャネルデータを前記第1の識別子に基づいて選択的に伸長するか又は伸長しないでマルチチャネルとステレオ2チャネルで再生し、ダウンミクス識別子がダウンミクスすることを禁止する場合に前記オーディオパケット内のマルチチャネルデータを前記第1の識別子に基づいて選択的に伸長するか又は伸長しないで前記第3の識別子によりチャネルを識別してマルチチャネルのみで再生する手段と、
を有する音声信号復号化装置。
3) An audio decoding device for decoding data recorded by the recording method according to claim 2,
Means for separating the data into audio packets and management information, wherein the multi-channel data in the audio packets is based on the first identifier if a second identifier in the management information allows downmixing. The multi-channel data in the audio packet is reproduced based on the first identifier when the reproduction is performed on the multi-channel and the stereo two-channel with or without the expansion and the down-mix identifier prohibits the down-mix. Means for selectively decompressing or not decompressing and identifying a channel by the third identifier and reproducing only with multi-channels;
An audio signal decoding device having:

以上説明したように本発明によれば、例えば、マルチチャネルデータが圧縮されているか否かを示す識別子と、マルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかを示す識別子をともにパケット化して伝送される等したデータを受信する場合、正常に復号化して再生することができる。   As described above, according to the present invention, for example, an identifier indicating whether or not multi-channel data is compressed and whether to permit or prohibit down-mixing of multi-channel data to two stereo channels are indicated. In the case of receiving data transmitted with the identifier packetized together, the data can be normally decoded and reproduced.

以下、図面を参照して本発明の実施の形態を説明する。図1〜図4は本発明が適用されるマルチチャネル伝送形態を実現する音声符号化装置の処理を示す説明図である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 to FIG. 4 are explanatory diagrams showing the processing of a speech coding apparatus for realizing a multi-channel transmission mode to which the present invention is applied.

ここで、マルチチャネル方式としては、例えば次の4つの方式が知られている。
(1)4チャネル方式 ドルビーサラウンド方式のように、前方L、C、Rの3チャネル+後方Sの1チャネルの合計4チャネル
(2)5チャネル方式 ドルビーAC−3方式のSWチャネルなしのように、前方L、C、Rの3チャネル+後方SL、SRの2チャネルの合計5チャネル(3)6チャネル方式 DTS(Digital Theater System)方式や、ドルビーAC−3方式のように6チャネル(L、C、R、SW(Lfe)、SL、SR)
(4)8チャネル方式 SDDS(Sony Dynamic Digital Sound)方式のように、前方L、LC、C、RC、R、SWの6チャネル+後方SL、SRの2チャネルの合計8チャネル
図1は第1の例の伝送形態として、マルチチャネルを圧縮するとともに再生側のダウンミクスを禁止する場合を示している。符号化側の6チャネル(ch)ミクス&マトリクス回路1’は、マルチチャネル信号の一例としてフロントレフト(Lf)、センタ(C)、フロントライト(Rf)、サラウンドレフト(Ls)、サラウンドライト(Rs)及びLfe(Low Frequency Effect)の6chのPCMデータを次式(1−1)により6ch「1」〜「6」分の相関信号に変換し、符号化部2’に出力する。
Here, for example, the following four systems are known as the multi-channel system.
(1) Four-channel system Like the Dolby surround system, three channels of front L, C, and R + one channel of rear S are total of four channels. (2) Five-channel system As with no Dolby AC-3 system SW channel. , Front L, C, R 3 channels + rear SL, SR 2 channels, total 5 channels (3) 6 channel system 6 channels (L, L, C) such as DTS (Digital Theater System) system and Dolby AC-3 system C, R, SW (Lfe), SL, SR)
(4) 8-channel system Like the SDDS (Sony Dynamic Digital Sound) system, a total of 8 channels including 6 channels of front L, LC, C, RC, R, and SW + 2 channels of rear SL and SR are shown in FIG. In this example, a case is shown in which the multi-channel is compressed and the downmix on the playback side is prohibited. The 6-channel (ch) mix & matrix circuit 1 ′ on the encoding side includes front left (Lf), center (C), front right (Rf), surround left (Ls), and surround right (Rs) as examples of multi-channel signals. ) And Lfe (Low Frequency Effect) 6-channel PCM data are converted into correlation signals for 6 channels “1” to “6” by the following equation (1-1) and output to the encoding unit 2 ′.

「1」=Lf+Rf−C
「2」=Lf−Rf−C
「3」=C−(Ls+Rs)/2
「4」=Ls+Rs
「5」=Ls−Rs
「6」=Lfe−a×C
ただし、0≦a≦1 …(1−1)
このような6チャネル(ch)ミクス&マトリクス回路1’による相関式と符号化部2’の符号化方式は選択手段7’で選択される。以下説明する図2、図3、図4、図5及び図6でも同様であるので、これらの図では選択手段7’を略すことにする。
"1" = Lf + Rf-C
"2" = Lf-Rf-C
“3” = C− (Ls + Rs) / 2
"4" = Ls + Rs
“5” = Ls−Rs
“6” = Lfe−a × C
However, 0 ≦ a ≦ 1 (1-1)
Such a correlation formula by the 6-channel (ch) mix & matrix circuit 1 'and the coding system of the coding unit 2' are selected by the selection means 7 '. The same applies to FIG. 2, FIG. 3, FIG. 4, FIG. 5, and FIG. 6, which will be described below. Therefore, in these figures, the selection means 7 'is omitted.

第1と第2の符号化部2’−1、2’−2を有する符号化部2’は図7に詳しく示すようにこの6ch「1」〜「6」のPCMデータを予測符号化し、予測符号化データを図8に示すようなビットストリームで記録媒体5や通信媒体6を介して復号側に伝送する。復号側では第1と第2の復号化部3’−1、3’−2を有する復号化部3’により、図14に詳しく示すように6ch「1」〜「6」の予測符号化データをPCMデータに復号し、次いでミクス&マトリクス回路4’により式(1−1)に基づいて元の6ch(Lf、C、Rf、Ls、Rs、Lfe)のみを復元する。   The encoding unit 2 ′ including the first and second encoding units 2′-1 and 2′-2 predictively encodes the PCM data of 6ch “1” to “6” as shown in detail in FIG. The prediction coded data is transmitted to the decoding side via the recording medium 5 and the communication medium 6 in a bit stream as shown in FIG. On the decoding side, as shown in detail in FIG. 14, the prediction coded data of 6ch "1" to "6" is decoded by the decoding unit 3 'having the first and second decoding units 3'-1 and 3'-2. Is decoded into PCM data, and only the original 6 channels (Lf, C, Rf, Ls, Rs, Lfe) are restored by the mix & matrix circuit 4 ′ based on the equation (1-1).

図2は第2の例の伝送形態として、マルチチャネルを圧縮するとともに再生側のダウンミクスを許可する場合を示している。符号化側の6chミクス&マトリクス回路1’は、元の6ch(Lf、C、Rf、Ls、Rs、Lfe)と係数mij(i=1,2,j=1,2〜6)により次式(2)のようにステレオ2chデータ(L、R)を生成(ダウンミクス)する。   FIG. 2 shows, as a transmission form of the second example, a case in which multi-channels are compressed and downmixing on the reproduction side is permitted. The 6-channel mixing and matrix circuit 1 'on the encoding side uses the original 6 channels (Lf, C, Rf, Ls, Rs, Lfe) and the coefficients mij (i = 1, 2, j = 1, 2 to 6) as follows: As described in (2), stereo 2ch data (L, R) is generated (downmixed).

L=m11・Lf+m12・Rf+m13・C
+m14・Ls+m15・Rs+m16・Lfe
R=m21・Lf+m22・Rf+m23・C
+m24・Ls+m25・Rs+m26・Lfe …(2)
そして、式(2)と次式(1−2)により次のような第1グループの2チャネル分の相関信号「1」、「2」と第2グループの4チャネル分の相関信号「3」〜「6」に変換し、それぞれ第1符号化部2’−1、第2符号化部2’−2に出力する。
L = m11 · Lf + m12 · Rf + m13 · C
+ M14 · Ls + m15 · Rs + m16 · Lfe
R = m21 · Lf + m22 · Rf + m23 · C
+ M24 · Ls + m25 · Rs + m26 · Lfe (2)
Then, according to the equation (2) and the following equation (1-2), the correlation signals “1” and “2” for two channels of the first group and the correlation signal “3” for four channels of the second group are as follows. To "6" and output to the first encoding unit 2'-1 and the second encoding unit 2'-2, respectively.

「1」=L+R
「2」=L−R
「3」〜「6」は式(1−1)と同じ …(1−2)
第1、第2符号化部2’−1、2’−2はそれぞれ第1グループチャネル「1」、「2」と第2グループチャネル「3」〜「6」のPCMデータを予測符号化し、各チャネルの予測符号化データを記録媒体5や通信媒体6を介して復号側に伝送する。復号側では第1、第2復号化部3’−1、3’−2により、それぞれ第1グループチャネル「1」、「2」と第2グループチャネル「3」〜「6」の予測符号化データをPCMデータに復号し、次いでミクス&マトリクス回路4’により式(1−2)、(2)に基づいて元の6ch(Lf、C、Rf、Ls、Rs、Lfe)を復元するとともに、第1グループチャネル「1」、「2」を加算、減算することによりそれぞれステレオ2chデータ(L、R)を生成する。
"1" = L + R
"2" = LR
"3" to "6" are the same as in the formula (1-1) ... (1-2)
The first and second encoding units 2′-1 and 2′-2 predictively encode PCM data of the first group channels “1” and “2” and the second group channels “3” to “6”, respectively. The prediction coded data of each channel is transmitted to the decoding side via the recording medium 5 and the communication medium 6. On the decoding side, the first and second decoding units 3'-1 and 3'-2 predictively encode the first group channels "1" and "2" and the second group channels "3" to "6", respectively. The data is decoded into PCM data, and the original 6 ch (Lf, C, Rf, Ls, Rs, Lfe) is restored by the mix & matrix circuit 4 ′ based on the equations (1-2) and (2). Stereo 2-ch data (L, R) is generated by adding and subtracting the first group channels "1" and "2".

図3は第3の例の伝送形態として、マルチチャネルを圧縮しないで伝送するとともに再生側のダウンミクスを禁止する場合を示している。この場合には、非圧縮であるので、符号化側では相関信号も生成することなく元の6ch(Lf、C、Rf、Ls、Rs、Lfe)のPCMデータをそのまま伝送し(ただし、フォーマット化する)、復号化側ではデフォーマット化した後、元の6ch(Lf、C、Rf、Ls、Rs、Lfe)のみを復元する。   FIG. 3 shows, as a transmission form of the third example, a case where multi-channel transmission is performed without compression and downmixing on the reproduction side is prohibited. In this case, since the data is uncompressed, the encoding side transmits the original 6-channel (Lf, C, Rf, Ls, Rs, Lfe) PCM data as it is without generating a correlation signal (however, the formatting is performed). Then, on the decoding side, after reformatting, only the original 6 channels (Lf, C, Rf, Ls, Rs, Lfe) are restored.

図4は第4の例の伝送形態として、マルチチャネルを圧縮しないで伝送するとともに再生側のダウンミクスを許可する場合を示している。この場合にも、非圧縮であるので、符号化側では圧縮率を高めるための相関信号も生成することなく元の6ch(Lf、C、Rf、Ls、Rs、Lfe)のPCMデータをそのまま伝送する(ただし、フォーマット化する)。復号化側ではデフォーマット化した後、元の6ch(Lf、C、Rf、Ls、Rs、Lfe)を復元するとともに、式(2)によりステレオ2chデータ(L、R)を生成(ダウンミクス)する。   FIG. 4 shows, as a transmission form of the fourth example, a case where multi-channel transmission is performed without compression and downmixing on the reproduction side is permitted. Also in this case, since the data is uncompressed, the encoding side transmits the original 6-channel (Lf, C, Rf, Ls, Rs, Lfe) PCM data without generating a correlation signal for increasing the compression rate. Yes (but format). On the decoding side, after performing the reformatting, the original 6 ch (Lf, C, Rf, Ls, Rs, Lfe) is restored, and the stereo 2ch data (L, R) is generated by equation (2) (downmix). I do.

図5は図1においてマルチチャネルを圧縮するとともに再生側のダウンミクスを禁止する場合の変形例を示している。この場合には、符号化側では次式(1−3)により6ch(1)〜(6)分の相関信号に変換し、符号化部2’はこれを予測符号化する。そして、復号化側では式(1−2)により元の6ch(Lf、C、Rf、Ls、Rs、Lfe)のみを復元する。   FIG. 5 shows a modification in which the multi-channel is compressed and the downmix on the reproduction side is prohibited in FIG. In this case, on the encoding side, the signal is converted into a correlation signal for 6 channels (1) to (6) by the following equation (1-3), and the encoding unit 2 'performs predictive encoding. Then, on the decoding side, only the original 6 channels (Lf, C, Rf, Ls, Rs, Lfe) are restored by equation (1-2).

「1」=Lf−C
「2」=Rf−C
「3」〜「6」は式(1−1)と同じ …(1−3)
このように再生側のダウンミクスを禁止する場合は、これに対応して式(2)のダウンミクス係数を符号化に加えないとともに、符号化側で式(2)によりステレオ2chデータ(L、R)を生成(ダウンミクス)することが禁じられる。
"1" = Lf-C
"2" = Rf-C
"3" to "6" are the same as in the formula (1-1) ... (1-3)
In the case where the downmix on the reproduction side is prohibited in this manner, the downmix coefficient of the equation (2) is not added to the encoding corresponding to this, and the stereo 2ch data (L, R) is forbidden.

図6は図2においてマルチチャネルを圧縮するとともに再生側のダウンミクスを許可する場合の変形例を示している。この場合には、符号化側では式(2)によりステレオ2chデータ(L、R)を生成(ダウンミクス)し、次いで次式(1−4)により次のような第1グループの2チャネル「1」、「2」と第2グループの4チャネル分の相関信号「3」〜「6」に変換し、第1、第2符号化部2’−1、2’−2はこの各グループチャネルを予測符号化する。そして、復号化側では式(1−4)、(2)により元の6ch(Lf、C、Rf、Ls、Rs、Lfe)を復元するとともにステレオ2chデータ(L、R)をそのまま出力する。   FIG. 6 shows a modification in which the multi-channel is compressed and the downmix on the reproduction side is permitted in FIG. In this case, the encoding side generates (down-mixes) stereo 2ch data (L, R) according to equation (2), and then, according to equation (1-4), the first group of two channels “ 1 "," 2 "and correlation signals" 3 "to" 6 "for four channels of the second group, and the first and second encoding units 2'-1 and 2'-2 convert the respective group channels. Is predictively coded. Then, on the decoding side, the original 6 channels (Lf, C, Rf, Ls, Rs, Lfe) are restored according to equations (1-4) and (2), and the stereo 2ch data (L, R) is output as it is.

「1」=L
「2」=R
「3」〜「6」は式(1−1)と同じ …(1−4)
図7を参照して符号化部2’−1、2’−2について詳しく説明する。各ch「1」〜「6」のPCMデータは1フレーム毎に1フレームバッファ10に格納される。そして、1フレームの各ch「1」〜「6」のサンプルデータがそれぞれ予測回路13D1、13D2、15D1〜15D4に印加されるとともに、各ch「1」〜「6」の各フレームの先頭サンプルデータがフォーマット化回路19に印加される。予測回路13D1、13D2、15D1〜15D4はそれぞれ、各ch「1」〜「6」のPCMデータに対して、特性が異なる複数の予測器(不図示)により時間領域における過去の信号から現在の信号の複数の線形予測値を算出し、次いで原PCMデータと、この複数の線形予測値から予測器毎の予測残差を算出する。続くバッファ・選択器14D1、14D2、16D1〜16D4はそれぞれ、予測回路13D1、13D2、15D1〜15D4により算出された各予測残差を一時記憶して、選択信号/DTS(デコーディング・タイム・スタンプ)生成器17により指定されたサブフレーム毎に予測残差の最小値を選択する。
"1" = L
"2" = R
"3" to "6" are the same as in the formula (1-1) ... (1-4)
The encoding units 2′-1 and 2′-2 will be described in detail with reference to FIG. The PCM data of each of the channels “1” to “6” is stored in one frame buffer 10 for each frame. Then, the sample data of each channel “1” to “6” of one frame is applied to the prediction circuits 13D1, 13D2, 15D1 to 15D4, respectively, and the first sample data of each frame of each channel “1” to “6” Is applied to the formatting circuit 19. The prediction circuits 13D1, 13D2, and 15D1 to 15D4 respectively use a plurality of predictors (not shown) having different characteristics to convert the current signal from the past signal in the time domain to the PCM data of each channel “1” to “6”. Are calculated, and then a prediction residual for each predictor is calculated from the original PCM data and the plurality of linear prediction values. The following buffer / selectors 14D1, 14D2, 16D1 to 16D4 temporarily store the prediction residuals calculated by the prediction circuits 13D1, 13D2, 15D1 to 15D4, respectively, and provide a selection signal / DTS (decoding time stamp). The minimum value of the prediction residual is selected for each subframe specified by the generator 17.

選択信号/DTS生成器17は予測残差のビット数フラグをパッキング回路18とフォーマット化回路19に対して印加し、また、予測残差が最小の予測器を示す予測器選択フラグと、相関係数aと、復号化側が入力バッファ22a(図14)からストリームデータを取り出す時間を示すDTSをフォーマット化回路19に対して印加する。パッキング回路18はバッファ・選択器14D1、14D2、16D1〜16D4により選択された6ch分の予測残差を、選択信号/DTS生成器17により指定されたビット数フラグに基づいて指定ビット数でパッキングする。またPTS生成器17cは、復号化側が出力バッファ110(図14)からPCMデータを取り出す時間を示すPTS(プレゼンテーション・タイム・スタンプ)を生成してフォーマット化回路19に出力する。フォーマット化回路19にはまた、圧縮/非圧縮などを示す符号化モードと、ダウンミクス許可/禁止を示す識別子が印加される。   The selection signal / DTS generator 17 applies the bit number flag of the prediction residual to the packing circuit 18 and the formatting circuit 19, and furthermore, a predictor selection flag indicating the predictor having the minimum prediction residual and a phase relationship. The number a and the DTS indicating the time at which the decoding side extracts the stream data from the input buffer 22a (FIG. 14) are applied to the formatting circuit 19. The packing circuit 18 packs the prediction residuals for the 6 channels selected by the buffer / selectors 14D1, 14D2, 16D1 to 16D4 with the specified number of bits based on the bit number flag specified by the selection signal / DTS generator 17. . The PTS generator 17c generates a PTS (presentation time stamp) indicating the time at which the decoding side takes out the PCM data from the output buffer 110 (FIG. 14), and outputs the PTS to the formatting circuit 19. An encoding mode indicating compression / non-compression and an identifier indicating downmix permission / prohibition are also applied to the formatting circuit 19.

続くフォーマット化回路19は図8〜図13に示すようなユーザデータにフォーマット化する。図8に示すユーザデータ(サブパケット)は、前方グループに関する2ch「1」、「2」の予測符号化データを含む可変レートビットストリーム(サブストリーム)BS0と、他のグループに関する4ch「3」〜「6」の予測符号化データを含む可変レートビットストリーム(サブストリーム)BS1と、サブストリームBS0、BS1の前に設けられたビットストリームヘッダ(リスタートヘッダ)により構成されている。   The following formatting circuit 19 formats the user data as shown in FIGS. The user data (sub-packet) shown in FIG. 8 includes a variable-rate bit stream (sub-stream) BS0 including 2ch “1” and “2” prediction coded data for the front group, and 4ch “3” to 4ch for the other groups. It is composed of a variable-rate bit stream (substream) BS1 containing the prediction encoded data of “6” and a bitstream header (restart header) provided before the substreams BS0 and BS1.

また、サブストリームBS0、BS1の1フレーム分は
・フレームヘッダと、
・各ch「1」〜「6」の1フレームの先頭サンプルデータと、
・各ch「1」〜「6」のサブフレーム毎の予測器選択フラグと、
・各ch「1」〜「6」のサブフレーム毎のビット数フラグと、
・各ch「1」〜「6」の予測残差データ列(可変ビット数)と、
・ch「6」の係数aとが、
多重化されている。このような予測符号化によれば、原信号が例えばサンプリング周波数=96kHz、量子化ビット数=24ビット、6チャネルの場合、71%の圧縮率を実現することができる。
Also, one frame of the substreams BS0 and BS1 has a frame header,
-First sample data of one frame of each channel "1" to "6";
A predictor selection flag for each subframe of each of the channels “1” to “6”;
A bit number flag for each subframe of each channel “1” to “6”;
A prediction residual data string (variable number of bits) for each channel “1” to “6”;
-The coefficient a of ch "6" is
It is multiplexed. According to such predictive coding, when the original signal has, for example, a sampling frequency of 96 kHz, a quantization bit number of 24 bits, and 6 channels, a compression ratio of 71% can be realized.

図7に示す符号化部2’−1、2’−2により予測符号化された可変レートビットストリームデータを、記録媒体の一例としてDVDオーディオディスクに記録する場合には、図9に示すオーディオ(A)パックにパッキングされる。このパックは2034バイトのユーザデータ(Aパケット、Vパケット)に対して4バイトのパックスタート情報と、6バイトのSCR(System Clock Reference:システム時刻基準参照値)情報と、3バイトのMux レート(rate)情報と1バイトのスタッフィングの合計14バイトのパックヘッダが付加されて構成されている(1パック=合計2048バイト)。この場合、タイムスタンプであるSCR情報を、先頭パックでは「1」として同一タイトル内で連続とすることにより同一タイトル内のAパックの時間を管理することができる。   When recording the variable-rate bit stream data predictively coded by the coding units 2′-1 and 2′-2 shown in FIG. 7 on a DVD audio disc as an example of a recording medium, the audio data shown in FIG. A) Packed in a pack. This pack has 4 bytes of pack start information, 20 bytes of SCR (System Clock Reference: System Clock Reference) information, and 3 bytes of Mux rate (20 bytes) of user data (A packet, V packet). rate) information and 1-byte stuffing, and a pack header of 14 bytes in total is added (1 pack = 2048 bytes in total). In this case, the time of the A pack in the same title can be managed by setting the SCR information as a time stamp to “1” in the first pack and making it continuous within the same title.

圧縮PCMのAパケットは図10に詳しく示すように、19又は14バイトのパケットヘッダと、圧縮PCMのプライベートヘッダと、図11に示すフォーマットの1ないし2011バイトのオーディオデータ(圧縮PCM)により構成されている。そして、DTSとPTSは図5のパケットヘッダ内に(具体的にはパケットヘッダの10〜14バイト目にPTSが、15〜19バイト目にDTSが)セットされる。圧縮PCMのプライベートヘッダは、
・1バイトのサブストリームIDと、
・2バイトのUPC/EAN−ISRC(Universal Product Code/European Article Number-International Standard Recording Code)番号、及びUPC/EAN−ISRCデータと、
・1バイトのプライベートヘッダ長と、
・2バイトの第1アクセスユニットポインタと、
・8バイトのオーディオデータ情報(ADI)と、
・0〜7バイトのスタッフィングバイトとに、
より構成されている。
As shown in detail in FIG. 10, the A packet of the compressed PCM is composed of a packet header of 19 or 14 bytes, a private header of the compressed PCM, and 1 to 2011 bytes of audio data (compressed PCM) in the format shown in FIG. ing. Then, the DTS and the PTS are set in the packet header of FIG. 5 (specifically, the PTS is set at the 10th to 14th bytes and the DTS is set at the 15th to 19th bytes). The compressed PCM private header is
A 1-byte substream ID,
A 2-byte UPC / EAN-ISRC (Universal Product Code / European Article Number-International Standard Recording Code) number and UPC / EAN-ISRC data;
A 1-byte private header length,
A 2 byte first access unit pointer;
8 bytes of audio data information (ADI);
・ With stuffing byte of 0-7 bytes,
It is composed of

また、ADI内に1秒後のアクセスユニットをサーチするための前方アクセスユニット・サーチポインタと、1秒前のアクセスユニットをサーチするための後方アクセスユニット・サーチポインタがともに1バイトでセットされる。具体的にはADIの7バイト目に前方アクセスユニット・サーチポインタが、8バイト目に後方アクセスユニット・サーチポインタがセットされる。   Also, a forward access unit search pointer for searching for an access unit one second later and a backward access unit search pointer for searching for an access unit one second earlier are set in the ADI in one byte. Specifically, the forward access unit search pointer is set to the seventh byte of the ADI, and the backward access unit search pointer is set to the eighth byte.

図10に示す圧縮PCM(PPCMともいう)のオーディオパケットにおけるオーディオデータエリアは、図11に示すようにサブパケットと複数のPPCMアクセスユニットにより構成され、PPCMアクセスユニットはPPCMシンク情報とサブパケットにより構成されている。最初のPPCMアクセスユニット内のサブパケットは、ディレクトリと、サブストリーム「0」と、CRCと、サブストリーム「1」と、CRCとエクストラ情報により構成され、サブストリーム「0」、「1」はPPCMブロックのみにより構成されている。2番目以降のPPCMアクセスユニット内のサブパケットは、ディレクトリを除いてサブストリーム「0」と、CRCと、サブストリーム「1」と、CRCとエクストラ情報により構成され、サブストリーム「0」、「1」はリスタートヘッダとPPCMブロックにより構成されている。   The audio data area in the compressed PCM (also referred to as PPCM) audio packet shown in FIG. 10 is composed of a subpacket and a plurality of PPCM access units as shown in FIG. 11, and the PPCM access unit is composed of PPCM sink information and subpackets. Have been. A subpacket in the first PPCM access unit is composed of a directory, a substream “0”, a CRC, a substream “1”, a CRC and extra information, and the substreams “0” and “1” are PPCMs. It is composed of only blocks. The sub-packets in the second and subsequent PPCM access units are composed of a sub-stream “0”, a CRC, a sub-stream “1”, a CRC and extra information except for a directory, and sub-streams “0” and “1”. Is composed of a restart header and a PPCM block.

PPCMシンク情報(以下、同期情報ともいう)は次の情報を含む。
・1パケット当たりのサンプル数:サンプリング周波数fsに応じて40、80又は160が選択される。
・データレート:VBRの場合には「0」(サブパケット内のデータが圧縮データであることを示す識別子)
・サンプリング周波数fs及び量子化ビット数Qb
・チャネル割り当て情報
フォーマット化回路19はまた、図8〜図11に示すオーディオパックを管理するために図12、図13に示すような管理情報を含むATSI(オーディオ・タイトル・セット・インフォーメーション)をフォーマット化する。図12はAOTT−AOB−ATR(オーディオオンリタイトル・オーディオオブジェクトセット・アトリビュート)を示し、このAOTT−AOB−ATR(b127〜b0)は、MSB側から順に
・8ビット(b127〜b120)のオーディオ符号化モードと、
・8ビット(b119〜b112)の保留領域と、
・4ビット(b111〜b108)のチャネルグループ「1」の量子化ビット数Q1と、
・4ビット(b107〜b104)のチャネルグループ「2」の量子化ビット数Q2と、
・4ビット(b103〜b100)のチャネルグループ「1」のサンプリング周波数fs1と、
・4ビット(b99〜b96)のチャネルグループ「2」のサンプリング周波数fs2と、
・3ビット(b95〜b93)のマルチチャネル構造のタイプと、
・5ビット(b92〜b88)のチャネル割り当てと、
・8ビット×11(b87〜b0)の保留領域により構成されている。
The PPCM sync information (hereinafter also referred to as synchronization information) includes the following information.
-Number of samples per packet: 40, 80 or 160 is selected according to the sampling frequency fs.
Data rate: "0" in the case of VBR (identifier indicating that the data in the subpacket is compressed data)
.Sampling frequency fs and quantization bit number Qb
The channel assignment information formatting circuit 19 also uses an ATSI (Audio Title Set Information) including management information as shown in FIGS. 12 and 13 to manage the audio packs shown in FIGS. Format. FIG. 12 shows an AOTT-AOB-ATR (audio only title audio object set attribute). The AOTT-AOB-ATR (b127 to b0) is an 8-bit (b127 to b120) audio code in order from the MSB side. Activation mode,
An 8-bit (b119 to b112) reserved area;
A 4-bit (b111 to b108) channel group “1” quantization bit number Q1;
A 4-bit (b107 to b104) quantization bit number Q2 of the channel group “2”;
A sampling frequency fs1 of a 4-bit (b103 to b100) channel group "1";
A sampling frequency fs2 of a 4-bit (b99 to b96) channel group “2”;
A 3-bit (b95 to b93) multi-channel structure type;
Channel assignment of 5 bits (b92 to b88);
-Consists of a reserved area of 8 bits x 11 (b87 to b0).

上記データを以下に詳しく示す。
(1)オーディオ符号化モード(b127〜b120)
00000000b:リニアPCMモード
00000001b:圧縮PCMモード
その他 :その他の符号化モード用に保留
(2)チャネルグループ1の量子化ビット数Q1(b111〜b108)
0000b:16ビット
0001b:20ビット
0010b:24ビット
その他 :保留
(3)チャネルグループ2の量子化ビット数Q2(b107〜b104)
・チャネルグループ1の量子化ビット数Q1が「0000b」の場合には「0000b」
・チャネルグループ1の量子化ビット数Q1が「0001b」の場合には「0000b」又は「0001b」
・チャネルグループ1の量子化ビット数Q1が「0010b」の場合には「0000b」、「0001b」又は「0010b」
ただし、0000b:16ビット
0001b:20ビット
0010b:24ビット
その他 :保留
(4)チャネルグループ1のサンプリング周波数fs1(b103〜b100) 0000b:48kHz
0001b:96kHz
0010b:192kHz
1000b:44.1kHz
1001b:88.2kHz
1010b:176.4kHz
その他 :保留
(5)チャネルグループ2のサンプリング周波数fs2(b99〜b96)
・チャネルグループ1のサンプリング周波数fs1が「0000b」の場合には「0000b」
・チャネルグループ1のサンプリング周波数fs1が「0001b」の場合には「0000b」又は「0001b」
・チャネルグループ1のサンプリング周波数fs1が「0010b」の場合には「0000b」、「0001b」又は「0010b」
・チャネルグループ1のサンプリング周波数fs1が「1000b」の場合には「1000b」
・チャネルグループ1のサンプリング周波数fs1が「1001b」の場合には「1000b」又は「1001b」
・チャネルグループ1のサンプリング周波数fs1が「1010b」の場合には「1000b」、「1001b」又は「1010b」
(6)マルチチャネル構造のタイプ(b95〜b93)
000b:タイプ1
その他 :保留
(7)チャネル割り当て(b92〜b88)
1チャネル(モノラル)から6チャネルまでのグループ「1」、「2」のチャネル割り当て情報
図13はATS−PG−CNT(オーディオタイトルセット・プログラム・コンテンツ)を示し、これは先頭から順に
・1ビット(b31)の、前回と今回のPGの関係(R/A)と、
・1ビット(b30)のSTC不連続性フラグ(STC−F)と、
・3ビット(b29〜b27)のアトリビュート数(ATRN)と、
・3ビット(b26〜b24)のチャネルグループ(ChGr)「2」のビットシフトデータと、
・2ビット(b23、b22)の保留領域と、
・1ビット(b21)のダウンミックスモード(D−M)と、
・1ビット(b20)のダウンミックス係数の有効性(図示※)と、
・4ビット(b19〜b16)のダウンミックス係数テーブル番号(DM−COEFTN)と、
・各々が1ビット、合計16ビット(b15〜b0)のRTIフラグF15〜F0により構成されている。
The above data is shown in detail below.
(1) Audio encoding mode (b127 to b120)
00000000b: Linear PCM mode 00000001b: Compressed PCM mode Others: reserved for other coding modes (2) Quantization bit number Q1 of channel group 1 (b111 to b108)
0000b: 16 bits 0001b: 20 bits 0010b: 24 bits Others: reserved (3) Number of quantization bits Q2 of channel group 2 (b107 to b104)
"0000b" when the quantization bit number Q1 of the channel group 1 is "0000b"
"0000b" or "0001b" when the quantization bit number Q1 of the channel group 1 is "0001b"
When the quantization bit number Q1 of the channel group 1 is “0010b”, “0000b”, “0001b” or “0010b”
However, 0000b: 16 bits
0001b: 20 bits
0010b: 24 bits
Others: reserved (4) Sampling frequency fs1 of channel group 1 (b103 to b100) 0000b: 48 kHz
0001b: 96 kHz
0010b: 192 kHz
1000b: 44.1 kHz
1001b: 88.2 kHz
1010b: 176.4 kHz
Others: reserved (5) Sampling frequency fs2 of channel group 2 (b99 to b96)
"0000b" when the sampling frequency fs1 of the channel group 1 is "0000b"
"0000b" or "0001b" when the sampling frequency fs1 of the channel group 1 is "0001b"
"0000b", "0001b" or "0010b" when the sampling frequency fs1 of the channel group 1 is "0010b"
"1000b" when the sampling frequency fs1 of the channel group 1 is "1000b"
"1000b" or "1001b" when the sampling frequency fs1 of the channel group 1 is "1001b"
When the sampling frequency fs1 of the channel group 1 is “1010b”, “1000b”, “1001b”, or “1010b”
(6) Multi-channel structure type (b95 to b93)
000b: Type 1
Others: reserved (7) Channel allocation (b92 to b88)
Channel assignment information of groups “1” and “2” from 1 channel (monaural) to 6 channels FIG. 13 shows ATS-PG-CNT (audio title set program content), which is 1 bit in order from the top (B31) the relationship (R / A) between the previous and current PGs,
1-bit (b30) STC discontinuity flag (STC-F);
The number of attributes (ATRN) of 3 bits (b29 to b27);
3 bits (b26 to b24) of a channel group (ChGr) “2” bit shift data;
A 2-bit (b23, b22) reserved area;
1-bit (b21) downmix mode (DM);
・ Effectiveness (illustration *) of 1-bit (b20) downmix coefficient,
A 4-bit (b19 to b16) downmix coefficient table number (DM-COEFTN);
-Each bit is composed of RTI flags F15 to F0 each having 1 bit and a total of 16 bits (b15 to b0).

そして、ビット(b21)のダウンミクスモード(D−M)が「1」の場合に「ダウンミクス禁止」、「0」の場合に「ダウンミクス許可」を表す。   When the downmix mode (DM) of the bit (b21) is “1”, “downmix prohibition” is indicated, and when “0”, “downmix permission” is indicated.

次に図14を参照して復号化部3’(3’−1、3’−2)について説明する。なお、この復号化部3’(3’−1、3’−2)とミクス&マトリクス回路4’は、ハードウエアの他にコンピュータプログラムよっても実現することができる。上記フォーマットの可変レートビットストリームデータBS0、BS1は、デフォーマット化回路21により分離される。そして、各ch「1」〜「6」の1フレームの先頭サンプルデータと予測器選択フラグはそれぞれ予測回路24D1、24D2、23D1〜23D4に印加され、各ch「1」〜「6」のビット数フラグはアンパッキング回路22に印加される。また、SCRと、DTSと予測残差データ列は入力バッファ22aに印加され、PTSは出力バッファ110に印加される。また、圧縮/非圧縮などを示す符号化モードと、ダウンミクス許可/禁止を示す識別子は制御部100に印加され、サンプリング周波数fs及び量子化ビット数QbはD/A変換器102に印加される。ここで、予測回路24D1、24D2、23D1〜23D4内の複数の予測器(不図示)はそれぞれ、符号化側の予測回路13D1、13D2、15D1〜15D4内の複数の予測器と同一の特性であり、予測器選択フラグにより同一特性のものが選択される。   Next, the decoding unit 3 '(3'-1, 3'-2) will be described with reference to FIG. The decoding section 3 '(3'-1, 3'-2) and the mix & matrix circuit 4' can be realized not only by hardware but also by a computer program. The variable rate bit stream data BS0 and BS1 in the above format are separated by the deformatting circuit 21. Then, the head sample data of one frame of each channel “1” to “6” and the predictor selection flag are applied to the prediction circuits 24D1, 24D2, 23D1 to 23D4, respectively, and the bit numbers of each channel “1” to “6” The flag is applied to the unpacking circuit 22. The SCR, the DTS, and the prediction residual data string are applied to the input buffer 22a, and the PTS is applied to the output buffer 110. An encoding mode indicating compression / non-compression and an identifier indicating downmix permission / prohibition are applied to the control unit 100, and the sampling frequency fs and the number of quantization bits Qb are applied to the D / A converter 102. . Here, the plurality of predictors (not shown) in the prediction circuits 24D1, 24D2, 23D1 to 23D4 have the same characteristics as the plurality of predictors in the encoding-side prediction circuits 13D1, 13D2, 15D1 to 15D4, respectively. , And those having the same characteristics are selected by the predictor selection flag.

デフォーマット化回路21により分離されたストリームデータ(予測残差データ列)は、図15に示すようにSCRによりアクセスユニット毎に入力バッファ22aに取り込まれて蓄積される。ここで、1つのアクセスユニットのデータ量は、例えばfs=96kHzの場合には(1/96kHz)秒分であるが、図16、図17(a)に詳しく示すように可変長である。そして、入力バッファ22aに蓄積されたストリームデータはDTSに基づいてFIFOで読み出されてアンパッキング回路22に印加される。   The stream data (predicted residual data string) separated by the deformatting circuit 21 is fetched and accumulated in the input buffer 22a for each access unit by the SCR as shown in FIG. Here, the data amount of one access unit is (1/96 kHz) seconds when fs = 96 kHz, for example, but has a variable length as shown in detail in FIGS. 16 and 17A. Then, the stream data stored in the input buffer 22a is read out by the FIFO based on the DTS and applied to the unpacking circuit 22.

アンパッキング回路22は各ch「1」〜「6」の予測残差データ列をビット数フラグ毎に基づいて分離してそれぞれ予測回路24D1、24D2、23D1〜23D4に出力する。予測回路24D1、24D2、23D1〜23D4ではそれぞれ、アンパッキング回路22からの各ch「1」〜「6」の今回の予測残差データと、内部の複数の予測器の内、予測器選択フラグにより選択された各1つにより予測された前回の予測値が加算されて今回の予測値が算出され、次いで1フレームの先頭サンプルデータを基準として各サンプルのPCMデータが算出されて出力バッファ110に蓄積される。出力バッファ110に蓄積されたPCMデータはPTSに基づいて読み出されて出力され、したがって、図17(a)に示す可変長のアクセスユニットが伸長されて、図17(b)に示す一定長のプレゼンテーションユニットが出力される。   The unpacking circuit 22 separates the prediction residual data sequence of each of the channels “1” to “6” based on the bit number flag and outputs the separated data to the prediction circuits 24D1, 24D2, and 23D1 to 23D4. The prediction circuits 24D1, 24D2, and 23D1 to 23D4 respectively use the current prediction residual data of each of the channels “1” to “6” from the unpacking circuit 22 and a predictor selection flag among a plurality of internal predictors. The previous predicted value predicted by each selected one is added to calculate the current predicted value, and then the PCM data of each sample is calculated based on the first sample data of one frame and stored in the output buffer 110. Is done. The PCM data stored in the output buffer 110 is read out and output based on the PTS. Therefore, the variable-length access unit shown in FIG. 17A is expanded and the fixed-length access unit shown in FIG. The presentation unit is output.

また、PPCMシンク情報内のサンプリング周波数fs及び量子化ビット数Qbに基づいて、PCMデータがD/A変換器102によりアナログ信号に変換される。ここで、操作部101を介してサーチ再生が指示された場合には、制御部100により図5に示す前方アクセスユニット・サーチポインタ(1秒先)と後方アクセスユニット・サーチポインタ(1秒前)に基づいてアクセスユニットを再生する。このサーチポインタとしては、1秒先、1秒前の代わりに2秒先、2秒前のものでよい。   The PCM data is converted into an analog signal by the D / A converter 102 based on the sampling frequency fs and the number of quantization bits Qb in the PPCM sync information. Here, when a search reproduction is instructed via the operation unit 101, the control unit 100 causes the forward access unit search pointer (one second ahead) and the backward access unit search pointer (one second ago) shown in FIG. Play the access unit based on the. The search pointer may be one second ahead, two seconds ahead, two seconds ahead instead of one second ahead.

符号化部2’(2’−1、2’−2)により予測符号化された可変レートビットストリームデータをネットワークを介して伝送する場合には、符号化側では図18に示すように伝送用にパケット化し(ステップS41)、次いでパケットヘッダを付与し(ステップS42)、次いでこのパケットをネットワーク上に送り出す(ステップS43)。   When variable-rate bit stream data predictively encoded by the encoding unit 2 ′ (2′-1, 2′-2) is transmitted via a network, the encoding side uses a transmission-rate bit stream as shown in FIG. (Step S41), a packet header is added (step S42), and the packet is sent out to the network (step S43).

復号側では図19(A)に示すようにヘッダを除去し(ステップS51)、次いでデータを復元し(ステップS52)、次いでこのデータをメモリに格納して復号を待つ(ステップS53)。そして、復号を行う場合には図19(B)に示すように、デフォーマット化を行い(ステップS61)、次いで入力バッファ22aの入出力制御を行い(ステップS62)、次いでアンパッキングを行う(ステップS63)。なお、このとき、サーチ再生指示がある場合にはサーチポインタをデコードする。次いで予測器をフラグに基づいて選択してデコードを行い(ステップS64)、次いで出力バッファ110の入出力制御を行い(ステップS65)、次いで元のマルチチャネルを復元し(ステップS66)、次いでこれを出力し(ステップS67)、以下、これを繰り返す。   On the decoding side, as shown in FIG. 19A, the header is removed (step S51), the data is restored (step S52), and the data is stored in the memory and waiting for decoding (step S53). When decoding is performed, as shown in FIG. 19B, deformatting is performed (step S61), input / output control of the input buffer 22a is performed (step S62), and then unpacking is performed (step S62). S63). At this time, if there is a search reproduction instruction, the search pointer is decoded. Next, a predictor is selected based on the flag and decoding is performed (step S64), input / output control of the output buffer 110 is performed (step S65), and the original multi-channel is restored (step S66). This is output (step S67), and thereafter, this is repeated.

次に図20、図21を参照して第2の実施形態について説明する。上記の実施形態では、1グループの相関性の信号「1」〜「6」を予測符号化するように構成されているが、この第4の実施形態では複数グループの相関性のある信号を生成して予測符号化し、圧縮率が最も高いグループの予測符号化データを選択するように構成されている。このため図20に示す符号化部では、第1〜第nの相関回路1−1〜1−nが設けられ、このn個の相関回路1−1〜1−nは例えば6ch(Lf、C、Rf、Ls、Rs、Lfe)のPCMデータを、相関性が異なるn種類の6ch信号「1」〜「6」に変換する。   Next, a second embodiment will be described with reference to FIGS. In the above embodiment, one group of correlated signals "1" to "6" are configured to be predictively coded. In the fourth embodiment, a plurality of groups of correlated signals are generated. Then, it is configured to perform predictive coding and select predictive coded data of a group having the highest compression ratio. For this reason, the encoding unit shown in FIG. 20 is provided with first to n-th correlation circuits 1-1 to 1-n, and the n correlation circuits 1-1 to 1-n have, for example, 6 channels (Lf, Cf). , Rf, Ls, Rs, and Lfe) are converted into n types of 6-channel signals “1” to “6” having different correlations.

例えば第1の相関回路1−1は以下のように変換し、
(1)=Lf
(2)=C−(Ls+Rs)/2
(3)=Rf−Lf
(4)=Ls−a×Lfe
(5)=Rs−b×Rf
(6)=Lfe
また、第nの相関回路1−nは以下のように変換する。
For example, the first correlation circuit 1-1 converts as follows,
(1) = Lf
(2) = C− (Ls + Rs) / 2
(3) = Rf-Lf
(4) = Ls−a × Lfe
(5) = Rs−b × Rf
(6) = Lfe
The n-th correlation circuit 1-n performs conversion as follows.

(1)=Lf+Rf
(2)=C−Lf
(3)=Rf−Lf
(4)=Ls−Lf
(5)=Rs−Lf
(6)=Lfe−C
また、相関回路1−1〜1−n毎に予測回路15とバッファ・選択器16が設けられ、グループ毎の予測残差の最小値のデータ量に基づいて圧縮率が最も高いグループが相関選択信号生成器17bにより選択される。このとき、フォーマット化回路19はその選択フラグ(相関回路選択フラグ、その相関回路の相関係数a、b)を追加して多重化する。
(1) = Lf + Rf
(2) = C-Lf
(3) = Rf-Lf
(4) = Ls-Lf
(5) = Rs-Lf
(6) = Lfe-C
A prediction circuit 15 and a buffer / selector 16 are provided for each of the correlation circuits 1-1 to 1-n, and a group having the highest compression rate is selected for correlation based on the data amount of the minimum value of the prediction residual for each group. Selected by the signal generator 17b. At this time, the formatting circuit 19 adds and multiplexes the selection flag (correlation circuit selection flag, correlation coefficients a and b of the correlation circuit).

また、図21に示す復号化側では、符号化側の相関回路1−1〜1−nに対してn個の相関回路4−1〜4−n(又は係数a、bが変更可能な1つの相関回路4)が設けられる。なお、図20に示すnグループの予測回路が同一の構成である場合、復号装置では図21に示すようにnグループ分の予測回路を設ける必要はなく、1つのグループ分の予測回路でよい。そして、符号化装置から伝送された選択フラグに基づいて相関回路4−1〜4−nの1つを選択、又は係数a、bを設定して元の6ch(Lf、C、Rf、Ls、Rs、Lfe)を復元し、また、式(2)によりマルチチャネルをダウンミクスしてステレオ2chデータ(L、R)を生成する。   In addition, on the decoding side shown in FIG. 21, n correlation circuits 4-1 to 4-n (or coefficients a and b in which the number of changeable coefficients a and b are One correlation circuit 4) is provided. When the prediction circuits of the n groups shown in FIG. 20 have the same configuration, the decoding device does not need to provide the prediction circuits of the n groups as shown in FIG. 21, but may use the prediction circuits of one group. Then, one of the correlation circuits 4-1 to 4-n is selected based on the selection flag transmitted from the encoding device, or the coefficients a and b are set and the original 6 ch (Lf, C, Rf, Ls, Rs, Lfe) are restored, and multi-channels are downmixed according to equation (2) to generate stereo 2-ch data (L, R).

また、上記の第1の実施形態では、1種類の相関性の信号「1」〜「6」を予測符号化するように構成されているが、この信号「1」〜「6」のグループと原信号(Lf、C、Rf、Ls、Rs、Lfe)のグループを予測符号化し、圧縮率が高い方のグループを選択するようにしてもよい。   In the first embodiment, one kind of correlated signals “1” to “6” is configured to be predictively coded. A group of original signals (Lf, C, Rf, Ls, Rs, Lfe) may be predictively coded and a group having a higher compression rate may be selected.

本発明によれば、特許請求の範囲に記載した発明の他に、次のような発明が提供される。   According to the present invention, the following inventions are provided in addition to the inventions described in the claims.

マルチチャネルの音声信号が圧縮されたデータ又は圧縮されないデータを選択的にオーディオパケットに配置するフォーマット化手段と、
前記オーディオパケット内のマルチチャネルデータが圧縮されているか否か、あるいは、前記オーディオパケット内のマルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかによってあらかじめダウンミクスして符号化するか否か、あるいはダウンミクス係数を符号化するか否かを選択する手段とを、
有する音声符号化装置。
Formatting means for selectively arranging compressed data or uncompressed data of a multi-channel audio signal in an audio packet;
The code is downmixed beforehand depending on whether the multi-channel data in the audio packet is compressed, or whether to allow or prohibit the down-mixing of the multi-channel data in the audio packet into two stereo channels. Means to select whether to encode, or whether to encode the downmix coefficient,
Speech encoding device having the same.

本発明が適用されるマルチチャネルの伝送形態の第1の例を示す説明図である。FIG. 3 is an explanatory diagram showing a first example of a multi-channel transmission mode to which the present invention is applied. 本発明が適用されるマルチチャネルの伝送形態の第2の例を示す説明図である。FIG. 7 is an explanatory diagram showing a second example of a multi-channel transmission mode to which the present invention is applied. 本発明が適用されるマルチチャネルの伝送形態の第3の例を示す説明図である。FIG. 9 is an explanatory diagram showing a third example of a multi-channel transmission mode to which the present invention is applied. 本発明が適用されるマルチチャネルの伝送形態の第4の例を示す説明図である。FIG. 11 is an explanatory diagram showing a fourth example of a multi-channel transmission mode to which the present invention is applied. 図1の変形例を示す説明図である。FIG. 4 is an explanatory diagram showing a modification of FIG. 1. 図2の変形例を示す説明図である。FIG. 6 is an explanatory diagram showing a modification of FIG. 2. 図1の符号化部を詳しく示すブロック図である。FIG. 2 is a block diagram illustrating an encoding unit of FIG. 1 in detail. 図1、図7の符号化部により符号化されたビットストリームを示す説明図である。FIG. 8 is an explanatory diagram illustrating a bit stream encoded by the encoding unit in FIGS. 1 and 7. DVDのパックのフォーマットを示す説明図である。FIG. 4 is an explanatory diagram showing a format of a DVD pack. DVDのオーディオパックのフォーマットを示す説明図である。FIG. 3 is an explanatory diagram showing a format of a DVD audio pack. 図10のオーディオデータエリアのフォーマットを詳しく示す説明図である。FIG. 11 is an explanatory diagram showing the format of the audio data area in FIG. 10 in detail. DVDオーディオのAOTT−AOB−ATR(オーディオオンリタイトル・オーディオオブジェクトセット・アトリビュート)を示す説明図である。FIG. 3 is an explanatory diagram showing AOTT-AOB-ATR (audio only title, audio object set, attribute) of DVD audio. DVDオーディオのATS−PG−CNT(オーディオタイトルセット・プログラム・コンテンツ)を示す説明図である。FIG. 4 is an explanatory diagram showing ATS-PG-CNT (audio title set program content) of DVD audio. 図1の復号化部を詳しく示すブロック図である。FIG. 2 is a block diagram illustrating a decoding unit of FIG. 1 in detail. 図14の入力バッファの書き込み/読み出しタイミングを示すタイミングチャートである。15 is a timing chart showing write / read timings of the input buffer of FIG. アクセスユニット毎の圧縮データ量を示す説明図である。FIG. 4 is an explanatory diagram showing a compressed data amount for each access unit. アクセスユニットとプレゼンテーションユニットを示す説明図である。FIG. 3 is an explanatory diagram showing an access unit and a presentation unit. 音声伝送方法を示すフローチャートである。5 is a flowchart illustrating a voice transmission method. 音声伝送方法を示すフローチャートである。5 is a flowchart illustrating a voice transmission method. 第2の実施形態の音声符号化装置を示すブロック図である。It is a block diagram showing a speech encoding device of a second embodiment. 第2の実施形態の音声復号装置を示すブロック図である。It is a block diagram showing a speech decoding device of a second embodiment.

符号の説明Explanation of reference numerals

1’ 6chミクス&マトリクス回路
13D1,13D2,15D1〜15D4 予測回路(バッファ・選択器14D1,14D2,16D1〜16D4と共に圧縮手段を構成する。)
14D1,14D2,16D1〜16D4 バッファ・選択器
17 選択信号/DTS生成器
17c PTS生成器
19 フォーマット化回路
21 デフォーマット化回路(分離手段)
22 アンパッキング回路
22a 入力バッファ
24D1,24D2,23D1〜23D4 予測回路(伸長手段)
100 制御部(再生手段)
102 D/A変換器
110 出力バッファ
1 '6ch Mix & Matrix Circuit 13D1, 13D2, 15D1 to 15D4 Prediction circuit (compresses with buffer / selector 14D1, 14D2, 16D1 to 16D4)
14D1, 14D2, 16D1 to 16D4 Buffer / selector 17 Selection signal / DTS generator 17c PTS generator 19 Formatting circuit 21 Deformatting circuit (separating means)
22 Unpacking circuit 22a Input buffer 24D1, 24D2, 23D1 to 23D4 Prediction circuit (expansion means)
100 control unit (reproduction means)
102 D / A converter 110 Output buffer

Claims (3)

マルチチャネルの音声信号が圧縮されたデータ又は圧縮されないデータが選択的に配置されるオーディオデータの領域(オーディオパケット)と、
前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータが圧縮されているか否かを示す第1の識別子と、前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかを示す第2の識別子と、前記マルチチャネルの構造を示す第3の識別子とが配置された管理情報の領域と、
を有するデータ構造のデータを所定のパケットによる通信フォーマットで伝送することを特徴とする音声信号伝送方法。
An audio data area (audio packet) in which compressed data or uncompressed data of a multi-channel audio signal is selectively arranged;
A first identifier indicating whether or not the multi-channel data in the audio data area (audio packet) is compressed; and down-mixing the multi-channel data in the audio data area (audio packet) into two stereo channels. An area of management information in which a second identifier indicating whether to permit or prohibit the operation and a third identifier indicating the structure of the multi-channel are arranged;
An audio signal transmission method characterized by transmitting data having a data structure having a communication format of a predetermined packet.
マルチチャネルの音声信号が圧縮されたデータ又は圧縮されないデータが選択的に配置されるオーディオデータの領域(オーディオパケット)と、
前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータが圧縮されているか否かを示す第1の識別子と、前記オーディオデータの領域(オーディオパケット)内のマルチチャネルデータをステレオ2チャネルにダウンミクスすることを許可するか又は禁止するかを示す第2の識別子と、前記マルチチャネルの構造を示す第3の識別子とが配置された管理情報の領域と、
を有するデータ構造に符号化されて記録することを特徴とする音声信号記録方法。
An audio data area (audio packet) in which compressed data or uncompressed data of a multi-channel audio signal is selectively arranged;
A first identifier indicating whether or not the multi-channel data in the audio data area (audio packet) is compressed; and down-mixing the multi-channel data in the audio data area (audio packet) into two stereo channels. An area of management information in which a second identifier indicating whether to permit or prohibit the operation and a third identifier indicating the structure of the multi-channel are arranged;
A sound signal recording method characterized in that the sound signal is encoded and recorded in a data structure having the following.
請求項2記載の記録方法により記録されたデータを復号化する音声復号化装置であって、
前記データをオーディオパケットと管理情報に分離する手段と、前記管理情報内の第2の識別子がダウンミクスすることを許可する場合に前記オーディオパケット内のマルチチャネルデータを前記第1の識別子に基づいて選択的に伸長するか又は伸長しないでマルチチャネルとステレオ2チャネルで再生し、ダウンミクス識別子がダウンミクスすることを禁止する場合に前記オーディオパケット内のマルチチャネルデータを前記第1の識別子に基づいて選択的に伸長するか又は伸長しないで前記第3の識別子によりチャネルを識別してマルチチャネルのみで再生する手段と、
を有する音声信号復号化装置。
An audio decoding device for decoding data recorded by the recording method according to claim 2,
Means for separating the data into audio packets and management information, wherein the multi-channel data in the audio packets is based on the first identifier if a second identifier in the management information allows downmixing. The multi-channel data in the audio packet is reproduced based on the first identifier when the reproduction is performed on the multi-channel and the stereo two-channel with or without the expansion and the down-mix identifier prohibits the down-mix. Means for selectively decompressing or not decompressing and identifying a channel by the third identifier and reproducing only with multi-channels;
An audio signal decoding device having:
JP2004053488A 2004-02-27 2004-02-27 Audio signal transmission method and audio signal decoding apparatus Expired - Fee Related JP4151018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004053488A JP4151018B2 (en) 2004-02-27 2004-02-27 Audio signal transmission method and audio signal decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004053488A JP4151018B2 (en) 2004-02-27 2004-02-27 Audio signal transmission method and audio signal decoding apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001010408A Division JP3846194B2 (en) 2001-01-18 2001-01-18 Speech coding method, speech decoding method, speech receiving apparatus, and speech signal transmission method

Publications (2)

Publication Number Publication Date
JP2004226991A true JP2004226991A (en) 2004-08-12
JP4151018B2 JP4151018B2 (en) 2008-09-17

Family

ID=32906198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004053488A Expired - Fee Related JP4151018B2 (en) 2004-02-27 2004-02-27 Audio signal transmission method and audio signal decoding apparatus

Country Status (1)

Country Link
JP (1) JP4151018B2 (en)

Also Published As

Publication number Publication date
JP4151018B2 (en) 2008-09-17

Similar Documents

Publication Publication Date Title
JP4148157B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP3846194B2 (en) Speech coding method, speech decoding method, speech receiving apparatus, and speech signal transmission method
JP4983852B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4983845B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4378712B2 (en) Speech encoding method and speech decoding method
JP4399832B2 (en) Speech coding method, speech decoding method, and speech signal transmission method
JP4151020B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP4151004B2 (en) Speech coding method and speech decoding apparatus
JP3876827B2 (en) Speech coding method and speech decoding apparatus
JP4151018B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP4151019B2 (en) Audio signal transmission method and audio signal decoding apparatus
JP3846722B2 (en) Speech encoding method and speech decoding method
JP3846721B2 (en) Speech encoding method and speech decoding method
JP3846723B2 (en) Speech encoding method and speech decoding method
JP4399826B2 (en) Speech encoding method and speech decoding method
JP3846414B2 (en) Speech encoding method and speech decoding method
JP4983849B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP3846720B2 (en) Speech encoding method and speech decoding method
JP4983837B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4983851B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4399833B2 (en) Speech coding method, speech decoding method, and speech signal transmission method
JP4983839B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4983846B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP4983850B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JP3876820B2 (en) Speech coding method and speech decoding apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080321

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080430

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080606

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080619

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees