#N canvas 0 26 748 439 10;
#X text 18 -12 Table-lookup oscillator or function generator;
#X floatatom 631 248 0 0 0 0 - - -;
#X obj 610 180 loadbang;
#X msg 610 200 22.5;
#X text 609 114 4 Using your function;
#X obj 610 271 *~ 0;
#X obj 610 226 cycle~ buffsky;
#X msg 403 106 437;
#X obj 403 83 loadbang;
#X obj 42 250 *~ 0.2;
#X obj 42 214 cycle~ 440;
#X obj 403 258 *~ 0.2;
#X floatatom 403 139 0 0 0 0 - - -;
#X msg 403 167 \$1 400;
#X obj 403 192 line~;
#X obj 403 224 cycle~;
#X obj 212 341 dac~;
#X obj 118 250 *~ 0.2;
#X obj 152 180 phasor~ 660;
#X obj 118 214 cycle~;
#X text 21 21 cycle~ uses a stored table of 512 samples to generate
functions. By default it uses a sine wave \, but you can give it a
function stored in a buffer~ object.;
#X text 9 117 frequency input (float or signal);
#X text 153 155 phase input (float or signal);
#X text 153 136 2 Driven by phase only (frequency is 0):;
#X text 12 103 1 argument sets frequency (default 0);
#N canvas 281 140 183 210 generate-buffer~ 0;
#X obj 40 30 loadbang;
#N canvas 50 40 152 247 sawtooth 0;
#X obj 80 145 - 2;
#X obj 80 120 * 2;
#X obj 22 119 * 2;
#X obj 22 95 split 0 0.5;
#X obj 22 59 / 512;
#X obj 22 33 inlet;
#X obj 22 208 outlet;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 1 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X restore 80 120 pd sawtooth;
#X obj 40 143 pack 0 0;
#X obj 40 98 t f f;
#X obj 40 76 line 0 1;
#X msg 40 56 0 \, 512 512;
#X obj 40 164 peek~ buffsky;
#X connect 0 0 5 0;
#X connect 1 0 2 1;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 1 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X restore 609 133 pd generate-buffer~;
#X text 661 249 listen?;
#X obj 609 154 table buffsky 512;
#X text 432 137 3 Using frequency input;
#X text 308 348 Symbol argument sets name of table to play from. Additional
int argument after that sets sample offset into the table (default
0);
#N canvas 380 180 494 382 META 0;
#X text 12 175 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template.;
#X text 12 145 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 12 45 DESCRIPTION table-lookup oscillator or function generator
;
#X text 12 65 INLET_0 signal;
#X text 12 85 INLET_0 signal;
#X text 12 105 OUTLET_0 signal;
#X text 12 5 KEYWORDS signal array max_compatible oscillator;
#X text 12 25 LICENSE SIBSD;
#X text 12 125 AUTHOR Krzysztof Czaja;
#X restore 696 397 pd META;
#X connect 1 0 5 1;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 5 0 16 1;
#X connect 6 0 5 0;
#X connect 7 0 12 0;
#X connect 8 0 7 0;
#X connect 9 0 16 0;
#X connect 10 0 9 0;
#X connect 11 0 16 1;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 11 0;
#X connect 17 0 16 0;
#X connect 18 0 19 1;
#X connect 19 0 17 0;
