Hello, I want to play a series of audio files on the bela. I use a SampleStream and use togglePlayback() to play the sound. However, I have not been able to find out when to stop the sound again, as it will keep repeating.
The function isPlaying() does not reset once the sound file is done. What would be the best way to play the audio file once, or know when it is done? I hope you can help me. Thank you!