Skip to content

Commit 438619b

Browse files
author
Joe White
committed
added examples scenes for peter brinkmann's book
1 parent 314ea92 commit 438619b

File tree

504 files changed

+49060
-11200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

504 files changed

+49060
-11200
lines changed

examplescenes/HelloWorldWorldWorld.rj/rj/OVERVIEW.pd

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#N canvas 781 41 291 431 10;
2-
#N canvas 0 0 682 744 \$0-overview 0;
1+
#N canvas 219 132 291 431 10;
2+
#N canvas 0 0 683 629 \$0-overview 0;
33
#X restore 72 299 pd \$0-overview;
44
#X text 72 328 Help-click any object to;
55
#X text 72 347 open the help file!;
@@ -21,9 +21,6 @@
2121
#X msg 118 106 a;
2222
#X msg 294 114 g;
2323
#X obj 78 39 list split 1;
24-
#X obj 118 63 select Analysis Synths Effects GUIs Mappings Controllers
25-
Utilities clear;
26-
#X msg 501 110 clear;
2724
#N canvas 337 123 805 747 dump 0;
2825
#X obj 94 243 textfile;
2926
#X obj 94 337 t a b;
@@ -93,28 +90,35 @@ GOP objects so they don't overlap with following objects.;
9390
#X connect 26 0 2 0;
9491
#X restore 118 214 pd dump;
9592
#X obj 118 172 t a;
93+
#X obj 118 63 select Analysis Synths Effects GUIs Mappings Controllers
94+
Utilities RjDj-Externals clear;
95+
#X msg 553 110 clear;
96+
#X msg 501 110 rj;
9697
#X connect 0 0 8 0;
97-
#X connect 1 0 12 0;
98-
#X connect 2 0 12 0;
99-
#X connect 3 0 12 0;
100-
#X connect 4 0 12 0;
101-
#X connect 5 0 12 0;
102-
#X connect 6 0 12 0;
103-
#X connect 7 0 12 0;
104-
#X connect 8 1 9 0;
105-
#X connect 9 0 6 0;
106-
#X connect 9 1 1 0;
107-
#X connect 9 2 2 0;
108-
#X connect 9 3 7 0;
109-
#X connect 9 4 3 0;
110-
#X connect 9 5 4 0;
111-
#X connect 9 6 5 0;
112-
#X connect 9 7 10 0;
113-
#X connect 10 0 11 1;
114-
#X connect 12 0 11 0;
98+
#X connect 1 0 10 0;
99+
#X connect 2 0 10 0;
100+
#X connect 3 0 10 0;
101+
#X connect 4 0 10 0;
102+
#X connect 5 0 10 0;
103+
#X connect 6 0 10 0;
104+
#X connect 7 0 10 0;
105+
#X connect 8 1 11 0;
106+
#X connect 10 0 9 0;
107+
#X connect 11 0 6 0;
108+
#X connect 11 1 1 0;
109+
#X connect 11 2 2 0;
110+
#X connect 11 3 7 0;
111+
#X connect 11 4 3 0;
112+
#X connect 11 5 4 0;
113+
#X connect 11 6 5 0;
114+
#X connect 11 7 13 0;
115+
#X connect 11 8 12 0;
116+
#X connect 12 0 9 1;
117+
#X connect 13 0 10 0;
115118
#X restore 72 276 pd open objects;
116119
#X text 55 15 rj-Library Reference;
117120
#X text 55 38 Select section to read:;
121+
#X msg 72 224 _ RjDj-Externals;
118122
#X connect 3 0 11 0;
119123
#X connect 4 0 11 0;
120124
#X connect 5 0 11 0;
@@ -123,3 +127,4 @@ GOP objects so they don't overlap with following objects.;
123127
#X connect 8 0 11 0;
124128
#X connect 9 0 11 0;
125129
#X connect 10 0 11 0;
130+
#X connect 14 0 11 0;
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#N canvas 130 140 904 500 10;
2+
#N canvas 377 58 582 570 REFERENCE 0;
3+
#X text 24 91 Argument 0:;
4+
#X text 24 124 Inlet 0:;
5+
#X text 24 144 Inlet 1:;
6+
#X text 24 164 Outlet 0:;
7+
#X text 24 184 Outlet 1:;
8+
#X text 24 434 Tags:;
9+
#X text 24 334 See also:;
10+
#X text 24 31 Name: a_breath;
11+
#X text 24 51 Summary: breath controller that analyses the mic input
12+
volume;
13+
#X text 24 234 Description: breath controller that analyses the mic
14+
input volume;
15+
#X coords 0 -1 1 1 450 450 1 10 10;
16+
#X restore 5 37 pd REFERENCE;
17+
#X obj 5 7 cnv 15 450 20 empty empty empty 20 12 0 14 -261234 -66577
18+
0;
19+
#X text 468 40 Example:;
20+
#X text 576 475 RjDj Library (https://github.com/rjdj/rjlib) - 2011
21+
;
22+
#X obj 552 44 soundinput;
23+
#X obj 563 385 soundoutput;
24+
#X obj 8 9 a_breath;
25+
#X text 89 10 - breath controller that analyses the mic input volume
26+
;
27+
#X obj 571 253 a_breath;

