Page 1 of 1

Mid-Side decoding

Posted: Tue Jun 03, 2014 6:09 pm
by Keith Taylor
I have Audacity 2.0.5 installed on a computer running Win Vista Home Premium. Nuances of version and OS are probably irrelevant to my question, which is, Does Audacity have an M-S decoding function?

I record in M-S format so it is fundamental that any editing software I use should be able to convert M-S to stereo. The basic operations are-

Left channel=M+S and Right channel =M-S.

It is often done with 3 mixer channels in hardware or software. There is nothing particularly special about the mixer channels except that at least one of them needs a phase invert function on its input, and that this channel, and another, have to be fed with the same input signal. We get subtraction (M-S) by summing/mixing the two signals in antiphase.

Anyone had any experience in doing this operation in Audacity?

Keith

Re: Mid-Side decoding

Posted: Tue Jun 03, 2014 6:23 pm
by steve
To invert a track, use "Effect > Invert".
You may also need to split / join stereo tracks: http://manual.audacityteam.org/o/man/sp ... racks.html

Re: Mid-Side decoding

Posted: Tue Jun 03, 2014 6:34 pm
by Robert J. H.
You can also download Steve's channel-mixer plug-in.
One of the presets (e.g. left to center) is what you want.

Re: Mid-Side decoding

Posted: Tue Jun 03, 2014 6:58 pm
by steve
Robert J. H. wrote:You can also download Steve's channel-mixer plug-in.
Available here: http://wiki.audacityteam.org/wiki/Nyqui ... nnel_Mixer
Installation instructions: http://wiki.audacityteam.org/wiki/Downl ... g_Plug-ins

Re: Mid-Side decoding

Posted: Wed Jun 04, 2014 2:40 pm
by Keith Taylor
Steve and Robert, thanks for your prompt and helpful responses. For the plugin to do what it is capable of tends to indicate that it is doing sum and difference operations on the stereo signals and finally restoring them to stereo. This suggests that M-S decoding is possible.

Keith

Re: Mid-Side decoding

Posted: Wed Jun 04, 2014 5:59 pm
by steve
The plug-in is written in a scripting language called "Nyquist".
Nyquist plug-ins are plain text files, so can easily be edited in any plain text editor (such as NotePad or NotePad++)

You can read about Nyquist plug-ins here: http://wiki.audacityteam.org/wiki/Nyqui ... _Reference
and we have a forum board specifically for things to do with Nyquist: http://forum.audacityteam.org/viewforum.php?f=39

Re: Mid-Side decoding

Posted: Tue Sep 15, 2015 10:27 pm
by themickster
Why does there need to be the phase difference between the two sides? Don't they cancel each other?