Forums > MaxMSP

Playback postion from groove~

Dec 06 2010 | 3:34 pm

Is there a way to get the current playback position from groove~ ? I’m playing an audio file and I want to be able to tell its location hopefully by millisecond. Any help would be great. Thanks!

Dec 06 2010 | 4:01 pm

First thoughts would be, [info~ /yourbuffername/] will output total file size in [buffer~] and [groove~] outputs a 0. to 1. ramp over the duration of the loop, so multiply this ramp by file size; also, look at the [waveform~] object.

like this:

— Pasted Max Patch, click to expand. —


Dec 06 2010 | 4:19 pm

I’ve looked into waveform~. I will check out the info~ suggestion and see what I can make happen. Thanks.

Dec 06 2010 | 4:36 pm

here’s the same patch, with added [waveform~]

— Pasted Max Patch, click to expand. —
Dec 06 2010 | 4:41 pm

Perfect. Exactly what I was looking for. Thanks!

Nov 20 2011 | 10:30 pm

and what if you wanted to change the min and max playback values? simple math?

Nov 20 2011 | 10:32 pm

easier to simply impose line over waveform at that point?

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

Forums > MaxMSP