aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/train~-help.pd
blob: 79210493c305a8d1ae285c075f9ca3aab2a37430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#N canvas 527 90 570 530 10;
#X obj 0 806 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 400 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 619 307 352 262 META 0;
#X text 0 19 LICENSE SIBSD;
#X text 0 152 LIBRARY cyclone;
#X text 0 114 OUTLET_0 signal;
#X text 0 0 KEYWORDS signal metronome pulse train generator;
#X text 0 38 DESCRIPTION pulse-train generator and metronome;
#X text 0 57 INLET_0 signal float;
#X text 0 133 OUTLET_1 bang;
#X text 0 76 INLET_1 signal float;
#X text 0 95 INLET_2 signal float;
#X text 0 171 VERSION 0.1-alpha57;
#X text 0 189 AUTHOR Krzysztof Czaja;
#X text 1 207 RELEASE_DATE 2002;
#X text 2 226 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 258 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland
updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan
adapted the patch to pd-extended 2015-02-02;
#X restore 501 808 pd META;
#X obj 0 550 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 612 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 0 688 cnv 3 550 3 empty empty 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 empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 203 808 pd Related_objects;
#X obj 79 409 cnv 17 3 36 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 458 cnv 17 3 35 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty train~ 3 12 0 18 -204280 -1 0
;
#X obj 502 9 train~;
#X text 12 23 Pulse-train generator and metronome;
#X text 106 408 signal;
#X text 106 429 float;
#X obj 79 504 cnv 17 3 35 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X obj 79 559 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 106 456 signal;
#X text 106 476 float;
#X text 106 503 signal;
#X text 106 524 float;
#X text 179 456 - set pulse width (.01-.99);
#X text 179 503 - sets phase of 0-1 transitions within pulse period
(0 to 1);
#X text 180 408 - set pulse period (ms);
#X text 106 559 signal;
#X text 179 559 - the pulse train signal;
#X text 87 626 1) float;
#X text 87 644 2) float;
#X text 179 627 - initial interval in ms (defaul 1000);
#X text 179 644 - initial width (default .5);
#X text 179 661 - initial phase (default 0);
#X text 87 660 3) float;
#X text 105 700 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 79 586 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 106 586 bang;
#X text 179 586 - when transition from 0 to 1 occurs;
#X floatatom 286 108 0 0 0 0 - - -;
#X obj 82 321 *~ 0.2;
#X obj 82 277 *~ 1000;
#X msg 151 61 200 \, 100 5000 200 5000;
#X obj 81 232 noise~;
#X obj 286 254 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom 218 107 0 0 0 0 - - -;
#X text 150 43 modulate interval;
#X obj 82 345 output~;
#X obj 151 185 cyclone/train~ 200 0.75;
#X obj 82 255 cyclone/sah~;
#X obj 82 299 cyclone/cycle~;
#X obj 151 82 cyclone/Line~ 200;
#N canvas 621 382 436 314 simple 0;
#X floatatom 99 290 5 0 0 0 - - -;
#X obj 40 177 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X msg 109 69 500;
#X obj 98 199 cyclone/train~;
#X msg 98 47 1000;
#X obj 141 90 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 143 108 5 0 0 0 - - -;
#X floatatom 191 116 5 0 100 0 - - -;
#X obj 179 247 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 191 137 / 100;
#X text 144 54 pulse rate (ms);
#X text 280 88 pulse width (1-99%);
#X text 234 115 pulse phase (1-99%);
#X obj 99 267 cyclone/Snapshot~ 100;
#X obj 3 5 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 5 6 Simple message-only example;
#X connect 2 0 3 0;
#X connect 3 0 13 0;
#X connect 3 1 8 0;
#X connect 4 0 3 0;
#X connect 5 0 3 1;
#X connect 5 0 6 0;
#X connect 7 0 9 0;
#X connect 9 0 3 2;
#X connect 13 0 0 0;
#X connect 13 0 1 0;
#X restore 341 341 pd simple example;
#X connect 35 0 44 2;
#X connect 36 0 43 0;
#X connect 36 0 43 1;
#X connect 37 0 46 0;
#X connect 38 0 47 0;
#X connect 39 0 45 0;
#X connect 41 0 44 1;
#X connect 44 0 45 1;
#X connect 44 1 40 0;
#X connect 45 0 37 0;
#X connect 46 0 36 0;
#X connect 47 0 44 0;