Forums > MaxMSP

buffer and filename as argument

October 14, 2008 | 11:31 pm

When specifying a file name in the buffer object that cannot be found, a duration argument is being ignored and the length of the buffer will be 0. The helpfile suggest that it is possible to both provide a filename and a duration as argument.

_
johan


October 15, 2008 | 5:26 pm

Hi Johan,

I can’t reproduce here with Max 5.0.5. What version are you using? Can you send along a simple example patch so that I can understand exactly what you are seeing?

-Ben

– Pasted Max Patch, click to expand. –

October 15, 2008 | 5:58 pm

> I can’t reproduce here with Max 5.0.5. What version are you using? Can you send along a simple example patch so that I can understand exactly what you are seeing?

Using 5.0.5, but I followed the instructions in the buffer~ reference which says that after the buffer name a filename can be provided. Like this:

– Pasted Max Patch, click to expand. –

It used to work like this, am I mistaken?

_
johan


October 15, 2008 | 6:29 pm

Ah, I see what you mean. This is how it is in Max 4 as well; if the file is invalid, then the duration argument is not set. I’m not sure what can be done about this, but I will pass it along as a feature request.

-Ben


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