We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is there a way to display images based on how high the frequency the program is detecting? Like if the program detects a frequency of around 1000 Hz, it will display one image representing an emotion, but around 500 a different image is displayed instead. I'm also working with an array for 4 images so far.
Answers
Yes.
Are you able to println freqs?
What do you mean? I'm able to display the frequency as waves. I just want the program to detect different levels of frequency and displaying an image based whether the sound reaches to that frequency.
if (freq>20000)
image(img1,0,0);
else if (freq>19000)
image(img2,0,0);