We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey there,
I'm trying to create a relation between voice, typography and processing. I woul'd like an image or typography can move or more precisely vibrate depending on the sound of my voice.
Than, I succeed in encode it thanks to the minim library, among others, but only for simple shapes, I mean line or circle for example (see the screenshot below). However, I still don't know how to do it on a letter or word, how to have an influence on it and create this vibration related to my voice...
If you have any ideas to help, let me know guys !
(sorry my "not so good" english ahah)
Answers
Anyone ?
Currently, this is my code :
I dont know anything about the specifics of Minim, but looking at your code it seems you can just use the same methods on the AudioInput object to get a values for the current sample and supply them as parameters to the method to draw text.
For example, add this line after your for loop in draw() to get text that vibrates vertically:
text("hello", 100, 100+100*in.left.get(int(in.bufferSize()/2)));