#N struct 1113-symarray float x array symbols 1113-sym;
#N struct 1113-sym symbol name float on;
#N canvas 34 60 877 510 10;
#X declare -path .;
#X declare -path .;
#N canvas 103 57 1081 586 detailed_help 0;
#X obj 719 26 declare -path .;
#X obj 22 336 soundoutput;
#X msg 186 132 save;
#X obj 575 9 r \$0-GUI;
#X obj 21 132 m_majorscale 50;
#X obj 21 78 metro 500;
#X obj 21 54 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X obj 21 211 pack;
#N canvas 0 58 1013 367 midi-control 0;
#X obj 37 214 m_symbolarray;
#X obj 21 110 ctlin;
#X obj 21 186 / 127;
#X obj 125 65 loadbang;
#X obj 21 297 s \$0-GUI;
#X text 124 31 add your midi controller mappings here. Format: <ctl-num>
<method name>;
#X floatatom 47 144 5 0 0 0 - - -;
#X floatatom 88 145 5 0 0 0 - - -;
#X obj 21 260 list prepend;
#X text 119 259 swap;
#X msg 558 66 env1a \, env1d \, env1r \, env1s \, env2a \, env2d \,
env2r \, env2s \, env3a \, env3d \, env3r \, env3s \, mod1a \, mod1b
\, mod1c \, mod1d \, mod2a \, mod2b \, mod2c \, mod2d \, mod3a \, mod3b
\, mod3c \, mod3d \, osc1a \, osc1b \, osc1c \, osc1d \, osc2a \, osc2b
\, osc2c \, osc2d \, osc3a \, osc3b \, osc3c \, osc3d \,;
#X msg 201 222 dump;
#X symbolatom 37 241 10 0 0 0 - - -;
#X obj 201 276 print;
#X obj 201 244 u_dumpfile controls.txt cr;
#X text 552 32 Control Template - These are the methods \, that s_czz_synth
accepts. They all expect values in a range of 0-1.;
#X text 241 220 You can also keep your settings in a file.;
#X obj 201 336 declare -path .;
#X text 317 339 let me find "controls.txt" here.;
#X msg 125 91 74 osc1a \, 71 osc1b \, 81 osc1c;
#X connect 0 0 8 1;
#X connect 0 0 12 0;
#X connect 1 0 6 0;
#X connect 1 0 2 0;
#X connect 1 1 7 0;
#X connect 1 1 0 0;
#X connect 2 0 8 0;
#X connect 3 0 19 0;
#X connect 8 0 4 0;
#X connect 11 0 14 0;
#X connect 14 0 0 1;
#X connect 14 0 13 0;
#X connect 19 0 0 1;
#X restore 356 103 pd midi-control;
#X obj 27 174 notein;
#X text 346 84 Set controllers here:;
#X obj 144 282 u_cocollect;
#X obj 186 193 t a b;
#X obj 186 59 bng 64 250 50 0 empty empty empty 17 7 0 10 -4034 -1
-1;
#X obj 144 505 s \$0-GUI;
#X obj 116 245 r \$0-control;
#X obj 575 528 s \$0-control;
#X symbolatom 350 271 20 0 0 0 - - -;
#X obj 452 248 s \$0-GUI;
#X obj 350 200 nbx 3 20 0 256 0 0 empty empty empty 0 -8 0 16 -260097
-262144 -1 8 256;
#X obj 350 177 pgmin 1;
#X obj 21 154 makenote 127 300;
#X floatatom 112 62 5 0 0 0 - - -;
#X msg 144 328 name pluck \, mod3d label _ \, mod3c label _ \, mod3b
0.0629921 \, mod3a 0.015748 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.771654 \, mod1d label _ \, mod1c 0.527559 \, mod1b
0.023622 \, mod1a 0.574803 \, osc3d label _ \, osc3c label _ \, osc3b
0.322835 \, osc3a 0.968504 \, osc2d 0.614173 \, osc2c 0.251969 \, osc2b
0.173228 \, osc2a 1 \, osc1d 0.259843 \, osc1c 0.188976 \, osc1b 0.433071
\, osc1a 0.826772 \, env3r 0.314961 \, env3s 0.968504 \, env3d 0.110236
\, env3a 0 \, env2r 0.204724 \, env2s 0.952756 \, env2d 0.0708661 \,
env2a 0 \, env1r 0.165354 \, env1s 0.244094 \, env1d 0.0787402 \, env1a
0 \,;
#X obj 307 157 hradio 15 1 0 13 empty empty empty 0 -8 0 10 -262144
-1 -1 8;
#X obj 575 50 g_synthcontrol;
#N canvas 0 0 1256 687 ewsb_presets 0;
#X obj 171 26 inlet;
#X obj 163 653 outlet name;
#X obj 163 630 symbol;
#X obj 246 652 outlet parms;
#X obj 180 572 route name;
#X obj 798 66 loadbang;
#X text 793 12 set up the interface to be human readable and show which
controls are actually used;
#X text 795 42 Requires modified [g-hsl];
#X msg 794 95 env1a color 128 \, env1a label AMP-ATTACK \, env1d color
128 \, env1d label AMP-DECAY \, env1r color 128 \, env1r label AMP-REL
\, env1s color 128 \, env1s label AMP-SUS \, env2a color 128 \, env2a
label MOD-ATTACK \, env2d color 128 \, env2d label MOD-DECAY \, env2r
color 128 \, env2r label MOD-REL \, env2s color 128 \, env2s label
MOD-SUS \, env3a color 128 \, env3a label SHAPE-ATTACK \, env3d color
128 \, env3d label SHAPE-DECAY \, env3r color 128 \, env3r label SHAPE-REL
\, env3s color 128 \, env3s label SHAPE-SUS \, mod1a color 128 \, mod1a
label LFO-FREQ \, mod1b color 128 \, mod1b label VIB-AMT \, mod1c color
128 \, mod1c label VIB-ONSET \, mod1d color 2 \, mod1d label _ \, mod2a
color 128 \, mod2a label SHAPEAMT \, mod2b color 2 \, mod2b label _
\, mod2c color 2 \, mod2c label _ \, mod2d color 2 \, mod2d label _
\, mod3a color 128 \, mod3a label HIGHPASS \, mod3b color 128 \, mod3b
label VOLUME \, mod3c color 2 \, mod3c label _ \, mod3d color 2 \,
mod3d label _ \, osc1a color 128 \, osc1a label HARM1 \, osc1b color
128 \, osc1b label HARM2 \, osc1c color 128 \, osc1c label HARM3 \,
osc1d color 128 \, osc1d label BRIGHT \, osc2a color 128 \, osc2a label
OSC-COARSE \, osc2b color 128 \, osc2b label FM-RATIO osc2c color 128
\, osc2c label FMENV \, osc2d color 128 \, osc2d label FMMIX \, osc3a
color 128 \, osc3a label MIXFMSHAPE \, osc3b color 128 \, osc3b label
MIXSHAPER \, osc3c color 2 \, osc3c label _ \, osc3d color 2 \, osc3d
label _;
#X msg 161 263 name techno-kick \, mod3d label _ \, mod3c label _ \,
mod3b 0.787402 \, mod3a 0 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0 \, mod1d label _ \, mod1c 0 \, mod1b 0 \, mod1a
0 \, osc3d label _ \, osc3c label _ \, osc3b 0 \, osc3a 0 \, osc2d
0 \, osc2c 0 \, osc2b 0 \, osc2a 0 \, osc1d 0 \, osc1c 0 \, osc1b 0
\, osc1a 0 \, env3r 0 \, env3s 0 \, env3d 0 \, env3a 0 \, env2r 0 \,
env2s 0 \, env2d 0 \, env2a 0 \, env1r 0.00149606 \, env1s 0 \, env1d
0.354331 \, env1a 0.00220472 \,;
#X msg 173 258 name synthbass \, mod3d label _ \, mod3c label _ \,
mod3b 0.905512 \, mod3a 0 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.543307 \, mod1d label _ \, mod1c 0 \, mod1b 0 \,
mod1a 0 \, osc3d label _ \, osc3c label _ \, osc3b 0.732283 \, osc3a
0.771654 \, osc2d 0 \, osc2c 0 \, osc2b 0 \, osc2a 0.165354 \, osc1d
0.511811 \, osc1c 0.401575 \, osc1b 0.511811 \, osc1a 0.574803 \, env3r
0.0015748 \, env3s 0 \, env3d 0.283465 \, env3a 0.00212598 \, env2r
0 \, env2s 0 \, env2d 0 \, env2a 0 \, env1r 0.00149606 \, env1s 0 \,
env1d 0.354331 \, env1a 0.00220472 \,;
#X msg 216 230 name littlesaw \, mod3d label _ \, mod3c label _ \,
mod3b 0.133858 \, mod3a 0 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0 \, mod1d label _ \, mod1c 0 \, mod1b 0 \, mod1a
0 \, osc3d label _ \, osc3c label _ \, osc3b 1 \, osc3a 0 \, osc2d
0.480315 \, osc2c 0.291339 \, osc2b 0 \, osc2a 0.425197 \, osc1d 0
\, osc1c 0 \, osc1b 0 \, osc1a 0 \, env3r 0.0015748 \, env3s 0 \, env3d
0.19685 \, env3a 0.00212598 \, env2r 0.000708661 \, env2s 0.889764
\, env2d 0 \, env2a 0.000787402 \, env1r 0.00149606 \, env1s 0 \, env1d
0.0393701 \, env1a 0.00220472 \,;
#X msg 297 199 name shortseq \, mod3d label _ \, mod3c label _ \, mod3b
0.409449 \, mod3a 0.149606 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.834646 \, mod1d label _ \, mod1c 0 \, mod1b 0 \,
mod1a 0 \, osc3d label _ \, osc3c label _ \, osc3b 0.787402 \, osc3a
1 \, osc2d 0.362205 \, osc2c 0.0472441 \, osc2b 0.503937 \, osc2a 0.393701
\, osc1d 0.661417 \, osc1c 0.661417 \, osc1b 0 \, osc1a 0 \, env3r
0.181102 \, env3s 0.385827 \, env3d 0.165354 \, env3a 0.0015748 \,
env2r 0 \, env2s 0.0393701 \, env2d 0 \, env2a 0 \, env1r 0.0314961
\, env1s 0.346457 \, env1d 0.125984 \, env1a 0.000708661 \,;
#X msg 224 229 name obxbass \, mod3d label _ \, mod3c label _ \, mod3b
0.15748 \, mod3a 0 \, mod2d label _ \, mod2c label _ \, mod2b label
_ \, mod2a 1 \, mod1d label _ \, mod1c 0 \, mod1b 0 \, mod1a 0 \, osc3d
label _ \, osc3c label _ \, osc3b 0.511811 \, osc3a 1 \, osc2d 0.0472441
\, osc2c 0.015748 \, osc2b 0.125984 \, osc2a 0 \, osc1d 1 \, osc1c
0 \, osc1b 0.0393701 \, osc1a 0.401575 \, env3r 0.00188976 \, env3s
1 \, env3d 0 \, env3a 0.00023622 \, env2r 0.0111811 \, env2s 0.551181
\, env2d 0.0472441 \, env2a 0 \, env1r 0.00307087 \, env1s 0.826772
\, env1d 0 \, env1a 0.00173228 \,;
#X msg 222 229 name clarinet \, mod3d label _ \, mod3c label _ \, mod3b
0.133858 \, mod3a 0.015748 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.944882 \, mod1d label _ \, mod1c 0 \, mod1b 0 \,
mod1a 0 \, osc3d label _ \, osc3c label _ \, osc3b 0.417323 \, osc3a
1 \, osc2d 0 \, osc2c 0.015748 \, osc2b 0.110236 \, osc2a 0.700787
\, osc1d 0.141732 \, osc1c 0.149606 \, osc1b 0.377953 \, osc1a 0.866142
\, env3r 0.023622 \, env3s 0.472441 \, env3d 0.488189 \, env3a 0.0472441
\, env2r 0 \, env2s 0.0708661 \, env2d 0.015748 \, env2a 0.0708661
\, env1r 0.00787402 \, env1s 1 \, env1d 0.023622 \, env1a 0.0314961
\,;
#X obj 170 52 sel 0 1 2 3 4 5 6 7 8 9 10 11 12;
#X msg 152 238 name voicy \, mod3d label _ \, mod3c label _ \, mod3b
0.0472441 \, mod3a label HIGHPASS \, mod2d label _ \, mod2c label _
\, mod2b label _ \, mod2a 0.19685 \, mod1d label _ \, mod1c label VIB-ONSET
\, mod1b 0.19685 \, mod1a 0.566929 \, osc3d label _ \, osc3c label
_ \, osc3b 0 \, osc3a 0 \, osc2d 0.165354 \, osc2c 0.015748 \, osc2b
0.889764 \, osc2a 0.669291 \, osc1d label BRIGHT \, osc1c 0.322835
\, osc1b 0 \, osc1a 0.574803 \, env3r 0.0787402 \, env3s 0.677165 \,
env3d label SHAPE-DECAY \, env3a 0.125984 \, env2r 0.149606 \, env2s
0.456693 \, env2d 0.110236 \, env2a 0.149606 \, env1r label AMP-REL
\, env1s 0.80315 \, env1d 0.133858 \, env1a 0.0866142 \,;
#X msg 223 234 name alloallo \, mod3d label _ \, mod3c label _ \, mod3b
0.0472441 \, mod3a 0.015748 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.291339 \, mod1d label _ \, mod1c 0 \, mod1b 0.0551181
\, mod1a 0.850394 \, osc3d label _ \, osc3c label _ \, osc3b 1 \, osc3a
0 \, osc2d 0.141732 \, osc2c 0.165354 \, osc2b 0.409449 \, osc2a 1
\, osc1d 0 \, osc1c 0 \, osc1b 0 \, osc1a 0 \, env3r 0.0015748 \, env3s
0 \, env3d 0.19685 \, env3a 0.025748 \, env2r 0.00858268 \, env2s 0.519685
\, env2d 0.023622 \, env2a 0.0322835 \, env1r 0.00149606 \, env1s 0.889764
\, env1d 0.0393701 \, env1a 0.0651968 \,;
#X msg 218 241 name classic-shape \, mod3d label _ \, mod3c label _
\, mod3b 0.0944882 \, mod3a 0 \, mod2d label _ \, mod2c label _ \,
mod2b label _ \, mod2a 0.866142 \, mod1d label _ \, mod1c 0 \, mod1b
0 \, mod1a 0 \, osc3d label _ \, osc3c label _ \, osc3b 0.511811 \,
osc3a 0.551181 \, osc2d 0.11811 \, osc2c 0.015748 \, osc2b 0.409449
\, osc2a 0.204724 \, osc1d 0.488189 \, osc1c 0.149606 \, osc1b 0.173228
\, osc1a 0.275591 \, env3r 0.00188976 \, env3s 0.15748 \, env3d 0.503937
\, env3a 0.00023622 \, env2r 0.0111811 \, env2s 0.0472441 \, env2d
0.133858 \, env2a 0 \, env1r 0.00307087 \, env1s 0 \, env1d 0.0944882
\, env1a 0.00173228 \,;
#X msg 249 210 name oboes \, mod3d label _ \, mod3c label _ \, mod3b
0.275591 \, mod3a 0.015748 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.944882 \, mod1d label _ \, mod1c 0 \, mod1b 0 \,
mod1a 0 \, osc3d label _ \, osc3c label _ \, osc3b 0.307087 \, osc3a
0.913386 \, osc2d 0.0314961 \, osc2c 0.0393701 \, osc2b 0.88189 \,
osc2a 0.283465 \, osc1d 0.0472441 \, osc1c 0.0551181 \, osc1b 0.188976
\, osc1a 0.811024 \, env3r 0.023622 \, env3s 0.716535 \, env3d 0.488189
\, env3a 0.0393701 \, env2r 0 \, env2s 0.76378 \, env2d 0.015748 \,
env2a 0.0314961 \, env1r 0.00787402 \, env1s 1 \, env1d 0.023622 \,
env1a 0.000472441 \,;
#X msg 275 212 name horns \, mod3d label _ \, mod3c label _ \, mod3b
0.133858 \, mod3a 0.102362 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 1 \, mod1d label _ \, mod1c 0.212598 \, mod1b 0.00787402
\, mod1a 0.519685 \, osc3d label _ \, osc3c label _ \, osc3b 0.905512
\, osc3a 0.425197 \, osc2d 0.0866142 \, osc2c 0.732283 \, osc2b 0.354331
\, osc2a 0.755906 \, osc1d 0.188976 \, osc1c 0.0393701 \, osc1b 0.0708661
\, osc1a 0.944882 \, env3r 0.015748 \, env3s 0.23622 \, env3d 0.125984
\, env3a 0.0314961 \, env2r 0.00787402 \, env2s 0.299213 \, env2d 0.291339
\, env2a 0.0629921 \, env1r 0.015748 \, env1s 0.480315 \, env1d 0.259843
\, env1a 0.0393701 \,;
#X msg 295 194 name stringy \, mod3d label _ \, mod3c label _ \, mod3b
0.125984 \, mod3a 0 \, mod2d label _ \, mod2c label _ \, mod2b label
_ \, mod2a 0.496063 \, mod1d label _ \, mod1c 0.527559 \, mod1b 0.291339
\, mod1a 0.519685 \, osc3d label _ \, osc3c label _ \, osc3b 0.149606
\, osc3a 0.732283 \, osc2d 0.740157 \, osc2c 0.023622 \, osc2b 0.488189
\, osc2a 0.755906 \, osc1d 0.0866142 \, osc1c 0.0393701 \, osc1b 0.110236
\, osc1a 0.944882 \, env3r 0.023622 \, env3s 0.755906 \, env3d 0.19685
\, env3a 0.299213 \, env2r 0.0866142 \, env2s 0.212598 \, env2d 0.188976
\, env2a 0.212598 \, env1r 0.023622 \, env1s 0.629921 \, env1d 0.0629921
\, env1a 0.338583 \,;
#X msg 310 231 name pluck \, mod3d label _ \, mod3c label _ \, mod3b
0.0629921 \, mod3a 0.015748 \, mod2d label _ \, mod2c label _ \, mod2b
label _ \, mod2a 0.771654 \, mod1d label _ \, mod1c 0.527559 \, mod1b
0.023622 \, mod1a 0.574803 \, osc3d label _ \, osc3c label _ \, osc3b
0.322835 \, osc3a 0.968504 \, osc2d 0.614173 \, osc2c 0.251969 \, osc2b
0.173228 \, osc2a 1 \, osc1d 0.259843 \, osc1c 0.188976 \, osc1b 0.433071
\, osc1a 0.826772 \, env3r 0.314961 \, env3s 0.968504 \, env3d 0.110236
\, env3a 0 \, env2r 0.204724 \, env2s 0.952756 \, env2d 0.0708661 \,
env2a 0 \, env1r 0.165354 \, env1s 0.244094 \, env1d 0.0787402 \, env1a
0 \,;
#X connect 0 0 15 0;
#X connect 2 0 1 0;
#X connect 4 0 2 0;
#X connect 4 1 3 0;
#X connect 5 0 8 0;
#X connect 8 0 3 0;
#X connect 9 0 4 0;
#X connect 10 0 4 0;
#X connect 11 0 4 0;
#X connect 12 0 4 0;
#X connect 13 0 4 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
#X connect 15 1 9 0;
#X connect 15 2 10 0;
#X connect 15 3 11 0;
#X connect 15 4 17 0;
#X connect 15 5 12 0;
#X connect 15 6 13 0;
#X connect 15 7 18 0;
#X connect 15 8 14 0;
#X connect 15 9 19 0;
#X connect 15 10 20 0;
#X connect 15 11 21 0;
#X connect 15 12 22 0;
#X connect 16 0 4 0;
#X connect 17 0 4 0;
#X connect 18 0 4 0;
#X connect 19 0 4 0;
#X connect 20 0 4 0;
#X connect 21 0 3 0;
#X connect 22 0 4 0;
#X restore 350 226 pd ewsb_presets;
#X obj 21 243 s_wsb \$0-TAG;
#X obj 21 105 random 10;
#X connect 2 0 12 0;
#X connect 3 0 25 0;
#X connect 4 0 21 0;
#X connect 5 0 28 0;
#X connect 6 0 5 0;
#X connect 7 0 27 0;
#X connect 9 0 7 0;
#X connect 9 1 7 1;
#X connect 11 0 23 0;
#X connect 12 0 27 1;
#X connect 12 1 11 1;
#X connect 13 0 2 0;
#X connect 15 0 27 1;
#X connect 19 0 26 0;
#X connect 20 0 19 0;
#X connect 21 0 7 0;
#X connect 21 1 7 1;
#X connect 22 0 28 1;
#X connect 23 0 14 0;
#X connect 24 0 19 0;
#X connect 25 0 16 0;
#X connect 26 0 17 0;
#X connect 26 1 18 0;
#X connect 27 0 1 0;
#X connect 27 0 1 1;
#X connect 27 1 11 0;
#X connect 28 0 4 0;
#X restore 565 253 pd detailed_help;
#N canvas 175 0 827 680 REFERENCE 0;
#X text 114 174 Argument 0: name for state saving (required);
#X text 114 214 Inlet 0: pitch/velocity pairs.;
#X text 114 357 Outlet 0: synth audio signal.;
#X text 114 374 Outlet 1: will report internal settings when receiving
"save" message to second inlet.;
#X text 114 234 Inlet 1: control inlet to set parameters. See example
help for details. Possible message are (in alphabetical order): env1a
\, env1d \, env1r \, env1s \, env2a \, env2d \, env2r \, env2s \, env3a
\, env3d \, env3r \, env3s \, mod1a \, mod1b \, mod1c \, mod1d \, mod2a
\, mod2b \, mod2c \, mod2d \, mod3a \, mod3b \, mod3c \, mod3d \, osc1a
\, osc1b \, osc1c \, osc1d \, osc2a \, osc2b \, osc2c \, osc2d \, osc3a
\, osc3b \, osc3c \, osc3d. They all accept a float in the range 0-1
;
#X text 113 140 Summary: type B waveshaper;
#X text 121 529 Tags: synthesizer \, waveshape \, bass \, brass;
#X text 114 121 Name: s_wsb;
#X text 112 411 Description: s_wsb is a cascade style waveshaper with
several stages each feeding one another \, controls determine the degree
of shaping at each stage. ajf2010;
#X coords 0 -1 1 1 450 450 1 100 100;
#X restore 4 48 pd REFERENCE;
#X text 498 230 Please see inside for help and an example.;
#X text 658 97 control inlet;
#X text 657 143 preset outlet;
#X obj 576 173 soundoutput;
#X obj 575 88 pack;
#X obj 575 51 notein;
#X obj 575 120 s_wsb \$0-TAG;
#X text 7 14 s_wsb - waveshaping synth type B;
#X connect 6 0 8 0;
#X connect 7 0 6 0;
#X connect 7 1 6 1;
#X connect 8 0 5 0;
#X connect 8 0 5 1;
