Audio disable and stopPlayback

For a Tmrpcm library regarding SD card module
It says:-

audio.disable();           disables the timer on output pin and stops the music

audio.stopPlayback();      stops the music, but leaves the timer running

What actually the diffrence is ?

For what purpose disable type thing is used in place of stop playback

Any example funtion to brief this ?

IF you want to pick out certain phrases of a recording and only play them, you need to have a way to skip the unwanted portion of the recording. The stop Playback() will let you watch the timer to see when to begin to start the playback and when to stop the playback.

O I see

So is it possible to play a file from any position of total lenght by apply some kind of command ??

Likely to be several commands. You will have to investigate.

Already searched a lot but unable to find this type of thing

Also tried for some kind of play technique I planned to introduce in project but failed

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.