1
#N canvas 5 31 889 373 12;
2
#X graph graph1 0 1 100 -1 67 250 267 350;
3
#X array array99 100 float;
5
#X obj 29 181 metro 500;
7
#X floatatom 13 76 0 0 0;
10
#X obj 13 100 sig~ 890;
11
#X text 78 75 <-- specify frequency;
12
#X text 92 98 <-- convert it to audio signal;
13
#X msg 409 75 \; metro 0;
14
#X msg 405 18 \; pd dsp 1 \; metro 1;
15
#X text 494 32 <-- Click to start;
16
#X text 479 79 <-- Click to stop;
17
#X text 129 14 - sawtooth generator;
18
#X text 170 207 <-- graph the output;
19
#X text 82 128 <-- right inlet resets phase;
20
#X obj 425 227 phasor~ 440;
21
#X floatatom 425 203 0 0 0;
22
#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.;
23
#X text 294 246 Invoked above with argument for non-signal input. Incoming messages override the initial value.;
24
#X text 311 301 see also:;
27
#X obj 481 301 tabread4~;
28
#X text 627 345 updated for Pd version 0.33;
29
#X obj 13 205 tabwrite~ array99;