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.
Built with Processing