#N canvas 624 118 622 510 12;
#X declare -stdpath ./;
#X floatatom 161 138 0 0 0 0 - - - 0;
#X text 357 378 see also:;
#X obj 429 405 cos~;
#X obj 478 405 tabread4~;
#X obj 85 18 osc~;
#X text 120 18 - cosine wave oscillator;
#X obj 209 249 metro 500;
#X obj 359 405 phasor~;
#N canvas 0 50 450 250 (subpatch) 0;
#X array \$0-array 200 float 0;
#X coords 0 -1 199 1 200 100 1;
#X restore 104 371 graph;
#X text 345 442 updated for Pd version 0.33;
#X obj 191 281 tabwrite~ \$0-array;
#X text 234 170 <= creation argument sets initial frequency;
#X obj 103 251 output~;
#X obj 209 229 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000 0 1;
#X obj 161 170 osc~ 440;
#X text 232 227 <= graph;
#X text 60 57 The osc~ object outputs a cosine wave. The frequency
input can be either a float or a signal. The right inlet resets the
phase with values from 0 to 1 (where '1' is the same as '0' and '0.5'
is half the cycle)., f 72;
#X msg 214 138 0;
#X text 283 137 <= reset phase;
#X msg 248 138 0.5;
#X text 59 137 set frequency;
#X obj 355 222 sig~ 440;
#X text 426 238 <= signal controlling;
#X text 449 255 the frequency;
#X obj 355 251 osc~;
#X obj 452 15 declare -stdpath ./;
#X connect 0 0 14 0;
#X connect 6 0 10 0;
#X connect 13 0 6 0;
#X connect 14 0 10 0;
#X connect 14 0 12 0;
#X connect 14 0 12 1;
#X connect 17 0 14 1;
#X connect 19 0 14 1;
#X connect 21 0 24 0;
