A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://patents.google.com/patent/JP5308376B2/en below:

JP5308376B2 - Sound signal pseudo localization system, method, sound signal pseudo localization decoding apparatus and program

[第一実施形態]
第一実施形態の音信号擬似定位装置は、拡張擬似定位付与部1、LR変換部2及びMS変換部3を含む。
[First embodiment]
The sound signal pseudo-localization device according to the first embodiment includes an extended pseudo-localization providing unit 1, an LR conversion unit 2, and an MS conversion unit 3.

第一入力信号Si 1(t)及び第二入力信号Si 2(t)がMS変換部3に入力される。Lチャネルの音声信号が第一入力信号Si 1(t)とされ、Rチャネルの音声信号が第二入力信号Si 2(t)とされる。tはサンプル番号である。 The first input signal S i 1 (t) and the second input signal S i 2 (t) are input to the MS conversion unit 3. The L channel audio signal is the first input signal S i 1 (t), and the R channel audio signal is the second input signal S i 2 (t). t is a sample number.

MS変換部3は、第一入力信号Si 1(t)及び第二入力信号Si 2(t)を下式(1),(2)に従いM信号SM(t)及びS信号SS(t)に変換する(ステップS1、図14)。すなわち、第一入力信号Si 1(t)と第二入力信号Si 2(t)とを加算してM信号SM(t)とし、第一入力信号Si 1(t)から第二入力信号Si 2(t)を減算してS信号SS(t)とする。変換されたM信号SM(t)及びS信号SS(t)は、拡張擬似定位付与部1に送られる。
SM(t)=Si 1(t)+Si 2(t) …(1)
SS(t)=Si 1(t)−Si 2(t) …(2)
The MS conversion unit 3 converts the first input signal S i 1 (t) and the second input signal S i 2 (t) into the M signal S M (t) and the S signal S S according to the following expressions (1) and (2). Conversion into (t) (step S1, FIG. 14). That is, the first input signal S i 1 (t) and the second input signal S i 2 (t) are added to obtain the M signal S M (t), and the second input signal S i 1 (t) is changed to the second input signal S i 1 (t). The input signal S i 2 (t) is subtracted to obtain an S signal S S (t). The converted M signal S M (t) and S signal S S (t) are sent to the extended pseudo-localization providing unit 1.
S M (t) = S i 1 (t) + S i 2 (t) (1)
S S (t) = S i 1 (t) −S i 2 (t) (2)

拡張擬似定位付与部1は、下式(3),(4)に従い復号M信号So M(t)と復号S信号So S(t)を出力する(ステップS2)。復号M信号So M(t)及び復号S信号So S(t)は、LR変換部2に送られる。Nは地点数であり定位を与えることができる方向の総数である。Nは2以上の整数である。nは定位を与えようとする地点情報であり、この例では定位を与える方向の番号である。nは0以上N−1以下の整数である。
So M(t)=SM(t) …(3)
So S(t)=(N−2n−1)*SM(t)/N+(1/N)*SS(t) …(4)
The extended pseudo-localization providing unit 1 outputs the decoded M signal S o M (t) and the decoded S signal S o S (t) according to the following expressions (3) and (4) (step S2). The decoded M signal S o M (t) and the decoded S signal S o S (t) are sent to the LR converter 2. N is the number of points and the total number of directions in which localization can be given. N is an integer of 2 or more. n is point information to be given a localization, and in this example, is a direction number for giving a localization. n is an integer of 0 or more and N−1 or less.
S o M (t) = S M (t) (3)
S o S (t) = (N−2n−1) * S M (t) / N + (1 / N) * S S (t) (4)

なお、地点数Nは通信を開始する際のプロトコルで取得して音信号擬似定位システムを構成する各装置に記憶しておいてもよいし、パケットのヘッダ情報に組み込んでおいてもよいし、別途符号の一部に組み込んでおいてもよい。地点数Nを予め定めておいてもよい。   The number N of points may be acquired by a protocol when starting communication and stored in each device constituting the sound signal pseudo-localization system, or may be incorporated in the header information of the packet. You may incorporate in a part of code | symbol separately. The number N of points may be determined in advance.

定位を与える方向の番号は0からN−1の間で任意に決めることができるが、通信開始時のプロトコルで取得できる地点番号を用いてもよい。もちろん、地点番号が重複しないようにするために、nは既に定位を与えた地点の地点番号以外の地点番号の中から選択される。   The number of the direction in which the localization is given can be arbitrarily determined between 0 and N-1, but a point number that can be acquired by a protocol at the start of communication may be used. Of course, in order not to overlap the spot numbers, n is selected from spot numbers other than the spot numbers of the spots that have already been localized.

LR変換部2は、復号M信号So M(t)及び復号S信号So S(t)を用いて、下式(5),(6)に従い第一出力信号So 1(t)及び第二出力信号So 2(t)を生成し出力する(ステップS3)。すなわち、LR変換部2は、復号M信号So M(t)と復号S信号So S(t)とを加算して2で割って第一出力信号を生成し、復号M信号So M(t)から復号S信号So S(t)を減算して2で割って第二出力信号を生成する。
So 1(t)=(So M(t)+So S(t))/2 …(5)
So 2(t)=(So M(t)−So S(t))/2 …(6)
このように、地点情報nに応じた信号処理をM信号及びS信号に対して行うことにより、地点ごとに異なる音源位置を定めることが可能となる。
The LR converter 2 uses the decoded M signal S o M (t) and the decoded S signal S o S (t), and according to the following equations (5) and (6), the first output signal S o 1 (t) and A second output signal S o 2 (t) is generated and output (step S3). That is, the LR converter 2 adds the decoded M signal S o M (t) and the decoded S signal S o S (t) and divides by 2 to generate a first output signal, and the decoded M signal S o M The decoded S signal S o S (t) is subtracted from (t) and divided by 2 to generate a second output signal.
S o 1 (t) = (S o M (t) + S o S (t)) / 2 (5)
S o 2 (t) = (S o M (t) −S o S (t)) / 2 (6)
Thus, by performing signal processing according to the point information n on the M signal and the S signal, it is possible to determine a different sound source position for each point.

[第二実施形態]
第二実施形態の音信号擬似定位装置は、図2に例示するように、符号化装置100及び復号装置200を含む。符号化装置100は、MS変換部3、第一符号化部4及び第二符号化部5を含む。復号装置200は、拡張擬似定位付与部1、LR変換部2、第一復号部6及び第二復号部7を含む。
[Second Embodiment]
The sound signal pseudo-localization device according to the second embodiment includes an encoding device 100 and a decoding device 200 as illustrated in FIG. The encoding device 100 includes an MS conversion unit 3, a first encoding unit 4, and a second encoding unit 5. The decoding device 200 includes an extended pseudo-localization adding unit 1, an LR conversion unit 2, a first decoding unit 6, and a second decoding unit 7.

符号化装置100のMS変換部3は、第一実施形態と同様にして、第一入力信号と第二入力信号とを加算してM信号とし、第一入力信号から第二入力信号を減算してS信号とする(ステップS1、図15)。生成されたM信号は第一符号化部4に送られ、生成されたS信号は第二符号化部5に送られる。   As in the first embodiment, the MS conversion unit 3 of the encoding device 100 adds the first input signal and the second input signal to obtain an M signal, and subtracts the second input signal from the first input signal. S signal (step S1, FIG. 15). The generated M signal is sent to the first encoding unit 4, and the generated S signal is sent to the second encoding unit 5.

第一符号化部4は、M信号を符号化してM符号とする(ステップS4)。例えば、G.711.1、G.711に規定された手法により、符号化することができる。この発明において「符号化」すると言った場合には同様である。
第二符号化部5は、S信号を符号化してS符号とする(ステップS5)。
M符号及びS符号は復号装置200に送られる。
The first encoding unit 4 encodes the M signal into an M code (step S4). For example, G. 711.1, G.G. It can be encoded by the method defined in H.711. The same applies to the case of “encoding” in the present invention.
The second encoding unit 5 encodes the S signal into an S code (step S5).
The M code and S code are sent to the decoding apparatus 200.

復号装置200の第一復号部6は、第一符号化部4による符号化に対応する復号方法によりM符号を復号して、仮復号M信号を生成する。仮復号M信号は拡張擬似定位付与部1に送られる(ステップS6)。   The first decoding unit 6 of the decoding device 200 decodes the M code by a decoding method corresponding to the encoding by the first encoding unit 4 to generate a provisionally decoded M signal. The provisional decoded M signal is sent to the extended pseudo-localization providing unit 1 (step S6).

第二復号部7は、第二符号化部5による符号化に対応する復号方法によりS符号を復号して、仮復号S信号を生成する。仮復号S信号は拡張擬似定位付与部1に送られる(ステップS7)。   The second decoding unit 7 decodes the S code by a decoding method corresponding to the encoding by the second encoding unit 5 to generate a provisionally decoded S signal. The provisional decoding S signal is sent to the extended pseudo-localization providing unit 1 (step S7).