examplescenes/HelloWorldWorldWorld.rj/rj/c.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,25 @@ c_adsr - ADSR envelope generator
22
c_adsrj - ADSR envelope generator with GUI and preset
33
1
44
c_bangx - bang x times with constant delay and stop
5+
c_bus - create a named audio bus (mono)
56
c_cpfade - constant power crossfader
67
c_drunk - output random numbers bound to a range (random walk)
78
c_ead - exponential attack/decay envelope
89
c_frand - random float number between two limits
10+
c_frombus - receive audio from a named audio bus (mono)
911
c_lfo - message rate LFO with various waveforms
1012
c_madsr - ADSR envelope generator for messages
1113
c_madsrj - ADSR envelope generator for messages with GUI and preset
1214
1
1315
c_markov - 1st order markov chain
16+
c_mfade3 - wrapped crossfader between three inputs
1417
c_mphasor - message phasor for LFO generation
1518
c_multimetro - multi-period metro with builtin counter
1619
c_multipass - passes messages with probability lookup
1720
c_pass - passes messages randomly
1821
c_patternchange - transform melodic patterns
1922
c_seqplay - play midi files converted to textformat with [seq]
2023
c_taptap - tap on/off patterns
24+
c_tobus - send to a named audio bus (mono)
2125
c_urn - Unique Random Number generator
2226
c_xfade - linear crossfader
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
#N canvas 148 65 983 605 10;
2+
#X obj 550 200 noise~;
3+
#X obj 764 205 osc~ 440;
4+
#X obj 697 463 soundoutput;
5+
#X obj 698 405 c_xfade;
6+
#X obj 760 405 hsl 50 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
7+
-1 -1 0 1;
8+
#X obj 550 376 lop~ 220;
9+
#X msg 625 171 ONE;
10+
#X msg 660 172 TWO;
11+
#X msg 681 199 set ONE;
12+
#X text 653 200 or:;
13+
#X msg 838 200 ONE;
14+
#X msg 871 200 TWO;
15+
#X msg 586 317 TWO;
16+
#X msg 549 317 ONE;
17+
#X obj 623 63 c_bus TWO;
18+
#X obj 546 63 c_bus ONE;
19+
#X obj 551 232 c_tobus ONE;
20+
#X obj 550 407 c_tobus TWO;
21+
#X obj 764 227 c_tobus TWO;
22+
#X obj 549 343 c_frombus ONE;
23+
#X obj 699 336 c_frombus ONE;
24+
#X obj 721 364 c_frombus TWO;
25+
#X msg 625 316 error;
26+
#X text 479 160 Sending to busses;
27+
#X text 483 28 First create busses. Bus names are globally visible.
28+
;
29+
#X text 707 174 renaming bus target;
30+
#X text 495 512 Read and sending can introduce delays and thus phasing
31+
effects.;
32+
#N canvas 276 199 702 587 REFERENCE 0;
33+
#X text 114 121 Name: c_bus;
34+
#X text 114 140 Summary: create a named audio bus (mono);
35+
#X text 115 178 Argument 0: name of bus. Must be unique and not used
36+
in [catch~] or [s~] anywhere else.;
37+
#X text 114 283 Description: [c_bus] is a routing helper for audio.
38+
It receives audio throw~n to its internal [catch~] named by its argument
39+
\, then [send~]s it along to a [receive~] of the same name. [c_bus]
40+
is meant to be used with the [c_tobus] to send audio to a bus and with
41+
[c_frombus] to read from the bux.;
42+
#X text 116 222 Inlet 0: dummy inlet for execution order forcing.;
43+
#X text 116 238 Outlet 0: dummy outlet for execution order forcing.
44+
Carries no sound signal.;
45+
#X coords 0 -1 1 1 450 450 1 100 100;
46+
#X restore 18 39 pd REFERENCE;
47+
#X text 18 16 c_bus - create a named audio bus;
48+
#X obj 702 64 c_bus THREE;
49+
#X obj 702 85 c_bus FOUR;
50+
#X text 481 112 Dummy in/outlets can be used to force execution order.
51+
Here bus THREE will execute prior to bus FOUR.;
52+
#X text 478 287 Reading from busses;
53+
#N canvas 191 186 902 527 real-world-example 0;
54+
#X obj 56 435 soundoutput;
55+
#X obj 55 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
56+
;
57+
#X obj 55 40 metro 250;
58+
#N canvas 165 56 622 412 plings 0;
59+
#X obj 100 233 s_osc \$0-OSC square;
60+
#X obj 100 209 mtof;
61+
#X obj 252 202 c_adsrj \$0-adsr;
62+
#X msg 405 177 A 50 \, D 80 \, S 70 \, R 300;
63+
#X obj 405 152 loadbang;
64+
#X obj 100 114 random 8;
65+
#X obj 100 166 makenote 60 100;
66+
#X obj 100 277 *~;
67+
#X obj 100 142 m_minorscale 36 2 1;
68+
#X obj 100 69 inlet;
69+
#X obj 100 304 outlet~;
70+
#X connect 0 0 7 0;
71+
#X connect 1 0 0 0;
72+
#X connect 2 0 7 1;
73+
#X connect 3 0 2 1;
74+
#X connect 4 0 3 0;
75+
#X connect 5 0 8 0;
76+
#X connect 6 0 1 0;
77+
#X connect 6 1 2 0;
78+
#X connect 7 0 10 0;
79+
#X connect 8 0 6 0;
80+
#X connect 9 0 5 0;
81+
#X restore 55 67 pd plings;
82+
#X obj 252 157 g_vol;
83+
#X msg 327 160 set \$1;
84+
#X msg 327 184 100;
85+
#X obj 358 184 loadbang;
86+
#X obj 495 257 e_reverb \$0-myverb;
87+
#X obj 55 154 g_vol;
88+
#X msg 130 157 set \$1;
89+
#X msg 130 181 90;
90+
#X obj 161 181 loadbang;
91+
#X obj 461 61 c_bus \$0-MASTER-0;
92+
#X obj 597 60 c_bus \$0-MASTER-1;
93+
#X obj 56 384 c_frombus \$0-MASTER-0;
94+
#X obj 158 408 c_frombus \$0-MASTER-1;
95+
#X obj 67 215 c_tobus \$0-MASTER-0;
96+
#X obj 54 238 c_tobus \$0-MASTER-1;
97+
#X obj 494 324 c_tobus \$0-MASTER-0;
98+
#X obj 618 293 c_tobus \$0-MASTER-1;
99+
#X obj 469 127 c_bus \$0-EFFECTS;
100+
#X obj 495 220 c_frombus \$0-EFFECTS;
101+
#X obj 252 210 c_tobus \$0-EFFECTS;
102+
#X text 462 38 Master output bus for left and right;
103+
#X text 489 194 Apply effects on effects bus;
104+
#X text 460 107 create an effects bus;
105+
#X text 126 69 Generate sounds;
106+
#X text 56 261 send to master outs;
107+
#X text 252 233 send to effects bus;
108+
#X connect 1 0 2 0;
109+
#X connect 2 0 3 0;
110+
#X connect 3 0 4 0;
111+
#X connect 3 0 9 0;
112+
#X connect 4 0 23 0;
113+
#X connect 4 1 5 0;
114+
#X connect 5 0 6 0;
115+
#X connect 6 0 4 1;
116+
#X connect 7 0 6 0;
117+
#X connect 8 0 19 0;
118+
#X connect 8 1 20 0;
119+
#X connect 9 0 17 0;
120+
#X connect 9 0 18 0;
121+
#X connect 9 1 10 0;
122+
#X connect 10 0 11 0;
123+
#X connect 11 0 9 1;
124+
#X connect 12 0 11 0;
125+
#X connect 15 0 0 0;
126+
#X connect 16 0 0 1;
127+
#X connect 22 0 8 0;
128+
#X restore 496 556 pd real-world-example;
129+
#X connect 0 0 16 0;
130+
#X connect 1 0 18 0;
131+
#X connect 3 0 2 0;
132+
#X connect 3 0 2 1;
133+
#X connect 4 0 3 2;
134+
#X connect 5 0 17 0;
135+
#X connect 6 0 16 1;
136+
#X connect 7 0 16 1;
137+
#X connect 8 0 16 1;
138+
#X connect 10 0 18 1;
139+
#X connect 11 0 18 1;
140+
#X connect 12 0 19 0;
141+
#X connect 13 0 19 0;
142+
#X connect 19 0 5 0;
143+
#X connect 20 0 3 0;
144+
#X connect 21 0 3 1;
145+
#X connect 22 0 19 0;
146+
#X connect 29 0 30 0;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#N canvas 496 302 590 284 10;
2+
#X obj 36 60 catch~ \$1;
3+
#X obj 37 196 s~ \$1;
4+
#X obj 149 58 inlet~;
5+
#X obj 149 91 outlet~;
6+
#X text 141 116 dummy xlets for optional execution order forcing. They
7+
do nothing else.;
8+
#X connect 0 0 1 0;
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#N canvas 148 65 943 552 10;
2+
#X msg 551 127 ONE;
3+
#X msg 586 128 TWO;
4+
#X msg 607 155 set ONE;
5+
#X text 480 92 Sending to busses;
6+
#X text 483 28 First create busses. Bus names are globally visible.
7+
;
8+
#N canvas 282 261 702 587 REFERENCE 0;
9+
#X text 114 121 Name: c_frombus;
10+
#X text 114 140 Summary: receive audio from a named audio bus (mono)
11+
;
12+
#X text 114 159 Argument 0: name of bus to read from.;
13+
#X text 113 192 Inlet 0: rename source bus. set <name>: rename source
14+
bus to <name>. <name>: rename source bus to <name> when <name> is not
15+
equal to "set";
16+
#X text 114 289 Description: [c_frombus] will read audio from a named
17+
bus. It is meant to be used together with the [c_bus] object to read
18+
audio to a bus. Please see the [c_bus] help file for details.;
19+
#X text 113 249 Outlet 0: signal carrying the bus audio out.;
20+
#X coords 0 -1 1 1 450 450 1 100 100;
21+
#X restore 18 39 pd REFERENCE;
22+
#X obj 566 65 c_bus \$0-MYBUS;
23+
#X text 18 16 c_frombus - send to a named audio bus;
24+
#X obj 551 182 c_frombus \$0-MYBUS;
25+
#X text 637 124 renaming bus source;
26+
#X obj 551 214 soundoutput;
27+
#X obj 489 463 c_bus \$0-xxx;
28+
#X obj 589 463 c_tobus \$0-xxx;
29+
#X obj 701 463 c_frombus \$0-xxx;
30+
#X text 488 440 Also see:;
31+
#X connect 0 0 8 0;
32+
#X connect 1 0 8 0;
33+
#X connect 2 0 8 0;
34+
#X connect 8 0 10 0;
35+
#X connect 8 0 10 1;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#N canvas 403 285 640 344 10;
2+
#X obj 112 202 outlet~;
3+
#X obj 112 166 r~ \$1;
4+
#X obj 112 60 inlet;
5+
#X obj 112 111 list;
6+
#X msg 112 133 set \$1;
7+
#X obj 112 85 route set;
8+
#X connect 1 0 0 0;
9+
#X connect 2 0 5 0;
10+
#X connect 3 0 4 0;
11+
#X connect 4 0 1 0;
12+
#X connect 5 0 3 0;
13+
#X connect 5 1 3 0;

0 commit comments

Comments
 (0)