Tuesday, 26 April 2011

getLineIn()


the best way to make a sound reactive piece ive found is using the minim class in processing and the get.Linein(). i can use the buffer size ( that ranges in this case 0-512) to create the movement i need in theory. this is the example proccessing gives today i need to work out how it works so i can manipulate it to draw sound reactive triangles.

ive managed to get a line of triangles working by drawing a triangle and replacing the first 2 points with "i and i+in.get.left(i)*200"  by making the points i this calls the array that draws from 50 to the buffersize (512) in intervals of 5. i think the layering may affect my control but i will have to do more experiments. there is a couple of errors that keep coming up about the buffersize in the array that i am going over or under i guess because the sound comes in wave there is both negative and positive numbers coming in.

but for the first day i think it is looking promising and should be possible (hopefully)



No comments:

Post a Comment