This sketch demonstrates how to use the position method of a Playable class.
The class used here is AudioPlayer, but you can also get the position of an AudioSnippet.
The position is the current position of the "playhead" in milliseconds. In other words, it's how much of the
recording has been played. This sketch demonstrates how you could use the position method to
visualize where in the recording playback is.
Source code: position waveform
Built with Processing