Forums > MaxMSP

info~ bug or just me?

April 26, 2008 | 2:28 pm

I did a quick search to see if this has already been addressed, but didn’t find anything. Sorry if I overlooked something.

I don’t seem to be getting values from info~’s "total time" after an initial file loading — I get the first file’s length, but subsequent buffer reads don’t update the number box connected to this outlet. I’m not including an example since I’m having the issue with the info~ help file too, and not just my patches.

Can anyone else see if they can reproduce, or if it’s just me?

Thanks much.


April 26, 2008 | 3:24 pm

On 26 avr. 08, at 16:28, kevin holland wrote:

> I did a quick search to see if this has already been addressed, but
> didn’t find anything. Sorry if I overlooked something.
>
> I don’t seem to be getting values from info~’s "total time" after an
> initial file loading — I get the first file’s length, but
> subsequent buffer reads don’t update the number box connected to
> this outlet. I’m not including an example since I’m having the
> issue with the info~ help file too, and not just my patches.
>
> Can anyone else see if they can reproduce, or if it’s just me?

Do you send a bang to info~ after replacing the file in the buffer~?
[info~] doesn’t notify of the change, you have to ask him to do it.
You can use the right output of buffer~ to get the replacement
notification.

HTH,
ej


April 26, 2008 | 3:52 pm

Thank you for the response.

I did, indeed, send a bang to info~ and the total time still failed to update when I loaded new files into the corresponding buffer~.

I assume you were able to get it to report the appropriate file lengths, correctly?


April 26, 2008 | 4:03 pm

On 26 avr. 08, at 17:52, kevin holland wrote:

> I assume you were able to get it to report the appropriate file
> lengths, correctly?

Yep. What kind of file do you load (format/sample rate/bit size…)?
Could you upload a sound file somewhere.

Thanks,
ej


April 27, 2008 | 3:51 pm

Ah, silly mistake on my part. I was using a "read" or "import" message instead of "replace," expecting the buffer to automatically resize. It’s been a while since I worked with audio files in Max.

So sorry for wasting bandwidth, but thank you very much for the help.


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