Forums > MaxMSP

Playback postion from groove~

December 6, 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!


December 6, 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. –

Brendan


December 6, 2010 | 4:19 pm

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


December 6, 2010 | 4:36 pm

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

– Pasted Max Patch, click to expand. –

December 6, 2010 | 4:41 pm

Perfect. Exactly what I was looking for. Thanks!


November 20, 2011 | 10:30 pm

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


November 20, 2011 | 10:32 pm

easier to simply impose line over waveform at that point?
thanks


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