JP2007019862A - Multichannel signal encoding method, multichannel signal decoding method, device using the methods, program and recording medium - Google Patents

Multichannel signal encoding method, multichannel signal decoding method, device using the methods, program and recording medium Download PDF

Info

Publication number
JP2007019862A
JP2007019862A JP2005199163A JP2005199163A JP2007019862A JP 2007019862 A JP2007019862 A JP 2007019862A JP 2005199163 A JP2005199163 A JP 2005199163A JP 2005199163 A JP2005199163 A JP 2005199163A JP 2007019862 A JP2007019862 A JP 2007019862A
Authority
JP
Japan
Prior art keywords
channel
sample value
signal
master
time position
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
JP2005199163A
Other languages
Japanese (ja)
Other versions
JP4348322B2 (en
Inventor
Takehiro Moriya
健弘 守谷
Masaru Kamamoto
優 鎌本
Noboru Harada
登 原田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005199163A priority Critical patent/JP4348322B2/en
Publication of JP2007019862A publication Critical patent/JP2007019862A/en
Application granted granted Critical
Publication of JP4348322B2 publication Critical patent/JP4348322B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide encoding with high compression efficiency based on a correlation between signal channels. <P>SOLUTION: Differential encoding of this invention is differential encoding weighted by a plurality of sample values of a master channel and also weighted differential encoding that sometimes includes sample values of the master channel of the same time as that of a sample of a channel signal of an encoding target and times other than the times just before and just after. Additionally, in the invention, a sample value string Y<SB>tmp</SB>(time difference (difference in a temporal position) τ between a sample value string of the encoding target and a sample value string of the master channel is a sample value string of a master channel Y of τ<SB>tmp</SB>) of a master channel whose correlation with a sample value string X of the channel signal of the encoding target is the biggest within the range of a predetermined time difference is used for differential encoding. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、音響信号や医療信号などの多チャンネルの信号音を記録、伝送するための、多チャネル信号符号化方法、多チャネル信号復号化方法、それらの方法を用いた装置、プログラム、および記録媒体に関するものである。   The present invention relates to a multi-channel signal encoding method, a multi-channel signal decoding method, an apparatus using the methods, a program, and a recording for recording and transmitting multi-channel signal sounds such as acoustic signals and medical signals. It relates to the medium.

従来の音響信号符号化では、ステレオ信号に関する相関を用いた符号化が多く検討されている。例えば5チャネルのマルチチャネル符号化でも2チャネルごとの対にして、ステレオ信号の符号化に還元する方法が知られている。原音に対して、チャネル間での差分や固定的な重みつき差分信号によってチャネル間の信号の類似性を利用した圧縮符号化もよく使われるが、圧縮効率が小さい場合が多い。
特許文献1では、予測残差に対するチャネル間の重み付差分が開示されているが、時間差は考慮されていない。図1に従来の多チャネル信号符号化装置の機能構成例を示す。Mチャネル(Mは2以上の整数)の入力を有する多チャネル信号符号化装置800は、フレームバッファ810(i=1〜M)、符号化情報決定部820、符号化対象信号生成部830、信号符号化部840(i=1〜M)、合成部850から構成される。また、符号化情報決定部820は、チャネルごとに、独立に符号化(以下、「独立符号化」という。)するのか、他のチャネル(以下、「マスターチャネル」という。)との重み付き差分信号を符号化(以下、「差分符号化」という。)するのかの決定をする独立/差分・マスターチャネル決定部821、および差分符号化の場合に、マスターチャネルの重みを決定する重み決定部826を備えている。符号化対象信号生成部830は、符号化情報決定部820で決定された符号化情報にしたがって、チャネルごとに必要な情報を収集する符号化情報処理部832と差分符号化の場合には重み付き加算(減算)を行う重み付き加算部833とを備える。
In conventional acoustic signal coding, many coding methods using correlation with stereo signals have been studied. For example, there is known a method of reducing a stereo signal encoding by making a pair for every two channels even in multi-channel encoding of 5 channels. For the original sound, compression coding using the similarity of signals between channels by a difference between channels or a fixed weighted difference signal is often used, but the compression efficiency is often small.
In Patent Document 1, a weighted difference between channels with respect to a prediction residual is disclosed, but a time difference is not taken into consideration. FIG. 1 shows a functional configuration example of a conventional multi-channel signal encoding apparatus. A multi-channel signal encoding apparatus 800 having an input of M channels (M is an integer of 2 or more) includes a frame buffer 810 i (i = 1 to M), an encoding information determination unit 820, an encoding target signal generation unit 830, The signal encoding unit 840 i (i = 1 to M) and the synthesis unit 850 are included. In addition, the encoding information determination unit 820 performs encoding for each channel independently (hereinafter referred to as “independent encoding”) or a weighted difference from other channels (hereinafter referred to as “master channel”). An independent / differential / master channel determination unit 821 that determines whether to encode a signal (hereinafter referred to as “differential encoding”), and a weight determination unit 826 that determines the weight of a master channel in the case of differential encoding. It has. The encoding target signal generation unit 830 is an encoding information processing unit 832 i that collects necessary information for each channel according to the encoding information determined by the encoding information determination unit 820, and weights in the case of differential encoding. A weighted addition unit 833 i for performing addition (subtraction).

図2に多チャネル信号符号化装置800の処理フローを示す。フレームバッファ810(i=1〜M)は、入力信号(チャネル信号)を蓄積する。ここで、チャネル信号が単なるサンプル値の列の場合には、複数のサンプル値列(以下、「フレーム」という。)に分割し、チャネル信号が既にフレームごとに分割ている場合には、フレーム単位に蓄積する(S810)。符号化情報決定部820は、各チャネル信号のエネルギーや、各チャネル間の差分エネルギーなどの相関関係に近似する情報を利用して、各チャネルの符号化情報(独立符号化か差分符号化か、マスターチャネル番号、重みなど)を決定する(S820)。符号化対象信号生成部830は、チャネルごとに前記の符号化情報にしたがって符号化対象の信号を生成する(S830)。信号符号化部840(i=1〜M)は、生成された符号化対象信号を符号化する(S840)。合成部850は、各チャネル信号の符号と符号化情報とを合成し、多チャネル符号を出力する(S850)。図3は、ステップS830の詳細な処理フローを示している。符号化対象信号生成部830の符号化情報処理部832は、符号化情報決定部820で決定された符号化情報を取得する(S831)。符号化情報処理部832は、符号化対象チャネルのサンプル値列を取得する(S832)。符号化情報処理部832は、差分符号化の場合にはマスターチャネルの参照するサンプル値列の情報を取得する(S833)。なお、参照するサンプル値列は、1つの場合と3つの場合がある。詳細については後述する。重み付き加算部833は、独立符号化の場合にはステップS832で収集した符号化対象信号のサンプル値列をそのまま出力し、差分符号化の場合にはステップS832とS833とで収集されたサンプル値列に重みを付加して加算(減算)を行い、出力する(S834)。 FIG. 2 shows a processing flow of multi-channel signal encoding apparatus 800. The frame buffer 810 i (i = 1 to M) stores an input signal (channel signal). Here, when the channel signal is simply a sequence of sample values, it is divided into a plurality of sample value sequences (hereinafter referred to as “frames”), and when the channel signal is already divided into frames, it is a frame unit. (S810). The encoding information determination unit 820 uses information that approximates the correlation such as the energy of each channel signal and the difference energy between the channels, and encodes each channel's encoding information (independent encoding or differential encoding, (Master channel number, weight, etc.) are determined (S820). The encoding target signal generation unit 830 generates a signal to be encoded according to the encoding information for each channel (S830). The signal encoding unit 840 i (i = 1 to M) encodes the generated encoding target signal (S840). The combining unit 850 combines the code of each channel signal and the encoded information, and outputs a multi-channel code (S850). FIG. 3 shows a detailed processing flow of step S830. The encoding information processing unit 832 i of the encoding target signal generation unit 830 acquires the encoding information determined by the encoding information determination unit 820 (S831). The encoded information processing unit 832 i acquires a sample value sequence of the encoding target channel (S832). In the case of differential encoding, the encoded information processing unit 832 i acquires information on the sample value sequence referred to by the master channel (S833). Note that there are one case and three cases of sample value sequences to be referred to. Details will be described later. The weighted addition unit 833 i outputs the sample value sequence of the encoding target signal collected in step S832 in the case of independent coding as it is, and the samples collected in steps S832 and S833 in the case of differential coding. A weight is added to the value string, addition (subtraction) is performed, and the result is output (S834).

図4は、サンプル値列が1つ(1タップ)の場合のステップS830の処理のイメージを示している。また、図5は、サンプル値列が3つ(3タップ)の場合のステップS830の処理のイメージを示している。1つのフレームは、Nサンプルから構成されているので、符号化するチャネルXのサンプル値列(N個のサンプル値の列)が符号化対象の信号である。図4の例では、符号化対象信号のサンプル値列Xから、符号化対象信号のサンプル値列と同じ時間(τ=0)のマスターチャネルのサンプル値列Yに重みγを付加して減算(重み−γを付加して加算)すると差分信号X^となる。ここで、τは、符号化対象のフレーム信号(フレームと一致するサンプル値列)とマスターチャネルのサンプル値列の時間差(時間位置の差)を示している。また、サンプル値列Yの添え字は、τの値を示している。たとえば、Yは、τ=iのマスターチャネルYのサンプル値列を示している。図5の例では、符号化対象信号のサンプル値列Xから、1サンプル分前にずれた(τ=−1)サンプル値列Y−1、同じ時間(τ=0)のサンプル値列Y、および1サンプル分後ろにずれた(τ=1)サンプル値列Yにそれぞれ重みγ−1、γ、γを付加して減算(重み−γ−1、−γ、−γを付加して加算)すると差分信号X^となる。 FIG. 4 shows an image of the processing in step S830 when there is one sample value string (one tap). FIG. 5 shows an image of the processing in step S830 when there are three sample value strings (3 taps). Since one frame is composed of N samples, the sample value sequence of the channel X to be encoded (sequence of N sample values) is the signal to be encoded. In the example of FIG. 4, a weight γ is added and subtracted from the sample value sequence X of the encoding target signal to the sample value sequence Y 0 of the master channel at the same time (τ = 0) as the sampling value sequence of the encoding target signal. When added (added with weight −γ), the difference signal X ^ is obtained. Here, τ represents the time difference (time position difference) between the frame signal to be encoded (sample value sequence matching the frame) and the sample value sequence of the master channel. The subscript of the sample value sequence Y indicates the value of τ. For example, Y i indicates a sample value string of the master channel Y with τ = i. In the example of FIG. 5, from the sample value sequence X to be coded signal, the sample value sequence Y 0 of the one sample was shifted forward (tau = -1) sample value sequence Y -1, same time (τ = 0) , And a sample value sequence Y 1 shifted backward by one sample (τ = 1), and weights γ −1 , γ 0 , γ 1 are added and subtracted (weights −γ −1 , −γ 0 , −γ 1), respectively. Is added) to obtain a difference signal X ^.

