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/time-next_beat.pd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sfruit/time-next_beat.pd (limited to 'sfruit/time-next_beat.pd') diff --git a/sfruit/time-next_beat.pd b/sfruit/time-next_beat.pd new file mode 100644 index 0000000..c256cf0 --- /dev/null +++ b/sfruit/time-next_beat.pd @@ -0,0 +1,17 @@ +#N canvas 0 22 450 300 10; +#X obj 144 226 del; +#X obj 144 167 timer; +#X obj 144 90 t b a; +#X obj 144 194 expr $f2 - $f1; +#X obj 112 39 inlet; +#X obj 112 90 t b; +#X obj 144 255 outlet; +#X obj 144 65 get_delegate time-clock next_beat_in; +#X connect 0 0 6 0; +#X connect 1 0 3 0; +#X connect 2 0 1 0; +#X connect 2 1 3 1; +#X connect 3 0 0 0; +#X connect 4 0 5 0; +#X connect 5 0 1 1; +#X connect 7 0 2 0; -- cgit v1.2.1