#N canvas 84 52 801 548 12;
#X obj 252 320 dac~ 1;
#X obj 252 292 *~;
#X floatatom 156 115 0 0 0 0 - - -;
#X obj 276 264 line~;
#X msg 276 208 0.1 100;
#X msg 295 233 0 100;
#X text 347 203 on;
#X text 344 232 off;
#X text 333 261 envelope;
#X text 333 274 generator;
#X text 260 183 amplitude controls:;
#X text 250 344 audio output;
#X text 127 506 see also:;
#X obj 283 508 cos~;
#X obj 332 508 tabread4~;
#X obj 68 14 osc~;
#X text 142 16 - cosine wave oscillator;
#X obj 126 294 metro 500;
#X obj 126 269 r metro;
#X text 88 344 graph the output;
#X obj 213 507 phasor~;
#X msg 571 79 \; metro 0;
#X msg 570 20 \; pd dsp 1 \; metro 1;
#X floatatom 637 245 0 0 0 0 - - -;
#X obj 637 275 sig~;
#X text 522 266 convert to;
#X text 512 282 audio signal;
#X text 518 305 oscillator;
#X text 479 243 frequency control;
#X obj 637 306 osc~;
#X text 6 126 change frequency;
#X text 249 146 <-- creation argument sets initial frequency;
#N canvas 0 50 450 250 (subpatch) 0;
#X array \$0-array 100 float 0;
#X coords 0 -1 100 1 200 100 1;
#X restore 95 385 graph;
#X text 16 39 The osc~ object outputs a cosine wave. If no argument
is supplied \, the input is taken to be an audio signal. With a floating-point
argument \, osc~ takes floating-point messages to change frequency.
;
#X text 510 336 invoked without argument to;
#X text 512 360 specify audio signal input;
#X text 5 111 incoming numbers;
#X obj 156 144 osc~ 1000;
#X text 512 511 updated for Pd version 0.33;
#X text 655 39 <-Click to start;
#X text 648 88 <-Click to stop;
#X text 223 122 v-- messages to right inlet set phase in cycles;
#X obj 89 322 tabwrite~ \$0-array;
#X connect 1 0 0 0;
#X connect 2 0 37 0;
#X connect 3 0 1 1;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 17 0 42 0;
#X connect 18 0 17 0;
#X connect 18 0 17 0;
#X connect 23 0 24 0;
#X connect 24 0 29 0;
#X connect 37 0 1 0;
#X connect 37 0 42 0;
