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/dispatch-many.pd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sfruit/dispatch-many.pd (limited to 'sfruit/dispatch-many.pd') diff --git a/sfruit/dispatch-many.pd b/sfruit/dispatch-many.pd new file mode 100644 index 0000000..fb5911d --- /dev/null +++ b/sfruit/dispatch-many.pd @@ -0,0 +1,13 @@ +#N canvas 285 439 450 300 10; +#X obj 151 211 sendmany; +#X obj 196 150 list-map; +#X obj 265 144 list prepend \$1; +#X obj 196 112 inlet; +#X obj 151 112 inlet; +#X msg 265 170 \$1*\$2-dispatcher; +#X connect 1 0 0 1; +#X connect 1 1 2 0; +#X connect 2 0 5 0; +#X connect 3 0 1 0; +#X connect 4 0 0 0; +#X connect 5 0 1 1; -- cgit v1.2.1