Go Down

Topic: Is playing a track blocking? (Read 2356 times) previous topic - next topic

pmulvey

Just got the MKRZERO and am wondering if when I play a track on the SD does it block the program or will it continue in the background. I am currently using an MP3 module and a Mega to speak phrases, numbers etc. and was considering using this new board to replace it.

sandeepmistry


Rievre

I played a track and had it print "." while playing so definitely not blocking. Also AudioOutI2S.stop() stops the track playing. Useful if you have a voice prompted application and you wanted to allow the user to punch their way through the prompts without waiting for them to finish. Of course I just now discovered the MKRZero has an I2S digital audio output as opposed to an analogue one. Need an I2S amp now!

Go Up