aboutsummaryrefslogtreecommitdiff
path: root/help/help-score.pd
blob: a049bab74e7cc1579263a45bcdb20025fb7b1c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#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;