Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
1.99k
stars
433
forks
source link
Playing the same sample / sound multiple times (single channel) #582
Maybe it’s just how the API is built but is there a way to trigger the same sample (or a set of samples) multiple times?
Or is it necessary to create a new AudioFileSource and a new AudioGenerator for each replay…?
Maybe it’s just how the API is built but is there a way to trigger the same sample (or a set of samples) multiple times? Or is it necessary to create a new AudioFileSource and a new AudioGenerator for each replay…?
(BTW: great library, works perfectly! Thank you!)