Forums > MaxMSP

Splitting left and right channels into a buffer

May 27, 2010 | 4:26 pm

is there a simple way to split the left and right channel into two separate buffers for left and right.

i.e press replace/read and the .wav file loads into separate left and right buffers, effectively like splitting it into two mono tracks?

hope someone can help me, it seems simple but then many things are far easier said than done :) thank you


May 27, 2010 | 10:01 pm

with the message [read [start time(float)] [duration(float)] [number of channels]] you can choose to have only one channel… still it’s true you can’t ask expressively for channel 2…
if you play a file with sfplay, you can then split it in up to 28 channels… then record those separately into several buffers ? :/


May 27, 2010 | 10:13 pm

check out mxj buf.Op, the ‘split’ message should do what you want. You will need a buffer to load in the file and then two buffers to split the channels in to.

-Ben


May 27, 2010 | 10:43 pm

Additionally, if you are feeling like some fun times, you could also do this with peek~ and poke~.

-Ben


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