SinOsc osc => dac; 0 => global float f; // global variables create a GUI slider while(samp => now){ (f * 440)+220 => osc.freq; }