図6は、従来の多チャネル信号復号化装置の機能構成例を示している。Mチャネルの多チャネル信号復号化装置900は、情報取得分離部910、信号復号化部920(i=1〜M)、チャネル信号出力部930から構成される。チャネル信号出力部930は、符号化情報処理部932と重み付き加算部933を備えている。図7に多チャネル信号復号化装置900の処理フローを示す。情報取得分離部910は、多チャネル符号を受信し、符号化情報を取得するとともに符号化信号ごとに分離する(S910)。信号復号化部920(i=1〜M)は、信号ごとに復号化する(S920)。チャネル信号出力部930は、符号化情報処理部932で情報取得分離部910からのチャネルごとの符号化情報を取得し、マスターチャネルのサンプル値列などの情報を収集する。また、重み付き加算部933で、独立符号化の場合には復号化対象の信号のサンプル値列をそのまま出力し、差分符号化の場合には復号化対象の信号のサンプル値列とマスターチャネルのサンプル値列との重み付き加算を行い、出力する(S930)。
特開2005−115267号公報
FIG. 6 shows a functional configuration example of a conventional multi-channel signal decoding apparatus. The M-channel multi-channel signal decoding apparatus 900 includes an information acquisition / separation unit 910, a signal decoding unit 920 i (i = 1 to M), and a channel signal output unit 930. The channel signal output unit 930 includes an encoded information processing unit 932 i and a weighted addition unit 933 i . FIG. 7 shows a processing flow of the multi-channel signal decoding apparatus 900. The information acquisition / separation unit 910 receives a multi-channel code, acquires encoded information, and separates the encoded signal for each encoded signal (S910). The signal decoding unit 920 i (i = 1 to M) decodes each signal (S920). The channel signal output unit 930 acquires encoded information for each channel from the information acquisition / separation unit 910 by the encoded information processing unit 932 i , and collects information such as a sample value sequence of the master channel. Also, the weighted adder 933 i outputs the sample value sequence of the signal to be decoded as it is in the case of independent encoding, and the sample value sequence of the signal to be decoded and the master channel in the case of differential encoding. The weighted addition with the sample value sequence is performed and output (S930).
JP 2005-115267 A

従来技術では、符号化対象チャネルの信号とマスターチャネルの信号との到来時間差が、サンプリング周期以下の微小なものである場合には、効率良く符号化できる。しかし、符号化対象チャネルの信号とマスターチャネルの信号との到来時間差が、サンプリング周期の半分程度となる場合には、符号化対象チャネルの信号は、1サンプル分前にずれた(τ=−1)マスターチャネルのサンプル値列Y−1、同じ時間(τ=0)のマスターチャネルのサンプル値列Y、および1サンプル分後ろにずれた(τ=1)マスターチャネルのサンプル値列Yのいずれとも相関が小さい。したがって、効率よく符号化できない。 In the related art, when the arrival time difference between the signal of the encoding target channel and the signal of the master channel is a minute one that is equal to or less than the sampling period, the encoding can be performed efficiently. However, if the arrival time difference between the signal of the encoding target channel and the signal of the master channel is about half of the sampling period, the signal of the encoding target channel is shifted by one sample (τ = −1). ) sample value sequence Y -1 master channel, the same time (tau = 0 master channel) sample value sequence Y 0, and shifted to one sample behind (tau = 1) of the master channel sample value sequence Y 1 Both have a small correlation. Therefore, it cannot be encoded efficiently.

たとえば、図10の音声の場合は、音源とマイクAとの間隔と音源とマイクBとの間隔とがほぼ等しいため、音源位置から各マイクへの音の到来時間差は微小で、サンプリング周期以下となる。しかし、図10のピアノの場合は、音源とマイクAとの間隔と音源とマイクBとの間隔が大きく異なるため、音源から各マイクへの音の到来時間差が大きくなる。そして、到来時間差がサンプリング周期よりも大きくなった場合(特に何倍にもなった場合)や、サンプリング周期の整数倍にならない場合には、どの遅延サンプルとも相関が大きくならず、上記の問題が生じる。   For example, in the case of the sound of FIG. 10, since the interval between the sound source and the microphone A and the interval between the sound source and the microphone B are substantially equal, the difference in the arrival time of the sound from the sound source position to each microphone is very small. Become. However, in the case of the piano of FIG. 10, since the interval between the sound source and the microphone A and the interval between the sound source and the microphone B are greatly different, the arrival time difference of the sound from the sound source to each microphone becomes large. And if the arrival time difference is larger than the sampling period (especially when it becomes many times) or does not become an integral multiple of the sampling period, the correlation does not increase with any delayed sample, and the above problem Arise.

本発明は、マイクロホンへの到来時間差がない音源に起因する信号でも、到来時間差が大きい音源に起因する信号でも、また、到来時間差が異なる複数の音源に起因する信号でも効率よく差分符号化することを目的とする。   The present invention efficiently encodes differential signals of signals originating from a sound source having no arrival time difference to a microphone, signals originating from a sound source having a large arrival time difference, or signals originating from a plurality of sound sources having different arrival time differences. With the goal.

本発明の差分符号化は、マスターチャネルの複数のサンプル値との重み付きの差分符号化であり、かつ、符号化対象のチャネル信号のサンプルと同じ時間、直前、または直後以外の時間のマスターチャネルのサンプル値を含むことがある重み付き差分符号化である。また、本発明は、あらかじめ定めた時間差の範囲の中で、符号化対象のチャネル信号のサンプル値列X(フレーム信号)との相関が最も大きいマスターチャネルのサンプル値列Ytmp(符号化対象のサンプル値列とマスターチャネルのサンプル値列の時間差(時間位置の差)τがτtmpのマスターチャネルYのサンプル値列)を差分符号化に用いる。 The differential coding according to the present invention is a weighted differential coding with a plurality of sample values of the master channel, and the master channel at a time other than the same time, immediately before, or just after the sample of the channel signal to be coded Is a weighted differential encoding that may contain Also, the present invention provides a master channel sample value sequence Y tmp (encoding target) having the greatest correlation with the sample value sequence X (frame signal) of the channel signal to be encoded within a predetermined time difference range. The time difference between the sample value sequence and the sample value sequence of the master channel (time position difference) τ is the sample value sequence of the master channel Y with τ tmp ) is used for differential encoding.

図8に2つのサンプル値列(2タップ)を用いる場合のイメージを示す。この例では、τtmpが0以外のときはYとYtmpを用い、τtmpが0のときはYのみを用いる。図9に6つのサンプル値列(6タップ)を用いる場合のイメージを示す。この例では、τtmpが0の場合は、Y−1,Y,Yの3つのサンプル値を重み付き差分符号化に用い、τtmpが−1または−2の場合は、Y−4,Y−3,Y−2,Y−1,Y,Yの6つのサンプル値を重み付き差分符号化に用い、τtmpが1または2の場合は、Y−1,Y,Y,Y,Y,Yの6つのサンプル値を重み付き差分符号化に用い、τtmpが上記以外の場合は、Ytmp−1,Ytmp,Ytmp+1,Y−1,Y,Yの6つのサンプル値を重み付き差分符号化に用いる。 FIG. 8 shows an image when two sample value strings (2 taps) are used. In this example, when τ tmp is other than 0 , Y 0 and Y tmp are used, and when τ tmp is 0, only Y 0 is used. FIG. 9 shows an image when six sample value sequences (6 taps) are used. In this example, when τ tmp is 0, three sample values Y −1 , Y 0 , and Y 1 are used for weighted differential encoding, and when τ tmp is −1 or −2, Y −4 , Y −3 , Y −2 , Y −1 , Y 0 , Y 1 are used for weighted differential encoding, and when τ tmp is 1 or 2, Y −1 , Y 0 , Y When six sample values 1 , Y 2 , Y 3 , Y 4 are used for weighted differential encoding and τ tmp is other than the above, Y tmp−1 , Y tmp , Y tmp + 1 , Y −1 , Y 0 , Y 1 are used for weighted differential encoding.

異なるチャネルの信号の誤差は、単なる位相差だけでなく相関の程度が小さい場合や、サンプリング周期の整数倍でない位相差がある場合もある。本発明では、複数の重み係数をもち、誤差を最小化するために重み係数を連立方程式で求めることにより、必ず誤差を小さくできる。これは複数の重み係数により前後サンプルから補うことで整数サンプル個数からずれた位相差を近似できるためである。すなわち、幅広い範囲のチャンネル入力信号に対して柔軟に適応して差信号を小さくすることができる。
特に6タップを使うことで、チャンネル間で位相差がない信号と位相差のある信号が重なり合っている信号に対して、効率よく誤差信号を小さくすることが可能である。このような重なりのある信号は、複数の楽器を異なる位置で演奏する場合や、音声と合奏が重なる場合など頻繁に生じる。さらに具体的には、図10に示すようにマイク入力Aとマイク入力Bがあるとき、正面の音声からの音では、マイクAからの入力信号とマイクBからの入力信号間に位相差はない。しかし、ピアノの音では、マイクBからの入力信号はマイクAからの入力信号に対して位相遅れが生じる。このように位置の異なる音源からの音が重なると、マイクAからの入力信号とマイクBからの入力信号との関係は、本発明のようなチャネル間予測によってはじめて効率的に符号化可能である。図10のようなケースでは特許文献1では効率的ではない。
The error of signals of different channels may be not only a mere phase difference but also a small degree of correlation or a phase difference that is not an integral multiple of the sampling period. In the present invention, the error can always be reduced by having a plurality of weighting coefficients and obtaining the weighting coefficient by simultaneous equations in order to minimize the error. This is because a phase difference deviated from the number of integer samples can be approximated by compensating from the preceding and following samples with a plurality of weighting factors. That is, the difference signal can be reduced by flexibly adapting to a wide range of channel input signals.
In particular, by using 6 taps, an error signal can be efficiently reduced with respect to a signal in which a signal having no phase difference between channels and a signal having a phase difference overlap. Such overlapping signals frequently occur when a plurality of musical instruments are played at different positions or when sound and ensemble overlap. More specifically, when there is a microphone input A and a microphone input B as shown in FIG. 10, there is no phase difference between the input signal from the microphone A and the input signal from the microphone B in the sound from the front voice. . However, in the piano sound, the input signal from the microphone B is delayed in phase with respect to the input signal from the microphone A. Thus, when sounds from sound sources with different positions overlap, the relationship between the input signal from the microphone A and the input signal from the microphone B can be efficiently encoded only by inter-channel prediction as in the present invention. . In the case as shown in FIG. 10, Patent Document 1 is not efficient.

以下では、説明の重複を避けるため同じ機能を有する構成部や同じ処理を行う処理ステップには同一の番号を付与し、説明を省略する。
[第1実施形態]
図11に本発明の多チャネル信号符号化装置の機能構成例を示す。多チャネル信号符号化装置100と図1に示した多チャネル信号符号化装置800との違いは、符号化情報決定部100である。符号化情報決定部100は、独立/差分・マスターチャネル決定部821、マスターチャネルのサンプル値列から相関の大きいサンプル値列を検索する相関計算部123と、参照するサンプル値列の符号化対象信号のフレーム信号(フレームと一致するサンプル値列)との時間差(時間位置の差)τを決定するτ決定部125、重み決定部126とを備えている。
Below, in order to avoid duplication of description, the same number is given to the structural part which has the same function, and the process step which performs the same process, and description is abbreviate | omitted.
[First Embodiment]
FIG. 11 shows a functional configuration example of the multi-channel signal encoding apparatus of the present invention. The difference between multi-channel signal encoding apparatus 100 and multi-channel signal encoding apparatus 800 shown in FIG. The encoding information determination unit 100 includes an independent / difference / master channel determination unit 821, a correlation calculation unit 123 that searches for a sample value sequence having a large correlation from the sample value sequence of the master channel, and an encoding target signal of the reference sample value sequence Τ determination unit 125 and weight determination unit 126 for determining a time difference (time position difference) τ with respect to the frame signal (sample value sequence matching the frame).

