blob: 4f9d4b0effd6f740642b9ce1cbde2e65aef15a53 (
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
#N canvas 617 83 567 530 10;
#X obj 0 653 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 339 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 589 462 372 220 META 0;
#X text 0 18 LICENSE SIBSD;
#X text 0 108 LIBRARY cyclone;
#X text 0 0 KEYWORDS signal oscillator function generator sine wave
;
#X text 0 36 DESCRIPTION table-lookup oscillator or function generator
;
#X text 0 54 INLET_0 float signal;
#X text 0 72 INLET_1 float signal;
#X text 0 90 OUTLET_0 signal;
#X text 0 128 VERSION 0.1-alpha57;
#X text 0 146 AUTHOR Krzysztof Czaja;
#X text 1 164 RELEASE_DATE 2002;
#X text 2 183 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 215 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 655 pd META;
#X obj 0 448 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 485 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 0 578 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#N canvas 302 575 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 207 655 pd Related_objects;
#X obj 78 349 cnv 17 3 33 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 78 401 cnv 17 3 33 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty cycle~ 3 12 0 18 -204280 -1 0
;
#X text 12 23 Table-lookup oscillator or function generator;
#X obj 380 173 phasor~ 660;
#X text 27 145 frequency input (float or signal);
#X text 296 146 phase input (float or signal);
#X text 296 127 2 Driven by phase only (frequency is 0):;
#X text 27 128 1 argument sets frequency (default 0);
#X text 110 350 float;
#X text 110 365 signal;
#X text 165 356 - set frequnecy;
#X obj 78 457 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 110 399 float;
#X text 110 414 signal;
#X text 165 405 - drive by phase only (frequency is 0);
#X text 110 456 signal;
#X text 165 454 - the signal with given frequency or phase;
#X text 109 522 buffer;
#X text 165 522 - can give function stored in buffer object;
#X obj 504 4 cycle~;
#X text 28 52 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 97 595 Symbol argument sets name of table to play from. Additional
int argument after that sets sample offset into the table (default
0);
#X obj 169 278 output~;
#X obj 200 242 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 168 242 *~ 0;
#X obj 228 242 *~ 0;
#X obj 260 242 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 33 179 cyclone/cycle~ 440;
#X obj 300 207 cyclone/cycle~;
#N canvas 1132 443 431 349 more 0;
#X obj 248 109 loadbang;
#X msg 248 134 22.5;
#X text 242 32 4 Using your function;
#X msg 49 78 437;
#X obj 49 53 loadbang;
#X floatatom 49 103 0 0 0 0 - - -;
#X msg 49 128 \$1 400;
#X obj 49 153 line~;
#N canvas 277 196 183 210 generate-buffer~ 0;
#X obj 49 36 loadbang;
#N canvas 48 107 152 247 sawtooth 0;
#X obj 91 151 - 2;
#X obj 91 126 * 2;
#X obj 33 125 * 2;
#X obj 33 101 split 0 0.5;
#X obj 33 65 / 512;
#X obj 33 39 inlet;
#X obj 33 214 outlet;
#X obj 2 1 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#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 94 126 pd sawtooth;
#X obj 49 149 pack 0 0;
#X obj 49 104 t f f;
#X obj 49 82 line 0 1;
#X msg 49 62 0 \, 512 512;
#X obj 49 170 peek~ buffsky;
#X obj 2 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 5 1 Buffer contents generator;
#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 247 54 pd generate-buffer~;
#X obj 247 75 table buffsky 512;
#X text 44 30 3 Using frequency input;
#X obj 156 254 output~;
#X obj 187 219 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 155 218 *~ 0;
#X obj 215 218 *~ 0;
#X obj 247 219 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 49 178 cyclone/cycle~;
#X obj 2 3 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 5 4 Frequency input and using a lookup table;
#X obj 248 160 cyclone/cycle~ buffsky 100;
#X connect 0 0 1 0;
#X connect 1 0 19 0;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 16 0;
#X connect 12 0 13 1;
#X connect 13 0 11 0;
#X connect 13 0 11 1;
#X connect 14 0 11 0;
#X connect 14 0 11 1;
#X connect 15 0 14 1;
#X connect 16 0 13 0;
#X connect 19 0 14 0;
#X restore 321 289 pd more examples;
#X text 108 504 float;
#X text 108 541 float;
#X text 165 541 - sample offset (optional);
#X text 165 504 - default frequency (optional);
#X connect 11 0 36 1;
#X connect 31 0 32 1;
#X connect 32 0 30 0;
#X connect 32 0 30 1;
#X connect 33 0 30 0;
#X connect 33 0 30 1;
#X connect 34 0 33 1;
#X connect 35 0 32 0;
#X connect 36 0 33 0;
|