This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This sketch demonstrates how to use the pause method of a Playable class. The class used here is AudioPlayer, but you can also pause an AudioSnippet. Pausing a Playable causes it to cease playback but not change position, so that when you resume playback it will start from where you last paused it. Press 'p' to pause the player.

Source code: pause waveform

Built with Processing