Skip to content

AudioSourceLittleFS+AudioPlayer. Looped very short sound #1946

Answered by pschatzmann
ax-iv asked this question in Q&A
Discussion options

You must be logged in to vote

If you just want to loop over a file I suggest you use the FileLoop class: this is less complex and more efficient.
Not sure if you can do this for very short mp3 files sine the segements usually depdend on the prior segements.
So if mp3 is the culprit, I suggest to switch to wav...

Please not that the AudioSource also adds a default timeout to determine if it has ended see setTimeoutAudioNext()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ax-iv
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1945 on March 04, 2025 07:20.