Query the current position of playback of the wave file
waveFile.currentTime();
The current playback position of the wave file in seconds
SDWaveFile.cue()`
Change the playback position of the wave file
waveFile.cue(time);
time: time is seconds to change playback to
1 on is the playback position was cued successfully, 0 on failure
// create a SDWaveFile
waveFile = SDWaveFile(filename);
// check if the WaveFile is valid
if (!waveFile) {
Serial.println("wave file is invalid!");
while (1); // do nothing
}
/// play the file using an audio output ...
// jump back to 10 second into the wave file
waveFile.cue(10);