#N canvas 549 58 515 406 12;
#X obj 23 12 cos~;
#X obj 179 284 snapshot~;
#X obj 102 167 sig~;
#X floatatom 179 310 10 0 0 0 - - - 0;
#X obj 102 136 * 0.01;
#X floatatom 102 106 5 0 0 0 - - - 0;
#X text 139 167 convert to audio;
#X text 14 368 see also:;
#X obj 87 369 osc~;
#X obj 126 369 tabread4~;
#X text 303 366 updated for Pd version 0.41;
#X text 64 11 - cosine waveshaper;
#X obj 200 369 cos;
#X obj 231 369 expr~;
#X obj 179 249 metro 500;
#X msg 312 232 \; pd dsp \$1;
#X obj 179 209 loadbang;
#X text 337 206 DSP on/off;
#X obj 312 207 tgl 17 0 empty empty empty 17 7 0 10 #dfdfdf #000000
#000000 0 1;
#X obj 7 43 cnv 1 500 1 empty empty empty 8 12 0 13 #000000 #000000
0;
#N canvas 683 179 572 208 reference 0;
#X obj 10 44 cnv 5 550 5 empty empty INLET: 8 18 0 13 #202020 #000000
0;
#X obj 10 96 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000
0;
#X obj 10 146 cnv 2 550 2 empty empty ARGUMENT: 8 12 0 13 #202020 #000000
0;
#X obj 10 183 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000
0;
#X obj 28 15 cos~;
#X text 75 14 - cosine waveshaper;
#X text 88 64 signal - input from 0-1 (wraps into 0-1 if outside this
range)., f 63;
#X text 118 156 1) float - sets input value;
#X text 88 113 signal - cosine output according to the input., f 63
;
#X restore 396 12 pd reference;
#X obj 7 353 cnv 1 500 1 empty empty empty 8 12 0 13 #000000 #000000
0;
#X text 328 11 click =>;
#X obj 102 211 cos~;
#X text 30 50 The [cos~] object outputs the cosine of two pi times
its signal input. So -1 \, 0 \, 1 and 2 give 1 out \, 0.5 gives -1
\, and so on., f 63;
#X text 258 311 <-- output of the [cos~] object;
#X text 156 136 divide by 100;
#X text 147 105 <-- scroll to set input value;
#X connect 1 0 3 0;
#X connect 2 0 23 0;
#X connect 4 0 2 0;
#X connect 5 0 4 0;
#X connect 14 0 1 0;
#X connect 16 0 14 0;
#X connect 18 0 15 0;
#X connect 23 0 1 0;
