This music visualizer analyzes the amplitude of Whitney Houston's "I Wanna Dance with Somebody" and releases a burst of particles as "fireworks" if it goes above a certain threshold.
The longer the amplitude stays above the threshold, the more "fireworks" are created.