Source: https://patents.google.com/patent/EP1013140B1/en
Timestamp: 2018-07-15 22:06:37
Document Index: 797271977

Matched Legal Cases: ['Application No. 08', 'Application No. 08', 'application No. 08', 'Application No. 08', 'application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'Application No. 08', 'application No. 08', 'application No. 08', 'application No. 08', 'Application No. 08', 'application No. 08', 'application No. 08', 'application No. 08', 'application No. 08', 'application No. 08', 'application No. 08', 'application No. 08']

EP1013140B1 - 5-2-5 matrix decoder system - Google Patents
5-2-5 matrix decoder system Download PDF
EP1013140B1
EP1013140B1 EP19980945881 EP98945881A EP1013140B1 EP 1013140 B1 EP1013140 B1 EP 1013140B1 EP 19980945881 EP19980945881 EP 19980945881 EP 98945881 A EP98945881 A EP 98945881A EP 1013140 B1 EP1013140 B1 EP 1013140B1
EP19980945881
EP1013140A1 (en )
EP1013140A4 (en )
The present invention concerns an improved set of design criteria and their solution to create a decoding matrix having optimum psychoacoustic performance in reproducing encoded multichannel material as well as standard two channel material, that includes maintaining high separation between left and right components of stereo signals under all conditions, even when there is a net forward or rearward bias to the input signals, or when there is a strong sound component in a particular direction, while maintaining high separation between the various outputs for signals with a defined direction, and while maintaining non-directionally encoded components at a constant acoustic level regardless of the direction of directionally encoded components of the input audio signals, including frequency dependent circuitry that improves the balance between front and rear signals, provides smooth sound motion around a seven channel version of the system, and makes the sound of a five channel version closer to that of a seven channel version.
The present invention is part of a continuing effort to refine means for separating two channels into the multichannel signals from which they were derived. One of the goals of this decode process is to recreate the original signals as perceptually identical to the originals as possible. Another important goal of the decoder is to extract five or more separate channels from a two channel source that was not encoded from a five channel original. The resulting five channel presentation must be at least as musically tasteful and enjoyable as the original two channel presentation.
The present invention is concerned with improvements to the derivation of suitable variable matrix coefficients. To assist understanding of these improvements, this disclosure makes reference to Griesinger's U.S. Patent No. 4,862,502 (1989 ) which will be referred to as the '89 patent: U.S. Patent No. 5,136,650 (1992 ), which will be referred to as the '92 patent; the July 1996 Griesinger U.S. Patent Application No. 08/684,948 referenced as the July '96 application; and the November 1996 Griesinger U.S. Patent Application No. 08/742,460 , referred to as the November '96 application. Commercial versions of the decoder based upon this last application will be referred to as Version 1.11 (or V1.11). Some further improvements were disclosed in the Provisional Patent Application 60/058,169 filed September 1997 , which will be referred to as Version 2.01 (or V2.01). These versions V1.11 and V2.01, and the present invention, will be referred to collectively as "Logic 7" decoders.
Additional technical references cited are: [1] "Multichannel Matrix Surround Decoders for Two-Eared Listeners," David Griesinger. AES preprint # 4402, October, 1996, and [2] "Progress in 5-2-5 Matrix Systems," David Griesinger, AES preprint # 4625, September, 1997.
The means employed to realize the two goals of recreating the original signals encoded from five to two channels and of creating a perceptually satisfactory reproduction of two channel material in a five channel format have evolved as we continue to better understand the physics and the psychoacoustics involved. The previous patents and patent applications referred to above presented a design philosophy that produced useful decoder devices.
The present invention is concerned with the realization of an active matrix having certain properties that maximize its psychoacoustic performance. In another aspect it discloses frequency dependent modification of certain of the outputs from the active matrix. The present invention is defined in claim 1.
The invention is in part an active matrix decoder having matrix elements that vary depending on the directional component of the incoming signals. The matrix elements vary in such a way as to reduce the loudness of directionally encoded signals in outputs that are not involved in the intended direction, while enhancing the loudness of these signals in directions that are involved in reproducing the intended direction, while preserving at all times the left/right separation of other signals that may be present at the same time at the inputs. Moreover, matrix elements in accordance with the invention restore the left/right separation of decorrelated two channel material that has been directionally encoded by increasing or decreasing the blend between the two inputs - for example with a stereo width control. In addition matrix elements in accordance with the invention are designed to preserve as much as possible the energy balance between various components of the input signal, such that the balance between vocals and accompaniment is preserved in the decoder outputs. As a consequence matrix elements in accordance with the invention preserve both the loudness of non directionally encoded elements of the input sound and the left/right separation of these elements.
Additionally, decoders in accordance with preferred embodiments of the invention include frequency dependent circuits that improve the compatibility of the decoder outputs when standard two channel material is played, that convert the surround outputs from two for a five channel decoder to four for a seven channel decoder, and that modify the spectrum of the rear channels in a five channel decoder so that the sound direction appears to be more like the sound direction from a seven channel decoder.
FIG. 1 is a block schematic of a direction detection section and a two to five channel matrix section of a decoder according to the present invention, but not including aspects further shown in FIGs. 2 and 3;
FIG. 2 is a block schematic of a five-channel frequency- dependent active signal processor circuit which may be connected between the outputs of the matrix section of FIG. I and the decoder outputs;
FIG. 3 is a block schematic of a five-to-seven channel frequency-dependent active signal processor which may alternatively be connected between the outputs of the matrix section of FIG. I and the decoder outputs;
FIG. 4 is a block schematic of an active five-channel to two-channel encoder according to an example which is useful for understanding the invention;
FIG. 5 is a three-dimensional graphical representation of the prior art Left Front Left (LFL) matrix element from the '89 patent and Dolby Pro-Logic, scaled so the maximum value is one;
FIG. 6 is a three-dimensional graphical representation of the prior art Left Front Right (LFR) matrix element from the '89 patent and Dolby Pro-Logic, scaled by.71 so the minimum value is -0.5 and the maximum value is + 0.5;
FIG. 7 is a three-dimensional graphical representation of the square root of the sum of the squares of the prior art LFL and-LFR from the '89 patent, scaled so the maximum value is one;
FIG. 8 is a three -dimensional graphical representation of the square root of the sum of the LFL and LFR matrix elements from application No. 08/742,460, scaled so the max value is 1;
FIG. 9 is a three-dimensional graphical representation of the Left Front Left (LFL) matrix element in V1.11;
FIG. 10 is a three-dimensional graphical representation of the partially completed Left Front Left matrix element in the present invention:
FIG. 11 is a graph showing the behavior of LFL and LFR in the present invention along the rear boundary between left and full rear;
FIG. 12 is a three-dimensional graphical representation of the fully completed Left Front Left (LFL) matrix element in the present invention as viewed from the left rear;
FIG. 13 is a three-dimensional graphical representation of the fully completed Left Front Right (LFR) matrix element in the present invention:
FIG. 14 is a three-dimensional graphical representation of the root mean squared sum of LFL and LFR according to the present invention:
FIG. 15 is a three-dimensional graphical representation of the square root of the sum of the squares of LFL and LFR according to the present invention, including the correction to the rear level, viewed from the left rear;
FIG. 16 is a graph showing with the solid curve the center matrix elements that should be used in a prior art Dolby Pro-Logic decoder as a function of CS in dB, and with the dotted curve the actual value of the center matrix elements in the Dolby Pro-Logic decoder;
FIG. 17 is a graph showing with the solid curve the ideal value of the center matrix elements, and with the dotted curve the actual values of the center matrix elements in prior art Dolby Pro-Logic;
FIG. 18 is a three-dimensional graphical representation of the square root of the sum of the squares of LRL and LRR, using the prior art elements of V1.11;
FIG. 19 is a graphical representation of the numerical solution for GS(lr) and GR(lr) for constant power level along the cs=0 axis, and zero output along the boundary between left and center;
FIG. 20 is a three-dimensional graphical representation of the square root of the sum of the squares of LRL and LRR using the values for GR and GS according to the present invention;
FIG. 21 is a three-dimensional graphical representation of the prior art Center Left (CL) matrix element of the '89 patent four channel decoder (and the Dolby Pro-Logic decoder) which can also represent the Center Right (CR) matrix element with left and right interchanged:
FIG. 22 is a three-dimensional graphical representation of the Center Left (CL) matrix element in Logic 7 V1.11 decoders:
FIG. 23 is a graph showing with the solid curve the center Output channel attenuation needed for the new LFL and LFR, and with the dotted curve the center attenuation for a standard prior art Dolby Pro-Logic decoder;
FIG. 24 is a graph showing with the solid curve the ideal center attenuation for the "film" strategy, according to the present invention, with the dashed curve a value that works significantly better, and with the dotted curve the center attenuation for the standard Dolby decoder for comparison;
FIG. 25 shows the center attenuation used in the "music" strategy in the present invention;
FIG. 26 is a graph showing with the solid curve the value of GF needed for constant energy ratios with the "music" center attenuation GC of the present invention, with the dashed curve the previous LFR element sin(cs)*corr1, and with the dotted curve the value of sin(cs);
FIG. 27 is a three-dimensional graphical representation of the Left Front Right (LFR) matrix element in the new invention, including the correction for center level along the lr= 0 axis;
FIG. 28 is a three-dimensional graphical representation of the Center Left (CL) matrix element with the new center boost function; and
FIG. 29 is a graph which plots the output level from the left front output (dotted curve) and the center output (solid curve) as a strong signal pans from center to left.
The design presented here preserves much of the design philosophy of the previous decoders. but the actual design has changed in many ways. It is not possible within the bounds of a document of readable length to completely describe the evolution of this design. To keep the document coherent we will present here the most important elements of the design philosophy, show the mathematical solutions to the problems presented, and make claims on the solutions that are original with this filing. It may be useful to consult our previous filings on this subject, but it should not be essential.
Experience with the decoder as described in the July '96 and November '96 applications and the September '97 provisional patent application has led to additional improvements that have not yet been disclosed. This application will present the most essential features of the improved decoder of the present invention, and will make claims on the novel features that have been added since U. S. Patent Application No. 08/742,460 .
The decoder in this application will be described as consisting of two separate parts. The first part is a matrix that splits the two input channels into five output channels, which are usually identified as center, left front, right front, left rear and right rear. The second part consists of a series of delays and filters that modify the spectrum and the levels of the two rear outputs. One of the functions of the second part is to derive an additional pair of outputs, left side and right side, when a seven channel version of the decoder is desired. In application No. 08/742,460 the second part was not explicit - the two additional channels were derived from an additional pair of matrix elements in the original matrix.
In mathematical equations describing the decoder we will use the standard typographical conventions for most variables, simple variables being shown in italics, while vector quantities are in bold lower case type and matrixes are represented by bold upper case type. Matrix elements that are coefficients from a named output channel resulting from a named input channel will be shown in normal upper case type. Some simple variables such as lr and cs are described by two-letter names which do not represent products of two separate simple variables. Other variables l/r and c/s do in some sense represent the values of left-right and center-surround ratios, but in terms of control signal voltages derived from these ratios. These conventions have also been used in the previous U. S. Patents and Patent Applications cited in this document. Program segments in the Matlab language will also be distinguished by the use of a different type face and point size and by indenting these lines. Equations will be numbered, to distinguish them from Matlab assignment statements, and to provide a reference for specific features described herein.
FIG. 1, which is identical to FIG. 4 in U. S. Patent Application No. 08/742,460 , shows a block diagram of the first part of the decoder, a two channel to five channel matrix 90. The left half of FIG. 1 partitioned by a vertical dashed line shows a means for deriving the two steering voltages l/r and c/s. These voltages represent the degree to which the input signals have an inherent or encoded directional component in the left/right or front/back directions respectively. This part of the FIG. will not be explicitly discussed in this application as it has been fully described in the above patent application.
In FIG. 1 the directional detection means of decoder 90 comprising elements 92 through 138 -is followed by a 5 x 2 matrix to the right of the vertical dashed line. The elements of this matrix 140 through 158 determine the amount of each input channel that is linearly combined with the other input channel to form each output channel. These matrix elements are assumed to be real. (The case of complex matrix elements was described in U. S. Patent Application No. 08/742,460 and will not be discussed here.) The matrix elements are functions of the two steering voltages l/r and c/s. U. S. PatentApplication No. 08/742,460 presented mathematical formulae for these functions. Part of the novelty in this application lies in improvements to these formulae. We present these formulae graphically and give an explanation for why they take the shape they do.
As shown in FIG. 1, the steering voltages c/s and l/r are derived from the logarithm of the ratio of the left input amplitude at terminal 92 to the right input amplitude at terminal 94, and the logarithm of the ratio of the sum amplitude to the difference amplitude. In describing the matrix elements it is convenient to express l/r and c/s as angles that vary from +45 degrees to --45 degrees. In the decoders of V1.11 and V2.01 these voltages have the units of decibels. We can convert the steering parameters to angles, where lr = 90 - arctan 10 ∧ l / r / 20
cs = 90 - arctan 10 ∧ c / s / 20
The angles lr and cs determine the degree to which the input signals have a directional component. For example, when the inputs to the decoder are decorrelated, both lr and cs are zero. For a signal that comes from the center only, lr is zero, and cs has the value 45 degrees. For a signal that comes from the rear, lr is zero, and cs is -45 degrees. Similarly, a signal that comes from the left has an lr value of 45 degrees and a cs value of zero, and a signal from the right has an lr value of -45 degrees, and a cs value of zero. We will assume in our design that the encoder that creates the encoded signal has the properties that when we encode a left rear signal lr = 22.5 degrees, and cs = 22.5 degrees. Similarly, a signal applied to the right rear input to the encoder produces values of lr=22.5 degrees, and cs=22.5 degrees.
From the definitions of l/r and c/s and the derivation of lr and cs, it can be seen that the stun of the absolute value of lr and cs cannot be greater than 45 degrees. The allowed values of lr and cs form a surface bounded by the locus of abs(lr)-abs(cs)=45 degrees. Any input signal that produces values of lr and cs that lie along the boundary of this surface is fully localized - that is it consists of a single sound that has been encoded to come from a particular direction.
In this application we will make extensive use of graphs of the matrix elements as functions over this two dimensional surface. In general the derivation of the matrix elements will be different in the four quadrants of this surface. In other words the matrix elements are differently described depending on whether the steering is forward or rearward, and whether it is to the left or the right. Considerable work is devoted to insuring that the surface is continuous across the boundaries between quadrants. The occasional lack of such continuity is one of the problems with the decoder of V1.11 that this application will address.
The matrix elements shown in FIG. 1 are real and thus frequency independent. All signals in the inputs will be directed to the outputs depending on the derived angles lr and cs. (In the current art low frequencies and very high frequencies are attenuated in the derivation of lr and cs from the input signals by filters not shown in FIG. 1. However, the matrix itself is broadband.)
We have found in practice that there are several advantages to applying frequency dependent circuits to the signals after the matrix. One of these frequency dependent circuits - the phase shift network 170 at the right side output 180 in FIG. 1 - has been described in U. S. Patent Application No. 08/742,460 and not be further discussed here.
FIG. 2 shows a five channel version of the additional frequency dependent circuits. These circuits do not have fixed parameters. The frequency and level behavior is dependent on the steering values lr and cs. The circuits accomplish several purposes. First, in both a five channel and a seven channel decoder, the additional elements allow the apparent loudness of the rear channels to be adjusted when the steering is neutral (lr and cs 0) or toward the front (cs > 0). In U. S. Patent Application No. 08/742,460 this attenuation was performed as part of the matrix itself. and was frequency independent. We have found with theoretical studies and listening tests that it is highly desirable for the low frequencies to be reproduced from the sides of the listener. Thus in the decoder presented here only the high frequencies are attenuated by variable low pass filters 182, 184, 188, and 190.
This is accomplished by attenuating the frequencies above 500Hz in the rear channels by means of elements 188, 190, and above 4kHz by means of elements 182, 184, when the steering is nearly always neutral or forward, using a background control signal 186 to be defined later in this application. Occasional presence of sounds that are steered rearwards reduces the attenuation, a feature that automatically distinguishes surround encoded material from ordinary two channel material.
Further elements 192, 194, in the five channel version modify the spectrum of the sound when the steering is toward the rear (cs < 0) using the c/s signal 196 such that the loudspeakers seem to be located behind the listener, even if their actual position is to the side. The modified left surround and right surround signals appear at terminals 198 and 200, respectively. Additional details of this circuit will be given in a later section of this disclosure.
FIG. 3 shows the seven channel version of the frequency dependent elements. As before the first set of filters 182, 184, 188, 190, attenuate the upper frequencies of the side and rear outputs when the steering is neutral or forward, again controlled by the background control signal 186. This attenuation also results in a more forward sound image, and can be adjusted to the listener's taste. As the steering represented by the c/s signal 196 moves to the rear, additional circuits 202, 204, 206, 208, act to differentiate the side outputs from the rear outputs. As steering moves rearward the attenuation mentioned above in the side speakers is first removed by elements 204 and 206 to produce a side oriented sound. As steering moves further to the rear the attenuation of elements 204 and 206 is then reinstated and increased. The result is that the sound moves smoothly from the front loudspeakers to the side loudspeaker(s). and then to the rear loudspeakers, which have a delay of about 10 ms, produced by the delay elements 202, and 208. Since the low frequencies are not affected by these circuits, the low frequency loudness in the side speakers (which is responsible for the perception of spaciousness) is not affected by the motion of the sound. Again, a later section of this application will provide additional details of the circuitry in FIG. 3.
FIG. 4 shows a block diagram of an encoder according to an example, which is useful for understanding the invention. The encoder is designed to automatically mix five input channels into two output channels. The architecture is quite different from the encoder described in U. S. Patent Application No. 08/742,460 . The object of the new design is to preserve the musical balances of the five channel original, while providing phase/amplitude cues that allow the original five channels to be extracted by the decoder. The previous encoder had similar goals, but there have been improvements in the methods used to achieve these goals. The preservation of musical balances is highly important in the encoder. One of the primary purposes of the encoder is to automatically create a two channel mix of a five channel recording, that will play in an ordinary two channel system with the same artistic quality as the five channel original. The new encoder design includes active elements to ensure that musical balance is preserved.
Unlike the encoder of the November '97 application the new design allows input signals to be panned between any of the five inputs of the encoder. For example, a sound may be panned from the left front input to the right rear input. When the resulting two channel signal is decoded by the decoder described in this application the result will be quite close to the original sound. Decoding through an earlier surround decoder will also be similar to the original.
A detailed description of the encoder will follow in a later section.
The most basic goals of the current invention are identical to the goals of our previous decoders, particularly the one described in U. S. Patent Application No. 08/742,460 - "The invention is a surround sound decoder having variable matrix values so constructed as to reduce directionally encoded audio components in outputs which are not directly involved in reproducing them in the intended direction; enhance directionally encoded audio components in the outputs which are directly involved in reproducing them in the intended direction so as to maintain constant total power for such signals; while preserving high separation between the left and right channel components of non-directional signals regardless of the steering signals; and maintaining the loudness defined as the total audio power level of non-directional signals effectively constant whether or not directionally encoded signals are present and regardless of their intended direction if present."
Most of these goals are ostensibly shared by all matrix decoders. The novelty in this application lies in part with knowing how to implement the above rule more accurately, and in part with knowing when not to apply the above rule. However much of the methodology of U. S. Patent Application No. 08/742,460 is retained. One of the most important of the previous goals is the explicit maintenance of high separation between the left and right channels of the decoder under all conditions. All previous four channel decoders are unable to maintain separation in the rear, because they provide only a single rear channel. Five channel decoders from other manufacturers compromise separation in many ways. The decoder described in this application meets this goal in a similar way as that of V1.11- but it meets additional goals as well.
U. S. Patent Application No. 08/742,460 also describes many smaller improvements to the design, such as circuits to improve the accuracy of the steering signals, and a variable phase shift network to switch the phase of one of the rear channels during strong rear steering. These features of the decoder V1.11 are retained in the new design, but will not be covered in this document.
In FIG. 4 the front input signals L, C and R are applied to input terminals 50, 52 and 54 respectively. L and R go directly to the adders 278 and 282 respectively, while the C signal is first attenuated by a factor fcn in attenuator 372 before being applied to inputs of both adders 2 78 and 282. The low frequency effects signal LFE is passed through a gain of 2.0 in element 374 and then applied to both adders 278 and 282.
The surround input signals LS and RS are applied through two input terminals 62 and 64 respectively each to two separate paths: for the LS signal, the path through attenuator 378 has gain fs(l,ls) and the RS signal passes through a corresponding attenuator 380 with gain fs(r,rs). The outputs of these are passed into cross-coupling elements 384 and 386 having a gain factor of -crx, where crx is nominally 0.383. The cross-coupled signals from these elements are fed to summers 392 and 394 which also receive the attenuated LS and RS signals from 0.91 attenuators 388 and 392. The outputs of summers 392, 394, are applied to inputs of the adders 278, 282. This positions the elements respectively at 45 degrees left and right of center rear in the decoded space.
The other signal branch passes the LS and RS signals through attenuators 376 with gain fc(l,ls) and 382 with gain fc(r,rs) respectively, and then through a similar arrangement of cross-coupling elements 396, 398, 402, 404, 406, and 408, the summers 406 and 408 having outputs representing left rear and right rear inputs at 45 degrees left and right of center rear, as before. However, these signals now each pass through phase shifter elements 234 and 246 respectively, while the left and right signals from adders 278 and 282 pass through phase shifter elements 286 and 288 respectively. Each of these phase shifter elements is an all-pass filter, the phase response being ϕ(f) for elements 286 and 288, and ϕ(f)-90° for elements 234 and 246. Calculation of the component values required in these filters is well known in the art, and will not be discussed further here. The result is that the outputs of summers 406 and 408 are caused to lag those of adders 278 and 282 by 90 degrees at all frequencies after passage through the all-pass filter networks as shown in FIG. 4. The outputs of all-pass networks 234 and 286 are now combined in summer 276 to produce the A (or left) output signal at terminal 44, while the outputs of filters 246 and 288 are combined by summer 280 to produce the B (or right) output signal at terminal 46.
The gain functions fs and fc are designed to allow strong surround signals to be presented in phase with the other sounds while weak surround signals pass through the 90 degree phase-shifted path to retain constant power for decorrelated "music" signals. The value of crx can also change, and varies the angle from which the surround signals are heard.
6. Design improvements since the application No. 08/742,460
One of the most noticeable improvements in the present invention relative to that of U. S. Patent Application No. 08/742,460 is the change in the center matrix elements and left and right front matrix elements when a signal is steered in the center direction. We learned that there were two problems with the center channel as previously encoded and decoded. The most obvious problem is that in a five channel matrix system the use of a center channel is inherently in conflict with the goal of maintaining as much left/right separation as possible. If the matrix is to produce a sensible output from conventional two channel stereo material, when the two input channels have no left/right component the center channel must be driven with the sum of the left and right input channels. Thus both the left decoder Input and the right decoder input will be reproduced by the center speaker, and sounds that were originally only in the left (or right) channel will also be reproduced from the center. The result must be that the apparent positions of these sounds will be drawn to the middle of the room. The degree to which this occurs depends on the loudness of the center channel.
U. S. Patents Nos. 4,862,502 and 5,136,650 used matrix elements that had a minimum value of 3dB compared to the left and right channels. When the inputs to the decoder were decorrelated the loudness of the center channel was equal to the loudness of the left and right channels. As steering moved forward the center matrix elements increased another 3dB. The effect of this high loudness is to strongly reduce the width of the front image. Instruments that should have sounded at the left and the right of the sound image are always drawn toward the center of the sound image.
U. S. Patent Application No. 08/742,460 used center matrix elements that had a minimum value 4.5dB less than the earlier values. This minimum value was chosen on the basis of listening tests. This attenuation causes a pleasing spread to the front image when the input material is uncorrelated - as with orchestral music. The front image is not seriously narrowed. In U. S Patent Application No. 08/742,460 as the steering moved forward these matrix elements increased, ultimately reaching the values used in the Dolby matrix.
Experience with the V1.11 decoder showed that although the reduction in center channel loudness solved the spatial problem, the power balance in the input signals was not preserved through the matrix. Mathematical analysis revealed that not only was V1.11 in error, but the Dolby, decoder and our previous decoders were also in error. Paradoxically, although the center channel was too strong from the standpoint of reproducing the width of the front image, it was too weak to preserve power balance. The problem was particularly severe for the decoder of Mandel - the standard Dolby decoder. In the standard Dolby decoder the rear channels are stronger than in our decoder of patent No. 4,862,502 . As a result the center channel must be stronger to preserve power balance. The lack of power balance 'in the center channel has been a continual problem for the Dolby decoder. Dolby recommends that the sound mix engineer should always listen to the balance through the matrix, so the lack of power balance in the matrix can be compensated during the mixing process. Unfortunately modern films are mixed for five-channel release, and automatic encoding to two channels can lead to problems with the dialog level.
Additional analysis and listening tests showed that films and music require different solutions to the balance problem. For films we found that it was most useful to preserve the left and right front matrix elements from U. S. Patent Application No. 08/742,460 . These elements eliminate the center channel information from the left and right front channels as much as possible. This minimizes dialog leakage into the front left and right channels. In the new "film" design the power balance is corrected by changing the center matrix elements so the center channel loudness increases more rapidly than the standard decoder as the steering moves forward (as cs becomes greater than zero.) In practice it is not necessary that the final value of the center matrix elements be higher than those in the standard decoder, as this condition is reached when only the center channel is active. It is only necessary that the center level be stronger than the standard decoder when there are approximately equal levels in the center channel and the left and right channels.
With the "film" strategy the center channel loudness is increased to preserve the power balance in the input signals, while minimizing the center channel component in all the other outputs. This strategy seems to be ideal for films, where the major use of the center channel is for dialog, and dialog from positions other than the center is not expected. The major disadvantage of this strategy is that anytime there is significant center steering - such as occurs in many types of popular music - the front image is narrowed. However the advantages for film - minimum dialog leakage into the front channels and excellent power balance - outweigh this disadvantage.
For music we adopt another strategy. In this case we allow the center channel loudness to increase at the same rate as in U. S. Patent Application No. 08/742,460 , up to a middle value of the steering, where cs ≥ 22.5 degrees. To restore the musical balance, we alter the left and right front matrix elements such that the center component of the input signals is not entirely removed. The amount of the center channel component in the left and right front is adjusted so that the sound power from all the outputs of the decoder matches the sound power in the input signals - without excessive loudness in the center.
With this strategy all three front speakers reproduce center channel information present in the original encoded material. The most useful version of this strategy limits the steering action at the point that the center component of the input is 6dB stronger in the center output than in either of the two other front outputs. This is done by simply limiting the positive value of cs.
This new strategy - allowing the center channel component to come from all three front speakers, and limiting the steering action when the center is 6dB louder than the front left and right, turns out to be excellent for all types of music. Both encoded five-channel mixes and ordinary two-channel mixes decode with a stable center, and adequate separation between the center channel and the left and right. Note that unlike previous decoders the separation between center and left and right is deliberately not complete. A signal intended to come from the left is eliminated from the center channel, but not the other way around. For music the high lateral separation and stable front image that this strategy offers outweighs this lack of complete separation. Listening tests with this setting on films reveal that although there is some dialog coming from the left and right front speakers the stability of the resulting sound image is quite good. The result is pleasant and not distracting. For this listener hearing a film with the decoder set for music does not detract from the artistic quality of the film. Listening to a music recording, with the decoder set for film is more problematic.
Possibly the next most obvious of the improvements in this application is the increase in separation between the front channels and the rear channels when a signal is steered to the left front or the left rear directions. The decoder of V1.11 used the matrix elements of U. S. Patent No. 4,862,502 for the front channels under these conditions. These matrix elements do not fully eliminate a rear steered signal unless it was steered to the full rear position - half way between left rear and right rear. When steering was to left rear or right rear (not full rear) the left or right front output had an output 9dB less than the corresponding rear output. In the present invention the front matrix elements are modified to eliminate sound from the front when steering is anywhere between left rear and right rear.
The improvements to the rear matrix elements are not immediately obvious to a typical listener. These improvements correct various errors in the continuity of the matrix elements across the boundaries between quadrants. They also improve the power balance between steered signals and unsteered signals under various conditions. The mathematical description of the matrix elements that will be given later includes these improvements.
The math used to describe the matrix elements is not based on continuous functions of the variables cs and lr. In general there are conditionals, absolute values, and other non-linear modifications to the formulae. For this reason we will describe the matrix elements using a programming language. The Matlab language provides a simple method of checking the formulation graphically. Matlab is very similar to Fortran or C. The major difference is that variables in Matlab can be vectors - that is each variable can represent an array of numbers in sequence. For example we can define the variable x in the following way: x = 1 : 10 ;
This specification in Matlab creates a string of ten numbers with the values of one to ten. The variable x includes all ten values. It is described a vector, a 1 by 10 matrix. An individual number within each vector can be accessed or manipulated. For example, the expression x 4 = 4 ;
will set the fourth member of the vector x to the value 4. Variables can also represent a two dimensional matrix. Individual elements in the matrix can be assigned in a similar way: X 2 3 = 10 ;
will assign the value 10 to the second row and third column of the matrix X.
The detailed description of the matrix elements that follows is nearly identical to the description published in reference [2]. The text has been somewhat improved. The major differences are:
1. Reference [2] includes the "tv matrix" feature. This feature reduces the level of the rear outputs when the steering is forward or neutral. In this application this function is achieved through the frequency dependent circuits that follow the matrix. Therefore we have left out the "tv matrix" correction.
2. The section on the center matrix elements has been modified to include references to the "film" strategy, the "music" strategy, and a strategy that limits the action of the "music" setting. Reference [21 described only the "music" setting, without the limit.
In reference [1] we presented the design of a matrix decoder that can be described by the elements of a n x 2 matrix, where n is the number of output channels. Each output can be seen as a linear combination of the two inputs, where the coefficient of the linear combination are given by the elements in the matrix. In this paper the elements are identified by a simple combination of letters. Reference [1] described a five-channel and a seven-channel decoder. The conversion from five channels to seven channels is now done in the frequency dependent part of the decoder, so here we will describe a five-channel decoder only.
It is obvious from symmetry that we need to describe the behavior of only six elements - the center elements, the two left front elements, and the two left rear elements. The right elements can found from the left by simply switching the identity of left and right. These elements are:
The matrix element for the Left input channel to the Center output
The matrix element for the Right input channel to the Center output
The Left input channel to the Left Front output
The Right input channel to the Left Front output
The Left input channel to the Left Rear output
The Right input channel to the Left Rear output
These elements axe not constant. Their value varies as a two dimensional function of the apparent direction of the input sounds. Most phase/amplitude decoders determine the apparent direction of the input by comparing the ratio of the amplitudes of the input signals. For example, the degree of steering in the right/left direction is determined from the ratio of the left input channel amplitude to the right input channel amplitude. In a similar way, the degree of steering in the front/back direction is determined from the ratio of the amplitudes of the sum and the difference of the input channels. We will not discuss the method for determining these steering directions here, although Logic 7 decoders differ from standard decoders significantly in how this is done. We assume that the steering directions have been determined. Here we will represent these directions as angles - one angle for the left/right direction (lr), and one for the front/back (center/surround) direction (cs). The two steering directions are signed variables. When both lr and cs are zero the input signals are unsteered -that is, the two input channels are uncorrelated.
When the input consists of a single signal which has been directionally encoded the two steering directions have their maximum value. However under these conditions they are not independent. The advantage to representing the steering values as angles is that when there is only a single signal the absolute value of the two steering values must sum to 45 degrees. When the input includes some decorrelated material along with a strongly steered signal, the sum of the absolute values of the steering values must be less than 45 degrees. lr + cs ≤ 45
If we plot the values of the matrix elements over a two-dimensional plane formed by the steering values, the center of the plane will have the value (0, 0) and the legal values for the sum of the steering values will not exceed 45 . In practice, due to the behavior of the non-linear filters it is possible for the sum to exceed 45 - the application No. 08/742,460 claimed a circuit that limited the lessor of lr or cs so their sum did not exceed 45 degrees. This claim will not be further discussed here. We will assume the mathematics for the matrix elements is well behaved during overruns. When we graph the matrix elements we arbitrarily zero the values when the legal sum of the input variables is exceeded. This allows us to directly view the behavior of the element along the boundary trajectory - the trajectory followed by a strongly steered signal. The graphics were created by Matlab. In the Matlab language the unsteered position is (46, 46), because Matlab requires the angle variable to be 1 more than the actual angle value. Hopefully this will not be overly confusing.
Previous designs for matrix decoders tend to consider only the behavior of the matrix to a strongly steered signal - that is the behavior of the matrix elements around the boundary of our surface. This is a fundamental error in outlook. When you study real signals - either film or music - you find that the boundary of the surface is very seldom reached. For the most part signals wobble around the middle of the plane - slightly forward of the center. The behavior of the matrix under these conditions is of vital importance to the sound. When you compare our elements to previous elements you can see a striking increase in the complexity of the surface in the middle regions. It is this complexity which is responsible for the improvement in the sound.
Such complexity has a price. Our original 1987 design - see the 1989 patent-was simple to implement with analog components. The new elements are designed to be almost entirely described by one-dimensional lookup tables, which are trivial in a digital implementation. Designing an analog version with similar performance is possible, but not trivial.
In this application we contrast the several different versions of the matrix elements. The earliest are elements from our 1989 patent. These elements were used in our first surround processor, and are identical to the elements of a standard (Dolby) surround processor in the left, center, and right channels (but not identical in the surround channels.) In our design the surround channel is treated symmetrically to the center channel. In the standard (Dolby) decoder the surround channel is treated differently, and this issue will be discussed at length later in this application.
The elements presented here are not always correctly scaled. In general they are presented so that the unsteered value of the of the non-zero matrix elements are for any given channel is one. In practice the elements are usually scaled so the maximum value of each element is one or less. In any case, in a final product the scaling of the elements is additionally varied in the calibration procedure. The matrix elements presented here should be assumed to be scalable by appropriate constants.
10. The left front matrix elements in our'89 patent
Assume that cs and lr are the steering directions in degrees in the center/surround and left/right axis respectively.
In the '89 patent the equations for the front matrix elements are given as:
In the left front quadrant: LFL = 1 - 0.5 * G cs + 0.41 * G lr
LFR = - 0.5 * G cs
In the right front quadrant: LFL = 1 - 0.5 * G cs
In the left rear quadrant (remember es is negative): LFL = 1 - 0.5 * G cs + 0.41 * G lr
In the right rear quadrant: LFL = 1 - 0.5 * G cs
The function G(x) was determined experimentally in the 1989 patent, and is specified mathematically in the '91 patent. It varies from 0 to 1 as x varies from 0 to 45 degrees. When steering is in the left front quadrant (lr and cs are both positive) G(x) can be shown to be equal to 1-|r|/|l| where |r| and |l| are the right and left input amplitudes. G(x) can also be described in terms of the steering angles using various formulae. One of these is given in the '91 patent, and another will be given later in this document. See FIG. 5 and FIG. 6 for graphical representations of the LFL and LFR matrix elements plotted three-dimensionally against the lr and cs axes.
In reference [1] these elements were improved by adding the requirement that the loudness of unsteered material should be constant regardless of the direction of the steering. Mathematically this means that the root mean square sum of the LFL and LFR matrix elements should be a constant. It was pointed out in the paper that this goal should be altered in the direction of the steering - that is, when the steering is full left, the sum of the squares of these matrix elements should rise by 3dB. FIG. 7 shows the sum of the squares of these elements, demonstrating that the above matrix elements do not meet the requirement of constant loudness. In FIG 7, notice that the value is constant at .71 along the axis from unsteered to right. The unsteered to left rises 3dB to the value one, and the unsteered to center or to rear falls by 3dB to the value 0.5. This part of the graph is hidden by the peak at left. The rear direction level is identical to that at the center direction.
In the application No. 08/742,460 and Reference [1], we corrected the amplitude errors in FIG. 7 by replacing the function G(x) in the matrix equations, with sines and cosines: See FIG. 8 for the resulting graph of the sum of the squares of the corrected elements LFL and LFR, which are described by the equations (4a) - (4h) below.
Note the constant value of .71 in the entire right half of the plane, and the gentle rise to one toward the left vertex.
For the left front quadrant: LFL = cos cs + 0.41 * G lr
LFR = - sin cs
For the right front quadrant: LFL = cos cs
For the left rear quadrant: LFL = cos - cs + 0.41 * G lr
For the right rear quadrant: LFL = cos - cs
For the front left quadrant: LFL = cos cs - 0.41 * G lr * boost 1 cs
LFR = - sin cs * boost 1 cs
For the right front quadrant: LFL = cos cs * boost 1 cs
For the left rear quadrant: LFL = cos - cs + 0.41 * G lr / boost cs
LFR = sin cs / boost 1 cs
For the right rear quadrant: LFL = cos cs 1 ⁢ boost cs
LFR = sin cs / bost 1 cs
The function G(x) is the same as the one in the '89 patent. When expressed with angles as an input, it can be shown to be equal to: G x = 1 - tan 45 - x
The function boost 1 (cs) as used in March 1997 was a linear boost of 3dB total applied over the first 22.5 degrees of steering, decreasing back to 0dB in the next 22.5 degrees. Boost(cs) is given by corr(x) in the Matlab code below (comment lines are preceded by the percent symbol %).
% corr(x) goes up 3dB and stays up. corrl(x) goes up then down again
corr(x) = 10 ^ (3*(x-1)/(23*20)); % go up 3dB over this range
corr1(x) = corr(x),
corr(x) = corr(48-x);
See FIG. 9 for the plot of LFL resulting from equations (5a)-(5h). Note that the boost as the steering moves toward center is applied both along the lr = 0 axis, and along the left to center boundary. Note also the reduction in level as the steering moves to the rear.
The performance of the March 1997 circuit can be improved. The first problem is in the behavior of the steering along the boundaries between left and center, and between right and center. As a strong single signal pans from the left to the center, it can be seen in FIG. 9 that the value of the LFL matrix element increases to a maximum half-way between left and center. This increase in value is an unintended consequence of the deliberate increase in level for the left and right main outputs as a center signal is added to stereo music.
When a stereo signal is panned forward it is desirable that the left and right front outputs should rise in level to compensate for the removal by the matrix of the correlated component from these outputs. However the method used to increase level under these conditions should only occur when the lr component of the inputs is minimal - that is when there is no net left or right steering. The method chosen to implement this increase in March of 1997 was independent of the value of lr, and resulted in an increase in level when a strong signal panned across the boundary.
The boost is only needed along the lr = 0 axis. When lr is non zero the matrix element should not be boosted. This problem can be solved by using, an additive term to the matrix elements, instead of a multiply. We define a new steering index, the boundary limited cs value with the following Matlab code:
Assume both lr and cs > 0 - we are in the left front quadrant (assume cs and lr follow the Matlab conventions of varying from 1 to 46)
If cs < 22.5 and lr =0, (in Matlab convention cs < 24 and lr = 1) bcs is equal to cs. However as Ir increases bcs will decrease to zero. If cs > 22.5, as lr increases bcs also decreases.
Now to find the correction function needed, we find the difference between the boosted matrix elements and the non-boosted ones, along the lr=0 axis. We call this difference cos_tbl_plus and sin_tbl_plus. Using Matlab code,
a = 0:45; % define a vector in one degree steps. a has the values of 0 to 45 degrees
a1 = 2*pi*a/360: % convert to radians
sin_tb1 = sin(a1);
cos_tb1 = cos(a1);
cos_tb1_plus = cos(a1).*corr1(a+1);
cos_tb1_plus = cos_tb1_plus - cos_tb1; % this is the one we use
cos_tb1_minus = cos(a1)./corr(a+1);
sin_tb1_plus = sin(s1).*corr1(a+1);
sin_tb1_plus = sin_tb1_plus - sin_tb1; % this is the one we use
sin_tb1_minus = sin(a1)./corr(a+1);
The vectors sin_tb1_plus and cos_tb1_plus are the difference between a plain sine and cosine, and the boosted sine and cosine. We now define LFL = cos cs + 0.41 * G lr + cos_tbl_plus bcs
LFR = - sin cs - sin_tbl_plus bcs
LFL and LFR in the front right quadrant are similar, but without the +0.41*G term. These new definitions lead to the matrix element shown graphically in FIG. 10.
In FIG 10, notice that the new element has the correct amplitude along the left to center boundary, as well as along the center to right boundary.
The steering in the rear quadrant is not optimal either. When the steering is toward the rear the above matrix elements are given by: LFL = cos_tbl_minus - cs + 0.41 * G - cs
LFR = sin_tbl_minus - cs
These matrix elements are very nearly identical to the elements in the '89 patent. Consider the case when a strong signal pans from left to rear. The '89 elements were designed so that there is complete cancellation of the output from the front left output only when this signal is fully to the rear (cs = -45, lr = 0). However in a Logic 7 decoder it would be desirable that the output from the left front output should be zero when the encoded signal reaches the left rear direction (cs = -22.5 and lr = 22.5). The left front output should remain at zero as the signal pans further to full rear. The matrix elements used in March 1997 - the ones above - result in the output in the front left channel being about -9dB when a signal is panned to the left rear position. This level difference is sufficient for good performance of the matrix, but it is not as good as it could be.
This performance can be improved by altering the LFL and LFR matrix elements in the left rear quadrant. Notice that here we are concerned with how the matrix elements vary along the boundary between left and rear. The mathematical method given in reference [1] can be used to find the behavior of the elements along the boundary. Let us assume that the amplitude of the left front output should decrease with the function F(t) as t varies from 0 (left) to -22.5 degrees (left rear). The method gives the matrix elements: LFL = cos t * F t - / + sin t * sqrt ⁢ 1 - F ⁢ t ∧ ⁢ 2
LFR = sin t * F t + / - cos t * sqrt ⁢ 1 - F ⁢ t ∧ ⁢ 2
If we choose F(t) = cos(4*t) and choose the correct sign, these simplify to LFL = cos t * cos 4 * t + sin t * sin 4 * t
LFR = ( sin t * cos 4 * t - cos t * sin 4 * t
See FIG 11 for the plot of these coefficients LFL (solid curve) and LFR (dotted curve) against t. (The slight glitch in the middle is due to the absence of a point at 22.5 degrees, since all angles in Matlab are integers.)
These elements work well - the front left output is reduced smoothly to zero as t varies from 0 to 22.5 degrees. We want the output to remain at zero as the steering continues from 22.5 degrees to 45 degrees (full rear.) Along this part of the boundary, LFL = - sin t
LFR = cos t
Note that these matrix elements are a far cry from the matrix elements along the lr = 0 boundary, where in reference [1] the values were LFL = cos cs
LFR = sin cs
Note that these matrix elements are designed to behave properly with a strongly steered signal - where both cs and lr have maximum values. The previous matrix elements were successful for signals where lr is near zero - that is stereo signals that have been panned to the rear. We need a method of smoothly transforming the earlier matrix elements into the newer matrix elements as lr and cs approach the boundary. A linear interpolation could be used. In the processor used in Lexicon products, where multiplies are expensive, a better strategy is to define a new variable - the minimum of lr and cs, as defined by the Matlab segment below:
ax = 2*pi*(46-x) 360;
front_boundary_tb1(x) = (cos(ax)-sin(ax))/(cos(ax)+sln(ax));
front_boundary_tb1(x) = (cos(ax)-sin (ax)) /(cos (ax) +sin (ax));
We then define LFL and LFR in this quadrant as: LFL = cos cs / cos cs + sin cs + front_boundary_tbl bp + 0.41 * G lr
LFR = sin cs / cos cs + sin cs + front_boundary_tbl bp
Note the correction of cos(cs)+sin(cs). When we divide cos(cs) by this factor we get the function 1- 0.5*G(cs), which is the same as the Dolby matrix in this quadrant. When we divide sin(cs) by this factor, we get the earlier function +0.5*G(cs).
Similarly in the right rear quadrant: LFL = cos cs / cos cs + sin cs = 1 - 0.5 * G cs
LFR = sin cs / cos cs + sin cs = 0.5 * G cs
See FIGs. 12 and 13 for a graphical display of these values.
In FIG 12, which views the coefficient graph from left rear, note the large correction along the left-rear boundary. This causes the front left output to go to zero when steering goes from left to left rear. The output remains zero as the steering progresses to full rear. Along the lr = 0 axis and in the right rear quadrant the function is identical to the Dolby matrix.
In FIG 13, note the large peak in the left to rear boundary. This works in conjunction with the LFL matrix element to keep the front output at zero along this boundary as steering goes from left rear to full rear. Once again in the rear direction along the lr = 0 axis and in the rear right quadrant the element is identical to the Dolby matrix.
One of the major design goals of the design of the Logic 7 matrix is that the loudness in any given output of unsteered material presented to the inputs of the decoder should be constant, regardless of the direction of a steered signal which is present at the same time. As explained previously, this means that the sum of the squares of the matrix elements for each output should be one, regardless of the steering direction. As explained before, this requirement must be altered when there is strong steering in the direction of the output in question. That is, if we are looking at the left front output, the sum of the squares of the matrix elements must increase by 3dB when the steering goes full left. The above elements also alter the requirement somewhat when the steering moves forward and backward along the lr = 0 axis.
However we can still test the success of our design by plotting the square root of the sum of the squares of the matrix elements. See FIGs. 14 and FIG. 15 for these plots for the revised design.
In FIG. 14, note the 3dB peak in the left direction, and the somewhat lesser peak as a signal goes from unsteered to 22.5 degrees in the center direction. (For this plot we deleted the 1/(sin(cs)+cos(cs)) correction in the rear quadrant, so we could see how accurately the resulting sum came to unity.) This peak is a result of the deliberate boost of the left and right outputs during half-front steering. Note that in the other quadrants the rms sum is very close to one, as was the design intent. The value in the rear left quadrant is not quite equal to one, as the method used to produce the elements is an approximation, but the match is pretty good.
In FIG. 15, the unsteered (middle) to right axis has the value one, the center vertex has the value 0.71, the rear vertex has the value 0.5, and the left vertex has the value 1.41. Note the peak along the middle to center axis.
The rear matrix elements in the '89 patent (except that we have introduced a scaling by 0.71 here to show the effect of the standard calibration procedure) are given by:
For the front left quadrant LRL = 0.71 * 1 - G lr
LRR = 0.71 * - 1
For the rear left quadrant LRL = 0.71 * 1 - G lr + .41 * G - cs
LRR = - 0.71 * 1 + 0.41 * G - cs
The rear matrix elements in the Dolby Pro-Logic are (after similar calibration):
For the front left quadrant LRL = 1 - G lr
LRR = - 1
For the rear left LRL = 1 - G lr
Note that the Dolby elements and the '89 elements are calibrated to be equal in the rear left quadrant when cs = -45 degrees.
13. A brief digression on the surround level in Dolby Pro-Logic
The Dolby elements are similar to our '89 patent elements, but without the boost dependent on cs in the rear. This difference is in fact quite important, as after the standard calibration procedure the elements have quite different values for unsteered signals. In general our description of the matrix elements does not consider the calibration procedure for these decoders. We derive all the matrix elements with a relatively arbitrary scaling. In most cases the elements are presented as if they had a maximum value of 1.41. In fact, for technical reasons the matrix elements are all eventually scaled so they have a maximum value of less than one. In addition, when the decoder is finally put to use, the gain of each output to the loudspeaker is adjusted. To adjust them, a signal which has been encoded from the four major directions - left, center, right, and surround - with equal sound power is played, and the gain of each output is adjusted until the sound power is equal in the listening position. In practice this means that the actual level of the matrix elements is scaled so the four outputs of the decoder are equal under conditions of full steering. We have explicitly included this calibration in the equations for the rear elements above.
The 3dB difference in the elements in the forward steered or unsteered condition is not trivial. During unsteered conditions the elements from the '89 patent have the value 0.71, and the sum of the squares of the elements has the value of one. This is not true of the Dolby rear elements when calibrated. LRL has the unsteered value of one, and the sum of the squares is 2, or 3dB higher than the '89 outputs. Note that the calibration procedure results in a matrix that does not correspond to a "Dolby Surround" passive matrix when the matrix is unsteered. The Dolby Surround passive matrix specifies that the rear output should have the value of .71*(Ain - Bin), and the Pro-Logic matrix does not meet this specification. A result is that when the A and B inputs are decorrelated the rear output will be 3dB stronger than the others. If there are two speakers sharing the rear output each will be adjusted 3dB softer than a single rear speaker, which will make all five speakers have approximately equal sound power when the decoder inputs are uncorrelated. When the matrix elements from the '89 patent are used, the same calibration procedure results in 3dB less sound power from the rear when the decoder inputs are uncorrelated.
The issue of how loud the rear channels should be when the inputs are decorrelated ends up as a matter of taste. When a surround encoded recording is being played one would like to reproduce the balance the producer heard when the recording was mixed. Achieving this balance is a design goal for our decoder and encoder as a combination. However with standard stereo material the goal is to reproduce the power balance in the original recording, while generating a tasteful and unobtrusive surround. The problem with the Dolby matrix elements is that the power balance in a conventional two channel recording is not preserved through the matrix. The surround channels are too strong, and the center channel is too weak.
To see the importance of this issue, consider what happens when we have an input to the decoder that consists of three components, an uncorrelated left and right component, and a separate and uncorrelated center component. A in = L in + .71 * C in
B in = R in + .71 * C in
When Ain and Bin are played through a conventional stereo system, the sound power in the room will be proportional to Lin 2 + Rin 2+ Cin 2. If all three components have roughly equal amplitudes, the power ratio of the center component to the left plus right component will be 1:2.
We would like our decoder to reproduce sound power in the room with approximately the same power ratio as stereo, regardless of the power ratio of Cin to Lin and Rin. We can express this mathematically. Essentially the equal power ratio requirement will specify the functional form of the center matrix elements along the cs axis, if all the other matrix elements are taken as given. If we assume the Dolby matrix elements, calibrated such that the rear sound power is 3dB less than the other three outputs when the matrix is fully steered - i.e. 3dB less than the standard calibration, then the center matrix elements should have the shape shown in FIG. 16. We can do the same thing for the standard calibration, and the results in FIG. 17 emerge.
In FIG 16, assuming the power ratios in the decoder outputs should be identical to the power ratios in stereo, and with the rear Dolby matrix elements calibrated 3dB lower in level that is typically used, notice that while the actual values give reasonable results for an unsteered signal and a fully steered signal, they are about 1.5dB too low in the middle.
In FIG 17, assuming equal power ratios to stereo given the matrix elements and calibration actually used in Dolby Pro-Logic (dotted curve), notice that the actual values are more than 3dB too low for all values of cs.
These two figures show something mix engineers are often aware of - namely that a mix prepared for playback on a Dolby Pro-Logic system can need more center loudness than a mix prepared for playback in stereo. Conversely, a mix prepared for stereo will lose vocal clarity when played over a Pro-Logic decoder. Ironically, this is not true of a passive Dolby Surround decoder. We will address this issue again when we discuss the center matrix elements.
The major problem with both the '89 elements and the Dolby elements is that there is only a single rear output. The '91 patent disclosed a method for creating two independent side outputs, and the math in that patent was incorporated in the front left quadrant in reference [1] of 1996 and the application No. 08/742,460 . The goal of the elements in this quadrant was to eliminate the output of a signal steered from left to center, while maintaining some output from the left rear channel for unsteered material present at the same time. To achieve this goal we assumed that the LRL matrix element would have the following form:
For the left front quadrant LRL = 1 - GS lr - 0.5 * G cs
LRR = - 0.5 * G cs - G lr
As can be seen, these matrix elements are very similar to the '89 elements, but with the addition of a G(lr) term in LRR, and a GS term in LRL. G(lr) was included to add signals from the B input channel of the decoder to the left rear output, to provide some unsteered signal power as the steered signal was being removed. We then solved for the function GS(lr), the criterion, that there should be no signal output with a fully steered signal moving from left to center. The formula for GS(lr) turned out to be equal to G2(lr), although a more complicated representation of the formula is given in the '91 patent. The two representations can be shown to be identical.
In reference [1] these elements are corrected by being given a boost of (sin(cs)+cos(cs)) to make them closer to constant loudness for unsteered material. While completely successful in the right front quadrant, the correction is not very successful in the left front quadrant. See FIG. 18. (For the right front quadrant the matrix elements are identical to the LRL and LRR elements in the '89 patent.)
In FIG 18, notice that in the front left quadrant there is a 3dB dip along the line from the middle to the left vertex, and nearly a 3dB boost in the level along the boundary between left and center. The mountain range in the rear quadrant will be discussed later. For this drawing the "tv matrix" correction in V1.11 has been removed, to allow better comparison to the present invention in FIG. 20.
FIG. 18 shows several problems with the sound power. First consider the dip in the sum of the squares along the cs = 0 axis. This dip exists because of the functional shape of G(lr) in LRR is not optimal. The choice of G(lr) was arbitrary - in the earlier design this function already existed in the decoder, and its implementation in analog circuitry is easy.
Ideally we would like to have a function GR(lr) in this equation, and choose GS(lr) and GR(lr) in such a way as to keep the sum of the squares of LRL and LRR constant along the cs = 0 axis, and keep the output zero along the boundary between left and center. This can be done. We would also like to be sure the matrix elements are identical to the matrix elements in the right front quadrant along the lr = 0 axis. Thus we assume: LRL = cos cs - GS lr
LRR = - sin cs - GR lr
We want the sum of the squares to be one along the cs=O axis,, 1 - GS lr 2 + GR lr 2 = 1
and the output to be zero to a steered signal, or as t varies from zero to 45 degrees, LRL * cos t + LRR * sin t = 0
Equations (18) and (19) result in a messy quadratic equation for GR and GS, which is solved numerically and graphed in FIG. 19. Use of GS and GR as shown results in a large improvement in the power sum along the cs = 0 axis, as intended. However, the peak in the sum of the squares along the boundary between left and center remains.
In a practical design it is probably not very important to compensate for this error, but we decided to do so heuristically with the following strategy. We will divide both matrix elements by a factor that depends on a new combined variable based on lr and cs. Call the new variable xymin. (In practice we don't use the divide, but multiply by the inverse of the factor described below.) In Matlab notation,
xymin = 23.
We then find the correction to the matrix elements along the boundary using xymin.
In the front left quadrant LRL = cos cs - GS lr / 1 + .29 * sin 4 * xymin
LRR = - sin cs - GR lr / 1 + .29 * sin 4 * xymin
In the front right quadrant, LRL = cos cs
LRR = - sin cs
In reference [2] these elements are additionally multiplied by the "tv matrix" correction. FIG. 20 in this application shows the matrix elements without the "tv matrix" correction. In this application this correction is handled by the frequency dependent circuitry that follows the matrix and will be described later.
In FIG. 20, note that the sum of the squares is close to one and continuous, except for the deliberate rise in level in the rear.
The rear matrix elements given in the '91 patent were not appropriate to a five-channel decoder, and were modified heuristically in our CP-3 product. Reference [1] and U. S. Patent Application No. 08/742,460 presented a mathematical method to derive these elements along the boundary of the left rear quadrant. The method worked along the boundary, but resulted in discontinuities along the lr = 0 axis, and along the cs = 0 axis. In March of 1997 these discontinuities were repaired (mostly) by additional corrections to the matrix elements, which preserved their behavior along the steering boundaries.
For the elements described in this application these errors have been corrected by interpolation. The first interpolation fixes discontinuities along the cs = 0 boundary for LRL. The interpolation causes the value to match the value of GS(lr) when cs is zero, and allows the value to rise smoothly to the value given by the previous math as cs increases negatively toward the rear. The second interpolation causes LRR to interpolate along the cs = 0 axis to the value of GR(lr).
Consider first the Left Rear Left and Left Rear Right matrix elements when the steering is neutral or anywhere between full right and right rear. That is, lr can vary from 0 to -45 degrees, and cs can vary from 0 to -22.5 degrees.
The matrix elements given in the '91 patent achieve this goal. They are essentially the same as the rear matrix elements in the 4 channel decoder, with the addition of the sin(cs)+ cos(cs) correction for the unsteered loudness. When this is done the matrix elements are simple sines and cosines: LRL = cos - cs = sri - cs
LRR = sin - cs = sri - cs
Notice that we have defined a new function sric(x), which is equal to sin(x) over the range of 0 to 22.5 degrees, and sri(x), which is equal to cox(x). We will use these functions again in defining the Left Rear matrix elements during Left steering.
17. Left side/rear outputs during rear steering from Right Rear to Rear
Now consider the same matrix elements as cs becomes greater than -22.5 degrees. As we said in reference [1] and the two patent applications, LRL should rise to one or more over this range, and LRR should decrease to zero. Simple functions fulfill this (remember cs is negative and varies from -22.5 to -45 in these equations): LRL = cos 45 + cs - rboost - cs = sri - cs + rboost - cs
LRR = sin 45 + cs - sric - cs
Rboost(cs) is defined in reference [1] and application No. 08/742,460 . It is closely equivalent to the function 0.41*G(cs) in the earlier matrix elements, except that rboost(cs) is zero for 0 > cs > -22.5, and varies from zero to 0.41 as cs varies from -22.5 degrees to -45 degrees. Its exact functional shape is determined by the desire to keep the loudness of the rear output constant as sound is panned from left rear to full rear.
18. The Left Rear elements during steering from left to left rear
The behavior of the Left Rear Left and Left Rear Right elements is much more complex. The Left Rear Left element must quickly rise from zero to near maximum as lr decreases from 4.5 to 22.5, or to zero. The matrix elements given in reference [1] perform this, but as we showed earlier, there are problems with continuity at the cs = 0 boundary.
For the March 1997 release a solution was found which uses functions of one variable and several conditionals. In reference [1] the problem at the cs = 0 boundary arises because on the forward side of the boundary (cs ≥ 0) the LRL matrix element is given by GS(lr). On the rear side (cs < 0) the function given by reference [1] has the same end points, but is different when lr is not zero or 45 degrees.
The mathematical method in reference [1] provides the following equations for the Left Rear matrix elements over the range 22.55 < lr < 45: (When transcribing these equations from reference [1] remember that t = 45-lr). LRL = cos 45 - lr * sin 4 * 45 - lr - sin 45 - lr * cos 4 * 45 - lr = sra lr
LRR = - sin 45 - lr . * sin 4 * 45 - lr + cos 45 - lr . * cos 4 * 45 - lr = - srac lr
Note that we have defined two new functions, sra(lr) and srac(lr) over this range.
If cs ≥ 22.5, lr can still vary from 0 to 45. Reference [1] defines LRL and LRR (when lr has the range 0 < lr < 22.5) (see FIG. 6 in reference [1]) as: LRL = cos lr = srac lr
LRR = - sin lr = - srac lr
The two functions sra(x) and srac(x) - are now defined for 0 < lr < 45.
The March 1997 version uses an interpolation technique to correct LRR along the boundaries. Here there are two discontinuities. Along the cs = 0 boundary, LRR in the rear must match the LRR for the forward direction, which shows LRR = -G(lr) along the cs = 0 boundary.
There is also the possibility of a discontinuity along the lr = 0 axis. In March 1997 this discontinuity was corrected (somewhat) by adding a term to LRR, which is found by using a new variable, cs_bounded. The correction term becomes simply sric(cs_bounded). This term will insure continuity across the lr = 0 axis.
First define cs_bounded in the following Matlab notation:
20. LRL as implemented in Logic 7 as of August '97
In the present invention, LRL is computed with interpolation, just as for LRR. In Matlab notation:
LRL = ((sra(lr) ÷ (sra(lr-GS(lr))*(15-cs)/15) + sri(-cs));
LRL = (sra(lr) + sri(-cs));
As the steering goes from left rear to full rear the elements follow the ones given in reference [1], with the addition of the corrections for rear loudness. In Matlab notation,
LRL = (sra(lr)-sri(cs) + rboost(cs))
LRR = -srac(lr) - sric(cs_bounded)
The '89 patent and Dolby Pro-Logic both have the following matrix elements:
For front steering: CL = 1 - G lr + 0.41 * G cs
CR = 1 + 0.41 * G cs
For rear steering: CL = 1 - G lr
Since the matrix elements have symmetry about the left right axis, the values of CL and CR for right steering can be found by swapping CL and CR. See FIG. 21 for a graphical representation of this element.
In FIG 21, the middle of the graph, and the right and rear vertices have the value 1. The center vertex has the value 1.41. In practice this element is scaled so the maximum value is one.
In application No. 08/742,460 and reference [1] these elements are replaced by sines and cosines.
For front steering: CL = cos 45 - lr * sin 2 * 45 - lr - sin 45 - lr * cos 2 * 45 - lr + 0.41 * G cs
CR = sin 45 - lr * sin 2 * 45 - lr + cos 45 - lr * cos 2 * 45 - lr + 0.41 * G cs
These equations were never implemented. The March 1997 product used the elements in the'89 patent, but with a different scaling, and a different boost function than G(cs). We found that it was important to reduce the unsteered level of the center output, and a value 4.5dB less than the Pro-Logic level was chosen. The boost function (0.41*G(cs)) was changed to increase the value of the matrix elements back to the Pro-Logic value as cs increases toward center. The boost function in the March 1997 version was chosen heuristically through listening tests.
In the version of March 1997 the boost function of cs starts at zero as before, and rises with cs in such a way that CL and CR increase 4.5dB as cs goes from zero to 22.5 degrees. The increase is a constant number of dB for each dB of increase in cs. The boost function then changes slope, such that in the next 20 degrees the matrix elements rise another 3dB, and then hold constant. Thus when the steering is "half front" (8dB or 23 degrees) the new matrix elements are equal to the neutral values of the old matrix elements. As the steering continues to move forward, the new and the old matrix elements become equal. The output of the center channel is thus 4.5dB less than the old output when steering in neutral, but rises to the old value when the steering is fully to the center. See FIG. 22 for a plot in three dimensions of this element.
In FIG 22, note that the middle value and the right and rear vertices have been reduced by 4.5dB. As cs increases the center rises to the value of 1.41 in two slopes.
We have since found that the center elements used in March 1997 are not optimal. Considerable experience with the decoder in practice has shown that the center portion of popular music recordings, and the dialog in some films, can tend to get lost when you switch between stereo (two channel) reproduction, and reproduction through the matrix. In addition, as the center channel changes in level a listener who is not equidistant from the front speakers can notice the apparent position of a center voice moving. This problem was extensively analyzed in developing the new center matrix elements presented here. As we will see later, there is also a problem when a signal pans from left to center or from right to center along the boundary. The matrix elements in application No. 08/742,460 give too low an output from the center speaker when the pan is half way between.
While it is possible to remove a strongly steered signal from the center channel output using matrix techniques, any time the steering is frontal but not biased either left or right, the center channel must reproduce the sum of the A and B inputs with some gain factor. In other words it is not possible to remove uncorrelated left and right material from the center channel. Our only option is to regulate the loudness of the center speaker. How loud should it be?
This question depends on the behavior of the left and right main outputs. The matrix values presented above for LFL and LFR are designed to remove the center component of the input signals as the steering moves forward. We can show that if the input signal has been encoded to come from the forward direction by using a cross mixer, such as a stereo width control, the matrix elements given above (the '89 elements, the 1996 AES paper elements, the March 1997 elements, and the ones presented earlier in this paper,) all completely restore the original separation.
However, if the input to the decoder consists of uncorrelated left and right channels to which an unrelated center channel has been added, i.e. A in = L in + .71 * C in
There are two ways of calculating what a listener hears. If a listener is exactly equidistant from the Left, Right, and Center speakers they will hear the sum of the sound pressures from each speaker. This is equivalent to summing the three front outputs. Under these conditions it is easy to show that any reduction of the center component of the left and right speakers will result in a net loss of sound pressure from the center component, regardless of the amplitude of the center speaker. This is because the center speaker is always derived from the sum of the A and B inputs, and as its amplitude is raised the amplitude of the Lin and Rin signals must rise along with the amplitude of the Cin signal.
If we want to design the matrix so the ratio of the amplitudes of Lin, Rin and Cin are preserved when switching between stereo reproduction and matrix reproduction, the sound power of the Cin component from the center output must rise in exact proportion to the reduction in its sound power from the left and right outputs, and its reduction in the rear outputs. An additional complication is that the left and right front outputs have the level boost of up to 3dB described above. This will cause the center to need to be somewhat louder to keep the ratios constant. We can write this requirement as a set of equations for the sound power. These equations can be solved for the gain function we need for the center speaker.
We previously gave graphs showing the energy relations for a Dolby Pro-Logic decoder under various conditions. The Pro-Logic decoder is not optimal. We can do the same for our new decoder.
FIG. 23 shows the center gain needed (solid curve) if the energy of the center component of the input signal is to be preserved in the front three channels as steering increases toward the front. As can be seen, the needed rise in the level of the center channel is quite steep - the rise is many dB of amplitude per dB of steering value. Also shown is the gain in a standard decoder (dotted curve).
As we previously mentioned, there are two solutions to this problem. We will describe the "film" solution first. The solution here is not entirely mathematical. We found in practice that the function shown in FIG. 23 rises too steeply. The change in level of the center channel is too obvious. We decided to relax the power requirement slightly - to about 1dB less center than ideal. If we recalculate the center values we get the result shown in the solid line of FIG. 24. In practice we can substitute a linear rise for the early part of the curve, shown in the dashed line in FIG. 24. In practice results with these center values have been excellent for films.
Referring to FIG 24, in practice the solid curve rises too steeply. The linear slope given by the dashed line works better.
Music requires a different solution. The center attenuation shown in FIGs. 23 and 24 is derived assuming the matrix elements previously given for LFL and LFR. What if we used different elements? Specifically, do we need to be aggressive about removing the center component from the left and right front outputs?
Listening tests show that the previous left and right front matrix elements are needlessly aggressive about removing the center component during music playback. Acoustically there is no need that they should do so. The energy removed from the left and right front must be given to the center loudspeaker. If we don't remove this energy it comes from the left and right front speakers, and the center speaker need not be as strong. The sound power in the room is the same. The trick is to put just enough energy into the center speaker to create a convincing front image for an off-axis listener while minimizing the reduction of stereo width for a listener who is equidistant from the front left and right speakers.
As we did in application No. 08/742,460 we can find the optimal center loudness by trial and error. We can then solve for the matrix elements we need in the front left and right to preserve the power of the Cin component in the room. As before, we assume that the center channel is reduced in level by 4.5 dB below the level in our '89 patent decoder, or -7.5dB total attenuation. -7.5dB equals 0.42. The matrix elements for the center can be multiplied by this factor, and a new center boost function (GQ can be defined.
For front steering CL = 0.42 * 1 - G lr + GC cs
CR = 0.42 + GC cs
For rear steering CL = 0.42 * 1 - G lr
CR = 0.42
center_rate3 = 0. 1;
gc(cs-1) = 0.42*10 (db*center_rate/(20));
gc(cs-1) = tmp*10^((cs-11)*center_rate3/(20));
if (gc(cs-1) > center_max)
gc(cs÷1) = center_max;
gc(cs÷1)=center_max*10^((cs-29)*center_rate2/(20));
if (gc(cs÷1) > center_max2)
gc(cs÷1) =center_max2;
The function (0.42 + GC(cs)) is plotted in FIG. 2.5. Note the quick rise from the value 0.42 (45dB lower than Dolby surround), followed by a gentle rise, followed finally by a steep rise to the value 1..
We assume that: LFL = GP cs
LFR = GF cs
CL = 0.42 * 1 - G lr + GC cs
Power from the front left and right can then be computed as follows: PLR = GP 2 + GF 2 * L in + R in + GP - GF 2 * ⁢ C in 2
Power from the center is: PC = GC 2 * ⁢ L in 2 + R in 2 + 2 * GC 2 * ⁢ C in 2
Power from the rear depends on the matrix elements we use. We will assume the rear channels are attenuated by 3dB during forward steering, and that LRL is cos(cs) and LRR is sin(cs). From a single speaker, PREAR = 0.71 * cos cs * L in + 0.71 * R in - sin cs * R in + 0.71 * C in
If we assume that Lin 2 ≈ Rin 2 then, for two speakers, PREAR = 0.5 * C in 2 * ⁢ cos cs - sin cs 2 + L in 2
The total power from all three speakers is PLR + PC + PREAR: PT = GP 2 + GF 2 + GC 2 * L in 2 + R in 2 + GP - GF 2 + 2 * GC 2 * C i n ⁢ 2 + PREAR
The ratio of Cin power to Lin and Rin power is: (assume Lin 2 = Rin 2) RATIO = ( GP cs - GF cs 2 + 2 * GC cs 2 + 0.5 * cos cs - sin cs 2 * C in 2 / ( ( 2 * GP ⁢ cs 2 + GC ⁢ cs 2 + GF ⁢ cs 2 + 1 * L in 2
RATIO = C in 2 / L in 2 * ( GP cs - GF cs 2 + 2 * GC ⁢ cs 2 + 0.5 * cos cs - sin cs 2 / ( 2 * GP ⁢ cs 2 + GC ⁢ cs 2 + GF ⁢ cs 2 + 1
For normal stereo, GC=0, GP=1, and GF=0. The center to LR power ratio is then: RATIO = C in 2 / L in 2 * 0.5
If this ratio is to be constant regardless of the value of (Cin 2/ Lin 2) for our active matrix, then GP cs - GF 2 + 2 * ( GC cs 2 + 0.5 * cos cs - sin cs 2 ) = ( GC cs 2 + GC ⁢ cs 2 + GF ⁢ cs 2 + 0.5
The equation above can be solved numerically. If we assume the GC above, and GP = LFL as before, we can see the result in FIG. 26.
In FIG. 26 the solid curve is the graph of GF needed for constant energy ratios with the new "music" center attenuation GC. The dashed curve is the LFR element of March '97, sin(cs)*corr1. The dotted curve is sin(cs), the LFR element without the correction term corr1. Note that GF is close to zero until cs reaches 30 degrees, and then increases sharply. We have found in practice it is best to limit the value of cs at about 33 degrees. In practice LFR derived from these curves has a negative sign.
GF gives the shape of the LFR matrix element along the lr = 0 axis, as cs increases from zero to center. We need a method of blending this behavior to that of the previous LFR element, which must be preserved along the boundary between left and center, as well as from right to center. A method of doing this when cs ≤ 22.5 degrees is to define a difference function between GF and sin(cs). We then limit this function in various ways. In Matlab notation:
gf_diff = sin(cs) - gf(cs):
gf_diff(cs) = 0:
if(bcs <1) %> 46)
The LFR element can now be written in Matlab notation: % this neat trick does an interpolation to the boundary
lfr3d(47-x, 47-y) = -sin_tbl(y)+gf_diff(bcs);
Note that the sign of gf_diff is positive in the equation above. Thus gf_diff cancels the value of sin(cs), reducing the value of the element to zero along the first part of the lr = 0 axis. See FIG. 27.
In FIG. 27, note that the value is zero in the middle of the plane (no steering) and remains zero as cs increases to ∼30 degrees along the lr = 0 axis. The value then falls off to match the previous value along the boundary from left to center and from right to center.
As it turns out, the new center function, if we write it this way, CL = 0.42 * 1 - G lr + GC cs
works well along the lr = 0 axis, but causes a panning error along the boundary between left and center, and between right and center. The values in reference [1] of 1996 (which were never implemented) give a smooth function of cos(2*cs) along the left boundary. These values create smooth panning between left and center. We would like our new center function to have similar behavior along this boundary.
We can make a correction to the matrix element that will do the job by adding an additional function of xymin (in Matlab notation):
Then, CL = 0.42 - 0.42 * G lr + GC cs + center_fix_table xymin
CR = 0.42 + GC cs + center_fix_table xymin
See FIG. 28 for a three-dimensional representation of the CL matrix element. While not perfect, this correction works well in practice.
In FIG. 28, note the correction for panning along the boundary between left and center, which is fairly smooth.
In FIG 29, which is a graph of the left front (dotted curve) and center (solid curve) outputs, note that center steering is at the left of the plot, and full left is at the right. In the "music" strategy we currently limit the value of cs to about 33 degrees, (about 13 on the axis as labeled) where the center is about 6dB stronger than the left.
No protection is sought for the encoder in the present application.
There are two major goals of the Logic 7 encoder. Firstly, it should be able to encode a 5.1 channel tape in a way that allows the encoded version to be decoded by a Logic 71 decoder with minimal subjective change. Secondly, the encoded output should be stereo compatible - that is, it should sound as close as possible to a manual two channel mix of the same material. One factor in this stereo compatibility should be that the output of the encoder, when played on a standard stereo system, should give identical perceived loudness for each sound source in an original 5 channel mix. The apparent position of the sound source in stereo should also be as close as possible to the apparent position in the 5 channel original.
In discussions with the Institute for Broadcast Technique (IRT) in Munich, it became apparent that the goal of stereo compatibility of the stereo signal as described above cannot be met by a passive encoder. A five channel recording where all channels have equal foreground importance must be encoded as described above. This encoding requires that surround channels be mixed into the output of the encoder in such a way as the energy is preserved. That is, the total energy the output of the encoder should be the same, regardless of which input is being driven. This constant energy setting will be necessary for most film sources and for five channel music sources where instruments have been assigned equally to all 5 loudspeakers. Although such music sources are not common at the present time, it is the author's opinion that they will become common in the future. Music recordings where the foreground instruments are placed in the front three channels, with primarily reverberation in the rear channels, require a different encoding.
After a series of tests (at the IRT and elsewhere) it was determined that music recordings of this type were successfully encoded in a stereo compatible form when the surround channels were mixed with 3dB less power than the other channels. This -3dB level has been adopted as a standard for surround encoding in Europe, but the standard specifies that other surround levels can be used for special purposes. The new encoder contains active circuits which detect strong signals in the surround channels. When such signals are occasionally present, the encoder uses full surround level. If the surround inputs are consistently -6dB or less compared to the front channels, the surround gain is gradually lowered 3dB, to correspond to the European standard.
These active circuits were also present in the encoder in application No. 08/742,460 . However tests with the earlier encoder at the Institute for Broadcast Technique (IRT) in Munich I found that direction of some sound sources encoded incorrectly. A new architecture was developed to solve these problems. The new encoder is clearly superior in its performance on a wide variety of difficult material. The original encoder was developed first as a passive encoder. The new encoder will also work in a passive mode, but is primarily intended to work as an active encoder. The active circuitry corrects several small errors inherent in the design. However even without the active correction the performance is better than the previous encoder.
With extensive listening several other small problems with the first encoder were discovered. Many (but not all) of these problems have been addressed in the new encoder. For example, when stereo signals are applied to both the front and the rear terminals of the encoder at the same time, the resulting encoder output is biased too far to the front. The new encoder compensates for this effect by increasing the rear bias slightly. Likewise, we have found that when a film is encoded with substantial surround content, dialog can sometimes get lost. This problem was greatly improved by the changes to the power balance described above, but the encoder is also intended to be used with a standard (Dolby) decoder. The new encoder compensates for this effect by raising the center channel input to the encoder slightly under these conditions.
As previously mentioned I discovered during discussions at the IRT in Munich that there is a European standard surround encoder. This encoder simply attenuates the two surround channels by 3dB, and adds them into the front channels. Thus the left rear channel is attenuated and added to the left front channel. This encoder has many disadvantages when encoding multichannel film sound, or recordings which have specific instruments in the surround channels. Both the loudness and the direction of these instruments will be incorrectly encoded. However this encoder works rather well with classical music, where the two surround channels are primarily reverberation. The 3dB attenuation was carefully chosen through listening tests to produce a stereo compatible encoding. I decided that our encoder should include this 3dB attenuation when classical music was being encoded, and that one could detect this condition through the relative levels of the front channels and the surround channels in the encoder.
A major function of the function fc in the surround channels is to reduce the level of the surround channels in the output mix by 3dB when the surround channels are much softer than the front channels. Circuitry is provided to compare the front and rear levels, and when the rear is less by 3dB, the value of fc is reduced to a maximum of 3dB. The maximum attenuation is reached when the rear channels are 8dB less strong than the front channels. This active circuit appears to work well. It makes the new encoder compatible with the European standard encoder for classical music. The action of the active circuits causes instruments which are intended to be strong in the rear channels to be encoded with full level.
There is another function of the real coefficient mixing path fs for the surround channels. Then a sound is moving from the left front input to the left rear input active circuitry detects that these two inputs are similar in level and in phase. Under these condition fc is reduced to zero and fs is increased to one. This change to real coefficients in the encoding results in a more precise decoding of this type of pan. In practice this function is probably not essential, but it seems an elegant refinement.
There is an additional active circuit that has not yet been released in a product. Level detecting circuits look at the phase relationship between the center channel and the front left and right. Some popular music recordings that use five channels mix the vocals into all three front channels. When there is a strong signal in all three inputs the encoder output will have excessive vocal power, since the three front channels will add together in phase. When this occurs, active circuits increase the attenuation in the center channel by 3dB to restore the power balance in the encoder output.
1. Reduce the level of the surround channels by 2.2dB when the two channels are in phase
2. Increase the real coefficient mixing path for the rear channels sufficiently to create an unsteered condition when the two rear channels are out of phase.
3. Decrease the level of the surround channels by up to 3dB when the surround level is much less than the front levels.
4. Increase the level and negative phase of the rear channels when their level is similar to the front channels.
5. Make the surround channel mix use real coefficients when a sound source is panning from a front input to the corresponding rear input.
Increase the level of the center channel in the encoder when the center level and the level of the front and surround inputs are approximately equal.
Decrease the level of the center channel in the encoder when a there is a common signal in all three front inputs.
27.Frequency dependent circuits in the decoder
FIG. 2 shows a block diagram of the frequency dependent circuits that follow the matrix in a five channel version of the decoder. There are three sections: a variable low pass filter, a variable shelf filter, and a HRTF (Head Related Transfer Function) filter. The HRTF filter changes its characteristics depending on the value of the rear steering voltage c/s. The first two filters change their characteristics in response to a signal that is intended to represent the average direction of the input signals to the decoder during pauses between strongly steered signals. This signal is called the background control signal.
One of the major goals of the current decoder is to be able to optimally create a five channel surround signal from an ordinary two channel stereo signal. It is also highly desirable that the decoder should recreate a five channel surround recording that was encoded into two channels by the encoder described as part of this application. These two applications differ in the way the surround channels are perceived. With an ordinary stereo input the majority of the sound needs to be in front of the listener. The surround speakers should contribute a pleasant sense of envelopment and ambience, but should not draw attention to themselves. An encoded surround recording needs the surround speakers to be stronger and more aggressive.
To play both types of input optimally without any adjustment from the user it is necessary to discriminate between a two channel recording and an encoded five channel recording. The background control signal is designed to make this discrimination. The background control signal (BCS) is similar to and derived from the rear steering signal cs. BCS represents the negative peak value of cs. That is, when cs more negative than BCS, then BCS is made to equal cs. When cs is more positive than BCS the value of BCS slowly decays. However the decay of BCS involves a further calculation.
Music of many types consists of a series of strong foreground notes - or in the case of a song, sung words. In between the foreground notes there is a background. The background may consist of other instruments playing other notes, or it may consist of reverberation. The circuit that derives the, BCS signal keeps track of the peak level of the foreground notes. When the current level is -7dB less than the peak level of the foreground, the level of cs is measured. The value of cs during these gaps between foreground peaks is used to control the decay of BCS. If the material in the gaps between notes is reverberation, it may tend to have a net rearward bias in a recording that was made by encoding a five channel original. This is because the reverberation on the rear channels of the original will be encoded with a rearward bias. The reverberation in an ordinary two channel recording will have no net rearward bias. Cs for this reverberation will be zero or slightly forward.
BCS derived in this way tends to reflect the type of recording. Any time there is significant rear steered material BCS will always be strongly negative. However BCS can be negative even in the absence of strong steering to the rear if there the reverberation in the recording has a net rearward bias. We can use BCS to adjust the filters that optimize the decoder for stereo vs surround inputs.
The first of the filters in FIG. 2 is a simple 6dB per octave low pass filter, with an adjustable cutoff frequency. When BCS is positive or zero this filter is set to a value that is user adjustable, but is typically about 4kHz. As BCS becomes negative the cutoff frequency is raised, until when BCS is more rearward than 22 degrees the filter is not active. This low frequency filter makes the rear outputs less obtrusive when ordinary stereo material is played. The filter has been a part of the decoder at least since V1.11, but in the earlier decoders it was controlled by cs, and not by BCS.
The second filter is a variable shelf filter. The low frequency section (the pole) of this filter is fixed, at 500 Hz. The high frequency section (the zero) varies depending on user adjustment and on BCS. This filter implements the "soundstage" control in the current decoder. In the application No. 08/742,460 "soundstage" is implemented through the matrix elements, using the "tv matrix" correction. The earlier decoders based on this work reduced the overall level of the rear channels when the steering was neutral or forward. In the new decoder presented here the matrix elements do not include the "tv matrix" correction.
In the new decoders when the soundstage control is set to "rear" the high frequency section of the shelf filter is set equal to the low frequency section - in other words the shelf has no attenuation. and the filter has flat response.
When the soundstage control is set to "neutral" the setting of the high frequency zero varies. When BCS is positive or zero the zero moves to 710Hz - resulting in a 3dB attenuation of higher frequencies. For the high frequencies the result is the same as the earlier decoders. There is a 3dB attenuation when the steering is neutral or forward. However the low frequencies are not attenuated. They come from the sides of the room with full level. The result is greater low frequency richness and envelopment, without distracting high frequencies in the rear. As BCS becomes negative the high frequency zero moves toward the pole, so that when BCS is about 22 degrees to the rear the shelf filter has on attenuation.
When the soundstage control is set to "front" the action is similar, but the zero moves to 1kHz when BCS is zero or positive. This gives the high frequencies an attenuation of 6dB. Once again, as BCS goes negative the attenuation is removed.
The third filter is controlled by c/s and not by BCS. This filter is designed to emulate the frequency responses of the human head and pinnae when a sound source is approximately 150 degrees in azimuth from the front of the listener. This type of frequency response curve is called a "Head Related Transfer Function" or HRTF. These frequency response functions have been measured for many angles for many different people. In general when a sound source is about 150 degrees from the front there is a strong notch in the frequency response at about 5kHz. A similar notch exists when a sound source is in front of a listener - only in this case the notch is at about 8kHz. Sound sources to the side of the listener do not produce these notches. The human brain uses the presence of the notch at 5kHz as one of the ways it detects that a sound source is behind the listener.
The current standard for five channel sound reproduction recommends that the two rear speakers be placed slightly behind the listener, at +/-110 or 120 degrees from the front. This speaker position supplies good envelopment at low frequencies. However a sound from the side a listener does not produce the same level of excitement as a sound that is fully behind a listener. Very often a film director wants a sound effect to come from behind the listener, and not from the side.
It is also often the case that a listening room does not have a size or shape that is appropriate to place the loudspeakers fully behind the listener, and a side position is the best that can be achieved.
The HRTF filter in the decoder adds the frequency notches of a rear sound source, so that a listener hears the sound as further behind that the actual position of the loudspeaker. The filter is designed to vary with cs. When cs is positive or zero, the filter is maximum. This causes ambient sounds and reverberation to seem to be more behind the listener. As cs becomes negative the filter is reduced. When cs is approximately -15 degrees the filter is completely removed, and the sound source appears to come fully from the side. As cs goes further negative the filter is once again applied, so the sound source appears to go behind the listener. When cs is fully to the rear the filter is slightly modified to correspond to the HRTF function for a sound fully to the rear.
FIG. 3 shows the frequency dependent circuits the seven channel version of the decoder. These are shown as consisting of three sections - although in an actual implementation the second two sections can be combined into one circuit.
The first two sections are identical to the two sections in the five channel decoder, and perform the same function. The third section is unique to the seven channel decoder. In V1.11 and application No. 08/742,460 the side and the rear channels had separate matrix elements. The action of the elements was such that when cs was positive or neutral the side and the rear outputs were identical except for delay. The two outputs stayed identical until cs was more negative than 22 degrees. As the steering moved further to the rear the side outputs were attenuated by 6dB, and the rear outputs were boosted by 2dB. This caused the sound to appear to move from the sides of the listener to the rear of the listener.
In the present decoder the differentiation between the side output and the rear output is achieved by a variable shelf filter in the side output. The third shelf filter in FIG. 3 has no attenuation when cs is forward or zero. When cs becomes more negative than 22 degrees the zero in the shelf filter moves rapidly toward 1100Hz, resulting in an attenuation of the high frequencies of about 7dB. Although this shelf filter has been described as a separate filter from the shelf filter that provides the "soundstage" function, the action of the two shelf filters can be combined into a single shelf through suitable control circuitry.
While the preferred embodiments of the invention have been described and illustrated herein, many other possible embodiments exist, and these and other modifications and variations will be apparent to those skilled in the art.
A surround sound decoder (90) for redistributing a pair of left and right audio input signals including directionally encoded and non-directional components into a plurality of output channels (172, 174, 176, 178, 180) for reproduction through loudspeakers surrounding a listening area, and incorporating means for determining the directional content of said left and right audio signals and generating therefrom at least a left/right steering signal and center/surround steering signal, the decoder comprising:
left and right input terminals (92, 94) for receiving said corresponding left and right audio input signals;
left and right delay means (96, 118) for producing delayed left and right audio signals from said left and right audio input signals:
a plurality of multiplier means (140, 142, 144, 146, 148, 150, 152, 154, 156, 158) equal to twice the number of said plurality of output channels, organized in pairs, a first element of each said pair receiving said delayed left audio signal and a second element receiving said delayed right audio signal, each of said multiplier means multiplying its input audio signal by a variable matrix coefficient to provide an output signal:
a plurality of summing means (160, 162, 164, 166, 168) one for each of said plurality of output channels each said summing means receiving the output signals of a pair of said multiplier means and producing at its output one of said plurality of output signals,
the decoder having said variable matrix values so constructed as to reduce directionally encoded audio components in outputs which are not directly involved in reproducing them in the intended direction and enhance directionally encoded audio components in the outputs which are directly involved in reproducing them in the intended direction so as to maintain constant total power for such signals, while preserving separation between the left and right channel components of non-directional signals regardless of the said steering signals, and maintaining the loudness defined as the total audio power level of non-directional signals effectively constant whether or not directionally encoded signals are present and regardless of their intended direction if present,
at least two different modes of operation are provided and the matrix coefficients are controlled differently by said steering signals in the different modes of operation,
wherein a film mode of operation is optimized for reproduction of surround-encoded audio signals derived from film soundtracks and other video sources, and a music mode of operation is optimized for reproduction of musical recordings or broadcasts,
wherein for decoding in the film mode the matrix values for the left and right front outputs are so constructed to eliminate or attenuate the center component of the input signals, and the matrix values for the center output are so constructed that the attenuation of the center output starts at least 4dB greater than previously standard Dolby Pro-Logic decoders, and reduces as the center/surround steering signal becomes more positive, the center/surround signal varying between -45 and 45 degrees, wherein a value of -45 degrees corresponds to a signal from the rear and a value of 45 degrees corresponds to a signal from the center, the intermediate matrix values being determined by the requirement of keeping the power ratio of the center component to the uncorrelated component of the input signals identical at the outputs of the decoder.
The decoder of claim 1 wherein said plurality of output channels is five, identified as left front, center, right front, left surround and right surround.
The decoder of claim 2, further comprising frequency-dependent variable filter means (182, 184, 188, 190) following said left surround and right surround outputs so as to vary the frequency response and phase response of the outputs in a prescribed manner said variation being controlled by a number of control signals responding to the presence of surround or background ambience components detected in said left and right audio input signals.
The decoder of claim 2 further comprising frequency-dependent variable filter means (182, 184, 188, 190) and additional delay means (202, 208) following said left and right surround outputs for providing from each said surround output a side and a rear output channel such as to vary the frequency and phase responses of the several outputs in a prescribed manner said variation being controlled by a number of controls signal responding to the presence of surround or background ambience components detected in said left and right audio input signals.
The decoder of claim 3 or 4 wherein said control signals are:
a background control signal responsive to the presence of antiphase signal component contained in said left and right audio input signals during periods when no strongly steered signals are present.
The decoder of claim 1, wherein for decoding music sources the matrix values for the center output are so constructed that the center attenuation starts at least 4dB greater than a standard Dolby Pro-Logic decoder, and reduces gradually to the maximum value for a standard Dolby Pro-Logic decoder, a value reached at a center/surround steering signal value of about 20 degrees, the attenuation then holding relatively constant as the steering value increases, and where the left and right front matrix values are so constructed that the center component of the input signals is not maximally removed from these outputs, but is deliberately adjusted to preserve at the output of the decoder the power ratio of the center component to the uncorrelated component of the input signals, the action of the center and left and right front elements being additionally limited at the center/surround steering value that results in an approximately 6dB difference in level between the center output and either the left or right front output.
The decoder of claim 1 where the left and right front matrix elements are so constructed that an input signal encoded to the rear, such that the direction lies between the left rear direction and right rear direction, produces no output from the front outputs.
The decoder of claim 1 where the left and right front matrix elements are so constructed that there is a level boost of about 3dB for signals that have no net left/right component, but have a center/surround steering value of about 22 degrees, said level boost reducing to zero as the center/surround steering value decreases to zero, increases to 45 degrees, or as the left/right steering value increases from zero to +/-45 degrees.
The decoder of claim 4 or 5 further comprising additional circuitry that creates a background control signal by detecting the direction of the background sound between notes or syllables in the input material, said background control signal rapidly being set to the value of the said center-surround steering signal when the center-surround steering signal is negative, and said background control signal being slowly set positive when the direction of the background sound between notes and syllables is in the forward direction, said background control signal tending to hold a negative value when surround encoded material is played, and a positive or zero value when standard two channel material is played.
The decoder of claim 9, where the said background control signal is used to control the relative loudness of the front and the rear outputs, such that the loudness of the rear outputs is reduced when the background between notes is either neutral or positive in direction.
The decoder of claim 9, where the said background control signal controls a variable low pass filter in the rear outputs such that the cutoff frequency is set to a user adjustable value when the background direction signal is positive or zero, and to rises to a high value when the background direction signal is negative, thus making the surround outputs less obtrusive when ordinary two channel material is played.
The decoder of claim 9, wherein the said background control signal controls a variable shelf filter, such that when the background control signal is positive or zero frequencies above 500Hz in the rear outputs are attenuated by a user adjustable value, and when the background control signal is negative this attenuation is reduced to zero, thus making the surround outputs less obtrusive when ordinary two channel material is played.
The decoder of claim 5 where the rear outputs of the matrix are split into a side output and a rear output by a combination of additional delay in the rear output, and a variable low pass filter in the side output, said low pass filter being set to a high frequency when the said center-surround steering signal is more positive than -22 degrees, and as the center-surround steering signal becomes more negative than -22 degrees the low pass frequency rapidly being reduced, to a final value of 500Hz when the center-surround steering signal reaches its minimum value of -45 degrees.
The decoder of claim 4 where the left and right surround outputs of a five channel version of the decoder are additionally supplied with a variable filter that emulates the frequency response of the human head/pinnae system for sound sources that are more than 150 degrees in azimuth from the front, such that when the said center-surround steering become further negative the filter once again acts maximally, and then modifies itself slightly to correspond to the frequency response of the human head-pinnae system for sound sources fully to the rear as the center-surround steering signal reaches its minimum value of -45 degrees.
EP19980945881 1996-07-19 1998-09-03 5-2-5 matrix decoder system Active EP1013140B1 (en)
US58169P 1997-09-05
EP1013140A1 true EP1013140A1 (en) 2000-06-28
EP1013140A4 true EP1013140A4 (en) 2003-05-07
EP1013140B1 true EP1013140B1 (en) 2012-12-05
ID=26737320
EP19980945881 Active EP1013140B1 (en) 1996-07-19 1998-09-03 5-2-5 matrix decoder system
EP (1) EP1013140B1 (en)
JP (1) JP4782614B2 (en)
CN (1) CN1214690C (en)
WO (1) WO1999012386A9 (en)
KR20080086549A (en) 2006-04-03 2008-09-25 엘지전자 주식회사 Apparatus for processing media signal and method thereof
JPH0560098U (en) * 1992-01-09 1993-08-06 三洋電機株式会社 Audio signal processing device
EP1013140A1 (en) 2000-06-28 application
WO1999012386A1 (en) 1999-03-11 application
CN1278996A (en) 2001-01-03 application
WO1999012386A9 (en) 2004-10-21 application
JP2006238498A (en) 2006-09-07 application
JP2004507904A (en) 2004-03-11 application
JP4782614B2 (en) 2011-09-28 grant
CN1214690C (en) 2005-08-10 grant
EP1013140A4 (en) 2003-05-07 application
Ipc: 7H 04S 3/02 B
Ref document number: 69842907
Free format text: PREVIOUS MAIN CLASS: H04R0005000000
Ipc: H04S0003020000
Ipc: H04S 3/02 20060101AFI20120301BHEP
Free format text: 5-2-5 MATRIX DECODER SYSTEM