多チャネル信号符号化装置100の処理フローは、図2に示した多チャネル信号符号化装置800の処理フローのステップS820を、図12に示すステップS120に変更したものである。図12は、ステップS120の詳細なフローを示す図である。独立/差分・マスターチャネル決定部821は、チャネル信号ごとに独立符号化するか差分符号化するか、差分符号化の場合にはマスターチャネルをどのチャネル信号にするのかを決定する(S1210)。独立/差分・マスターチャネル決定部821は、当該チャネル信号の符号化が独立符号化かを確認する(S1220)。独立符号化の場合は、当該チャネル信号に対するS120の処理を終了し、次のチャネル信号に対するステップS120を行う。差分符号化の場合は、ステップS1231へ進む。相関計算部123は、iに−T、dminに無限大の値を代入する(S1231)。ただし、無限大とは差ベクトルのエネルギーとして取りうる値よりも大きければ何でも良い。また、相関の大きいマスターチャネルのサンプル値列を探す範囲が−T≦τ≦Tである。相関計算部123は、符号化対象信号のサンプル値列X(x(0),x(1),…,x(N−1))とマスターチャネルのiサンプルずれたサンプル値列Y(y(i),y(i+1),…,y(i+N−1))との差ベクトルX^(x(0)−y(i),x(1)−y(i+1),…,x(N−1)−y(i+N−1))を求める(S1232)。ここで、差ベクトルX^を求める際に、重み係数βを用いて、差ベクトルX^をX−βYとしてもよい。次に、差ベクトルX^のエネルギーd=‖X^‖を求める(S1233)。dmin>dかを確認する(S1234)。ステップS1234が真ではない場合には、ステップS1236へ進む。ステップS1234が真の場合には、dminにdを、τminにiを代入する(S1235)。i<Tを確認する(S1236)。ステップS1236が真の場合には、iにi+1を代入し(S1237)、ステップS1232へ戻る。ステップS1236が真でない場合には、ステップS1250へ進む。このようにして相関の最も大きいサンプル値列との時間差(時間位置の差)τtmpが求められる。τ決定部125は、重み付き差分符号化に使うマスターチャネルのサンプル値列を決める(S1250)。重み決定部126は、サンプル値列ごとに重みを計算する(S1260)。 The processing flow of the multichannel signal encoding device 100 is obtained by changing step S820 of the processing flow of the multichannel signal encoding device 800 shown in FIG. 2 to step S120 shown in FIG. FIG. 12 is a diagram showing a detailed flow of step S120. The independent / difference / master channel determination unit 821 determines whether to perform independent encoding or differential encoding for each channel signal, and in the case of differential encoding, which channel signal is to be the master channel (S1210). The independent / difference / master channel determination unit 821 confirms whether the encoding of the channel signal is independent encoding (S1220). In the case of independent coding, the process of S120 for the channel signal is terminated, and step S120 for the next channel signal is performed. In the case of differential encoding, the process proceeds to step S1231. The correlation calculation unit 123 substitutes -T for i and an infinite value for dmin (S1231). However, the infinity may be anything as long as it is larger than the value that can be taken as the energy of the difference vector. Further, a range in which a sample value sequence of a master channel having a large correlation is searched is −T ≦ τ ≦ T. The correlation calculation unit 123 calculates the sample value sequence Y i (y (y (y−1)) shifted from the sample value sequence X (x (0), x (1),..., X (N−1)) of the encoding target signal by i samples. (I), y (i + 1),..., Y (i + N-1)) and a difference vector X ^ (x (0) -y (i), x (1) -y (i + 1),. -1) -y (i + N-1)) is obtained (S1232). Here, when obtaining the difference vector X ^, the difference vector X ^ may be set to X-βY by using the weighting coefficient β. Next, determine the energy d = ‖X ^ ‖ 2 of the difference vector X ^ (S1233). It is confirmed whether d min > d (S1234). If step S1234 is not true, the process proceeds to step S1236. Step S1234 is the case of true, the d to d min, substituting i to τ min (S1235). i <T is confirmed (S1236). If step S1236 is true, i + 1 is substituted for i (S1237), and the process returns to step S1232. If step S1236 is not true, the process proceeds to step S1250. In this way, the time difference (time position difference) τ tmp from the sample value sequence having the largest correlation is obtained. The τ determination unit 125 determines a sample value sequence of the master channel used for weighted differential encoding (S1250). The weight determination unit 126 calculates a weight for each sample value sequence (S1260).

