Pause between playing files

Good day,

1. I noticed that when playing multiple files in a row, there is a delay of about 1 second when switching files. Is there any way to remove this delay?

Example code (Arduino IDE):

MOVIInstance.play( F(“WAV/100.wav”) );

MOVIInstance.play( F(“WAV/40.wav”) );

MOVIInstance.play( F(“WAV/3.wav”) );


2. Calling the PLAY method repeatedly (see above) creates a “playlist”. Calling the ABORT method, interrupts the playback of only the current file, and the next file from the playlist starts playing. How can I clear the entire playlist?


Regards,

Artem

  1. Unfortunately, there isn’t a way to reduce this delay. The reason for this delay is that we need to synchronize the playing of files with the speech recognizer. Obviously, we don’t want to recognize the files we play back. This has been reported as an issue:

    https://github.com/audeme/MOVIArduinoAPI/issues/21
    and we will take another look for the next update of MOVI.


    2) Calling the play command repeatedly doesn’t actually create a playlist. You send a PLAY command, MOVI plays the file. Then the file stops playing either because it’s done or because you sent ABORT. MOVI then executes the next command, which happens to be PLAY. So the way to kill all plays is to send ABORT as many times as you sent PLAY.


    Hope that helps,

    Gerald
    [Last edited Mar 02, 2018 23:45:34]