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. –
#43168
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.

_
johan

#154766
Apr 2, 2009 at 7:30pm

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

pa

#154767
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.

Andrew

#154768

You must be logged in to reply to this topic.