#N canvas 96 98 496 492 10;
#X declare -path ./;
#X text 17 426 <table name> <gain> <transposition> <start location
(ms)> <duration (ms)> <looping 0/1>;
#X msg 106 279 sr 44100;
#X text 17 397 s_playtable is controlled through messages composed
of:;
#X floatatom 39 197 5 0 0 0 - - -;
#X msg 39 235 fade \$1 \$2;
#X text 105 214 fade in & out time (default is 0 ms \, 2 ms);
#X floatatom 83 197 5 0 0 0 - - -;
#X obj 39 215 pack 0 2;
#X obj 106 256 loadbang;
#X obj 23 -23 inlet;
#X obj 158 364 dac~;
#N canvas 29 142 613 305 pitchTable 0;
#X obj 23 18 loadbang;
#X obj 25 228 soundfiler;
#X obj 25 145 loadbang;
#X obj 24 255 declare -path ./;
#X text 399 82 2 Octaves \, -12 to 12 in table;
#X obj 24 118 table samplerPitches;
#X msg 23 39 \; samplerPitches 0 0.5 0.5297 0.5612 0.5946 0.63 0.6674
0.7071 0.7492 0.7937 0.8409 0.8909 0.9439 1 1.0595 1.1225 1.1892 1.2599
1.3348 1.4142 1.4983 1.5874 1.6817 1.7817 1.8877 1.9999;
#X msg 23 176 read -resize bass_long_c1.wav samplerBass;
#X obj 36 205 table samplerBass;
#X connect 0 0 6 0;
#X connect 2 0 7 0;
#X connect 7 0 1 0;
#X restore 76 48 pd pitchTable;
#X obj 23 70 tabread samplerPitches;
#X floatatom 22 95 5 0 0 0 - - -;
#X floatatom 23 48 5 0 0 0 - - -;
#X obj 23 25 hradio 15 1 0 25 empty empty empty 0 -8 0 10 -262144 -1
-1 15;
#X obj 22 362 outlet~ monoL;
#X text 207 42 M;
#N canvas 0 22 450 300 majorscale_runs 0;
#X obj 42 6 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 39 215 table majorScale;
#X obj 40 152 loadbang;
#X obj 42 98 tabread majorScale;
#X obj 42 59 random 24;
#X msg 40 179 \; majorScale 0 0 2 4 5 7 9 11 12 14 16 17 19 21 23;
#X floatatom 60 78 5 0 0 0 - - -;
#X obj 42 122 s majorScaleRuns;
#X obj 42 32 metro 250;
#X connect 0 0 8 0;
#X connect 2 0 5 0;
#X connect 3 0 7 0;
#X connect 4 0 3 0;
#X connect 6 0 3 0;
#X connect 8 0 4 0;
#X restore 171 68 pd majorscale_runs;
#X obj 38 -1 r majorScaleRuns;
#X obj 23 308 s_playtable bass;
#X obj 23 132 pack \$1 0 \$2;
#X floatatom 92 112 5 0 0 0 - - -;
#X text 130 107 Duration;
#X obj 91 90 inlet duration;
#X msg 23 166 samplerBass 1 \$1 \$2 \$3 \$4;
#X connect 1 0 20 1;
#X connect 3 0 7 0;
#X connect 4 0 20 1;
#X connect 6 0 7 1;
#X connect 7 0 4 0;
#X connect 8 0 1 0;
#X connect 9 0 15 0;
#X connect 12 0 13 0;
#X connect 13 0 21 0;
#X connect 14 0 12 0;
#X connect 15 0 14 0;
#X connect 19 0 15 0;
#X connect 20 0 10 1;
#X connect 20 0 16 0;
#X connect 20 0 10 0;
#X connect 21 0 25 0;
#X connect 22 0 21 2;
#X connect 24 0 22 0;
#X connect 25 0 20 0;
