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/randrange.pd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sfruit/randrange.pd (limited to 'sfruit/randrange.pd') diff --git a/sfruit/randrange.pd b/sfruit/randrange.pd new file mode 100644 index 0000000..b4622d9 --- /dev/null +++ b/sfruit/randrange.pd @@ -0,0 +1,29 @@ +#N canvas 577 71 429 347 10; +#X obj 151 201 random; +#X obj 151 239 + \$1; +#X obj 151 81 inlet; +#X obj 151 275 outlet; +#X obj 218 81 inlet; +#X obj 344 51 inlet; +#X obj 218 106 t a a; +#X obj 245 149 expr abs($f2-$f1); +#X obj 280 31 loadbang; +#X obj 280 52 t b b; +#X obj 307 79 \$2; +#X obj 280 79 \$1; +#X obj 307 111 t b a; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 0 0; +#X connect 4 0 6 0; +#X connect 5 0 12 0; +#X connect 6 0 1 1; +#X connect 6 1 7 0; +#X connect 7 0 0 1; +#X connect 8 0 9 0; +#X connect 9 0 11 0; +#X connect 9 1 10 0; +#X connect 10 0 12 0; +#X connect 11 0 6 0; +#X connect 12 0 7 0; +#X connect 12 1 7 1; -- cgit v1.2.1