aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/sah~-help.pd
blob: 03cf09eb945304d3337ef01461ce7a595064e64c (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
134
#N canvas 619 82 569 531 10;
#X obj 0 736 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 429 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 615 283 356 243 META 0;
#X text 1 19 LICENSE SIBSD;
#X text 1 114 LIBRARY cyclone;
#X text 1 95 OUTLET_0 signal;
#X text 1 0 KEYWORDS signal sample hold arpeggiator;
#X text 1 76 INLET_1 signal;
#X text 1 57 INLET_0 signal float;
#X text 1 38 DESCRIPTION sample-and-hold;
#X text 0 134 VERSION 0.1-alpha57;
#X text 0 152 AUTHOR Krzysztof Czaja;
#X text 1 170 RELEASE_DATE 2002;
#X text 2 189 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 221 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 500 738 pd META;
#X obj 0 517 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 554 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 0 604 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#N canvas 311 415 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 199 738 pd Related_objects;
#X obj 80 439 cnv 17 3 34 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 80 527 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty sah~ 3 12 0 18 -204280 -1 0;
#X obj 509 8 sah~;
#X text 109 437 signal;
#X obj 80 488 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 109 487 signal;
#X text 180 487 - control signal;
#X text 180 438 - input signal to sample;
#X text 109 527 signal;
#X text 180 527 - output samples of input signal when control triggers
;
#X text 91 565 1) float;
#X text 180 564 - sets trigger value for control input (default 0)
\, needs to be above 0 to work with phasor~;
#X text 107 614 The sah~ object accepts two signals. The left signal
is the "input" and the right signal is the "control." When the control
makes a transition from being at or below the trigger value to being
above the trigger value \, the input is sampled and its current value
is output until another control transition occurs and the input is
sampled again. The default threshold value is 0 \, but can be specified
via a float in the left inlet or as an argument to sah~.;
#X obj 94 313 *~ 1000;
#X obj 94 356 *~ 0.2;
#X floatatom 94 81 0 0 0 0 - - -;
#X obj 94 105 phasor~ 20;
#X floatatom 194 134 0 0 0 0 - - -;
#X floatatom 100 131 0 0 0 0 - - -;
#X obj 194 156 phasor~ 11.33;
#X text 44 43 You've heard it before: the classic arpeggiator \, made
with two phasor~ objects;
#X text 10 23 Sample-and-hold;
#X text 109 457 float;
#X text 180 458 - set trigger;
#X obj 94 231 cyclone/sah~ 0.01;
#X obj 94 335 cyclone/cycle~;
#X obj 93 385 output~;
#X obj 100 153 / 100;
#N canvas 823 299 450 477 how 0;
#X obj 32 336 *~ 1000;
#X obj 32 379 *~ 0.2;
#X floatatom 32 116 0 0 0 0 - - -;
#X floatatom 132 169 0 0 0 0 - - -;
#X obj 32 266 cyclone/sah~ 0.01;
#X obj 32 358 cyclone/cycle~;
#X obj 31 408 output~;
#X obj 298 135 vsl 15 128 0 1 0 0 empty empty signal 0 -18 0 10 -262144
-1 -1 7587 1;
#X obj 326 135 vsl 15 128 0 1 0 0 empty empty control 0 -9 0 10 -262144
-1 -1 7940 1;
#X obj 346 135 vsl 15 128 0 1 0 0 empty empty trigger_level 20 5 0
10 -262144 -1 -1 6350 1;
#X obj 35 62 hsl 128 15 1 2 0 0 empty empty signal_frequency_range
-2 -8 0 10 -262144 -1 -1 0 1;
#X obj 135 90 hsl 128 15 1 2 0 0 empty empty control_frequency_range
-2 -8 0 10 -262144 -1 -1 0 1;
#X obj 145 116 cyclone/Snapshot~ 100;
#X obj 140 224 cyclone/Snapshot~ 100;
#X floatatom 346 271 5 0 0 0 - - -, f 5;
#X obj 32 140 phasor~ 1.35;
#X obj 132 191 phasor~ 1.25;
#X text 77 289 When the control signal level is greater than the trigger
level the sample-and-hold locks on the current signal frequency.;
#X obj 0 0 cnv 15 552 40 empty empty empty 3 12 0 18 -204280 -1 0;
#X text 32 21 low frequency demo / test;
#X obj 346 66 loadbang;
#X msg 346 88 0.5;
#X connect 0 0 5 0;
#X connect 1 0 6 0;
#X connect 1 0 6 1;
#X connect 2 0 15 0;
#X connect 3 0 16 0;
#X connect 4 0 0 0;
#X connect 5 0 1 0;
#X connect 9 0 4 0;
#X connect 9 0 14 0;
#X connect 10 0 2 0;
#X connect 11 0 3 0;
#X connect 12 0 7 0;
#X connect 13 0 8 0;
#X connect 15 0 4 0;
#X connect 15 0 12 0;
#X connect 16 0 4 1;
#X connect 16 0 13 0;
#X connect 20 0 21 0;
#X connect 21 0 9 0;
#X restore 367 403 pd how it works;
#X connect 21 0 33 0;
#X connect 22 0 34 0;
#X connect 22 0 34 1;
#X connect 23 0 24 0;
#X connect 24 0 32 0;
#X connect 25 0 27 0;
#X connect 26 0 35 0;
#X connect 27 0 32 1;
#X connect 32 0 21 0;
#X connect 33 0 22 0;
#X connect 35 0 32 0;