diff options
author | Luke Iannini <lukeiannini@users.sourceforge.net> | 2009-05-07 05:03:07 +0000 |
---|---|---|
committer | Luke Iannini <lukeiannini@users.sourceforge.net> | 2009-05-07 05:03:07 +0000 |
commit | 82be5712f7be8e63e18b0828de7958b758999337 (patch) | |
tree | 92694a542e9cbe867af596782b9fd2a675b70e1f /sfruit/list-part.pd | |
parent | 952e8c6b3b042993edcf42dd250dcea80fe41430 (diff) |
finished list-part for parsing delimited lists and added list-partslow to the family
added no-dsp, an object to disable DSP while an operation is run and then turn it back on
made a miniature version of crikey (keyboard-to-"midi" translator) that's much less fiddly than the big version
svn path=/trunk/abstractions/sfruit/; revision=11253
Diffstat (limited to 'sfruit/list-part.pd')
-rw-r--r-- | sfruit/list-part.pd | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/sfruit/list-part.pd b/sfruit/list-part.pd index d194b6e..fc1a8d6 100644 --- a/sfruit/list-part.pd +++ b/sfruit/list-part.pd @@ -1,24 +1,38 @@ -#N canvas 59 429 450 300 10; +#N canvas 9 131 450 300 10; #X obj 123 127 list-find; #X obj 123 84 list append \$1; #X obj 123 14 inlet; #X obj 123 156 once; -#X obj 123 47 t b a b a; #X obj 124 229 list split; #X obj 124 204 list; #X obj 124 178 t b a; #X obj 124 273 outlet; #X obj 195 269 outlet; +#X obj 152 249 list split 1; +#X text 229 249 remove the separator; +#X obj 174 156 sel 0; +#X obj 123 47 t b a b a a; +#X obj 174 200 list; +#X obj 174 178 t b b; +#X text 208 176 if we didn't find the separator \, just output the +input from the left and a bang from the right.; #X connect 0 0 3 0; +#X connect 0 1 11 0; #X connect 1 0 0 0; -#X connect 2 0 4 0; -#X connect 3 0 7 0; -#X connect 4 0 1 0; -#X connect 4 1 0 1; -#X connect 4 2 3 1; -#X connect 4 3 6 1; -#X connect 5 0 8 0; -#X connect 5 1 9 0; +#X connect 2 0 12 0; +#X connect 3 0 6 0; +#X connect 4 0 7 0; +#X connect 4 1 9 0; +#X connect 5 0 4 0; #X connect 6 0 5 0; -#X connect 7 0 6 0; -#X connect 7 1 5 1; +#X connect 6 1 4 1; +#X connect 9 1 8 0; +#X connect 11 0 14 0; +#X connect 12 0 1 0; +#X connect 12 1 0 1; +#X connect 12 2 3 1; +#X connect 12 3 5 1; +#X connect 12 4 13 1; +#X connect 13 0 7 0; +#X connect 14 0 13 0; +#X connect 14 1 8 0; |