How to make Mid-Side processing?
-
Well, as I said, with a more complex material I totally agree, you say it yourself in bass heavy music, which mean a lot of material in common in L/R.
Here the ping pong delay is either full L or full R by definition, and has nothing to do with a complex material that have something in common in both L and R plus specificities in L and R.
The formula for ST to M/S is as simple as this:
M = L + R
S = L - R@Win-Conway said in How to make Mid-Side processing?:
Also when you change mids, sides should not change at all, that defeats the point entirely of the process, mids and sides should be separated, if you run a mid EQ on a side channel you will hear nothing at all because it ignores the sides and only processes mids, but there are no mids.
We agree, it is the case here in my snippet...
-
Maybe I am wrong, but I think we are maybe not talking of the same thing
In a previous post, you said:@Win-Conway said in How to make Mid-Side processing?:
Take your stereo path, pan both left and right channels to centre so that it becomes mono, this is your mid path, take the mid path and invert its polarity (Phase, been a while since i did any code at all, think it is signal * -1) and sum it with the original left and right channels and this will cancel out the mids and leave only the side path ;)
Now you have a mid path and a side path.We agree for M, but not for S (unless I make a mistake)
you invert M and subtract it from L and R, which is not the same than L-R
you don't flip the polarity of R, but I do in respect with the M/S formula, maybe it has something to do with our perception of what we call M/S -
Stereo to M/S
Your Mid is wrong.
It is Mid = Left and Right channels both separated and panned (Not balance) to Mono, you can achieve this with zero balance and zero width if your software only supports stereo channels.
Your Side is wrong.
Side = L+R phase cancelled by Mid.
This will give you a stereo input and two stereo (or summed mono if you wish) outputs, these outputs can be processed as you see fit, then recombined (summed) to a single stereo ouput.I think you are talking about a stereo recording made specifically for M/S encoding, which is not the objective here at all.
-
If you can give me a day, I will be home and i can do a screen capture of it set up and running in basic routing in Reaper, and with MSEd, so that you can see the simple routing creating the M/S signals ;)
-
@Win-Conway Ok cool
Please if you can, just try the snippet to see if it works for you, because on my side it has exactly the same behaviour than in a DAW with M/S plugins,
For instance in Hise when I apply a saturation (just to have something obvious), M and S are treated independently, a simple gain module does the trick as well. -
@Win-Conway said in How to make Mid-Side processing?:
Your Mid is wrong.
It is Mid = Left and Right channels both separated and panned (Not balance) to Mono, you can achieve this with zero balance and zero width if your software only supports stereo channels.Unless I don't understand, it is the same than L+R
Your Side is wrong.
Side = L+R phase cancelled by Mid.
This will give you a stereo input and two stereo (or summed mono if you wish) outputs, these outputs can be processed as you see fit, then recombined (summed) to a single stereo ouput.I agree, I disagree
I think you are talking about a stereo recording made specifically for M/S encoding, which is not the objective here at all.
Totally, this is why here, it can't be called M/S, it doesn't stick to the very definition of the M/S formula.
Now I see your point
But... If I have the same result in a DAW with an M/S plugin and here in HISE, I don't know where/how you can apply the technique you call M/S, except by doing your own routing? -
Ok i think i see why this has gotten messy, you are talking about a Mid/Side recording, so Mid is on one channel and Side is on the other, I am talking about having the ability in an effect plugin to effect only the mids or only the sides from a normal stereo signal.
I think @orange wants what i am suggesting, Mid/Side separation for a standard stereo signal.
-
The definition of Mids and Sides is simple, Mids are the Mono signals, sides are everything else.
-
OK, going in circles, just wait till i do a screen recording to show it ;)
-
we both agree (I think)
but please try the snippet when you can and tell me if it works or not on a song for instance because here it works -
@ustk it's working for me on a song. Its side is separate from the mid, if I can recall ch 5&6 are the side and 7&8 mid, but I'm not home now to be sure.
-
@Jay Glad it works for you
almost, the Mid is 7-8 and Side 9-10 -
@Jay rereading the tgread, im unsure why there would be any gain changing or encoding decoding, non of that is needed ?
I will look at the snippet as soon as i get chance, I dunno, maybe HISE cant do simple things like split a stereo signal in to two mono and pan etc, I just assumed this was as easy as doing it in a DAW. -
@Win-Conway I haven't try it in a daw yet, just in HISE. But if you can take a look a the code and fix anything you think needs fixing will be good.
-
@Jay i will be home tomorrow and do a vid showing it done with just routing and phase invert ;)
-
@orange I implemented the Mid-Side into a plugin I'm building but when compiled there is no audio coming out, I can see is doing something in the meters but no sound. Any Idea?
-
@Jay maybe a routing issue. Did you check the outputs?
-
@orange yes, but it work fine in HISE standalone and VST
-
@ustk when exporting the plugin no audio is coming out
-
@Jay have you added the MS alongside a standard LR?
have you implemented a "switching" button for selecting the modes? so you can select bus 1-2 for LR or 11-12 for MS by the mean of gain modules for instance...