OK, so what does this mean:
LS >(50%L + PhaseInverted 50%R) w/ +90º PhaseShift
Do you mean I invert the right channel of waveform? How can I do that if its mono, which it is?
Try DVDFab and download streaming video, copy, convert or make Blurays,DVDs! Download free trial !
+ Reply to Thread
Results 31 to 46 of 46
Thread


LS >(50%L + PhaseInverted 50%R) w/ +90º PhaseShift
1st Track: LS >100%L, but down by 3dB (so to equal 50%)
2nd Track: LS > 100%R, Down by 3dB, AND Phase Invert (Yes, you do InvertPositive waveheight becomes negative and viceversa)
Do similarly appropriate things for the RS.
Scott 
OK. This is exactly what you should do:
Lt = L + 0.7071 C + 0.7071 LFE  0.8944 BL  0.4472 BR
Rt = R + 0.7071 C + 0.7071 LFE + 0.4472 BL + 0.8944 BR

More here:
http://forum.doom9.org/showthread.php?s=&threadid=57988 
Originally Posted by Cornucopia
You obtain 90 deg. phase shift of all signal components by applying Hilbert transform on it. This is simply calculating complex spectrum via FFT algorithm.
This will allow you to represent signal spectrum components as complex numbers, which exactly describe phase and amplitude of each bin (cartesian and polar representations are equivelent).
Than, you modify the complex representation of each spectrum bin to preserve amplitude, but to obtain the 90 deg. shift
And, finally you recalculate the signal to time domain via IFFT.
I hope this helps in any way...
 
Sorry, you are correct 3dsnar. This is basic FFT dsp stuff.
However, for an EndUser, there hasn't been many plugins (like DirX, VST, etc.) which apply those transformations in a straightforward way. That "PhaseBug" plugin is one of the few I could find that did explicitly that, and only that. There are others that use a phase shift as a component in a more complicated algorithm.
Your formula works out very close to what I mentioned (guestimated) earlier, except the coefficients of the rear channels.
(BTW, keep up the good work!)
Scott 
Originally Posted by Cornucopia

Originally Posted by Cornucopia
Thanx 
Originally Posted by 3dsnar
The correct ones are:
Lt = L + 0.7071 C + 0.7071 LFE  0.866 BL  0.5 BR
Rt = R + 0.7071 C + 0.7071 LFE + 0.5 BL + 0.866 BR
You must do phase shifting operations. But only by 180 deg,
which is equal to multiplying the signal by 1.
Therefore complex operations are NOT required. Simply apply
the formulas that I suggested to each channel (each sample of each channel), and you will obtain a DPLII downmix.
This formulas include LFE, which is a sort of extention to
what Dolby Labs recommends... But my experiance tells me that it is worth to downmix the LFE as well.
=================
Please note that after multiplying the signals of various channels by the specified weights and adding them to each other will cause clipping. I.e. normalization (of the signal or weights) is necessery.
wgF=1.0
wgC=0.7071
wgLFE=0.7071
wgA=0.0.8944
wgB=0.5
nrm=(wgF + wgC + wgLFE + wgA + wgB)
So the normalized downmixing weights are:
wgF=wgF/nrm
wgC=wgC/nrm
wgLFE=wgLFE/nrm
wgA=wgA/nrm
wgB=wgB/nrm 
OK, to simplify.
This is the final (normalized) DPLII downmix set of equations:
Lt = 0.2645 L + 0.1871 C + 0.1871 LFE  0.2291 BL  0.1323 BR
Rt = 0.2645 R + 0.1871 C + 0.1871 LFE + 0.1323 BL + 0.2291 BR
Please let me know if this is not clear. 
Originally Posted by GavSalkeld
Scott 
"...mix a 5.1 mix into a 2.0 surround mix...
...converting to AC3 Pro Logic..."
FWIW, perhaps use graphedit on the original audio using Cyberlink filters to convert to wav in your choice of Dolby surround formats [options vary according to the version of PowerDVD etc. purchased as well as optional audio packs]. Does the downmixing and AFAIK creates a stereo file with the surround info included, & then use that for ac3 setting encoder to match wav.
Need DTS/AC3 source > Cyberlink Decoder > Cyberlink Effects > Wav Dest > File Write I think. 
"What are these Cyberlink filters?"
When you install Power DVD, or many programs that use Direct X, the DX portions (often referred to as filters) are available to anything in Windows. Graphedit simply lets you connect them in a chain or chains. In this case the Decoder & Effects I believe are the two portions of Power DVD that would 1st decode the original audio, then downmix/convert to dolby spec.
Cyberlink is popular, already on a lot of systems, and has some excellent audio handling  there's a bit of info out there about this older method if you want to research it.
Similar Threads

stereo downmix: surround vs surround 2
By codemaster in forum AudioReplies: 7Last Post: 29th Aug 2012, 11:06 
Lg ht 355sd surround sound
By byrnech in forum DVD & Bluray PlayersReplies: 5Last Post: 27th Oct 2011, 05:08 
Maintaining 5:1 Surround
By GaryDZ in forum EditingReplies: 4Last Post: 22nd Feb 2010, 09:38 
Middle Surround
By ranosb in forum AudioReplies: 0Last Post: 27th Jul 2009, 16:35 
5.1 surround mixing
By namesake in forum Newbie / General discussionsReplies: 11Last Post: 10th May 2008, 22:22