Playhead in waveform object

Aug 20, 2012 at 10:58am

Playhead in waveform object

Hi guys, I am new to this software and I have a pretty simple question for those who are more familiar with the software than me.

how to create a playhead on the waveform so that it can show the playing position on the waveform? I know this is pretty simple but i have no idea what’s the problem with my patching. I use buffer to store the audio samples and use sfplay to playback the audio sample.

#64030
Aug 20, 2012 at 3:01pm

are you using the object [waveform~]?? if so send it the “line” message with the position (in msec) where to show the playhead…

#230962
Aug 20, 2012 at 3:12pm

Ok i got a little confused here.

yes im using waveform~ object. so do you mean that i get the position from sfplay~ object the go through a line message then send into a slider which on top of the waveform display? This is what I was trying to do just now but I can’t get it work. I’m sorry that I know this is quite a simple stuff but I am new to this software so I still need some time to understand its concept.

Truly appreciate your reply anyway.

#230963
Aug 20, 2012 at 3:54pm

something like this maybe???

– Pasted Max Patch, click to expand. –
#230964
Aug 20, 2012 at 8:22pm

sfplay~ does not seem to fit to waveform~ and buffer~. to play form a buffer~, use the [play~] object.

in order to create a “playhead” with waveform~, you could use the “markers” message to the waveform object.

#230965
Aug 23, 2012 at 8:31am

This ?

– Pasted Max Patch, click to expand. –
#230966
Aug 23, 2012 at 1:22pm

And a [groove~] version

– Pasted Max Patch, click to expand. –
#230967
Aug 31, 2012 at 4:07pm

Sorry I was busy on my other school projects. I just managed to try it out just now. Both are working perfectly. Thanks so much for your advice.

#230968
Aug 31, 2012 at 5:59pm

Stephane ! this is great

#230969

You must be logged in to reply to this topic.