Splitting left and right channels into a buffer

May 27, 2010 at 4:26pm

Splitting left and right channels into a buffer

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

#50604
May 27, 2010 at 10:01pm

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 ? :/

#181548
May 27, 2010 at 10:13pm

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

#181549
May 27, 2010 at 10:43pm

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

-Ben

#181550

You must be logged in to reply to this topic.