-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsketch01.pd
125 lines (125 loc) · 4.08 KB
/
sketch01.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#N struct text float x float y text t;
#N canvas 0 23 1680 968 10;
#X declare -path ./bop;
#X declare -path ./samples;
#X obj 100 870 cnv 15 283 316 empty empty empty 20 12 0 14 #c7e2ca
#404040 0;
#X obj 470 240 cnv 15 271 40 empty empty empty 20 12 0 14 #f4c8e4 #404040
0;
#X obj 490 1525 outlet~;
#X obj 560 1525 outlet~;
#X obj 110 1122 tgl 15 1 empty empty ENABLE\ 17 7 0 10 #fcfcfc #000000
#000000 1 1;
#X obj 110 1150 switch~;
#X obj 490 105 bop;
#A saved 100;
#X obj 490 1225 bop.mix;
#A saved 0 0.599977 -0.5;
#X obj 490 825 bop.sampler;
#A saved note1.wav 0 0.269663 0 1 0 4.2951 1;
#X obj 490 320 bop.rhythm;
#A saved 24 2.80952 1 1 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0\ 1\ 0\ 0
;
#X obj 490 550 bop.notelist;
#A saved g3\ f#3\ e3\ d3\ c3\ b2\ a2\ g2 0.075;
#X obj 800 120 bop.palette;
#X obj 110 1090 route play;
#X obj 110 930 inlet;
#X obj 490 650 bop.notefx;
#A saved 0.56 0.08 0 0 100 112 1 25 35.8696;
#X obj 490 1045 bop.reverb;
#A saved 0.866848 0.278533 0.98913 0.181951 0.722263 0 0;
#X obj 490 1423 bop.out;
#A saved 0 0 0 0;
#X obj 691 1342 route play;
#X msg 690 1365 audio \$1;
#X obj 100 10 declare -path ./bop;
#X obj 100 35 declare -path ./samples;
#X text 480 250 LEFT;
#X text 540 250 RIGHT;
#X msg 100 380 play 1;
#X obj 100 100 cnv 15 336 30 empty empty 🐦\ WELCOME\ TO\ THE\ BOP\ STARTER\ SKETCH
20 12 0 14 #94c4ec #ffffff 0;
#X msg 150 380 play 0;
#X text 100 140 🦉bop is a modular tool suite for music making in
Purr Data and Pure Data vanilla., f 55;
#X text 190 920 🦉This bop sketch can be controlled from a parent
patch to be mixed with bop other sketches., f 24;
#X text 190 990 Close this patch and open parent-example.pd to see
how., f 26;
#X msg 120 590 notelist c#3 d#3 f3 f#3 g#3 a#3 c4;
#X msg 100 560 notelist g3 f#3 e3 d3 c3 b2 a2 g2;
#X obj 100 420 s \$0-to-bop;
#X obj 690 75 r \$0-to-bop;
#X obj 110 960 s \$0-to-bop;
#X text 670 250 messages;
#X obj 100 620 s \$0-to-bop;
#X text 150 880 RUNNING MULTIPLE SKETCHES, f 26;
#X text 100 730 modules and their parameters will save their state
with the parent patch making it easy to tweak and save., f 42;
#X obj 110 1060 r \$0-to-bop;
#X text 190 1090 👈 this maps bop play messages to the switch~ object
to free resources when not playing., f 24;
#X text 610 250 notes;
#X text 100 240 bop uses the same inlet/outlet convention as ORAC 👉
, f 53;
#X text 100 180 pd vanilla requires the cyclone \, iemguts \, and freeverb
libraries to run bop., f 55;
#X text 210 380 👈 these play messages to the right control the large
toggle labelled play on the first bop module in the chain \, as well
as the toggle on this bop.rhythm., f 29;
#X text 100 500 click the messages below and watch them received by
the notelist module's "notelist" parameter., f 36;
#X text 100 330 🐓 messages are addressed by parameter label., f
50;
#X text 100 270 audio \, MIDI notes \, and messages are passed through
modules and flow from top to bottom., f 53;
#X text 800 100 🐣 use bop.palette to browse and create bop.modules
;
#X text 100 1380 this binds incoming play messages to also enable/disable
audio output 👉, f 44;
#X text 100 1330 you can intercept messages from upstream to automate
other parameters - or do other pd ninja moves to glue things together.
, f 44;
#X connect 4 0 5 0;
#X connect 6 0 9 0;
#X connect 6 1 9 1;
#X connect 6 2 9 2;
#X connect 6 3 9 3;
#X connect 7 0 16 0;
#X connect 7 1 16 1;
#X connect 7 2 16 2;
#X connect 7 3 17 0;
#X connect 8 0 15 0;
#X connect 8 1 15 1;
#X connect 8 2 15 2;
#X connect 8 3 15 3;
#X connect 9 0 10 0;
#X connect 9 1 10 1;
#X connect 9 2 10 2;
#X connect 9 3 10 3;
#X connect 10 0 14 0;
#X connect 10 1 14 1;
#X connect 10 2 14 2;
#X connect 10 3 14 3;
#X connect 12 0 4 0;
#X connect 13 0 33 0;
#X connect 14 0 8 0;
#X connect 14 1 8 1;
#X connect 14 2 8 2;
#X connect 14 3 8 3;
#X connect 15 0 7 0;
#X connect 15 1 7 1;
#X connect 15 2 7 2;
#X connect 15 3 7 3;
#X connect 16 0 2 0;
#X connect 16 1 3 0;
#X connect 17 0 18 0;
#X connect 17 1 16 3;
#X connect 18 0 16 3;
#X connect 23 0 31 0;
#X connect 25 0 31 0;
#X connect 29 0 35 0;
#X connect 30 0 35 0;
#X connect 32 0 6 3;
#X connect 38 0 12 0;