aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/sah~-help.pd
blob: 3d55e45e78805575843ee7bf3023c145e4936cf6 (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
#N canvas 621 81 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;
#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;