-
p3te
hi, I'm new to puredata and am wanting to use it for a project that would involve playing a sound file in a loop that the volume of is controlled by the position of the mouse cursor over a picture.
I've figured out how to generate a GEM window and read the x-y coordinates from it and I have a sound looping but I don't know how to connect the two.
Any help would be appreciated!
-
p3te
Thanks Sinewave, that's helped a lot and I've been using it to inform a new version of my original patch but I can't figure out how to do a couple of things.
I've attached the new patch to so you can see just how noob I am to this the sound won't work obviously unless the path and file used are changed.What's baffling me is I can get a value for the X coordinate and have set a slider to adjust volume as the cursor approaches a certain coordinate (x = 955 in this case) but I cannot get a Y coordinate and I cannot figure out how to reduce the volume once the cursor moves past 955.