From c0dc3476a8baa832e6874b229470decfd522e3cd Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Thu, 21 May 2009 05:10:26 +0000 Subject: more work on the delegate/dispatch design pattern switched time- series to delegate/dispatch and added more beat-sync objects midi-stream2notes turns a continuous stream of midi notes into static lists of notes and durations - great for building sequencers but still has a bug. list-extract to "split" a list into a sublist and the remainder ds-criteria to get a pointer to the first item with a specific variable value svn path=/trunk/abstractions/sfruit/; revision=11471 --- sfruit/list-extract.pd | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sfruit/list-extract.pd (limited to 'sfruit/list-extract.pd') diff --git a/sfruit/list-extract.pd b/sfruit/list-extract.pd new file mode 100644 index 0000000..4961594 --- /dev/null +++ b/sfruit/list-extract.pd @@ -0,0 +1,35 @@ +#N canvas 249 403 450 300 10; +#X obj 92 200 list-slice; +#X obj 183 200 list-delete; +#X obj 120 143 t a a; +#X obj 149 176 + 1; +#X obj 92 80 t a a; +#X obj 92 31 inlet; +#X obj 183 263 outlet; +#X obj 92 262 outlet; +#X obj 246 19 inlet; +#X obj 246 70 t a; +#X obj 317 69 t a; +#X obj 317 19 inlet; +#X obj 188 18 loadbang; +#X obj 188 41 \$1; +#X obj 358 19 loadbang; +#X obj 358 42 \$2; +#X connect 0 0 7 0; +#X connect 1 0 6 0; +#X connect 2 0 0 1; +#X connect 2 1 3 0; +#X connect 3 0 0 2; +#X connect 4 0 0 0; +#X connect 4 1 1 0; +#X connect 5 0 4 0; +#X connect 8 0 9 0; +#X connect 9 0 2 0; +#X connect 9 0 1 1; +#X connect 10 0 3 1; +#X connect 10 0 1 2; +#X connect 11 0 10 0; +#X connect 12 0 13 0; +#X connect 13 0 9 0; +#X connect 14 0 15 0; +#X connect 15 0 10 0; -- cgit v1.2.1