Basic software architecture for LED "display"


i've got arduino's pwm pins wired common-cathode led strip. cool. aim have arduino listen beat of ambient music , play increasingly complex series of sequences in time beat.

i'm thinking way go have timed interrupt every 1/60th of second reads hsl value circular buffer, translates rgb , sends pwm pins. rest of time i'll listen mic, work out when next beat , write appropriate sequence buffer @ point.

is how it? or there better way? if use processing, stuff hsv->rgb conversion "for free" (and maybe simple ways make pleasing "pulses" or "heartbeats" of colour , rainbow fades)? what's best way bpm detection, or there library too?

have got right idea in general or missing obvious?

cheers, robert.

this means i'm not going help, hsl , hsv?

you should able on arduino.

i guess pick out beat smoothing (low pass filtering) signal , detecting local maxima. or, in hardware , have comparator picks out drum or whatever going on threshold.


Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Basic software architecture for LED "display"


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums