From 22c350f7f8750c4deee8d7792e91d042c25bce2b Mon Sep 17 00:00:00 2001 From: Frank Barknecht Date: Sat, 28 Apr 2007 07:44:59 +0000 Subject: removed more externals from Memento. only OSCroute and pool are left. svn path=/trunk/abstractions/rradical/; revision=7611 --- memento/OSCprepend.pd | 46 ++++++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'memento/OSCprepend.pd') diff --git a/memento/OSCprepend.pd b/memento/OSCprepend.pd index 215d450..efe01f9 100644 --- a/memento/OSCprepend.pd +++ b/memento/OSCprepend.pd @@ -1,16 +1,30 @@ -#N canvas 457 273 505 389 10; -#X msg 304 166 set \$1%s; -#X obj 150 83 inlet; -#X obj 304 86 inlet; -#X obj 150 283 outlet; -#X obj 304 117 symbol; -#X obj 150 205 tosymbol; -#X obj 150 248 fromsymbol; -#X obj 150 226 makefilename \$1%s; -#X connect 0 0 7 0; -#X connect 1 0 5 0; -#X connect 2 0 4 0; -#X connect 4 0 0 0; -#X connect 5 0 7 0; -#X connect 6 0 3 0; -#X connect 7 0 6 0; +#N canvas 511 144 636 444 10; +#X obj 45 131 list split 1; +#X msg 94 90 /a 1 2 3; +#X obj 45 276 list append; +#X obj 45 299 list trim; +#X obj 45 239 makefilename \$1%s; +#X obj 45 188 route symbol; +#X obj 45 89 inlet; +#X obj 45 319 outlet; +#X text 215 99 "Prepends" first argument to an OSC message list.; +#X text 221 126 Example: with \$1 being "/synth" the message "/set +x 1 2" will become "/synth/set x 1 2".; +#X text 223 163 Right inlet lets you change the prepended argument +; +#X msg 146 209 set \$1%s; +#X obj 146 185 symbol; +#X obj 146 163 inlet; +#X text 224 189 Lists not starting with a symbol are filtered out! +; +#X connect 0 0 5 0; +#X connect 0 1 2 1; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 7 0; +#X connect 4 0 2 0; +#X connect 5 0 4 0; +#X connect 6 0 0 0; +#X connect 11 0 4 0; +#X connect 12 0 11 0; +#X connect 13 0 12 0; -- cgit v1.2.1