Hi, the title says what I am trying to achieve.
I found this article when trying to understand the decoding/encoding part. This would give me the mid and side as a single channel respectively.
https://www.soundonsound.com/sound-advice/q-how-does-mid-sides-recording-actually-work
However, I believe I have to find the common signal to both sides and subtract it, so it seems to be a slightly different process. I tried literally subtracting the sides from each other in code but the result was mono.
I am unsure about whether the audio signal given comes signed or unsigned and how to handle the integer math stuff, so I am wondering if there is anyone who could solve it for me or explain
Or maybe even an object that can do this already exists?
Thanks