Forums > MaxMSP

Length of recording

April 11, 2010 | 12:23 pm

I am just getting back into Max/MSP after many years, and I’m working on a small sampler project.
I’m recording a live input using the record~ object, storing it in the buffer~.
My buffer has a total length of 10,000 ms, but I need to know know long my actual recording is.
Can someone help me with an idea about how to get the length of the recording – either in samples or miliseconds?
Thanks!


April 11, 2010 | 1:16 pm

[timer]? Not sure how precise this Max object is (as I assume it’s scheduler dependent, as opposed to signal-based objects); try this:

– Pasted Max Patch, click to expand. –

April 11, 2010 | 2:37 pm

That’s exactly what I was looking for.
This is plenty precise for my needs.
Thanks!


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