Hello! I'm really enjoying the Audio shield and the awesome gui. Thanks!
I'm having some trouble trying to do the following: I'd like to play a bell sound and, as the bell sound decays, I'd like to fade some neopixels (I'm not using DotStar because I need the nice warm white of the neopixel RGBW strips).
As I have it now, the bell sound plays (there's an odd "click" in the middle of playback, but I suspect that's a WAV header issue and not related to the main issue), but immediately slows and distorts when I begin fading the Neopixels.
My understanding is that the Neopixels' use of interrupts to time the pixel-driving waveform is what's causing the audio playback issues. I've looked around the forums (my apologies if I've missed anything!) but cannot find a solution. The solution I'm looking for would be, for example, "use this range of pins for the neopixels to ensure their interrupts aren't the same as the audio library's interrupts" or other advice...
Here is my full sketch: https://gist.github.com/AKAMEDIASYSTEM/ebd470c2e6054bd51f467e72606a702a
Any help/insight you might be able to offer would be much appreciated!
Thanks,
AKA
I'm having some trouble trying to do the following: I'd like to play a bell sound and, as the bell sound decays, I'd like to fade some neopixels (I'm not using DotStar because I need the nice warm white of the neopixel RGBW strips).
As I have it now, the bell sound plays (there's an odd "click" in the middle of playback, but I suspect that's a WAV header issue and not related to the main issue), but immediately slows and distorts when I begin fading the Neopixels.
My understanding is that the Neopixels' use of interrupts to time the pixel-driving waveform is what's causing the audio playback issues. I've looked around the forums (my apologies if I've missed anything!) but cannot find a solution. The solution I'm looking for would be, for example, "use this range of pins for the neopixels to ensure their interrupts aren't the same as the audio library's interrupts" or other advice...
Here is my full sketch: https://gist.github.com/AKAMEDIASYSTEM/ebd470c2e6054bd51f467e72606a702a
Any help/insight you might be able to offer would be much appreciated!
Thanks,
AKA