How do I do to increase or decrease the volume of a music/sound ?

edited November 2014 in Library Questions

I want to do a program that reads the position of the mouse and if the mouse is near a object the volume of a sound become Higher and if the mouse is far from a object the volume become lower.

I already know how to put a sound in processing using the Minim library. But i don't know how to change the volume value.

Can you help me?

Sign In or Register to comment.