ステップS1250の詳細を図13に示す。τ決定部125は、求められたτtmpが0かを確認する(S1251)。τtmpが0の場合には、符号化対象信号のフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを0のみとする(S1252)。τtmpが0でない場合には、符号化対象信号のフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを0とτtmpの2つとする(S1253)。ステップS1260の詳細を図14に示す。重み決定部126は、τの数を確認する(S1261)。τの数が1個の場合には、重み係数γを、
γ=(Y −1 (1)
により算出する(S1262)。ただし、Xは内積で、Σx(i)y(i)である。τの数が2個の場合には、重み係数γ、γtmpを、

Figure 2007019862
により算出する(S1263)。 Details of step S1250 are shown in FIG. The τ determination unit 125 confirms whether the obtained τ tmp is 0 (S1251). When τ tmp is 0, the time difference (time position difference) τ between the frame signal (sample value sequence) of the encoding target signal and the sample value sequence of the master channel to be referred to is set to only 0 (S1252). When τ tmp is not 0, the time difference (time position difference) τ between the frame signal (sample value sequence) of the encoding target signal and the sample value sequence of the master channel to be referred to is set to two, 0 and τ tmp ( S1253). Details of step S1260 are shown in FIG. The weight determination unit 126 confirms the number of τ (S1261). When the number of τ is 1, the weight coefficient γ 0 is
γ 0 = (Y 0 T Y 0 ) −1 X T Y 0 (1)
(S1262). However, X T Y 0 is an inner product and is Σx (i) y (i). When the number of τ is two, the weighting factors γ 0 and γ tmp are
Figure 2007019862
(S1263).

図15に本発明の多チャネル信号復号化装置の機能構成例を示す。多チャネル信号復号化装置200と図6に示した多チャネル信号復号化装置900との違いは、チャネル信号出力部230である。チャネル信号出力部230には、チャネルごとに符号化情報取得部234、マスターチャネル選択部235、τ選択部236、重み付与部237、加算部238から構成されている。多チャネル信号復号化装置200の処理フローは、図7の処理フローのステップS930を図16に示すステップS230に変更したものである。符号化情報取得部234は、情報取得分離部910から当該チャネル信号の符号化情報を取得する(S2340)。チャネル信号出力部230は、当該チャネルが独立符号化かを確認する(S2345)。独立符号化の場合は、信号復号部920で復号化された信号をそのまま出力する(S2385)。差分符号化の場合は、ステップS2350に進む。マスターチャネル選択部235は、マスターチャネルのチャネル信号出力部230からの出力信号を取得する(S2350)。τ選択部236は、ステップS2350で得たマスターチャネルの出力信号から、参照サンプル値列とされたサンプル値列Yτを取得する(切り出す)(S2360)。重み付与部237は、符号化情報に含まれる重みγτの情報にしたがって、Yτごとに重みを付加し、重み付きサンプル値列γττを得る(S2370)。加算部238は、復号化対象のチャネル信号Xに1つまたは2つの重み付けされたサンプル値列γττを加算し当該チャネルの出力を得る(S2380)。 FIG. 15 shows a functional configuration example of the multi-channel signal decoding apparatus of the present invention. The difference between multi-channel signal decoding apparatus 200 and multi-channel signal decoding apparatus 900 shown in FIG. 6 is channel signal output section 230. The channel signal output unit 230 includes an encoded information acquisition unit 234 i , a master channel selection unit 235 i , a τ selection unit 236 i , a weighting unit 237 i , and an addition unit 238 i for each channel. The processing flow of the multi-channel signal decoding apparatus 200 is obtained by changing step S930 in the processing flow in FIG. 7 to step S230 shown in FIG. The encoded information acquisition unit 234 i acquires the encoded information of the channel signal from the information acquisition / separation unit 910 (S2340). The channel signal output unit 230 confirms whether the channel is independent encoding (S2345). In the case of independent coding, the signal decoded by the signal decoding unit 920 i is output as it is (S2385). In the case of differential encoding, the process proceeds to step S2350. The master channel selection unit 235 i acquires an output signal from the channel signal output unit 230 of the master channel (S2350). The τ selection unit 236 i acquires (cuts out) the sample value sequence Y τ that is the reference sample value sequence from the output signal of the master channel obtained in step S2350 (S2360). The weight assigning unit 237 i adds a weight for each Y τ according to the information on the weight γ τ included in the encoded information, and obtains a weighted sample value sequence γ τ Y τ (S2370). The adding unit 238 i adds one or two weighted sample value sequences γ τ Y τ to the channel signal X to be decoded to obtain the output of the channel (S2380).

図17にステップS2360の詳細を示す。τ選択部236は、τの数を確認する(S2361)。τの数が1の場合は、マスターチャネルの参照サンプル値列Yを抽出する(S2362)。τの数が2の場合は、マスターチャネルの参照サンプル値列YとYtmpを抽出する(S2363)。図18にステップS2370の詳細を示す。重み付与部237は、τの数を確認する(S2371)。τの数が1の場合は、1つの重み付けされたサンプル値列γを求める(S2372)。τの数が2の場合には、2つの重み付けされたサンプル値の和γ+γtmptmpを求める(S2373)。 FIG. 17 shows details of step S2360. The τ selection unit 236 i confirms the number of τ (S 2361). If the number of τ is 1, extracting a reference sample value sequence Y 0 in the master channel (S2362). When the number of τ is 2, the master channel reference sample value sequences Y 0 and Y tmp are extracted (S 2363). FIG. 18 shows details of step S2370. The weighting unit 237 i checks the number of τ (S2371). When the number of τ is 1, one weighted sample value sequence γ 0 Y 0 is obtained (S2372). When the number of τ is 2, the sum γ 0 Y 0 + γ tmp Y tmp of the two weighted sample values is obtained (S2373).

なお、本実施形態ではτが0とτtmpの2つの場合について説明したが、たとえば相関が最大から2つのτの値をτtmp1、τtmp2として求め、これらのτを用いて差分符号化を行ってもよい。また、用いるτを2つに限る必要もなく、相関が最大からN個(Nは整数)のτの値をτtmp1〜τtmpNとして求め、これらのτを用いて差分符号化を行ってもよい。
このような方法により、符号化対象のチャネルとマスターチャネルとに音源からマイクロホンへの到来時間差があること等により発生するチャネル間の位相差がある場合でも、相関が大きいマスターチャネルの時間位置を見つけることができる。したがって、誤差(差分符号化の対象信号)を小さくできる。さらに、τに時間位置の差がない0と時間位置が異なるτtmpを用いることで、通常多チャネル信号に含まれる時間位置の差のない相関の大きな信号については、相関計算を行わない。したがって、低演算量で効率的に差分符号化の対象信号を小さくすることができる。
In the present exemplary embodiment it has been described for the case of the two tau 0 and tau tmp, for example tmp1 the values of the two tau correlation from the maximum tau, determined as tau tmp2, differential encoding with these tau You may go. Moreover, there is no need to limit the tau used in the two, calculated as the value τ tmp1 ~τ tmpN of tau of N correlation is the maximum (N is an integer), even when the differential encoding with these tau Good.
By such a method, even when there is a phase difference between channels caused by the arrival time difference from the sound source to the microphone between the channel to be encoded and the master channel, the time position of the master channel having a large correlation is found. be able to. Accordingly, the error (target signal for differential encoding) can be reduced. Further, by using τ tmp having a time position different from 0 where there is no time position difference in τ, a correlation calculation is not performed for a signal having a large correlation and not including a time position difference, which is usually included in a multi-channel signal. Therefore, it is possible to efficiently reduce the target signal for differential encoding with a low calculation amount.

また、サンプリング周期の整数倍でない位相差がある場合でも、必ず誤差を小さくできる。これは複数の重み係数により前後サンプルから補うことで整数サンプル個数からずれた位相差を近似できるためである。すなわち、幅広い範囲のチャンネル入力信号に対して柔軟に適応して差信号を小さくすることができる。
[第2実施形態]
第1実施形態では1つまたは2つの参照サンプル値列Yτを用いたが、本実施形態では3つまたは6つの参照サンプル値列Yτを用いる。多チャネル信号符号化装置100、多チャネル信号復号化装置200の機能構成は同じであり、処理フローのステップS1250、S1260、S2360、S2370が異なるだけである。
Even if there is a phase difference that is not an integral multiple of the sampling period, the error can always be reduced. This is because a phase difference deviated from the number of integer samples can be approximated by compensating from the preceding and following samples with a plurality of weighting factors. That is, the difference signal can be reduced by flexibly adapting to a wide range of channel input signals.
[Second Embodiment]
In the first embodiment, one or two reference sample value sequences Y τ are used, but in this embodiment, three or six reference sample value sequences Y τ are used. The functional configurations of the multi-channel signal encoding device 100 and the multi-channel signal decoding device 200 are the same, and only the steps S1250, S1260, S2360, and S2370 of the processing flow are different.

図19にステップS1250’の処理フローを示す。τ決定部125は、まず求められたτtmpの値を確認する(S1251’)。τtmpが0の場合には、符号化対象信号のフレーム信号(フレームと一致するサンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1とする(S1254)。τtmpが1または2の場合には、符号化対象信号のフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1、2、3、4とする(S1255)。τtmpが−1または−2の場合には、符号化対象信号のサンプル値列と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−4、−3、−2、−1、0、1とする(S1256)。τtmpが−2、−1、0、1、2でない場合には、符号化対象信号のサンプル値列と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1、τtmp−1、τtmp、τtmp+1とする(S1257)。 FIG. 19 shows a processing flow of step S1250 ′. The τ determination unit 125 first confirms the obtained value of τ tmp (S1251 ′). When τ tmp is 0, the time difference (time position difference) τ between the frame signal of the signal to be encoded (sample value sequence matching the frame) and the sample value sequence of the master channel to be referenced is set to −1, 0, 1 (S1254). When τ tmp is 1 or 2, the time difference (time position difference) τ between the frame signal (sample value sequence) of the signal to be encoded and the sample value sequence of the reference master channel is set to −1, 0, 1, 2, 3, and 4 (S1255). When τ tmp is −1 or −2, the time difference (time position difference) τ between the sample value sequence of the encoding target signal and the sample value sequence of the reference master channel is set to −4, −3, −2, -1, 0, 1 (S1256). When τ tmp is not −2, −1, 0, 1, or 2, the time difference (time position difference) τ between the sample value sequence of the signal to be encoded and the sample value sequence of the master channel to be referenced is set to −1. 0, 1, τ tmp −1, τ tmp , τ tmp +1 are set (S1257).

図20にステップS1260’の処理フローを示す。重み決定部126は、まずτの数を確認する(S1261’)。τの数が3個の場合には、重み係数γ−1、γ、γ

Figure 2007019862
により算出する(S1264)。τの数が6個の場合には、重み係数γ−1、γ、γ、γtmp−1、γtmp、γtmp+1を、
Figure 2007019862
ただし、 FIG. 20 shows a processing flow of step S1260 ′. The weight determination unit 126 first confirms the number of τ (S1261 ′). When the number of τ is 3, the weight coefficients γ −1 , γ 0 , γ 1 are
Figure 2007019862
(S1264). When the number of τ is 6, weighting factors γ −1 , γ 0 , γ 1 , γ tmp−1 , γ tmp , γ tmp + 1 are set as follows:
Figure 2007019862
However,

Figure 2007019862
により算出する(S1265)。
図21にステップS2360’の処理フローを示す。τ選択部236は、τの数を確認する(S2361’)。τの数が3の場合は、マスターチャネルの参照サンプル値列Y−1、Y、Yを抽出する(S2364)。τの数が6の場合は、マスターチャネルの参照サンプル値列Y−1、Y、Y、Ytmp−1、Ytmp、Ytmp+1を抽出する(S2365)。図22にステップS2370’の処理フローを示す。重み付与部237は、τの数を確認する(S2371’)。τの数が3の場合は、3つの重み付けされたサンプル値列の和γ−1−1+γ+γを求める(S2374)。τの数が6の場合には、6つの重み付けされたサンプル値の和γ−1−1+γ+γ+γtmp−1tmp−1+γtmptmp+γtmp+1tmp+1を求める(S2375)。
Figure 2007019862
(S1265).
FIG. 21 shows a processing flow of step S2360 ′. The τ selection unit 236 i checks the number of τ (S 2361 ′). When the number of τ is 3, the master channel reference sample value sequences Y −1 , Y 0 , and Y 1 are extracted (S2364). If the number of τ is 6, the master channel reference sample value sequences Y −1 , Y 0 , Y 1 , Y tmp−1 , Y tmp , Y tmp + 1 are extracted (S 2365). FIG. 22 shows a processing flow of step S2370 ′. The weight assigning unit 237 i confirms the number of τ (S2371 ′). When the number of τ is 3, the sum γ −1 Y −1 + γ 0 Y 0 + γ 1 Y 1 of the three weighted sample value sequences is obtained (S2374). When the number of τ is 6, the sum of the six weighted sample values γ −1 Y −1 + γ 0 Y 0 + γ 1 Y 1 + γ tmp−1 Y tmp−1 + γ tmp Y tmp + γ tmp + 1 Y tmp + 1 Obtain (S2375).

なお、本実施形態ではτが−1、0、1、τtmp−1、τtmp、τtmp+1の6つの場合について説明したが、たとえば相関が最大から2つのτの値をτtmp1、τtmp2として求め、τがτtmp1−1、τtmp1、τtmp1+1、τtmp2−1、τtmp2、τtmp2+1の6つのサンプル値列を用いて差分符号化を行ってもよい。また、用いるτを6つに限る必要もなく、相関が最大からN個(Nは整数)のτの値をτtmp1〜τtmpNとして求め、τがτtmp1−1、τtmp1、τtmp1+1、…、τtmpN−1、τtmpN、τtmpN+1のサンプル値列を用いて差分符号化を行ってもよい。 In the present embodiment, the case where τ is −1, 0, 1, τ tmp −1, τ tmp , τ tmp +1 has been described. For example, the values of two τ from the maximum correlation are expressed as τ tmp1 , τ determined as tmp2, tau is τ tmp1 -1, τ tmp1, τ tmp1 + 1, τ tmp2 -1, τ tmp2, may be carried out differential encoding using six sample values column of tau tmp2 +1. Moreover, there is no need to limit the tau used in the six, determined as the value τ tmp1 ~τ tmpN of tau of N correlation is the maximum (N is an integer), tau is τ tmp1 -1, τ tmp1, τ tmp1 +1 ,..., Τ tmpN −1, τ tmpN , τ tmpN +1 may be used to perform differential encoding.

このような方法により、符号化対象のチャネルとマスターチャネルとに音源からマイクロホンへの到来時間差があること等により発生するチャネル間の位相差がある場合でも、相関が大きいマスターチャネルの時間位置を見つけることができる。したがって、誤差(差分符号化の対象信号)を小さくできる。さらに、τに時間位置の差がない0と時間位置が異なるτtmpを用いることで、通常多チャネル信号に含まれる時間位置の差のない相関の大きな信号については、相関計算を行わない。したがって、低演算量で効率的に差分符号化の対象信号を小さくすることができる。 By such a method, even when there is a phase difference between channels caused by the arrival time difference from the sound source to the microphone between the channel to be encoded and the master channel, the time position of the master channel having a large correlation is found. be able to. Accordingly, the error (target signal for differential encoding) can be reduced. Further, by using τ tmp having a time position different from 0 where there is no time position difference in τ, a correlation calculation is not performed for a signal having a large correlation and not including a time position difference, which is usually included in a multi-channel signal. Therefore, it is possible to efficiently reduce the target signal for differential encoding with a low calculation amount.

また、サンプリング周期の整数倍でない位相差がある場合でも、必ず誤差を小さくできる。これは複数の重み係数により前後サンプルから補うことで整数サンプル個数からずれた位相差を近似できるためである。すなわち、幅広い範囲のチャンネル入力信号に対して柔軟に適応して差信号を小さくすることができる。
特に本実施形態のように6タップを使うことで、チャンネル間で位相差がない信号と位相差のある信号が重なり合っている信号に対して、効率よく誤差信号を小さくすることが可能である。このような重なりのある信号は、図10に示したように、複数の楽器を異なる位置で演奏する場合や、音声と合奏が重なる場合など頻繁に生じる。
[第3実施形態]
第1実施形態では、符号化情報の構成については説明していない。例えば、独立符号化か差分符号化かが分かる情報とだけ説明したが、具体的な方法としては、ビットストリーム中に独立符号化ならば1、差分符号化ならば0を示すビットをもうける方法や、マスターチャネルを示す情報が、自分のチャネル番号を示している場合は独立符号化、他のチャネル番号を示している場合は差分符号化とする方法などがありうる。
Even if there is a phase difference that is not an integral multiple of the sampling period, the error can always be reduced. This is because a phase difference deviated from the number of integer samples can be approximated by compensating from the preceding and following samples with a plurality of weighting factors. That is, the difference signal can be reduced by flexibly adapting to a wide range of channel input signals.
In particular, by using 6 taps as in this embodiment, it is possible to efficiently reduce the error signal with respect to a signal in which a signal having no phase difference and a signal having a phase difference overlap each other. As shown in FIG. 10, such overlapping signals frequently occur when a plurality of musical instruments are played at different positions, or when voice and ensemble overlap.
[Third Embodiment]
In the first embodiment, the configuration of the encoded information is not described. For example, the description has been made only on the information that indicates whether the coding is independent or differential coding. As a specific method, there is a method of generating a bit indicating 1 in the bitstream if independent coding, or 0 indicating differential coding. If the information indicating the master channel indicates its own channel number, independent encoding may be used, and if the other channel number is indicated, differential encoding may be used.

本実施形態では、以下に示す特徴を符号化情報が有する場合の多チャネル復号化装置200について説明する。多チャネル復号化装置200が受信する符号化情報は、チャネルの情報が終わるときを示すストップフラグを有し、マスターチャネルの値が自分のチャネル番号のときは独立符号化を示し、マスターチャネルの値が他のチャネル番号のときは差分符号化を示し、時間差情報τtmpを含まないときはチャネル間の重み係数γのみを含み、時間差情報τtmpを含むときは、当該時間差情報τtmpおよびチャネル間の重み係数γ、γtmpを含む。 In the present embodiment, a multi-channel decoding device 200 when the encoded information has the following characteristics will be described. The encoded information received by the multi-channel decoding device 200 has a stop flag indicating when the channel information ends, and indicates the independent encoding when the master channel value is its own channel number. Indicates a differential encoding when the channel number is other than the channel number. When the time difference information τ tmp is not included, only the weight coefficient γ 0 between channels is included. When the time difference information τ tmp is included, the time difference information τ tmp and the channel are included. Including the weighting coefficients γ 0 and γ tmp between them.

本実施形態での多チャネル復号化装置200と、第1実施形態との違いは、ステップS230の処理フローのみである。本実施形態での処理フロー(ステップS230’)を図23に示す。チャネル信号出力部230は、変数sに0を代入する(S2311)。符号化情報取得部234は、情報取得分離部910から当該チャネル信号の符号化情報を取得する(S2340)。ストップフラグが1かを確認する(S2341)。ステップS2341がNoの場合は、ステップS2350へ進む。マスターチャネル選択部235は、マスターチャネルのチャネル信号出力部230からの出力信号を取得する(S2350)。符号化情報取得部234は、マスターチャネルの値が自分のチャネル番号と同じかを確認する(S2342)。マスターチャネルの値が自分のチャネル番号の場合には、変数sに対する処理が独立符号化であると記録し、ステップS2312へ進む(S2343)。マスターチャネルの値が自分のチャネル番号と異なる場合には、変数sに対する処理が差分符号化であると記録し、ステップS2360’へ進む(S2344)。τ選択部236は、変数sに対応する時間差情報τtmpおよびチャネル間の重み係数γ、γtmpを取り出し、ステップS2312へ進む(S2360’)。チャネル信号出力部230は、変数sにs+1を代入し、ステップS2341へ戻る(S2312)。ステップS2341がYesの場合は、ステップS2314へ進む。チャネル信号出力部230は、変数sが0かを確認する(S2314)。ステップS2314がYesのときはステップS230’を終了する。ステップS2314がYesのときは、チャネル信号出力部230は、当該チャネルの変数sに対する処理が独立符号化かを確認する(S2345)。独立符号化の場合は、信号復号部920で復号化された信号をそのまま出力し、ステップS2313へ進む(S2385)。独立符号化でない場合(差分符号化の場合)は、重み付与部237は、変数sに対応する重みγτの情報にしたがって、Yτごとに重みを付加し、重み付きサンプル値列γττを得る(S2370’)。加算部238は、復号化対象のチャネル信号Xに1つまたは2つの重み付けされたサンプル値列γττを加算し当該チャネルの出力を得、ステップS2313へ進む(S2380)。チャネル信号出力部230は、変数sにs−1を代入し、ステップS2314へ戻る(S2313)。 The only difference between the multi-channel decoding device 200 in the present embodiment and the first embodiment is the processing flow of step S230. A processing flow (step S230 ′) in this embodiment is shown in FIG. The channel signal output unit 230 substitutes 0 for the variable s (S2311). The encoded information acquisition unit 234 i acquires the encoded information of the channel signal from the information acquisition / separation unit 910 (S2340). It is confirmed whether the stop flag is 1 (S2341). When step S2341 is No, it progresses to step S2350. The master channel selection unit 235 i acquires an output signal from the channel signal output unit 230 of the master channel (S2350). The encoded information acquisition unit 234 i checks whether the value of the master channel is the same as its own channel number (S2342). If the value of the master channel is its own channel number, the process for the variable s is recorded as independent coding, and the process proceeds to step S2312 (S2343). If the value of the master channel is different from the own channel number, the process for the variable s is recorded as differential encoding, and the process proceeds to step S2360 ′ (S2344). The τ selection unit 236 i extracts the time difference information τ tmp corresponding to the variable s and the weight coefficients γ 0 and γ tmp between the channels, and proceeds to step S2312 (S2360 ′). The channel signal output unit 230 substitutes s + 1 for the variable s, and returns to step S2341 (S2312). When step S2341 is Yes, it progresses to step S2314. The channel signal output unit 230 checks whether the variable s is 0 (S2314). When step S2314 is Yes, step S230 ′ is terminated. When Step S2314 is Yes, the channel signal output unit 230 confirms whether the process for the variable s of the channel is independent encoding (S2345). In the case of independent coding, the signal decoded by the signal decoding unit 920 i is output as it is, and the process proceeds to step S2313 (S2385). When the coding is not independent coding (in the case of differential coding), the weight assigning unit 237 i adds a weight for each Y τ according to the information of the weight γ τ corresponding to the variable s, and the weighted sample value sequence γ τ Y τ is obtained (S2370 ′). The adder 238 i adds one or two weighted sample value sequences γ τ Y τ to the channel signal X to be decoded to obtain the output of the channel, and proceeds to step S2313 (S2380). The channel signal output unit 230 substitutes s−1 for the variable s, and returns to step S2314 (S2313).

図24にステップS2360’の詳細を示す。τ選択部236は、遅延量τtmpを復号するのか(符号化情報が遅延量τtmpを含むのか)を確認する(S2361’)。ステップS2361’がNoの場合は、マスターチャネルの重み係数γを抽出する(S2362’)。ステップS2361’がYesの場合は、マスターチャネルの遅延量τtmp(遅延量τtmpの極性を含む)と重み係数γ、γtmpを抽出する(S2363’)。図25にステップS2370’の詳細を示す。重み付与部237は、遅延量τtmpを復号するのか(符号化情報が遅延量τtmpを含むのか)を確認する(S2371’)。ステップS2371’がNoの場合は、1つの重み付けされたサンプル値列γを求める(S2372)。ステップS2371’がYesの場合は、2つの重み付けされたサンプル値の和γ+γtmptmpを求める(S2373)。 FIG. 24 shows details of step S2360 ′. The τ selection unit 236 i confirms whether the delay amount τ tmp is decoded (whether the encoded information includes the delay amount τ tmp ) (S2361 ′). When step S2361 ′ is No, the master channel weighting coefficient γ 0 is extracted (S2362 ′). When Step S2361 ′ is Yes, the master channel delay amount τ tmp (including the polarity of the delay amount τ tmp ) and the weighting factors γ 0 and γ tmp are extracted (S2363 ′). FIG. 25 shows details of step S2370 ′. The weighting unit 237 i checks whether the delay amount τ tmp is decoded (whether the encoded information includes the delay amount τ tmp ) (S2371 ′). If step S2371 ′ is No, one weighted sample value sequence γ 0 Y 0 is obtained (S2372). When Step S2371 ′ is Yes, the sum γ 0 Y 0 + γ tmp Y tmp of two weighted sample values is obtained (S2373).

その他の機能構成や処理フローは第1実施形態と同じである。
[第4実施形態]
本実施形態では、以下に示す特徴を符号化情報が有する場合の多チャネル符号化装置100と多チャネル復号化装置200について説明する。多チャネル符号化装置100と多チャネル復号化装置200とが送受信する符号化情報は、チャネルの情報が終わるときを示すストップフラグを有し、マスターチャネルの値が自分のチャネル番号のときは独立符号化を示し、マスターチャネルの値が他のチャネル番号のときは差分符号化を示し、時間差情報τtmpを含まないときはチャネル間の重み係数γ−1、γ、γを含み、時間差情報τtmpを含むときは、当該時間差情報τtmpおよびチャネル間の重み係数γ−1、γ、γ、γtmp−1、γtmp、γtmp+1を含む。
Other functional configurations and processing flows are the same as those in the first embodiment.
[Fourth Embodiment]
In the present embodiment, a description will be given of the multi-channel encoding device 100 and the multi-channel decoding device 200 when the encoding information has the following characteristics. The encoded information transmitted / received between the multi-channel encoding device 100 and the multi-channel decoding device 200 has a stop flag indicating when the channel information ends, and an independent code when the master channel value is its own channel number. When the master channel value is another channel number, it indicates differential encoding. When the time difference information τ tmp is not included, the channel includes weighting coefficients γ −1 , γ 0 , γ 1 and includes time difference information. When τ tmp is included, the time difference information τ tmp and weight coefficients γ −1 , γ 0 , γ 1 , γ tmp−1 , γ tmp , γ tmp + 1 are included.

本実施形態での多チャネル符号化装置100と、第2実施形態との違いは、ステップS1250とS1260の処理フローのみである。本実施形態の処理フローのステップS1250”を図26に、ステップS1260”を図27に示す。τ決定部125は、まず求められたτtmpの値を確認する(S1251”)。τtmpが0の場合には、時間差情報τtmpをなしとする(S1254”)。τtmpが1または2の場合には、、時間差情報τtmpを3とする(S1255”)。τtmpが−1または−2の場合には、、時間差情報τtmpを−3とする(S1256”)。τtmpが−2、−1、0、1、2でない場合には、、時間差情報τtmpをτtmpとする(S1257”)。
ステップS1260”では、重み決定部126は、まず送信する時間差情報τtmpがあるのかを確認する(S1261”)。ステップS1261がNoの場合には、重み係数γ−1、γ、γを式(3)により算出する(S1264”)。ステップS1261がYesの場合には、重み係数γ−1、γ、γ、γtmp−1、γtmp、γtmp+1を、式(4)により算出する(S1265”)。その他の機能構成や処理フローは第2実施形態と同じである。
The difference between the multi-channel encoding apparatus 100 in the present embodiment and the second embodiment is only the processing flow of steps S1250 and S1260. FIG. 26 shows step S1250 ″ of the processing flow of this embodiment, and FIG. 27 shows step S1260 ″. The τ determination unit 125 first checks the obtained value of τ tmp (S1251 ″). If τ tmp is 0, the time difference information τ tmp is not used (S1254 ″). When τ tmp is 1 or 2, the time difference information τ tmp is set to 3 (S1255 ″). When τ tmp is −1 or −2, the time difference information τ tmp is set to −3 (S1256). "). When τ tmp is not −2, −1, 0, 1, 2, the time difference information τ tmp is set to τ tmp (S1257 ″).
In step S1260 ″, the weight determination unit 126 first checks whether there is time difference information τ tmp to be transmitted (S1261 ″). If step S1261 is No, the weighting factors γ −1 , γ 0 , and γ 1 are calculated using equation (3) (S1264 ″). If step S1261 is Yes, the weighting factors γ −1 , γ 0 are calculated. , Γ 1 , γ tmp−1 , γ tmp , γ tmp + 1 are calculated according to the equation (4) (S 1265 ″). Other functional configurations and processing flows are the same as those in the second embodiment.

本実施形態での多チャネル復号化装置200と、第3実施形態との違いは、ステップS2360’とS2370’の処理フローのみである。本実施形態での処理フローのステップS230”を図28に、ステップS2370”を図29に示す。ステップS2360”では、τ選択部236は、遅延量τtmpを復号するのか(符号化情報が遅延量τtmpを含むのか)を確認する(S2361”)。ステップS2361”がNoの場合は、マスターチャネルの重み係数γ−1、γ、γを抽出する(S2364”)。ステップS2361”がYesの場合は、マスターチャネルの遅延量τtmp(遅延量τtmpの極性を含む)と重み係数γ−1、γ、γ、γtmp−1、γtmp、γtmp+1を抽出する(S2365”)。ステップS2370”では、重み付与部237は、遅延量τtmpを復号するのか(符号化情報が遅延量τtmpを含むのか)を確認する(S2371”)。ステップS2371”がNoの場合は、重み付けされたサンプル値列γ−1−1+γ+γを求める(S2374”)。ステップS2371”がYesの場合は、6つの重み付けされたサンプル値の和γ−1−1+γ+γ+γtmp−1tmp−1+γtmptmp+γtmp+1tmp+1を求める(S2375”)。その他の機能構成や処理フローは第3実施形態と同じである。
[第5実施形態]
第1実施形態から第4実施形態では、入力信号がどのような信号かについては議論していない。一般的には、複数のマイクロホンなどから収音した信号をアナログ/デジタル変換しただけの信号(サンプル値の列)が想定される。しかし、本発明の多チャネル信号符号化装置100と多チャネル信号復号化装置200とは、その他の多チャネル信号でも符号化、復号化できる。たとえば、図30に示したように、入力信号を線形予測符号化装置10(i=1〜M)で圧縮符号化した予測誤差信号でも、係数符号化した予測パラメータ信号でも対応できる。また、図31に示すように、線形予測復号化装置20(i=1〜M)を接続することで、圧縮符号化した予測誤差信号でも、係数符号化した予測パラメータ信号でも対応できる。
The only difference between the multi-channel decoding device 200 in the present embodiment and the third embodiment is the processing flow of steps S2360 ′ and S2370 ′. FIG. 28 shows step S230 ″ of the processing flow in this embodiment, and FIG. 29 shows step S2370 ″. In step S2360 ″, the τ selection unit 236 i checks whether the delay amount τ tmp is decoded (whether the encoded information includes the delay amount τ tmp ) (S2361 ″). If step S 2361 ″ is No, the master channel weighting factors γ −1 , γ 0 , γ 1 are extracted (S 2364 ″). If Step S2361 "is Yes, the master channel delay amount τ tmp (including the polarity of the delay amount τ tmp ) and the weighting factors γ −1 , γ 0 , γ 1 , γ tmp−1 , γ tmp , γ tmp + 1 are set. Extract (S2365 ″). In step S2370 ″, the weight assigning unit 237 i checks whether the delay amount τ tmp is decoded (whether the encoded information includes the delay amount τ tmp ) (S2371 ″). Step S2371 "If is No, obtaining a weighted sample value sequence γ -1 Y -1 + γ 0 Y 0 + γ 1 Y 1 (S2374"). When Step S2371 is Yes, the sum of six weighted sample values γ −1 Y −1 + γ 0 Y 0 + γ 1 Y 1 + γ tmp−1 Y tmp−1 + γ tmp Y Y tmp + γ tmp + 1 Y tmp + 1 is obtained. (S2375 "). Other functional configurations and processing flows are the same as those in the third embodiment.
[Fifth Embodiment]
The first to fourth embodiments do not discuss what kind of signal the input signal is. In general, a signal (sample value sequence) obtained by analog / digital conversion of signals collected from a plurality of microphones or the like is assumed. However, the multi-channel signal encoding apparatus 100 and the multi-channel signal decoding apparatus 200 of the present invention can also encode and decode other multi-channel signals. For example, as shown in FIG. 30, a prediction error signal obtained by compressing and coding an input signal by a linear predictive coding device 10 i (i = 1 to M) or a prediction parameter signal obtained by coefficient coding can be supported. Further, as shown in FIG. 31, by connecting a linear predictive decoding apparatus 20 i (i = 1 to M), it is possible to cope with either a compression-coded prediction error signal or a coefficient-coded prediction parameter signal.

なお、上記の実施形態はコンピュータに、上記方法の各ステップを実行させるプログラムを読み込ませ、実施することもできる。また、コンピュータに読み込ませる方法としては、プログラムをコンピュータ読み取り可能な記録媒体に記録しておき、記録媒体からコンピュータに読み込ませる方法、サーバ等に記録されたプログラムを電気通信回線等を通じてコンピュータに読み込ませる方法などがある。   In addition, said embodiment can also read and implement the program which makes a computer perform each step of the said method. Also, as a method for reading into the computer, the program is recorded on a computer-readable recording medium, and the program is read from the recording medium into the computer, or the program recorded in the server or the like is read into the computer through an electric communication line or the like. There are methods.

従来の多チャネル信号符号化装置の機能構成例を示す図。The figure which shows the function structural example of the conventional multi-channel signal encoding apparatus. 従来の多チャネル信号符号化装置の処理フローを示す図。The figure which shows the processing flow of the conventional multi-channel signal encoding apparatus. ステップS830の詳細な処理フローを示す図。The figure which shows the detailed processing flow of step S830. サンプル値列が1つ(1タップ)の場合のステップS830の処理のイメージを示す図。The figure which shows the image of the process of step S830 in case a sample value sequence is one (1 tap). サンプル値列が3つ(3タップ)の場合のステップS830の処理のイメージを示す図。The figure which shows the image of the process of step S830 in case a sample value row | line | column is three (3 taps). 従来の多チャネル信号復号化装置の機能構成例を示す図。The figure which shows the function structural example of the conventional multi-channel signal decoding apparatus. 従来の多チャネル信号復号化装置の処理フローを示す図。The figure which shows the processing flow of the conventional multi-channel signal decoding apparatus. 本発明の2つのサンプル値列(2タップ)を用いる場合のイメージを示す図。The figure which shows the image in the case of using two sample value sequences (2 taps) of this invention. 本発明の6つのサンプル値列(6タップ)を用いる場合のイメージを示す図。The figure which shows the image in the case of using six sample value sequences (6 taps) of this invention. 本発明の効果が現れる具体例を示す図。The figure which shows the specific example in which the effect of this invention appears. 本発明の多チャネル信号符号化装置の機能構成例を示す図。The figure which shows the function structural example of the multi-channel signal encoding apparatus of this invention. ステップS120の処理フローを示す図。The figure which shows the processing flow of step S120. ステップS1250の処理フローを示す図。The figure which shows the processing flow of step S1250. ステップS1260の処理フローを示す図。The figure which shows the processing flow of step S1260. 本発明の多チャネル信号復号化装置の機能構成例を示す図。The figure which shows the function structural example of the multi-channel signal decoding apparatus of this invention. ステップS230の処理フローを示す図。The figure which shows the processing flow of step S230. ステップS2360の処理フローを示す図。The figure which shows the processing flow of step S2360. ステップS2370の処理フローを示す図。The figure which shows the processing flow of step S2370. ステップS1250’の処理フローを示す図。The figure which shows the processing flow of step S1250 '. ステップS1260’の処理フローを示す図。The figure which shows the processing flow of step S1260 '. ステップS2360’の処理フローを示す図。The figure which shows the processing flow of step S2360 '. ステップS2370’の処理フローを示す図。The figure which shows the processing flow of step S2370 '. ステップS230’の処理フローを示す図。The figure which shows the processing flow of step S230 '. ステップS2360’の処理フローを示す図。The figure which shows the processing flow of step S2360 '. ステップS2370’の処理フローを示す図。The figure which shows the processing flow of step S2370 '. ステップS1250”の処理フローを示す図。The figure which shows the processing flow of step S1250 ". ステップS1260”の処理フローを示す図。The figure which shows the processing flow of step S1260 ". ステップS2360”の処理フローを示す図。The figure which shows the processing flow of step S2360 ". ステップS2370”の処理フローを示す図。The figure which shows the processing flow of step S2370 ". 本発明の多チャネル信号符号化装置を線形予測符号化装置と組み合わせた図。The figure which combined the multi-channel signal coding apparatus of this invention with the linear prediction coding apparatus. 本発明の多チャネル信号復号化装置を線形予測復号化装置と組み合わせた図。The figure which combined the multi-channel signal decoding apparatus of this invention with the linear prediction decoding apparatus.

Claims (29)

複数チャネルの入力信号を、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに符号化する多チャネル信号符号化方法であって、
あるチャネル(以下、「符号化対象チャネル」という。)のフレーム信号を、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる複数のサンプル値列との重み付け差分を符号化する場合に、
マスターチャネルの番号と、前記複数のマスターチャネルのサンプル値列ごとの符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差と、マスターチャネルのサンプル値列に乗算する重みを決定する符号化情報決定ステップと、
前記符号化情報決定ステップの結果にしたがって、符号化対象チャネルのフレーム信号と、前記重みを乗算した時間位置の差を有する前記複数のマスターチャネルのサンプル値列との差分を、符号化対象信号として生成する符号化対象信号生成ステップと、
前記符号化対象信号を符号化して符号化対象信号に基づく符号列を得る符号化ステップと、
前記符号化情報決定ステップで決定したマスターチャネルの番号と時間位置の差と重みが判別できる符号化情報、および前記符号化ステップで得た符号化対象信号に基づく符号列を含む符号列を生成する符号列生成ステップと
を有する多チャネル信号符号化方法。
A multi-channel signal encoding method for encoding an input signal of a plurality of channels for each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
A frame signal of a certain channel (hereinafter referred to as “encoding target channel”) is encoded with a weighted difference from a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channel”). In case,
The master channel number, the time position difference between the frame signal of the channel to be encoded for each sample value sequence of the plurality of master channels and the sample value sequence of the master channel, and the weight to multiply the sample value sequence of the master channel An encoding information determination step to determine;
According to the result of the encoding information determination step, the difference between the frame signal of the encoding target channel and the sample value sequence of the plurality of master channels having the time position difference multiplied by the weight is used as the encoding target signal. An encoding target signal generation step to be generated;
An encoding step of encoding the encoding target signal to obtain a code string based on the encoding target signal;
A coding sequence including a coding sequence capable of determining a difference between a master channel number and a time position determined in the coding information determination step and a weight and a coding sequence based on a signal to be coded obtained in the coding step is generated. A multi-channel signal encoding method comprising: a code string generation step.
請求項1記載の多チャネル信号符号化方法であって、
前記符号化情報決定ステップでの時間位置の差の決定では、
前記複数のマスターチャネルのサンプル値列のうち1つのサンプル値列は、符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差を0とする
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In the determination of the time position difference in the encoding information determination step,
One sample value sequence among the sample value sequences of the plurality of master channels has a time position difference between the frame signal of the channel to be encoded and the sample value sequence of the master channel as 0. Encoding method.
請求項1または2記載の多チャネル信号符号化方法であって、
前記符号化情報決定ステップでの時間位置の差の決定では、
前記時間位置の差として−2以下もしくは2以上の値を決定することがある
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to claim 1 or 2,
In the determination of the time position difference in the encoding information determination step,
A multi-channel signal encoding method, wherein a value of −2 or less or 2 or more may be determined as the time position difference.
請求項1記載の多チャネル信号符号化方法であって、
前記符号化情報決定ステップでの時間位置の差の決定では、
前記複数のマスターチャネルのサンプル値列は、前記時間位置の差が異なる3個または6個のサンプル値列であり、
前記3個または6個のマスターチャネルのサンプル値列のうち3個のサンプル値列は、前記時間位置の差をそれぞれ−1,0,1とする
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In the determination of the time position difference in the encoding information determination step,
The sample value sequences of the plurality of master channels are 3 or 6 sample value sequences having different time position differences,
3. The multi-channel signal encoding method according to claim 3, wherein three sample value sequences of the three or six master channel sample value sequences have the time position differences of −1, 0, and 1, respectively.
請求項1記載の多チャネル信号符号化方法であって、
前記符号化情報決定ステップでの少なくとも1つの時間位置の差の決定は、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差を求めることにより行う
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
The determination of at least one time position difference in the encoding information determination step includes:
Within the predetermined time position difference range, this is done by obtaining the time position difference in which the correlation between the sample value sequence of the master channel giving the time position difference and the frame signal of the channel to be encoded is the largest. A characteristic multi-channel signal encoding method.
請求項1記載の多チャネル信号符号化方法であって、
前記符号化情報決定ステップが、
マスターチャネルの番号を決定し、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差τtmpを決定し、
τtmpが0の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を3個とし、前記時間位置の差をそれぞれ−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが−1または−2の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれ−4、−3、−2、−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが1または2の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれ−1,0,1、2,3,4とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが上記以外の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれτtmp−1,τtmp,τtmp+1,−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
The encoding information determination step includes:
Determine the master channel number,
Within a predetermined time position difference range, a time position difference τ tmp having the largest correlation between the sample value sequence of the master channel that gives the time position difference and the frame signal of the encoding target channel is determined,
When τ tmp is 0, there are three sample value sequences with different time positions of the master channel, the time position differences are respectively −1, 0, and 1, and the sample value sequences of the respective master channels are multiplied. Determine the weight,
When τ tmp is −1 or −2, there are six sample value sequences with different time positions of the master channel, and the difference in the time positions is −4, −3, −2, −1, 0, 1 respectively. And determine the weight to multiply the sample value sequence of each master channel,
When τ tmp is 1 or 2, there are six sample value sequences with different time positions of the master channel, the time position differences are set to −1, 0, 1, 2, 3, and 4, respectively. Determine the weight to multiply the channel sample value sequence,
When τ tmp is other than the above, there are six sample value sequences with different time positions of the master channel, and the difference between the time positions is τ tmp −1, τ tmp , τ tmp +1, −1, 0, 1 respectively. And determining a weight by which the sample value sequence of each master channel is multiplied.
請求項1から6のいずれかに記載の多チャネル信号符号化方法であって、
前記入力信号が、マイクロホンまたはセンサで収集した信号に基づくデジタル信号である
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1 to 6,
The multi-channel signal encoding method, wherein the input signal is a digital signal based on a signal collected by a microphone or a sensor.
請求項1から6のいずれかに記載の多チャネル信号符号化方法であって、
前記入力信号が、マイクロホンまたはセンサで収集した信号に基づくデジタル信号を、予測処理を行った予測誤差信号である
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1 to 6,
The multi-channel signal encoding method, wherein the input signal is a prediction error signal obtained by performing a prediction process on a digital signal based on a signal collected by a microphone or a sensor.
請求項1から6のいずれかに記載の多チャネル信号符号化方法であって、
前記入力信号が、マイクロホンまたはセンサで収集した信号に基づくデジタル信号を、予測処理を行った際の時間領域の予測パラメータ信号である
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1 to 6,
The multi-channel signal encoding method, wherein the input signal is a time-domain prediction parameter signal when a digital signal based on a signal collected by a microphone or a sensor is subjected to a prediction process.
請求項1から9のいずれかに記載の多チャネル信号符号化方法であって、
重みの情報を可変長符号化する
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1 to 9,
A multi-channel signal encoding method characterized by variable-length encoding weight information.
複数チャネルの符号を受信し、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに復号する多チャネル信号復号化方法であって、
あるチャネル(以下、「復号化対象チャネル」という。)のフレーム信号が、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる複数のサンプル値列の重み付け差分の符号化である場合に、
該チャネルの受信符号から、マスターチャネルの番号と、前記マスターチャネルの複数のサンプル値列ごとの符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差と、マスターチャネルのサンプル値列に乗算する重みを判別できる情報を取得する符号化情報取得ステップと、
該チャネルの受信符号から、チャネル信号ごとの符号データを復号化して復号化信号を得る復号化ステップと、
前記符号化情報にしたがって、復号化対象チャネルのフレーム信号と、前記重みを乗算した時間位置の差を有する前記複数のマスターチャネルのサンプル値列との和を、出力信号とする出力信号生成ステップと
を有する多チャネル信号復号化方法。
A multi-channel signal decoding method for receiving a code of a plurality of channels and decoding each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
The frame signal of a certain channel (hereinafter referred to as “decoding target channel”) is an encoding of a weighted difference of a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channels”). In case,
From the received code of the channel, the master channel number, the time position difference between the frame signal of the encoding target channel and the sample value sequence of the master channel for each of the plurality of sample value sequences of the master channel, and the master channel sample An encoded information acquisition step for acquiring information capable of determining a weight to be multiplied by a value sequence;
A decoding step of decoding code data for each channel signal to obtain a decoded signal from the received code of the channel;
An output signal generation step in which a sum of a frame signal of a channel to be decoded and a sample value sequence of the plurality of master channels having a time position difference multiplied by the weight according to the encoding information is used as an output signal; A multi-channel signal decoding method comprising:
請求項11記載の多チャネル信号復号化方法であって、
前記複数のマスターチャネルのサンプル値列のうち1つのサンプル値列は、符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差を0とする
ことを特徴とする多チャネル信号復号化方法。
A multi-channel signal decoding method according to claim 11, comprising:
One sample value sequence among the sample value sequences of the plurality of master channels has a time position difference between the frame signal of the channel to be encoded and the sample value sequence of the master channel as 0. Decryption method.
請求項11または12記載の多チャネル信号復号化方法であって、
前記時間位置の差として−2以下もしくは2以上の値を含むことがある
ことを特徴とする多チャネル信号復号化方法。
The multi-channel signal decoding method according to claim 11 or 12,
The multi-channel signal decoding method, wherein the time position difference may include a value of −2 or less or 2 or more.
請求項11記載の多チャネル信号復号化方法であって、
前記複数のマスターチャネルのサンプル値列は、前記時間位置の差が異なる3個または6個のサンプル値列であり、
前記3個または6個のマスターチャネルのサンプル値列のうち3個のサンプル値列は、前記時間位置の差をそれぞれ−1,0,1とする
ことを特徴とする多チャネル信号復号化方法。
A multi-channel signal decoding method according to claim 11, comprising:
The sample value sequences of the plurality of master channels are 3 or 6 sample value sequences having different time position differences,
3. The multi-channel signal decoding method according to claim 3, wherein three sample value sequences of the three or six master channel sample value sequences have the time position differences of −1, 0, and 1, respectively.
請求項11記載の多チャネル信号復号化方法であって、
前記符号化情報に前記時間位置の差の情報が含まれない場合は、前記マスターチャネルの時間位置の異なるサンプル値列を3個とし、前記時間位置の差をそれぞれ−1,0,1とし、
前記時間位置の差がある場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれτtmp−1,τtmp,τtmp+1,−1,0,1とする
ことを特徴とする多チャネル信号復号化方法。
A multi-channel signal decoding method according to claim 11, comprising:
If the encoded information does not include information on the difference in time position, the sample value sequence having different time positions of the master channel is set to three, and the difference in time position is set to −1, 0, 1, respectively.
If there is a difference in time position, six sample value sequences having different time positions of the master channel are set, and the difference in time position is set to τ tmp −1, τ tmp , τ tmp +1, −1, 0, 1. A multi-channel signal decoding method, wherein
請求項11から15のいずれかに記載の多チャネル信号復号化方法であって、
重みの情報が可変長符号化すること
を特徴とする多チャネル信号復号化方法。
A multi-channel signal decoding method according to any of claims 11 to 15, comprising:
A multi-channel signal decoding method characterized in that the weight information is variable-length encoded.
複数チャネルの入力信号を、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに符号化する多チャネル信号符号化装置であって、
あるチャネル(以下、「符号化対象チャネル」という。)のフレーム信号を、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる複数のサンプル値列との重み付け差分を符号化する場合に、
マスターチャネルの番号と、前記複数のマスターチャネルのサンプル値列ごとの符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差と、マスターチャネルのサンプル値列に乗算する重みを決定する符号化情報決定部と、
前記符号化情報決定部の結果にしたがって、符号化対象チャネルのフレーム信号と、前記重みを乗算した時間位置の差を有する前記複数のマスターチャネルのサンプル値列との差分を、符号化対象信号として生成する符号化対象信号生成部と、
前記符号化対象信号を符号化して符号化対象信号に基づく符号列を得る符号化部と、
前記符号化情報決定部で決定したマスターチャネルの番号と時間位置の差と重みが判別できる符号化情報、および前記符号化部で得た符号化対象信号に基づく符号列を含む符号列を生成する符号列生成部と
を有する多チャネル信号符号化装置。
A multi-channel signal encoding apparatus that encodes a multi-channel input signal for each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
A frame signal of a certain channel (hereinafter referred to as “encoding target channel”) is encoded with a weighted difference from a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channel”). In case,
The master channel number, the time position difference between the frame signal of the channel to be encoded for each sample value sequence of the plurality of master channels and the sample value sequence of the master channel, and the weight to multiply the sample value sequence of the master channel An encoding information determination unit to determine;
According to the result of the encoding information determination unit, the difference between the frame signal of the encoding target channel and the sample value sequence of the plurality of master channels having the time position difference multiplied by the weight is used as the encoding target signal. An encoding target signal generation unit to be generated;
An encoding unit that encodes the encoding target signal to obtain a code string based on the encoding target signal;
A coding sequence including a coding sequence that can determine a difference between a master channel number and a time position determined by the coding information determination unit, a time position, and a weight, and a code sequence based on a signal to be coded obtained by the coding unit is generated. A multi-channel signal encoding device comprising: a code string generation unit.
請求項17記載の多チャネル信号符号化装置であって、
前記符号化情報決定部での時間位置の差の決定において、
前記複数のマスターチャネルのサンプル値列のうち1つのサンプル値列は、符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差を0とする
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to claim 17,
In determining the time position difference in the encoded information determination unit,
One sample value sequence among the sample value sequences of the plurality of master channels has a time position difference between the frame signal of the channel to be encoded and the sample value sequence of the master channel as 0. Encoding device.
請求項17または18記載の多チャネル信号符号化装置であって、
前記符号化情報決定部での時間位置の差の決定において、
前記時間位置の差として、−2以下もしくは2以上の値を決定することがある
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to claim 17 or 18,
In determining the time position difference in the encoded information determination unit,
A value of −2 or less or 2 or more may be determined as the time position difference.
請求項17記載の多チャネル信号符号化装置であって、
前記符号化情報決定部での時間位置の差の決定において、
前記複数のマスターチャネルのサンプル値列は、前記時間位置の差が異なる3個または6個のサンプル値列であり、
前記3個または6個のマスターチャネルのサンプル値列のうち3個のサンプル値列は、前記時間位置の差をそれぞれ−1,0,1とする
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to claim 17,
In determining the time position difference in the encoded information determination unit,
The sample value sequences of the plurality of master channels are 3 or 6 sample value sequences having different time position differences,
The multi-channel signal encoding apparatus, wherein three sample value sequences of the three or six master channel sample value sequences have the time position differences of -1, 0, 1 respectively.
請求項17記載の多チャネル信号符号化装置であって、
前記符号化情報決定部での少なくとも1つの時間位置の差の決定は、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差を求めることにより行う
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to claim 17,
Determination of at least one time position difference in the encoding information determination unit is as follows:
Within the predetermined time position difference range, this is done by obtaining the time position difference in which the correlation between the sample value sequence of the master channel giving the time position difference and the frame signal of the channel to be encoded is the largest. A multi-channel signal encoding apparatus.
請求項17記載の多チャネル信号符号化装置であって、
前記符号化情報決定部が、
マスターチャネルの番号を決定し、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差τtmpを決定し、
τtmpが0の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を3個とし、前記時間位置の差をそれぞれ−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが−1または−2の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれ−4、−3、−2、−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが1または2の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれ−1,0,1、2,3,4とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定し、
τtmpが上記以外の場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれτtmp−1,τtmp,τtmp+1,−1,0,1とし、それぞれのマスターチャネルのサンプル値列に乗算する重みを決定する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to claim 17,
The encoded information determination unit is
Determine the master channel number,
Within a predetermined time position difference range, a time position difference τ tmp having the largest correlation between the sample value sequence of the master channel that gives the time position difference and the frame signal of the encoding target channel is determined,
When τ tmp is 0, there are three sample value sequences with different time positions of the master channel, the time position differences are respectively −1, 0, and 1, and the sample value sequences of the respective master channels are multiplied. Determine the weight,
When τ tmp is −1 or −2, there are six sample value sequences with different time positions of the master channel, and the difference in the time positions is −4, −3, −2, −1, 0, 1 respectively. And determine the weight to multiply the sample value sequence of each master channel,
When τ tmp is 1 or 2, there are six sample value sequences with different time positions of the master channel, the time position differences are set to −1, 0, 1, 2, 3, and 4, respectively. Determine the weight to multiply the channel sample value sequence,
When τ tmp is other than the above, there are six sample value sequences with different time positions of the master channel, and the difference between the time positions is τ tmp −1, τ tmp , τ tmp +1, −1, 0, 1 respectively. And determining a weight by which the sample value sequence of each master channel is multiplied.
複数チャネルの符号を受信し、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに復号する多チャネル信号復号化装置であって、
あるチャネル(以下、「復号化対象チャネル」という。)のフレーム信号が、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる複数のサンプル値列の重み付け差分の符号化である場合に、
該チャネルの受信符号から、マスターチャネルの番号と、前記マスターチャネルの複数のサンプル値列ごとの符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差と、マスターチャネルのサンプル値列に乗算する重みを判別できる情報を取得する符号化情報取得部と、
該チャネルの受信符号から、チャネル信号ごとの符号データを復号化して復号化信号を得る復号化部と、
前記符号化情報にしたがって、復号化対象チャネルのフレーム信号と、前記重みを乗算した時間位置の差を有する前記複数のマスターチャネルのサンプル値列との和を、出力信号とする出力信号生成部と
を有する多チャネル信号復号化装置。
A multi-channel signal decoding apparatus that receives a code of a plurality of channels and decodes each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
The frame signal of a certain channel (hereinafter referred to as “decoding target channel”) is an encoding of a weighted difference of a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channels”). In case,
From the received code of the channel, the master channel number, the time position difference between the frame signal of the encoding target channel and the sample value sequence of the master channel for each of the plurality of sample value sequences of the master channel, and the master channel sample An encoded information acquisition unit for acquiring information capable of determining a weight to be multiplied by a value sequence;
A decoding unit that decodes code data for each channel signal from the received code of the channel to obtain a decoded signal;
In accordance with the encoding information, an output signal generation unit that outputs a sum of a frame signal of a decoding target channel and a sample value sequence of the plurality of master channels having a time position difference multiplied by the weight as an output signal; A multi-channel signal decoding apparatus.
請求項23記載の多チャネル信号復号化装置であって、
前記複数のマスターチャネルのサンプル値列のうち1つのサンプル値列は、符号化対象チャネルのフレーム信号とマスターチャネルのサンプル値列との時間位置の差を0とする
ことを特徴とする多チャネル信号復号化装置。
The multi-channel signal decoding apparatus according to claim 23, wherein
One sample value sequence among the sample value sequences of the plurality of master channels has a time position difference between the frame signal of the channel to be encoded and the sample value sequence of the master channel as 0. Decryption device.
請求項23または24記載の多チャネル信号復号化装置であって、
前記時間位置の差として−2以下もしくは2以上の値を含むことがある
ことを特徴とする多チャネル信号復号化装置。
The multi-channel signal decoding device according to claim 23 or 24,
The multi-channel signal decoding apparatus, wherein the time position difference may include a value of −2 or less or 2 or more.
請求項23記載の多チャネル信号復号化装置であって、
前記複数のマスターチャネルのサンプル値列は、前記時間位置の差が異なる3個または6個のサンプル値列であり、
前記3個または6個のマスターチャネルのサンプル値列のうち3個のサンプル値列は、前記時間位置の差をそれぞれ−1,0,1とする
ことを特徴とする多チャネル信号復号化装置。
The multi-channel signal decoding apparatus according to claim 23, wherein
The sample value sequences of the plurality of master channels are 3 or 6 sample value sequences having different time position differences,
3. The multi-channel signal decoding apparatus according to claim 3, wherein three sample value sequences of the three or six master channel sample value sequences have the time position differences of −1, 0, and 1, respectively.
請求項23記載の多チャネル信号復号化装置であって、
前記符号化情報に前記時間位置の差の情報が含まれない場合は、前記マスターチャネルの時間位置の異なるサンプル値列を3個とし、前記時間位置の差をそれぞれ−1,0,1とし、
前記時間位置の差がある場合は、前記マスターチャネルの時間位置の異なるサンプル値列を6個とし、前記時間位置の差をそれぞれτtmp−1,τtmp,τtmp+1,−1,0,1とする
ことを特徴とする多チャネル信号復号化装置。
The multi-channel signal decoding apparatus according to claim 23, wherein
If the encoded information does not include information on the difference in time position, the sample value sequence having different time positions of the master channel is set to three, and the difference in time position is set to −1, 0, 1, respectively.
If there is a difference in time position, six sample value sequences having different time positions of the master channel are set, and the difference in time position is set to τ tmp −1, τ tmp , τ tmp +1, −1, 0, 1. A multi-channel signal decoding apparatus, wherein
請求項1から16のいずれかに記載の方法の各ステップをコンピュータにより実行するプログラム。   The program which performs each step of the method in any one of Claim 1 to 16 with a computer. 請求項28記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium on which the program according to claim 28 is recorded.
JP2005199163A 2005-07-07 2005-07-07 Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium Active JP4348322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005199163A JP4348322B2 (en) 2005-07-07 2005-07-07 Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005199163A JP4348322B2 (en) 2005-07-07 2005-07-07 Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007019862A true JP2007019862A (en) 2007-01-25
JP4348322B2 JP4348322B2 (en) 2009-10-21

