Forums > MaxMSP

buffer~ information

December 12, 2008 | 1:41 am

I’m pretty sure I recall there being an object that exists to provide information regarding the data held an associated [buffer~] (duration, sampling rate, etc.) Am I on something? I’ve checked the help files and am coming up nil…


December 12, 2008 | 1:44 am

[info~]!?

lh


December 12, 2008 | 1:46 am

I always seem to find the answer in the very next search…

[info~] was it. And no, it’s not referenced in the [buffer~] help file. I do see now that it’s listed in the description section of the [buffer~] documentation, but I always tend to head for the "See Also" section when I’m looking for an object that I know is related to another object. It seems to me that [info~] is a worthy candidate for the "See Also" sections of both the [buffer~] help file and documentation.


December 12, 2008 | 1:46 am

No, I’m not daft…it seems we were typing at the same time… :)


December 12, 2008 | 1:49 am

I guessed you were!

It does seem a bit strange that it isn’t listed in the help file. I assumed it was but I tend to use [info~] every time I use [buffer~] so it’s become second nature. Anyway, as you were =)

lh


December 12, 2008 | 2:36 am

Aside from using sfinfo~ and opening the sound file, is there a way to determine the number of channels of the file loaded into the buffer?

I wish info~ did this.


December 12, 2008 | 3:43 am

"I always seem to find the answer in the very next search…"

Yes. As I just did…

[mxj buf.Op ] with a getChannels message


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