diff options
Diffstat (limited to 'score-help.pd')
-rw-r--r-- | score-help.pd | 118 |
1 files changed, 66 insertions, 52 deletions
diff --git a/score-help.pd b/score-help.pd index a049bab..7c981f7 100644 --- a/score-help.pd +++ b/score-help.pd @@ -1,52 +1,66 @@ -#N canvas 246 86 629 516 12;
-#X floatatom 30 301 5 0 0;
-#X obj 30 12 notein;
-#X obj 193 202 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X msg 95 93 start;
-#X msg 104 118 stop;
-#X text 217 203 reset;
-#X text 145 92 start / stop score following;
-#X msg 111 146 start 4;
-#X text 176 146 start skipping first 4 notes;
-#X obj 193 286 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699
--1;
-#X text 217 287 error;
-#X text 148 24 score :: score follower that tries to match incoming
-;
-#X text 221 41 MIDI data to a score stored in an array;
-#X text 219 57 outputs the index number of current position;
-#X obj 23 423 loadbang;
-#N canvas 0 0 450 300 graph2 0;
-#X array sco_array 25 float 1;
-#A 0 60 61 62 63 64 65 66 67 68 69 70 71 72 71 70 69 68 67 66 65 64
-63 62 61 60;
-#X coords 0 127 24 0 200 140 1;
-#X restore 402 361 graph;
-#X obj 30 235 score sco_array 2 300;
-#X msg 130 173 set sco_array;
-#X msg 23 449 \; sco_array resize 25 \; sco_array read examplescore.txt
-\;;
-#X text 250 174 set to array that contains the score;
-#X text 88 303 position on score;
-#X text 86 322 (x index of array);
-#X obj 30 356 tabread sco_array;
-#X floatatom 30 387 5 0 0;
-#X text 86 388 note from score;
-#X text 291 255 array: name of array containing score;
-#X text 235 234 USAGE: score <array> <skipitems> <skiptime>;
-#X text 292 272 skipitems: max. number of notes to skip;
-#X text 292 289 skip time: max. time [ms] to rewind;
-#X text 378 307 input data;
-#X connect 0 0 22 0;
-#X connect 1 0 16 0;
-#X connect 1 1 16 1;
-#X connect 2 0 16 2;
-#X connect 3 0 16 0;
-#X connect 4 0 16 0;
-#X connect 7 0 16 0;
-#X connect 14 0 18 0;
-#X connect 16 0 0 0;
-#X connect 16 1 9 0;
-#X connect 17 0 16 0;
-#X connect 22 0 23 0;
+#N canvas 0 26 623 545 12; +#X floatatom 30 301 5 0 0 0 - - -; +#X obj 30 12 notein; +#X obj 193 202 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 95 93 start; +#X msg 104 118 stop; +#X text 217 203 reset; +#X text 145 92 start / stop score following; +#X msg 111 146 start 4; +#X text 176 146 start skipping first 4 notes; +#X obj 193 286 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 +-1; +#X text 217 287 error; +#X text 148 24 score :: score follower that tries to match incoming +; +#X text 221 41 MIDI data to a score stored in an array; +#X text 219 57 outputs the index number of current position; +#X obj 23 423 loadbang; +#N canvas 0 0 450 300 (subpatch) 0; +#X array sco_array 25 float 1; +#A 0 60 61 62 63 64 65 66 67 68 69 70 71 72 71 70 69 68 67 66 65 64 +63 62 61 60; +#X coords 0 127 24 0 200 140 1; +#X restore 402 361 graph; +#X obj 30 235 score sco_array 2 300; +#X msg 130 173 set sco_array; +#X msg 23 449 \; sco_array resize 25 \; sco_array read examplescore.txt +\;; +#X text 250 174 set to array that contains the score; +#X text 88 303 position on score; +#X text 86 322 (x index of array); +#X obj 30 356 tabread sco_array; +#X floatatom 30 387 5 0 0 0 - - -; +#X text 86 388 note from score; +#X text 291 255 array: name of array containing score; +#X text 235 234 USAGE: score <array> <skipitems> <skiptime>; +#X text 292 272 skipitems: max. number of notes to skip; +#X text 292 289 skip time: max. time [ms] to rewind; +#X text 378 307 input data; +#N canvas 292 198 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 185 AUTHOR Olaf Matthes <olaf.matthes@gmx.de>; +#X text 12 105 INLET_1 float; +#X text 12 45 DESCRIPTION score follower that tries to match incoming +MIDI data to a score stored in an array; +#X text 12 85 INLET_0 float start stop set; +#X text 12 125 INLET_2 bang; +#X text 12 145 OUTLET_0 float; +#X text 12 165 OUTLET_0 bang; +#X text 12 5 KEYWORDS control MIDI analysis; +#X restore 563 517 pd META; +#X connect 0 0 22 0; +#X connect 1 0 16 0; +#X connect 1 1 16 1; +#X connect 2 0 16 2; +#X connect 3 0 16 0; +#X connect 4 0 16 0; +#X connect 7 0 16 0; +#X connect 14 0 18 0; +#X connect 16 0 0 0; +#X connect 16 1 9 0; +#X connect 17 0 16 0; +#X connect 22 0 23 0; |