Skip to content

Instantly share code, notes, and snippets.

@devin-dominguez
Created October 5, 2022 21:01
Show Gist options
  • Save devin-dominguez/f1c33f8e99471bf170364bd8a594c776 to your computer and use it in GitHub Desktop.
Save devin-dominguez/f1c33f8e99471bf170364bd8a594c776 to your computer and use it in GitHub Desktop.
Stereo to mid-side and back
// stereo to mid-side
M = (L + R) / 2
S = (L - R) / 2
// mid-side to stereo
L = (M + S)
R = (M - S)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment