EasyManuals Logo

Adafruit Audio FX User Manual

Adafruit Audio FX
45 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #34 background imageLoading...
Page #34 background image
Current playback time
You can query how much time has been spent playing the current track by sending an t character
You will get a response which is 5 digits a : and then another 5 digits. The first 5 digits are seconds currently elapsed,
the second half is supposed to be the codec's report of total play time but so far we've always just gotten 0's so we
suggest just using the first set of digits (current playback in seconds)
Please note this is a blocking operation. Doing it too much can cause your audio to stutter!
File size and remaining
Finally, you can query the size of the file and how far along you are in it, which is sort of like how much you've got left
to play but of course, for compressed OGGs may vary a bit. Still, might be handy!
You can get the file size and remaining bytes by sending an 's'
© Adafruit Industries https://learn.adafruit.com/adafruit-audio-fx-sound-board Page 34 of 45

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit Audio FX and is the answer not in the manual?

Adafruit Audio FX Specifications

General IconGeneral
BrandAdafruit
ModelAudio FX
CategoryRecording Equipment
LanguageEnglish