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/gui-dispatch.pd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sfruit/gui-dispatch.pd (limited to 'sfruit/gui-dispatch.pd') diff --git a/sfruit/gui-dispatch.pd b/sfruit/gui-dispatch.pd new file mode 100644 index 0000000..bf2fca7 --- /dev/null +++ b/sfruit/gui-dispatch.pd @@ -0,0 +1,9 @@ +#N canvas 485 553 237 262 10; +#X obj 46 146 list trim; +#X obj 46 173 s \$1-dispatcher; +#X obj 46 95 r \$2-\$3-s; +#X text 32 35 [gui-dispatch \$1 \$0 message]; +#X obj 46 121 list prepend \$3; +#X connect 0 0 1 0; +#X connect 2 0 4 0; +#X connect 4 0 0 0; -- cgit v1.2.1