Frequency to Color With Sigmund~/ftom/mtof/
Hello Everyone,
This is a topic I have tried to researched thoroughly in the forums. I'm attempting to make some headway. Most of the info I have encountered has depreciated. I would like to map HSL values to audio frequency ranges. Hue to note /frequency, Luminance = amplitude. End goal is audio (via sigmund~ is the best option I have found).
Example:
A4 = 440hz = Red(ish)
A# =466.2 = Orange
B= 493.9 = Green
D =587.3 = Blue
Etc.
New to max and vpl in general. I've hobbled together a working max patch with input from maxhelp/tutorials/youtube.
Whats the best approach? I've explored sigmund~ and mtof and ftom. See patch.
The end result would be similar in effect to these two examples I've created with After Effects.
https://youtu.be/n2c5PK4caI8
https://youtu.be/1_qo2wSyS-g
Light is approx 40 times the note frequency in hz. Any guidance is appreciated. Thanks in advance.
-M
If you track a monophonic signal, you might like [retune~ @pitchdetection 1] instead of [sigmund~], especially if you don't care about the octave, but just look for a note name. Good point is it's a factory object, so it will work for your friends on Mac and PC without any external to download.