buffer~ arguments don't seem to give me stereo

Apr 2, 2009 at 5:26pm

buffer~ arguments don't seem to give me stereo

In this patch, I don’t seem to get stereo when it loads, but it does when I hit “replace” and re-select my loop. The help file, “arguments are buffer name, optional filename to read or optional initial length in milliseconds, and optional number of channels (1, 2, or 4),” makes me think I’m writing it correctly…

[buffer~ pianoharm D_harmonics_184bpmloop.wav 2] should give me 2 channels, right? Just trying to save myself an extra step upon loading.

– Pasted Max Patch, click to expand. –
Apr 2, 2009 at 6:14pm

The first integer argument sets the size, if you include a seconde int argument immediately after, that will set the amount of channels.


Apr 2, 2009 at 7:30pm

and if you want to take the file sze, put -1 as a length


Apr 2, 2009 at 10:26pm

Thanks, I just read “file name to read OR file length in ms” to mean that if it saw a string it would do the original file length, whereas an int/float would be a blank buffer. Works now.



You must be logged in to reply to this topic.