buffer~ stereo

Apr 12, 2006 at 12:33pm

buffer~ stereo

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/

#25381
Apr 12, 2006 at 1:15pm

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

#74685
Apr 12, 2006 at 3:39pm

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

#74686
Apr 12, 2006 at 3:48pm

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

Léo

#74687
Apr 12, 2006 at 3:49pm

- 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

#74688
Apr 12, 2006 at 3:49pm

take the replace message and the buffer will resize

Falk

#74689
Apr 12, 2006 at 4:01pm

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

#74690

You must be logged in to reply to this topic.