Forums > MaxMSP

buffer~ stereo

April 12, 2006 | 12:33 pm

hey guys,

im trying to granulate a number of files but having problems doing it in stereo…i think this is due to problems with the buffer not buffering in stereo. i am using one buffer but changing what is read (therefore the length of buffer is always changing).

when i use the buffer~ object i want to put in say (buffer~ hello xlength 2) where x is the length of the file it’s reading…how do i do this so x is a variable and can change with every file?

cheers,
dave
Express yourself instantly with MSN Messenger! Download today it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/ 01/


April 12, 2006 | 1:15 pm

On Apr 12, 2006, at 8:33 AM, dave walker wrote:
> how do i do this so x is a variable and can change with every file?

Check out the ‘replace’ message.
Is this what you mean?

—–
Nathan Wolek
nw@nathanwolek.com

http://www.nathanwolek.com


April 12, 2006 | 3:39 pm

cheers,

i don’t think it’s actually that though.

basically i want to have one buffer that plays stereo files. without having to put the buffer length argument in the buffer.

since the argument for the number of channels (stereo=2) comes after the argument for buffer length (which i don’t want to specify due to the buffer reading different audio files of different lengths) i can’t figure it out.

hope anyone can help?!!

cheers,
dave


April 12, 2006 | 3:48 pm

CHECK out the ‘replace’ message !
You won’t have to manage neither the number of channels nor the length
of the buffer.

Léo


April 12, 2006 | 3:49 pm

- in the help file it seems to be an answer : which is -1

hope it works

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com


April 12, 2006 | 3:49 pm

take the replace message and the buffer will resize

Falk


April 12, 2006 | 4:01 pm

nice one lads!

sorry about that!

just got it sorted…you’ve saved my bacon. i’ve been slaving away for hours on other max stuff and i think my brain temporarily turned to mash!

…too many sub-patches!

dave


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