Use Minim (or some equivalent library) to provide audio-processing to the wonderdome. This will ideally provide both beat-detection and very basic frequency power bands via the Fourier transform. This is likely to be performance intensive, so will need lots of tuning.
This component would be another type of input, which would send events like the following:
{:type :audio/beat
:power 0.8444}
{:type :audio/freq
:elapsed 138 ; ms
:power [0.662, 0.328, 0.153, 0.989, ...]}
Use Minim (or some equivalent library) to provide audio-processing to the wonderdome. This will ideally provide both beat-detection and very basic frequency power bands via the Fourier transform. This is likely to be performance intensive, so will need lots of tuning.
This component would be another type of input, which would send events like the following:
{:type :audio/beat :power 0.8444} {:type :audio/freq :elapsed 138 ; ms :power [0.662, 0.328, 0.153, 0.989, ...]}