拡張擬似定位付与部1は、仮復号M信号をSM(t)、仮復号S信号をSS(t)として、第一実施形態の拡張擬似定位付与部1と同様に、上記式(3),(4)に従い復号M信号So M(t)と復号S信号So S(t)を出力する(ステップS2)。復号M信号So M(t)及び復号S信号So S(t)は、LR変換部2に送られる。 Extended pseudo localization imparting unit 1, the preliminary decoding M signal S M (t), a temporary decoded S signal as S S (t), similarly to the extended pseudo localization imparting unit 1 of the first embodiment, the equation (3 ) And (4), the decoded M signal S o M (t) and the decoded S signal S o S (t) are output (step S2). The decoded M signal S o M (t) and the decoded S signal S o S (t) are sent to the LR converter 2.

LR変換部2は、第一実施形態のLR変換部2と同様に、復号M信号So M(t)及び復号S信号So S(t)を用いて、上記式(5),(6)に従い第一出力信号So 1(t)及び第二出力信号So 2(t)を生成し出力する(ステップS3)。 Similarly to the LR converter 2 of the first embodiment, the LR converter 2 uses the decoded M signal S o M (t) and the decoded S signal S o S (t), and the above equations (5), (6 ), The first output signal S o 1 (t) and the second output signal S o 2 (t) are generated and output (step S3).

このように、M信号及びS信号を符号化する場合においても、地点情報nに応じた信号処理を復号したM信号及びS信号に対して行うことにより、地点ごとに異なる音源位置を定めることが可能となる。   As described above, even when the M signal and the S signal are encoded, different sound source positions can be determined for each point by performing signal processing corresponding to the point information n on the decoded M signal and S signal. It becomes possible.

[第三実施形態]
第三実施形態の音信号擬似定位システムは、符号化装置100及び復号装置200を含む。符号化装置100は、図3に例示するように、MS変換部3、第一信号符号化部41、第二信号符号化部51、第一ゲイン符号化部42、第二ゲイン符号化部52、第一符号多重化部43及び第二符号多重化部53を含む。復号装置200は、図4に例示するように、第一符号分離部91、第二符号分離部92、第一部分復号部61、第二部分復号部62、第一ゲイン復号部81、第二ゲイン復号部82、第一乗算部101、第二乗算部102、第三乗算部103、加算部111及びLR変換部2を含む。
[Third embodiment]
The sound signal pseudo localization system of the third embodiment includes an encoding device 100 and a decoding device 200. As illustrated in FIG. 3, the encoding device 100 includes an MS conversion unit 3, a first signal encoding unit 41, a second signal encoding unit 51, a first gain encoding unit 42, and a second gain encoding unit 52. The first code multiplexing unit 43 and the second code multiplexing unit 53 are included. As illustrated in FIG. 4, the decoding device 200 includes a first code separation unit 91, a second code separation unit 92, a first partial decoding unit 61, a second partial decoding unit 62, a first gain decoding unit 81, and a second gain. A decoding unit 82, a first multiplication unit 101, a second multiplication unit 102, a third multiplication unit 103, an addition unit 111 and an LR conversion unit 2 are included.

符号化装置100のMS変換部3は、第一実施形態と同様にして、第一入力信号と第二入力信号とを加算してM信号とし、第一入力信号から第二入力信号を減算してS信号とする(ステップS1、図16)。生成されたM信号は第一信号符号化部41及び第一ゲイン符号化部42に送られ、生成されたS信号は第二信号符号化部51及び第二ゲイン符号化部52に送られる。   As in the first embodiment, the MS conversion unit 3 of the encoding device 100 adds the first input signal and the second input signal to obtain an M signal, and subtracts the second input signal from the first input signal. S signal (step S1, FIG. 16). The generated M signal is sent to the first signal encoding unit 41 and the first gain encoding unit 42, and the generated S signal is sent to the second signal encoding unit 51 and the second gain encoding unit 52.

第一ゲイン符号化部42は、M信号SM(t)のゲインgを次式に従い算出し、算出されたゲインgを量子化してMゲイン符号Cgmとする(ステップS8)。ゲインgは、入力された信号の大きさを表わす代表値である。ゲインとして1フレームを構成するサンプルの平均値を用いている。次式に示した方法以外にもスカラ量子化を用いることもできる。
g=(1/K)*ΣK−1 t=0(SM(t))2 (ゲインの算出)
Cgm=(1/2)*[log2(g)]−const (ゲインの量子化)
The first gain encoding unit 42 calculates the gain g of the M signal S M (t) according to the following equation, and quantizes the calculated gain g to obtain an M gain code C gm (step S8). The gain g is a representative value representing the magnitude of the input signal. An average value of samples constituting one frame is used as the gain. In addition to the method shown in the following equation, scalar quantization can also be used.
g = (1 / K) * ΣK −1 t = 0 ( SM (t)) 2 (calculation of gain)
C gm = (1/2) * [log 2 (g)]-const (gain quantization)

Kは1フレームのサンプルの数であり、[・]は・の整数部分を出力する関数であり、constは音信号擬似定位装置に求められる性能や仕様に応じて適宜定められる任意の定数である。第一ゲイン符号化部42は、Mゲイン符号Cgmを、次式に従い逆量子化して復号MゲインA’mを求め、第一信号符号化部41に入力する。
A’m=2Cgm+const
K is the number of samples in one frame, [•] is a function that outputs the integer part of •, and const is an arbitrary constant that is appropriately determined according to the performance and specifications required of the sound signal pseudo-localization device. . The first gain encoding unit 42 inversely quantizes the M gain code C gm according to the following equation to obtain a decoded M gain A′m, and inputs the decoded M gain A′m to the first signal encoding unit 41.
A'm = 2 Cgm + const

第一信号符号化部41は、M信号SM(t)を復号MゲインA’mで正規化したのち、ベクトル量子化などを用いて符号化し、正規化M信号符号とする(ステップS9)。例えば、SM(t)/A’mとすることにより正規化を行う。 The first signal encoding unit 41 normalizes the M signal S M (t) with the decoded M gain A′m and then encodes it using vector quantization or the like to obtain a normalized M signal code (step S9). . For example, normalization is performed by setting S M (t) / A′m.

第一符号多重化部43は、Mゲイン符号Cgm及び正規化M信号符号を含む拡張M符号を生成する(ステップS10)。例えば、Mゲイン符号Cgm及び正規化M信号符号を所定の順序で並べて拡張M符号とする。ネットワークを通じて拡張M符号を伝送する必要がある場合は、ヘッダ情報などを付加してもよい。生成された拡張M符号は、復号装置200に送られる。 The first code multiplexing unit 43 generates an extended M code including the M gain code C gm and the normalized M signal code (step S10). For example, an M gain code C gm and a normalized M signal code are arranged in a predetermined order to form an extended M code. When it is necessary to transmit the extended M code through the network, header information or the like may be added. The generated extended M code is sent to decoding apparatus 200.

