Wednesday, 13 April 2011

sound

I finally then added sound to my program. I went through various different sounds but always went with the idea that each panel repressented a note, so that there would be some kind of structure. I ended up choosing synth sound clips, which suited the asthetic.

Also, as I had planned in my concept, I made it so that the size of the ball could also be changed. First I tried making it so that every time you clicked, the size of the ball would be a random size between 10 and 100 pixels, but this I thought, would give the user less control. So instead the size of the ball increases as you hold down the left mouse button, and when you release it, the ball stays that size.

Because I now had different size balls, I implemented another feature that was in my concept. I made it so that if the ball was small, the sound that the panels made were slightly higher pitch then that of when the ball is larger, similar to how the size of an intrument determines the sound it makes. So in the end Idecided that if the size of the ball was between 5 and 50, the sound wouuld be high pitch, and if the size of the ball was between 50 and 100 the sound would be a lower pitch. 

Also because the ball could be larger, two notes could be played at the same time, this made the sound making part of the program more complex

No comments:

Post a Comment