subpixels.com | SPXL.TVblog | contactgallery | videoflash | processingmyspace | facebook

spxlAudioToMidi 29 June, 2010 at 3:38 pm

Processing sample: spxlAudioToMidi

spxlAudioToMidi

View sketch page for source code, Windows, Mac and Linux executables.

A small application made with Processing to produce MIDI control messages from a live audio feed. Auto-levelling frequency band meters are used to obtain “peak” output values across the entire audio spectrum analysed (whereas it is usual to have strong bass response with weaker treble response), and easing is applied to make the levels less erratic. 10 separate monitor outputs are supplied, where each monitor is attached to one of the frequency band meters and that meter’s output is scaled to the particular output range for the monitor, allowing for a reduced final output range as well as inverted ranges. Controls are provided to select the MIDI output device and the MIDI channel to use, as well as for selecting which monitors are connected to which meters and the monitor output ranges.

-spxl

Leave a Reply