Minim; how to use the sound frequency information to transform it into colors? (Processing Beginner)
in
Core Library Questions
•
1 year ago
Hello!
I'm trying to convert audio frequency into light frequency:
low sound frequency to low lighting frequency (Blue)
mid sound frequency to mid lighting frequency (Green)
high sound frequency to high lighting frequency (Red)
The void draw() that I want to make is very simple, because it is in concept, just "1 pixel" (rect(0,0,width, height), changing color with the size of the hole screen:
void setup(){
size(screen.width, screen.height);
background(0);
}
The thing is that i want to use a microphone Input to do the convertion of frequencies in real time... it is possible???
Anybody knows how can i do it into reality??
I've search at the examples library but all i found there is to transform frequency into waves... and it is not what i want...
At the hole project is to upload the finish process into an open and beta website; with the information of tutorials (how to install and simple use processing for this aplication, for people who doesn't know anything of programming... also in english and my mother language: spanish). But now... step by step...
Thanks!
Agustín
I'm trying to convert audio frequency into light frequency:
low sound frequency to low lighting frequency (Blue)
mid sound frequency to mid lighting frequency (Green)
high sound frequency to high lighting frequency (Red)
The void draw() that I want to make is very simple, because it is in concept, just "1 pixel" (rect(0,0,width, height), changing color with the size of the hole screen:
void setup(){
size(screen.width, screen.height);
background(0);
}
The thing is that i want to use a microphone Input to do the convertion of frequencies in real time... it is possible???
Anybody knows how can i do it into reality??
I've search at the examples library but all i found there is to transform frequency into waves... and it is not what i want...
At the hole project is to upload the finish process into an open and beta website; with the information of tutorials (how to install and simple use processing for this aplication, for people who doesn't know anything of programming... also in english and my mother language: spanish). But now... step by step...
Thanks!
Agustín
1