Closed kcriqui closed 1 year ago
Closing since this isn't actually an issue. Pointers to a better forum for questions about the library appreciated.
Well, this is exactly what I'd like to achieve too - I have a clock that says the time, but I can't get the bugger to shut up, It keeps repeating the time, and all my efforts in curbing the babble have been unsuccessful.
I ended up switching to CircuitPython :/ The Adafruit audiocore and audiopwmio libraries are pretty easy to work with.
Wooow, that looks exactly like what I need to achieve. Thanks for the hint!
I'm working with a QT Py RP2040 with LittleFS and AudioOutputI2SNoDAC. I modified the examples and am able to play a single file. FWIW, I put an RC low pass filter on the output and it drives a small Class D amplifier nicely. What I'd like to do is start an arbitrary wav file playing and have it repeat indefinitely until an event. i.e. start playing on button press and repeat continuously until the button is released. I'm still stuck on playing a file more than once. I think my problem is knowing which objects can be reused. Here's what I have now:
It runs OK the first time but stops at the wav->begin the second time through. At that point I have to reset the board to get the IDE to respond. Here what I see on the serial monitor