Playing a sample from RAM

The play~ object is the simplest way to play audio from a buffer~ object.

play~ refers to the ‘soundtoplay’ buffer~

You can also use ‘pause’ and ‘resume’ to remember and recall where you stopped.