Hello,
I would like to have an mp3 file constantly loop after it is started, this has worked well whenever I use PlayNamedFile.
Whenever I change the value of player.volume while I have the mp3 file playing it finishes but then does not start again. Is there a way to loop an mp3 file, and be able to change the volume at will during playback?
Changing player.volume question
Re: Changing player.volume question
A lot of things are possible with the player.
If you are playing MP3, there will be some silent part because how MP3 just works.
I assume, you are still using ROM PayerCallback(). If you give + or - through UART, it adjusts the volume.
Have a look at:
viewtopic.php?t=3055 I use that every time I write a player application to remind myself how the player works.
The document goes through a simple player. The trick is player.skip=-1; player.cancel = 1; to repeat the song. And if that jumps previous song, use playTimeSeconds and goTo members when the file is close to end.
If you are playing MP3, there will be some silent part because how MP3 just works.
I assume, you are still using ROM PayerCallback(). If you give + or - through UART, it adjusts the volume.
Have a look at:
viewtopic.php?t=3055 I use that every time I write a player application to remind myself how the player works.
The document goes through a simple player. The trick is player.skip=-1; player.cancel = 1; to repeat the song. And if that jumps previous song, use playTimeSeconds and goTo members when the file is close to end.