-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Don't know if I understood the cue() feature correct, but shouldnt it play a Song from the given time on? When I call it, it only replays the song from beginning!
Thats a part of my code:
void audioCue(int t){
if(t>0 && t<currentAudioFile.duration()){
currentAudioFile.cue(t);
Serial.println("Set playback to:");
Serial.println(currentAudioFile.currentTime());
}else{
Serial.println("Cued Time not valid");
}
}
currentAudioFile is a global var holding the currently played wav file (type: SDWaveFile)
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project