blob: 8f0aa2a44e3ede97fe920b4c08904e46a924c197 (
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
|
#N canvas 501 79 558 431 10;
#X obj 0 402 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 226 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 613 201 357 237 META 0;
#X text 0 19 LICENSE SIBSD;
#X text 0 127 LIBRARY cyclone;
#X text 0 0 KEYWORDS substitute symbol replace;
#X text 0 38 DESCRIPTION substitute a symbol for another symbol in
a message;
#X text 0 70 INLET_0 message;
#X text 0 89 INLET_1 message;
#X text 0 108 OUTLET_0 message;
#X text 0 147 VERSION 0.1-alpha57;
#X text 0 165 AUTHOR Krzysztof Czaja;
#X text 1 183 RELEASE_DATE 2002;
#X text 2 202 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 234 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 497 404 pd META;
#X obj 0 303 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 340 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#N canvas 314 328 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 201 404 pd Related_objects;
#X obj 79 235 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 312 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty substitute 3 12 0 18 -204280 -1
0;
#X obj 478 10 substitute;
#X text 12 23 substitute a symbol for another symbol in a message;
#X msg 237 89 bar foo;
#X text 107 235 message;
#X text 182 235 - string to input and check for substitution;
#X obj 79 264 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 107 264 message;
#X text 182 264 - format <str1> <str2> \, change replacement policy
to if see str1 change to str2;
#X text 107 312 message;
#X text 182 312 - output message with replaced strings;
#X text 90 352 1) string;
#X text 90 370 2) string;
#X text 184 352 - string to search for;
#X text 184 370 - string to replace with;
#X obj 84 141 cyclone/substitute foo boo;
#X msg 54 47 far boo;
#X msg 84 69 bar foo;
#X obj 84 201 print sub;
#X obj 237 202 print nosub;
#X connect 11 0 23 1;
#X connect 23 0 26 0;
#X connect 23 1 27 0;
#X connect 24 0 23 0;
#X connect 25 0 23 0;
|