-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp-bop.sequence.pd
64 lines (64 loc) · 2.34 KB
/
help-bop.sequence.pd
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
53
54
55
56
57
58
59
60
61
62
63
64
#N canvas 448 112 1006 727 12;
#X msg 283 248 stop;
#X msg 271 219 go;
#X text 305 217 < go!;
#X msg 253 188 open, f 6;
#X obj 276 494 bop.instrument~;
#A saved instrument 0;
#X obj 276 447 bop.strum, f 15;
#A saved strum 1;
#A saved chord 7;
#A saved shuffle 0;
#A saved root 53;
#A saved octaves 3;
#A saved velocity 0.2;
#A saved duration 0.444;
#X obj 277 597 dac~, f 12;
#X obj 427 514 print bop.sequence;
#X obj 252 292 cnv 19 200 80 empty empty empty 20 12 0 12 #ffe3c6 #404040 0;
#X obj 278 319 bop.sequence, f 21;
#A saved loop 0;
#A saved scrub 0;
#A saved internal-sequence --- set instrument \; instrument 0 \; --- strum from 0 to 1 in 1000ms \; strum 0 1 1000 \; --- wait 1000ms \; - 2000 \; --- change instrument \; instrument 1 \; --- play two midi notes \; 44 127 \; 51 127 \; --- wait 2000ms \; - 2000 \; --- stop everything \; stop \; --- wait 1 second \; - 1000 \;;
#N canvas 330 184 616 329 todo 0;
#X text 104 28 === --- never return before here [ ] \; - 1b --- one bar rest [ ] \; - b4 --- 1/4 bar rest [ ] \; . c#3 127 --- human readable midi [ ] \; . c3 g3 127 --- multiple midi notes share velocity [ ] \;;
#X restore 90 52 pd todo;
#X text 323 45 bop.sequence is an editor/player of list of messages, f 56;
#X text 310 186 < view/edit sequence;
#X text 516 126 WRITING SCRIPTS;
#X text 518 205 at least one rest is required for a looping sequence, f 54;
#X text 518 239 other lines can be messages \, midi notes \, or anything else, f 59;
#X msg 536 325 read;
#X obj 60 242 bop.ui;
#X msg 536 360 read help.bopseq \, go;
#X text 579 325 open file dialog, f 32;
#X msg 535 398 read help.bopseq \, loop 1 \, go;
#X text 520 178 - 1000 \;;
#X text 579 179 indicates rest for 1000 milliseconds;
#X text 518 151 all lines end with \;;
#X msg 534 289 read help.bopseq \, open;
#X text 707 288 load help file and open, f 29;
#X text 689 362 read from file and run;
#X text 745 398 read from file and run forever;
#X obj 277 544 bop.reverb~;
#A saved size 0.685714;
#A saved damp 0.9;
#A saved cutoff 2000;
#A saved wet 0.964286;
#A saved dry 1;
#X connect 0 0 9 0;
#X connect 1 0 9 0;
#X connect 3 0 9 0;
#X connect 4 0 28 0;
#X connect 5 0 4 0;
#X connect 5 1 4 1;
#X connect 9 0 5 0;
#X connect 9 1 5 1;
#X connect 9 1 7 0;
#X connect 16 0 9 1;
#X connect 17 0 9 0;
#X connect 18 0 9 1;
#X connect 20 0 9 1;
#X connect 24 0 9 1;
#X connect 28 0 6 0;
#X connect 28 0 6 1;