第二ゲイン符号化部52は、第一ゲイン符号化部42と同様に、S信号SS(t)のゲインgを(ゲインの算出)の式に従い算出し、算出されたゲインgを(ゲインの量子化)の式に従い量子化してSゲイン符号Cgsとする(ステップS11)。また、第二ゲイン符号化部52は、Sゲイン符号Cgsを、次式に従い逆量子化して復号SゲインA’sを求め、第二信号符号化部51に入力する。
A’=2Cgs+const
Similar to the first gain encoding unit 42, the second gain encoding unit 52 calculates the gain g of the S signal S S (t) according to the equation (calculation of gain), and calculates the calculated gain g (gain Quantization is performed to obtain an S gain code C gs (step S11). Further, the second gain encoding unit 52 dequantizes the S gain code C gs according to the following equation to obtain a decoded S gain A ′s, and inputs the decoded S gain A ′s to the second signal encoding unit 51.
A ′ = 2 Cgs + const

第二信号符号化部51は、第一信号符号化部41と同様に、S信号SS(t)を復号SゲインA’sで正規化したのち、ベクトル量子化などを用いて符号化し、正規化S信号符号とする(ステップS12)。 Similarly to the first signal encoding unit 41, the second signal encoding unit 51 normalizes the S signal S S (t) with the decoded S gain A ′s, and then encodes it using vector quantization or the like. The normalized S signal code is set (step S12).

第二符号多重化部53は、第一符号多重化部43と同様に、Sゲイン符号Cgs及び正規化S信号符号を含む拡張S符号を生成する(ステップS13)。 Similar to the first code multiplexing unit 43, the second code multiplexing unit 53 generates an extended S code including the S gain code C gs and the normalized S signal code (step S13).

復号装置200の第一符号分離部91(図4)は、拡張M符号からMゲイン符号Cgm及び正規化M信号符号を分離する(ステップS14)。Mゲイン符号は第一ゲイン復号部81に送られ、正規化M信号符号は第一部分復号部61に送られる。 The first code separation unit 91 (FIG. 4) of the decoding device 200 separates the M gain code C gm and the normalized M signal code from the extended M code (step S14). The M gain code is sent to the first gain decoding unit 81, and the normalized M signal code is sent to the first partial decoding unit 61.

第一部分復号部61は、分離された正規化M信号符号を例えば逆量子化することにより復号して復号正規化M信号S’M(t)とする(ステップS15)。復号正規化M信号S’M(t)は、第一乗算部101に送られる。 The first partial decoding unit 61 decodes the separated normalized M signal code by, for example, inverse quantization to obtain a decoded normalized M signal S ′ M (t) (step S15). The decoded normalized M signal S ′ M (t) is sent to the first multiplication unit 101.

第一ゲイン復号部81は、Mゲイン符号Cgmを例えば次式により逆量子化することにより復号して復号MゲインA’mを得る(ステップS16)。復号MゲインA’mは、第一乗算部101に送られる。
A’m=2Cgm+const
The first gain decoding unit 81 decodes the M gain code C gm by, for example, inverse quantization according to the following equation to obtain a decoded M gain A′m (step S16). The decoded M gain A′m is sent to the first multiplier 101.
A'm = 2 Cgm + const

第一乗算部101は、復号正規化M信号S’M(t)と復号MゲインA’mとを乗算して、復号M信号を生成する(ステップS17)。復号M信号は、LR変換部2及び第二乗算部102に送られる。 The first multiplication unit 101 multiplies the decoded normalized M signal S ′ M (t) and the decoded M gain A′m to generate a decoded M signal (step S17). The decoded M signal is sent to the LR converter 2 and the second multiplier 102.

第二符号分離部92は、拡張S符号からSゲイン符号Cgs及び正規化S信号符号を分離する(ステップS18)。Sゲイン符号は第二ゲイン復号部82に送られ、正規化S信号符号は第二部分復号部62に送られる。 The second code separation unit 92 separates the S gain code C gs and the normalized S signal code from the extended S code (step S18). The S gain code is sent to the second gain decoding unit 82, and the normalized S signal code is sent to the second partial decoding unit 62.

第二部分復号部62は、分離された正規化S信号符号を例えば逆量子化することにより復号して復号正規化S信号S’S(t)とする(ステップS19)。復号正規化S信号S’S(t)は、第三乗算部103に送られる。 The second partial decoding unit 62 decodes the separated normalized S signal code by inverse quantization, for example, to obtain a decoded normalized S signal S ′ S (t) (step S19). The decoded normalized S signal S ′ S (t) is sent to the third multiplication unit 103.

第二ゲイン復号部82は、Sゲイン符号Cgsを例えば次式により逆量子化することにより復号して復号SゲインA’sを得る(ステップS20)。復号SゲインA’sは、拡張擬似定位ゲイン演算部11に送られる。
A’s=2Cgs+const
The second gain decoding unit 82 decodes the S gain code C gs by, for example, inverse quantization using the following equation to obtain a decoded S gain A ′s (step S20). The decoded S gain A ′s is sent to the extended pseudo-localization gain calculator 11.
A's = 2 Cgs + const

拡張擬似定位ゲイン演算部11は、次式により定義される第一擬似SゲインA1 s及び第二擬似SゲインA2 sを計算する(ステップS21)。第一擬似SゲインA1 sは第二乗算部102に送られ、第二擬似SゲインA2 sは第三乗算部103に送られる。
A1 s=(N−2n−1)/N
A2 s=A’s/N
ここで、第一実施形態と同様に、地点数N≧2は定位を与えることができる方向の総数である、地点情報nは定位を与える方向の番号である。
The extended pseudo localization gain calculator 11 calculates the first pseudo S gain A 1 s and the second pseudo S gain A 2 s defined by the following equations (step S21). The first pseudo S gain A 1 s is sent to the second multiplication unit 102, and the second pseudo S gain A 2 s is sent to the third multiplication unit 103.
A 1 s = (N−2n−1) / N
A 2 s = A's / N
Here, as in the first embodiment, the number of points N ≧ 2 is the total number of directions in which localization can be given, and the point information n is the number of the direction in which localization is given.

第二乗算部102は、復号M信号と第一擬似Sゲインとを乗算して第一定位S信号とする(ステップS22)。第一定位S信号は加算部111に送られる。
第三乗算部103は、復号正規化S信号と第二擬似Sゲインとを乗算して第二定位S信号とする(ステップS23)。第二定位S信号は加算部111に送られる。
The second multiplication unit 102 multiplies the decoded M signal and the first pseudo S gain to obtain a first constant S signal (step S22). The first constant S signal is sent to the adding unit 111.
The third multiplication unit 103 multiplies the decoded normalized S signal by the second pseudo S gain to obtain a second localization S signal (step S23). The second localization S signal is sent to the adding unit 111.

加算部111は、第一定位S信号と第二定位S信号とを加算して復号S信号So S(t)とする(ステップS24’)。復号S信号は、LR変換部2に送られる。
LR変換部2は、第一実施形態のLR変換部2と同様に、復号M信号So M(t)及び復号S信号So S(t)を用いて、上記式(5),(6)に従い第一出力信号So 1(t)及び第二出力信号So 2(t)を生成し出力する(ステップS3)。
The adding unit 111 adds the first localization S signal and the second localization S signal to obtain a decoded S signal S o S (t) (step S24 ′). The decoded S signal is sent to the LR converter 2.
Similarly to the LR converter 2 of the first embodiment, the LR converter 2 uses the decoded M signal S o M (t) and the decoded S signal S o S (t), and the above equations (5), (6 ), The first output signal S o 1 (t) and the second output signal S o 2 (t) are generated and output (step S3).

このように、符号化装置がゲイン符号化を含む符号化方法を用いる場合においても、地点情報nに応じた信号処理を復号したM信号及びS信号に対して行うことにより、地点ごとに異なる音源位置を定めることが可能となる。
また、第三実施形態のように、ミキサ300でゲインのみを復号して、そのゲインを用いて擬似定位を与えることにより、ミキサの処理量が従来よりも小さくなる。ミキサ300で、音信号全体を復号しないためである。
As described above, even when the encoding apparatus uses an encoding method including gain encoding, a sound source that differs for each point is obtained by performing signal processing corresponding to the point information n on the decoded M signal and S signal. The position can be determined.
Further, as in the third embodiment, only the gain is decoded by the mixer 300, and the pseudo localization is given using the gain, so that the processing amount of the mixer becomes smaller than that of the conventional method. This is because the mixer 300 does not decode the entire sound signal.

[第四実施形態]
第四実施形態の音信号擬似定位システムは、図5に例示するように、符号化装置100、復号装置200及びミキサ300を含む。
[Fourth embodiment]
The sound signal pseudo-localization system of the fourth embodiment includes an encoding device 100, a decoding device 200, and a mixer 300, as illustrated in FIG.

符号化装置100は、第三実施形態の符号化装置100と同様に図3に例示するように、MS変換部3、第一信号符号化部41、第二信号符号化部51、第一ゲイン符号化部42、第二ゲイン符号化部52、第一符号多重化部43、第二符号多重化部53を含む。ミキサ300は、図6に例示するように、符号分離部9、ゲイン復号部8、ゲイン符号化部12、第一拡張擬似定位ゲイン演算部161及び符号多重化部13を例えば含む。復号装置200は、図7に例示するように、第一符号分離部91、第二符号分離部92、第一部分復号部61、第二部分復号部62、第一ゲイン復号部81、第二ゲイン復号部82、第一乗算部101、第二乗算部104、第三乗算部105、第二拡張擬似定位ゲイン演算部162、加算部112及びLR変換部2を含む。   Similar to the encoding device 100 of the third embodiment, the encoding device 100 includes an MS conversion unit 3, a first signal encoding unit 41, a second signal encoding unit 51, a first gain, as illustrated in FIG. An encoding unit 42, a second gain encoding unit 52, a first code multiplexing unit 43, and a second code multiplexing unit 53 are included. As illustrated in FIG. 6, the mixer 300 includes, for example, a code separation unit 9, a gain decoding unit 8, a gain encoding unit 12, a first extended pseudo-localization gain calculating unit 161, and a code multiplexing unit 13. As illustrated in FIG. 7, the decoding device 200 includes a first code separation unit 91, a second code separation unit 92, a first partial decoding unit 61, a second partial decoding unit 62, a first gain decoding unit 81, and a second gain. A decoding unit 82, a first multiplication unit 101, a second multiplication unit 104, a third multiplication unit 105, a second extended pseudo-localization gain calculation unit 162, an addition unit 112 and an LR conversion unit 2 are included.

符号化装置100は第三実施形態の符号化装置100と同様であり、図17に例示したステップS1からステップS13の処理を行う。符号化装置100により生成された拡張M符号は復号装置200に送られ、拡張S符号はミキサ300に送られる。拡張M符号はミキサ300を介して復号装置200に送られてもよい。   The encoding apparatus 100 is the same as the encoding apparatus 100 of the third embodiment, and performs the processing from step S1 to step S13 illustrated in FIG. The extended M code generated by the encoding apparatus 100 is sent to the decoding apparatus 200, and the extended S code is sent to the mixer 300. The extended M code may be sent to the decoding device 200 via the mixer 300.

ミキサ300の符号分離部9(図6)は、拡張S符号からSゲイン符号及び正規化S信号符号を分離する(ステップS18)。正規化S信号符号は符号多重化部13に送られ、Sゲイン符号はゲイン復号部8に送られる。
ゲイン復号部8は、Sゲイン符号Cgsを例えば次式により逆量子化することにより復号して復号SゲインA’sを得る(ステップS20)。復号SゲインA’sは、第一拡張擬似定位ゲイン演算部161に送られる。
A’s=2Cgs+const
The code separation unit 9 (FIG. 6) of the mixer 300 separates the S gain code and the normalized S signal code from the extended S code (step S18). The normalized S signal code is sent to the code multiplexing unit 13, and the S gain code is sent to the gain decoding unit 8.
The gain decoding unit 8 decodes the S gain code C gs by, for example, inverse quantization using the following equation to obtain a decoded S gain A ′s (step S20). The decoded S gain A ′s is sent to the first extended pseudo-localization gain calculator 161.
A's = 2 Cgs + const

第一拡張擬似定位ゲイン演算部161は、次式により定義される擬似SゲインApseudo sを計算する(ステップS24)。地点数N≧2は、定位を与えることができる方向の総数である。擬似SゲインApseudo sは、ゲイン符号化部12に送られる。
Apseudo s=A’s/N
The first extended pseudo-localization gain calculator 161 calculates a pseudo S gain A pseudo s defined by the following equation (step S24). The number of points N ≧ 2 is the total number of directions in which localization can be given. The pseudo S gain A pseudo s is sent to the gain encoding unit 12.
A pseudo s = A's / N

ゲイン符号化部12は、擬似SゲインApseudo sを符号化してSゲイン符号とする(ステップS25)。Sゲイン符号は、符号多重化部13に送られる。
符号多重化部13は、正規化S信号符号及びゲイン符号化部12により生成されたSゲイン符号を含むS符号を生成する(ステップS26)。生成されたS符号は、復号装置200に送られる。
The gain encoding unit 12 encodes the pseudo S gain A pseudo s into an S gain code (step S25). The S gain code is sent to the code multiplexing unit 13.
The code multiplexing unit 13 generates an S code including the normalized S signal code and the S gain code generated by the gain encoding unit 12 (step S26). The generated S code is sent to the decoding device 200.

復号装置200の第一符号分離部91(図7)は、拡張M符号からMゲイン符号Cgm及び正規化M信号符号を分離する(ステップS14)。Mゲイン符号は第一ゲイン復号部81に送られ、正規化M信号符号は第一部分復号部61に送られる。 The first code separation unit 91 (FIG. 7) of the decoding device 200 separates the M gain code C gm and the normalized M signal code from the extended M code (step S14). The M gain code is sent to the first gain decoding unit 81, and the normalized M signal code is sent to the first partial decoding unit 61.

第一部分復号部61は、分離された正規化M信号符号を例えば逆量子化することにより復号して復号正規化M信号S’M(t)とする(ステップS15)。復号正規化M信号S’M(t)は、乗算部101に送られる。 The first partial decoding unit 61 decodes the separated normalized M signal code by, for example, inverse quantization to obtain a decoded normalized M signal S ′ M (t) (step S15). The decoded normalized M signal S ′ M (t) is sent to the multiplication unit 101.

第一ゲイン復号部81は、Mゲイン符号Cgmを例えば次式により逆量子化することにより復号して復号MゲインA’mを得る(ステップS16)。復号MゲインA’mは、第一乗算部101に送られる。
A’m=2Cgm+const
The first gain decoding unit 81 decodes the M gain code C gm by, for example, inverse quantization according to the following equation to obtain a decoded M gain A′m (step S16). The decoded M gain A′m is sent to the first multiplier 101.
A'm = 2 Cgm + const

第一乗算部101は、復号正規化M信号S’M(t)と復号MゲインA’mとを乗算して、復号M信号を生成する(ステップS17)。復号M信号は、LR変換部2及び第三乗算部105に送られる。 The first multiplication unit 101 multiplies the decoded normalized M signal S ′ M (t) and the decoded M gain A′m to generate a decoded M signal (step S17). The decoded M signal is sent to the LR converter 2 and the third multiplier 105.

第二符号分離部92は、S符号からSゲイン符号Cgs及び正規化S信号符号を分離する(ステップS18’)。Sゲイン符号は第二ゲイン復号部82に送られ、正規化S信号符号は第二部分復号部62に送られる。 The second code separation unit 92 separates the S gain code C gs and the normalized S signal code from the S code (step S18 ′). The S gain code is sent to the second gain decoding unit 82, and the normalized S signal code is sent to the second partial decoding unit 62.

第二部分復号部62は、分離された正規化S信号符号を例えば逆量子化することにより復号して復号正規化S信号S’S(t)とする(ステップS19)。復号正規化S信号S’S(t)は、第二乗算部104に送られる。 The second partial decoding unit 62 decodes the separated normalized S signal code by inverse quantization, for example, to obtain a decoded normalized S signal S ′ S (t) (step S19). The decoded normalized S signal S ′ S (t) is sent to the second multiplication unit 104.

第二ゲイン復号部82は、Sゲイン符号Cgsを例えば次式により逆量子化することにより復号して復号SゲインA’sを得る(ステップS20)。復号SゲインA’sは、第二乗算部104に送られる。
A’s=2Cgs+const
The second gain decoding unit 82 decodes the S gain code C gs by, for example, inverse quantization using the following equation to obtain a decoded S gain A ′s (step S20). The decoded S gain A ′s is sent to the second multiplier 104.
A's = 2 Cgs + const

第二乗算部104は、復号正規化S信号S’S(t)と復号SゲインA’sとを乗算して、第一復号S信号を生成する(ステップS27)。第一復号S信号は、加算部112に送られる。
第二拡張擬似定位ゲイン演算部162は、次式により定義される擬似Mゲインgm2を計算する(ステップS28)。擬似Mゲインgm2は、第三乗算部105に送られる。
gm2=(N−2*n−1)/N
The second multiplication unit 104 multiplies the decoded normalized S signal S ′ S (t) and the decoded S gain A ′s to generate a first decoded S signal (step S27). The first decoded S signal is sent to the adding unit 112.
The second extended pseudo localization gain calculation unit 162 calculates a pseudo M gain gm2 defined by the following equation (step S28). The pseudo M gain gm2 is sent to the third multiplication unit 105.
gm2 = (N−2 * n−1) / N

第三乗算部105は、復号M信号と擬似Mゲインgm2とを乗算して第二復号M信号とする(ステップS29)。第二復号M信号は、加算部112に送られる。
加算部112は、第一復号S信号と第二復号M信号とを加算して復号S信号とする(ステップS30)。復号S信号は、LR変換部2に送られる。
The third multiplication unit 105 multiplies the decoded M signal and the pseudo M gain gm2 to obtain a second decoded M signal (step S29). The second decoded M signal is sent to the adding unit 112.
The adder 112 adds the first decoded S signal and the second decoded M signal to obtain a decoded S signal (step S30). The decoded S signal is sent to the LR converter 2.

LR変換部2は、第一実施形態のLR変換部2と同様に、復号M信号So M(t)及び復号S信号So S(t)を用いて、上記式(5),(6)に従い第一出力信号So 1(t)及び第二出力信号So 2(t)を生成し出力する(ステップS3)。
このように、符号化装置がゲイン符号化を含む符号化方法を用いる場合においても、地点情報nに応じた信号処理を復号したM信号及びS信号に対して行うことにより、地点ごとに異なる音源位置を定めることが可能となる。
Similarly to the LR converter 2 of the first embodiment, the LR converter 2 uses the decoded M signal S o M (t) and the decoded S signal S o S (t), and the above equations (5), (6 ), The first output signal S o 1 (t) and the second output signal S o 2 (t) are generated and output (step S3).
As described above, even when the encoding apparatus uses an encoding method including gain encoding, a sound source that differs for each point is obtained by performing signal processing corresponding to the point information n on the decoded M signal and S signal. The position can be determined.

[第五実施形態]
第五実施形態の音信号擬似定位システムは、3つ地点で通信を行うものである。以下、第一地点及び第二地点の符号化装置から送信された音信号符号に対してミキシングを行い、第三地点の符号化装置に送信する動作を説明する。
[Fifth embodiment]
The sound signal pseudo localization system of the fifth embodiment performs communication at three points. Hereinafter, an operation of performing mixing on the sound signal code transmitted from the encoding device at the first point and the second point and transmitting it to the encoding device at the third point will be described.

まず、重要度や発話状態に応じて、3つの符号化装置の何れかが主地点として選択されるとする。例えば、パワーが最も大きい音信号を符号化する符号化装置が主地点として選択される。また、特許第4033840号公報に記載されたVAD(Voice Activity Detector)等の手法により、主地点となる符号化装置が選択されてもよい。この例では、第一地点の符号化装置が主地点として選択されたとする。   First, it is assumed that one of the three encoding devices is selected as the main point according to the importance level or the speech state. For example, an encoding device that encodes a sound signal having the largest power is selected as the main point. In addition, the encoding device serving as the main point may be selected by a technique such as VAD (Voice Activity Detector) described in Japanese Patent No. 4033840. In this example, it is assumed that the encoding device at the first point is selected as the main point.

ミキサ300の拡張信号混合部171(図8)に主地点として選択された符号化装置が送信した拡張M符号及び拡張S符号が入力される。拡張信号混合部172には主地点として選択されなかった符号化装置が送信した拡張M符号及び拡張S符号が入力される。   The extended signal mixing unit 171 (FIG. 8) of the mixer 300 receives the extended M code and the extended S code transmitted from the encoding device selected as the main point. The extended signal mixing unit 172 receives the extended M code and the extended S code transmitted from the encoding device that has not been selected as the main point.

拡張M符号は、符号化装置に入力された第一入力信号と第二入力信号とを加算したM信号の大きさを表す代表値であるMゲインを符号化したMゲイン符号と、上記M信号を上記Mゲインで正規化した正規化M信号を符号化した正規化M信号符号と、復号化される音信号の品質を向上させるための付加情報を符号化した品質拡張M符号とを含む符号である。拡張S符号は、符号化装置に入力された第一入力信号から第二入力信号を減算したS信号の大きさを表す代表値であるSゲインを符号化したSゲイン符号と、S信号をSゲインで正規化した正規化S信号を符号化した正規化S信号符号と、復号化される音信号の品質を向上させるための付加情報を符号化した品質拡張S符号とを含む符号である。   The extended M code includes an M gain code obtained by encoding an M gain, which is a representative value representing the magnitude of the M signal obtained by adding the first input signal and the second input signal input to the encoding device, and the M signal. A code including a normalized M signal code obtained by encoding a normalized M signal that has been normalized by the M gain and a quality extended M code obtained by encoding additional information for improving the quality of a decoded sound signal It is. The extended S code includes an S gain code obtained by encoding an S gain, which is a representative value representing the magnitude of the S signal obtained by subtracting the second input signal from the first input signal input to the encoding device, and the S signal as S It is a code including a normalized S signal code obtained by encoding a normalized S signal normalized by gain, and a quality extended S code obtained by encoding additional information for improving the quality of a decoded sound signal.

拡張M符号及び拡張S符号は、後述する図9に例示する構成を含む符号化装置100により例えば生成される。
第一符号分離部93は、拡張信号混合部171に入力された拡張M符号からMゲイン符号、正規化M信号符号及び品質拡張M符号を分離する(ステップA1、図18)。Mゲイン符号は第一ゲイン復号部81に送られ、分離された正規化M信号符号は、第一符号多重化部131に送られ、品質拡張M符号は第一品質拡張復号部141に送られる。
The extended M code and the extended S code are generated, for example, by the encoding apparatus 100 including the configuration illustrated in FIG. 9 described later.
The first code separation unit 93 separates the M gain code, the normalized M signal code, and the quality extension M code from the extended M code input to the extended signal mixing unit 171 (step A1, FIG. 18). The M gain code is sent to the first gain decoding unit 81, the separated normalized M signal code is sent to the first code multiplexing unit 131, and the quality extended M code is sent to the first quality extended decoding unit 141. .

第一品質拡張復号部141は、品質拡張M符号を復号して第一品質拡張M信号とする(ステップA2)。第一品質拡張M信号は、第一乗算部106及び第三加算部115に送られる。
第二符号分離部94は、拡張信号混合部171に入力された拡張S符号からSゲイン符号、正規化S信号符号及び品質拡張S符号を分離する(ステップA3)。Sゲイン符号は第二ゲイン復号部82に送られ、分離された正規化S信号符号は、第二符号多重化部132に送られ、品質拡張S符号は第二品質拡張復号部142に送られる。
The first quality extension decoding unit 141 decodes the quality extension M code to obtain a first quality extension M signal (step A2). The first quality extension M signal is sent to the first multiplication unit 106 and the third addition unit 115.
The second code separation unit 94 separates the S gain code, the normalized S signal code, and the quality extended S code from the extended S code input to the extended signal mixing unit 171 (step A3). The S gain code is sent to the second gain decoding unit 82, the separated normalized S signal code is sent to the second code multiplexing unit 132, and the quality extended S code is sent to the second quality extended decoding unit 142. .

第二品質拡張復号部142は、品質拡張S符号を復号して第一品質拡張S信号とする(ステップA4)。第一品質拡張S信号は、第二乗算部107に送られる。   The second quality extension decoding unit 142 decodes the quality extension S code to obtain a first quality extension S signal (step A4). The first quality extension S signal is sent to the second multiplication unit 107.

第一拡張擬似定位ゲイン演算部163は、第一擬似Mゲインを(2n1+1−N)/Nとし、第一擬似Sゲインを1/Nとする(ステップA5)。N≧2は地点数であり与えることができる方向の総数であり、地点情報n1は主地点として選択された符号化装置で収音された音信号に定位を与える方向の番号である。第一擬似Mゲインは第一乗算部106及び第五乗算部1010に送られる。第一擬似Sゲインは、第二乗算部107及び第六乗算部1011に送られる。 The first extended pseudo localization gain calculation unit 163 sets the first pseudo M gain to (2n 1 + 1−N) / N and the first pseudo S gain to 1 / N (step A5). N ≧ 2 is the number of points and the total number of directions that can be given, and the point information n 1 is the number of the direction that gives a localization to the sound signal collected by the encoding device selected as the main point. The first pseudo M gain is sent to the first multiplication unit 106 and the fifth multiplication unit 1010. The first pseudo S gain is sent to the second multiplication unit 107 and the sixth multiplication unit 1011.

第一乗算部106は、第一品質拡張M信号と第一擬似Mゲインとを乗算して第一擬似定位M信号とする(ステップA6)。第一擬似定位M信号は、第一加算部113に送られる。
第二乗算部107は、第一品質拡張S信号と第一擬似Sゲインとを乗算して第一擬似定位S信号とする(ステップA7)。第一擬似定位S信号は、第一加算部113に送られる。
第一加算部113は、第一擬似定位M信号と第一擬似定位S信号とを加算して第一定位変換S信号とする(ステップA8)。第一定位変換S信号は、第四加算部116に送られる。
The first multiplication unit 106 multiplies the first quality extension M signal and the first pseudo M gain to obtain a first pseudo localization M signal (step A6). The first pseudo localization M signal is sent to the first addition unit 113.
The second multiplication unit 107 multiplies the first quality extension S signal and the first pseudo S gain to obtain a first pseudo localization S signal (step A7). The first pseudo localization S signal is sent to the first addition unit 113.
The first adder 113 adds the first pseudo-localization M signal and the first pseudo-localization S signal to obtain a first localization conversion S signal (step A8). The first constant conversion S signal is sent to the fourth adder 116.

第三符号分離部95は、拡張信号混合部172に入力された拡張M符号から品質拡張M符号を分離する(ステップA9)。品質拡張M符号は第三品質拡張復号部143に送られる。
第三品質拡張復号部143は、品質拡張M符号を復号して第二品質拡張M信号とする(ステップA10)。第三品質拡張M信号は、第三乗算部108及び第二加算部115に送られる。
The third code separation unit 95 separates the quality extension M code from the extension M code input to the extension signal mixing unit 172 (step A9). The quality extension M code is sent to the third quality extension decoding unit 143.
The third quality extension decoding unit 143 decodes the quality extension M code to generate a second quality extension M signal (step A10). The third quality extension M signal is sent to the third multiplication unit 108 and the second addition unit 115.

第四符号分離部96は、拡張信号混合部172に入力された拡張S符号から品質拡張S符号を分離する(ステップA11)。品質拡張S符号は第四品質拡張復号部144に送られる。
第四品質拡張復号部144は、品質拡張S符号を復号して第二品質拡張S信号とする(ステップA12)。第二品質拡張S信号は、第四乗算部109に送られる。
The fourth code separation unit 96 separates the quality extended S code from the extended S code input to the extended signal mixing unit 172 (step A11). The quality extended S code is sent to the fourth quality extended decoding unit 144.
The fourth quality extension decoding unit 144 decodes the quality extension S code to obtain a second quality extension S signal (step A12). The second quality extended S signal is sent to the fourth multiplier 109.

第二拡張擬似定位ゲイン演算部164は、第二擬似Mゲインを(2n2+1−N)/Nとし、第二擬似Sゲインを1/Nとする(ステップA13)。N≧2は地点数であり与えることができる方向の総数であり、地点情報n2は主地点として選択されなかった符号化装置で収音された音信号に定位を与える方向の番号である。第二擬似Mゲインは第三乗算部108に送られる。第二擬似Sゲインは、第四乗算部109に送られる。 The second extended pseudo localization gain calculation unit 164 sets the second pseudo M gain to (2n 2 + 1−N) / N and sets the second pseudo S gain to 1 / N (step A13). N ≧ 2 is the number of points and the total number of directions that can be given, and the point information n 2 is the number of the direction in which the localization is given to the sound signal collected by the encoding device not selected as the main point. The second pseudo M gain is sent to the third multiplier 108. The second pseudo S gain is sent to the fourth multiplier 109.

第三乗算部108は、第二品質拡張M信号と第二擬似Mゲインとを乗算して第二擬似定位M信号とする(ステップA14)。第二擬似定位M信号は、第二加算部114に送られる。
第四乗算部109は、第二品質拡張S信号と第二擬似Sゲインとを乗算して第二擬似定位S信号とする(ステップA15)。第二擬似定位S信号は、第二加算部114に送られる。
The third multiplication unit 108 multiplies the second quality extension M signal and the second pseudo M gain to obtain a second pseudo localization M signal (step A14). The second pseudo localization M signal is sent to the second adder 114.
The fourth multiplication unit 109 multiplies the second quality extension S signal and the second pseudo S gain to obtain a second pseudo localization S signal (step A15). The second pseudo localization S signal is sent to the second adder 114.

第二加算部114は、第二擬似定位M信号と第二擬似定位S信号とを加算して第二定位変換S信号とする(ステップA16)。第二定位変換S信号は、第四加算部116に送られる。
第三加算部115は、第一品質拡張M信号と第二品質拡張M信号とを加算して定位混合M信号とする(ステップA17)。定位混合M信号は、第一品質拡張符号化部151に送られる。
The second adder 114 adds the second pseudo-localization M signal and the second pseudo-localization S signal to obtain a second localization transformation S signal (step A16). The second localization conversion S signal is sent to the fourth adder 116.
The third adding unit 115 adds the first quality extended M signal and the second quality extended M signal to obtain a localization mixed M signal (step A17). The localization mixed M signal is sent to the first quality extension encoding unit 151.

第一品質拡張符号化部151は、定位混合M信号を符号化して定位混合M符号とする(ステップA18)。定位混合M符号は、第一符号多重化部131に送られる。
第一ゲイン復号部81は、第一符号分離部93で分離されたMゲイン符号を復号して復号Mゲインとする(ステップA19)。復号Mゲインは、第五乗算部1010に送られる。
The first quality extension encoding unit 151 encodes the localization mixed M signal to obtain a localization mixed M code (step A18). The localization mixed M code is sent to the first code multiplexing unit 131.
The first gain decoding unit 81 decodes the M gain code separated by the first code separation unit 93 to obtain a decoded M gain (step A19). The decoded M gain is sent to the fifth multiplier 1010.

第五乗算部1010は、復号Mゲインと第一擬似Mゲインとを乗算して定位Mゲインとする(ステップA20)。定位Mゲインは、第一ゲイン符号化部121に送られる。   The fifth multiplication unit 1010 multiplies the decoded M gain and the first pseudo M gain to obtain a localization M gain (step A20). The localization M gain is sent to the first gain encoding unit 121.

第一ゲイン符号化部121は、定位Mゲインを符号化して定位Mゲイン符号とする(ステップA21)。定位Mゲイン符号は、第一符号多重化部131に送られる。
第一符号多重化部131は、定位混合M符号と定位Mゲイン符号と第一符号分離部93で分離された正規化M信号符号とを含む拡張M符号を生成する(ステップA22)。拡張M符号は、復号装置200に送られる。
The first gain encoding unit 121 encodes the localization M gain to obtain a localization M gain code (step A21). The localization M gain code is sent to the first code multiplexing unit 131.
The first code multiplexing unit 131 generates an extended M code including the localization mixed M code, the localization M gain code, and the normalized M signal code separated by the first code separation unit 93 (step A22). The extended M code is sent to the decoding device 200.

第四加算部116は、第一定位変換S信号と第二定位変換S信号とを加算して定位混合S信号とする(ステップA23)。定位混合S信号は、第二品質拡張符号化部153に送られる。
第二品質拡張符号化部153は、定位混合S信号を符号化して定位混合S符号とする(ステップA24)。定位混合S符号は、第二符号多重化部132に送られる。
第二ゲイン復号部82は、第二符号分離部94で分離されたSゲイン符号を復号して復号Sゲインとする(ステップA25)。復号Sゲインは、第六乗算部1011に送られる。
The fourth adder 116 adds the first localization transformation S signal and the second localization transformation S signal to obtain a localization mixed S signal (step A23). The localization mixed S signal is sent to the second quality extension encoding unit 153.
The second quality extension encoding unit 153 encodes the localization mixed S signal to obtain a localization mixed S code (step A24). The localization mixed S code is sent to the second code multiplexing unit 132.
The second gain decoding unit 82 decodes the S gain code separated by the second code separation unit 94 to obtain a decoded S gain (step A25). The decoded S gain is sent to the sixth multiplier 1011.

第六乗算部1011は、復号Sゲインと第一擬似Sゲインとを乗算して定位Sゲインとする(ステップA26)。定位Sゲインは、第二ゲイン符号化部122に送られる。
第二ゲイン符号化部122は、定位Sゲインを符号化して定位Sゲイン符号とする(ステップA27)。定位Sゲイン符号は、第二符号多重化部132に送られる。
第二符号多重化部132は、定位混合S符号と定位Sゲイン符号と第二符号分離部94で分離された正規化S信号符号とを含む拡張S符号を生成する(ステップA28)。拡張S符号は、復号装置200に送られる。
The sixth multiplier 1011 multiplies the decoded S gain and the first pseudo S gain to obtain a localization S gain (step A26). The localization S gain is sent to the second gain encoding unit 122.
The second gain encoding unit 122 encodes the localization S gain to obtain a localization S gain code (step A27). The localization S gain code is sent to the second code multiplexing unit 132.
The second code multiplexing unit 132 generates an extended S code including the localization mixed S code, the localization S gain code, and the normalized S signal code separated by the second code separation unit 94 (step A28). The extended S code is sent to the decoding device 200.

復号装置200には、ミキサ300が生成した拡張M符号及び拡張S符号が入力される。復号装置200は、図13に例示する構成を含み、拡張M符号及び拡張S信号から分離した定位混合M符号、正規化M信号符号、定位Mゲイン符号、定位混合S符号、正規化S信号及び定位Sゲイン符号を復号し、符号化装置に入力された第一入力信号及び第二入力信号を混合した音信号を生成する。   The extended M code and the extended S code generated by the mixer 300 are input to the decoding device 200. The decoding apparatus 200 includes the configuration illustrated in FIG. 13, and includes a localization mixed M code, a normalized M signal code, a localization M gain code, a localization mixed S code, a normalized S signal, and an extended M code and an extended S signal. The localization S gain code is decoded, and a sound signal obtained by mixing the first input signal and the second input signal input to the encoding device is generated.

以下、図9を参照して第五実施形態の符号化装置100の例について説明する。図9の符号化装置100は、MS変換部3、第一拡張符号化部44及び第二拡張符号化部45を例えば含む。   Hereinafter, an example of the encoding device 100 according to the fifth embodiment will be described with reference to FIG. 9 includes, for example, an MS conversion unit 3, a first extension encoding unit 44, and a second extension encoding unit 45.

MS変換部3は、第一実施形態と同様にして、第一入力信号と第二入力信号とを加算してM信号とし、第一入力信号から第二入力信号を減算してS信号とする(ステップC1)。生成されたM信号は第一拡張符号化部44に送られ、生成されたS信号は第二拡張符号化部45に送られる。   As in the first embodiment, the MS conversion unit 3 adds the first input signal and the second input signal to obtain an M signal, and subtracts the second input signal from the first input signal to obtain an S signal. (Step C1). The generated M signal is sent to the first extended encoding unit 44, and the generated S signal is sent to the second extended encoding unit 45.

第一拡張符号化部44は、入力されたM信号を用いて、拡張M符号を生成し出力する(ステップC2)。拡張M符号は、ミキサ300に送られる。
第二拡張符号化部45は、入力されたS信号を用いて、拡張S符号を生成し出力する(ステップC3)。拡張S符号は、ミキサ300に送られる。
第一拡張符号化部44及び第二拡張符号化部45として、例えば図10、図11、図12に記載された拡張符号化部46,47,48を用いることができる。
図10の拡張符号化部46は、帯域分割部461、信号符号化部462、ゲイン符号化部463、品質拡張符号化部464、符号多重化部465を例えば含む。
The first extended encoding unit 44 generates and outputs an extended M code using the input M signal (step C2). The extended M code is sent to the mixer 300.
The second extended encoding unit 45 generates and outputs an extended S code using the input S signal (step C3). The extended S code is sent to the mixer 300.
As the first extension encoding unit 44 and the second extension encoding unit 45, for example, the extension encoding units 46, 47, and 48 described in FIGS. 10, 11, and 12 can be used.
10 includes a band division unit 461, a signal encoding unit 462, a gain encoding unit 463, a quality extension encoding unit 464, and a code multiplexing unit 465, for example.

帯域分割部461は、入力された信号(M信号又はS信号)の帯域を2つに分けて、一方を第一帯域信号とし、他方を第二帯域信号とする。第一帯域信号は信号符号化部462及びゲイン符号化部463に送られ、第二帯域信号は品質拡張符号化部464に送られる。
例えば、図20に例示するように信号を低域信号(1)と高域信号(2)とに分割し、低域信号(1)を第一帯域信号とし、高域信号(2)を第二帯域信号とする。低域信号(1)を第二帯域信号とし、高域信号(2)を第一帯域信号としてもよい。低域信号(1)と高域信号(2)に割り当てるビット数は同じである必要はない。例えば、図21に例示するように、低域信号(1)に割り当てるビット数を高域信号(2)に割り当てるビット数よりも多くしてもよい。
The band dividing unit 461 divides the band of the input signal (M signal or S signal) into two, one being a first band signal and the other being a second band signal. The first band signal is sent to the signal coding unit 462 and the gain coding unit 463, and the second band signal is sent to the quality extension coding unit 464.
For example, as illustrated in FIG. 20, the signal is divided into a low-frequency signal (1) and a high-frequency signal (2), the low-frequency signal (1) is set as the first band signal, and the high-frequency signal (2) is set as the first frequency signal. A two-band signal is assumed. The low frequency signal (1) may be the second band signal and the high frequency signal (2) may be the first band signal. The number of bits allocated to the low frequency signal (1) and the high frequency signal (2) need not be the same. For example, as illustrated in FIG. 21, the number of bits allocated to the low frequency signal (1) may be larger than the number of bits allocated to the high frequency signal (2).

ゲイン符号化部463は、第一帯域信号の大きさを表わす代表値であるゲイン(Mゲイン又はSゲイン)を計算し符号化してゲイン符号(Mゲイン符号又はSゲイン符号)とする。ゲイン符号は符号多重化部465に送られる。例えば、第一帯域信号の1フレームのサンプル値の平均値をゲインとして計算する。また、ゲイン符号化部463は、生成したゲイン符号を復号して復号ゲイン(復号Mゲイン又は復号Sゲイン)とし、復号ゲインを信号符号化部462に送る。   The gain encoding unit 463 calculates and encodes a gain (M gain or S gain), which is a representative value representing the magnitude of the first band signal, to obtain a gain code (M gain code or S gain code). The gain code is sent to the code multiplexer 465. For example, the average value of the sample values of one frame of the first band signal is calculated as the gain. The gain encoding unit 463 decodes the generated gain code to obtain a decoding gain (decoded M gain or decoded S gain), and sends the decoded gain to the signal encoding unit 462.

信号符号化部462は、第一帯域信号を復号ゲインを用いて正規化し符号化して正規化信号符号(正規化M信号符号又は正規化S信号符号)とする。正規化信号符号は、符号多重化部465に送られる。
品質拡張符号化部464は、第二帯域信号を符号化して品質拡張符号(品質拡張M符号又は品質拡張S符号)とする。品質拡張符号は符号多重化部465に送られる。
符号多重化部465は、正規化信号符号、ゲイン符号及び品質拡張符号を含む拡張符号(拡張M符号又は拡張S符号)を生成する。
The signal encoding unit 462 normalizes and encodes the first band signal using the decoding gain to obtain a normalized signal code (normalized M signal code or normalized S signal code). The normalized signal code is sent to the code multiplexing unit 465.
The quality extension encoding unit 464 encodes the second band signal to obtain a quality extension code (quality extension M code or quality extension S code). The quality extension code is sent to the code multiplexing unit 465.
The code multiplexing unit 465 generates an extended code (an extended M code or an extended S code) including a normalized signal code, a gain code, and a quality extension code.

図11の拡張符号化部47は、信号符号化部471、ゲイン符号化部472、部分復号部473、ゲイン復号部474、乗算部475、減算部476、品質拡張符号化部477及び符号多重化部478を例えば含む。   11 includes a signal encoding unit 471, a gain encoding unit 472, a partial decoding unit 473, a gain decoding unit 474, a multiplication unit 475, a subtraction unit 476, a quality extension encoding unit 477, and code multiplexing. Part 478 is included, for example.

ゲイン符号化部472は、入力された信号(M信号又はS信号)のゲイン(Mゲイン又はSゲイン)を計算し符号化してゲイン符号(Mゲイン符号又はSゲイン符号)とする。ゲイン符号は、符号多重化部478及びゲイン復号部474に送られる。また、ゲイン符号化部472は、生成したゲイン符号を復号して復号ゲイン(復号Mゲイン)とし、復号ゲインを乗算部475に送る。   The gain encoding unit 472 calculates and encodes the gain (M gain or S gain) of the input signal (M signal or S signal) to obtain a gain code (M gain code or S gain code). The gain code is sent to the code multiplexing unit 478 and the gain decoding unit 474. The gain encoding unit 472 decodes the generated gain code to obtain a decoding gain (decoded M gain), and sends the decoding gain to the multiplying unit 475.

信号符号化部471は、入力された信号を復号ゲインを用いて正規化し符号化して、正規化信号符号(正規化M信号符号又は正規化S信号符号)とする。正規化信号符号は、符号多重化部478及び部分復号部473に送られる。   The signal encoding unit 471 normalizes and encodes the input signal using the decoding gain to obtain a normalized signal code (normalized M signal code or normalized S signal code). The normalized signal code is sent to the code multiplexing unit 478 and the partial decoding unit 473.

部分復号部473は、正規化信号符号を復号して正規化復号信号(正規化復号M信号又は正規化復号S信号)とする。正規化復号信号は、乗算部475に送られる。   The partial decoding unit 473 decodes the normalized signal code into a normalized decoded signal (normalized decoded M signal or normalized decoded S signal). The normalized decoded signal is sent to multiplication section 475.

乗算部475は、正規化復号信号と復号ゲインとを乗算して、第一帯域復号信号とする。第一帯域復号信号は、減算部476に送られる。減算部476は、入力された信号から第一帯域復号信号を減算して残差信号(残差M信号又は残差S信号)とする。残差信号は、品質拡張符号化部477に送られる。    Multiplier 475 multiplies the normalized decoded signal and the decoding gain to obtain a first band decoded signal. The first band decoded signal is sent to the subtracting unit 476. The subtracting unit 476 subtracts the first band decoded signal from the input signal to obtain a residual signal (residual M signal or residual S signal). The residual signal is sent to the quality extension encoding unit 477.

品質拡張符号化部477は、残差信号を符号化して品質拡張符号(品質拡張M符号又は品質拡張S符号)とする。品質拡張符号は、符号多重化部478に送られる。
符号多重化部478は、正規化信号符号、ゲイン符号及び品質拡張符号を含む拡張符号(拡張M符号又は拡張S符号)を生成する。
The quality extension encoding unit 477 encodes the residual signal into a quality extension code (quality extension M code or quality extension S code). The quality extension code is sent to the code multiplexing unit 478.
The code multiplexing unit 478 generates an extension code (an extension M code or an extension S code) including a normalized signal code, a gain code, and a quality extension code.

図12の拡張符号化部48は、品質拡張符号化部481、品質拡張復号部482、減算部483、ゲイン符号化部484、部分符号化部485及び符号多重化部486を含む。   12 includes a quality extension encoding unit 481, a quality extension decoding unit 482, a subtraction unit 483, a gain encoding unit 484, a partial encoding unit 485, and a code multiplexing unit 486.

品質拡張符号化部481は、入力された信号(M信号又はS信号)を符号化して品質拡張符号(品質拡張M符号又は品質拡張S符号)とする。品質拡張符号は、符号多重化部486及び品質拡張復号部482に送られる。
品質拡張復号部482は、品質拡張符号を復号して第二帯域復号信号とする。第二帯域復号信号は、減算部483に送られる。
The quality extension encoding unit 481 encodes the input signal (M signal or S signal) to obtain a quality extension code (quality extension M code or quality extension S code). The quality extension code is sent to the code multiplexing unit 486 and the quality extension decoding unit 482.
Quality extension decoding section 482 decodes the quality extension code to obtain a second band decoded signal. The second band decoded signal is sent to subtracting section 483.

減算部は、入力された信号から第二帯域復号信号を減算して残差信号とする。残差信号は、ゲイン符号化部484及び部分符号化部485に送られる。   The subtracting unit subtracts the second band decoded signal from the input signal to obtain a residual signal. The residual signal is sent to the gain encoding unit 484 and the partial encoding unit 485.

ゲイン符号化部484は、残差信号の大きさを表すゲインを計算し符号化してゲイン符号(ゲインM符号又はゲインS符号)とする。ゲイン符号は、符号多重化部486に送られる。例えば、残差信号の1フレームのサンプル値の平均値をゲインとする。また、ゲイン符号化部484は、生成したゲイン符号を復号化して復号ゲイン(復号Mゲイン又は復号Sゲイン)として、部分符号化部485に送る。   The gain encoding unit 484 calculates a gain representing the magnitude of the residual signal and encodes it to obtain a gain code (gain M code or gain S code). The gain code is sent to the code multiplexing unit 486. For example, the average value of the sample values of one frame of the residual signal is set as the gain. Also, the gain encoding unit 484 decodes the generated gain code and sends it to the partial encoding unit 485 as a decoding gain (decoded M gain or decoded S gain).

部分符号化部485は、復号ゲインを用いて、残差信号を正規化して符号化して正規化信号符号(正規化M信号符号又は正規化S信号符号)とする。正規化信号符号は、符号多重化部486に送られる。
符号多重化部486は、品質拡張符号、ゲイン符号及び正規化信号符号を含む拡張符号(拡張M符号又は拡張S符号)を生成する。
The partial encoding unit 485 normalizes and encodes the residual signal using the decoding gain to obtain a normalized signal code (normalized M signal code or normalized S signal code). The normalized signal code is sent to the code multiplexing unit 486.
The code multiplexing unit 486 generates an extension code (extended M code or extended S code) including a quality extension code, a gain code, and a normalized signal code.

第五実施形態の音信号擬似定位システムの復号装置200の例について図13を参照して説明する。第一符合分離部641は、ミキサが生成した拡張M符号から、正規化M信号符号、定位Mゲイン符号及び定位混合M符号を分離する(ステップD1)。正規化M信号符号は第一信号復号部642に送られ、定位Mゲイン符号は第一ゲイン復号部643に送られ、定位混合M符号は第一品質拡張復号部644に送られる。   An example of the decoding device 200 of the sound signal pseudo-localization system according to the fifth embodiment will be described with reference to FIG. The first code separation unit 641 separates the normalized M signal code, the localization M gain code, and the localization mixed M code from the extended M code generated by the mixer (step D1). The normalized M signal code is sent to the first signal decoding unit 642, the localization M gain code is sent to the first gain decoding unit 643, and the localization mixed M code is sent to the first quality extension decoding unit 644.

第一信号復号部642は、正規化M信号符号を復号して正規化復号M信号とする(ステップD2)。正規化復号M信号は、第一乗算部645に送られる。
第一ゲイン復号部643は、定位Mゲイン符号を復号して復号Mゲインとする(ステップD3)。復号ゲインは、第一乗算部645に送られる。
第一乗算部645は、正規化復号M信号と復号Mゲインとを乗算して第一復号M信号とする(ステップD4)。第一復号M信号は、第一加算部646及び第三乗算部6413に送られる。
第一品質拡張復号部644は、定位混合M符号を復号して第二復号M信号とする(ステップD5)。第二復号M信号は、第一加算部646に送られる。
The first signal decoding unit 642 decodes the normalized M signal code to obtain a normalized decoded M signal (step D2). The normalized decoded M signal is sent to the first multiplier 645.
The first gain decoding unit 643 decodes the localization M gain code to obtain a decoded M gain (step D3). The decoding gain is sent to the first multiplication unit 645.
The first multiplication unit 645 multiplies the normalized decoded M signal and the decoded M gain to obtain a first decoded M signal (step D4). The first decoded M signal is sent to the first adder 646 and the third multiplier 6413.
The first quality extension decoding unit 644 decodes the localization mixed M code to obtain a second decoded M signal (step D5). The second decoded M signal is sent to the first adder 646.

第一加算部646は、第一復号M信号と第二復号M信号とを合わせて復号M信号とする(ステップD6)。復号M信号は、LR変換部6415に送られる。符号化装置100の第一拡張符号化部44及び第二拡張符号化部45が図10の拡張符号化部46である場合には、第一復号M信号が第一帯域信号に対応し、第二復号M信号が第二帯域信号に対応する。この場合、第一加算部646は、第一復号M信号の帯域と第二復号M信号の帯域とを合成した信号を復号M信号とする。符号化装置100の第一拡張符号化部44及び第二拡張符号化部45が図11の拡張符号化部47又は図12の拡張符号化部48である場合には、第二復号M信号又は第一復号M信号が残差信号に対応する。この場合、第一加算部646は、第一復号M信号と第二復号M信号とを加算した信号を復号M信号とする。   The first adder 646 combines the first decoded M signal and the second decoded M signal into a decoded M signal (step D6). The decoded M signal is sent to the LR converter 6415. When the first extension encoding unit 44 and the second extension encoding unit 45 of the encoding device 100 are the extension encoding unit 46 of FIG. 10, the first decoded M signal corresponds to the first band signal, The two decoded M signals correspond to the second band signal. In this case, the first addition unit 646 sets a signal obtained by combining the band of the first decoded M signal and the band of the second decoded M signal as a decoded M signal. When the first extension encoding unit 44 and the second extension encoding unit 45 of the encoding device 100 are the extension encoding unit 47 of FIG. 11 or the extension encoding unit 48 of FIG. 12, the second decoded M signal or The first decoded M signal corresponds to the residual signal. In this case, the first addition unit 646 sets a signal obtained by adding the first decoded M signal and the second decoded M signal as a decoded M signal.

第二符号分離部647は、ミキサが生成した拡張S符号から、正規化S信号符号、定位Sゲイン符号及び定位混合S符号を分離する(ステップD7)。正規化S信号符号は第二信号復号部648に送られ、定位Sゲイン符号は第二ゲイン復号部649に送られ、定位混合S符号は第二品質拡張復号部6410に送られる。   The second code separation unit 647 separates the normalized S signal code, the localization S gain code, and the localization mixed S code from the extended S code generated by the mixer (step D7). The normalized S signal code is sent to the second signal decoding unit 648, the localization S gain code is sent to the second gain decoding unit 649, and the localization mixed S code is sent to the second quality enhancement decoding unit 6410.

第二信号復号部648は、正規化S信号符号を復号して正規化復号S信号とする(ステップD8)。正規化復号S信号は、第二乗算部6411に送られる。
第二ゲイン復号部649は、定位Sゲイン符号を復号して復号Sゲインとする(ステップD9)。復号Sゲインは、第二乗算部6411に送られる。
第二乗算部6411は、正規化復号S信号と復号Sゲインとを乗算して仮第一復号S信号とする(ステップD10)。仮第一復号S信号は、第二加算部6412に送られる。
第二品質拡張復号部6410は、定位混合S符号を復号して第二復号S信号とする(ステップD11)。第二復号S信号は、第三加算部6414に送られる。
The second signal decoding unit 648 decodes the normalized S signal code to obtain a normalized decoded S signal (step D8). The normalized decoded S signal is sent to the second multiplier 6411.
The second gain decoding unit 649 decodes the localization S gain code to obtain a decoded S gain (step D9). The decoded S gain is sent to the second multiplier 6411.
The second multiplier 6411 multiplies the normalized decoded S signal and the decoded S gain to obtain a provisional first decoded S signal (step D10). The temporary first decoded S signal is sent to the second adder 6412.
The second quality extension decoding unit 6410 decodes the localization mixed S code to obtain a second decoded S signal (step D11). The second decoded S signal is sent to the third adder 6414.

第二拡張擬似定位ゲイン算出部6416は、擬似ゲイン(N−2n1−1)/Nを算出する(ステップD12)。擬似ゲインは、第三乗算部6413に送られる。地点情報n1は主地点として選択された符号化装置で収音された音信号に定位を与える方向の番号である。地点情報n1は、ミキサ300から復号装置200に送られる。例えば、第一符号多重化部131又は第二符号多重化部132により生成される拡張M符号又は拡張S符号に地点情報n1を含めてもよいし、拡張M符号又は拡張S符号を送信する際のヘッダに含めてもよい。 The second extended pseudo localization gain calculator 6416 calculates pseudo gain (N-2n 1 -1) / N (step D12). The pseudo gain is sent to the third multiplication unit 6413. The point information n 1 is a number in a direction in which the sound signal collected by the encoding device selected as the main point is localized. The point information n 1 is sent from the mixer 300 to the decoding device 200. For example, the point information n 1 may be included in the extended M code or the extended S code generated by the first code multiplexing unit 131 or the second code multiplexing unit 132, or the extended M code or the extended S code is transmitted. It may be included in the header.

第三乗算部6413は、第一復号M信号と擬似ゲインとを乗算して仮第二復号S信号とする(ステップD13)。仮第二復号S信号は、第二加算部6412に送られる。
第二加算部6412は、仮第一復号S信号と仮第二復号S信号とを加算して第一復号S信号とする(ステップD14)。第一復号S信号は、第三加算部6414に送られる。
第三加算部6414は、第一復号S信号と第二復号S信号とを合わせて復号S信号とする(ステップD15)。復号S信号は、LR変換部6415に送られる。
The third multiplication unit 6413 multiplies the first decoded M signal and the pseudo gain to obtain a provisional second decoded S signal (step D13). The provisional second decoded S signal is sent to the second adder 6412.
The second adder 6412 adds the provisional first decoded S signal and the provisional second decoded S signal to obtain a first decoded S signal (step D14). The first decoded S signal is sent to the third adder 6414.
The third adder 6414 combines the first decoded S signal and the second decoded S signal into a decoded S signal (step D15). The decoded S signal is sent to the LR converter 6415.

LR変換部2は、第一実施形態のLR変換部2と同様に、復号M信号So M(t)及び復号S信号So S(t)を用いて、上記式(5),(6)に従い第一出力信号So 1(t)及び第二出力信号So 2(t)を生成し出力する(ステップD16)。 Similarly to the LR converter 2 of the first embodiment, the LR converter 2 uses the decoded M signal S o M (t) and the decoded S signal S o S (t), and the above equations (5), (6 ), The first output signal S o 1 (t) and the second output signal S o 2 (t) are generated and output (step D16).

音信号擬似定位システムの各装置(第一実施形態においては音信号擬似定位システムそのもの、他の実施形態においては符号化装置100、復号装置200、ミキサ300)は、コンピュータによって実現することができる。この場合、この装置が有すべき各部の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、この装置における各部が、コンピュータ上で実現される。   Each device of the sound signal pseudo-localization system (the sound signal pseudo-localization system itself in the first embodiment, and the encoding device 100, the decoding device 200, and the mixer 300 in the other embodiments) can be realized by a computer. In this case, the processing contents of each unit that the apparatus should have are described by a program. And each part in this apparatus is implement | achieved on a computer by running this program with a computer.

この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、これらの装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。   The program describing the processing contents can be recorded on a computer-readable recording medium. In this embodiment, these devices are configured by executing a predetermined program on a computer. However, at least a part of these processing contents may be realized by hardware.

この発明は、上述の実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。   The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4