[PD] simple rgb color organ
Derek Holzer
derek at umatic.nl
Mon Apr 13 00:12:34 CEST 2009
Done! Results are attached, with GEM example help patch. Could also be
useful for controlling PWM dimmer for RGB lights or LEDs.
best!
D.
Derek Holzer wrote:
> I also found this:
>
> http://www.mail-archive.com/use-revolution@lists.runrev.com/msg17390.html
>
> Which seems much more useful for the task at hand. But not being much pf
> a C programmer, it could take me some time converting it into a Pd
> patch. I'll report back...
>
> D.
>
> Claude Heiland-Allen wrote:
>> Derek Holzer wrote:
>>> 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.
>>
>> http://www.fourmilab.ch/documents/specrend/
>>
>> Have fun..
>>
>
--
::: derek holzer ::: http://blog.myspace.com/macumbista :::
http://www.vimeo.com/macumbista :::
---Oblique Strategy # 131:
"Question the heroic approach"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WavelengthToRGBA.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090413/397b03f6/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WavelengthToRGBA-help.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090413/397b03f6/attachment.txt>
More information about the Pd-list
mailing list