#N canvas 5 31 889 373 12; #X graph graph1 0 1 100 -1 67 250 267 350; #X array array99 100 float; #X pop; #X obj 29 181 metro 500; #X obj 13 126 phasor~; #X floatatom 13 76 0 0 0; #X obj 57 12 phasor~; #X obj 29 156 r metro; #X obj 13 100 sig~ 890; #X text 78 75 <-- specify frequency; #X text 92 98 <-- convert it to audio signal; #X msg 409 75 \; metro 0; #X msg 405 18 \; pd dsp 1 \; metro 1; #X text 494 32 <-- Click to start; #X text 479 79 <-- Click to stop; #X text 129 14 - sawtooth generator; #X text 170 207 <-- graph the output; #X text 82 128 <-- right inlet resets phase; #X obj 425 227 phasor~ 440; #X floatatom 425 203 0 0 0; #X text 348 118 The phasor~ object outputs a sawtooth signal \, traditionally used for table lookup via cos~ or tabread4~. If no argument is supplied \, the input is taken to be an audio signal \; with a floating-point argument \, phasor~ takes floating-point messages to change frequency.; #X text 294 246 Invoked above with argument for non-signal input. Incoming messages override the initial value.; #X text 311 301 see also:; #X obj 396 301 osc~; #X obj 439 301 cos~; #X obj 481 301 tabread4~; #X text 627 345 updated for Pd version 0.33; #X obj 13 205 tabwrite~ array99; #X connect 1 0 25 0; #X connect 2 0 25 0; #X connect 3 0 6 0; #X connect 5 0 1 0; #X connect 5 0 1 0; #X connect 6 0 2 0; #X connect 17 0 16 0;