We would like to be able to turn on and off the light easily. The board is tucked under the globe so buttons or gestures are not really doable... which leaves us with the microphone!!!
Using the on loud sound, we switch the animation on and off. We use a variable on to keep track of the animation state (true = on, false = off).
When the variable on turns false, we cancel the current animation and clear the LEDs. The forever loop keeps running in the background but only animations when on is true.