[PD] simple rgb color organ

Derek Holzer derek at umatic.nl
Sun Apr 12 22:09:40 CEST 2009


Hey gang,

before I go reinventing somebody else's wheel... has anybody written 
something that takes a (sound) frequency in Hz or MIDI note and outputs 
the transposed color in RGB values? Along these lines:

F#44 = 737 nm(Infrared)
G 44 = 696 nm(Red)
G#44 = 657 nm(Red)
A 44 = 620 nm(Red-Orange)
A#44 = 585 nm(Yellow)
B 44 = 552 nm(Green)
C 45 = 521 nm(Green)
C#45 = 492 nm(Green-Blue)
D 45 = 464 nm(Blue)
D#45 = 438 nm(Violet)
E 45 = 414 nm(Violet)
F 45 = 390 nm(Ultraviolet)

Or even something that takes the light wavelength in nanometers and 
gives separate RGB values? I'm working on a simple color organ for a 
friend this week.

Danke + best!
D.

-- 
::: derek holzer ::: http://blog.myspace.com/macumbista ::: 
http://www.vimeo.com/macumbista :::
---Oblique Strategy # 174:
"Water"




More information about the Pd-list mailing list