aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/peek~-help.pd
blob: acd668306960b689827876d891272ca2fcaff38f (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 620 81 568 531 10;
#X obj 0 618 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 409 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 611 292 363 263 META 0;
#X text 0 19 LICENSE SIBSD;
#X text 0 133 LIBRARY cyclone;
#X text 0 76 INLET_1 float;
#X text 0 0 KEYWORDS read write sample table graph array;
#X text 0 38 DESCRIPTION read and write sample values;
#X text 0 57 INLET_0 list float setx;
#X text 0 95 INLET_2 ?????;
#X text 0 114 OUTLET_0 float;
#X text 0 152 VERSION 0.1-alpha57;
#X text 0 170 AUTHOR Krzysztof Czaja;
#X text 1 188 RELEASE_DATE 2002;
#X text 2 207 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 239 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 498 620 pd META;
#X obj 0 540 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 577 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#N canvas 321 451 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 206 620 pd Related_objects;
#X obj 79 420 cnv 17 3 45 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 479 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty peek~ 3 12 0 18 -204280 -1 0;
#X text 12 24 read and write sample values;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-table 100 float 1;
#A 0 0 0 -0.0285711 -0.0714278 -0.0857134 -0.142856 -0.157141 -0.185712
-0.228569 -0.242855 -0.285711 -0.328568 -0.371425 -0.414281 -0.457138
-0.499995 -0.542851 -0.585708 -0.614279 -0.657136 -0.699993 -0.728564
-0.77142 -0.799992 -0.842848 -0.871419 -0.899991 -0.914276 -0.928562
-0.928562 -0.928562 -0.914276 -0.899991 -0.885705 -0.871419 -0.857134
-0.842848 -0.814277 -0.799992 -0.77142 -0.742849 -0.671422 -0.628565
-0.585708 -0.528566 -0.471424 -0.414281 -0.314282 -0.142856 0.12857
0.199998 0.299997 0.38571 0.428567 0.485709 0.542851 0.599994 0.64285
0.671422 0.714278 0.742849 0.77142 0.799992 0.814277 0.828563 0.842848
0.871419 0.885705 0.914276 0.928562 0.942847 0.957133 0.971418 0.971418
0.971418 0.971418 0.971418 0.971418 0.971418 0.971418 0.957133 0.928562
0.914276 0.899991 0.885705 0.871419 0.842848 0.814277 0.77142 0.742849
0.685707 0.64285 0.585708 0.51428 0.399996 0.271426 0.185712 0.099999
0 0;
#X coords 0 1 99 -1 200 140 1 0 0;
#X restore 18 96 graph;
#X floatatom 260 373 5 0 0 0 - - -;
#X floatatom 342 181 5 0 0 0 - - -;
#X msg 260 60 4 1;
#X msg 293 60 10 1;
#X obj 297 98 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 297 120 t b b;
#X msg 297 144 12;
#X msg 324 144 1;
#X msg 337 247 clip \$1;
#X obj 337 223 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 357 222 en/disable -1/+1 clipping;
#X text 108 418 list;
#X text 108 434 float;
#X text 179 434 - set x value (set y value at same time in other outlet)
;
#X obj 79 550 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 108 479 float;
#X text 179 479 - set y value (set x value at same time in other outlet)
;
#X text 108 450 set x;
#X text 179 450 - set new table;
#X text 108 550 float;
#X text 179 550 - output y value correspoing to input x;
#X text 90 588 1) table;
#X text 179 588 - initial table to store x \, y pair into;
#X text 179 418 - output y value coresponding to input x;
#X obj 507 7 peek~;
#X text 9 57 first \, draw something here:;
#X text 14 281 read the y value by setting x here;
#X text 316 95 ...or like this...;
#X obj 79 508 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 326 51 to change values in;
#X text 326 63 the table \, use lists...;
#X text 378 170 ...or set the y val here;
#X text 392 182 and then set the x val;
#X text 392 194 in the first inlet;
#X text 108 508 float;
#X text 179 508 - number of channels (Max/MSP only feature);
#X obj 260 313 cyclone/peek~ \$0-table;
#N canvas 867 285 485 231 multichannel 0;
#X text 53 59 could not get it to work properly as of yet...;
#X text 52 70 sorry;
#X text 53 37 in case you were wondering \, that's what the;
#X text 53 48 third inlet is good for \, unfortunately I;
#X text 48 101 quoting krzyszzof czaja again:;
#X text 49 125 > MSP's peek~ is single channel unlike other buffer~
;
#X text 49 136 > clients. One may choose a channel with an argument
;
#X text 49 147 > or change it via an inlet but I am not sure how to
;
#X text 50 159 > emulate this in pd.;
#X obj 3 3 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 8 4 The third inlet;
#X restore 424 380 pd multichannel ?;
#X obj 18 239 hsl 200 14 0 100 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 3000 1;
#X floatatom 15 265 5 0 0 0 - - -;
#X text 209 372 y value;
#X text 7 92 1;
#X text 0 221 -1;
#X connect 12 0 47 1;
#X connect 13 0 47 0;
#X connect 14 0 47 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 16 1 18 0;
#X connect 17 0 47 0;
#X connect 18 0 47 1;
#X connect 19 0 47 0;
#X connect 20 0 19 0;
#X connect 47 0 11 0;
#X connect 49 0 47 0;
#X connect 49 0 50 0;