Display the playhead in waveform~ using groove~

Pvdn's icon

How do i display the line on the waveform~ object (which can be set with the line message) exactly? I'd like to use the loop sync output of the groove~ object, so i first set the waveform~ units for the line to phase by sendin 'line phase'. I think i should be able to use that groove~output now, but how do i convert it (it'san audio-signal) into a correct message?

Pedro Santos's icon
Max Patch
Copy patch and select New From Clipboard in Max.

See if it helps. Don't forget to turn on the groove~ loop function...

Pvdn's icon

Thanks! I did switch to the play~ object since groove~ didnt let me specify a point to stop. I'm making a beatslicer/shuffler so my main concern reagrding playback is to play portions of an existing buffer.

Is there a way that play~ can tell the location of its current playposition as well?

brendan mccloskey's icon
Max Patch
Copy patch and select New From Clipboard in Max.

A combination of a transparent slider and waveform~ is the answer:

Brendan

brendan mccloskey's icon