aboutsummaryrefslogtreecommitdiff
path: root/s-ireplace-help.pd
blob: 5395fe2b398f39d402afee44c5ae8b8dc6cea8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#N canvas 221 400 450 300 10;
#X msg 14 102 clear;
#X msg 28 134 rule 1 2 3 2 \, rule 2 3 3 1 \, rule 3 2 1;
#X floatatom 36 163 5 0 0 0 - - -;
#X obj 14 218 print;
#X text 12 10 s-replacer replaces integers with lists of other integers.
First \, set up rules using the 'rule x x x x x ...' message. The 'clear'
message clears out all rules. Next \, send the first integer of a rule
to recall the list that it corresponds to.;
#X text 88 164 <- 1 \, 2 \, and 3 will yeild the lists input above.
;
#X obj 14 196 s-ireplace;
#X connect 0 0 6 0;
#X connect 1 0 6 0;
#X connect 2 0 6 0;
#X connect 6 0 3 0;