// Globals 1: setting ints, floats, and broadcasting Events
global Event mouseClicked;
global int mouseX;
global float mouseY;
SinOsc foo => dac;
while( true )
{
300 + 0.3 * mouseX => foo.freq;
<<< foo.freq(), mouseX, mouseY >>>;
mouseClicked => now;
}