I am using the sfplay~ object. It is possible to use a toggle to start and stop playback of an audio file, but the 0 resets the object so when it receives a 1 it starts playback from the beginning. Once the file is started it is possible to pause playback in two ways:
using the pause/resume messages
using the speed $1 message with 0 routed through it (so the playback speed is 0)
I am wondering if it is possible to create one button that starts playback, but once the file is started it then acts as a play/resume button. Then when a 0 is sent from another button, the all-in-one start/pause/resume is reset so that it can begin playback from the beginning again.