#N canvas 427 24 559 571 10;
#X obj -1 784 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 378 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 621 308 352 262 META 0;
#X text 2 65 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 2 -106 LICENSE SIBSD;
#X text 2 46 AUTHOR Miller Puckette;
#X text 2 84 RELEASE_DATE 1997;
#X text 2 27 LIBRARY cyclone;
#X text 2 -11 OUTLET_0 signal;
#X text 2 103 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X text 2 -125 KEYWORDS signal metronome pulse train generator;
#X text 2 -87 DESCRIPTION pulse-train generator and metronome;
#X text 2 -68 INLET_0 signal float;
#X text 2 8 OUTLET_1 bang;
#X text 2 -49 INLET_1 signal float;
#X text 2 -30 INLET_2 signal float;
#X restore 500 786 pd META;
#X obj -1 528 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 590 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj -1 666 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 312 458 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 202 786 pd Related_objects;
#X obj 78 387 cnv 17 3 36 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj 78 436 cnv 17 3 35 empty \$0-pddp.cnv.let.0 1 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header train~ 3 12 0 18
-204280 -1 0;
#X obj 501 9 train~;
#X text 11 23 Pulse-train generator and metronome;
#X text 105 386 signal;
#X text 105 407 float;
#X obj 78 482 cnv 17 3 35 empty \$0-pddp.cnv.let.0 2 5 9 0 16 -228856
-162280 0;
#X obj 78 537 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 105 434 signal;
#X text 105 454 float;
#X text 105 481 signal;
#X text 105 502 float;
#X text 178 434 - set pulse width (.01-.99);
#X text 178 481 - sets phase of 0-1 transitions within pulse period
(0 to 1);
#X text 179 386 - set pulse period (ms);
#X text 105 537 signal;
#X text 178 537 - the pulse train signal;
#X text 86 604 1) float;
#X text 86 622 2) float;
#X text 178 605 - initial interval in ms (defaul 1000);
#X text 178 622 - initial width (default .5);
#X text 178 639 - initial phase (default 0);
#X text 86 638 3) float;
#X text 104 678 train~ generates a pulse signal whose period is specifiable
in terms of milliseconds (see <~ for a method of making a pulse wave
at a specified frequency). It also sends out a bang when going from
0 to 1 \, so it can be used as a metronome with a floating-point interval.
The signal output can be used as a control input for sah~ as shown
in the example below \, or at very small intervals \, it is audible.
;
#X obj 78 564 cnv 17 3 17 empty \$0-pddp.cnv.let.0 1 5 9 0 16 -228856
-162280 0;
#X text 105 564 bang;
#X text 178 564 - when transition from 0 to 1 occurs;
#X floatatom 181 157 0 0 0 0 - - -;
#X obj 42 295 *~ 0.2;
#X obj 42 333 dac~;
#X obj 42 273 cycle~;
#X obj 42 248 *~ 1000;
#X msg 94 81 200 \, 100 5000 200 5000;
#X obj 41 183 noise~;
#X obj 42 224 sah~;
#X obj 181 230 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom 137 130 0 0 0 0 - - -;
#X text 206 230 bang output when transition from 0 to 1 occurs;
#X text 161 129 signal/float sets pulse width (0.01 to .99);
#X text 156 102 signal/float sets pulse period (ms);
#X text 196 184 Optional arguments set initial interval (default 1000)
\, width (default .5) \, and phase (default 0).;
#X text 93 66 modulate interval;
#X obj 94 102 Line~ 200;
#X obj 94 191 train~ 200 0.75;
#X obj 482 53 pddp/dsp;
#X text 208 149 signal/float sets phase of 0-1 transition within pulse
period (0 to 1);
#X obj 10 784 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 35 0 51 2;
#X connect 36 0 37 0;
#X connect 36 0 37 1;
#X connect 38 0 36 0;
#X connect 39 0 38 0;
#X connect 40 0 50 0;
#X connect 41 0 42 0;
#X connect 42 0 39 0;
#X connect 44 0 51 1;
#X connect 50 0 51 0;
#X connect 51 0 42 1;
#X connect 51 1 43 0;
