aboutsummaryrefslogtreecommitdiff
path: root/sfruit/delegate.pd
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2009-05-21 05:10:26 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2009-05-21 05:10:26 +0000
commitc0dc3476a8baa832e6874b229470decfd522e3cd (patch)
tree508b5527ad31a1eb4bc8aa31026504cd0a7805e3 /sfruit/delegate.pd
parent3c670ef38aa37fa309ca0220f251279fbd94160d (diff)
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
Diffstat (limited to 'sfruit/delegate.pd')
-rw-r--r--sfruit/delegate.pd10
1 files changed, 10 insertions, 0 deletions
diff --git a/sfruit/delegate.pd b/sfruit/delegate.pd
new file mode 100644
index 0000000..3a9aa35
--- /dev/null
+++ b/sfruit/delegate.pd
@@ -0,0 +1,10 @@
+#N canvas 506 483 205 178 10;
+#X obj 44 64 inlet;
+#X obj 44 146 s \$1-delegates;
+#X obj 44 90 list prepend \$2;
+#X obj 44 117 list trim;
+#X obj 131 64 inlet;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 0;
+#X connect 4 0 2 1;