Forums > MaxMSP

vocal removing

December 1, 2006 | 8:16 pm

hi, i’m fairly new to max and just had a question. I’m trying to make a vocalremover… (i know it won’t sound good, and i know the ideas behind how it works) i’ve just run into a small problem. To do the process, i would take the left or the right channel, multily it by -1 using th *~ object then sum it with the other channel with the +~ object. However I don’t notice a differnce at all in the sound of the audio when i do that. I’m not looking for something that;s going to be perfect.. more of a "shotty" remover or something.
Thanks


December 1, 2006 | 10:31 pm


December 2, 2006 | 7:21 pm

What you’re talking about is called an MS matrix.

Here’s the lowdown:

From MS->Stereo
M -S = L
M +S = R

From Stereo
L + R = M
L – R = S

Basically you’re comparing what’s the same in both tracks vs, what is different in both tracks, that’s why it only works for stereo files, and furthermore, only works for vocals if the are panned dead center.

Here’s a rough idea to convert LR into MS, after that you can balance between the mid and side and see what happens. Afterwards, you’ll have to decode it back into LR.

max v2;
#N vpatcher 41 75 624 505;
#N comlet Side;
#P outlet 365 308 15 0;
#N comlet Mid;
#P outlet 177 308 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 340 112 29 196617 Right;
#P comment 195 113 29 196617 Left;
#P comment 384 308 35 196617 Mid;
#P newex 365 236 37 196617 *~ 2.;
#P newex 177 236 37 196617 *~ 2.;
#P newex 365 198 37 196617 +~;
#N comlet In Right;
#P inlet 322 110 15 0;
#N comlet In Left;
#P inlet 177 110 15 0;
#P newex 177 198 37 196617 -~;
#P comment 194 308 33 196617 Side;
#P connect 2 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 10 0;
#P fasten 3 0 1 1 327 161 209 161;
#P connect 2 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 11 0;
#P connect 3 0 4 1;
#P pop;


December 2, 2006 | 8:17 pm

I messed up the first *~ should actually be a /~

max v2;
#N vpatcher 41 75 624 505;
#N comlet Side;
#P outlet 365 308 15 0;
#N comlet Mid;
#P outlet 177 308 15 0;
#P window setfont "Sans Serif" 9.;
#P comment 340 112 29 196617 Right;
#P comment 195 113 29 196617 Left;
#P comment 384 308 35 196617 Mid;
#P newex 365 236 37 196617 /~ 2.;
#P newex 177 236 37 196617 *~ 2.;
#P newex 365 198 37 196617 +~;
#N comlet In Right;
#P inlet 322 110 15 0;
#N comlet In Left;
#P inlet 177 110 15 0;
#P newex 177 198 37 196617 -~;
#P comment 194 308 33 196617 Side;
#P connect 2 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 10 0;
#P fasten 3 0 1 1 327 161 209 161;
#P connect 2 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 11 0;
#P connect 3 0 4 1;
#P pop;


Viewing 4 posts - 1 through 4 (of 4 total)