#N canvas 148 65 983 605 10;
#X obj 550 200 noise~;
#X obj 764 205 osc~ 440;
#X obj 697 463 soundoutput;
#X obj 698 405 c_xfade;
#X obj 760 405 hsl 50 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 550 376 lop~ 220;
#X msg 625 171 ONE;
#X msg 660 172 TWO;
#X msg 681 199 set ONE;
#X text 653 200 or:;
#X msg 838 200 ONE;
#X msg 871 200 TWO;
#X msg 586 317 TWO;
#X msg 549 317 ONE;
#X obj 623 63 c_bus TWO;
#X obj 546 63 c_bus ONE;
#X obj 551 232 c_tobus ONE;
#X obj 550 407 c_tobus TWO;
#X obj 764 227 c_tobus TWO;
#X obj 549 343 c_frombus ONE;
#X obj 699 336 c_frombus ONE;
#X obj 721 364 c_frombus TWO;
#X msg 625 316 error;
#X text 479 160 Sending to busses;
#X text 483 28 First create busses. Bus names are globally visible.
;
#X text 707 174 renaming bus target;
#X text 495 512 Read and sending can introduce delays and thus phasing
effects.;
#N canvas 276 199 702 587 REFERENCE 0;
#X text 114 121 Name: c_bus;
#X text 114 140 Summary: create a named audio bus (mono);
#X text 115 178 Argument 0: name of bus. Must be unique and not used
in [catch~] or [s~] anywhere else.;
#X text 114 283 Description: [c_bus] is a routing helper for audio.
It receives audio throw~n to its internal [catch~] named by its argument
\, then [send~]s it along to a [receive~] of the same name. [c_bus]
is meant to be used with the [c_tobus] to send audio to a bus and with
[c_frombus] to read from the bux.;
#X text 116 222 Inlet 0: dummy inlet for execution order forcing.;
#X text 116 238 Outlet 0: dummy outlet for execution order forcing.
Carries no sound signal.;
#X coords 0 -1 1 1 450 450 1 100 100;
#X restore 18 39 pd REFERENCE;
#X text 18 16 c_bus - create a named audio bus;
#X obj 702 64 c_bus THREE;
#X obj 702 85 c_bus FOUR;
#X text 481 112 Dummy in/outlets can be used to force execution order.
Here bus THREE will execute prior to bus FOUR.;
#X text 478 287 Reading from busses;
#N canvas 191 186 902 527 real-world-example 0;
#X obj 56 435 soundoutput;
#X obj 55 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X obj 55 40 metro 250;
#N canvas 165 56 622 412 plings 0;
#X obj 100 233 s_osc \$0-OSC square;
#X obj 100 209 mtof;
#X obj 252 202 c_adsrj \$0-adsr;
#X msg 405 177 A 50 \, D 80 \, S 70 \, R 300;
#X obj 405 152 loadbang;
#X obj 100 114 random 8;
#X obj 100 166 makenote 60 100;
#X obj 100 277 *~;
#X obj 100 142 m_minorscale 36 2 1;
#X obj 100 69 inlet;
#X obj 100 304 outlet~;
#X connect 0 0 7 0;
#X connect 1 0 0 0;
#X connect 2 0 7 1;
#X connect 3 0 2 1;
#X connect 4 0 3 0;
#X connect 5 0 8 0;
#X connect 6 0 1 0;
#X connect 6 1 2 0;
#X connect 7 0 10 0;
#X connect 8 0 6 0;
#X connect 9 0 5 0;
#X restore 55 67 pd plings;
#X obj 252 157 g_vol;
#X msg 327 160 set \$1;
#X msg 327 184 100;
#X obj 358 184 loadbang;
#X obj 495 257 e_reverb \$0-myverb;
#X obj 55 154 g_vol;
#X msg 130 157 set \$1;
#X msg 130 181 90;
#X obj 161 181 loadbang;
#X obj 461 61 c_bus \$0-MASTER-0;
#X obj 597 60 c_bus \$0-MASTER-1;
#X obj 56 384 c_frombus \$0-MASTER-0;
#X obj 158 408 c_frombus \$0-MASTER-1;
#X obj 67 215 c_tobus \$0-MASTER-0;
#X obj 54 238 c_tobus \$0-MASTER-1;
#X obj 494 324 c_tobus \$0-MASTER-0;
#X obj 618 293 c_tobus \$0-MASTER-1;
#X obj 469 127 c_bus \$0-EFFECTS;
#X obj 495 220 c_frombus \$0-EFFECTS;
#X obj 252 210 c_tobus \$0-EFFECTS;
#X text 462 38 Master output bus for left and right;
#X text 489 194 Apply effects on effects bus;
#X text 460 107 create an effects bus;
#X text 126 69 Generate sounds;
#X text 56 261 send to master outs;
#X text 252 233 send to effects bus;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 9 0;
#X connect 4 0 23 0;
#X connect 4 1 5 0;
#X connect 5 0 6 0;
#X connect 6 0 4 1;
#X connect 7 0 6 0;
#X connect 8 0 19 0;
#X connect 8 1 20 0;
#X connect 9 0 17 0;
#X connect 9 0 18 0;
#X connect 9 1 10 0;
#X connect 10 0 11 0;
#X connect 11 0 9 1;
#X connect 12 0 11 0;
#X connect 15 0 0 0;
#X connect 16 0 0 1;
#X connect 22 0 8 0;
#X restore 496 556 pd real-world-example;
#X connect 0 0 16 0;
#X connect 1 0 18 0;
#X connect 3 0 2 0;
#X connect 3 0 2 1;
#X connect 4 0 3 2;
#X connect 5 0 17 0;
#X connect 6 0 16 1;
#X connect 7 0 16 1;
#X connect 8 0 16 1;
#X connect 10 0 18 1;
#X connect 11 0 18 1;
#X connect 12 0 19 0;
#X connect 13 0 19 0;
#X connect 19 0 5 0;
#X connect 20 0 3 0;
#X connect 21 0 3 1;
#X connect 22 0 19 0;
#X connect 29 0 30 0;