Family

ID=37756619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005199163A Active JP4348322B2 (en) 2005-07-07 2005-07-07 Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4348322B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017109865A1 (en) * 2015-12-22 2017-06-29 三菱電機株式会社 Data compression apparatus, data decompression apparatus, data compression program, data decompression program, data compression method, and data decompression method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4714075B2 (en) * 2006-05-11 2011-06-29 日本電信電話株式会社 Multi-channel signal encoding method, apparatus using the method, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017109865A1 (en) * 2015-12-22 2017-06-29 三菱電機株式会社 Data compression apparatus, data decompression apparatus, data compression program, data decompression program, data compression method, and data decompression method
JPWO2017109865A1 (en) * 2015-12-22 2018-02-01 三菱電機株式会社 Data compression apparatus, data expansion apparatus, data compression program, data expansion program, data compression method, and data expansion method

Also Published As

Publication number Publication date
JP4348322B2 (en) 2009-10-21

Similar Documents

Publication Publication Date Title
JP5694279B2 (en) Encoder
RU2466469C2 (en) Audio decoder
CN101484935B (en) Methods and apparatuses for encoding and decoding object-based audio signals
JP4780375B2 (en) Device for embedding control code in acoustic signal, and control system for time-series driving device using acoustic signal
KR101277041B1 (en) Multi-channel acoustic signal processing device and method
JP4976304B2 (en) Acoustic signal processing apparatus, acoustic signal processing method, and program
KR20110020846A (en) A parametric stereo upmix apparatus, a parametric stereo decoder, a parametric stereo downmix apparatus, a parametric stereo encoder
JP2010515099A5 (en)
WO2005081229A1 (en) Audio encoder and audio decoder
JP4887279B2 (en) Scalable encoding apparatus and scalable encoding method
JPWO2009050896A1 (en) Stream synthesizing apparatus, decoding apparatus, and method
JP2010078915A (en) Audio decoding method, apparatus, and program
JPWO2008132850A1 (en) Stereo speech coding apparatus, stereo speech decoding apparatus, and methods thereof
CN112823534B (en) Signal processing device and method, and program
JP2006011091A (en) Voice encoding device, voice decoding device and methods therefor
JPH09152896A (en) Sound path prediction coefficient encoding/decoding circuit, sound path prediction coefficient encoding circuit, sound path prediction coefficient decoding circuit, sound encoding device and sound decoding device
JP2024023484A (en) Sound signal downmixing method, sound signal downmixing device and program
JP2017111230A5 (en)
JPH11242499A (en) Voice encoding and decoding method and component separating method for voice signal
JP4348322B2 (en) Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium
JP4714075B2 (en) Multi-channel signal encoding method, apparatus using the method, program, and recording medium
JP2007187749A (en) New device for supporting head-related transfer function in multi-channel coding
JPH10240299A (en) Voice encoding and decoding device
JP2010139671A (en) Audio decoding apparatus, method, and program
RU2383941C2 (en) Method and device for encoding and decoding audio signals

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090421

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090616

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4348322

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350