2 //To run the synth, click anywhere within the parenthesis above and press "ctrl - enter" or "cmd - return".
3 //A guide to using the instrument is available by clicking on the "i" button in the bottom right corner of the GUI.
4 //Several lines down, where it says "//VARIABLES YOU MAY WISH TO CHANGE", are variables that you can change for various things,
5 //including key codes for keyboard functions.
7 //It is recommended to reboot the interpreter in the "Language" toolbar, or by hightlighting - (thisProcess.platform.recompile);
8 //and pressing "ctrl - enter" or "cmd - return", before each server boot. Rebooting the interpreter is not needed to
9 //evaluate the code below if the server is booted.
11 //You can program/make a song by using the "timewavesynth8script.scd" file
13 //This synth is compatible with the Korg NanoKontrol 2
15 s.options.memSize = 2097152/4;
21 var point, w, view, view2,
22 vol = 0.02,mute1,mute2,mute3,mute4,mute5,mute6,mute7,mute8,muteall,unmuteall,
23 g1,g2,g6,g8,g33,g48,g64,g72,g88,gm,ngm1,ngm2,ngm6,set1,set2,menu1,menu2,
24 ts,sts,str,spaceb,b1,b2,b3,b4,button,button1,info,
25 n1,n2,n3,n4,n5,n6,n7,n8,keycodeb,
26 f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,
27 fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12,
28 fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b,
29 fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c,
30 fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d,
31 fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e,
32 fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f,
33 fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g,
34 fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h;
37 //VARIABLES YOU MAY WISH TO CHANGE
40 //note A tuning frequency in hz
42 ~tuning_frequency = 432; //default 432 hz
46 / (2 ** (69 / 12)); a = (-1); b = (-1);
47 Array.fill(128, {i * (2 ** (((a=a+1) / 12).trunc)) * ( (2 ** (12.reciprocal)) ** ((b=b+1) % 12));
48 }));/*~freqmap = (i = 8.0271480262684/*-0.0000000000024*/; ~stepratio = 1.0594630943593; Array.fill(128, { i = i*~stepratio;}));*/
51 //base frequency for synth inst
53 ~base_frequency = ~freqmap.at(38); //default 38
54 ~synthdefnum = 7; //default 7
58 ~vol = 0.005; //default 0.005
73 //Key codes for keyboard functions - either unicode or keycode. To find key codes, see below:
75 ~rightarrow_keycode = 114; //next note change increase
76 ~leftarrow_keycode = 113; //next note change decrease
77 ~uparrow_keycode = 111; //change synth up
78 ~downarrow_keycode = 116; //change synth down
79 ~enter_unicode = 13; //
80 ~s_unicode = 115; //start synth
81 ~m_unicode = 109; //mute/unmute all synths
82 ~r_unicode = 114; //routine/loop function
84 ~t_unicode = 116; //timer function
85 ~c_unicode = 99; //copy function
86 ~i_unicode = 105; //change synth up
87 ~k_unicode = 107; //change synth down
88 ~j_unicode = 106; //next note change decrease
89 ~l_unicode = 108; //next note change increase
90 ~spacebar_unicode = 32; //pause all synths
91 ~one_unicode = 49; //choose synth 1
92 ~two_unicode = 50; //choose synth 2
93 ~three_unicode = 51; //choose synth 3
94 ~four_unicode = 52; //choose synth 4
95 ~five_unicode = 53; //choose synth 5
96 ~six_unicode = 54; //choose synth 6
97 ~seven_unicode = 55; //choose synth 7
98 ~eight_unicode = 56; //choose synth 8
99 ~escape_unicode = 27; //escape function
102 //To find key codes in post window... Hightlight the function and its parenthesis in red below,
103 //and press "ctrl - enter" or cmd - return" - then a small window called "test" will pop up...
104 //Press the "type" button inside of the window, then press anywhere on the keyboard to find
105 //the key codes in the right-hand side post window. Layout: [unicode, keycode, modifiers]. It is either a unicode
106 //or a keycode. Do not delete the /* and */ characters, or else the
107 //program will not run.
112 var win = Window(\test, Rect(10, 100, 100, 50)),
113 btn = Button(win, Rect(5, 5, 90, 40)).states_([["type"]]);
115 { arg view, char, modifiers, unicode, keycode;
116 ["unicode:"+unicode, "keycode:"+keycode, "modifiers:"+modifiers].postln;
124 //gui set frequency ranges - currently set at the lowest and highest notes on a 128 key range using 432 hz A tuning
125 //you can change the tuning near top
126 //to insert custom ranges, replace "~freqmap.at()" with a hz frequency
128 ~outmin1 = ~freqmap.at(0); // 8.0271480262684 hz //base frequency of upper set
129 ~outmax1 = ~freqmap.at(127); // 12315.783879572 hz //high frequency of upper set
130 ~outmin2 = ~freqmap.at(0)*8; // (8.0271480262684)*8 hz //base frequency of lower set
131 ~outmax2 = ~freqmap.at(127)/8; // (12315.783879572)/8 hz; //high frequency of lower set
138 //increase or decrease magnitude of second and third harmonics
144 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
149 #f1,f2,f3,f4,f5,f6,f7,f8 = [
150 (~freqmap.at(127)/8).rand,
151 (~freqmap.at(127)/8).rand,
152 (~freqmap.at(127)/8).rand,
153 (~freqmap.at(127)/8).rand,
154 (~freqmap.at(127)/8).rand,
155 (~freqmap.at(127)/8).rand,
156 (~freqmap.at(127)/8).rand,
157 (~freqmap.at(127)/8).rand,
160 if(([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil]), {8.do(x = 0; {("f"++(x=x+1)).asSymbol.envirPut([f1,f2,f3,f4,f5,f6,f7,f8].at(x-1))});});
162 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12 = [~u1,~u2,~u3,~u4,~u5,~u6,~u7,~u8,~u9,~u10,~u11,~u12];
163 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b = [~u1b,~u2b,~u3b,~u4b,~u5b,~u6b,~u7b,~u8b,~u9b,~u10b,~u11b,~u12b];
164 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c = [~u1c,~u2c,~u3c,~u4c,~u5c,~u6c,~u7c,~u8c,~u9c,~u10c,~u11c,~u12c];
165 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d = [~u1d,~u2d,~u3d,~u4d,~u5d,~u6d,~u7d,~u8d,~u9d,~u10d,~u11d,~u12d];
166 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e = [~u1e,~u2e,~u3e,~u4e,~u5e,~u6e,~u7e,~u8e,~u9e,~u10e,~u11e,~u12e];
167 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f = [~u1f,~u2f,~u3f,~u4f,~u5f,~u6f,~u7f,~u8f,~u9f,~u10f,~u11f,~u12f];
168 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g = [~u1g,~u2g,~u3g,~u4g,~u5g,~u6g,~u7g,~u8g,~u9g,~u10g,~u11g,~u12g];
169 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h = [~u1h,~u2h,~u3h,~u4h,~u5h,~u6h,~u7h,~u8h,~u9h,~u10h,~u11h,~u12h];
171 if([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12 = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
172 if([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
173 if([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
174 if([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
175 if([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
176 if([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
177 if([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
178 if([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {#fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ];});
180 if([~sg1a1,~sg1a2,~sg1a3,~sg1a4,~sg1a5,~sg1a6,~sg1a7,~sg1a8,~sg1a9,~sg1a10,~sg1a11,~sg1a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1a1=~f1,~sg1a2=~f2,~sg1a3=~f3,~sg1a4=~f4,~sg1a5=~f5,~sg1a6=~f6,~sg1a7=~f7,~sg1a8=~f8];});
181 if([~sg1b1,~sg1b2,~sg1b3,~sg1b4,~sg1b5,~sg1b6,~sg1b7,~sg1b8,~sg1b9,~sg1b10,~sg1b11,~sg1b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1b1=~f1,~sg1b2=~f2,~sg1b3=~f3,~sg1b4=~f4,~sg1b5=~f5,~sg1b6=~f6,~sg1b7=~f7,~sg1b8=~f8];});
182 if([~sg1c1,~sg1c2,~sg1c3,~sg1c4,~sg1c5,~sg1c6,~sg1c7,~sg1c8,~sg1c9,~sg1c10,~sg1c11,~sg1c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1c1=~f1,~sg1c2=~f2,~sg1c3=~f3,~sg1c4=~f4,~sg1c5=~f5,~sg1c6=~f6,~sg1c7=~f7,~sg1c8=~f8];});
183 if([~sg1d1,~sg1d2,~sg1d3,~sg1d4,~sg1d5,~sg1d6,~sg1d7,~sg1d8,~sg1d9,~sg1d10,~sg1d11,~sg1d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1d1=~f1,~sg1d2=~f2,~sg1d3=~f3,~sg1d4=~f4,~sg1d5=~f5,~sg1d6=~f6,~sg1d7=~f7,~sg1d8=~f8];});
184 if([~sg1e1,~sg1e2,~sg1e3,~sg1e4,~sg1e5,~sg1e6,~sg1e7,~sg1e8,~sg1e9,~sg1e10,~sg1e11,~sg1e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1e1=~f1,~sg1e2=~f2,~sg1e3=~f3,~sg1e4=~f4,~sg1e5=~f5,~sg1e6=~f6,~sg1e7=~f7,~sg1e8=~f8];});
185 if([~sg1f1,~sg1f2,~sg1f3,~sg1f4,~sg1f5,~sg1f6,~sg1f7,~sg1f8,~sg1f9,~sg1f10,~sg1f11,~sg1f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1f1=~f1,~sg1f2=~f2,~sg1f3=~f3,~sg1f4=~f4,~sg1f5=~f5,~sg1f6=~f6,~sg1f7=~f7,~sg1f8=~f8];});
186 if([~sg1g1,~sg1g2,~sg1g3,~sg1g4,~sg1g5,~sg1g6,~sg1g7,~sg1g8,~sg1g9,~sg1g10,~sg1g11,~sg1g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1g1=~f1,~sg1g2=~f2,~sg1g3=~f3,~sg1g4=~f4,~sg1g5=~f5,~sg1g6=~f6,~sg1g7=~f7,~sg1g8=~f8];});
187 if([~sg1h1,~sg1h2,~sg1h3,~sg1h4,~sg1h5,~sg1h6,~sg1h7,~sg1h8,~sg1h9,~sg1h10,~sg1h11,~sg1h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg1h1=~f1,~sg1h2=~f2,~sg1h3=~f3,~sg1h4=~f4,~sg1h5=~f5,~sg1h6=~f6,~sg1h7=~f7,~sg1h8=~f8];});
188 if([~sg2a1,~sg2a2,~sg2a3,~sg2a4,~sg2a5,~sg2a6,~sg2a7,~sg2a8,~sg2a9,~sg2a10,~sg2a11,~sg2a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2a1=~f1,~sg2a2=~f2,~sg2a3=~f3,~sg2a4=~f4,~sg2a5=~f5,~sg2a6=~f6,~sg2a7=~f7,~sg2a8=~f8];});
189 if([~sg2b1,~sg2b2,~sg2b3,~sg2b4,~sg2b5,~sg2b6,~sg2b7,~sg2b8,~sg2b9,~sg2b10,~sg2b11,~sg2b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2b1=~f1,~sg2b2=~f2,~sg2b3=~f3,~sg2b4=~f4,~sg2b5=~f5,~sg2b6=~f6,~sg2b7=~f7,~sg2b8=~f8];});
190 if([~sg2c1,~sg2c2,~sg2c3,~sg2c4,~sg2c5,~sg2c6,~sg2c7,~sg2c8,~sg2c9,~sg2c10,~sg2c11,~sg2c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2c1=~f1,~sg2c2=~f2,~sg2c3=~f3,~sg2c4=~f4,~sg2c5=~f5,~sg2c6=~f6,~sg2c7=~f7,~sg2c8=~f8];});
191 if([~sg2d1,~sg2d2,~sg2d3,~sg2d4,~sg2d5,~sg2d6,~sg2d7,~sg2d8,~sg2d9,~sg2d10,~sg2d11,~sg2d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2d1=~f1,~sg2d2=~f2,~sg2d3=~f3,~sg2d4=~f4,~sg2d5=~f5,~sg2d6=~f6,~sg2d7=~f7,~sg2d8=~f8];});
192 if([~sg2e1,~sg2e2,~sg2e3,~sg2e4,~sg2e5,~sg2e6,~sg2e7,~sg2e8,~sg2e9,~sg2e10,~sg2e11,~sg2e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2e1=~f1,~sg2e2=~f2,~sg2e3=~f3,~sg2e4=~f4,~sg2e5=~f5,~sg2e6=~f6,~sg2e7=~f7,~sg2e8=~f8];});
193 if([~sg2f1,~sg2f2,~sg2f3,~sg2f4,~sg2f5,~sg2f6,~sg2f7,~sg2f8,~sg2f9,~sg2f10,~sg2f11,~sg2f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2f1=~f1,~sg2f2=~f2,~sg2f3=~f3,~sg2f4=~f4,~sg2f5=~f5,~sg2f6=~f6,~sg2f7=~f7,~sg2f8=~f8];});
194 if([~sg2g1,~sg2g2,~sg2g3,~sg2g4,~sg2g5,~sg2g6,~sg2g7,~sg2g8,~sg2g9,~sg2g10,~sg2g11,~sg2g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2g1=~f1,~sg2g2=~f2,~sg2g3=~f3,~sg2g4=~f4,~sg2g5=~f5,~sg2g6=~f6,~sg2g7=~f7,~sg2g8=~f8];});
195 if([~sg2h1,~sg2h2,~sg2h3,~sg2h4,~sg2h5,~sg2h6,~sg2h7,~sg2h8,~sg2h9,~sg2h10,~sg2h11,~sg2h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg2h1=~f1,~sg2h2=~f2,~sg2h3=~f3,~sg2h4=~f4,~sg2h5=~f5,~sg2h6=~f6,~sg2h7=~f7,~sg2h8=~f8];});
196 if([~sg3a1,~sg3a2,~sg3a3,~sg3a4,~sg3a5,~sg3a6,~sg3a7,~sg3a8,~sg3a9,~sg3a10,~sg3a11,~sg3a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3a1=~f1,~sg3a2=~f2,~sg3a3=~f3,~sg3a4=~f4,~sg3a5=~f5,~sg3a6=~f6,~sg3a7=~f7,~sg3a8=~f8];});
197 if([~sg3b1,~sg3b2,~sg3b3,~sg3b4,~sg3b5,~sg3b6,~sg3b7,~sg3b8,~sg3b9,~sg3b10,~sg3b11,~sg3b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3b1=~f1,~sg3b2=~f2,~sg3b3=~f3,~sg3b4=~f4,~sg3b5=~f5,~sg3b6=~f6,~sg3b7=~f7,~sg3b8=~f8];});
198 if([~sg3c1,~sg3c2,~sg3c3,~sg3c4,~sg3c5,~sg3c6,~sg3c7,~sg3c8,~sg3c9,~sg3c10,~sg3c11,~sg3c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3c1=~f1,~sg3c2=~f2,~sg3c3=~f3,~sg3c4=~f4,~sg3c5=~f5,~sg3c6=~f6,~sg3c7=~f7,~sg3c8=~f8];});
199 if([~sg3d1,~sg3d2,~sg3d3,~sg3d4,~sg3d5,~sg3d6,~sg3d7,~sg3d8,~sg3d9,~sg3d10,~sg3d11,~sg3d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3d1=~f1,~sg3d2=~f2,~sg3d3=~f3,~sg3d4=~f4,~sg3d5=~f5,~sg3d6=~f6,~sg3d7=~f7,~sg3d8=~f8];});
200 if([~sg3e1,~sg3e2,~sg3e3,~sg3e4,~sg3e5,~sg3e6,~sg3e7,~sg3e8,~sg3e9,~sg3e10,~sg3e11,~sg3e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3e1=~f1,~sg3e2=~f2,~sg3e3=~f3,~sg3e4=~f4,~sg3e5=~f5,~sg3e6=~f6,~sg3e7=~f7,~sg3e8=~f8];});
201 if([~sg3f1,~sg3f2,~sg3f3,~sg3f4,~sg3f5,~sg3f6,~sg3f7,~sg3f8,~sg3f9,~sg3f10,~sg3f11,~sg3f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3f1=~f1,~sg3f2=~f2,~sg3f3=~f3,~sg3f4=~f4,~sg3f5=~f5,~sg3f6=~f6,~sg3f7=~f7,~sg3f8=~f8];});
202 if([~sg3g1,~sg3g2,~sg3g3,~sg3g4,~sg3g5,~sg3g6,~sg3g7,~sg3g8,~sg3g9,~sg3g10,~sg3g11,~sg3g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3g1=~f1,~sg3g2=~f2,~sg3g3=~f3,~sg3g4=~f4,~sg3g5=~f5,~sg3g6=~f6,~sg3g7=~f7,~sg3g8=~f8];});
203 if([~sg3h1,~sg3h2,~sg3h3,~sg3h4,~sg3h5,~sg3h6,~sg3h7,~sg3h8,~sg3h9,~sg3h10,~sg3h11,~sg3h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg3h1=~f1,~sg3h2=~f2,~sg3h3=~f3,~sg3h4=~f4,~sg3h5=~f5,~sg3h6=~f6,~sg3h7=~f7,~sg3h8=~f8];});
204 if([~sg4a1,~sg4a2,~sg4a3,~sg4a4,~sg4a5,~sg4a6,~sg4a7,~sg4a8,~sg4a9,~sg4a10,~sg4a11,~sg4a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4a1=~f1,~sg4a2=~f2,~sg4a3=~f3,~sg4a4=~f4,~sg4a5=~f5,~sg4a6=~f6,~sg4a7=~f7,~sg4a8=~f8];});
205 if([~sg4b1,~sg4b2,~sg4b3,~sg4b4,~sg4b5,~sg4b6,~sg4b7,~sg4b8,~sg4b9,~sg4b10,~sg4b11,~sg4b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4b1=~f1,~sg4b2=~f2,~sg4b3=~f3,~sg4b4=~f4,~sg4b5=~f5,~sg4b6=~f6,~sg4b7=~f7,~sg4b8=~f8];});
206 if([~sg4c1,~sg4c2,~sg4c3,~sg4c4,~sg4c5,~sg4c6,~sg4c7,~sg4c8,~sg4c9,~sg4c10,~sg4c11,~sg4c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4c1=~f1,~sg4c2=~f2,~sg4c3=~f3,~sg4c4=~f4,~sg4c5=~f5,~sg4c6=~f6,~sg4c7=~f7,~sg4c8=~f8];});
207 if([~sg4d1,~sg4d2,~sg4d3,~sg4d4,~sg4d5,~sg4d6,~sg4d7,~sg4d8,~sg4d9,~sg4d10,~sg4d11,~sg4d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4d1=~f1,~sg4d2=~f2,~sg4d3=~f3,~sg4d4=~f4,~sg4d5=~f5,~sg4d6=~f6,~sg4d7=~f7,~sg4d8=~f8];});
208 if([~sg4e1,~sg4e2,~sg4e3,~sg4e4,~sg4e5,~sg4e6,~sg4e7,~sg4e8,~sg4e9,~sg4e10,~sg4e11,~sg4e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4e1=~f1,~sg4e2=~f2,~sg4e3=~f3,~sg4e4=~f4,~sg4e5=~f5,~sg4e6=~f6,~sg4e7=~f7,~sg4e8=~f8];});
209 if([~sg4f1,~sg4f2,~sg4f3,~sg4f4,~sg4f5,~sg4f6,~sg4f7,~sg4f8,~sg4f9,~sg4f10,~sg4f11,~sg4f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4f1=~f1,~sg4f2=~f2,~sg4f3=~f3,~sg4f4=~f4,~sg4f5=~f5,~sg4f6=~f6,~sg4f7=~f7,~sg4f8=~f8];});
210 if([~sg4g1,~sg4g2,~sg4g3,~sg4g4,~sg4g5,~sg4g6,~sg4g7,~sg4g8,~sg4g9,~sg4g10,~sg4g11,~sg4g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4g1=~f1,~sg4g2=~f2,~sg4g3=~f3,~sg4g4=~f4,~sg4g5=~f5,~sg4g6=~f6,~sg4g7=~f7,~sg4g8=~f8];});
211 if([~sg4h1,~sg4h2,~sg4h3,~sg4h4,~sg4h5,~sg4h6,~sg4h7,~sg4h8,~sg4h9,~sg4h10,~sg4h11,~sg4h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg4h1=~f1,~sg4h2=~f2,~sg4h3=~f3,~sg4h4=~f4,~sg4h5=~f5,~sg4h6=~f6,~sg4h7=~f7,~sg4h8=~f8];});
212 if([~sg5a1,~sg5a2,~sg5a3,~sg5a4,~sg5a5,~sg5a6,~sg5a7,~sg5a8,~sg5a9,~sg5a10,~sg5a11,~sg5a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5a1=~f1,~sg5a2=~f2,~sg5a3=~f3,~sg5a4=~f4,~sg5a5=~f5,~sg5a6=~f6,~sg5a7=~f7,~sg5a8=~f8];});
213 if([~sg5b1,~sg5b2,~sg5b3,~sg5b4,~sg5b5,~sg5b6,~sg5b7,~sg5b8,~sg5b9,~sg5b10,~sg5b11,~sg5b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5b1=~f1,~sg5b2=~f2,~sg5b3=~f3,~sg5b4=~f4,~sg5b5=~f5,~sg5b6=~f6,~sg5b7=~f7,~sg5b8=~f8];});
214 if([~sg5c1,~sg5c2,~sg5c3,~sg5c4,~sg5c5,~sg5c6,~sg5c7,~sg5c8,~sg5c9,~sg5c10,~sg5c11,~sg5c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5c1=~f1,~sg5c2=~f2,~sg5c3=~f3,~sg5c4=~f4,~sg5c5=~f5,~sg5c6=~f6,~sg5c7=~f7,~sg5c8=~f8];});
215 if([~sg5d1,~sg5d2,~sg5d3,~sg5d4,~sg5d5,~sg5d6,~sg5d7,~sg5d8,~sg5d9,~sg5d10,~sg5d11,~sg5d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5d1=~f1,~sg5d2=~f2,~sg5d3=~f3,~sg5d4=~f4,~sg5d5=~f5,~sg5d6=~f6,~sg5d7=~f7,~sg5d8=~f8];});
216 if([~sg5e1,~sg5e2,~sg5e3,~sg5e4,~sg5e5,~sg5e6,~sg5e7,~sg5e8,~sg5e9,~sg5e10,~sg5e11,~sg5e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5e1=~f1,~sg5e2=~f2,~sg5e3=~f3,~sg5e4=~f4,~sg5e5=~f5,~sg5e6=~f6,~sg5e7=~f7,~sg5e8=~f8];});
217 if([~sg5f1,~sg5f2,~sg5f3,~sg5f4,~sg5f5,~sg5f6,~sg5f7,~sg5f8,~sg5f9,~sg5f10,~sg5f11,~sg5f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5f1=~f1,~sg5f2=~f2,~sg5f3=~f3,~sg5f4=~f4,~sg5f5=~f5,~sg5f6=~f6,~sg5f7=~f7,~sg5f8=~f8];});
218 if([~sg5g1,~sg5g2,~sg5g3,~sg5g4,~sg5g5,~sg5g6,~sg5g7,~sg5g8,~sg5g9,~sg5g10,~sg5g11,~sg5g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5g1=~f1,~sg5g2=~f2,~sg5g3=~f3,~sg5g4=~f4,~sg5g5=~f5,~sg5g6=~f6,~sg5g7=~f7,~sg5g8=~f8];});
219 if([~sg5h1,~sg5h2,~sg5h3,~sg5h4,~sg5h5,~sg5h6,~sg5h7,~sg5h8,~sg5h9,~sg5h10,~sg5h11,~sg5h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg5h1=~f1,~sg5h2=~f2,~sg5h3=~f3,~sg5h4=~f4,~sg5h5=~f5,~sg5h6=~f6,~sg5h7=~f7,~sg5h8=~f8];});
220 if([~sg6a1,~sg6a2,~sg6a3,~sg6a4,~sg6a5,~sg6a6,~sg6a7,~sg6a8,~sg6a9,~sg6a10,~sg6a11,~sg6a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6a1=~f1,~sg6a2=~f2,~sg6a3=~f3,~sg6a4=~f4,~sg6a5=~f5,~sg6a6=~f6,~sg6a7=~f7,~sg6a8=~f8];});
221 if([~sg6b1,~sg6b2,~sg6b3,~sg6b4,~sg6b5,~sg6b6,~sg6b7,~sg6b8,~sg6b9,~sg6b10,~sg6b11,~sg6b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6b1=~f1,~sg6b2=~f2,~sg6b3=~f3,~sg6b4=~f4,~sg6b5=~f5,~sg6b6=~f6,~sg6b7=~f7,~sg6b8=~f8];});
222 if([~sg6c1,~sg6c2,~sg6c3,~sg6c4,~sg6c5,~sg6c6,~sg6c7,~sg6c8,~sg6c9,~sg6c10,~sg6c11,~sg6c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6c1=~f1,~sg6c2=~f2,~sg6c3=~f3,~sg6c4=~f4,~sg6c5=~f5,~sg6c6=~f6,~sg6c7=~f7,~sg6c8=~f8];});
223 if([~sg6d1,~sg6d2,~sg6d3,~sg6d4,~sg6d5,~sg6d6,~sg6d7,~sg6d8,~sg6d9,~sg6d10,~sg6d11,~sg6d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6d1=~f1,~sg6d2=~f2,~sg6d3=~f3,~sg6d4=~f4,~sg6d5=~f5,~sg6d6=~f6,~sg6d7=~f7,~sg6d8=~f8];});
224 if([~sg6e1,~sg6e2,~sg6e3,~sg6e4,~sg6e5,~sg6e6,~sg6e7,~sg6e8,~sg6e9,~sg6e10,~sg6e11,~sg6e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6e1=~f1,~sg6e2=~f2,~sg6e3=~f3,~sg6e4=~f4,~sg6e5=~f5,~sg6e6=~f6,~sg6e7=~f7,~sg6e8=~f8];});
225 if([~sg6f1,~sg6f2,~sg6f3,~sg6f4,~sg6f5,~sg6f6,~sg6f7,~sg6f8,~sg6f9,~sg6f10,~sg6f11,~sg6f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6f1=~f1,~sg6f2=~f2,~sg6f3=~f3,~sg6f4=~f4,~sg6f5=~f5,~sg6f6=~f6,~sg6f7=~f7,~sg6f8=~f8];});
226 if([~sg6g1,~sg6g2,~sg6g3,~sg6g4,~sg6g5,~sg6g6,~sg6g7,~sg6g8,~sg6g9,~sg6g10,~sg6g11,~sg6g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6g1=~f1,~sg6g2=~f2,~sg6g3=~f3,~sg6g4=~f4,~sg6g5=~f5,~sg6g6=~f6,~sg6g7=~f7,~sg6g8=~f8];});
227 if([~sg6h1,~sg6h2,~sg6h3,~sg6h4,~sg6h5,~sg6h6,~sg6h7,~sg6h8,~sg6h9,~sg6h10,~sg6h11,~sg6h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg6h1=~f1,~sg6h2=~f2,~sg6h3=~f3,~sg6h4=~f4,~sg6h5=~f5,~sg6h6=~f6,~sg6h7=~f7,~sg6h8=~f8];});
228 if([~sg7a1,~sg7a2,~sg7a3,~sg7a4,~sg7a5,~sg7a6,~sg7a7,~sg7a8,~sg7a9,~sg7a10,~sg7a11,~sg7a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7a1=~f1,~sg7a2=~f2,~sg7a3=~f3,~sg7a4=~f4,~sg7a5=~f5,~sg7a6=~f6,~sg7a7=~f7,~sg7a8=~f8];});
229 if([~sg7b1,~sg7b2,~sg7b3,~sg7b4,~sg7b5,~sg7b6,~sg7b7,~sg7b8,~sg7b9,~sg7b10,~sg7b11,~sg7b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7b1=~f1,~sg7b2=~f2,~sg7b3=~f3,~sg7b4=~f4,~sg7b5=~f5,~sg7b6=~f6,~sg7b7=~f7,~sg7b8=~f8];});
230 if([~sg7c1,~sg7c2,~sg7c3,~sg7c4,~sg7c5,~sg7c6,~sg7c7,~sg7c8,~sg7c9,~sg7c10,~sg7c11,~sg7c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7c1=~f1,~sg7c2=~f2,~sg7c3=~f3,~sg7c4=~f4,~sg7c5=~f5,~sg7c6=~f6,~sg7c7=~f7,~sg7c8=~f8];});
231 if([~sg7d1,~sg7d2,~sg7d3,~sg7d4,~sg7d5,~sg7d6,~sg7d7,~sg7d8,~sg7d9,~sg7d10,~sg7d11,~sg7d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7d1=~f1,~sg7d2=~f2,~sg7d3=~f3,~sg7d4=~f4,~sg7d5=~f5,~sg7d6=~f6,~sg7d7=~f7,~sg7d8=~f8];});
232 if([~sg7e1,~sg7e2,~sg7e3,~sg7e4,~sg7e5,~sg7e6,~sg7e7,~sg7e8,~sg7e9,~sg7e10,~sg7e11,~sg7e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7e1=~f1,~sg7e2=~f2,~sg7e3=~f3,~sg7e4=~f4,~sg7e5=~f5,~sg7e6=~f6,~sg7e7=~f7,~sg7e8=~f8];});
233 if([~sg7f1,~sg7f2,~sg7f3,~sg7f4,~sg7f5,~sg7f6,~sg7f7,~sg7f8,~sg7f9,~sg7f10,~sg7f11,~sg7f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7f1=~f1,~sg7f2=~f2,~sg7f3=~f3,~sg7f4=~f4,~sg7f5=~f5,~sg7f6=~f6,~sg7f7=~f7,~sg7f8=~f8];});
234 if([~sg7g1,~sg7g2,~sg7g3,~sg7g4,~sg7g5,~sg7g6,~sg7g7,~sg7g8,~sg7g9,~sg7g10,~sg7g11,~sg7g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7g1=~f1,~sg7g2=~f2,~sg7g3=~f3,~sg7g4=~f4,~sg7g5=~f5,~sg7g6=~f6,~sg7g7=~f7,~sg7g8=~f8];});
235 if([~sg7h1,~sg7h2,~sg7h3,~sg7h4,~sg7h5,~sg7h6,~sg7h7,~sg7h8,~sg7h9,~sg7h10,~sg7h11,~sg7h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg7h1=~f1,~sg7h2=~f2,~sg7h3=~f3,~sg7h4=~f4,~sg7h5=~f5,~sg7h6=~f6,~sg7h7=~f7,~sg7h8=~f8];});
236 if([~sg8a1,~sg8a2,~sg8a3,~sg8a4,~sg8a5,~sg8a6,~sg8a7,~sg8a8,~sg8a9,~sg8a10,~sg8a11,~sg8a12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8a1=~f1,~sg8a2=~f2,~sg8a3=~f3,~sg8a4=~f4,~sg8a5=~f5,~sg8a6=~f6,~sg8a7=~f7,~sg8a8=~f8];});
237 if([~sg8b1,~sg8b2,~sg8b3,~sg8b4,~sg8b5,~sg8b6,~sg8b7,~sg8b8,~sg8b9,~sg8b10,~sg8b11,~sg8b12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8b1=~f1,~sg8b2=~f2,~sg8b3=~f3,~sg8b4=~f4,~sg8b5=~f5,~sg8b6=~f6,~sg8b7=~f7,~sg8b8=~f8];});
238 if([~sg8c1,~sg8c2,~sg8c3,~sg8c4,~sg8c5,~sg8c6,~sg8c7,~sg8c8,~sg8c9,~sg8c10,~sg8c11,~sg8c12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8c1=~f1,~sg8c2=~f2,~sg8c3=~f3,~sg8c4=~f4,~sg8c5=~f5,~sg8c6=~f6,~sg8c7=~f7,~sg8c8=~f8];});
239 if([~sg8d1,~sg8d2,~sg8d3,~sg8d4,~sg8d5,~sg8d6,~sg8d7,~sg8d8,~sg8d9,~sg8d10,~sg8d11,~sg8d12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8d1=~f1,~sg8d2=~f2,~sg8d3=~f3,~sg8d4=~f4,~sg8d5=~f5,~sg8d6=~f6,~sg8d7=~f7,~sg8d8=~f8];});
240 if([~sg8e1,~sg8e2,~sg8e3,~sg8e4,~sg8e5,~sg8e6,~sg8e7,~sg8e8,~sg8e9,~sg8e10,~sg8e11,~sg8e12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8e1=~f1,~sg8e2=~f2,~sg8e3=~f3,~sg8e4=~f4,~sg8e5=~f5,~sg8e6=~f6,~sg8e7=~f7,~sg8e8=~f8];});
241 if([~sg8f1,~sg8f2,~sg8f3,~sg8f4,~sg8f5,~sg8f6,~sg8f7,~sg8f8,~sg8f9,~sg8f10,~sg8f11,~sg8f12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8f1=~f1,~sg8f2=~f2,~sg8f3=~f3,~sg8f4=~f4,~sg8f5=~f5,~sg8f6=~f6,~sg8f7=~f7,~sg8f8=~f8];});
242 if([~sg8g1,~sg8g2,~sg8g3,~sg8g4,~sg8g5,~sg8g6,~sg8g7,~sg8g8,~sg8g9,~sg8g10,~sg8g11,~sg8g12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8g1=~f1,~sg8g2=~f2,~sg8g3=~f3,~sg8g4=~f4,~sg8g5=~f5,~sg8g6=~f6,~sg8g7=~f7,~sg8g8=~f8];});
243 if([~sg8h1,~sg8h2,~sg8h3,~sg8h4,~sg8h5,~sg8h6,~sg8h7,~sg8h8,~sg8h9,~sg8h10,~sg8h11,~sg8h12] == [nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil], {[~sg8h1=~f1,~sg8h2=~f2,~sg8h3=~f3,~sg8h4=~f4,~sg8h5=~f5,~sg8h6=~f6,~sg8h7=~f7,~sg8h8=~f8];});
249 SynthDef(\gsineicfld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
250 a, b, c, d, e, f, pan=0, fc = 1;
251 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
253 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
254 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
256 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
257 OffsetOut.ar(0, s1.dup*vol);
260 SynthDef(\gsineicrld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
261 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
262 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
264 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
265 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
266 }).flatten].flatten.reverse, inf);
267 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
268 OffsetOut.ar(0, s1.dup*vol);
271 SynthDef(\gsineicfld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
272 a, b, c, d, e, f, pan=0, fc = 1;
273 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
275 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
276 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
278 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
279 OffsetOut.ar(0, s1.dup*vol);
282 SynthDef(\gsineicrld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
283 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
284 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
286 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
287 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
288 }).flatten].flatten.reverse, inf);
289 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
290 OffsetOut.ar(0, s1.dup*vol);
293 SynthDef(\gsineicfld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
294 a, b, c, d, e, f, pan=0, fc = 1;
295 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
297 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
298 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
300 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
301 OffsetOut.ar(0, s1.dup*vol);
304 SynthDef(\gsineicrld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
305 a, b, c, d, e, f, pan=0, fc = 1;
306 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
308 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
309 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],/*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],/*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],/*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],/*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],/*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],/*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],/*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],/*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],/*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],/*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],/*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],/*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],/*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],/*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],/*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],/*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],/*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],/*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],/*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],/*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],/*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],/*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],/*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],/*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],/*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],/*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],/*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],/*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]]
310 }).flatten].flatten.reverse, inf);
311 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
312 OffsetOut.ar(0, s1.dup*vol);
317 SynthDef(\gsineicfld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
318 a, b, c, d, e, f, pan=0, fc = 1;
319 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
320 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1];
321 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
322 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
324 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
325 OffsetOut.ar(0, s1.dup*vol);
328 SynthDef(\gsineicrld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
329 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
330 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
331 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1,~ngm1];
332 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
333 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
334 }).flatten].flatten.reverse, inf);
335 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
336 OffsetOut.ar(0, s1.dup*vol);
339 SynthDef(\gsineicfld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
340 a, b, c, d, e, f, pan=0, fc = 1;
341 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
342 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2];
343 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
344 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
346 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
347 OffsetOut.ar(0, s1.dup*vol);
350 SynthDef(\gsineicrld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
351 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
352 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
353 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2,~ngm2];
354 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
355 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
356 }).flatten].flatten.reverse, inf);
357 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
358 OffsetOut.ar(0, s1.dup*vol);
361 SynthDef(\gsineicfld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
362 a, b, c, d, e, f, pan=0, fc = 1;
363 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
364 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6];
365 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
366 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
368 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
369 OffsetOut.ar(0, s1.dup*vol);
372 SynthDef(\gsineicrld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
373 a, b, c, d, e, f, pan=0, fc = 1;
374 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
375 #n1,n2,n3,n4,n5,n6,n7,n8,n9=[~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6,~ngm6];
376 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
377 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]]
378 }).flatten].flatten.reverse, inf);
379 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
380 OffsetOut.ar(0, s1.dup*vol);
385 SynthDef(\gsineicfld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
386 a, b, c, d, e, f, pan=0, fc = 1;
387 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
389 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
390 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
392 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
393 OffsetOut.ar(0, s1.dup*vol);
396 SynthDef(\gsineicrld1, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
397 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
398 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
400 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
401 ++Array.fill((~gsinenum -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
402 }).flatten].flatten.reverse, inf);
403 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
404 OffsetOut.ar(0, s1.dup*vol);
407 SynthDef(\gsineicfld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
408 a, b, c, d, e, f, pan=0, fc = 1;
409 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
411 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
412 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
414 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
415 OffsetOut.ar(0, s1.dup*vol);
418 SynthDef(\gsineicrld2, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
419 a, b, c, d, e, f, pan=0, fc = 1, id = -1;
420 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9,af;
422 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
423 ++Array.fill((~gsinenum*2 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
424 }).flatten].flatten.reverse, inf);
425 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur), Demand.ar(Impulse.ar(dur), 0, dseq));
426 OffsetOut.ar(0, s1.dup*vol);
429 SynthDef(\gsineicfld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
430 a, b, c, d, e, f, pan=0, fc = 1;
431 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
433 dseq = Dseq([/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
434 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
436 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
437 OffsetOut.ar(0, s1.dup*vol);
440 SynthDef(\gsineicrld6, {arg graindur = 0.04, dur = 2000, atk = 0.007, rel = 0.01, gate = 1, amp = 1, i = 1, vol = ~vol, rate = 20, tune = 0,dseqval,
441 a, b, c, d, e, f, pan=0, fc = 1;
442 var s1, out, env1, s2, dseq,n1,n2,n3,n4,n5,n6,n7,n8,n9;
444 dseq = Dseq([[/*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
445 ++Array.fill((~gsinenum*6 -1), {[/*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],/*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],/*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],/*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],/*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],/*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],/*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],/*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],/*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],/*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f],/*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],/*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],/*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth],/*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],/*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],/*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],/*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],/*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],/*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],/*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],/*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],/*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],/*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],/*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],/*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],/*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],/*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],/*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],/*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],/*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],/*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],/*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],/*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],/*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],/*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],/*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],/*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],/*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],/*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],/*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],/*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],/*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],/*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],/*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],/*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],/*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],/*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],/*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],/*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],/*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],/*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]]
446 }).flatten].flatten.reverse, inf);
447 s1 = GrainSin.ar(1, Impulse.ar(dur), 1/(dur),Demand.ar(Impulse.ar(dur), 0, dseq));
448 OffsetOut.ar(0, s1.dup*vol);
453 //starting values for synthdefs
455 if((~gsinenum == nil) and: (~synthdef != "gsineicld"), {
457 if(~basefreq == nil, {~basefreq = ~base_frequency});
459 (#a,b,c,d,e,f = [ ~basefreq,~basefreq,~basefreq,~basefreq,~basefreq,~basefreq ];
460 ~a = a; ~b = b; ~c =c; ~d = d; ~e = e;~f=f;);
462 ~fth = 1.4142135623729;
463 ~gm = 1.6180339887499;
464 ~gm2 = 1.2720196495141;
465 ~gm6 = 1.0835058821738;
466 ~stepratio = 1.0594630943593;
467 ~nval = 1.0355417528;
469 ~n9 = 1.080059789899;
470 ~n18 = 1.0392592260319;
471 ~n27 = 1.0260044847071;
472 ~n36 = 1.0194406437022;
473 ~n45 = 1.0155225125043;
474 ~n54 = 1.012918794725;
475 ~n63 = 1.0110630844869;
476 ~n72 = 1.0096735332285;
477 ~ngm1 = 1.0549232131786;
478 ~ngm2 = 1.0270945492887;
479 ~ngm6 = 1.0089511542031;
480 ~nngm1 = 1.0075472729363;
481 ~nngm2 = 1.0037665430449;
482 ~nngm6 = 1.0012539413222;
484 ~synthdef = "gsineicld"; ~gsinenum = ~synthdefnum;
487 {~gsine == nil}{~gsine = ~gsine1; ~gsine1.value;};
492 //generaate GUI window
494 w = Window("Timewave Synth", Rect(0,0,Window.screenBounds.width,Window.screenBounds.height), border:true);
496 view = UserView(w, Window.screenBounds);
497 view.clearOnRefresh = false;
498 view.background = Color.black;
500 //vertical grid (inactive)
502 /*~b1 = Window.screenBounds.width/(12*4) /*25.462962962963*/; ~btu = 31; ~btd = 375; ~bw = 0.5; ~bh = 80; ~bcolor = Color.grey;
503 CompositeView(w, Rect(~b1, ~btu, ~bw, ~bh)).background = ~bcolor;
504 CompositeView(w, Rect(~b1, ~btd, ~bw, ~bh)).background = ~bcolor;
505 54.do({CompositeView(w, Rect(~b1 = ~b1+(Window.screenBounds.width/(12*4)), ~btu, ~bw, ~bh)).background = ~bcolor;});
506 ~b1 = Window.screenBounds.width/(12*4);
507 54.do({CompositeView(w, Rect(~b1 = ~b1+(Window.screenBounds.width/(12*4)), ~btd, ~bw, ~bh)).background = ~bcolor;});*/
510 ~nw = ~nh*1.6180339887499;
513 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
515 ~dc1 = ~tgrid-5; ~dc2 = ~bgrid-5; ~dca = 10;
519 9.do(x=~tgrid-10; {CompositeView(w, Rect(1, x=x+10, Window.screenBounds.width, 0.5)).background = Color.new255(51, 51, 51)});
520 9.do(x=~bgrid-10; {CompositeView(w, Rect(1, x=x+10, Window.screenBounds.width, 0.5)).background = Color.new255(51, 51, 51)});
522 ~z1 = (CompositeView(w, Rect((if(~f1 == nil, {f1.value},{~f1.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
523 ~z2 = (CompositeView(w, Rect((if(~f2 == nil, {f2.value},{~f2.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
524 ~z3 = (CompositeView(w, Rect((if(~f3 == nil, {f3.value},{~f3.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
525 ~z4 = (CompositeView(w, Rect((if(~f4 == nil, {f4.value},{~f4.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
526 ~z5 = (CompositeView(w, Rect((if(~f5 == nil, {f5.value},{~f5.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
527 ~z6 = (CompositeView(w, Rect((if(~f6 == nil, {f6.value},{~f6.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
528 ~z7 = (CompositeView(w, Rect((if(~f7 == nil, {f7.value},{~f7.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
529 ~z8 = (CompositeView(w, Rect((if(~f8 == nil, {f8.value},{~f8.value}).explin(~outmin1,~outmax1,0,Window.screenBounds.width)), ~dc1=~dc1+10, ~nw, 2)).background = Color.white;);
530 ~zmid = (CompositeView(w, Rect(x, 280, ~nw, 2)).background = Color.clear;);
531 ~z25 = (CompositeView(w, Rect((if(~f1 == nil, {f1.value},{~f1.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
532 ~z26 = (CompositeView(w, Rect((if(~f2 == nil, {f2.value},{~f2.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
533 ~z27 = (CompositeView(w, Rect((if(~f3 == nil, {f3.value},{~f3.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
534 ~z28 = (CompositeView(w, Rect((if(~f4 == nil, {f4.value},{~f4.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
535 ~z29 = (CompositeView(w, Rect((if(~f5 == nil, {f5.value},{~f5.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
536 ~z30 = (CompositeView(w, Rect((if(~f6 == nil, {f6.value},{~f6.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
537 ~z31 = (CompositeView(w, Rect((if(~f7 == nil, {f7.value},{~f7.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
538 ~z32 = (CompositeView(w, Rect((if(~f8 == nil, {f8.value},{~f8.value}).explin(~outmin2,~outmax2,0,Window.screenBounds.width)), ~dc2=~dc2+10, ~nw, 2)).background = Color.white;);
541 ~dc1 = ~tgrid-5; ~dc2 = ~bgrid-5; ~dca = 10;
544 //synth functions (open, flow, slide, pause, free)
548 {((~l1a.isRunning == false) and: (~l1a1.isRunning == false)) or: ~l1a1.isRunning == true}{
549 if(~l1a1.isRunning == true, {
550 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
551 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
552 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
553 ~l1a1.set(\dur, f1, \vol, vol1); ~l1b1.set(\dur, f1, \vol, vol1);
554 ~l1c1.set(\dur, f1/~icd3, \vol, vol1); ~l1d1.set(\dur, f1/~icd3, \vol, vol1);
555 ~l1e1.set(\dur, f1/~icd6, \vol, vol1); ~l1f1.set(\dur, f1/~icd6, \vol, vol1);
556 ~l2a1.set(\dur, f2, \vol, vol2); ~l2b1.set(\dur, f2, \vol, vol2);
557 ~l2c1.set(\dur, f2/~icd3, \vol, vol2); ~l2d1.set(\dur, f2/~icd3, \vol, vol2);
558 ~l2e1.set(\dur, f2/~icd6, \vol, vol2); ~l2f1.set(\dur, f2/~icd6, \vol, vol2);
559 ~l3a1.set(\dur, f3, \vol, vol3); ~l3b1.set(\dur, f3, \vol, vol3);
560 ~l3c1.set(\dur, f3/~icd3, \vol, vol3); ~l3d1.set(\dur, f3/~icd3, \vol, vol3);
561 ~l3e1.set(\dur, f3/~icd6, \vol, vol3); ~l3f1.set(\dur, f3/~icd6, \vol, vol3);
562 ~l4a1.set(\dur, f4, \vol, vol4); ~l4b1.set(\dur, f4, \vol, vol4);
563 ~l4c1.set(\dur, f4/~icd3, \vol, vol4); ~l4d1.set(\dur, f4/~icd3, \vol, vol4);
564 ~l4e1.set(\dur, f4/~icd6, \vol, vol4); ~l4f1.set(\dur, f4/~icd6, \vol, vol4);
565 ~l5a1.set(\dur, f5, \vol, vol5); ~l5b1.set(\dur, f5, \vol, vol5);
566 ~l5c1.set(\dur, f5/~icd3, \vol, vol5); ~l5d1.set(\dur, f5/~icd3, \vol, vol5);
567 ~l5e1.set(\dur, f5/~icd6, \vol, vol5); ~l5f1.set(\dur, f5/~icd6, \vol, vol5);
568 ~l6a1.set(\dur, f6, \vol, vol6); ~l6b1.set(\dur, f6, \vol, vol6);
569 ~l6c1.set(\dur, f6/~icd3, \vol, vol6); ~l6d1.set(\dur, f6/~icd3, \vol, vol6);
570 ~l6e1.set(\dur, f6/~icd6, \vol, vol6); ~l6f1.set(\dur, f6/~icd6, \vol, vol6);
571 ~l7a1.set(\dur, f7, \vol, vol7); ~l7b1.set(\dur, f7, \vol, vol7);
572 ~l7c1.set(\dur, f7/~icd3, \vol, vol7); ~l7d1.set(\dur, f7/~icd3, \vol, vol7);
573 ~l7e1.set(\dur, f7/~icd6, \vol, vol7); ~l7f1.set(\dur, f7/~icd6, \vol, vol7);
574 ~l8a1.set(\dur, f8, \vol, vol8); ~l8b1.set(\dur, f8, \vol, vol8);
575 ~l8c1.set(\dur, f8/~icd3, \vol, vol8); ~l8d1.set(\dur, f8/~icd3, \vol, vol8);
576 ~l8e1.set(\dur, f8/~icd6, \vol, vol8); ~l8f1.set(\dur, f8/~icd6, \vol, vol8);
581 1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
582 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
583 #s1,s2,s3,s4,s5,s6 = [\gsineicfld6, \gsineicrld6, \gsineicfld2, \gsineicrld2, \gsineicfld1, \gsineicrld1];
584 ~l1a = Synth(s1, [\dur, ~f1, \vol, vol1]).register; ~l1b = Synth(s2, [\dur, ~f1, \vol, vol1]);
585 ~l1c = Synth(s3, [\dur, ~f1/~icd3, \vol, vol1]); ~l1d = Synth(s4, [\dur, ~f1/~icd3, \vol, vol1]);
586 ~l1e = Synth(s5, [\dur, ~f1/~icd6, \vol, vol1]); ~l1f = Synth(s6, [\dur, ~f1/~icd6, \vol, vol1]);
587 ~l2a = Synth(s1, [\dur, ~f2, \vol, vol2]); ~l2b = Synth(s2, [\dur, ~f2, \vol, vol2]);
588 ~l2c = Synth(s3, [\dur, ~f2/~icd3, \vol, vol2]); ~l2d = Synth(s4, [\dur, ~f2/~icd3, \vol, vol2]);
589 ~l2e = Synth(s5, [\dur, ~f2/~icd6, \vol, vol2]); ~l2f = Synth(s6, [\dur, ~f2/~icd6, \vol, vol2]);
590 ~l3a = Synth(s1, [\dur, ~f3, \vol, vol3]); ~l3b = Synth(s2, [\dur, ~f3, \vol, vol3]);
591 ~l3c = Synth(s3, [\dur, ~f3/~icd3, \vol, vol3]); ~l3d = Synth(s4, [\dur, ~f3/~icd3, \vol, vol3]);
592 ~l3e = Synth(s5, [\dur, ~f3/~icd6, \vol, vol3]); ~l3f = Synth(s6, [\dur, ~f3/~icd6, \vol, vol3]);
593 ~l4a = Synth(s1, [\dur, ~f4, \vol, vol4]); ~l4b = Synth(s2, [\dur, ~f4, \vol, vol4]);
594 ~l4c = Synth(s3, [\dur, ~f4/~icd3, \vol, vol4]); ~l4d = Synth(s4, [\dur, ~f4/~icd3, \vol, vol4]);
595 ~l4e = Synth(s5, [\dur, ~f4/~icd6, \vol, vol4]); ~l4f = Synth(s6, [\dur, ~f4/~icd6, \vol, vol4]);
596 ~l5a = Synth(s1, [\dur, ~f5, \vol, vol5]); ~l5b = Synth(s2, [\dur, ~f5, \vol, vol5]);
597 ~l5c = Synth(s3, [\dur, ~f5/~icd3, \vol, vol5]); ~l5d = Synth(s4, [\dur, ~f5/~icd3, \vol, vol5]);
598 ~l5e = Synth(s5, [\dur, ~f5/~icd6, \vol, vol5]); ~l5f = Synth(s6, [\dur, ~f5/~icd6, \vol, vol5]);
599 ~l6a = Synth(s1, [\dur, ~f6, \vol, vol6]); ~l6b = Synth(s2, [\dur, ~f6, \vol, vol6]);
600 ~l6c = Synth(s3, [\dur, ~f6/~icd3, \vol, vol6]); ~l6d = Synth(s4, [\dur, ~f6/~icd3, \vol, vol6]);
601 ~l6e = Synth(s5, [\dur, ~f6/~icd6, \vol, vol6]); ~l6f = Synth(s6, [\dur, ~f6/~icd6, \vol, vol6]);
602 ~l7a = Synth(s1, [\dur, ~f7, \vol, vol7]); ~l7b = Synth(s2, [\dur, ~f7, \vol, vol7]);
603 ~l7c = Synth(s3, [\dur, ~f7/~icd3, \vol, vol7]); ~l7d = Synth(s4, [\dur, ~f7/~icd3, \vol, vol7]);
604 ~l7e = Synth(s5, [\dur, ~f7/~icd6, \vol, vol7]); ~l7f = Synth(s6, [\dur, ~f7/~icd6, \vol, vol7]);
605 ~l8a = Synth(s1, [\dur, ~f8, \vol, vol8]); ~l8b = Synth(s2, [\dur, ~f8, \vol, vol8]);
606 ~l8c = Synth(s3, [\dur, ~f8/~icd3, \vol, vol8]); ~l8d = Synth(s4, [\dur, ~f8/~icd3, \vol, vol8]);
607 ~l8e = Synth(s5, [\dur, ~f8/~icd6, \vol, vol8]); ~l8f = Synth(s6, [\dur, ~f8/~icd6, \vol, vol8]);
611 if(~l1a1.isRunning == true, {
612 AppClock.sched(0.161803398875,{
613 ([~l1a1,~l1b1,~l1c1,~l1d1,~l1e1,~l1f1,~l2a1,~l2b1,~l2c1,~l2d1,~l2e1,~l2f1,~l3a1,~l3b1,~l3c1,~l3d1,~l3e1,~l3f1,~l4a1,~l4b1,~l4c1,~l4d1,~l4e1,~l4f1,~l5a1,~l5b1,~l5c1,~l5d1,~l5e1,~l5f1,~l6a1,~l6b1,~l6c1,~l6d1,~l6e1,~l6f1,~l7a1,~l7b1,~l7c1,~l7d1,~l7e1,~l7f1,~l8a1,~l8b1,~l8c1,~l8d1,~l8e1,~l8f1 ].do(_.free)); ~slideroutine.stop;
617 {~l1a.isRunning == true}{
618 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
619 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
620 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
621 ~l1a.set(\dur, f1, \vol, vol1); ~l1b.set(\dur, f1, \vol, vol1);
622 ~l1c.set(\dur, f1/~icd3, \vol, vol1); ~l1d.set(\dur, f1/~icd3, \vol, vol1);
623 ~l1e.set(\dur, f1/~icd6, \vol, vol1); ~l1f.set(\dur, f1/~icd6, \vol, vol1);
624 ~l2a.set(\dur, f2, \vol, vol2); ~l2b.set(\dur, f2, \vol, vol2);
625 ~l2c.set(\dur, f2/~icd3, \vol, vol2); ~l2d.set(\dur, f2/~icd3, \vol, vol2);
626 ~l2e.set(\dur, f2/~icd6, \vol, vol2); ~l2f.set(\dur, f2/~icd6, \vol, vol2);
627 ~l3a.set(\dur, f3, \vol, vol3); ~l3b.set(\dur, f3, \vol, vol3);
628 ~l3c.set(\dur, f3/~icd3, \vol, vol3); ~l3d.set(\dur, f3/~icd3, \vol, vol3);
629 ~l3e.set(\dur, f3/~icd6, \vol, vol3); ~l3f.set(\dur, f3/~icd6, \vol, vol3);
630 ~l4a.set(\dur, f4, \vol, vol4); ~l4b.set(\dur, f4, \vol, vol4);
631 ~l4c.set(\dur, f4/~icd3, \vol, vol4); ~l4d.set(\dur, f4/~icd3, \vol, vol4);
632 ~l4e.set(\dur, f4/~icd6, \vol, vol4); ~l4f.set(\dur, f4/~icd6, \vol, vol4);
633 ~l5a.set(\dur, f5, \vol, vol5); ~l5b.set(\dur, f5, \vol, vol5);
634 ~l5c.set(\dur, f5/~icd3, \vol, vol5); ~l5d.set(\dur, f5/~icd3, \vol, vol5);
635 ~l5e.set(\dur, f5/~icd6, \vol, vol5); ~l5f.set(\dur, f5/~icd6, \vol, vol5);
636 ~l6a.set(\dur, f6, \vol, vol6); ~l6b.set(\dur, f6, \vol, vol6);
637 ~l6c.set(\dur, f6/~icd3, \vol, vol6); ~l6d.set(\dur, f6/~icd3, \vol, vol6);
638 ~l6e.set(\dur, f6/~icd6, \vol, vol6); ~l6f.set(\dur, f6/~icd6, \vol, vol6);
639 ~l7a.set(\dur, f7, \vol, vol7); ~l7b.set(\dur, f7, \vol, vol7);
640 ~l7c.set(\dur, f7/~icd3, \vol, vol7); ~l7d.set(\dur, f7/~icd3, \vol, vol7);
641 ~l7e.set(\dur, f7/~icd6, \vol, vol7); ~l7f.set(\dur, f7/~icd6, \vol, vol7);
642 ~l8a.set(\dur, f8, \vol, vol8); ~l8b.set(\dur, f8, \vol, vol8);
643 ~l8c.set(\dur, f8/~icd3, \vol, vol8); ~l8d.set(\dur, f8/~icd3, \vol, vol8);
644 ~l8e.set(\dur, f8/~icd6, \vol, vol8); ~l8f.set(\dur, f8/~icd6, \vol, vol8);
648 1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
649 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
650 #s1,s2,s3,s4,s5,s6 = [\gsineicfld6, \gsineicrld6, \gsineicfld2, \gsineicrld2, \gsineicfld1, \gsineicrld1];
651 ~l1a1 = Synth(s1, [\dur, ~f1, \vol, vol1]).register; ~l1b1 = Synth(s2, [\dur, ~f1, \vol, vol1]);
652 ~l1c1 = Synth(s3, [\dur, ~f1/~icd3, \vol, vol1]); ~l1d1 = Synth(s4, [\dur, ~f1/~icd3, \vol, vol1]);
653 ~l1e1 = Synth(s5, [\dur, ~f1/~icd6, \vol, vol1]); ~l1f1 = Synth(s6, [\dur, ~f1/~icd6, \vol, vol1]);
654 ~l2a1 = Synth(s1, [\dur, ~f2, \vol, vol2]); ~l2b1 = Synth(s2, [\dur, ~f2, \vol, vol2]);
655 ~l2c1 = Synth(s3, [\dur, ~f2/~icd3, \vol, vol2]); ~l2d1 = Synth(s4, [\dur, ~f2/~icd3, \vol, vol2]);
656 ~l2e1 = Synth(s5, [\dur, ~f2/~icd6, \vol, vol2]); ~l2f1 = Synth(s6, [\dur, ~f2/~icd6, \vol, vol2]);
657 ~l3a1 = Synth(s1, [\dur, ~f3, \vol, vol3]); ~l3b1 = Synth(s2, [\dur, ~f3, \vol, vol3]);
658 ~l3c1 = Synth(s3, [\dur, ~f3/~icd3, \vol, vol3]); ~l3d1 = Synth(s4, [\dur, ~f3/~icd3, \vol, vol3]);
659 ~l3e1 = Synth(s5, [\dur, ~f3/~icd6, \vol, vol3]); ~l3f1 = Synth(s6, [\dur, ~f3/~icd6, \vol, vol3]);
660 ~l4a1 = Synth(s1, [\dur, ~f4, \vol, vol4]); ~l4b1 = Synth(s2, [\dur, ~f4, \vol, vol4]);
661 ~l4c1 = Synth(s3, [\dur, ~f4/~icd3, \vol, vol4]); ~l4d1 = Synth(s4, [\dur, ~f4/~icd3, \vol, vol4]);
662 ~l4e1 = Synth(s5, [\dur, ~f4/~icd6, \vol, vol4]); ~l4f1 = Synth(s6, [\dur, ~f4/~icd6, \vol, vol4]);
663 ~l5a1 = Synth(s1, [\dur, ~f5, \vol, vol5]); ~l5b1 = Synth(s2, [\dur, ~f5, \vol, vol5]);
664 ~l5c1 = Synth(s3, [\dur, ~f5/~icd3, \vol, vol5]); ~l5d1 = Synth(s4, [\dur, ~f5/~icd3, \vol, vol5]);
665 ~l5e1 = Synth(s5, [\dur, ~f5/~icd6, \vol, vol5]); ~l5f1 = Synth(s6, [\dur, ~f5/~icd6, \vol, vol5]);
666 ~l6a1 = Synth(s1, [\dur, ~f6, \vol, vol6]); ~l6b1 = Synth(s2, [\dur, ~f6, \vol, vol6]);
667 ~l6c1 = Synth(s3, [\dur, ~f6/~icd3, \vol, vol6]); ~l6d1 = Synth(s4, [\dur, ~f6/~icd3, \vol, vol6]);
668 ~l6e1 = Synth(s5, [\dur, ~f6/~icd6, \vol, vol6]); ~l6f1 = Synth(s6, [\dur, ~f6/~icd6, \vol, vol6]);
669 ~l7a1 = Synth(s1, [\dur, ~f7, \vol, vol7]); ~l7b1 = Synth(s2, [\dur, ~f7, \vol, vol7]);
670 ~l7c1 = Synth(s3, [\dur, ~f7/~icd3, \vol, vol7]); ~l7d1 = Synth(s4, [\dur, ~f7/~icd3, \vol, vol7]);
671 ~l7e1 = Synth(s5, [\dur, ~f7/~icd6, \vol, vol7]); ~l7f1 = Synth(s6, [\dur, ~f7/~icd6, \vol, vol7]);
672 ~l8a1 = Synth(s1, [\dur, ~f8, \vol, vol8]); ~l8b1 = Synth(s2, [\dur, ~f8, \vol, vol8]);
673 ~l8c1 = Synth(s3, [\dur, ~f8/~icd3, \vol, vol8]); ~l8d1 = Synth(s4, [\dur, ~f8/~icd3, \vol, vol8]);
674 ~l8e1 = Synth(s5, [\dur, ~f8/~icd6, \vol, vol8]); ~l8f1 = Synth(s6, [\dur, ~f8/~icd6, \vol, vol8]);
678 AppClock.sched(0.161803398875,{
679 ([~l1a,~l1b,~l1c,~l1d,~l1e,~l1f,~l2a,~l2b,~l2c,~l2d,~l2e,~l2f,~l3a,~l3b,~l3c,~l3d,~l3e,~l3f,~l4a,~l4b,~l4c,~l4d,~l4e,~l4f,~l5a,~l5b,~l5c,~l5d,~l5e,~l5f,~l6a,~l6b,~l6c,~l6d,~l6e,~l6f,~l7a,~l7b,~l7c,~l7d,~l7e,~l7f,~l8a,~l8b,~l8c,~l8d,~l8e,~l8f].do(_.free)); ~slideroutine.stop;
683 if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
684 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
685 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
686 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
687 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
688 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
689 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
690 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
697 {~l1a1.isRunning == true}{
698 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
699 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
700 ~l1a1.set(\dur, ~f1, \vol, vol1); ~l1b1.set(\dur, ~f1, \vol, vol1);
701 ~l1c1.set(\dur, ~f1/~icd3, \vol, vol1); ~l1d1.set(\dur, ~f1/~icd3, \vol, vol1);
702 ~l1e1.set(\dur, ~f1/~icd6, \vol, vol1); ~l1f1.set(\dur, ~f1/~icd6, \vol, vol1);
703 ~l2a1.set(\dur, ~f2, \vol, vol2); ~l2b1.set(\dur, ~f2, \vol, vol2);
704 ~l2c1.set(\dur, ~f2/~icd3, \vol, vol2); ~l2d1.set(\dur, ~f2/~icd3, \vol, vol2);
705 ~l2e1.set(\dur, ~f2/~icd6, \vol, vol2); ~l2f1.set(\dur, ~f2/~icd6, \vol, vol2);
706 ~l3a1.set(\dur, ~f3, \vol, vol3); ~l3b1.set(\dur, ~f3, \vol, vol3);
707 ~l3c1.set(\dur, ~f3/~icd3, \vol, vol3); ~l3d1.set(\dur, ~f3/~icd3, \vol, vol3);
708 ~l3e1.set(\dur, ~f3/~icd6, \vol, vol3); ~l3f1.set(\dur, ~f3/~icd6, \vol, vol3);
709 ~l4a1.set(\dur, ~f4, \vol, vol4); ~l4b1.set(\dur, ~f4, \vol, vol4);
710 ~l4c1.set(\dur, ~f4/~icd3, \vol, vol4); ~l4d1.set(\dur, ~f4/~icd3, \vol, vol4);
711 ~l4e1.set(\dur, ~f4/~icd6, \vol, vol4); ~l4f1.set(\dur, ~f4/~icd6, \vol, vol4);
712 ~l5a1.set(\dur, ~f5, \vol, vol5); ~l5b1.set(\dur, ~f5, \vol, vol5);
713 ~l5c1.set(\dur, ~f5/~icd3, \vol, vol5); ~l5d1.set(\dur, ~f5/~icd3, \vol, vol5);
714 ~l5e1.set(\dur, ~f5/~icd6, \vol, vol5); ~l5f1.set(\dur, ~f5/~icd6, \vol, vol5);
715 ~l6a1.set(\dur, ~f6, \vol, vol6); ~l6b1.set(\dur, ~f6, \vol, vol6);
716 ~l6c1.set(\dur, ~f6/~icd3, \vol, vol6); ~l6d1.set(\dur, ~f6/~icd3, \vol, vol6);
717 ~l6e1.set(\dur, ~f6/~icd6, \vol, vol6); ~l6f1.set(\dur, ~f6/~icd6, \vol, vol6);
718 ~l7a1.set(\dur, ~f7, \vol, vol7); ~l7b1.set(\dur, ~f7, \vol, vol7);
719 ~l7c1.set(\dur, ~f7/~icd3, \vol, vol7); ~l7d1.set(\dur, ~f7/~icd3, \vol, vol7);
720 ~l7e1.set(\dur, ~f7/~icd6, \vol, vol7); ~l7f1.set(\dur, ~f7/~icd6, \vol, vol7);
721 ~l8a1.set(\dur, ~f8, \vol, vol8); ~l8b1.set(\dur, ~f8, \vol, vol8);
722 ~l8c1.set(\dur, ~f8/~icd3, \vol, vol8); ~l8d1.set(\dur, ~f8/~icd3, \vol, vol8);
723 ~l8e1.set(\dur, ~f8/~icd6, \vol, vol8); ~l8f1.set(\dur, ~f8/~icd6, \vol, vol8);
726 {~l1a.isRunning == true} {
727 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
728 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
729 ~l1a.set(\dur, ~f1, \vol, vol1); ~l1b.set(\dur, ~f1, \vol, vol1);
730 ~l1c.set(\dur, ~f1/~icd3, \vol, vol1); ~l1d.set(\dur, ~f1/~icd3, \vol, vol1);
731 ~l1e.set(\dur, ~f1/~icd6, \vol, vol1); ~l1f.set(\dur, ~f1/~icd6, \vol, vol1);
732 ~l2a.set(\dur, ~f2, \vol, vol2); ~l2b.set(\dur, ~f2, \vol, vol2);
733 ~l2c.set(\dur, ~f2/~icd3, \vol, vol2); ~l2d.set(\dur, ~f2/~icd3, \vol, vol2);
734 ~l2e.set(\dur, ~f2/~icd6, \vol, vol2); ~l2f.set(\dur, ~f2/~icd6, \vol, vol2);
735 ~l3a.set(\dur, ~f3, \vol, vol3); ~l3b.set(\dur, ~f3, \vol, vol3);
736 ~l3c.set(\dur, ~f3/~icd3, \vol, vol3); ~l3d.set(\dur, ~f3/~icd3, \vol, vol3);
737 ~l3e.set(\dur, ~f3/~icd6, \vol, vol3); ~l3f.set(\dur, ~f3/~icd6, \vol, vol3);
738 ~l4a.set(\dur, ~f4, \vol, vol4); ~l4b.set(\dur, ~f4, \vol, vol4);
739 ~l4c.set(\dur, ~f4/~icd3, \vol, vol4); ~l4d.set(\dur, ~f4/~icd3, \vol, vol4);
740 ~l4e.set(\dur, ~f4/~icd6, \vol, vol4); ~l4f.set(\dur, ~f4/~icd6, \vol, vol4);
741 ~l5a.set(\dur, ~f5, \vol, vol5); ~l5b.set(\dur, ~f5, \vol, vol5);
742 ~l5c.set(\dur, ~f5/~icd3, \vol, vol5); ~l5d.set(\dur, ~f5/~icd3, \vol, vol5);
743 ~l5e.set(\dur, ~f5/~icd6, \vol, vol5); ~l5f.set(\dur, ~f5/~icd6, \vol, vol5);
744 ~l6a.set(\dur, ~f6, \vol, vol6); ~l6b.set(\dur, ~f6, \vol, vol6);
745 ~l6c.set(\dur, ~f6/~icd3, \vol, vol6); ~l6d.set(\dur, ~f6/~icd3, \vol, vol6);
746 ~l6e.set(\dur, ~f6/~icd6, \vol, vol6); ~l6f.set(\dur, ~f6/~icd6, \vol, vol6);
747 ~l7a.set(\dur, ~f7, \vol, vol7); ~l7b.set(\dur, ~f7, \vol, vol7);
748 ~l7c.set(\dur, ~f7/~icd3, \vol, vol7); ~l7d.set(\dur, ~f7/~icd3, \vol, vol7);
749 ~l7e.set(\dur, ~f7/~icd6, \vol, vol7); ~l7f.set(\dur, ~f7/~icd6, \vol, vol7);
750 ~l8a.set(\dur, ~f8, \vol, vol8); ~l8b.set(\dur, ~f8, \vol, vol8);
751 ~l8c.set(\dur, ~f8/~icd3, \vol, vol8); ~l8d.set(\dur, ~f8/~icd3, \vol, vol8);
752 ~l8e.set(\dur, ~f8/~icd6, \vol, vol8); ~l8f.set(\dur, ~f8/~icd6, \vol, vol8);
757 if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
758 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
759 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
760 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
761 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
762 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
763 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
764 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
770 {~l1a1.isRunning == true}{(//fprog
771 ~slideroutine = Routine({1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
772 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
773 ~slidedo.do({~slidecount=~slidecount-1;
775 [ ~f1=~f1+g,~f2=~f2+h,~f3=~f3+i,~f4=~f4+j,~f5=~f5+k,~f6=~f6+l,~f7=~f7+m,~f8=~f8+n ];
776 ~l1a1.set(\dur, ~f1, \vol, vol1); ~l1b1.set(\dur, ~f1, \vol, vol1);
777 ~l1c1.set(\dur, ~f1/~icd3, \vol, vol1); ~l1d1.set(\dur, ~f1/~icd3, \vol, vol1);
778 ~l1e1.set(\dur, ~f1/~icd6, \vol, vol1); ~l1f1.set(\dur, ~f1/~icd6, \vol, vol1);
779 ~l2a1.set(\dur, ~f2, \vol, vol2); ~l2b1.set(\dur, ~f2, \vol, vol2);
780 ~l2c1.set(\dur, ~f2/~icd3, \vol, vol2); ~l2d1.set(\dur, ~f2/~icd3, \vol, vol2);
781 ~l2e1.set(\dur, ~f2/~icd6, \vol, vol2); ~l2f1.set(\dur, ~f2/~icd6, \vol, vol2);
782 ~l3a1.set(\dur, ~f3, \vol, vol3); ~l3b1.set(\dur, ~f3, \vol, vol3);
783 ~l3c1.set(\dur, ~f3/~icd3, \vol, vol3); ~l3d1.set(\dur, ~f3/~icd3, \vol, vol3);
784 ~l3e1.set(\dur, ~f3/~icd6, \vol, vol3); ~l3f1.set(\dur, ~f3/~icd6, \vol, vol3);
785 ~l4a1.set(\dur, ~f4, \vol, vol4); ~l4b1.set(\dur, ~f4, \vol, vol4);
786 ~l4c1.set(\dur, ~f4/~icd3, \vol, vol4); ~l4d1.set(\dur, ~f4/~icd3, \vol, vol4);
787 ~l4e1.set(\dur, ~f4/~icd6, \vol, vol4); ~l4f1.set(\dur, ~f4/~icd6, \vol, vol4);
788 ~l5a1.set(\dur, ~f5, \vol, vol5); ~l5b1.set(\dur, ~f5, \vol, vol5);
789 ~l5c1.set(\dur, ~f5/~icd3, \vol, vol5); ~l5d1.set(\dur, ~f5/~icd3, \vol, vol5);
790 ~l5e1.set(\dur, ~f5/~icd6, \vol, vol5); ~l5f1.set(\dur, ~f5/~icd6, \vol, vol5);
791 ~l6a1.set(\dur, ~f6, \vol, vol6); ~l6b1.set(\dur, ~f6, \vol, vol6);
792 ~l6c1.set(\dur, ~f6/~icd3, \vol, vol6); ~l6d1.set(\dur, ~f6/~icd3, \vol, vol6);
793 ~l6e1.set(\dur, ~f6/~icd6, \vol, vol6); ~l6f1.set(\dur, ~f6/~icd6, \vol, vol6);
794 ~l7a1.set(\dur, ~f7, \vol, vol7); ~l7b1.set(\dur, ~f7, \vol, vol7);
795 ~l7c1.set(\dur, ~f7/~icd3, \vol, vol7); ~l7d1.set(\dur, ~f7/~icd3, \vol, vol7);
796 ~l7e1.set(\dur, ~f7/~icd6, \vol, vol7); ~l7f1.set(\dur, ~f7/~icd6, \vol, vol7);
797 ~l8a1.set(\dur, ~f8, \vol, vol8); ~l8b1.set(\dur, ~f8, \vol, vol8);
798 ~l8c1.set(\dur, ~f8/~icd3, \vol, vol8); ~l8d1.set(\dur, ~f8/~icd3, \vol, vol8);
799 ~l8e1.set(\dur, ~f8/~icd6, \vol, vol8); ~l8f1.set(\dur, ~f8/~icd6, \vol, vol8);
804 if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
805 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
806 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
807 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
808 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
809 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
810 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
811 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
814 (~slidetime/~slidedo).wait;});});}).play;);}
815 {~l1a.isRunning == true} {(//fprog
816 ~slideroutine = Routine({1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6;
817 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
818 ~slidedo.do({~slidecount=~slidecount-1;
820 [ ~f1=~f1+g,~f2=~f2+h,~f3=~f3+i,~f4=~f4+j,~f5=~f5+k,~f6=~f6+l,~f7=~f7+m,~f8=~f8+n ];
821 ~l1a.set(\dur, ~f1, \vol, vol1); ~l1b.set(\dur, ~f1, \vol, vol1);
822 ~l1c.set(\dur, ~f1/~icd3, \vol, vol1); ~l1d.set(\dur, ~f1/~icd3, \vol, vol1);
823 ~l1e.set(\dur, ~f1/~icd6, \vol, vol1); ~l1f.set(\dur, ~f1/~icd6, \vol, vol1);
824 ~l2a.set(\dur, ~f2, \vol, vol2); ~l2b.set(\dur, ~f2, \vol, vol2);
825 ~l2c.set(\dur, ~f2/~icd3, \vol, vol2); ~l2d.set(\dur, ~f2/~icd3, \vol, vol2);
826 ~l2e.set(\dur, ~f2/~icd6, \vol, vol2); ~l2f.set(\dur, ~f2/~icd6, \vol, vol2);
827 ~l3a.set(\dur, ~f3, \vol, vol3); ~l3b.set(\dur, ~f3, \vol, vol3);
828 ~l3c.set(\dur, ~f3/~icd3, \vol, vol3); ~l3d.set(\dur, ~f3/~icd3, \vol, vol3);
829 ~l3e.set(\dur, ~f3/~icd6, \vol, vol3); ~l3f.set(\dur, ~f3/~icd6, \vol, vol3);
830 ~l4a.set(\dur, ~f4, \vol, vol4); ~l4b.set(\dur, ~f4, \vol, vol4);
831 ~l4c.set(\dur, ~f4/~icd3, \vol, vol4); ~l4d.set(\dur, ~f4/~icd3, \vol, vol4);
832 ~l4e.set(\dur, ~f4/~icd6, \vol, vol4); ~l4f.set(\dur, ~f4/~icd6, \vol, vol4);
833 ~l5a.set(\dur, ~f5, \vol, vol5); ~l5b.set(\dur, ~f5, \vol, vol5);
834 ~l5c.set(\dur, ~f5/~icd3, \vol, vol5); ~l5d.set(\dur, ~f5/~icd3, \vol, vol5);
835 ~l5e.set(\dur, ~f5/~icd6, \vol, vol5); ~l5f.set(\dur, ~f5/~icd6, \vol, vol5);
836 ~l6a.set(\dur, ~f6, \vol, vol6); ~l6b.set(\dur, ~f6, \vol, vol6);
837 ~l6c.set(\dur, ~f6/~icd3, \vol, vol6); ~l6d.set(\dur, ~f6/~icd3, \vol, vol6);
838 ~l6e.set(\dur, ~f6/~icd6, \vol, vol6); ~l6f.set(\dur, ~f6/~icd6, \vol, vol6);
839 ~l7a.set(\dur, ~f7, \vol, vol7); ~l7b.set(\dur, ~f7, \vol, vol7);
840 ~l7c.set(\dur, ~f7/~icd3, \vol, vol7); ~l7d.set(\dur, ~f7/~icd3, \vol, vol7);
841 ~l7e.set(\dur, ~f7/~icd6, \vol, vol7); ~l7f.set(\dur, ~f7/~icd6, \vol, vol7);
842 ~l8a.set(\dur, ~f8, \vol, vol8); ~l8b.set(\dur, ~f8, \vol, vol8);
843 ~l8c.set(\dur, ~f8/~icd3, \vol, vol8); ~l8d.set(\dur, ~f8/~icd3, \vol, vol8);
844 ~l8e.set(\dur, ~f8/~icd6, \vol, vol8); ~l8f.set(\dur, ~f8/~icd6, \vol, vol8);
849 {if(~slidecount==0,{if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
850 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
851 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
852 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
853 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
854 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
855 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
856 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
859 (~slidetime/~slidedo).wait;});});}).play;);};
864 {~l1a1.isRunning == true}{
865 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
866 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
867 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
868 ~l1a1.set(\dur, f1, \vol, vol1); ~l1b1.set(\dur, f1, \vol, vol1);
869 ~l1c1.set(\dur, f1/~icd3, \vol, vol1); ~l1d1.set(\dur, f1/~icd3, \vol, vol1);
870 ~l1e1.set(\dur, f1/~icd6, \vol, vol1); ~l1f1.set(\dur, f1/~icd6, \vol, vol1);
871 ~l2a1.set(\dur, f2, \vol, vol2); ~l2b1.set(\dur, f2, \vol, vol2);
872 ~l2c1.set(\dur, f2/~icd3, \vol, vol2); ~l2d1.set(\dur, f2/~icd3, \vol, vol2);
873 ~l2e1.set(\dur, f2/~icd6, \vol, vol2); ~l2f1.set(\dur, f2/~icd6, \vol, vol2);
874 ~l3a1.set(\dur, f3, \vol, vol3); ~l3b1.set(\dur, f3, \vol, vol3);
875 ~l3c1.set(\dur, f3/~icd3, \vol, vol3); ~l3d1.set(\dur, f3/~icd3, \vol, vol3);
876 ~l3e1.set(\dur, f3/~icd6, \vol, vol3); ~l3f1.set(\dur, f3/~icd6, \vol, vol3);
877 ~l4a1.set(\dur, f4, \vol, vol4); ~l4b1.set(\dur, f4, \vol, vol4);
878 ~l4c1.set(\dur, f4/~icd3, \vol, vol4); ~l4d1.set(\dur, f4/~icd3, \vol, vol4);
879 ~l4e1.set(\dur, f4/~icd6, \vol, vol4); ~l4f1.set(\dur, f4/~icd6, \vol, vol4);
880 ~l5a1.set(\dur, f5, \vol, vol5); ~l5b1.set(\dur, f5, \vol, vol5);
881 ~l5c1.set(\dur, f5/~icd3, \vol, vol5); ~l5d1.set(\dur, f5/~icd3, \vol, vol5);
882 ~l5e1.set(\dur, f5/~icd6, \vol, vol5); ~l5f1.set(\dur, f5/~icd6, \vol, vol5);
883 ~l6a1.set(\dur, f6, \vol, vol6); ~l6b1.set(\dur, f6, \vol, vol6);
884 ~l6c1.set(\dur, f6/~icd3, \vol, vol6); ~l6d1.set(\dur, f6/~icd3, \vol, vol6);
885 ~l6e1.set(\dur, f6/~icd6, \vol, vol6); ~l6f1.set(\dur, f6/~icd6, \vol, vol6);
886 ~l7a1.set(\dur, f7, \vol, vol7); ~l7b1.set(\dur, f7, \vol, vol7);
887 ~l7c1.set(\dur, f7/~icd3, \vol, vol7); ~l7d1.set(\dur, f7/~icd3, \vol, vol7);
888 ~l7e1.set(\dur, f7/~icd6, \vol, vol7); ~l7f1.set(\dur, f7/~icd6, \vol, vol7);
889 ~l8a1.set(\dur, f8, \vol, vol8); ~l8b1.set(\dur, f8, \vol, vol8);
890 ~l8c1.set(\dur, f8/~icd3, \vol, vol8); ~l8d1.set(\dur, f8/~icd3, \vol, vol8);
891 ~l8e1.set(\dur, f8/~icd6, \vol, vol8); ~l8f1.set(\dur, f8/~icd6, \vol, vol8);
894 {~l1a.isRunning == true} {
895 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
896 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
897 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
898 ~l1a.set(\dur, f1, \vol, vol1); ~l1b.set(\dur, f1, \vol, vol1);
899 ~l1c.set(\dur, f1/~icd3, \vol, vol1); ~l1d.set(\dur, f1/~icd3, \vol, vol1);
900 ~l1e.set(\dur, f1/~icd6, \vol, vol1); ~l1f.set(\dur, f1/~icd6, \vol, vol1);
901 ~l2a.set(\dur, f2, \vol, vol2); ~l2b.set(\dur, f2, \vol, vol2);
902 ~l2c.set(\dur, f2/~icd3, \vol, vol2); ~l2d.set(\dur, f2/~icd3, \vol, vol2);
903 ~l2e.set(\dur, f2/~icd6, \vol, vol2); ~l2f.set(\dur, f2/~icd6, \vol, vol2);
904 ~l3a.set(\dur, f3, \vol, vol3); ~l3b.set(\dur, f3, \vol, vol3);
905 ~l3c.set(\dur, f3/~icd3, \vol, vol3); ~l3d.set(\dur, f3/~icd3, \vol, vol3);
906 ~l3e.set(\dur, f3/~icd6, \vol, vol3); ~l3f.set(\dur, f3/~icd6, \vol, vol3);
907 ~l4a.set(\dur, f4, \vol, vol4); ~l4b.set(\dur, f4, \vol, vol4);
908 ~l4c.set(\dur, f4/~icd3, \vol, vol4); ~l4d.set(\dur, f4/~icd3, \vol, vol4);
909 ~l4e.set(\dur, f4/~icd6, \vol, vol4); ~l4f.set(\dur, f4/~icd6, \vol, vol4);
910 ~l5a.set(\dur, f5, \vol, vol5); ~l5b.set(\dur, f5, \vol, vol5);
911 ~l5c.set(\dur, f5/~icd3, \vol, vol5); ~l5d.set(\dur, f5/~icd3, \vol, vol5);
912 ~l5e.set(\dur, f5/~icd6, \vol, vol5); ~l5f.set(\dur, f5/~icd6, \vol, vol5);
913 ~l6a.set(\dur, f6, \vol, vol6); ~l6b.set(\dur, f6, \vol, vol6);
914 ~l6c.set(\dur, f6/~icd3, \vol, vol6); ~l6d.set(\dur, f6/~icd3, \vol, vol6);
915 ~l6e.set(\dur, f6/~icd6, \vol, vol6); ~l6f.set(\dur, f6/~icd6, \vol, vol6);
916 ~l7a.set(\dur, f7, \vol, vol7); ~l7b.set(\dur, f7, \vol, vol7);
917 ~l7c.set(\dur, f7/~icd3, \vol, vol7); ~l7d.set(\dur, f7/~icd3, \vol, vol7);
918 ~l7e.set(\dur, f7/~icd6, \vol, vol7); ~l7f.set(\dur, f7/~icd6, \vol, vol7);
919 ~l8a.set(\dur, f8, \vol, vol8); ~l8b.set(\dur, f8, \vol, vol8);
920 ~l8c.set(\dur, f8/~icd3, \vol, vol8); ~l8d.set(\dur, f8/~icd3, \vol, vol8);
921 ~l8e.set(\dur, f8/~icd6, \vol, vol8); ~l8f.set(\dur, f8/~icd6, \vol, vol8);
931 {~l1a1.isRunning == true}{
932 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
933 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
934 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
935 ~l1a1.set(\dur, f1, \vol, vol1); ~l1b1.set(\dur, f1, \vol, vol1);
936 ~l1c1.set(\dur, f1/~icd3, \vol, vol1); ~l1d1.set(\dur, f1/~icd3, \vol, vol1);
937 ~l1e1.set(\dur, f1/~icd6, \vol, vol1); ~l1f1.set(\dur, f1/~icd6, \vol, vol1);
938 ~l2a1.set(\dur, f2, \vol, vol2); ~l2b1.set(\dur, f2, \vol, vol2);
939 ~l2c1.set(\dur, f2/~icd3, \vol, vol2); ~l2d1.set(\dur, f2/~icd3, \vol, vol2);
940 ~l2e1.set(\dur, f2/~icd6, \vol, vol2); ~l2f1.set(\dur, f2/~icd6, \vol, vol2);
941 ~l3a1.set(\dur, f3, \vol, vol3); ~l3b1.set(\dur, f3, \vol, vol3);
942 ~l3c1.set(\dur, f3/~icd3, \vol, vol3); ~l3d1.set(\dur, f3/~icd3, \vol, vol3);
943 ~l3e1.set(\dur, f3/~icd6, \vol, vol3); ~l3f1.set(\dur, f3/~icd6, \vol, vol3);
944 ~l4a1.set(\dur, f4, \vol, vol4); ~l4b1.set(\dur, f4, \vol, vol4);
945 ~l4c1.set(\dur, f4/~icd3, \vol, vol4); ~l4d1.set(\dur, f4/~icd3, \vol, vol4);
946 ~l4e1.set(\dur, f4/~icd6, \vol, vol4); ~l4f1.set(\dur, f4/~icd6, \vol, vol4);
947 ~l5a1.set(\dur, f5, \vol, vol5); ~l5b1.set(\dur, f5, \vol, vol5);
948 ~l5c1.set(\dur, f5/~icd3, \vol, vol5); ~l5d1.set(\dur, f5/~icd3, \vol, vol5);
949 ~l5e1.set(\dur, f5/~icd6, \vol, vol5); ~l5f1.set(\dur, f5/~icd6, \vol, vol5);
950 ~l6a1.set(\dur, f6, \vol, vol6); ~l6b1.set(\dur, f6, \vol, vol6);
951 ~l6c1.set(\dur, f6/~icd3, \vol, vol6); ~l6d1.set(\dur, f6/~icd3, \vol, vol6);
952 ~l6e1.set(\dur, f6/~icd6, \vol, vol6); ~l6f1.set(\dur, f6/~icd6, \vol, vol6);
953 ~l7a1.set(\dur, f7, \vol, vol7); ~l7b1.set(\dur, f7, \vol, vol7);
954 ~l7c1.set(\dur, f7/~icd3, \vol, vol7); ~l7d1.set(\dur, f7/~icd3, \vol, vol7);
955 ~l7e1.set(\dur, f7/~icd6, \vol, vol7); ~l7f1.set(\dur, f7/~icd6, \vol, vol7);
956 ~l8a1.set(\dur, f8, \vol, vol8); ~l8b1.set(\dur, f8, \vol, vol8);
957 ~l8c1.set(\dur, f8/~icd3, \vol, vol8); ~l8d1.set(\dur, f8/~icd3, \vol, vol8);
958 ~l8e1.set(\dur, f8/~icd6, \vol, vol8); ~l8f1.set(\dur, f8/~icd6, \vol, vol8);
960 AppClock.sched(0.161803398875,{
961 ([~l1a1,~l1b1,~l1c1,~l1d1,~l1e1,~l1f1,~l2a1,~l2b1,~l2c1,~l2d1,~l2e1,~l2f1,~l3a1,~l3b1,~l3c1,~l3d1,~l3e1,~l3f1,~l4a1,~l4b1,~l4c1,~l4d1,~l4e1,~l4f1,~l5a1,~l5b1,~l5c1,~l5d1,~l5e1,~l5f1,~l6a1,~l6b1,~l6c1,~l6d1,~l6e1,~l6f1,~l7a1,~l7b1,~l7c1,~l7d1,~l7e1,~l7f1,~l8a1,~l8b1,~l8c1,~l8d1,~l8e1,~l8f1 ].do(_.free)); ~slideroutine.stop;
964 {~l1a.isRunning == true}{
965 (1.do({var vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8,s1,s2,s3,s4,s5,s6,f1,f2,f3,f4,f5,f6,f7,f8;
966 #vol1,vol2,vol3,vol4,vol5,vol6,vol7,vol8 = [~vol1,~vol2,~vol3,~vol4,~vol5,~vol6,~vol7,~vol8];
967 #f1,f2,f3,f4,f5,f6,f7,f8 = [ 0,0,0,0,0,0,0,0 ];
968 ~l1a.set(\dur, f1, \vol, vol1); ~l1b.set(\dur, f1, \vol, vol1);
969 ~l1c.set(\dur, f1/~icd3, \vol, vol1); ~l1d.set(\dur, f1/~icd3, \vol, vol1);
970 ~l1e.set(\dur, f1/~icd6, \vol, vol1); ~l1f.set(\dur, f1/~icd6, \vol, vol1);
971 ~l2a.set(\dur, f2, \vol, vol2); ~l2b.set(\dur, f2, \vol, vol2);
972 ~l2c.set(\dur, f2/~icd3, \vol, vol2); ~l2d.set(\dur, f2/~icd3, \vol, vol2);
973 ~l2e.set(\dur, f2/~icd6, \vol, vol2); ~l2f.set(\dur, f2/~icd6, \vol, vol2);
974 ~l3a.set(\dur, f3, \vol, vol3); ~l3b.set(\dur, f3, \vol, vol3);
975 ~l3c.set(\dur, f3/~icd3, \vol, vol3); ~l3d.set(\dur, f3/~icd3, \vol, vol3);
976 ~l3e.set(\dur, f3/~icd6, \vol, vol3); ~l3f.set(\dur, f3/~icd6, \vol, vol3);
977 ~l4a.set(\dur, f4, \vol, vol4); ~l4b.set(\dur, f4, \vol, vol4);
978 ~l4c.set(\dur, f4/~icd3, \vol, vol4); ~l4d.set(\dur, f4/~icd3, \vol, vol4);
979 ~l4e.set(\dur, f4/~icd6, \vol, vol4); ~l4f.set(\dur, f4/~icd6, \vol, vol4);
980 ~l5a.set(\dur, f5, \vol, vol5); ~l5b.set(\dur, f5, \vol, vol5);
981 ~l5c.set(\dur, f5/~icd3, \vol, vol5); ~l5d.set(\dur, f5/~icd3, \vol, vol5);
982 ~l5e.set(\dur, f5/~icd6, \vol, vol5); ~l5f.set(\dur, f5/~icd6, \vol, vol5);
983 ~l6a.set(\dur, f6, \vol, vol6); ~l6b.set(\dur, f6, \vol, vol6);
984 ~l6c.set(\dur, f6/~icd3, \vol, vol6); ~l6d.set(\dur, f6/~icd3, \vol, vol6);
985 ~l6e.set(\dur, f6/~icd6, \vol, vol6); ~l6f.set(\dur, f6/~icd6, \vol, vol6);
986 ~l7a.set(\dur, f7, \vol, vol7); ~l7b.set(\dur, f7, \vol, vol7);
987 ~l7c.set(\dur, f7/~icd3, \vol, vol7); ~l7d.set(\dur, f7/~icd3, \vol, vol7);
988 ~l7e.set(\dur, f7/~icd6, \vol, vol7); ~l7f.set(\dur, f7/~icd6, \vol, vol7);
989 ~l8a.set(\dur, f8, \vol, vol8); ~l8b.set(\dur, f8, \vol, vol8);
990 ~l8c.set(\dur, f8/~icd3, \vol, vol8); ~l8d.set(\dur, f8/~icd3, \vol, vol8);
991 ~l8e.set(\dur, f8/~icd6, \vol, vol8); ~l8f.set(\dur, f8/~icd6, \vol, vol8);
993 AppClock.sched(0.161803398875,{
994 ([~l1a,~l1b,~l1c,~l1d,~l1e,~l1f,~l2a,~l2b,~l2c,~l2d,~l2e,~l2f,~l3a,~l3b,~l3c,~l3d,~l3e,~l3f,~l4a,~l4b,~l4c,~l4d,~l4e,~l4f,~l5a,~l5b,~l5c,~l5d,~l5e,~l5f,~l6a,~l6b,~l6c,~l6d,~l6e,~l6f,~l7a,~l7b,~l7c,~l7d,~l7e,~l7f,~l8a,~l8b,~l8c,~l8d,~l8e,~l8f].do(_.free)); ~slideroutine.stop;
1011 {~slot8 == nil}{""};
1013 ~timevals = {(~tst = TextView(w, Rect(~tspl,~tspt, ~tspw, ~tsph)).background_(Color.black);
1015 "o1:_"++~time1o.value.asString++"_f1:_"++~time1f.value.asString++"_s1:_"++~time1s.value.asString++"\n" ++
1016 "o2:_"++~time2o.value.asString++"_f2:_"++~time2f.value.asString++"_s2:_"++~time2s.value.asString++"\n" ++
1017 "o3:_"++~time3o.value.asString++"_f3:_"++~time3f.value.asString++"_s3:_"++~time3s.value.asString++"\n" ++
1018 "o4:_"++~time4o.value.asString++"_f4:_"++~time4f.value.asString++"_s4:_"++~time4s.value.asString++"\n" ++
1019 "o5:_"++~time5o.value.asString++"_f5:_"++~time5f.value.asString++"_s5:_"++~time5s.value.asString++"\n" ++
1020 "o6:_"++~time6o.value.asString++"_f6:_"++~time6f.value.asString++"_s6:_"++~time6s.value.asString++"\n" ++
1021 "o7:_"++~time7o.value.asString++"_f7:_"++~time7f.value.asString++"_s7:_"++~time7s.value.asString++"\n" ++
1022 "o8:_"++~time8o.value.asString++"_f8:_"++~time8f.value.asString++"_s8:_"++~time8s.value.asString++"\n" ++"\n" ++
1023 if(~slot8 != ~slot, {
1024 (~slot1 = ~slot2).asString++"\n" ++
1025 (~slot2 = ~slot3).asString++"\n" ++
1026 (~slot3 = ~slot4).asString++"\n" ++
1027 (~slot4 = ~slot5).asString++"\n" ++
1028 (~slot5 = ~slot6).asString++"\n" ++
1029 (~slot6 = ~slot7).asString++"\n" ++
1030 (~slot7 = ~slot8).asString++"\n" ++
1031 (~slot8 = ~slot).asString;
1033 (~slot1).asString++"\n" ++
1034 (~slot2).asString++"\n" ++
1035 (~slot3).asString++"\n" ++
1036 (~slot4).asString++"\n" ++
1037 (~slot5).asString++"\n" ++
1038 (~slot6).asString++"\n" ++
1039 (~slot7).asString++"\n" ++
1044 ~tst.stringColor = Color.white;
1048 //monitoring number of synths function
1051 if((~numsynths != nil) or: (~numsynths.isPlaying == true), {~numsynths.stop;});
1052 ~numsynths = Routine({inf.do({if((s.numSynths > 49) and: (3.wait; s.numSynths > 49) and: (6.wait; s.numSynths > 49), {
1055 if(~numsynthmessage != nil, {~numsynthmessage.close;});
1056 ~numsynthmessage = View(w, Rect(Window.screenBounds.width-(340+46),Window.screenBounds.height-(340+46/1.6180339887499)-110,340+46,340+46/1.6180339887499)).background_(Color.black).front;
1057 ~numsynthmessagestring = StaticText(~numsynthmessage, Rect(0,0,340+46,340+46/1.6180339887499)).background_(Color.black);
1058 ~numsynthmessagestring.align = \topLeft;
1059 ~numsynthmessagestring.string ="Warning:"++"\n"++"\n"++"More than the normal amount of synths are currently running. It is recommended to free the server by pressing "+"ctrl/cmd - period".quote+" and then pressing the "+"ok".quote+" button. Otherwise, you can press the "+"cancel".quote+" button to allow the synths to keep running. If you press the "+"cancel".quote+" button this message will not show again unless "+"synth0".quote+" has been pressed.";
1060 ~numsynthmessagestring.stringColor = Color.white;
1061 ~numsynthmessagebutton1 = Button.new(~numsynthmessage,Rect(320+46-100,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["ok",Color.white,Color.black]]).action_({AppClock.sched(0, {~numsynthmessage.close; ~numsynths.play; ~midifunc.value;});});
1062 ~numsynthmessagebutton2 = Button.new(~numsynthmessage,Rect(120-46,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["cancel",Color.white,Color.black]]).action_({AppClock.sched(0, {~numsynths.stop; ~numsynthmessage.close;});});
1063 ~numsynthmessage.front;
1065 }); 1.wait;});}).play;
1068 ~numsynthsfunc.value;
1073 view.mouseDownAction = {
1074 |v, x, y, mod, butNum|
1076 if(butNum == 0, { v.refresh;
1078 //generate dots on mouse down action
1081 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
1085 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z1.close;~z1 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1086 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z2.close;~z2 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1087 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z3.close;~z3 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1088 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z4.close;~z4 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1089 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z5.close;~z5 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1090 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z6.close;~z6 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1091 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z7.close;~z7 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1092 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z8.close;~z8 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1093 {y>~tgrid and: y<~bgrid} {nil}
1094 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z1.close;~z1 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1095 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z2.close;~z2 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1096 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z3.close;~z3 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1097 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z4.close;~z4 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1098 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z5.close;~z5 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1099 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z6.close;~z6 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1100 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z7.close;~z7 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1101 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z8.close;~z8 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1105 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
1107 //set synth values on mouse down action
1110 {~l1a.isRunning == true}{
1113 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1114 ~l1a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1115 ~l1b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f1=q.value; ~undof1=~f1;
1116 ~l1c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1117 ~l1d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1118 ~l1e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1119 ~l1f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1120 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1121 ~l2a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1122 ~l2b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f2=q.value; ~undof2=~f2;
1123 ~l2c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1124 ~l2d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1125 ~l2e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1126 ~l2f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1127 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1128 ~l3a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1129 ~l3b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f3=q.value; ~undof3=~f3;
1130 ~l3c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1131 ~l3d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1132 ~l3e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1133 ~l3f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1134 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1135 ~l4a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1136 ~l4b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f4=q.value; ~undof4=~f4;
1137 ~l4c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1138 ~l4d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1139 ~l4e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1140 ~l4f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1141 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1142 ~l5a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1143 ~l5b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f5=q.value; ~undof5=~f5;
1144 ~l5c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1145 ~l5d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1146 ~l5e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1147 ~l5f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1148 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1149 ~l6a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1150 ~l6b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f6=q.value; ~undof6=~f6;
1151 ~l6c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1152 ~l6d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1153 ~l6e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1154 ~l6f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1155 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1156 ~l7a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1157 ~l7b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f7=q.value; ~undof7=~f7;
1158 ~l7c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1159 ~l7d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1160 ~l7e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1161 ~l7f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1162 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1163 ~l8a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1164 ~l8b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f8=q.value; ~undof8=~f8;
1165 ~l8c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1166 ~l8d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1167 ~l8e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1168 ~l8f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1169 {y>~tgrid and: y<~bgrid} {nil}
1170 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1171 ~l1a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1172 ~l1b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f1=q.value; ~undof1=~f1;
1173 ~l1c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1174 ~l1d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1175 ~l1e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1176 ~l1f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1177 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1178 ~l2a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1179 ~l2b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f2=q.value; ~undof2=~f2;
1180 ~l2c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1181 ~l2d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1182 ~l2e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1183 ~l2f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1184 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1185 ~l3a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1186 ~l3b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f3=q.value; ~undof3=~f3;
1187 ~l3c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1188 ~l3d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1189 ~l3e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1190 ~l3f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1191 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1192 ~l4a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1193 ~l4b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f4=q.value; ~undof4=~f4;
1194 ~l4c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1195 ~l4d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1196 ~l4e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1197 ~l4f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1198 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1199 ~l5a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1200 ~l5b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f5=q.value; ~undof5=~f5;
1201 ~l5c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1202 ~l5d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1203 ~l5e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1204 ~l5f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1205 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1206 ~l6a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1207 ~l6b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f6=q.value; ~undof6=~f6;
1208 ~l6c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1209 ~l6d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1210 ~l6e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1211 ~l6f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1212 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1213 ~l7a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1214 ~l7b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f7=q.value; ~undof7=~f7;
1215 ~l7c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1216 ~l7d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1217 ~l7e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1218 ~l7f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1219 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1220 ~l8a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1221 ~l8b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f8=q.value; ~undof8=~f8;
1222 ~l8c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1223 ~l8d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1224 ~l8e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1225 ~l8f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);};
1227 {~l1a1.isRunning == true}{
1230 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1231 ~l1a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1232 ~l1b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f1=q.value; ~undof1=~f1;
1233 ~l1c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1234 ~l1d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1235 ~l1e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1236 ~l1f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1237 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1238 ~l2a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1239 ~l2b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f2=q.value; ~undof2=~f2;
1240 ~l2c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1241 ~l2d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1242 ~l2e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1243 ~l2f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1244 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1245 ~l3a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1246 ~l3b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f3=q.value; ~undof3=~f3;
1247 ~l3c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1248 ~l3d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1249 ~l3e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1250 ~l3f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1251 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1252 ~l4a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1253 ~l4b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f4=q.value; ~undof4=~f4;
1254 ~l4c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1255 ~l4d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1256 ~l4e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1257 ~l4f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1258 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1259 ~l5a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1260 ~l5b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f5=q.value; ~undof5=~f5;
1261 ~l5c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1262 ~l5d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1263 ~l5e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1264 ~l5f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1265 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1266 ~l6a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1267 ~l6b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f6=q.value; ~undof6=~f6;
1268 ~l6c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1269 ~l6d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1270 ~l6e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1271 ~l6f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1272 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1273 ~l7a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1274 ~l7b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f7=q.value; ~undof7=~f7;
1275 ~l7c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1276 ~l7d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1277 ~l7e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1278 ~l7f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1279 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1280 ~l8a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1281 ~l8b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f8=q.value; ~undof8=~f8;
1282 ~l8c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1283 ~l8d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1284 ~l8e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1285 ~l8f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1286 {y>~tgrid and: y<~bgrid} {nil}
1287 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1288 ~l1a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1289 ~l1b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f1=q.value; ~undof1=~f1;
1290 ~l1c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1291 ~l1d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1292 ~l1e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1293 ~l1f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1294 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1295 ~l2a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1296 ~l2b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f2=q.value; ~undof2=~f2;
1297 ~l2c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1298 ~l2d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1299 ~l2e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1300 ~l2f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1301 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1302 ~l3a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1303 ~l3b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f3=q.value; ~undof3=~f3;
1304 ~l3c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1305 ~l3d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1306 ~l3e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1307 ~l3f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1308 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1309 ~l4a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1310 ~l4b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f4=q.value; ~undof4=~f4;
1311 ~l4c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1312 ~l4d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1313 ~l4e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1314 ~l4f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1315 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1316 ~l5a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1317 ~l5b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f5=q.value; ~undof5=~f5;
1318 ~l5c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1319 ~l5d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1320 ~l5e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1321 ~l5f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1322 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1323 ~l6a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1324 ~l6b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f6=q.value; ~undof6=~f6;
1325 ~l6c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1326 ~l6d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1327 ~l6e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1328 ~l6f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1329 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1330 ~l7a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1331 ~l7b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f7=q.value; ~undof7=~f7;
1332 ~l7c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1333 ~l7d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1334 ~l7e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1335 ~l7f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1336 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1337 ~l8a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1338 ~l8b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f8=q.value; ~undof8=~f8;
1339 ~l8c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1340 ~l8d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1341 ~l8e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1342 ~l8f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);};
1349 view.mouseMoveAction = {
1353 ~nw = ~nh*1.6180339887499;
1355 //generate dots on mouse move action
1358 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
1362 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1363 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1364 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1365 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1366 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1367 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1368 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1369 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1370 {y>~tgrid and: y<~bgrid} {nil}
1371 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1372 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1373 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1374 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1375 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1376 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1377 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)}
1378 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect(x, y, ~nw, 2)).background = Color.white;)};
1382 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
1384 //set synth values on mouse move action
1387 {~l1a.isRunning == true}{
1390 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1391 ~l1a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1392 ~l1b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f1=q.value; ~undof1=~f1;
1393 ~l1c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1394 ~l1d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1395 ~l1e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1396 ~l1f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1397 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1398 ~l2a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1399 ~l2b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f2=q.value; ~undof2=~f2;
1400 ~l2c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1401 ~l2d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1402 ~l2e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1403 ~l2f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1404 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1405 ~l3a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1406 ~l3b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f3=q.value; ~undof3=~f3;
1407 ~l3c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1408 ~l3d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1409 ~l3e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1410 ~l3f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1411 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1412 ~l4a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1413 ~l4b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f4=q.value; ~undof4=~f4;
1414 ~l4c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1415 ~l4d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1416 ~l4e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1417 ~l4f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1418 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1419 ~l5a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1420 ~l5b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f5=q.value; ~undof5=~f5;
1421 ~l5c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1422 ~l5d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1423 ~l5e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1424 ~l5f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1425 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1426 ~l6a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1427 ~l6b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f6=q.value; ~undof6=~f6;
1428 ~l6c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1429 ~l6d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1430 ~l6e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1431 ~l6f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1432 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1433 ~l7a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1434 ~l7b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f7=q.value; ~undof7=~f7;
1435 ~l7c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1436 ~l7d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1437 ~l7e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1438 ~l7f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1439 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1440 ~l8a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1441 ~l8b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f8=q.value; ~undof8=~f8;
1442 ~l8c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1443 ~l8d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1444 ~l8e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1445 ~l8f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1446 {y>~tgrid and: y<~bgrid} {nil}
1447 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1448 ~l1a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1449 ~l1b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f1=q.value; ~undof1=~f1;
1450 ~l1c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1451 ~l1d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1452 ~l1e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1453 ~l1f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1454 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1455 ~l2a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1456 ~l2b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f2=q.value; ~undof2=~f2;
1457 ~l2c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1458 ~l2d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1459 ~l2e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1460 ~l2f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1461 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1462 ~l3a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1463 ~l3b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f3=q.value; ~undof3=~f3;
1464 ~l3c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1465 ~l3d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1466 ~l3e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1467 ~l3f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1468 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1469 ~l4a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1470 ~l4b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f4=q.value; ~undof4=~f4;
1471 ~l4c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1472 ~l4d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1473 ~l4e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1474 ~l4f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1475 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1476 ~l5a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1477 ~l5b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f5=q.value; ~undof5=~f5;
1478 ~l5c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1479 ~l5d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1480 ~l5e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1481 ~l5f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1482 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1483 ~l6a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1484 ~l6b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f6=q.value; ~undof6=~f6;
1485 ~l6c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1486 ~l6d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1487 ~l6e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1488 ~l6f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1489 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1490 ~l7a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1491 ~l7b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f7=q.value; ~undof7=~f7;
1492 ~l7c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1493 ~l7d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1494 ~l7e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1495 ~l7f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1496 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1497 ~l8a.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1498 ~l8b.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f8=q.value; ~undof8=~f8;
1499 ~l8c.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1500 ~l8d.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1501 ~l8e.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1502 ~l8f.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);};
1504 {~l1a1.isRunning == true}{
1507 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1508 ~l1a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1509 ~l1b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f1=q.value; ~undof1=~f1;
1510 ~l1c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1511 ~l1d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1512 ~l1e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1513 ~l1f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1514 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1515 ~l2a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1516 ~l2b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f2=q.value; ~undof2=~f2;
1517 ~l2c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1518 ~l2d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1519 ~l2e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1520 ~l2f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1521 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1522 ~l3a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1523 ~l3b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f3=q.value; ~undof3=~f3;
1524 ~l3c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1525 ~l3d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1526 ~l3e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1527 ~l3f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1528 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1529 ~l4a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1530 ~l4b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f4=q.value; ~undof4=~f4;
1531 ~l4c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1532 ~l4d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1533 ~l4e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1534 ~l4f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1535 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1536 ~l5a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1537 ~l5b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f5=q.value; ~undof5=~f5;
1538 ~l5c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1539 ~l5d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1540 ~l5e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1541 ~l5f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1542 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1543 ~l6a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1544 ~l6b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f6=q.value; ~undof6=~f6;
1545 ~l6c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1546 ~l6d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1547 ~l6e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1548 ~l6f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1549 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1550 ~l7a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1551 ~l7b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f7=q.value; ~undof7=~f7;
1552 ~l7c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1553 ~l7d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1554 ~l7e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1555 ~l7f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1556 {y>=(~tgrid) and: y<=(~tgrid=~tgrid+10)} {
1557 ~l8a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)));
1558 ~l8b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value); ~f8=q.value; ~undof8=~f8;
1559 ~l8c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd3);
1560 ~l8d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd3);
1561 ~l8e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1))/~icd6);
1562 ~l8f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin1,~outmax1)).value/~icd6);}
1563 {y>~tgrid and: y<~bgrid} {nil}
1564 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1565 ~l1a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1566 ~l1b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f1=q.value; ~undof1=~f1;
1567 ~l1c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1568 ~l1d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1569 ~l1e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1570 ~l1f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1571 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1572 ~l2a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1573 ~l2b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f2=q.value; ~undof2=~f2;
1574 ~l2c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1575 ~l2d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1576 ~l2e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1577 ~l2f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1578 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1579 ~l3a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1580 ~l3b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f3=q.value; ~undof3=~f3;
1581 ~l3c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1582 ~l3d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1583 ~l3e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1584 ~l3f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1585 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1586 ~l4a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1587 ~l4b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f4=q.value; ~undof4=~f4;
1588 ~l4c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1589 ~l4d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1590 ~l4e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1591 ~l4f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1592 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1593 ~l5a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1594 ~l5b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f5=q.value; ~undof5=~f5;
1595 ~l5c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1596 ~l5d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1597 ~l5e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1598 ~l5f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1599 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1600 ~l6a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1601 ~l6b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f6=q.value; ~undof6=~f6;
1602 ~l6c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1603 ~l6d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1604 ~l6e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1605 ~l6f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1606 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1607 ~l7a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1608 ~l7b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f7=q.value; ~undof7=~f7;
1609 ~l7c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1610 ~l7d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1611 ~l7e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1612 ~l7f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);}
1613 {y>=(~bgrid) and: y<=(~bgrid=~bgrid+10)} {
1614 ~l8a1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)));
1615 ~l8b1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value); ~f8=q.value; ~undof8=~f8;
1616 ~l8c1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd3);
1617 ~l8d1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd3);
1618 ~l8e1.set(\dur, ((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2))/~icd6);
1619 ~l8f1.set(\dur, q=((x/(Window.screenBounds.width)).linexp(0,1,~outmin2,~outmax2)).value/~icd6);};
1624 ~bgrid = Window.screenBounds.height-(Window.screenBounds.height/1.6180339887499)+30;
1625 ~dc1 = ~tgrid-5; ~dc2 = ~bgrid-5; ~dca = 10;
1627 ~bpl = Window.screenBounds.width-340;
1628 ~bpt = Window.screenBounds.height-88;
1630 ~bpw = 40/1.6180339887499;
1635 b = Button.new(w,Rect(Window.screenBounds.width*0+80,Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["copy",Color.white,Color.black],["copy",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1636 if(button.value == 1, {
1638 ~tsc = TextView(w, Rect(0,0, 1600*2, 354)).background_(Color.black);
1640 "saved open/flow 1-8: "++"\n"++"\n"++
1641 "[~f1="++fp1.asString++",~f2="++fp2.asString++",~f3="++fp3.asString++",~f4="++fp4.asString++",~f5="++fp5.asString++",~f6="++fp6.asString++",~f7="++fp7.asString++",~f8="++fp8.asString++"];"++" "++"~synthopen.value; ~trace.value; (a).wait;"++"\n"++
1642 "[~f1="++fp1b.asString++",~f2="++fp2b.asString++",~f3="++fp3b.asString++",~f4="++fp4b.asString++",~f5="++fp5b.asString++",~f6="++fp6b.asString++",~f7="++fp7b.asString++",~f8="++fp8b.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1643 "[~f1="++fp1c.asString++",~f2="++fp2c.asString++",~f3="++fp3c.asString++",~f4="++fp4c.asString++",~f5="++fp5c.asString++",~f6="++fp6c.asString++",~f7="++fp7c.asString++",~f8="++fp8c.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1644 "[~f1="++fp1d.asString++",~f2="++fp2d.asString++",~f3="++fp3d.asString++",~f4="++fp4d.asString++",~f5="++fp5d.asString++",~f6="++fp6d.asString++",~f7="++fp7d.asString++",~f8="++fp8d.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1645 "[~f1="++fp1e.asString++",~f2="++fp2e.asString++",~f3="++fp3e.asString++",~f4="++fp4e.asString++",~f5="++fp5e.asString++",~f6="++fp6e.asString++",~f7="++fp7e.asString++",~f8="++fp8e.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1646 "[~f1="++fp1f.asString++",~f2="++fp2f.asString++",~f3="++fp3f.asString++",~f4="++fp4f.asString++",~f5="++fp5f.asString++",~f6="++fp6f.asString++",~f7="++fp7f.asString++",~f8="++fp8f.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1647 "[~f1="++fp1g.asString++",~f2="++fp2g.asString++",~f3="++fp3g.asString++",~f4="++fp4g.asString++",~f5="++fp5g.asString++",~f6="++fp6g.asString++",~f7="++fp7g.asString++",~f8="++fp8g.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++
1648 "[~f1="++fp1h.asString++",~f2="++fp2h.asString++",~f3="++fp3h.asString++",~f4="++fp4h.asString++",~f5="++fp5h.asString++",~f6="++fp6h.asString++",~f7="++fp7h.asString++",~f8="++fp8h.asString++"];"++" "++"~synthflow.value; ~trace.value; (a).wait;"++"\n"++"\n"++
1650 "saved slide 1-8: "++"\n"++"\n"++
1652 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1.asString++",~f2="++fp2.asString++",~f3="++fp3.asString++",~f4="++fp4.asString++",~f5="++fp5.asString++",~f6="++fp6.asString++",~f7="++fp7.asString++",~f8="++fp8.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1653 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1b.asString++",~f2="++fp2b.asString++",~f3="++fp3b.asString++",~f4="++fp4b.asString++",~f5="++fp5b.asString++",~f6="++fp6b.asString++",~f7="++fp7b.asString++",~f8="++fp8b.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1654 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1c.asString++",~f2="++fp2c.asString++",~f3="++fp3c.asString++",~f4="++fp4c.asString++",~f5="++fp5c.asString++",~f6="++fp6c.asString++",~f7="++fp7c.asString++",~f8="++fp8c.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1655 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1d.asString++",~f2="++fp2d.asString++",~f3="++fp3d.asString++",~f4="++fp4d.asString++",~f5="++fp5d.asString++",~f6="++fp6d.asString++",~f7="++fp7d.asString++",~f8="++fp8d.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1656 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1e.asString++",~f2="++fp2e.asString++",~f3="++fp3e.asString++",~f4="++fp4e.asString++",~f5="++fp5e.asString++",~f6="++fp6e.asString++",~f7="++fp7e.asString++",~f8="++fp8e.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1657 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1f.asString++",~f2="++fp2f.asString++",~f3="++fp3f.asString++",~f4="++fp4f.asString++",~f5="++fp5f.asString++",~f6="++fp6f.asString++",~f7="++fp7f.asString++",~f8="++fp8f.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1658 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1g.asString++",~f2="++fp2g.asString++",~f3="++fp3g.asString++",~f4="++fp4g.asString++",~f5="++fp5g.asString++",~f6="++fp6g.asString++",~f7="++fp7g.asString++",~f8="++fp8g.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++
1659 "#s,t,u,v,w,x,y,z = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]; [~f1="++fp1h.asString++",~f2="++fp2h.asString++",~f3="++fp3h.asString++",~f4="++fp4h.asString++",~f5="++fp5h.asString++",~f6="++fp6h.asString++",~f7="++fp7h.asString++",~f8="++fp8h.asString++"];"++" "++"~slidetime = 1; ~slidedo = 432; ~synthslide.value; ~trace.value; (a).wait;"++"\n"++"\n"++
1662 "[~f1="++~f1.asString++",~f2="++~f2.asString++",~f3="++~f3.asString++",~f4="++~f4.asString++",~f5="++~f5.asString++",~f6="++~f6.asString++",~f7="++~f7.asString++",~f8="++~f8.asString++"]"
1664 ~tsc.stringColor = Color.white;
1665 (str= [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8/*,~f9,~f10,~f11,~f12*/ ];("echo"+str+"| xclip -selection clipboard").unixCmd;);
1666 [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8/*,~f9,~f10,~f11,~f12*/ ].postln;},
1673 sts = Button.new(w,Rect(Window.screenBounds.width-20-20-20-20,~bpt+69+5,20,20/1.6180339887499)).states_([["st",Color.white,Color.black],["st",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1674 if(~timer.isPlaying == true, {
1675 if(~tst.value == nil, {~timer.stop; ~systemclock.stop; ~systemclock.clear;},{~tst.close;
1677 ~timer.stop; ~systemclock.stop; ~systemclock.clear;});
1684 ~ts = Button.new(w,Rect(Window.screenBounds.width*0+20,Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["tsynth0",Color.white,Color.black],["tsynth1",Color.white,Color.black]]).action_({arg synthbutton; synthbutton.value.postln}).action_({arg synthbutton; if(synthbutton.value == 1, {
1685 if(~tst != nil, {~tst.close});
1687 ~timer.stop; ~systemclock.stop; ~systemclock.clear;},{if(~tst.value == nil, {~timer.stop; ~systemclock.stop; ~systemclock.clear;},{~timer.stop; ~systemclock.stop; ~systemclock.clear; ~tst.close;})})});
1690 //start/stop synth button
1692 b3 = Button.new(w,Rect(Window.screenBounds.width*0+20,Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["synth0",Color.white,Color.black],["synth1",Color.white,Color.black]]).action_({arg synthbutton; synthbutton.value.postln}).action_({
1693 arg synthbutton; if(synthbutton.value == 1, {
1694 ~l1a = Synth(\gsineicfld, [\dur, 432]).register;~l1a1 = Synth(\gsineicfld, [\dur, 432]).register;[~l1a, ~l1a1].do(_.free);~l1a = Synth(\gsineicfld, [\dur, 432]).register;~l1a1 = Synth(\gsineicfld, [\dur, 432]).register;[~l1a, ~l1a1].do(_.free);
1696 ~numsynths.stop; ~numsynthsfunc.value;
1699 {~synthfree.value; b4.value = 0;})
1703 //pause/unpause button
1705 b4 = Button.new(w,Rect(Window.screenBounds.width*0+80,Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["pause0",Color.white,Color.black],["pause1",Color.white,Color.black]]).action_({arg synthbutton; synthbutton.value.postln}).action_({
1706 arg synthbutton; if(synthbutton.value == 1, {~synthpause.value; ~timer.stop;},
1707 {~synthflow.value; if(~time == 0, {~timer.stop;}, {~timer = Routine({inf.do({~time = ~time+0.01; ~time.postln; 0.01.wait;});}); SystemClock.play(~timer);})})
1711 //open/flow/slide buttons coordinate values
1714 ~bpw = 26/1.6180339887499;
1715 ~bpl = Window.screenBounds.width-(~bph*8)-20;
1716 ~bpt = Window.screenBounds.height-88;
1719 ~bp02l = ~bpl+(~bph*1);
1720 ~bp03l = ~bpl+(~bph*2);
1721 ~bp04l = ~bpl+(~bph*3);
1722 ~bp05l = ~bpl+(~bph*4);
1723 ~bp06l = ~bpl+(~bph*5);
1724 ~bp07l = ~bpl+(~bph*6);
1725 ~bp08l = ~bpl+(~bph*7);
1727 ~bpf2l = ~bpl+(~bph*1);
1728 ~bpf3l = ~bpl+(~bph*2);
1729 ~bpf4l = ~bpl+(~bph*3);
1730 ~bpf5l = ~bpl+(~bph*4);
1731 ~bpf6l = ~bpl+(~bph*5);
1732 ~bpf7l = ~bpl+(~bph*6);
1733 ~bpf8l = ~bpl+(~bph*7);
1788 ~tspl=Window.screenBounds.width-~tspw;
1792 //synthopen 1-8 buttons
1794 ~bplaceo1 = Button.new(w,Rect(~bp01l,~bp01t,~bp01h,~bp01w)).states_([["o1",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1796 [~f1=fp1,~f2=fp2,~f3=fp3,~f4=fp4,~f5=fp5,~f6=fp6,~f7=fp7,~f8=fp8];
1799 ~currentsynth = "o1"; ~synthmonitorfunc.value;
1802 {if(~tst == nil, {nil}, {~tst.close;});
1804 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time1o = 0;
1805 ~timer = Routine({inf.do({
1807 ~time1o+0.01; ~slot = "o1_"+~time1o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1811 ~bplaceo2 = Button.new(w,Rect(~bp02l,~bp02t,~bp02h,~bp02w)).states_([["o2",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1813 [~f1=fp1b,~f2=fp2b,~f3=fp3b,~f4=fp4b,~f5=fp5b,~f6=fp6b,~f7=fp7b,~f8=fp8b];
1816 ~currentsynth = "o2"; ~synthmonitorfunc.value;
1819 {if(~tst == nil, {nil}, {~tst.close;});
1821 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time2o = 0;
1822 ~timer = Routine({inf.do({
1824 ~time2o+0.01; ~slot = "o2_"+~time2o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1827 ~bplaceo3 = Button.new(w,Rect(~bp03l,~bp03t,~bp03h,~bp03w)).states_([["o3",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1829 [~f1=fp1c,~f2=fp2c,~f3=fp3c,~f4=fp4c,~f5=fp5c,~f6=fp6c,~f7=fp7c,~f8=fp8c];
1832 ~currentsynth = "o3"; ~synthmonitorfunc.value;
1835 {if(~tst == nil, {nil}, {~tst.close;});
1837 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time3o = 0;
1838 ~timer = Routine({inf.do({
1840 ~time3o+0.01; ~slot = "o3_"+~time3o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1843 ~bplaceo4 = Button.new(w,Rect(~bp04l,~bp04t,~bp04h,~bp04w)).states_([["o4",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1845 [~f1=fp1d,~f2=fp2d,~f3=fp3d,~f4=fp4d,~f5=fp5d,~f6=fp6d,~f7=fp7d,~f8=fp8d];
1848 ~currentsynth = "o4"; ~synthmonitorfunc.value;
1851 {if(~tst == nil, {nil}, {~tst.close;});
1853 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time4o = 0;
1854 ~timer = Routine({inf.do({
1856 ~time4o+0.01; ~slot = "o4_"+~time4o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1861 ~bplaceo5 = Button.new(w,Rect(~bp05l,~bp05t,~bp05h,~bp05w)).states_([["o5",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1863 [~f1=fp1e,~f2=fp2e,~f3=fp3e,~f4=fp4e,~f5=fp5e,~f6=fp6e,~f7=fp7e,~f8=fp8e];
1866 ~currentsynth = "o5"; ~synthmonitorfunc.value;
1869 {if(~tst == nil, {nil}, {~tst.close;});
1871 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time5o = 0;
1872 ~timer = Routine({inf.do({
1874 ~time5o+0.01; ~slot = "o5_"+~time5o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1878 ~bplaceo6 = Button.new(w,Rect(~bp06l,~bp06t,~bp06h,~bp06w)).states_([["o6",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1880 [~f1=fp1f,~f2=fp2f,~f3=fp3f,~f4=fp4f,~f5=fp5f,~f6=fp6f,~f7=fp7f,~f8=fp8f];
1883 ~currentsynth = "o6"; ~synthmonitorfunc.value;
1886 {if(~tst == nil, {nil}, {~tst.close;});
1888 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time6o = 0;
1889 ~timer = Routine({inf.do({
1891 ~time6o+0.01; ~slot = "o6_"+~time6o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1894 ~bplaceo7 = Button.new(w,Rect(~bp07l,~bp07t,~bp07h,~bp07w)).states_([["o7",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1896 [~f1=fp1g,~f2=fp2g,~f3=fp3g,~f4=fp4g,~f5=fp5g,~f6=fp6g,~f7=fp7g,~f8=fp8g];
1899 ~currentsynth = "o7"; ~synthmonitorfunc.value;
1902 {if(~tst == nil, {nil}, {~tst.close;});
1904 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time7o = 0;
1905 ~timer = Routine({inf.do({
1907 ~time7o+0.01; ~slot = "o7_"+~time7o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1910 ~bplaceo8 = Button.new(w,Rect(~bp08l,~bp08t,~bp08h,~bp08w)).states_([["o8",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1912 [~f1=fp1h,~f2=fp2h,~f3=fp3h,~f4=fp4h,~f5=fp5h,~f6=fp6h,~f7=fp7h,~f8=fp8h];
1915 ~currentsynth = "o8"; ~synthmonitorfunc.value;
1918 {if(~tst == nil, {nil}, {~tst.close;});
1920 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time8o = 0;
1921 ~timer = Routine({inf.do({
1923 ~time8o+0.01; ~slot = "o8_"+~time8o.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1928 //synthflow 1-8 buttons
1930 ~bplacef1 = Button.new(w,Rect(~bpf1l,~bpf1t,~bpf1h,~bpf1w)).states_([["f1",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1932 [~f1=fp1,~f2=fp2,~f3=fp3,~f4=fp4,~f5=fp5,~f6=fp6,~f7=fp7,~f8=fp8];
1935 ~currentsynth = "f1"; ~synthmonitorfunc.value;
1938 {if(~tst == nil, {nil}, {~tst.close;});
1940 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time1f = 0;
1941 ~timer = Routine({inf.do({
1943 ~time1f+0.01; ~slot = "f1_"+~time1f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1946 ~bplacef2 = Button.new(w,Rect(~bpf2l,~bpf2t,~bpf2h,~bpf2w)).states_([["f2",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1948 [~f1=fp1b,~f2=fp2b,~f3=fp3b,~f4=fp4b,~f5=fp5b,~f6=fp6b,~f7=fp7b,~f8=fp8b];
1951 ~currentsynth = "f2"; ~synthmonitorfunc.value;
1954 {if(~tst == nil, {nil}, {~tst.close;});
1956 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time2f = 0;
1957 ~timer = Routine({inf.do({
1959 ~time2f+0.01; ~slot = "f2_"+~time2f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1963 ~bplacef3 = Button.new(w,Rect(~bpf3l,~bpf3t,~bpf3h,~bpf3w)).states_([["f3",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1965 [~f1=fp1c,~f2=fp2c,~f3=fp3c,~f4=fp4c,~f5=fp5c,~f6=fp6c,~f7=fp7c,~f8=fp8c];
1968 ~currentsynth = "f3"; ~synthmonitorfunc.value;
1971 {if(~tst == nil, {nil}, {~tst.close;});
1973 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time3f = 0;
1974 ~timer = Routine({inf.do({
1976 ~time3f+0.01; ~slot = "f3_"+~time3f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1979 ~bplacef4 = Button.new(w,Rect(~bpf4l,~bpf4t,~bpf4h,~bpf4w)).states_([["f4",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1981 [~f1=fp1d,~f2=fp2d,~f3=fp3d,~f4=fp4d,~f5=fp5d,~f6=fp6d,~f7=fp7d,~f8=fp8d];
1984 ~currentsynth = "f4"; ~synthmonitorfunc.value;
1987 {if(~tst == nil, {nil}, {~tst.close;});
1989 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time4f = 0;
1990 ~timer = Routine({inf.do({
1992 ~time4f+0.01; ~slot = "f4_"+~time4f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
1996 ~bplacef5 = Button.new(w,Rect(~bpf5l,~bpf5t,~bpf5h,~bpf5w)).states_([["f5",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
1998 [~f1=fp1e,~f2=fp2e,~f3=fp3e,~f4=fp4e,~f5=fp5e,~f6=fp6e,~f7=fp7e,~f8=fp8e];
2001 ~currentsynth = "f5"; ~synthmonitorfunc.value;
2004 {if(~tst == nil, {nil}, {~tst.close;});
2006 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time5f = 0;
2007 ~timer = Routine({inf.do({
2009 ~time5f+0.01; ~slot = "f5_"+~time5f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2013 ~bplacef6 = Button.new(w,Rect(~bpf6l,~bpf6t,~bpf6h,~bpf6w)).states_([["f6",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2015 [~f1=fp1f,~f2=fp2f,~f3=fp3f,~f4=fp4f,~f5=fp5f,~f6=fp6f,~f7=fp7f,~f8=fp8f];
2018 ~currentsynth = "f6"; ~synthmonitorfunc.value;
2021 {if(~tst == nil, {nil}, {~tst.close;});
2023 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time6f = 0;
2024 ~timer = Routine({inf.do({
2026 ~time6f+0.01; ~slot = "f6_"+~time6f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2031 ~bplacef7 = Button.new(w,Rect(~bpf7l,~bpf7t,~bpf7h,~bpf7w)).states_([["f7",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2033 [~f1=fp1g,~f2=fp2g,~f3=fp3g,~f4=fp4g,~f5=fp5g,~f6=fp6g,~f7=fp7g,~f8=fp8g];
2036 ~currentsynth = "f7"; ~synthmonitorfunc.value;
2039 {if(~tst == nil, {nil}, {~tst.close;});
2041 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time7f = 0;
2042 ~timer = Routine({inf.do({
2044 ~time7f+0.01; ~slot = "f7_"+~time7f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2047 ~bplacef8 = Button.new(w,Rect(~bpf8l,~bpf8t,~bpf8h,~bpf8w)).states_([["f8",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2049 [~f1=fp1h,~f2=fp2h,~f3=fp3h,~f4=fp4h,~f5=fp5h,~f6=fp6h,~f7=fp7h,~f8=fp8h];
2052 ~currentsynth = "f8"; ~synthmonitorfunc.value;
2055 {if(~tst == nil, {nil}, {~tst.close;});
2057 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time8f = 0;
2058 ~timer = Routine({inf.do({
2060 ~time8f+0.01; ~slot = "f8_"+~time8f.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2065 //synthslide 1-8 buttons
2067 ~bplaces1 = Button.new(w,Rect(~bpf1l,~bpf1t+~bpf1w,~bpf1h,~bpf1w)).states_([["s1",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2069 if(~slidetime1 == nil, {~slidetime1 = 4}); if(~slidedo1 == nil, {~slidedo1 = 2000;}); ~slidecount = ~slidedo1;
2070 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2071 [ fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8 ])*(-1)/~slidedo1);
2073 ~slidetime =~slidetime1; ~slidedo = ~slidedo1;
2078 ~currentsynth = "s1"; ~synthmonitorfunc.value;
2081 {if(~tst == nil, {nil}, {~tst.close;});
2083 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time1s = 0;
2084 ~timer = Routine({inf.do({
2086 ~time1s+0.01; ~slot = "s1_"+~time1s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2090 ~bplaces2 = Button.new(w,Rect(~bpf2l,~bpf2t+~bpf2w,~bpf2h,~bpf2w)).states_([["s2",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2092 if(~slidetime2 == nil, {~slidetime2 = 4}); if(~slidedo2 == nil, {~slidedo2 = 2000;}); ~slidecount = ~slidedo2;
2093 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2094 [ fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b ])*(-1)/~slidedo2);
2096 ~slidetime = ~slidetime2; ~slidedo = ~slidedo2;
2101 ~currentsynth = "s2"; ~synthmonitorfunc.value;
2104 {if(~tst == nil, {nil}, {~tst.close;});
2106 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time2s = 0;
2107 ~timer = Routine({inf.do({
2109 ~time2s+0.01; ~slot = "s2_"+~time2s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2113 ~bplaces3 = Button.new(w,Rect(~bpf3l,~bpf3t+~bpf3w,~bpf3h,~bpf3w)).states_([["s3",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2115 if(~slidetime3 == nil, {~slidetime3 = 4}); if(~slidedo3 == nil, {~slidedo3 = 2000;}); ~slidecount = ~slidedo3;
2116 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2117 [ fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c ])*(-1)/~slidedo3);
2119 ~slidetime = ~slidetime3; ~slidedo = ~slidedo3;
2124 ~currentsynth = "s3"; ~synthmonitorfunc.value;
2127 {if(~tst == nil, {nil}, {~tst.close;});
2129 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time3s = 0;
2130 ~timer = Routine({inf.do({
2132 ~time3s+0.01; ~slot = "s3_"+~time3s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2136 ~bplaces4 = Button.new(w,Rect(~bpf4l,~bpf4t+~bpf4w,~bpf4h,~bpf4w)).states_([["s4",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2138 if(~slidetime4 == nil, {~slidetime4 = 4}); if(~slidedo4 == nil, {~slidedo4 = 2000;}); ~slidecount = ~slidedo4;
2139 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2140 [ fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d ])*(-1)/~slidedo4);
2142 ~slidetime = ~slidetime4; ~slidedo = ~slidedo4;
2147 ~currentsynth = "s4"; ~synthmonitorfunc.value;
2150 {if(~tst == nil, {nil}, {~tst.close;});
2152 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time4s = 0;
2153 ~timer = Routine({inf.do({
2155 ~time4s+0.01; ~slot = "s4_"+~time4s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2158 ~bplaces5 = Button.new(w,Rect(~bpf5l,~bpf5t+~bpf5w,~bpf5h,~bpf5w)).states_([["s5",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2160 if(~slidetime5 == nil, {~slidetime5 = 4}); if(~slidedo5 == nil, {~slidedo5 = 2000;}); ~slidecount = ~slidedo5;
2161 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2162 [ fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e ])*(-1)/~slidedo5);
2164 ~slidetime = ~slidetime5; ~slidedo = ~slidedo5;
2169 ~currentsynth = "s5"; ~synthmonitorfunc.value;
2172 {if(~tst == nil, {nil}, {~tst.close;});
2174 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time5s = 0;
2175 ~timer = Routine({inf.do({
2177 ~time5s+0.01; ~slot = "s5_"+~time5s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2181 ~bplaces6 = Button.new(w,Rect(~bpf6l,~bpf6t+~bpf6w,~bpf6h,~bpf6w)).states_([["s6",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2183 if(~slidetime6 == nil, {~slidetime6 = 4}); if(~slidedo6 == nil, {~slidedo6 = 2000;}); ~slidecount = ~slidedo6;
2184 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2185 [ fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f ])*(-1)/~slidedo6);
2187 ~slidetime = ~slidetime6; ~slidedo = ~slidedo6;
2191 ~currentsynth = "s6"; ~synthmonitorfunc.value;
2194 {if(~tst == nil, {nil}, {~tst.close;});
2196 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time6s = 0;
2197 ~timer = Routine({inf.do({
2199 ~time6s+0.01; ~slot = "s6_"+~time6s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2203 ~bplaces7 = Button.new(w,Rect(~bpf7l,~bpf7t+~bpf7w,~bpf7h,~bpf7w)).states_([["s7",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2205 if(~slidetime7 == nil, {~slidetime7 = 4}); if(~slidedo7 == nil, {~slidedo7 = 2000;}); ~slidecount = ~slidedo7;
2206 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2207 [ fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g ])*(-1)/~slidedo7);
2209 ~slidetime = ~slidetime7; ~slidedo = ~slidedo7;
2213 ~currentsynth = "s7"; ~synthmonitorfunc.value;
2216 {if(~tst == nil, {nil}, {~tst.close;});
2218 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time7s = 0;
2219 ~timer = Routine({inf.do({
2221 ~time7s+0.01; ~slot = "s7_"+~time7s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2225 ~bplaces8 = Button.new(w,Rect(~bpf8l,~bpf8t+~bpf8w,~bpf8h,~bpf8w)).states_([["s8",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2227 if(~slidetime8 == nil, {~slidetime8 = 4}); if(~slidedo8 == nil, {~slidedo8 = 2000;}); ~slidecount = ~slidedo8;
2228 #g,h,i,j,k,l,m,n,o,p,q,r = (([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8 ]-
2229 [ fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h])*(-1)/~slidedo8);
2231 ~slidetime = ~slidetime8; ~slidedo = ~slidedo8;
2236 ~currentsynth = "s8"; ~synthmonitorfunc.value;
2239 {if(~tst == nil, {nil}, {~tst.close;});
2241 ~timer.stop; ~systemclock.stop; ~systemclock.clear; ~time8s = 0;
2242 ~timer = Routine({inf.do({
2244 ~time8s+0.01; ~slot = "s8_"+~time8s.asString; 0.01.wait;});}); ~systemclock = SystemClock.play(~timer);},
2249 //if slidetime/slidedo is nil
2251 if(~slidetimeall == nil, {~slidetimeall = 1});
2252 if(~slidetime1 == nil, {~slidetime1 = 1});
2253 if(~slidetime2 == nil, {~slidetime2 = 1});
2254 if(~slidetime3 == nil, {~slidetime3 = 1});
2255 if(~slidetime4 == nil, {~slidetime4 = 1});
2256 if(~slidetime5 == nil, {~slidetime5 = 1});
2257 if(~slidetime6 == nil, {~slidetime6 = 1});
2258 if(~slidetime7 == nil, {~slidetime7 = 1});
2259 if(~slidetime8 == nil, {~slidetime8 = 1});
2261 if(~slidedoall == nil, {~slidedoall = 432});
2262 if(~slidedo1 == nil, {~slidedo1 = 432});
2263 if(~slidedo2 == nil, {~slidedo2 = 432});
2264 if(~slidedo3 == nil, {~slidedo3 = 432});
2265 if(~slidedo4 == nil, {~slidedo4 = 432});
2266 if(~slidedo5 == nil, {~slidedo5 = 432});
2267 if(~slidedo6 == nil, {~slidedo6 = 432});
2268 if(~slidedo7 == nil, {~slidedo7 = 432});
2269 if(~slidedo8 == nil, {~slidedo8 = 432});
2272 //set slide values button
2274 ~slidevals = Button.new(w,Rect(Window.screenBounds.width-20-20-20,~bpt+69+5,20,20/1.6180339887499)).states_([["s",Color.white,Color.black],["s",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2276 if(button.value == 1, {
2278 arg lefttime = 0 , lefttimebox = 52, leftdo = lefttimebox+widthbox+6, leftdobox = leftdo+57, top = 0,width=52, height = 16, widthbox=52, heightbox = 16, inc=0, lw = 0, uw = 0, numw = 40;
2279 var tall, stall, iall, siall, st1, st2, st3, st4, st5, st6, st7, st8, si1, si2, si3, si4, si5, si6, si7, si8, t1,t2,t3,t4,t5,t6,t7,t8,i1,i2,i3,i4,i5,i6,i7,i8;
2280 ~slideview = View(w, Rect(Window.screenBounds.width-(340+46),Window.screenBounds.height-(340+46/1.6180339887499)-110,340+46,340+46/1.6180339887499)).front;
2282 tall = StaticText(~slideview, Rect(lefttime , top=top, width, height)).background_(Color.black).string_("all time").stringColor_(Color.white);
2283 t1 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s1 time").stringColor_(Color.white);
2284 t2 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s2 time").stringColor_(Color.white);
2285 t3 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s3 time").stringColor_(Color.white);
2286 t4 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s4 time").stringColor_(Color.white);
2287 t5 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s5 time").stringColor_(Color.white);
2288 t6 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s6 time").stringColor_(Color.white);
2289 t7 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s7 time").stringColor_(Color.white);
2290 t8 = StaticText(~slideview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("s8 time").stringColor_(Color.white);
2294 stall=NumberBox(~slideview, Rect(lefttimebox , top=top, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetimeall);
2295 st1=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime1);
2296 st2=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime2);
2297 st3=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime3);
2298 st4=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime4);
2299 st5=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime5);
2300 st6=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime6);
2301 st7=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime7);
2302 st8=NumberBox(~slideview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidetime8);
2306 iall = StaticText(~slideview, Rect(leftdo , top=top, width, height)).background_(Color.black).string_("all incr").stringColor_(Color.white);
2307 i1 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s1 incr").stringColor_(Color.white);
2308 i2 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s2 incr").stringColor_(Color.white);
2309 i3 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s3 incr").stringColor_(Color.white);
2310 i4 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s4 incr").stringColor_(Color.white);
2311 i5 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s5 incr").stringColor_(Color.white);
2312 i6 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s6 incr").stringColor_(Color.white);
2313 i7 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s7 incr").stringColor_(Color.white);
2314 i8 = StaticText(~slideview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("s8 incr").stringColor_(Color.white);
2318 siall=NumberBox(~slideview, Rect(leftdobox , top=top, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedoall);
2319 si1=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo1);
2320 si2=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo2);
2321 si3=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo3);
2322 si4=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo4);
2323 si5=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo5);
2324 si6=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo6);
2325 si7=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo7);
2326 si8=NumberBox(~slideview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~slidedo8);
2328 stall.action_({arg val;
2329 ~slidetimeall = val.value;
2330 ~slidetime1 = val.value;
2331 ~slidetime2 = val.value;
2332 ~slidetime3 = val.value;
2333 ~slidetime4 = val.value;
2334 ~slidetime5 = val.value;
2335 ~slidetime6 = val.value;
2336 ~slidetime7 = val.value;
2337 ~slidetime8 = val.value;
2338 ~slideview.close; ~slidevals.valueAction_(1);
2340 st1.action_({arg val; ~slidetime1 = val.value;});
2341 st2.action_({arg val; ~slidetime2 = val.value;});
2342 st3.action_({arg val; ~slidetime3 = val.value;});
2343 st4.action_({arg val; ~slidetime4 = val.value;});
2344 st5.action_({arg val; ~slidetime5 = val.value;});
2345 st6.action_({arg val; ~slidetime6 = val.value;});
2346 st7.action_({arg val; ~slidetime7 = val.value;});
2347 st8.action_({arg val; ~slidetime8 = val.value;});
2349 siall.action_({arg val;
2350 ~slidedoall = val.value;
2351 ~slidedo1 = val.value;
2352 ~slidedo2 = val.value;
2353 ~slidedo3 = val.value;
2354 ~slidedo4 = val.value;
2355 ~slidedo5 = val.value;
2356 ~slidedo6 = val.value;
2357 ~slidedo7 = val.value;
2358 ~slidedo8 = val.value;
2359 ~slideview.close; ~slidevals.valueAction_(1);
2361 si1.action_({arg val; ~slidedo1 = val.value;});
2362 si2.action_({arg val; ~slidedo2 = val.value;});
2363 si3.action_({arg val; ~slidedo3 = val.value;});
2364 si4.action_({arg val; ~slidedo4 = val.value;});
2365 si5.action_({arg val; ~slidedo5 = val.value;});
2366 si6.action_({arg val; ~slidedo6 = val.value;});
2367 si7.action_({arg val; ~slidedo7 = val.value;});
2368 si8.action_({arg val; ~slidedo8 = val.value;});
2370 ~slideview.background_(Color.black);
2372 ~closeslidebutton = Button.new(~slideview,Rect(220, top+40, 40, 40/~gm)).states_([["close",Color.white,Color.black]]).action_({arg button;
2374 ~slideview.close; ~slidevals.value = 0;
2380 }, {~slideview.close});
2384 //mute/unmute 1-8 buttons
2386 mute1 = Button.new(w,Rect(~bpl+(16*1),~bpt+69+5,16,16/1.6180339887499)).states_([["1",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2388 {~l1a1.isRunning == true}{
2389 if(button.value == 0, {
2392 ~l1a1.set(\vol, ~vol1); ~l1b1.set(\vol, ~vol1);
2393 ~l1c1.set(\vol, ~vol1); ~l1d1.set(\vol, ~vol1);
2394 ~l1e1.set(\vol, ~vol1); ~l1f1.set(\vol, ~vol1);
2399 ~l1a1.set(\vol, ~vol1); ~l1b1.set(\vol, ~vol1);
2400 ~l1c1.set(\vol, ~vol1); ~l1d1.set(\vol, ~vol1);
2401 ~l1e1.set(\vol, ~vol1); ~l1f1.set(\vol, ~vol1);
2406 {~l1a.isRunning == true}{
2407 if(button.value == 0, {
2410 ~l1a.set(\vol, ~vol1); ~l1b.set(\vol, ~vol1);
2411 ~l1c.set(\vol, ~vol1); ~l1d.set(\vol, ~vol1);
2412 ~l1e.set(\vol, ~vol1); ~l1f.set(\vol, ~vol1);
2417 ~l1a.set(\vol, ~vol1); ~l1b.set(\vol, ~vol1);
2418 ~l1c.set(\vol, ~vol1); ~l1d.set(\vol, ~vol1);
2419 ~l1e.set(\vol, ~vol1); ~l1f.set(\vol, ~vol1);
2426 mute2 = Button.new(w,Rect(~bpl+(16*2),~bpt+69+5,16,16/1.6180339887499)).states_([["2",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2428 {~l1a1.isRunning == true}{
2429 if(button.value == 0, {
2432 ~l2a1.set(\vol, ~vol2); ~l2b1.set(\vol, ~vol2);
2433 ~l2c1.set(\vol, ~vol2); ~l2d1.set(\vol, ~vol2);
2434 ~l2e1.set(\vol, ~vol2); ~l2f1.set(\vol, ~vol2);
2439 ~l2a1.set(\vol, ~vol2); ~l2b1.set(\vol, ~vol2);
2440 ~l2c1.set(\vol, ~vol2); ~l2d1.set(\vol, ~vol2);
2441 ~l2e1.set(\vol, ~vol2); ~l2f1.set(\vol, ~vol2);
2446 {~l1a.isRunning == true}{
2447 if(button.value == 0, {
2450 ~l2a.set(\vol, ~vol2); ~l2b.set(\vol, ~vol2);
2451 ~l2c.set(\vol, ~vol2); ~l2d.set(\vol, ~vol2);
2452 ~l2e.set(\vol, ~vol2); ~l2f.set(\vol, ~vol2);
2457 ~l2a.set(\vol, ~vol2); ~l2b.set(\vol, ~vol2);
2458 ~l2c.set(\vol, ~vol2); ~l2d.set(\vol, ~vol2);
2459 ~l2e.set(\vol, ~vol2); ~l2f.set(\vol, ~vol2);
2465 mute3 = Button.new(w,Rect(~bpl+(16*3),~bpt+69+5,16,16/1.6180339887499)).states_([["3",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2467 {~l1a1.isRunning == true}{
2468 if(button.value == 0, {
2471 ~l3a1.set(\vol, ~vol3); ~l3b1.set(\vol, ~vol3);
2472 ~l3c1.set(\vol, ~vol3); ~l3d1.set(\vol, ~vol3);
2473 ~l3e1.set(\vol, ~vol3); ~l3f1.set(\vol, ~vol3);
2478 ~l3a1.set(\vol, ~vol3); ~l3b1.set(\vol, ~vol3);
2479 ~l3c1.set(\vol, ~vol3); ~l3d1.set(\vol, ~vol3);
2480 ~l3e1.set(\vol, ~vol3); ~l3f1.set(\vol, ~vol3);
2485 {~l1a.isRunning == true}{
2486 if(button.value == 0, {
2489 ~l3a.set(\vol, ~vol3); ~l3b.set(\vol, ~vol3);
2490 ~l3c.set(\vol, ~vol3); ~l3d.set(\vol, ~vol3);
2491 ~l3e.set(\vol, ~vol3); ~l3f.set(\vol, ~vol3);
2496 ~l3a.set(\vol, ~vol3); ~l3b.set(\vol, ~vol3);
2497 ~l3c.set(\vol, ~vol3); ~l3d.set(\vol, ~vol3);
2498 ~l3e.set(\vol, ~vol3); ~l3f.set(\vol, ~vol3);
2504 mute4 = Button.new(w,Rect(~bpl+(16*4),~bpt+69+5,16,16/1.6180339887499)).states_([["4",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2506 {~l1a1.isRunning == true}{
2507 if(button.value == 0, {
2510 ~l4a1.set(\vol, ~vol4); ~l4b1.set(\vol, ~vol4);
2511 ~l4c1.set(\vol, ~vol4); ~l4d1.set(\vol, ~vol4);
2512 ~l4e1.set(\vol, ~vol4); ~l4f1.set(\vol, ~vol4);
2517 ~l4a1.set(\vol, ~vol4); ~l4b1.set(\vol, ~vol4);
2518 ~l4c1.set(\vol, ~vol4); ~l4d1.set(\vol, ~vol4);
2519 ~l4e1.set(\vol, ~vol4); ~l4f1.set(\vol, ~vol4);
2524 {~l1a.isRunning == true}{
2525 if(button.value == 0, {
2528 ~l4a.set(\vol, ~vol4); ~l4b.set(\vol, ~vol4);
2529 ~l4c.set(\vol, ~vol4); ~l4d.set(\vol, ~vol4);
2530 ~l4e.set(\vol, ~vol4); ~l4f.set(\vol, ~vol4);
2535 ~l4a.set(\vol, ~vol4); ~l4b.set(\vol, ~vol4);
2536 ~l4c.set(\vol, ~vol4); ~l4d.set(\vol, ~vol4);
2537 ~l4e.set(\vol, ~vol4); ~l4f.set(\vol, ~vol4);
2543 mute5 = Button.new(w,Rect(~bpl+(16*5),~bpt+69+5,16,16/1.6180339887499)).states_([["5",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2545 {~l1a1.isRunning == true}{
2546 if(button.value == 0, {
2549 ~l5a1.set(\vol, ~vol5); ~l5b1.set(\vol, ~vol5);
2550 ~l5c1.set(\vol, ~vol5); ~l5d1.set(\vol, ~vol5);
2551 ~l5e1.set(\vol, ~vol5); ~l5f1.set(\vol, ~vol5);
2556 ~l5a1.set(\vol, ~vol5); ~l5b1.set(\vol, ~vol5);
2557 ~l5c1.set(\vol, ~vol5); ~l5d1.set(\vol, ~vol5);
2558 ~l5e1.set(\vol, ~vol5); ~l5f1.set(\vol, ~vol5);
2563 {~l1a.isRunning == true}{
2564 if(button.value == 0, {
2567 ~l5a.set(\vol, ~vol5); ~l5b.set(\vol, ~vol5);
2568 ~l5c.set(\vol, ~vol5); ~l5d.set(\vol, ~vol5);
2569 ~l5e.set(\vol, ~vol5); ~l5f.set(\vol, ~vol5);
2574 ~l5a.set(\vol, ~vol5); ~l5b.set(\vol, ~vol5);
2575 ~l5c.set(\vol, ~vol5); ~l5d.set(\vol, ~vol5);
2576 ~l5e.set(\vol, ~vol5); ~l5f.set(\vol, ~vol5);
2582 mute6 = Button.new(w,Rect(~bpl+(16*6),~bpt+69+5,16,16/1.6180339887499)).states_([["6",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2584 {~l1a1.isRunning == true}{
2585 if(button.value == 0, {
2588 ~l6a1.set(\vol, ~vol6); ~l6b1.set(\vol, ~vol6);
2589 ~l6c1.set(\vol, ~vol6); ~l6d1.set(\vol, ~vol6);
2590 ~l6e1.set(\vol, ~vol6); ~l6f1.set(\vol, ~vol6);
2595 ~l6a1.set(\vol, ~vol6); ~l6b1.set(\vol, ~vol6);
2596 ~l6c1.set(\vol, ~vol6); ~l6d1.set(\vol, ~vol6);
2597 ~l6e1.set(\vol, ~vol6); ~l6f1.set(\vol, ~vol6);
2602 {~l1a.isRunning == true}{
2603 if(button.value == 0, {
2606 ~l6a.set(\vol, ~vol6); ~l6b.set(\vol, ~vol6);
2607 ~l6c.set(\vol, ~vol6); ~l6d.set(\vol, ~vol6);
2608 ~l6e.set(\vol, ~vol6); ~l6f.set(\vol, ~vol6);
2613 ~l6a.set(\vol, ~vol6); ~l6b.set(\vol, ~vol6);
2614 ~l6c.set(\vol, ~vol6); ~l6d.set(\vol, ~vol6);
2615 ~l6e.set(\vol, ~vol6); ~l6f.set(\vol, ~vol6);
2622 mute7 = Button.new(w,Rect(~bpl+(16*7),~bpt+69+5,16,16/1.6180339887499)).states_([["7",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2624 {~l1a1.isRunning == true}{
2625 if(button.value == 0, {
2628 ~l7a1.set(\vol, ~vol7); ~l7b1.set(\vol, ~vol7);
2629 ~l7c1.set(\vol, ~vol7); ~l7d1.set(\vol, ~vol7);
2630 ~l7e1.set(\vol, ~vol7); ~l7f1.set(\vol, ~vol7);
2635 ~l7a1.set(\vol, ~vol7); ~l7b1.set(\vol, ~vol7);
2636 ~l7c1.set(\vol, ~vol7); ~l7d1.set(\vol, ~vol7);
2637 ~l7e1.set(\vol, ~vol7); ~l7f1.set(\vol, ~vol7);
2642 {~l1a.isRunning == true}{
2643 if(button.value == 0, {
2646 ~l7a.set(\vol, ~vol7); ~l7b.set(\vol, ~vol7);
2647 ~l7c.set(\vol, ~vol7); ~l7d.set(\vol, ~vol7);
2648 ~l7e.set(\vol, ~vol7); ~l7f.set(\vol, ~vol7);
2653 ~l7a.set(\vol, ~vol7); ~l7b.set(\vol, ~vol7);
2654 ~l7c.set(\vol, ~vol7); ~l7d.set(\vol, ~vol7);
2655 ~l7e.set(\vol, ~vol7); ~l7f.set(\vol, ~vol7);
2661 mute8 = Button.new(w,Rect(~bpl+(16*8),~bpt+69+5,16,16/1.6180339887499)).states_([["8",Color.white,Color.black],["",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2663 {~l1a1.isRunning == true}{
2664 if(button.value == 0, {
2667 ~l8a1.set(\vol, ~vol8); ~l8b1.set(\vol, ~vol8);
2668 ~l8c1.set(\vol, ~vol8); ~l8d1.set(\vol, ~vol8);
2669 ~l8e1.set(\vol, ~vol8); ~l8f1.set(\vol, ~vol8);
2674 ~l8a1.set(\vol, ~vol8); ~l8b1.set(\vol, ~vol8);
2675 ~l8c1.set(\vol, ~vol8); ~l8d1.set(\vol, ~vol8);
2676 ~l8e1.set(\vol, ~vol8); ~l8f1.set(\vol, ~vol8);
2681 {~l1a.isRunning == true}{
2682 if(button.value == 0, {
2685 ~l8a.set(\vol, ~vol8); ~l8b.set(\vol, ~vol8);
2686 ~l8c.set(\vol, ~vol8); ~l8d.set(\vol, ~vol8);
2687 ~l8e.set(\vol, ~vol8); ~l8f.set(\vol, ~vol8);
2692 ~l8a.set(\vol, ~vol8); ~l8b.set(\vol, ~vol8);
2693 ~l8c.set(\vol, ~vol8); ~l8d.set(\vol, ~vol8);
2694 ~l8e.set(\vol, ~vol8); ~l8f.set(\vol, ~vol8);
2702 //mute/unmute all button
2704 muteall = Button.new(w,Rect(~bpl+(0),~bpt+69+5,16,16/1.6180339887499)).states_([["m",Color.white,Color.black],["u",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
2706 if(button.value == 0, {
2750 //generate values for KW(King Wen) sequences per timewave instance pop-up menu
2753 ~menu2values = Array.fill(20, {(x=x+1).asString++" kws/inst"});
2756 //KW(King Wen) sequences per timewave instance upon starting value
2759 {~gsinenum == nil}{~menu2start = ~menu2values.at(~synthdefnum-1)}
2760 {~gsinenum == 1}{~menu2start = ~menu2values.at(0)}
2761 {~gsinenum == 2}{~menu2start = ~menu2values.at(1)}
2762 {~gsinenum == 3}{~menu2start = ~menu2values.at(2)}
2763 {~gsinenum == 4}{~menu2start = ~menu2values.at(3)}
2764 {~gsinenum == 5}{~menu2start = ~menu2values.at(4)}
2765 {~gsinenum == 6}{~menu2start = ~menu2values.at(5)}
2766 {~gsinenum == 7}{~menu2start = ~menu2values.at(6)}
2767 {~gsinenum == 8}{~menu2start = ~menu2values.at(7)}
2768 {~gsinenum == 9}{~menu2start = ~menu2values.at(8)}
2769 {~gsinenum == 10}{~menu2start = ~menu2values.at(9)}
2770 {~gsinenum == 11}{~menu2start = ~menu2values.at(10)}
2771 {~gsinenum == 12}{~menu2start = ~menu2values.at(11)}
2772 {~gsinenum == 13}{~menu2start = ~menu2values.at(12)}
2773 {~gsinenum == 14}{~menu2start = ~menu2values.at(13)}
2774 {~gsinenum == 15}{~menu2start = ~menu2values.at(14)}
2775 {~gsinenum == 16}{~menu2start = ~menu2values.at(15)};
2776 if(~menu2synthdefstart.value == nil, {~menu2synthdefstart = ~synthdefnum}, {~menu2synthdefstart = ~gsinenum});
2779 //KW(King Wen) sequences per timewave instance pop-up menu
2781 menu2=PopUpMenu(w,Rect(20+60*2+16,Window.screenBounds.height-52+(30/1.6180339887499*0),60*2,60/1.6180339887499)).items_(~mvalue = (-1); [~menu2start.asString]++Array.fill(16, {~menu2values.at(~mvalue = ~mvalue+1);});).background_(Color.black).stringColor_(Color.white);
2784 //pop-menu for base frequency
2786 ~bfreqstart = ~basefreq;
2787 ~bfreq = PopUpMenu(w, Rect(20+60*2+16,Window.screenBounds.height-88+(30/1.6180339887499*0),120,60/1.6180339887499)).items_(~bfreqv = (-1); [~basefreq.asString++" hz"]++Array.fill(128, {~freqmap.at(~bfreqv=~bfreqv+1).asString++" hz"})).background_(Color.black).stringColor_(Color.white).action_({arg button;});
2790 //set button for KW sequences per timewave instance, basefreq, and gsine
2792 set1=Button(w,Rect(20+60*2+16+120, Window.screenBounds.height-52+(16/1.6180339887499*0),60,60/1.6180339887499)).states_([["set",Color.white,Color.black]]).mouseDownAction_({
2794 ~st = StaticText(w, Rect(20+60*2+16+190,Window.screenBounds.height-40, 62, 20)).background_(Color.black);
2795 ~st.stringColor = Color.white;
2796 ~st.string = "loading...";
2797 AppClock.sched(0.2,{
2803 if(~bfreq.value > 0, {~basefreq = ~freqmap.at(~bfreq.value - 1)}, {~basefreq = ~bfreqstart});
2805 (#a,b,c,d,e,f = [ ~basefreq,~basefreq,~basefreq,~basefreq,~basefreq,~basefreq ]; ~a = a; ~b = b; ~c =c; ~d = d; ~e = e;~f=f;);
2808 {menu2.value == 0}{~gsinenum = ~menu2synthdefstart; ~gsine.value;}
2809 {menu2.value == 1}{~gsinenum = 1; ~gsine.value;}
2810 {menu2.value == 2}{~gsinenum = 2; ~gsine.value;}
2811 {menu2.value == 3}{~gsinenum = 3; ~gsine.value;}
2812 {menu2.value == 4}{~gsinenum = 4; ~gsine.value;}
2813 {menu2.value == 5}{~gsinenum = 5; ~gsine.value;}
2814 {menu2.value == 6}{~gsinenum = 6; ~gsine.value;}
2815 {menu2.value == 7}{~gsinenum = 7; ~gsine.value;}
2816 {menu2.value == 8}{~gsinenum = 8; ~gsine.value;}
2817 {menu2.value == 9}{~gsinenum = 9; ~gsine.value;}
2818 {menu2.value == 10}{~gsinenum = 10; ~gsine.value;}
2819 {menu2.value == 11}{~gsinenum = 11; ~gsine.value;}
2820 {menu2.value == 12}{~gsinenum = 12; ~gsine.value;}
2821 {menu2.value == 13}{~gsinenum = 13; ~gsine.value;}
2822 {menu2.value == 14}{~gsinenum = 14; ~gsine.value;}
2823 {menu2.value == 15}{~gsinenum = 15; ~gsine.value;}
2824 {menu2.value == 16}{~gsinenum = 16; ~gsine.value;};
2832 //midi Korg NanoKontrol function
2836 /*~etemp = EqualTemperament(12, calibratefreq: 432, calibratenote: 69);*/
2839 //midi set frequency
2841 MIDIFunc.cc({if(~snb == 0, {~snb = 1},{~snb = 0});}, ccNum: 60);
2842 MIDIdef.cc('l1', { |val|
2844 {~l1a.isRunning == true}{
2845 ~l1a.set(\dur, ~f1 = \dur.asSpec.map(val / 127));
2846 ~l1b.set(\dur, \dur.asSpec.map(val / 127));
2847 ~l1c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2848 ~l1d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2849 ~l1e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2850 ~l1f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2851 }{~l1a1.isRunning == true}{
2852 ~l1a1.set(\dur, ~f1 = \dur.asSpec.map(val / 127));
2853 ~l1b1.set(\dur, \dur.asSpec.map(val / 127));
2854 ~l1c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2855 ~l1d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2856 ~l1e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2857 ~l1f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2859 ~tunefreq1 = ~f1; ~f1 = ~f1+~f1t;
2860 {if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
2863 MIDIdef.cc('l2', { |val|
2865 {~l1a.isRunning == true}{
2866 ~l2a.set(\dur, ~f2 = \dur.asSpec.map(val / 127));
2867 ~l2b.set(\dur, \dur.asSpec.map(val / 127));
2868 ~l2c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2869 ~l2d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2870 ~l2e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2871 ~l2f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2872 }{~l1a1.isRunning == true}{
2873 ~l2a1.set(\dur, ~f2 = \dur.asSpec.map(val / 127));
2874 ~l2b1.set(\dur, \dur.asSpec.map(val / 127));
2875 ~l2c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2876 ~l2d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2877 ~l2e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2878 ~l2f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2880 ~tunefreq2 = ~f2; ~f2 = ~f2+~f2t;
2881 {if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
2884 MIDIdef.cc('l3', { |val|
2886 {~l1a.isRunning == true}{
2887 ~l3a.set(\dur, ~f3 = \dur.asSpec.map(val / 127));
2888 ~l3b.set(\dur, \dur.asSpec.map(val / 127));
2889 ~l3c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2890 ~l3d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2891 ~l3e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2892 ~l3f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2893 }{~l1a1.isRunning == true}{
2894 ~l3a1.set(\dur, ~f3 = \dur.asSpec.map(val / 127));
2895 ~l3b1.set(\dur, \dur.asSpec.map(val / 127));
2896 ~l3c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2897 ~l3d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2898 ~l3e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2899 ~l3f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2901 ~tunefreq3 = ~f3; ~f3 = ~f3+~f3t;
2902 {if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
2905 MIDIdef.cc('l4', { |val|
2907 {~l1a.isRunning == true}{
2908 ~l4a.set(\dur, ~f4 = \dur.asSpec.map(val / 127));
2909 ~l4b.set(\dur, \dur.asSpec.map(val / 127));
2910 ~l4c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2911 ~l4d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2912 ~l4e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2913 ~l4f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2914 }{~l1a1.isRunning == true}{
2915 ~l4a1.set(\dur, ~f4 = \dur.asSpec.map(val / 127));
2916 ~l4b1.set(\dur, \dur.asSpec.map(val / 127));
2917 ~l4c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2918 ~l4d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2919 ~l4e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2920 ~l4f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2922 ~tunefreq4 = ~f4; ~f4 = ~f4+~f4t;
2923 {if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
2926 MIDIdef.cc('l5', { |val|
2928 {~l1a.isRunning == true}{
2929 ~l5a.set(\dur, ~f5 = \dur.asSpec.map(val / 127));
2930 ~l5b.set(\dur, \dur.asSpec.map(val / 127));
2931 ~l5c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2932 ~l5d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2933 ~l5e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2934 ~l5f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2935 }{~l1a1.isRunning == true}{
2936 ~l5a1.set(\dur, ~f5 = \dur.asSpec.map(val / 127));
2937 ~l5b1.set(\dur, \dur.asSpec.map(val / 127));
2938 ~l5c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2939 ~l5d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2940 ~l5e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2941 ~l5f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2943 ~tunefreq5 = ~f5; ~f5 = ~f5+~f5t;
2944 {if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
2947 MIDIdef.cc('l6', { |val|
2949 {~l1a.isRunning == true}{
2950 ~l6a.set(\dur, ~f6 = \dur.asSpec.map(val / 127));
2951 ~l6b.set(\dur, \dur.asSpec.map(val / 127));
2952 ~l6c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2953 ~l6d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2954 ~l6e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2955 ~l6f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2956 }{~l1a1.isRunning == true}{
2957 ~l6a1.set(\dur, ~f6 = \dur.asSpec.map(val / 127));
2958 ~l6b1.set(\dur, \dur.asSpec.map(val / 127));
2959 ~l6c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2960 ~l6d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2961 ~l6e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2962 ~l6f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2964 ~tunefreq6 = ~f6; ~f6 = ~f6+~f6t;
2965 {if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
2968 MIDIdef.cc('l7', { |val|
2970 {~l1a.isRunning == true}{
2971 ~l7a.set(\dur, ~f7 = \dur.asSpec.map(val / 127));
2972 ~l7b.set(\dur, \dur.asSpec.map(val / 127));
2973 ~l7c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2974 ~l7d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2975 ~l7e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2976 ~l7f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2977 }{~l1a1.isRunning == true}{
2978 ~l7a1.set(\dur, ~f7 = \dur.asSpec.map(val / 127));
2979 ~l7b1.set(\dur, \dur.asSpec.map(val / 127));
2980 ~l7c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2981 ~l7d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2982 ~l7e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2983 ~l7f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2985 ~tunefreq7 = ~f7; ~f7 = ~f7+~f7t;
2986 {if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
2989 MIDIdef.cc('l8', { |val|
2991 {~l1a.isRunning == true}{
2992 ~l8a.set(\dur, ~f8 = \dur.asSpec.map(val / 127));
2993 ~l8b.set(\dur, \dur.asSpec.map(val / 127));
2994 ~l8c.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2995 ~l8d.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
2996 ~l8e.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2997 ~l8f.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
2998 }{~l1a1.isRunning == true}{
2999 ~l8a1.set(\dur, ~f8 = \dur.asSpec.map(val / 127));
3000 ~l8b1.set(\dur, \dur.asSpec.map(val / 127));
3001 ~l8c1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
3002 ~l8d1.set(\dur, \dur.asSpec.map(val / 127)/~icd3);
3003 ~l8e1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
3004 ~l8f1.set(\dur, \dur.asSpec.map(val / 127)/~icd6);
3006 ~tunefreq8 = ~f8; ~f8 = ~f8+~f8t;
3007 {if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
3012 //if midi tuning frequency values are nil
3014 if(~f1t == nil, {~f1t = 0});
3015 if(~f2t == nil, {~f2t = 0});
3016 if(~f3t == nil, {~f3t = 0});
3017 if(~f4t == nil, {~f4t = 0});
3018 if(~f5t == nil, {~f5t = 0});
3019 if(~f6t == nil, {~f6t = 0});
3020 if(~f7t == nil, {~f7t = 0});
3021 if(~f8t == nil, {~f8t = 0});
3024 //midi set tuning frequency
3028 Spec.add(\tune, ([0, ~tunefreq1*~stepratio-~tunefreq1, \lin]));
3030 {~l1a.isRunning == true}{
3031 ~l1a.set(\tune, ~f1t = \tune.asSpec.map(val / 127));
3032 ~l1b.set(\tune, \tune.asSpec.map(val / 127));
3033 ~l1c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3034 ~l1d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3035 ~l1e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3036 ~l1f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3037 }{~l1a1.isRunning == true}{
3038 ~l1a1.set(\tune, ~f1t = \tune.asSpec.map(val / 127));
3039 ~l1b1.set(\tune, \tune.asSpec.map(val / 127));
3040 ~l1c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3041 ~l1d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3042 ~l1e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3043 ~l1f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3046 {if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
3051 Spec.add(\tune, ([0, ~tunefreq2*~stepratio-~tunefreq2, \lin]));
3053 {~l1a.isRunning == true}{
3054 ~l2a.set(\tune, ~f2t = \tune.asSpec.map(val / 127));
3055 ~l2b.set(\tune, \tune.asSpec.map(val / 127));
3056 ~l2c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3057 ~l2d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3058 ~l2e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3059 ~l2f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3060 }{~l1a1.isRunning == true}{
3061 ~l2a1.set(\tune, ~f2t = \tune.asSpec.map(val / 127));
3062 ~l2b1.set(\tune, \tune.asSpec.map(val / 127));
3063 ~l2c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3064 ~l2d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3065 ~l2e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3066 ~l2f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3069 {if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
3074 Spec.add(\tune, ([0, ~tunefreq3*~stepratio-~tunefreq3, \lin]));
3076 {~l1a.isRunning == true}{
3077 ~l3a.set(\tune, ~f3t = \tune.asSpec.map(val / 127));
3078 ~l3b.set(\tune, \tune.asSpec.map(val / 127));
3079 ~l3c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3080 ~l3d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3081 ~l3e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3082 ~l3f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3083 }{~l1a1.isRunning == true}{
3084 ~l3a1.set(\tune, ~f3t = \tune.asSpec.map(val / 127));
3085 ~l3b1.set(\tune, \tune.asSpec.map(val / 127));
3086 ~l3c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3087 ~l3d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3088 ~l3e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3089 ~l3f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3092 {if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
3097 Spec.add(\tune, ([0, ~tunefreq4*~stepratio-~tunefreq4, \lin]));
3099 {~l1a.isRunning == true}{
3100 ~l4a.set(\tune, ~f4t = \tune.asSpec.map(val / 127));
3101 ~l4b.set(\tune, \tune.asSpec.map(val / 127));
3102 ~l4c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3103 ~l4d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3104 ~l4e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3105 ~l4f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3106 }{~l1a1.isRunning == true}{
3107 ~l4a1.set(\tune, ~f4t = \tune.asSpec.map(val / 127));
3108 ~l4b1.set(\tune, \tune.asSpec.map(val / 127));
3109 ~l4c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3110 ~l4d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3111 ~l4e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3112 ~l4f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3115 {if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
3120 Spec.add(\tune, ([0, ~tunefreq5*~stepratio-~tunefreq5, \lin]));
3122 {~l1a.isRunning == true}{
3123 ~l5a.set(\tune, ~f5t = \tune.asSpec.map(val / 127));
3124 ~l5b.set(\tune, \tune.asSpec.map(val / 127));
3125 ~l5c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3126 ~l5d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3127 ~l5e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3128 ~l5f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3129 }{~l1a1.isRunning == true}{
3130 ~l5a1.set(\tune, ~f5t = \tune.asSpec.map(val / 127));
3131 ~l5b1.set(\tune, \tune.asSpec.map(val / 127));
3132 ~l5c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3133 ~l5d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3134 ~l5e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3135 ~l5f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3138 {if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
3143 Spec.add(\tune, ([0, ~tunefreq6*~stepratio-~tunefreq6, \lin]));
3145 {~l1a.isRunning == true}{
3146 ~l6a.set(\tune, ~f6t = \tune.asSpec.map(val / 127));
3147 ~l6b.set(\tune, \tune.asSpec.map(val / 127));
3148 ~l6c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3149 ~l6d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3150 ~l6e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3151 ~l6f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3152 }{~l1a1.isRunning == true}{
3153 ~l6a1.set(\tune, ~f6t = \tune.asSpec.map(val / 127));
3154 ~l6b1.set(\tune, \tune.asSpec.map(val / 127));
3155 ~l6c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3156 ~l6d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3157 ~l6e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3158 ~l6f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3161 {if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
3166 Spec.add(\tune, ([0, ~tunefreq7*~stepratio-~tunefreq7, \lin]));
3168 {~l1a.isRunning == true}{
3169 ~l7a.set(\tune, ~f7t = \tune.asSpec.map(val / 127));
3170 ~l7b.set(\tune, \tune.asSpec.map(val / 127));
3171 ~l7c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3172 ~l7d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3173 ~l7e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3174 ~l7f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3175 }{~l1a1.isRunning == true}{
3176 ~l7a1.set(\tune, ~f7t = \tune.asSpec.map(val / 127));
3177 ~l7b1.set(\tune, \tune.asSpec.map(val / 127));
3178 ~l7c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3179 ~l7d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3180 ~l7e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3181 ~l7f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3184 {if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
3189 Spec.add(\tune, ([0, ~tunefreq8*~stepratio-~tunefreq8, \lin]));
3191 {~l1a.isRunning == true}{
3192 ~l8a.set(\tune, ~f8t = \tune.asSpec.map(val / 127));
3193 ~l8b.set(\tune, \tune.asSpec.map(val / 127));
3194 ~l8c.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3195 ~l8d.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3196 ~l8e.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3197 ~l8f.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3198 }{~l1a1.isRunning == true}{
3199 ~l8a1.set(\tune, ~f7t = \tune.asSpec.map(val / 127));
3200 ~l8b1.set(\tune, \tune.asSpec.map(val / 127));
3201 ~l8c1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3202 ~l8d1.set(\tune, \tune.asSpec.map(val / 127)/~icd3);
3203 ~l8e1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3204 ~l8f1.set(\tune, \tune.asSpec.map(val / 127)/~icd6);
3207 {if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
3212 //Korg NanoKontrol button assignments
3215 //start/stop synth and pause/unpause synth buttons
3217 MIDIFunc.cc({|val| {case{b3.value == 0}{b3.valueAction = 1};}.defer;}, ccNum: 41);
3218 MIDIFunc.cc({|val| {case{b3.value == 1}{b3.valueAction = 0};}.defer;}, ccNum: 42);
3219 MIDIFunc.cc({|val| {case{b4.value == 0}{b4.valueAction = 1};}.defer;}, ccNum: 43);
3220 MIDIFunc.cc({|val| {case{b4.value == 1}{b4.valueAction = 0};}.defer;}, ccNum: 44);
3223 //open/flow/slide buttons (inactive)
3225 /*MIDIFunc.cc({|val| {~bplaceo1.valueAction=0}.defer;}, ccNum: 32);
3226 MIDIFunc.cc({|val| {~bplaceo2.valueAction=0}.defer;}, ccNum: 33);
3227 MIDIFunc.cc({|val| {~bplaceo3.valueAction=0}.defer;}, ccNum: 34);
3228 MIDIFunc.cc({|val| {~bplaceo4.valueAction=0}.defer;}, ccNum: 35);
3229 MIDIFunc.cc({|val| {~bplaceo5.valueAction=0}.defer;}, ccNum: 36);
3230 MIDIFunc.cc({|val| {~bplaceo6.valueAction=0}.defer;}, ccNum: 37);
3231 MIDIFunc.cc({|val| {~bplaceo7.valueAction=0}.defer;}, ccNum: 38);
3232 MIDIFunc.cc({|val| {~bplaceo8.valueAction=0}.defer;}, ccNum: 39);
3233 MIDIFunc.cc({|val| {~bplacef1.valueAction=0}.defer;}, ccNum: 48);
3234 MIDIFunc.cc({|val| {~bplacef2.valueAction=0}.defer;}, ccNum: 49);
3235 MIDIFunc.cc({|val| {~bplacef3.valueAction=0}.defer;}, ccNum: 50);
3236 MIDIFunc.cc({|val| {~bplacef4.valueAction=0}.defer;}, ccNum: 51);
3237 MIDIFunc.cc({|val| {~bplacef5.valueAction=0}.defer;}, ccNum: 52);
3238 MIDIFunc.cc({|val| {~bplacef6.valueAction=0}.defer;}, ccNum: 53);
3239 MIDIFunc.cc({|val| {~bplacef7.valueAction=0}.defer;}, ccNum: 54);
3240 MIDIFunc.cc({|val| {~bplacef8.valueAction=0}.defer;}, ccNum: 55);
3241 MIDIFunc.cc({|val| {~bplaces1.valueAction=0}.defer;}, ccNum: 64);
3242 MIDIFunc.cc({|val| {~bplaces2.valueAction=0}.defer;}, ccNum: 65);
3243 MIDIFunc.cc({|val| {~bplaces3.valueAction=0}.defer;}, ccNum: 66);
3244 MIDIFunc.cc({|val| {~bplaces4.valueAction=0}.defer;}, ccNum: 67);
3245 MIDIFunc.cc({|val| {~bplaces5.valueAction=0}.defer;}, ccNum: 68);
3246 MIDIFunc.cc({|val| {~bplaces6.valueAction=0}.defer;}, ccNum: 69);
3247 MIDIFunc.cc({|val| {~bplaces7.valueAction=0}.defer;}, ccNum: 70);
3248 MIDIFunc.cc({|val| {~bplaces8.valueAction=0}.defer;}, ccNum: 71);
3252 //mute/unmute buttons
3254 MIDIFunc.cc({|val| {mute1.valueAction = 1;}.defer;}, ccNum: 48);
3255 MIDIFunc.cc({|val| {mute2.valueAction = 1;}.defer;}, ccNum: 49);
3256 MIDIFunc.cc({|val| {mute3.valueAction = 1;}.defer;}, ccNum: 50);
3257 MIDIFunc.cc({|val| {mute4.valueAction = 1;}.defer;}, ccNum: 51);
3258 MIDIFunc.cc({|val| {mute5.valueAction = 1;}.defer;}, ccNum: 52);
3259 MIDIFunc.cc({|val| {mute6.valueAction = 1;}.defer;}, ccNum: 53);
3260 MIDIFunc.cc({|val| {mute7.valueAction = 1;}.defer;}, ccNum: 54);
3261 MIDIFunc.cc({|val| {mute8.valueAction = 1;}.defer;}, ccNum: 55);
3262 MIDIFunc.cc({|val| {mute1.valueAction = 1;mute2.valueAction = 1;mute3.valueAction = 1;mute4.valueAction = 1;mute5.valueAction = 1;mute6.valueAction = 1;mute7.valueAction = 1;mute8.valueAction = 1;}.defer;}, ccNum: 58);
3263 MIDIFunc.cc({|val| {mute1.valueAction = 0;}.defer;}, ccNum: 32);
3264 MIDIFunc.cc({|val| {mute2.valueAction = 0;}.defer;}, ccNum: 33);
3265 MIDIFunc.cc({|val| {mute3.valueAction = 0;}.defer;}, ccNum: 34);
3266 MIDIFunc.cc({|val| {mute4.valueAction = 0;}.defer;}, ccNum: 35);
3267 MIDIFunc.cc({|val| {mute5.valueAction = 0;}.defer;}, ccNum: 36);
3268 MIDIFunc.cc({|val| {mute6.valueAction = 0;}.defer;}, ccNum: 37);
3269 MIDIFunc.cc({|val| {mute7.valueAction = 0;}.defer;}, ccNum: 38);
3270 MIDIFunc.cc({|val| {mute8.valueAction = 0;}.defer;}, ccNum: 39);
3271 MIDIFunc.cc({|val| {mute1.valueAction = 0;mute2.valueAction = 0;mute3.valueAction = 0;mute4.valueAction = 0;mute5.valueAction = 0;mute6.valueAction = 0;mute7.valueAction = 0;mute8.valueAction = 1;}.defer;}, ccNum: 59);
3273 /*MIDIFunc.cc({ |val| ([~a2,~b2,~c2,~d2,~e2,~f2]).postln;}, ccNum: [0]);*/
3274 /*MIDIFunc.cc({ |val|~l1.set(\tune, 0);}, ccNum: [32]);*/
3275 /*MIDIFunc.cc({ |val| ([(~w),(~x),(~y),(~z),(~u),(~v),~r,~s]).postln;}, ccNum: [64]);*/
3276 /*~basefreq= 432.cpsmidi-69;*/
3277 /*Spec.add(\dur, ~etemp.cps([0, 127, \exp]));*/
3279 Spec.add(\dur, ([~freqmap.at(0), ~freqmap.at(127), \exp]));
3280 /*Spec.add(\tune, ([0, 128, \lin]));*/
3284 //evaluate midi function
3289 //keyboard number buttons to choose synth
3291 keycodeb = Button.new(w,Rect(Window.screenBounds.width-20-16,~bpt+160,16,16/1.6180339887499)).states_([
3292 ["1",Color.white,Color.black],
3293 ["2",Color.white,Color.black],
3294 ["3",Color.white,Color.black],
3295 ["4",Color.white,Color.black],
3296 ["5",Color.white,Color.black],
3297 ["6",Color.white,Color.black],
3298 ["7",Color.white,Color.black],
3299 ["8",Color.white,Color.black]]).action_({arg button;
3302 {button.value == 0}{
3303 ~z25.background = Color.green; ~z1.background = Color.green;
3304 ~z26.background = Color.white; ~z2.background = Color.white;
3305 ~z27.background = Color.white; ~z3.background = Color.white;
3306 ~z28.background = Color.white; ~z4.background = Color.white;
3307 ~z29.background = Color.white; ~z5.background = Color.white;
3308 ~z30.background = Color.white; ~z6.background = Color.white;
3309 ~z31.background = Color.white; ~z7.background = Color.white;
3310 ~z32.background = Color.white; ~z8.background = Color.white;
3312 {button.value == 1}{
3313 ~z25.background = Color.white; ~z1.background = Color.white;
3314 ~z26.background = Color.green; ~z2.background = Color.green;
3315 ~z27.background = Color.white; ~z3.background = Color.white;
3316 ~z28.background = Color.white; ~z4.background = Color.white;
3317 ~z29.background = Color.white; ~z5.background = Color.white;
3318 ~z30.background = Color.white; ~z6.background = Color.white;
3319 ~z31.background = Color.white; ~z7.background = Color.white;
3320 ~z32.background = Color.white; ~z8.background = Color.white;
3322 {button.value == 2}{
3323 ~z25.background = Color.white; ~z1.background = Color.white;
3324 ~z26.background = Color.white; ~z2.background = Color.white;
3325 ~z27.background = Color.green; ~z3.background = Color.green;
3326 ~z28.background = Color.white; ~z4.background = Color.white;
3327 ~z29.background = Color.white; ~z5.background = Color.white;
3328 ~z30.background = Color.white; ~z6.background = Color.white;
3329 ~z31.background = Color.white; ~z7.background = Color.white;
3330 ~z32.background = Color.white; ~z8.background = Color.white;
3332 {button.value == 3}{
3333 ~z25.background = Color.white; ~z1.background = Color.white;
3334 ~z26.background = Color.white; ~z2.background = Color.white;
3335 ~z27.background = Color.white; ~z3.background = Color.white;
3336 ~z28.background = Color.green; ~z4.background = Color.green;
3337 ~z29.background = Color.white; ~z5.background = Color.white;
3338 ~z30.background = Color.white; ~z6.background = Color.white;
3339 ~z31.background = Color.white; ~z7.background = Color.white;
3340 ~z32.background = Color.white; ~z8.background = Color.white;
3342 {button.value == 4}{
3343 ~z25.background = Color.white; ~z1.background = Color.white;
3344 ~z26.background = Color.white; ~z2.background = Color.white;
3345 ~z27.background = Color.white; ~z3.background = Color.white;
3346 ~z28.background = Color.white; ~z4.background = Color.white;
3347 ~z29.background = Color.green; ~z5.background = Color.green;
3348 ~z30.background = Color.white; ~z6.background = Color.white;
3349 ~z31.background = Color.white; ~z7.background = Color.white;
3350 ~z32.background = Color.white; ~z8.background = Color.white;
3352 {button.value == 5}{
3353 ~z25.background = Color.white; ~z1.background = Color.white;
3354 ~z26.background = Color.white; ~z2.background = Color.white;
3355 ~z27.background = Color.white; ~z3.background = Color.white;
3356 ~z28.background = Color.white; ~z4.background = Color.white;
3357 ~z29.background = Color.white; ~z5.background = Color.white;
3358 ~z30.background = Color.green; ~z6.background = Color.green;
3359 ~z31.background = Color.white; ~z7.background = Color.white;
3360 ~z32.background = Color.white; ~z8.background = Color.white;
3362 {button.value == 6}{
3363 ~z25.background = Color.white; ~z1.background = Color.white;
3364 ~z26.background = Color.white; ~z2.background = Color.white;
3365 ~z27.background = Color.white; ~z3.background = Color.white;
3366 ~z28.background = Color.white; ~z4.background = Color.white;
3367 ~z29.background = Color.white; ~z5.background = Color.white;
3368 ~z30.background = Color.white; ~z6.background = Color.white;
3369 ~z31.background = Color.green; ~z7.background = Color.green;
3370 ~z32.background = Color.white; ~z8.background = Color.white;
3372 {button.value == 7}{
3373 ~z25.background = Color.white; ~z1.background = Color.white;
3374 ~z26.background = Color.white; ~z2.background = Color.white;
3375 ~z27.background = Color.white; ~z3.background = Color.white;
3376 ~z28.background = Color.white; ~z4.background = Color.white;
3377 ~z29.background = Color.white; ~z5.background = Color.white;
3378 ~z30.background = Color.white; ~z6.background = Color.white;
3379 ~z31.background = Color.white; ~z7.background = Color.white;
3380 ~z32.background = Color.green; ~z8.background = Color.green;
3386 //misc. keyboard buttons
3388 w.view.keyDownAction = { arg view, char, modifiers, unicode, keycode;
3389 [char, modifiers, unicode, keycode];
3392 if(unicode == ~c_unicode, {
3394 {b.value == 0}{b.valueAction = 1}
3395 {b.value == 1}{b.valueAction = 0};
3399 if(unicode == ~s_unicode, {
3401 {b3.value == 0}{b3.valueAction = 1}
3402 {b3.value == 1}{b3.valueAction = 0};
3405 //pause/unpause synth
3406 if(unicode == ~spacebar_unicode, {
3408 {b4.value == 0}{b4.valueAction = 1}
3409 {b4.value == 1}{b4.valueAction = 0};
3413 if(unicode == ~t_unicode, {
3415 {~ts.value == 0}{~ts.valueAction = 1}
3416 {~ts.value == 1}{~ts.valueAction = 0};
3420 if(unicode == ~r_unicode, {
3422 {~rviewbutton.value == 0}{~rviewbutton.valueAction = 1}
3423 {~rviewbutton.value == 1}{~rviewbutton.valueAction = 0};
3426 //mute/unmute all synths
3427 if(unicode == ~m_unicode, {
3429 {muteall.value == 0}{muteall.valueAction = 1}
3430 {muteall.value == 1}{muteall.valueAction = 0};
3433 //minimize GUI window
3434 if(unicode == ~escape_unicode, {w.minimize;});
3437 //keyboard number actions
3440 {unicode == ~one_unicode}{keycodeb.valueAction_(0)}
3441 {unicode == ~two_unicode}{keycodeb.valueAction_(1)}
3442 {unicode == ~three_unicode}{keycodeb.valueAction_(2)}
3443 {unicode == ~four_unicode}{keycodeb.valueAction_(3)}
3444 {unicode == ~five_unicode}{keycodeb.valueAction_(4)}
3445 {unicode == ~six_unicode}{keycodeb.valueAction_(5)}
3446 {unicode == ~seven_unicode}{keycodeb.valueAction_(6)}
3447 {unicode == ~eight_unicode}{keycodeb.valueAction_(7)}
3450 //keyboard up/down arrow actions
3452 {(keycode == ~uparrow_keycode) or: (unicode == ~i_unicode)}{keycodeb.valueAction_(keycodeb.value-1)}
3453 {(keycode == ~downarrow_keycode) or: (unicode == ~k_unicode)}{keycodeb.valueAction_(keycodeb.value+1)};
3456 //set synth frequency using left/right arrow keys or j/l keys
3458 if((~f1 >= ~freqmap.at(127)), {~freqmap.at(127)},
3459 {if((keycodeb.value == 0) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3460 ~freqmapval1 = ~f1.cpsmidi.round;
3462 {~l1a.isRunning == true}{
3463 ~l1a.set(\dur, ~f1 = ~freqmap.at(~freqmapval1 = ~freqmapval1.value+1));
3464 ~l1b.set(\dur, ~f1);
3465 ~l1c.set(\dur, ~f1/~icd3);
3466 ~l1d.set(\dur, ~f1/~icd3);
3467 ~l1e.set(\dur, ~f1/~icd6);
3468 ~l1f.set(\dur, ~f1/~icd6);
3470 {~l1a1.isRunning == true}{
3471 ~l1a1.set(\dur, ~f1 = ~freqmap.at(~freqmapval1 = ~freqmapval1.value+1));
3472 ~l1b1.set(\dur, ~f1);
3473 ~l1c1.set(\dur, ~f1/~icd3);
3474 ~l1d1.set(\dur, ~f1/~icd3);
3475 ~l1e1.set(\dur, ~f1/~icd6);
3476 ~l1f1.set(\dur, ~f1/~icd6);
3478 if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
3479 ~z25.background = Color.green; ~z1.background = Color.green;
3480 ~z26.background = Color.white; ~z2.background = Color.white;
3481 ~z27.background = Color.white; ~z3.background = Color.white;
3482 ~z28.background = Color.white; ~z4.background = Color.white;
3483 ~z29.background = Color.white; ~z5.background = Color.white;
3484 ~z30.background = Color.white; ~z6.background = Color.white;
3485 ~z31.background = Color.white; ~z7.background = Color.white;
3486 ~z32.background = Color.white; ~z8.background = Color.white;
3488 if((~f1 <= ~freqmap.at(0)), {~freqmap.at(0)},
3489 {if((keycodeb.value == 0) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3490 ~freqmapval1 = ~f1.cpsmidi.round;
3492 {~l1a.isRunning == true}{
3493 ~l1a.set(\dur, ~f1 = ~freqmap.at(~freqmapval1 = ~freqmapval1.value-1));
3494 ~l1b.set(\dur, ~f1);
3495 ~l1c.set(\dur, ~f1/~icd3);
3496 ~l1d.set(\dur, ~f1/~icd3);
3497 ~l1e.set(\dur, ~f1/~icd6);
3498 ~l1f.set(\dur, ~f1/~icd6);
3500 {~l1a1.isRunning == true}{
3501 ~l1a1.set(\dur, ~f1 = ~freqmap.at(~freqmapval1 = ~freqmapval1.value-1));
3502 ~l1b1.set(\dur, ~f1);
3503 ~l1c1.set(\dur, ~f1/~icd3);
3504 ~l1d1.set(\dur, ~f1/~icd3);
3505 ~l1e1.set(\dur, ~f1/~icd6);
3506 ~l1f1.set(\dur, ~f1/~icd6);
3508 if((~f1 > ~outmaxa) or: (~f1 < ~outmina), {~z25.close;~z1.close;~z25 = (CompositeView(w, Rect((~f1.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+10, ~nw, 2)).background = Color.white;);}, {~z1.close;~z25.close;~z1 = (CompositeView(w, Rect((~f1.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+10, ~nw, 2)).background = Color.white;);});
3510 ~z25.background = Color.green; ~z1.background = Color.green;
3511 ~z26.background = Color.white; ~z2.background = Color.white;
3512 ~z27.background = Color.white; ~z3.background = Color.white;
3513 ~z28.background = Color.white; ~z4.background = Color.white;
3514 ~z29.background = Color.white; ~z5.background = Color.white;
3515 ~z30.background = Color.white; ~z6.background = Color.white;
3516 ~z31.background = Color.white; ~z7.background = Color.white;
3517 ~z32.background = Color.white; ~z8.background = Color.white;
3520 if((~f2 >= ~freqmap.at(127)), {~freqmap.at(127)},
3521 {if((keycodeb.value == 1) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3522 ~freqmapval2 = ~f2.cpsmidi.round;
3524 {~l1a.isRunning == true}{
3525 ~l2a.set(\dur, ~f2 = ~freqmap.at(~freqmapval2 = ~freqmapval2.value+1));
3526 ~l2b.set(\dur, ~f2);
3527 ~l2c.set(\dur, ~f2/~icd3);
3528 ~l2d.set(\dur, ~f2/~icd3);
3529 ~l2e.set(\dur, ~f2/~icd6);
3530 ~l2f.set(\dur, ~f2/~icd6);
3532 {~l1a1.isRunning == true}{
3533 ~l2a1.set(\dur, ~f2 = ~freqmap.at(~freqmapval2 = ~freqmapval2.value+1));
3534 ~l2b1.set(\dur, ~f2);
3535 ~l2c1.set(\dur, ~f2/~icd3);
3536 ~l2d1.set(\dur, ~f2/~icd3);
3537 ~l2e1.set(\dur, ~f2/~icd6);
3538 ~l2f1.set(\dur, ~f2/~icd6);
3540 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
3541 ~z25.background = Color.white; ~z1.background = Color.white;
3542 ~z26.background = Color.green; ~z2.background = Color.green;
3543 ~z27.background = Color.white; ~z3.background = Color.white;
3544 ~z28.background = Color.white; ~z4.background = Color.white;
3545 ~z29.background = Color.white; ~z5.background = Color.white;
3546 ~z30.background = Color.white; ~z6.background = Color.white;
3547 ~z31.background = Color.white; ~z7.background = Color.white;
3548 ~z32.background = Color.white; ~z8.background = Color.white;
3550 if((~f2 <= ~freqmap.at(0)), {~freqmap.at(0)},
3551 {if((keycodeb.value == 1) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3552 ~freqmapval2 = ~f2.cpsmidi.round;
3554 {~l1a.isRunning == true}{
3555 ~l2a.set(\dur, ~f2 = ~freqmap.at(~freqmapval2 = ~freqmapval2.value-1));
3556 ~l2b.set(\dur, ~f2);
3557 ~l2c.set(\dur, ~f2/~icd3);
3558 ~l2d.set(\dur, ~f2/~icd3);
3559 ~l2e.set(\dur, ~f2/~icd6);
3560 ~l2f.set(\dur, ~f2/~icd6);
3562 {~l1a1.isRunning == true}{
3563 ~l2a1.set(\dur, ~f2 = ~freqmap.at(~freqmapval2 = ~freqmapval2.value-1));
3564 ~l2b1.set(\dur, ~f2);
3565 ~l2c1.set(\dur, ~f2/~icd3);
3566 ~l2d1.set(\dur, ~f2/~icd3);
3567 ~l2e1.set(\dur, ~f2/~icd6);
3568 ~l2f1.set(\dur, ~f2/~icd6);
3570 if((~f2 > ~outmaxa) or: (~f2 < ~outmina), {~z26.close;~z2.close;~z26 = (CompositeView(w, Rect((~f2.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+20, ~nw, 2)).background = Color.white;);}, {~z2.close;~z26.close;~z2 = (CompositeView(w, Rect((~f2.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+20, ~nw, 2)).background = Color.white;);});
3572 ~z25.background = Color.white; ~z1.background = Color.white;
3573 ~z26.background = Color.green; ~z2.background = Color.green;
3574 ~z27.background = Color.white; ~z3.background = Color.white;
3575 ~z28.background = Color.white; ~z4.background = Color.white;
3576 ~z29.background = Color.white; ~z5.background = Color.white;
3577 ~z30.background = Color.white; ~z6.background = Color.white;
3578 ~z31.background = Color.white; ~z7.background = Color.white;
3579 ~z32.background = Color.white; ~z8.background = Color.white;
3582 if((~f3 >= ~freqmap.at(127)), {~freqmap.at(127)},
3583 {if((keycodeb.value == 2) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3584 ~freqmapval3 = ~f3.cpsmidi.round;
3586 {~l1a.isRunning == true}{
3587 ~l3a.set(\dur, ~f3 = ~freqmap.at(~freqmapval3 = ~freqmapval3.value+1));
3588 ~l3b.set(\dur, ~f3);
3589 ~l3c.set(\dur, ~f3/~icd3);
3590 ~l3d.set(\dur, ~f3/~icd3);
3591 ~l3e.set(\dur, ~f3/~icd6);
3592 ~l3f.set(\dur, ~f3/~icd6);
3594 {~l1a1.isRunning == true}{
3595 ~l3a1.set(\dur, ~f3 = ~freqmap.at(~freqmapval3 = ~freqmapval3.value+1));
3596 ~l3b1.set(\dur, ~f3);
3597 ~l3c1.set(\dur, ~f3/~icd3);
3598 ~l3d1.set(\dur, ~f3/~icd3);
3599 ~l3e1.set(\dur, ~f3/~icd6);
3600 ~l3f1.set(\dur, ~f3/~icd6);
3602 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
3603 ~z25.background = Color.white; ~z1.background = Color.white;
3604 ~z26.background = Color.white; ~z2.background = Color.white;
3605 ~z27.background = Color.green; ~z3.background = Color.green;
3606 ~z28.background = Color.white; ~z4.background = Color.white;
3607 ~z29.background = Color.white; ~z5.background = Color.white;
3608 ~z30.background = Color.white; ~z6.background = Color.white;
3609 ~z31.background = Color.white; ~z7.background = Color.white;
3610 ~z32.background = Color.white; ~z8.background = Color.white;
3612 if((~f3 <= ~freqmap.at(0)), {~freqmap.at(0)},
3613 {if((keycodeb.value == 2) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3614 ~freqmapval3 = ~f3.cpsmidi.round;
3616 {~l1a.isRunning == true}{
3617 ~l3a.set(\dur, ~f3 = ~freqmap.at(~freqmapval3 = ~freqmapval3.value-1));
3618 ~l3b.set(\dur, ~f3);
3619 ~l3c.set(\dur, ~f3/~icd3);
3620 ~l3d.set(\dur, ~f3/~icd3);
3621 ~l3e.set(\dur, ~f3/~icd6);
3622 ~l3f.set(\dur, ~f3/~icd6);
3624 {~l1a1.isRunning == true}{
3625 ~l3a1.set(\dur, ~f3 = ~freqmap.at(~freqmapval3 = ~freqmapval3.value-1));
3626 ~l3b1.set(\dur, ~f3);
3627 ~l3c1.set(\dur, ~f3/~icd3);
3628 ~l3d1.set(\dur, ~f3/~icd3);
3629 ~l3e1.set(\dur, ~f3/~icd6);
3630 ~l3f1.set(\dur, ~f3/~icd6);
3632 if((~f3 > ~outmaxa) or: (~f3 < ~outmina), {~z27.close;~z3.close;~z27 = (CompositeView(w, Rect((~f3.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+30, ~nw, 2)).background = Color.white;);}, {~z3.close;~z27.close;~z3 = (CompositeView(w, Rect((~f3.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+30, ~nw, 2)).background = Color.white;);});
3634 ~z25.background = Color.white; ~z1.background = Color.white;
3635 ~z26.background = Color.white; ~z2.background = Color.white;
3636 ~z27.background = Color.green; ~z3.background = Color.green;
3637 ~z28.background = Color.white; ~z4.background = Color.white;
3638 ~z29.background = Color.white; ~z5.background = Color.white;
3639 ~z30.background = Color.white; ~z6.background = Color.white;
3640 ~z31.background = Color.white; ~z7.background = Color.white;
3641 ~z32.background = Color.white; ~z8.background = Color.white;
3644 if((~f4 >= ~freqmap.at(127)), {~freqmap.at(127)},
3645 {if((keycodeb.value == 3) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3646 ~freqmapval4 = ~f4.cpsmidi.round;
3648 {~l1a.isRunning == true}{
3649 ~l4a.set(\dur, ~f4 = ~freqmap.at(~freqmapval4 = ~freqmapval4.value+1));
3650 ~l4b.set(\dur, ~f4);
3651 ~l4c.set(\dur, ~f4/~icd3);
3652 ~l4d.set(\dur, ~f4/~icd3);
3653 ~l4e.set(\dur, ~f4/~icd6);
3654 ~l4f.set(\dur, ~f4/~icd6);
3656 {~l1a1.isRunning == true}{
3657 ~l4a1.set(\dur, ~f4 = ~freqmap.at(~freqmapval4 = ~freqmapval4.value+1));
3658 ~l4b1.set(\dur, ~f4);
3659 ~l4c1.set(\dur, ~f4/~icd3);
3660 ~l4d1.set(\dur, ~f4/~icd3);
3661 ~l4e1.set(\dur, ~f4/~icd6);
3662 ~l4f1.set(\dur, ~f4/~icd6);
3664 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
3665 ~z25.background = Color.white; ~z1.background = Color.white;
3666 ~z26.background = Color.white; ~z2.background = Color.white;
3667 ~z27.background = Color.white; ~z3.background = Color.white;
3668 ~z28.background = Color.green; ~z4.background = Color.green;
3669 ~z29.background = Color.white; ~z5.background = Color.white;
3670 ~z30.background = Color.white; ~z6.background = Color.white;
3671 ~z31.background = Color.white; ~z7.background = Color.white;
3672 ~z32.background = Color.white; ~z8.background = Color.white;
3674 if((~f4 <= ~freqmap.at(0)), {~freqmap.at(0)},
3675 {if((keycodeb.value == 3) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3676 ~freqmapval4 = ~f4.cpsmidi.round;
3678 {~l1a.isRunning == true}{
3679 ~l4a.set(\dur, ~f4 = ~freqmap.at(~freqmapval4 = ~freqmapval4.value-1));
3680 ~l4b.set(\dur, ~f4);
3681 ~l4c.set(\dur, ~f4/~icd3);
3682 ~l4d.set(\dur, ~f4/~icd3);
3683 ~l4e.set(\dur, ~f4/~icd6);
3684 ~l4f.set(\dur, ~f4/~icd6);
3686 {~l1a1.isRunning == true}{
3687 ~l4a1.set(\dur, ~f4 = ~freqmap.at(~freqmapval4 = ~freqmapval4.value-1));
3688 ~l4b1.set(\dur, ~f4);
3689 ~l4c1.set(\dur, ~f4/~icd3);
3690 ~l4d1.set(\dur, ~f4/~icd3);
3691 ~l4e1.set(\dur, ~f4/~icd6);
3692 ~l4f1.set(\dur, ~f4/~icd6);
3694 if((~f4 > ~outmaxa) or: (~f4 < ~outmina), {~z28.close;~z4.close;~z28 = (CompositeView(w, Rect((~f4.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+40, ~nw, 2)).background = Color.white;);}, {~z4.close;~z28.close;~z4 = (CompositeView(w, Rect((~f4.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+40, ~nw, 2)).background = Color.white;);});
3696 ~z25.background = Color.white; ~z1.background = Color.white;
3697 ~z26.background = Color.white; ~z2.background = Color.white;
3698 ~z27.background = Color.white; ~z3.background = Color.white;
3699 ~z28.background = Color.green; ~z4.background = Color.green;
3700 ~z29.background = Color.white; ~z5.background = Color.white;
3701 ~z30.background = Color.white; ~z6.background = Color.white;
3702 ~z31.background = Color.white; ~z7.background = Color.white;
3703 ~z32.background = Color.white; ~z8.background = Color.white;
3706 if((~f5 >= ~freqmap.at(127)), {~freqmap.at(127)},
3707 {if((keycodeb.value == 4) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3708 ~freqmapval5 = ~f5.cpsmidi.round;
3710 {~l1a.isRunning == true}{
3711 ~l5a.set(\dur, ~f5 = ~freqmap.at(~freqmapval5 = ~freqmapval5.value+1));
3712 ~l5b.set(\dur, ~f5);
3713 ~l5c.set(\dur, ~f5/~icd3);
3714 ~l5d.set(\dur, ~f5/~icd3);
3715 ~l5e.set(\dur, ~f5/~icd6);
3716 ~l5f.set(\dur, ~f5/~icd6);
3718 {~l1a1.isRunning == true}{
3719 ~l5a1.set(\dur, ~f5 = ~freqmap.at(~freqmapval5 = ~freqmapval5.value+1));
3720 ~l5b1.set(\dur, ~f5);
3721 ~l5c1.set(\dur, ~f5/~icd3);
3722 ~l5d1.set(\dur, ~f5/~icd3);
3723 ~l5e1.set(\dur, ~f5/~icd6);
3724 ~l5f1.set(\dur, ~f5/~icd6);
3726 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
3727 ~z25.background = Color.white; ~z1.background = Color.white;
3728 ~z26.background = Color.white; ~z2.background = Color.white;
3729 ~z27.background = Color.white; ~z3.background = Color.white;
3730 ~z28.background = Color.white; ~z4.background = Color.white;
3731 ~z29.background = Color.green; ~z5.background = Color.green;
3732 ~z30.background = Color.white; ~z6.background = Color.white;
3733 ~z31.background = Color.white; ~z7.background = Color.white;
3734 ~z32.background = Color.white; ~z8.background = Color.white;
3736 if((~f5 <= ~freqmap.at(0)), {~freqmap.at(0)},
3737 {if((keycodeb.value == 4) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3738 ~freqmapval5 = ~f5.cpsmidi.round;
3740 {~l1a.isRunning == true}{
3741 ~l5a.set(\dur, ~f5 = ~freqmap.at(~freqmapval5 = ~freqmapval5.value-1));
3742 ~l5b.set(\dur, ~f5);
3743 ~l5c.set(\dur, ~f5/~icd3);
3744 ~l5d.set(\dur, ~f5/~icd3);
3745 ~l5e.set(\dur, ~f5/~icd6);
3746 ~l5f.set(\dur, ~f5/~icd6);
3748 {~l1a1.isRunning == true}{
3749 ~l5a1.set(\dur, ~f5 = ~freqmap.at(~freqmapval5 = ~freqmapval5.value-1));
3750 ~l5b1.set(\dur, ~f5);
3751 ~l5c1.set(\dur, ~f5/~icd3);
3752 ~l5d1.set(\dur, ~f5/~icd3);
3753 ~l5e1.set(\dur, ~f5/~icd6);
3754 ~l5f1.set(\dur, ~f5/~icd6);
3756 if((~f5 > ~outmaxa) or: (~f5 < ~outmina), {~z29.close;~z5.close;~z29 = (CompositeView(w, Rect((~f5.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+50, ~nw, 2)).background = Color.white;);}, {~z5.close;~z29.close;~z5 = (CompositeView(w, Rect((~f5.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+50, ~nw, 2)).background = Color.white;);});
3758 ~z25.background = Color.white; ~z1.background = Color.white;
3759 ~z26.background = Color.white; ~z2.background = Color.white;
3760 ~z27.background = Color.white; ~z3.background = Color.white;
3761 ~z28.background = Color.white; ~z4.background = Color.white;
3762 ~z29.background = Color.green; ~z5.background = Color.green;
3763 ~z30.background = Color.white; ~z6.background = Color.white;
3764 ~z31.background = Color.white; ~z7.background = Color.white;
3765 ~z32.background = Color.white; ~z8.background = Color.white;
3768 if((~f6 >= ~freqmap.at(127)), {~freqmap.at(127)},
3769 {if((keycodeb.value == 5) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3770 ~freqmapval6 = ~f6.cpsmidi.round;
3772 {~l1a.isRunning == true}{
3773 ~l6a.set(\dur, ~f6 = ~freqmap.at(~freqmapval6 = ~freqmapval6.value+1));
3774 ~l6b.set(\dur, ~f6);
3775 ~l6c.set(\dur, ~f6/~icd3);
3776 ~l6d.set(\dur, ~f6/~icd3);
3777 ~l6e.set(\dur, ~f6/~icd6);
3778 ~l6f.set(\dur, ~f6/~icd6);
3780 {~l1a1.isRunning == true}{
3781 ~l6a1.set(\dur, ~f6 = ~freqmap.at(~freqmapval6 = ~freqmapval6.value+1));
3782 ~l6b1.set(\dur, ~f6);
3783 ~l6c1.set(\dur, ~f6/~icd3);
3784 ~l6d1.set(\dur, ~f6/~icd3);
3785 ~l6e1.set(\dur, ~f6/~icd6);
3786 ~l6f1.set(\dur, ~f6/~icd6);
3788 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
3789 ~z25.background = Color.white; ~z1.background = Color.white;
3790 ~z26.background = Color.white; ~z2.background = Color.white;
3791 ~z27.background = Color.white; ~z3.background = Color.white;
3792 ~z28.background = Color.white; ~z4.background = Color.white;
3793 ~z29.background = Color.white; ~z5.background = Color.white;
3794 ~z30.background = Color.green; ~z6.background = Color.green;
3795 ~z31.background = Color.white; ~z7.background = Color.white;
3796 ~z32.background = Color.white; ~z8.background = Color.white;
3798 if((~f6 <= ~freqmap.at(0)), {~freqmap.at(0)},
3799 {if((keycodeb.value == 5) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3800 ~freqmapval6 = ~f6.cpsmidi.round;
3802 {~l1a.isRunning == true}{
3803 ~l6a.set(\dur, ~f6 = ~freqmap.at(~freqmapval6 = ~freqmapval6.value-1));
3804 ~l6b.set(\dur, ~f6);
3805 ~l6c.set(\dur, ~f6/~icd3);
3806 ~l6d.set(\dur, ~f6/~icd3);
3807 ~l6e.set(\dur, ~f6/~icd6);
3808 ~l6f.set(\dur, ~f6/~icd6);
3810 {~l1a1.isRunning == true}{
3811 ~l6a1.set(\dur, ~f6 = ~freqmap.at(~freqmapval6 = ~freqmapval6.value-1));
3812 ~l6b1.set(\dur, ~f6);
3813 ~l6c1.set(\dur, ~f6/~icd3);
3814 ~l6d1.set(\dur, ~f6/~icd3);
3815 ~l6e1.set(\dur, ~f6/~icd6);
3816 ~l6f1.set(\dur, ~f6/~icd6);
3818 if((~f6 > ~outmaxa) or: (~f6 < ~outmina), {~z30.close;~z6.close;~z30 = (CompositeView(w, Rect((~f6.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+60, ~nw, 2)).background = Color.white;);}, {~z6.close;~z30.close;~z6 = (CompositeView(w, Rect((~f6.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+60, ~nw, 2)).background = Color.white;);});
3820 ~z25.background = Color.white; ~z1.background = Color.white;
3821 ~z26.background = Color.white; ~z2.background = Color.white;
3822 ~z27.background = Color.white; ~z3.background = Color.white;
3823 ~z28.background = Color.white; ~z4.background = Color.white;
3824 ~z29.background = Color.white; ~z5.background = Color.white;
3825 ~z30.background = Color.green; ~z6.background = Color.green;
3826 ~z31.background = Color.white; ~z7.background = Color.white;
3827 ~z32.background = Color.white; ~z8.background = Color.white;
3830 if((~f7 >= ~freqmap.at(127)), {~freqmap.at(127)},
3831 {if((keycodeb.value == 6) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3832 ~freqmapval7 = ~f7.cpsmidi.round;
3834 {~l1a.isRunning == true}{
3835 ~l7a.set(\dur, ~f7 = ~freqmap.at(~freqmapval7 = ~freqmapval7.value+1));
3836 ~l7b.set(\dur, ~f7);
3837 ~l7c.set(\dur, ~f7/~icd3);
3838 ~l7d.set(\dur, ~f7/~icd3);
3839 ~l7e.set(\dur, ~f7/~icd6);
3840 ~l7f.set(\dur, ~f7/~icd6);
3842 {~l1a1.isRunning == true}{
3843 ~l7a1.set(\dur, ~f7 = ~freqmap.at(~freqmapval7 = ~freqmapval7.value+1));
3844 ~l7b1.set(\dur, ~f7);
3845 ~l7c1.set(\dur, ~f7/~icd3);
3846 ~l7d1.set(\dur, ~f7/~icd3);
3847 ~l7e1.set(\dur, ~f7/~icd6);
3848 ~l7f1.set(\dur, ~f7/~icd6);
3850 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
3851 ~z25.background = Color.white; ~z1.background = Color.white;
3852 ~z26.background = Color.white; ~z2.background = Color.white;
3853 ~z27.background = Color.white; ~z3.background = Color.white;
3854 ~z28.background = Color.white; ~z4.background = Color.white;
3855 ~z29.background = Color.white; ~z5.background = Color.white;
3856 ~z30.background = Color.white; ~z6.background = Color.white;
3857 ~z31.background = Color.green; ~z7.background = Color.green;
3858 ~z32.background = Color.white; ~z8.background = Color.white;
3860 if((~f7 <= ~freqmap.at(0)), {~freqmap.at(0)},
3861 {if((keycodeb.value == 6) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3862 ~freqmapval7 = ~f7.cpsmidi.round;
3864 {~l1a.isRunning == true}{
3865 ~l7a.set(\dur, ~f7 = ~freqmap.at(~freqmapval7 = ~freqmapval7.value-1));
3866 ~l7b.set(\dur, ~f7);
3867 ~l7c.set(\dur, ~f7/~icd3);
3868 ~l7d.set(\dur, ~f7/~icd3);
3869 ~l7e.set(\dur, ~f7/~icd6);
3870 ~l7f.set(\dur, ~f7/~icd6);
3872 {~l1a1.isRunning == true}{
3873 ~l7a1.set(\dur, ~f7 = ~freqmap.at(~freqmapval7 = ~freqmapval7.value-1));
3874 ~l7b1.set(\dur, ~f7);
3875 ~l7c1.set(\dur, ~f7/~icd3);
3876 ~l7d1.set(\dur, ~f7/~icd3);
3877 ~l7e1.set(\dur, ~f7/~icd6);
3878 ~l7f1.set(\dur, ~f7/~icd6);
3880 if((~f7 > ~outmaxa) or: (~f7 < ~outmina), {~z31.close;~z7.close;~z31 = (CompositeView(w, Rect((~f7.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+70, ~nw, 2)).background = Color.white;);}, {~z7.close;~z31.close;~z7 = (CompositeView(w, Rect((~f7.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+70, ~nw, 2)).background = Color.white;);});
3882 ~z25.background = Color.white; ~z1.background = Color.white;
3883 ~z26.background = Color.white; ~z2.background = Color.white;
3884 ~z27.background = Color.white; ~z3.background = Color.white;
3885 ~z28.background = Color.white; ~z4.background = Color.white;
3886 ~z29.background = Color.white; ~z5.background = Color.white;
3887 ~z30.background = Color.white; ~z6.background = Color.white;
3888 ~z31.background = Color.green; ~z7.background = Color.green;
3889 ~z32.background = Color.white; ~z8.background = Color.white;
3892 if((~f8 >= ~freqmap.at(127)), {~freqmap.at(127)},
3893 {if((keycodeb.value == 7) and: ((keycode == ~rightarrow_keycode) or: (unicode == ~l_unicode)), {
3894 ~freqmapval8 = ~f8.cpsmidi.round;
3896 {~l1a.isRunning == true}{
3897 ~l8a.set(\dur, ~f8 = ~freqmap.at(~freqmapval8 = ~freqmapval8.value+1));
3898 ~l8b.set(\dur, ~f8);
3899 ~l8c.set(\dur, ~f8/~icd3);
3900 ~l8d.set(\dur, ~f8/~icd3);
3901 ~l8e.set(\dur, ~f8/~icd6);
3902 ~l8f.set(\dur, ~f8/~icd6);
3904 {~l1a1.isRunning == true}{
3905 ~l8a1.set(\dur, ~f8 = ~freqmap.at(~freqmapval8 = ~freqmapval8.value+1));
3906 ~l8b1.set(\dur, ~f8);
3907 ~l8c1.set(\dur, ~f8/~icd3);
3908 ~l8d1.set(\dur, ~f8/~icd3);
3909 ~l8e1.set(\dur, ~f8/~icd6);
3910 ~l8f1.set(\dur, ~f8/~icd6);
3912 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
3913 ~z25.background = Color.white; ~z1.background = Color.white;
3914 ~z26.background = Color.white; ~z2.background = Color.white;
3915 ~z27.background = Color.white; ~z3.background = Color.white;
3916 ~z28.background = Color.white; ~z4.background = Color.white;
3917 ~z29.background = Color.white; ~z5.background = Color.white;
3918 ~z30.background = Color.white; ~z6.background = Color.white;
3919 ~z31.background = Color.white; ~z7.background = Color.white;
3920 ~z32.background = Color.green; ~z8.background = Color.green;
3922 if((~f8 <= ~freqmap.at(0)), {~freqmap.at(0)},
3923 {if((keycodeb.value == 7) and: ((keycode == ~leftarrow_keycode) or: (unicode == ~j_unicode)), {
3924 ~freqmapval8 = ~f8.cpsmidi.round;
3926 {~l1a.isRunning == true}{
3927 ~l8a.set(\dur, ~f8 = ~freqmap.at(~freqmapval8 = ~freqmapval8.value-1));
3928 ~l8b.set(\dur, ~f8);
3929 ~l8c.set(\dur, ~f8/~icd3);
3930 ~l8d.set(\dur, ~f8/~icd3);
3931 ~l8e.set(\dur, ~f8/~icd6);
3932 ~l8f.set(\dur, ~f8/~icd6);
3934 {~l1a1.isRunning == true}{
3935 ~l8a1.set(\dur, ~f8 = ~freqmap.at(~freqmapval8 = ~freqmapval8.value-1));
3936 ~l8b1.set(\dur, ~f8);
3937 ~l8c1.set(\dur, ~f8/~icd3);
3938 ~l8d1.set(\dur, ~f8/~icd3);
3939 ~l8e1.set(\dur, ~f8/~icd6);
3940 ~l8f1.set(\dur, ~f8/~icd6);
3942 if((~f8 > ~outmaxa) or: (~f8 < ~outmina), {~z32.close;~z8.close;~z32 = (CompositeView(w, Rect((~f8.explin(~outminb,~outmaxb,0,Window.screenBounds.width)), ~dc1+80, ~nw, 2)).background = Color.white;);}, {~z8.close;~z32.close;~z8 = (CompositeView(w, Rect((~f8.explin(~outmina,~outmaxa,0,Window.screenBounds.width)), ~dc2+80, ~nw, 2)).background = Color.white;);});
3944 ~z25.background = Color.white; ~z1.background = Color.white;
3945 ~z26.background = Color.white; ~z2.background = Color.white;
3946 ~z27.background = Color.white; ~z3.background = Color.white;
3947 ~z28.background = Color.white; ~z4.background = Color.white;
3948 ~z29.background = Color.white; ~z5.background = Color.white;
3949 ~z30.background = Color.white; ~z6.background = Color.white;
3950 ~z31.background = Color.white; ~z7.background = Color.white;
3951 ~z32.background = Color.green; ~z8.background = Color.green;
3958 //if routine function values are nil
3960 if(~rslot1a == nil, {~rslot1a = ~bplaceo1;}); if(~rslot1b == nil, {~rslot1b = ~bplacef1;});
3961 if(~rslot2 == nil, {~rslot2 = ~bplacef2;});
3962 if(~rslot3 == nil, {~rslot3 = ~bplacef3;});
3963 if(~rslot4 == nil, {~rslot4 = ~bplacef4;});
3964 if(~rslot5 == nil, {~rslot5 = ~bplacef5;});
3965 if(~rslot6 == nil, {~rslot6 = ~bplacef6;});
3966 if(~rslot7 == nil, {~rslot7 = ~bplacef7;});
3967 if(~rslot8 == nil, {~rslot8 = ~bplacef8;});
3968 if(~rtimeall == nil, {~rtimeall = 8;});
3969 if(~rtime1 == nil, {~rtime1 = 8;});
3970 if(~rtime2 == nil, {~rtime2 = 8;});
3971 if(~rtime3 == nil, {~rtime3 = 8;});
3972 if(~rtime4 == nil, {~rtime4 = 8;});
3973 if(~rtime5 == nil, {~rtime5 = 8;});
3974 if(~rtime6 == nil, {~rtime6 = 8;});
3975 if(~rtime7 == nil, {~rtime7 = 8;});
3976 if(~rtime8 == nil, {~rtime8 = 8;});
3977 if(~rdoall == nil, {~rdoall = 1;});
3978 if(~rdo1a == nil, {~rdo1a = "o1";}); if(~rdo1b == nil, {~rdo1b = "f1";});
3979 if(~rdo2 == nil, {~rdo2 = "f2";});
3980 if(~rdo3 == nil, {~rdo3 = "f3";});
3981 if(~rdo4 == nil, {~rdo4 = "f4";});
3982 if(~rdo5 == nil, {~rdo5 = "f5";});
3983 if(~rdo6 == nil, {~rdo6 = "f6";});
3984 if(~rdo7 == nil, {~rdo7 = "f7";});
3985 if(~rdo8 == nil, {~rdo8 = "f8";});
3988 //misc. routine button functions (see below)
3991 if(~si1a.value == "o1", {~rslot1a = ~bplaceo1; ~rdo1a = ~si1a.value;});
3992 if(~si1a.value == "f1", {~rslot1a = ~bplacef1; ~rdo1a = ~si1a.value;});
3993 if(~si1a.value == "s1", {~rslot1a = ~bplaces1; ~rdo1a = ~si1a.value;});
3994 if(~si1a.value == "o2", {~rslot1a = ~bplaceo2; ~rdo1a = ~si1a.value;});
3995 if(~si1a.value == "f2", {~rslot1a = ~bplacef2; ~rdo1a = ~si1a.value;});
3996 if(~si1a.value == "s2", {~rslot1a = ~bplaces2; ~rdo1a = ~si1a.value;});
3997 if(~si1a.value == "o3", {~rslot1a = ~bplaceo3; ~rdo1a = ~si1a.value;});
3998 if(~si1a.value == "f3", {~rslot1a = ~bplacef3; ~rdo1a = ~si1a.value;});
3999 if(~si1a.value == "s3", {~rslot1a = ~bplaces3; ~rdo1a = ~si1a.value;});
4000 if(~si1a.value == "o4", {~rslot1a = ~bplaceo4; ~rdo1a = ~si1a.value;});
4001 if(~si1a.value == "f4", {~rslot1a = ~bplacef4; ~rdo1a = ~si1a.value;});
4002 if(~si1a.value == "s4", {~rslot1a = ~bplaces4; ~rdo1a = ~si1a.value;});
4003 if(~si1a.value == "o5", {~rslot1a = ~bplaceo5; ~rdo1a = ~si1a.value;});
4004 if(~si1a.value == "f5", {~rslot1a = ~bplacef5; ~rdo1a = ~si1a.value;});
4005 if(~si1a.value == "s5", {~rslot1a = ~bplaces5; ~rdo1a = ~si1a.value;});
4006 if(~si1a.value == "o6", {~rslot1a = ~bplaceo6; ~rdo1a = ~si1a.value;});
4007 if(~si1a.value == "f6", {~rslot1a = ~bplacef6; ~rdo1a = ~si1a.value;});
4008 if(~si1a.value == "s6", {~rslot1a = ~bplaces6; ~rdo1a = ~si1a.value;});
4009 if(~si1a.value == "o7", {~rslot1a = ~bplaceo7; ~rdo1a = ~si1a.value;});
4010 if(~si1a.value == "f7", {~rslot1a = ~bplacef7; ~rdo1a = ~si1a.value;});
4011 if(~si1a.value == "s7", {~rslot1a = ~bplaces7; ~rdo1a = ~si1a.value;});
4012 if(~si1a.value == "o8", {~rslot1a = ~bplaceo8; ~rdo1a = ~si1a.value;});
4013 if(~si1a.value == "f8", {~rslot1a = ~bplacef8; ~rdo1a = ~si1a.value;});
4014 if(~si1a.value == "s8", {~rslot1a = ~bplaces8; ~rdo1a = ~si1a.value;});
4017 if(~si1b.value == "o1", {~rslot1b = ~bplaceo1; ~rdo1b = ~si1b.value;});
4018 if(~si1b.value == "f1", {~rslot1b = ~bplacef1; ~rdo1b = ~si1b.value;});
4019 if(~si1b.value == "s1", {~rslot1b = ~bplaces1; ~rdo1b = ~si1b.value;});
4020 if(~si1b.value == "o2", {~rslot1b = ~bplaceo2; ~rdo1b = ~si1b.value;});
4021 if(~si1b.value == "f2", {~rslot1b = ~bplacef2; ~rdo1b = ~si1b.value;});
4022 if(~si1b.value == "s2", {~rslot1b = ~bplaces2; ~rdo1b = ~si1b.value;});
4023 if(~si1b.value == "o3", {~rslot1b = ~bplaceo3; ~rdo1b = ~si1b.value;});
4024 if(~si1b.value == "f3", {~rslot1b = ~bplacef3; ~rdo1b = ~si1b.value;});
4025 if(~si1b.value == "s3", {~rslot1b = ~bplaces3; ~rdo1b = ~si1b.value;});
4026 if(~si1b.value == "o4", {~rslot1b = ~bplaceo4; ~rdo1b = ~si1b.value;});
4027 if(~si1b.value == "f4", {~rslot1b = ~bplacef4; ~rdo1b = ~si1b.value;});
4028 if(~si1b.value == "s4", {~rslot1b = ~bplaces4; ~rdo1b = ~si1b.value;});
4029 if(~si1b.value == "o5", {~rslot1b = ~bplaceo5; ~rdo1b = ~si1b.value;});
4030 if(~si1b.value == "f5", {~rslot1b = ~bplacef5; ~rdo1b = ~si1b.value;});
4031 if(~si1b.value == "s5", {~rslot1b = ~bplaces5; ~rdo1b = ~si1b.value;});
4032 if(~si1b.value == "o6", {~rslot1b = ~bplaceo6; ~rdo1b = ~si1b.value;});
4033 if(~si1b.value == "f6", {~rslot1b = ~bplacef6; ~rdo1b = ~si1b.value;});
4034 if(~si1b.value == "s6", {~rslot1b = ~bplaces6; ~rdo1b = ~si1b.value;});
4035 if(~si1b.value == "o7", {~rslot1b = ~bplaceo7; ~rdo1b = ~si1b.value;});
4036 if(~si1b.value == "f7", {~rslot1b = ~bplacef7; ~rdo1b = ~si1b.value;});
4037 if(~si1b.value == "s7", {~rslot1b = ~bplaces7; ~rdo1b = ~si1b.value;});
4038 if(~si1b.value == "o8", {~rslot1b = ~bplaceo8; ~rdo1b = ~si1b.value;});
4039 if(~si1b.value == "f8", {~rslot1b = ~bplacef8; ~rdo1b = ~si1b.value;});
4040 if(~si1b.value == "s8", {~rslot1b = ~bplaces8; ~rdo1b = ~si1b.value;});
4043 if(~si2.value == "o1", {~rslot2 = ~bplaceo1; ~rdo2 = ~si2.value;});
4044 if(~si2.value == "f1", {~rslot2 = ~bplacef1; ~rdo2 = ~si2.value;});
4045 if(~si2.value == "s1", {~rslot2 = ~bplaces1; ~rdo2 = ~si2.value;});
4046 if(~si2.value == "o2", {~rslot2 = ~bplaceo2; ~rdo2 = ~si2.value;});
4047 if(~si2.value == "f2", {~rslot2 = ~bplacef2; ~rdo2 = ~si2.value;});
4048 if(~si2.value == "s2", {~rslot2 = ~bplaces2; ~rdo2 = ~si2.value;});
4049 if(~si2.value == "o3", {~rslot2 = ~bplaceo3; ~rdo2 = ~si2.value;});
4050 if(~si2.value == "f3", {~rslot2 = ~bplacef3; ~rdo2 = ~si2.value;});
4051 if(~si2.value == "s3", {~rslot2 = ~bplaces3; ~rdo2 = ~si2.value;});
4052 if(~si2.value == "o4", {~rslot2 = ~bplaceo4; ~rdo2 = ~si2.value;});
4053 if(~si2.value == "f4", {~rslot2 = ~bplacef4; ~rdo2 = ~si2.value;});
4054 if(~si2.value == "s4", {~rslot2 = ~bplaces4; ~rdo2 = ~si2.value;});
4055 if(~si2.value == "o5", {~rslot2 = ~bplaceo5; ~rdo2 = ~si2.value;});
4056 if(~si2.value == "f5", {~rslot2 = ~bplacef5; ~rdo2 = ~si2.value;});
4057 if(~si2.value == "s5", {~rslot2 = ~bplaces5; ~rdo2 = ~si2.value;});
4058 if(~si2.value == "o6", {~rslot2 = ~bplaceo6; ~rdo2 = ~si2.value;});
4059 if(~si2.value == "f6", {~rslot2 = ~bplacef6; ~rdo2 = ~si2.value;});
4060 if(~si2.value == "s6", {~rslot2 = ~bplaces6; ~rdo2 = ~si2.value;});
4061 if(~si2.value == "o7", {~rslot2 = ~bplaceo7; ~rdo2 = ~si2.value;});
4062 if(~si2.value == "f7", {~rslot2 = ~bplacef7; ~rdo2 = ~si2.value;});
4063 if(~si2.value == "s7", {~rslot2 = ~bplaces7; ~rdo2 = ~si2.value;});
4064 if(~si2.value == "o8", {~rslot2 = ~bplaceo8; ~rdo2 = ~si2.value;});
4065 if(~si2.value == "f8", {~rslot2 = ~bplacef8; ~rdo2 = ~si2.value;});
4066 if(~si2.value == "s8", {~rslot2 = ~bplaces8; ~rdo2 = ~si2.value;});
4069 if(~si3.value == "o1", {~rslot3 = ~bplaceo1; ~rdo3 = ~si3.value;});
4070 if(~si3.value == "f1", {~rslot3 = ~bplacef1; ~rdo3 = ~si3.value;});
4071 if(~si3.value == "s1", {~rslot3 = ~bplaces1; ~rdo3 = ~si3.value;});
4072 if(~si3.value == "o2", {~rslot3 = ~bplaceo2; ~rdo3 = ~si3.value;});
4073 if(~si3.value == "f2", {~rslot3 = ~bplacef2; ~rdo3 = ~si3.value;});
4074 if(~si3.value == "s2", {~rslot3 = ~bplaces2; ~rdo3 = ~si3.value;});
4075 if(~si3.value == "o3", {~rslot3 = ~bplaceo3; ~rdo3 = ~si3.value;});
4076 if(~si3.value == "f3", {~rslot3 = ~bplacef3; ~rdo3 = ~si3.value;});
4077 if(~si3.value == "s3", {~rslot3 = ~bplaces3; ~rdo3 = ~si3.value;});
4078 if(~si3.value == "o4", {~rslot3 = ~bplaceo4; ~rdo3 = ~si3.value;});
4079 if(~si3.value == "f4", {~rslot3 = ~bplacef4; ~rdo3 = ~si3.value;});
4080 if(~si3.value == "s4", {~rslot3 = ~bplaces4; ~rdo3 = ~si3.value;});
4081 if(~si3.value == "o5", {~rslot3 = ~bplaceo5; ~rdo3 = ~si3.value;});
4082 if(~si3.value == "f5", {~rslot3 = ~bplacef5; ~rdo3 = ~si3.value;});
4083 if(~si3.value == "s5", {~rslot3 = ~bplaces5; ~rdo3 = ~si3.value;});
4084 if(~si3.value == "o6", {~rslot3 = ~bplaceo6; ~rdo3 = ~si3.value;});
4085 if(~si3.value == "f6", {~rslot3 = ~bplacef6; ~rdo3 = ~si3.value;});
4086 if(~si3.value == "s6", {~rslot3 = ~bplaces6; ~rdo3 = ~si3.value;});
4087 if(~si3.value == "o7", {~rslot3 = ~bplaceo7; ~rdo3 = ~si3.value;});
4088 if(~si3.value == "f7", {~rslot3 = ~bplacef7; ~rdo3 = ~si3.value;});
4089 if(~si3.value == "s7", {~rslot3 = ~bplaces7; ~rdo3 = ~si3.value;});
4090 if(~si3.value == "o8", {~rslot3 = ~bplaceo8; ~rdo3 = ~si3.value;});
4091 if(~si3.value == "f8", {~rslot3 = ~bplacef8; ~rdo3 = ~si3.value;});
4092 if(~si3.value == "s8", {~rslot3 = ~bplaces8; ~rdo3 = ~si3.value;});
4095 if(~si4.value == "o1", {~rslot4 = ~bplaceo1; ~rdo4 = ~si4.value;});
4096 if(~si4.value == "f1", {~rslot4 = ~bplacef1; ~rdo4 = ~si4.value;});
4097 if(~si4.value == "s1", {~rslot4 = ~bplaces1; ~rdo4 = ~si4.value;});
4098 if(~si4.value == "o2", {~rslot4 = ~bplaceo2; ~rdo4 = ~si4.value;});
4099 if(~si4.value == "f2", {~rslot4 = ~bplacef2; ~rdo4 = ~si4.value;});
4100 if(~si4.value == "s2", {~rslot4 = ~bplaces2; ~rdo4 = ~si4.value;});
4101 if(~si4.value == "o3", {~rslot4 = ~bplaceo3; ~rdo4 = ~si4.value;});
4102 if(~si4.value == "f3", {~rslot4 = ~bplacef3; ~rdo4 = ~si4.value;});
4103 if(~si4.value == "s3", {~rslot4 = ~bplaces3; ~rdo4 = ~si4.value;});
4104 if(~si4.value == "o4", {~rslot4 = ~bplaceo4; ~rdo4 = ~si4.value;});
4105 if(~si4.value == "f4", {~rslot4 = ~bplacef4; ~rdo4 = ~si4.value;});
4106 if(~si4.value == "s4", {~rslot4 = ~bplaces4; ~rdo4 = ~si4.value;});
4107 if(~si4.value == "o5", {~rslot4 = ~bplaceo5; ~rdo4 = ~si4.value;});
4108 if(~si4.value == "f5", {~rslot4 = ~bplacef5; ~rdo4 = ~si4.value;});
4109 if(~si4.value == "s5", {~rslot4 = ~bplaces5; ~rdo4 = ~si4.value;});
4110 if(~si4.value == "o6", {~rslot4 = ~bplaceo6; ~rdo4 = ~si4.value;});
4111 if(~si4.value == "f6", {~rslot4 = ~bplacef6; ~rdo4 = ~si4.value;});
4112 if(~si4.value == "s6", {~rslot4 = ~bplaces6; ~rdo4 = ~si4.value;});
4113 if(~si4.value == "o7", {~rslot4 = ~bplaceo7; ~rdo4 = ~si4.value;});
4114 if(~si4.value == "f7", {~rslot4 = ~bplacef7; ~rdo4 = ~si4.value;});
4115 if(~si4.value == "s7", {~rslot4 = ~bplaces7; ~rdo4 = ~si4.value;});
4116 if(~si4.value == "o8", {~rslot4 = ~bplaceo8; ~rdo4 = ~si4.value;});
4117 if(~si4.value == "f8", {~rslot4 = ~bplacef8; ~rdo4 = ~si4.value;});
4118 if(~si4.value == "s8", {~rslot4 = ~bplaces8; ~rdo4 = ~si4.value;});
4121 if(~si5.value == "o1", {~rslot5 = ~bplaceo1; ~rdo5 = ~si5.value;});
4122 if(~si5.value == "f1", {~rslot5 = ~bplacef1; ~rdo5 = ~si5.value;});
4123 if(~si5.value == "s1", {~rslot5 = ~bplaces1; ~rdo5 = ~si5.value;});
4124 if(~si5.value == "o2", {~rslot5 = ~bplaceo2; ~rdo5 = ~si5.value;});
4125 if(~si5.value == "f2", {~rslot5 = ~bplacef2; ~rdo5 = ~si5.value;});
4126 if(~si5.value == "s2", {~rslot5 = ~bplaces2; ~rdo5 = ~si5.value;});
4127 if(~si5.value == "o3", {~rslot5 = ~bplaceo3; ~rdo5 = ~si5.value;});
4128 if(~si5.value == "f3", {~rslot5 = ~bplacef3; ~rdo5 = ~si5.value;});
4129 if(~si5.value == "s3", {~rslot5 = ~bplaces3; ~rdo5 = ~si5.value;});
4130 if(~si5.value == "o4", {~rslot5 = ~bplaceo4; ~rdo5 = ~si5.value;});
4131 if(~si5.value == "f4", {~rslot5 = ~bplacef4; ~rdo5 = ~si5.value;});
4132 if(~si5.value == "s4", {~rslot5 = ~bplaces4; ~rdo5 = ~si5.value;});
4133 if(~si5.value == "o5", {~rslot5 = ~bplaceo5; ~rdo5 = ~si5.value;});
4134 if(~si5.value == "f5", {~rslot5 = ~bplacef5; ~rdo5 = ~si5.value;});
4135 if(~si5.value == "s5", {~rslot5 = ~bplaces5; ~rdo5 = ~si5.value;});
4136 if(~si5.value == "o6", {~rslot5 = ~bplaceo6; ~rdo5 = ~si5.value;});
4137 if(~si5.value == "f6", {~rslot5 = ~bplacef6; ~rdo5 = ~si5.value;});
4138 if(~si5.value == "s6", {~rslot5 = ~bplaces6; ~rdo5 = ~si5.value;});
4139 if(~si5.value == "o7", {~rslot5 = ~bplaceo7; ~rdo5 = ~si5.value;});
4140 if(~si5.value == "f7", {~rslot5 = ~bplacef7; ~rdo5 = ~si5.value;});
4141 if(~si5.value == "s7", {~rslot5 = ~bplaces7; ~rdo5 = ~si5.value;});
4142 if(~si5.value == "o8", {~rslot5 = ~bplaceo8; ~rdo5 = ~si5.value;});
4143 if(~si5.value == "f8", {~rslot5 = ~bplacef8; ~rdo5 = ~si5.value;});
4144 if(~si5.value == "s8", {~rslot5 = ~bplaces8; ~rdo5 = ~si5.value;});
4147 if(~si6.value == "o1", {~rslot6 = ~bplaceo1; ~rdo6 = ~si6.value;});
4148 if(~si6.value == "f1", {~rslot6 = ~bplacef1; ~rdo6 = ~si6.value;});
4149 if(~si6.value == "s1", {~rslot6 = ~bplaces1; ~rdo6 = ~si6.value;});
4150 if(~si6.value == "o2", {~rslot6 = ~bplaceo2; ~rdo6 = ~si6.value;});
4151 if(~si6.value == "f2", {~rslot6 = ~bplacef2; ~rdo6 = ~si6.value;});
4152 if(~si6.value == "s2", {~rslot6 = ~bplaces2; ~rdo6 = ~si6.value;});
4153 if(~si6.value == "o3", {~rslot6 = ~bplaceo3; ~rdo6 = ~si6.value;});
4154 if(~si6.value == "f3", {~rslot6 = ~bplacef3; ~rdo6 = ~si6.value;});
4155 if(~si6.value == "s3", {~rslot6 = ~bplaces3; ~rdo6 = ~si6.value;});
4156 if(~si6.value == "o4", {~rslot6 = ~bplaceo4; ~rdo6 = ~si6.value;});
4157 if(~si6.value == "f4", {~rslot6 = ~bplacef4; ~rdo6 = ~si6.value;});
4158 if(~si6.value == "s4", {~rslot6 = ~bplaces4; ~rdo6 = ~si6.value;});
4159 if(~si6.value == "o5", {~rslot6 = ~bplaceo5; ~rdo6 = ~si6.value;});
4160 if(~si6.value == "f5", {~rslot6 = ~bplacef5; ~rdo6 = ~si6.value;});
4161 if(~si6.value == "s5", {~rslot6 = ~bplaces5; ~rdo6 = ~si6.value;});
4162 if(~si6.value == "o6", {~rslot6 = ~bplaceo6; ~rdo6 = ~si6.value;});
4163 if(~si6.value == "f6", {~rslot6 = ~bplacef6; ~rdo6 = ~si6.value;});
4164 if(~si6.value == "s6", {~rslot6 = ~bplaces6; ~rdo6 = ~si6.value;});
4165 if(~si6.value == "o7", {~rslot6 = ~bplaceo7; ~rdo6 = ~si6.value;});
4166 if(~si6.value == "f7", {~rslot6 = ~bplacef7; ~rdo6 = ~si6.value;});
4167 if(~si6.value == "s7", {~rslot6 = ~bplaces7; ~rdo6 = ~si6.value;});
4168 if(~si6.value == "o8", {~rslot6 = ~bplaceo8; ~rdo6 = ~si6.value;});
4169 if(~si6.value == "f8", {~rslot6 = ~bplacef8; ~rdo6 = ~si6.value;});
4170 if(~si6.value == "s8", {~rslot6 = ~bplaces8; ~rdo6 = ~si6.value;});
4173 if(~si7.value == "o1", {~rslot7 = ~bplaceo1; ~rdo7 = ~si7.value;});
4174 if(~si7.value == "f1", {~rslot7 = ~bplacef1; ~rdo7 = ~si7.value;});
4175 if(~si7.value == "s1", {~rslot7 = ~bplaces1; ~rdo7 = ~si7.value;});
4176 if(~si7.value == "o2", {~rslot7 = ~bplaceo2; ~rdo7 = ~si7.value;});
4177 if(~si7.value == "f2", {~rslot7 = ~bplacef2; ~rdo7 = ~si7.value;});
4178 if(~si7.value == "s2", {~rslot7 = ~bplaces2; ~rdo7 = ~si7.value;});
4179 if(~si7.value == "o3", {~rslot7 = ~bplaceo3; ~rdo7 = ~si7.value;});
4180 if(~si7.value == "f3", {~rslot7 = ~bplacef3; ~rdo7 = ~si7.value;});
4181 if(~si7.value == "s3", {~rslot7 = ~bplaces3; ~rdo7 = ~si7.value;});
4182 if(~si7.value == "o4", {~rslot7 = ~bplaceo4; ~rdo7 = ~si7.value;});
4183 if(~si7.value == "f4", {~rslot7 = ~bplacef4; ~rdo7 = ~si7.value;});
4184 if(~si7.value == "s4", {~rslot7 = ~bplaces4; ~rdo7 = ~si7.value;});
4185 if(~si7.value == "o5", {~rslot7 = ~bplaceo5; ~rdo7 = ~si7.value;});
4186 if(~si7.value == "f5", {~rslot7 = ~bplacef5; ~rdo7 = ~si7.value;});
4187 if(~si7.value == "s5", {~rslot7 = ~bplaces5; ~rdo7 = ~si7.value;});
4188 if(~si7.value == "o6", {~rslot7 = ~bplaceo6; ~rdo7 = ~si7.value;});
4189 if(~si7.value == "f6", {~rslot7 = ~bplacef6; ~rdo7 = ~si7.value;});
4190 if(~si7.value == "s6", {~rslot7 = ~bplaces6; ~rdo7 = ~si7.value;});
4191 if(~si7.value == "o7", {~rslot7 = ~bplaceo7; ~rdo7 = ~si7.value;});
4192 if(~si7.value == "f7", {~rslot7 = ~bplacef7; ~rdo7 = ~si7.value;});
4193 if(~si7.value == "s7", {~rslot7 = ~bplaces7; ~rdo7 = ~si7.value;});
4194 if(~si7.value == "o8", {~rslot7 = ~bplaceo8; ~rdo7 = ~si7.value;});
4195 if(~si7.value == "f8", {~rslot7 = ~bplacef8; ~rdo7 = ~si7.value;});
4196 if(~si7.value == "s8", {~rslot7 = ~bplaces8; ~rdo7 = ~si7.value;});
4199 if(~si8.value == "o1", {~rslot8 = ~bplaceo1; ~rdo8 = ~si8.value;});
4200 if(~si8.value == "f1", {~rslot8 = ~bplacef1; ~rdo8 = ~si8.value;});
4201 if(~si8.value == "s1", {~rslot8 = ~bplaces1; ~rdo8 = ~si8.value;});
4202 if(~si8.value == "o2", {~rslot8 = ~bplaceo2; ~rdo8 = ~si8.value;});
4203 if(~si8.value == "f2", {~rslot8 = ~bplacef2; ~rdo8 = ~si8.value;});
4204 if(~si8.value == "s2", {~rslot8 = ~bplaces2; ~rdo8 = ~si8.value;});
4205 if(~si8.value == "o3", {~rslot8 = ~bplaceo3; ~rdo8 = ~si8.value;});
4206 if(~si8.value == "f3", {~rslot8 = ~bplacef3; ~rdo8 = ~si8.value;});
4207 if(~si8.value == "s3", {~rslot8 = ~bplaces3; ~rdo8 = ~si8.value;});
4208 if(~si8.value == "o4", {~rslot8 = ~bplaceo4; ~rdo8 = ~si8.value;});
4209 if(~si8.value == "f4", {~rslot8 = ~bplacef4; ~rdo8 = ~si8.value;});
4210 if(~si8.value == "s4", {~rslot8 = ~bplaces4; ~rdo8 = ~si8.value;});
4211 if(~si8.value == "o5", {~rslot8 = ~bplaceo5; ~rdo8 = ~si8.value;});
4212 if(~si8.value == "f5", {~rslot8 = ~bplacef5; ~rdo8 = ~si8.value;});
4213 if(~si8.value == "s5", {~rslot8 = ~bplaces5; ~rdo8 = ~si8.value;});
4214 if(~si8.value == "o6", {~rslot8 = ~bplaceo6; ~rdo8 = ~si8.value;});
4215 if(~si8.value == "f6", {~rslot8 = ~bplacef6; ~rdo8 = ~si8.value;});
4216 if(~si8.value == "s6", {~rslot8 = ~bplaces6; ~rdo8 = ~si8.value;});
4217 if(~si8.value == "o7", {~rslot8 = ~bplaceo7; ~rdo8 = ~si8.value;});
4218 if(~si8.value == "f7", {~rslot8 = ~bplacef7; ~rdo8 = ~si8.value;});
4219 if(~si8.value == "s7", {~rslot8 = ~bplaces7; ~rdo8 = ~si8.value;});
4220 if(~si8.value == "o8", {~rslot8 = ~bplaceo8; ~rdo8 = ~si8.value;});
4221 if(~si8.value == "f8", {~rslot8 = ~bplacef8; ~rdo8 = ~si8.value;});
4222 if(~si8.value == "s8", {~rslot8 = ~bplaces8; ~rdo8 = ~si8.value;});
4226 //routine function button
4228 ~rviewbutton = Button.new(w,Rect(Window.screenBounds.width-20-20,~bpt+69+5-(20/~gm),20,20/1.6180339887499)).states_([["r",Color.white,Color.black],["r",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button;
4230 if(button.value == 1, {
4232 arg leftdo = 0 , leftdobox = 52, lefttime = leftdobox+widthbox+6, lefttimebox = lefttime+57, top = 0,width=52, height = 16, widthbox=52, heightbox = 16, inc=0, lw = 0, uw = 0, numw = 40;
4233 var tall, stall, iall, siall, st1, st2, st3, st4, st5, st6, st7, st8, t1,t2,t3,t4,t5,t6,t7,t8,i1,i2,i3,i4,i5,i6,i7,i8;
4234 ~rview = View(w, Rect(Window.screenBounds.width-(340+46),Window.screenBounds.height-(340+46/1.6180339887499)-110,340+46,340+46/1.6180339887499)).front;
4235 /*w.view.decorator=FlowLayout(w.view.bounds);
4236 w.view.decorator.gap=2@2;*/
4240 i1 = StaticText(~rview, Rect(leftdo , top=top, width, height)).background_(Color.black).string_("rslot1").stringColor_(Color.white);
4241 i2 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot2").stringColor_(Color.white);
4242 i3 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot3").stringColor_(Color.white);
4243 i4 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot4").stringColor_(Color.white);
4244 i5 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot5").stringColor_(Color.white);
4245 i6 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot6").stringColor_(Color.white);
4246 i7 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot7").stringColor_(Color.white);
4247 i8 = StaticText(~rview, Rect(leftdo , top=top+height, width, height)).background_(Color.black).string_("rslot8").stringColor_(Color.white);
4251 ~si1a=TextField(~rview, Rect(leftdobox , top=top, widthbox/2, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo1a);
4252 ~si1b=TextField(~rview, Rect(leftdobox+(widthbox/2) , top=top, widthbox/2, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo1b);
4253 ~si2=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo2);
4254 ~si3=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo3);
4255 ~si4=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo4);
4256 ~si5=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo5);
4257 ~si6=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo6);
4258 ~si7=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo7);
4259 ~si8=TextField(~rview, Rect(leftdobox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).stringColor_(Color.white).value_(~rdo8);
4263 t1 = StaticText(~rview, Rect(lefttime , top=top, width, height)).background_(Color.black).string_("rtime1").stringColor_(Color.white);
4264 t2 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime2").stringColor_(Color.white);
4265 t3 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime3").stringColor_(Color.white);
4266 t4 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime4").stringColor_(Color.white);
4267 t5 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime5").stringColor_(Color.white);
4268 t6 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime6").stringColor_(Color.white);
4269 t7 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime7").stringColor_(Color.white);
4270 t8 = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("rtime8").stringColor_(Color.white);
4271 tall = StaticText(~rview, Rect(lefttime , top=top+height, width, height)).background_(Color.black).string_("all time").stringColor_(Color.white);
4276 st1=NumberBox(~rview, Rect(lefttimebox , top=top, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime1);
4277 st2=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime2);
4278 st3=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime3);
4279 st4=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime4);
4280 st5=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime5);
4281 st6=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime6);
4282 st7=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime7);
4283 st8=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtime8);
4284 stall=NumberBox(~rview, Rect(lefttimebox , top=top+heightbox, widthbox, heightbox)).background_(Color.black).normalColor_(Color.white;).value_(~rtimeall);
4287 ~si1a.action_({~si1aset.value});
4288 ~si1b.action_({~si1bset.value});
4289 ~si2.action_({~si2set.value});
4290 ~si3.action_({~si3set.value});
4291 ~si4.action_({~si4set.value});
4292 ~si5.action_({~si5set.value});
4293 ~si6.action_({~si6set.value});
4294 ~si7.action_({~si7set.value});
4295 ~si8.action_({~si8set.value});
4297 stall.action_({arg val;
4298 ~rtimeall = val.value;
4299 ~rtime1 = val.value;
4300 ~rtime2 = val.value;
4301 ~rtime3 = val.value;
4302 ~rtime4 = val.value;
4303 ~rtime5 = val.value;
4304 ~rtime6 = val.value;
4305 ~rtime7 = val.value;
4306 ~rtime8 = val.value;
4307 ~rview.close; ~rviewbutton.valueAction_(1);
4309 st1.action_({arg val; ~rtime1 = val.value;});
4310 st2.action_({arg val; ~rtime2 = val.value;});
4311 st3.action_({arg val; ~rtime3 = val.value;});
4312 st4.action_({arg val; ~rtime4 = val.value;});
4313 st5.action_({arg val; ~rtime5 = val.value;});
4314 st6.action_({arg val; ~rtime6 = val.value;});
4315 st7.action_({arg val; ~rtime7 = val.value;});
4316 st8.action_({arg val; ~rtime8 = val.value;});
4318 ~rview.background_(Color.black);
4322 ~routinebutton = Button.new(~rview,Rect(0, top+40, 40, 40/~gm)).states_([["loop",Color.white,Color.black],["stop",Color.white,Color.black]]).action_({arg button;
4324 if(button.value == 1, {
4328 AppClock.sched(0, {~metronomebutton.value = 1;});
4329 ~metronomeincr.wait;
4330 AppClock.sched(0, {~metronomebutton.value = 0;});
4331 ~metronomeincr.wait;
4337 {~rslot1a.valueAction_(0)}.defer;
4339 {~rslot2.valueAction_(0)}.defer;
4341 {~rslot3.valueAction_(0)}.defer;
4343 {~rslot4.valueAction_(0)}.defer;
4345 {~rslot5.valueAction_(0)}.defer;
4347 {~rslot6.valueAction_(0)}.defer;
4349 {~rslot7.valueAction_(0)}.defer;
4351 {~rslot8.valueAction_(0)}.defer;
4355 {~rslot1b.valueAction_(0)}.defer;
4357 {~rslot2.valueAction_(0)}.defer;
4359 {~rslot3.valueAction_(0)}.defer;
4361 {~rslot4.valueAction_(0)}.defer;
4363 {~rslot5.valueAction_(0)}.defer;
4365 {~rslot6.valueAction_(0)}.defer;
4367 {~rslot7.valueAction_(0)}.defer;
4369 {~rslot8.valueAction_(0)}.defer;
4372 }); SystemClock(~metronome.start); SystemClock(~loop.start); ~numsynths.stop;}, {
4374 SystemClock(~metronome.stop); SystemClock(~loop.stop); SystemClock(~loop.reset); ~synthfree.value; ~pauseroutinebutton.value = 0; ~numsynths.stop; ~numsynthsfunc.value;});
4377 ~pauseroutinebutton = Button.new(~rview,Rect(50, top+40, 40, 40/~gm)).states_([["pause",Color.white,Color.black],["loop",Color.white,Color.black]]).action_({arg button;
4379 if(button.value == 1, {SystemClock(~loop.pause); ~synthpause.value;}, {SystemClock(~loop.resume); ~synthflow.value;});
4382 ~closeroutinebutton = Button.new(~rview,Rect(220, top+40, 40, 40/~gm)).states_([["close",Color.white,Color.black]]).action_({arg button;
4384 ~rview.close; ~rviewbutton.value = 0;
4387 ~metronomebutton = Button.new(~rview,Rect(120, top+40, 40, 40/~gm)).states_([["",Color.white,Color.red],["",Color.white,Color.blue]]).action_({arg button;});
4391 if(~loop.isPlaying == true, {~routinebutton.value = 1;});
4397 //synth identifier function
4399 ~synthmonitor = StaticText(w, Rect(Window.screenBounds.width-14,~bpt+49,18,18/1.6180339887499)).background_(Color.black).stringColor_(Color.white);
4400 ~synthmonitor.string = if(~currentsynth == nil, {"nil".asString});
4402 ~synthmonitorfunc = {
4403 ~synthmonitor.close;
4404 ~synthmonitor = StaticText(w, Rect(Window.screenBounds.width-14,~bpt+49,18,18/1.6180339887499)).background_(Color.black).stringColor_(Color.white);
4405 ~synthmonitor.string = ~currentsynth.asString;
4406 ~synthmonitor.font = Font(size: 10);
4409 ~synthmonitorfunc.value;
4412 //cpu, # of ugens, and # of synths display
4414 ~cpumonitor = StaticText(w, Rect(Window.screenBounds.width-500,~bpt-200,500,90/1.6180339887499)).background_(Color.black).stringColor_(Color.white);
4419 ~cpumonitor = StaticText(w, Rect(20,~bpt-100,500,120/1.6180339887499)).background_(Color.black).stringColor_(Color.white);
4420 ~cpumonitor.string = "cpu: "+s.avgCPU.asString+"%"++"\n" ++"ugens: "+s.numUGens.asString++"\n" ++"synths: "+s.numSynths.asString;
4421 ~cpumonitor.font = Font(size: 14);
4424 ~cpumonitorroutine = Routine({
4427 ~cpumonitorfunc.value;
4433 ~cpumonitorbutton = Button.new(w,Rect(~bpl+((16*8)),~bpt+69+5-(16/1.6180339887499),16,16/1.6180339887499)).states_([["cm",Color.white,Color.black],["cm",Color.white,Color.black]]).action_({arg button;
4435 if(button.value == 1, {
4436 ~cpumonitorroutine.reset;
4437 ~cpumonitorroutine.play;
4438 }, {~cpumonitorroutine.stop; ~cpumonitor.close;});
4443 //information button
4445 info = Button.new(w,Rect(Window.screenBounds.width-20-20,~bpt+69+5,20,20/1.6180339887499)).states_([["i",Color.white,Color.black],["i",Color.white,Color.black]]).action_({arg button;
4447 if(button.value == 1, {
4448 ~hb = TextView(w, Rect(0,0, Window.screenBounds.width, Window.screenBounds.height-200)).background_(Color.black);
4450 "(scroll down to see more)"++"\n"++"\n"++"\n"++
4451 "ctrl/cmd-period: stop synth/free server"++"\n"++"\n"++"\n"++
4452 "GUI Buttons"++"\n"++"\n"++"\n"++
4453 "synth0/synth1: start/stop synth set"++"\n"++"\n"++
4454 "pause0/pause1: pause/unpause synth set"++"\n"++"\n"++
4455 "tsynth0/tsynth1: tsynth0 to allow timed synth set, then click on any o or f button to time a progression. click on the st button in the bottom right to stop the timer. tsynth1 to dis-allow timed synth set"++"\n"++"\n"++
4456 "copy: copy frequency/note info"++"\n"++"\n"++
4457 "hz frequency: set the base frequency. press set to load"++"\n"++"\n"++
4458 "kws/inst: change number of kw(King Wen) sequences per time wave instance. press set to load"++"\n"++"\n"++
4459 "gs1-gs3: synthdef setting (gsine1/gsine2/gsine3). press set to load"++"\n"++"\n"++
4460 "s1-s8: set/save note positions"++"\n"++"\n"++
4461 "g1-g8: groups of saved note positions"++"\n"++"\n"++
4462 "uc-u8: undo changes to set note positions. press set to load"++"\n"++"\n"++
4463 "rc,/rc: start recording/stop recording"++"\n"++"\n"++
4464 "prc: pause recording"++"\n"++"\n"++
4465 "o1-o8: play set/saved note positions by opening a new synth set"++"\n"++"\n"++
4466 "f1-f8: flow transition to set/saved note positions"++"\n"++"\n"++
4467 "s1-s8: slide transition to set/saved note positions"++"\n"++"\n"++
4468 "m/u: mute/unmute all"++"\n"++"\n"++
4469 "1-8: mute or unmute individual synth"++"\n"++"\n"++
4470 "cm: cpu percentage/number of ugens/number of synths display"++"\n"++"\n"++
4471 "rw: random western scale"++"\n"++"\n"++
4472 "re: random eastern scale"++"\n"++"\n"++
4473 "r: routine/loop function - rslot for synth set, rtime for time between transitions"++"\n"++"\n"++
4474 "st: stop synth timer/show timer results"++"\n"++"\n"++
4475 "s: set slide time/increment"++"\n"++"\n"++
4476 "i: help"++"\n"++"\n"++
4477 "m: minimize window"++"\n"++"\n"++
4478 "c: close window"++"\n"++"\n"++"\n"++
4479 "Keyboard Functions (functionality will vary with device)"++"\n"++"\n"++"\n"++
4480 "s: start/stop synth set"++"\n"++"\n"++
4481 "space bar: pause/unpause synth set"++"\n"++"\n"++
4482 "ctrl-period/cmd-period: stop synth/free server"++"\n"++"\n"++
4483 "left/right arrow(or J and L): move down/up note"++"\n"++"\n"++
4484 "up/down arrow(or I and K): change synth for left/right arrow note function"++"\n"++"\n"++
4485 "#1-8 on keyboard: choose synth for left/right arrow note function"++"\n"++"\n"++
4486 "r: routine/loop function - rslot for synth set, rtime for time between transitions"++"\n"++"\n"++
4487 "m: mute/unmute all"++"\n"++"\n"++
4488 "c: copy function"++"\n"++"\n"++
4489 "t: timed synth function"++"\n"++"\n"++
4490 "esc: minimize window"
4493 ~hb.stringColor = Color.white;
4499 //random notes button 1
4501 ~randombutton1 = Button.new(w,Rect(Window.screenBounds.width-20-20-20-20,~bpt+69+5-(20/~gm),20,20/1.6180339887499)).states_([["rw",Color.white,Color.black]]).action_({arg button;
4503 if((~l1a.isRunning == true) or: (~l1a1.isRunning == true), {
4504 8.do(x = 0; {("f"++(x=x+1)).asSymbol.envirPut(~freqmap.at(rrand(36, 91));)});
4510 //random notes button 2
4512 ~randombutton2 = Button.new(w,Rect(Window.screenBounds.width-20-20-20,~bpt+69+5-(20/~gm),20,20/1.6180339887499)).states_([["re",Color.white,Color.black]]).action_({arg button;
4514 if((~l1a.isRunning == true) or: (~l1a1.isRunning == true), {
4515 8.do(x = 0; {("f"++(x=x+1)).asSymbol.envirPut((~freqmap.at(127)/8).rand;)});
4521 //setgroup buttons, sg1-sg8
4523 ~setgroup1 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(20*4),~bpt+69+5,20,20/1.6180339887499)).states_([["g1",Color.white,Color.black],["s1",Color.green,Color.black]]).action_({arg button;
4525 if(button.value == 1, {
4526 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg1a1,~sg1a2,~sg1a3,~sg1a4,~sg1a5,~sg1a6,~sg1a7,~sg1a8,~sg1a9,~sg1a10,~sg1a11,~sg1a12];
4527 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg1b1,~sg1b2,~sg1b3,~sg1b4,~sg1b5,~sg1b6,~sg1b7,~sg1b8,~sg1b9,~sg1b10,~sg1b11,~sg1b12];
4528 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg1c1,~sg1c2,~sg1c3,~sg1c4,~sg1c5,~sg1c6,~sg1c7,~sg1c8,~sg1c9,~sg1c10,~sg1c11,~sg1c12];
4529 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg1d1,~sg1d2,~sg1d3,~sg1d4,~sg1d5,~sg1d6,~sg1d7,~sg1d8,~sg1d9,~sg1d10,~sg1d11,~sg1d12];
4530 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg1e1,~sg1e2,~sg1e3,~sg1e4,~sg1e5,~sg1e6,~sg1e7,~sg1e8,~sg1e9,~sg1e10,~sg1e11,~sg1e12];
4531 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg1f1,~sg1f2,~sg1f3,~sg1f4,~sg1f5,~sg1f6,~sg1f7,~sg1f8,~sg1f9,~sg1f10,~sg1f11,~sg1f12];
4532 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg1g1,~sg1g2,~sg1g3,~sg1g4,~sg1g5,~sg1g6,~sg1g7,~sg1g8,~sg1g9,~sg1g10,~sg1g11,~sg1g12];
4533 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg1h1,~sg1h2,~sg1h3,~sg1h4,~sg1h5,~sg1h6,~sg1h7,~sg1h8,~sg1h9,~sg1h10,~sg1h11,~sg1h12];
4535 ~setgroup2.value = 0;
4536 ~setgroup3.value = 0;
4537 ~setgroup4.value = 0;
4538 ~setgroup5.value = 0;
4539 ~setgroup6.value = 0;
4540 ~setgroup7.value = 0;
4541 ~setgroup8.value = 0;
4546 ~setgroup2 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(20*3),~bpt+69+5,20,20/1.6180339887499)).states_([["g2",Color.white,Color.black],["s2",Color.green,Color.black]]).action_({arg button;
4548 if(button.value == 1, {
4549 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg2a1,~sg2a2,~sg2a3,~sg2a4,~sg2a5,~sg2a6,~sg2a7,~sg2a8,~sg2a9,~sg2a10,~sg2a11,~sg2a12];
4550 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg2b1,~sg2b2,~sg2b3,~sg2b4,~sg2b5,~sg2b6,~sg2b7,~sg2b8,~sg2b9,~sg2b10,~sg2b11,~sg2b12];
4551 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg2c1,~sg2c2,~sg2c3,~sg2c4,~sg2c5,~sg2c6,~sg2c7,~sg2c8,~sg2c9,~sg2c10,~sg2c11,~sg2c12];
4552 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg2d1,~sg2d2,~sg2d3,~sg2d4,~sg2d5,~sg2d6,~sg2d7,~sg2d8,~sg2d9,~sg2d10,~sg2d11,~sg2d12];
4553 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg2e1,~sg2e2,~sg2e3,~sg2e4,~sg2e5,~sg2e6,~sg2e7,~sg2e8,~sg2e9,~sg2e10,~sg2e11,~sg2e12];
4554 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg2f1,~sg2f2,~sg2f3,~sg2f4,~sg2f5,~sg2f6,~sg2f7,~sg2f8,~sg2f9,~sg2f10,~sg2f11,~sg2f12];
4555 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg2g1,~sg2g2,~sg2g3,~sg2g4,~sg2g5,~sg2g6,~sg2g7,~sg2g8,~sg2g9,~sg2g10,~sg2g11,~sg2g12];
4556 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg2h1,~sg2h2,~sg2h3,~sg2h4,~sg2h5,~sg2h6,~sg2h7,~sg2h8,~sg2h9,~sg2h10,~sg2h11,~sg2h12];
4558 ~setgroup1.value = 0;
4559 ~setgroup3.value = 0;
4560 ~setgroup4.value = 0;
4561 ~setgroup5.value = 0;
4562 ~setgroup6.value = 0;
4563 ~setgroup7.value = 0;
4564 ~setgroup8.value = 0;
4569 ~setgroup3 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(20*2),~bpt+69+5,20,20/1.6180339887499)).states_([["g3",Color.white,Color.black],["s3",Color.green,Color.black]]).action_({arg button;
4571 if(button.value == 1, {
4572 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg3a1,~sg3a2,~sg3a3,~sg3a4,~sg3a5,~sg3a6,~sg3a7,~sg3a8,~sg3a9,~sg3a10,~sg3a11,~sg3a12];
4573 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg3b1,~sg3b2,~sg3b3,~sg3b4,~sg3b5,~sg3b6,~sg3b7,~sg3b8,~sg3b9,~sg3b10,~sg3b11,~sg3b12];
4574 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg3c1,~sg3c2,~sg3c3,~sg3c4,~sg3c5,~sg3c6,~sg3c7,~sg3c8,~sg3c9,~sg3c10,~sg3c11,~sg3c12];
4575 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg3d1,~sg3d2,~sg3d3,~sg3d4,~sg3d5,~sg3d6,~sg3d7,~sg3d8,~sg3d9,~sg3d10,~sg3d11,~sg3d12];
4576 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg3e1,~sg3e2,~sg3e3,~sg3e4,~sg3e5,~sg3e6,~sg3e7,~sg3e8,~sg3e9,~sg3e10,~sg3e11,~sg3e12];
4577 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg3f1,~sg3f2,~sg3f3,~sg3f4,~sg3f5,~sg3f6,~sg3f7,~sg3f8,~sg3f9,~sg3f10,~sg3f11,~sg3f12];
4578 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg3g1,~sg3g2,~sg3g3,~sg3g4,~sg3g5,~sg3g6,~sg3g7,~sg3g8,~sg3g9,~sg3g10,~sg3g11,~sg3g12];
4579 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg3h1,~sg3h2,~sg3h3,~sg3h4,~sg3h5,~sg3h6,~sg3h7,~sg3h8,~sg3h9,~sg3h10,~sg3h11,~sg3h12];
4581 ~setgroup1.value = 0;
4582 ~setgroup2.value = 0;
4583 ~setgroup4.value = 0;
4584 ~setgroup5.value = 0;
4585 ~setgroup6.value = 0;
4586 ~setgroup7.value = 0;
4587 ~setgroup8.value = 0;
4592 ~setgroup4 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(20*1),~bpt+69+5,20,20/1.6180339887499)).states_([["g4",Color.white,Color.black],["s4",Color.green,Color.black]]).action_({arg button;
4594 if(button.value == 1, {
4595 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg4a1,~sg4a2,~sg4a3,~sg4a4,~sg4a5,~sg4a6,~sg4a7,~sg4a8,~sg4a9,~sg4a10,~sg4a11,~sg4a12];
4596 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg4b1,~sg4b2,~sg4b3,~sg4b4,~sg4b5,~sg4b6,~sg4b7,~sg4b8,~sg4b9,~sg4b10,~sg4b11,~sg4b12];
4597 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg4c1,~sg4c2,~sg4c3,~sg4c4,~sg4c5,~sg4c6,~sg4c7,~sg4c8,~sg4c9,~sg4c10,~sg4c11,~sg4c12];
4598 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg4d1,~sg4d2,~sg4d3,~sg4d4,~sg4d5,~sg4d6,~sg4d7,~sg4d8,~sg4d9,~sg4d10,~sg4d11,~sg4d12];
4599 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg4e1,~sg4e2,~sg4e3,~sg4e4,~sg4e5,~sg4e6,~sg4e7,~sg4e8,~sg4e9,~sg4e10,~sg4e11,~sg4e12];
4600 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg4f1,~sg4f2,~sg4f3,~sg4f4,~sg4f5,~sg4f6,~sg4f7,~sg4f8,~sg4f9,~sg4f10,~sg4f11,~sg4f12];
4601 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg4g1,~sg4g2,~sg4g3,~sg4g4,~sg4g5,~sg4g6,~sg4g7,~sg4g8,~sg4g9,~sg4g10,~sg4g11,~sg4g12];
4602 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg4h1,~sg4h2,~sg4h3,~sg4h4,~sg4h5,~sg4h6,~sg4h7,~sg4h8,~sg4h9,~sg4h10,~sg4h11,~sg4h12];
4604 ~setgroup1.value = 0;
4605 ~setgroup2.value = 0;
4606 ~setgroup3.value = 0;
4607 ~setgroup5.value = 0;
4608 ~setgroup6.value = 0;
4609 ~setgroup7.value = 0;
4610 ~setgroup8.value = 0;
4615 ~setgroup5 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(0*1),~bpt+69+5,20,20/1.6180339887499)).states_([["g5",Color.white,Color.black],["s5",Color.green,Color.black]]).action_({arg button;
4617 if(button.value == 1, {
4618 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg5a1,~sg5a2,~sg5a3,~sg5a4,~sg5a5,~sg5a6,~sg5a7,~sg5a8,~sg5a9,~sg5a10,~sg5a11,~sg5a12];
4619 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg5b1,~sg5b2,~sg5b3,~sg5b4,~sg5b5,~sg5b6,~sg5b7,~sg5b8,~sg5b9,~sg5b10,~sg5b11,~sg5b12];
4620 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg5c1,~sg5c2,~sg5c3,~sg5c4,~sg5c5,~sg5c6,~sg5c7,~sg5c8,~sg5c9,~sg5c10,~sg5c11,~sg5c12];
4621 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg5d1,~sg5d2,~sg5d3,~sg5d4,~sg5d5,~sg5d6,~sg5d7,~sg5d8,~sg5d9,~sg5d10,~sg5d11,~sg5d12];
4622 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg5e1,~sg5e2,~sg5e3,~sg5e4,~sg5e5,~sg5e6,~sg5e7,~sg5e8,~sg5e9,~sg5e10,~sg5e11,~sg5e12];
4623 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg5f1,~sg5f2,~sg5f3,~sg5f4,~sg5f5,~sg5f6,~sg5f7,~sg5f8,~sg5f9,~sg5f10,~sg5f11,~sg5f12];
4624 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg5g1,~sg5g2,~sg5g3,~sg5g4,~sg5g5,~sg5g6,~sg5g7,~sg5g8,~sg5g9,~sg5g10,~sg5g11,~sg5g12];
4625 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg5h1,~sg5h2,~sg5h3,~sg5h4,~sg5h5,~sg5h6,~sg5h7,~sg5h8,~sg5h9,~sg5h10,~sg5h11,~sg5h12];
4627 ~setgroup1.value = 0;
4628 ~setgroup2.value = 0;
4629 ~setgroup3.value = 0;
4630 ~setgroup4.value = 0;
4631 ~setgroup6.value = 0;
4632 ~setgroup7.value = 0;
4633 ~setgroup8.value = 0;
4638 ~setgroup6 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(20*1),~bpt+69+5,20,20/1.6180339887499)).states_([["g6",Color.white,Color.black],["s6",Color.green,Color.black]]).action_({arg button;
4640 if(button.value == 1, {
4641 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg6a1,~sg6a2,~sg6a3,~sg6a4,~sg6a5,~sg6a6,~sg6a7,~sg6a8,~sg6a9,~sg6a10,~sg6a11,~sg6a12];
4642 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg6b1,~sg6b2,~sg6b3,~sg6b4,~sg6b5,~sg6b6,~sg6b7,~sg6b8,~sg6b9,~sg6b10,~sg6b11,~sg6b12];
4643 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg6c1,~sg6c2,~sg6c3,~sg6c4,~sg6c5,~sg6c6,~sg6c7,~sg6c8,~sg6c9,~sg6c10,~sg6c11,~sg6c12];
4644 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg6d1,~sg6d2,~sg6d3,~sg6d4,~sg6d5,~sg6d6,~sg6d7,~sg6d8,~sg6d9,~sg6d10,~sg6d11,~sg6d12];
4645 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg6e1,~sg6e2,~sg6e3,~sg6e4,~sg6e5,~sg6e6,~sg6e7,~sg6e8,~sg6e9,~sg6e10,~sg6e11,~sg6e12];
4646 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg6f1,~sg6f2,~sg6f3,~sg6f4,~sg6f5,~sg6f6,~sg6f7,~sg6f8,~sg6f9,~sg6f10,~sg6f11,~sg6f12];
4647 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg6g1,~sg6g2,~sg6g3,~sg6g4,~sg6g5,~sg6g6,~sg6g7,~sg6g8,~sg6g9,~sg6g10,~sg6g11,~sg6g12];
4648 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg6h1,~sg6h2,~sg6h3,~sg6h4,~sg6h5,~sg6h6,~sg6h7,~sg6h8,~sg6h9,~sg6h10,~sg6h11,~sg6h12];
4650 ~setgroup1.value = 0;
4651 ~setgroup2.value = 0;
4652 ~setgroup3.value = 0;
4653 ~setgroup4.value = 0;
4654 ~setgroup5.value = 0;
4655 ~setgroup7.value = 0;
4656 ~setgroup8.value = 0;
4661 ~setgroup7 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(20*2),~bpt+69+5,20,20/1.6180339887499)).states_([["g7",Color.white,Color.black],["s7",Color.green,Color.black]]).action_({arg button;
4663 if(button.value == 1, {
4664 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg7a1,~sg7a2,~sg7a3,~sg7a4,~sg7a5,~sg7a6,~sg7a7,~sg7a8,~sg7a9,~sg7a10,~sg7a11,~sg7a12];
4665 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg7b1,~sg7b2,~sg7b3,~sg7b4,~sg7b5,~sg7b6,~sg7b7,~sg7b8,~sg7b9,~sg7b10,~sg7b11,~sg7b12];
4666 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg7c1,~sg7c2,~sg7c3,~sg7c4,~sg7c5,~sg7c6,~sg7c7,~sg7c8,~sg7c9,~sg7c10,~sg7c11,~sg7c12];
4667 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg7d1,~sg7d2,~sg7d3,~sg7d4,~sg7d5,~sg7d6,~sg7d7,~sg7d8,~sg7d9,~sg7d10,~sg7d11,~sg7d12];
4668 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg7e1,~sg7e2,~sg7e3,~sg7e4,~sg7e5,~sg7e6,~sg7e7,~sg7e8,~sg7e9,~sg7e10,~sg7e11,~sg7e12];
4669 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg7f1,~sg7f2,~sg7f3,~sg7f4,~sg7f5,~sg7f6,~sg7f7,~sg7f8,~sg7f9,~sg7f10,~sg7f11,~sg7f12];
4670 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg7g1,~sg7g2,~sg7g3,~sg7g4,~sg7g5,~sg7g6,~sg7g7,~sg7g8,~sg7g9,~sg7g10,~sg7g11,~sg7g12];
4671 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg7h1,~sg7h2,~sg7h3,~sg7h4,~sg7h5,~sg7h6,~sg7h7,~sg7h8,~sg7h9,~sg7h10,~sg7h11,~sg7h12];
4673 ~setgroup1.value = 0;
4674 ~setgroup2.value = 0;
4675 ~setgroup3.value = 0;
4676 ~setgroup4.value = 0;
4677 ~setgroup5.value = 0;
4678 ~setgroup6.value = 0;
4679 ~setgroup8.value = 0;
4684 ~setgroup8 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(20*3),~bpt+69+5,20,20/1.6180339887499)).states_([["g8",Color.white,Color.black],["s8",Color.green,Color.black]]).action_({arg button;
4686 if(button.value == 1, {
4687 #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12=[~sg8a1,~sg8a2,~sg8a3,~sg8a4,~sg8a5,~sg8a6,~sg8a7,~sg8a8,~sg8a9,~sg8a10,~sg8a11,~sg8a12];
4688 #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b=[~sg8b1,~sg8b2,~sg8b3,~sg8b4,~sg8b5,~sg8b6,~sg8b7,~sg8b8,~sg8b9,~sg8b10,~sg8b11,~sg8b12];
4689 #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c=[~sg8c1,~sg8c2,~sg8c3,~sg8c4,~sg8c5,~sg8c6,~sg8c7,~sg8c8,~sg8c9,~sg8c10,~sg8c11,~sg8c12];
4690 #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d=[~sg8d1,~sg8d2,~sg8d3,~sg8d4,~sg8d5,~sg8d6,~sg8d7,~sg8d8,~sg8d9,~sg8d10,~sg8d11,~sg8d12];
4691 #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e=[~sg8e1,~sg8e2,~sg8e3,~sg8e4,~sg8e5,~sg8e6,~sg8e7,~sg8e8,~sg8e9,~sg8e10,~sg8e11,~sg8e12];
4692 #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f=[~sg8f1,~sg8f2,~sg8f3,~sg8f4,~sg8f5,~sg8f6,~sg8f7,~sg8f8,~sg8f9,~sg8f10,~sg8f11,~sg8f12];
4693 #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g=[~sg8g1,~sg8g2,~sg8g3,~sg8g4,~sg8g5,~sg8g6,~sg8g7,~sg8g8,~sg8g9,~sg8g10,~sg8g11,~sg8g12];
4694 #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h=[~sg8h1,~sg8h2,~sg8h3,~sg8h4,~sg8h5,~sg8h6,~sg8h7,~sg8h8,~sg8h9,~sg8h10,~sg8h11,~sg8h12];
4696 ~setgroup1.value = 0;
4697 ~setgroup2.value = 0;
4698 ~setgroup3.value = 0;
4699 ~setgroup4.value = 0;
4700 ~setgroup5.value = 0;
4701 ~setgroup6.value = 0;
4702 ~setgroup7.value = 0;
4709 //if setgroup values are nil
4711 if(~setgroupval == nil, {~setgroup1.value = 1;});
4712 if(~setgroupval == 1, {~setgroup1.value = 1;});
4713 if(~setgroupval == 2, {~setgroup2.value = 1;});
4714 if(~setgroupval == 3, {~setgroup3.value = 1;});
4715 if(~setgroupval == 4, {~setgroup4.value = 1;});
4716 if(~setgroupval == 5, {~setgroup5.value = 1;});
4717 if(~setgroupval == 6, {~setgroup6.value = 1;});
4718 if(~setgroupval == 7, {~setgroup7.value = 1;});
4719 if(~setgroupval == 8, {~setgroup8.value = 1;});
4722 //save chord notes buttons, s1-s8
4724 n1 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(60*2),Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["s1",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1=fp1;~r2=fp2;~r3=fp3;~r4=fp4;~r5=fp5;~r6=fp6;~r7=fp7;~r8=fp8;~r9=fp9;~r10=fp10;~r11=fp11;~r12=fp12; #fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12/*,fp13,fp14,fp15,fp16,fp17,fp18,fp19,fp20,fp21,fp22,fp23,fp24*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1=~f1;~u2=~f2;~u3=~f3;~u4=~f4;~u5=~f5;~u6=~f6;~u7=~f7;~u8=~f8;~u9=~f9;~u10=~f10;~u11=~f11;~u12=~f12; ~si1aset.value;~si1bset.value;
4726 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4727 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4728 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4729 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4730 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4731 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4732 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4733 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8a"++(x=x+1)).asSymbol.envirPut([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12].at(x-1))});});
4735 n1.states_([["s1",Color.green,Color.black]]);
4736 n2.states_([["s2",Color.white,Color.black]]);
4737 n3.states_([["s3",Color.white,Color.black]]);
4738 n4.states_([["s4",Color.white,Color.black]]);
4739 n5.states_([["s5",Color.white,Color.black]]);
4740 n6.states_([["s6",Color.white,Color.black]]);
4741 n7.states_([["s7",Color.white,Color.black]]);
4742 n8.states_([["s8",Color.white,Color.black]]);
4745 n2 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(60*1),Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["s2",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1b=fp1b;~r2b=fp2b;~r3b=fp3b;~r4b=fp4b;~r5b=fp5b;~r6b=fp6b;~r7b=fp7b;~r8b=fp8b;~r9b=fp9b;~r10b=fp10b;~r11b=fp11b;~r12b=fp12b; #fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b/*,fp13b,fp14b,fp15b,fp16b,fp17b,fp18b,fp19b,fp20b,fp21b,fp22b,fp23b,fp24b*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1b=~f1;~u2b=~f2;~u3b=~f3;~u4b=~f4;~u5b=~f5;~u6b=~f6;~u7b=~f7;~u8b=~f8;~u9b=~f9;~u10b=~f10;~u11b=~f11;~u12b=~f12; ~si2set.value;
4747 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4748 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4749 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4750 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4751 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4752 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4753 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4754 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8b"++(x=x+1)).asSymbol.envirPut([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b].at(x-1))});});
4756 n1.states_([["s1",Color.white,Color.black]]);
4757 n2.states_([["s2",Color.green,Color.black]]);
4758 n3.states_([["s3",Color.white,Color.black]]);
4759 n4.states_([["s4",Color.white,Color.black]]);
4760 n5.states_([["s5",Color.white,Color.black]]);
4761 n6.states_([["s6",Color.white,Color.black]]);
4762 n7.states_([["s7",Color.white,Color.black]]);
4763 n8.states_([["s8",Color.white,Color.black]]);
4765 n3 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(0), Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["s3",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1c=fp1c;~r2c=fp2c;~r3c=fp3c;~r4c=fp4c;~r5c=fp5c;~r6c=fp6c;~r7c=fp7c;~r8c=fp8c;~r9c=fp9c;~r10c=fp10c;~r11c=fp11c;~r12c=fp12c; #fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c/*,fp13c,fp14c,fp15c,fp16c,fp17c,fp18c,fp19c,fp20c,fp21c,fp22c,fp23c,fp24c*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1c=~f1;~u2c=~f2;~u3c=~f3;~u4c=~f4;~u5c=~f5;~u6c=~f6;~u7c=~f7;~u8c=~f8;~u9c=~f9;~u10c=~f10;~u11c=~f11;~u12c=~f12; ~si3set.value;
4767 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4768 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4769 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4770 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4771 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4772 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4773 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4774 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8c"++(x=x+1)).asSymbol.envirPut([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c].at(x-1))});});
4776 n1.states_([["s1",Color.white,Color.black]]);
4777 n2.states_([["s2",Color.white,Color.black]]);
4778 n3.states_([["s3",Color.green,Color.black]]);
4779 n4.states_([["s4",Color.white,Color.black]]);
4780 n5.states_([["s5",Color.white,Color.black]]);
4781 n6.states_([["s6",Color.white,Color.black]]);
4782 n7.states_([["s7",Color.white,Color.black]]);
4783 n8.states_([["s8",Color.white,Color.black]]);
4785 n4 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(60*1),Window.screenBounds.height-88,60,60/1.6180339887499)).states_([["s4",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1d=fp1d;~r2d=fp2d;~r3d=fp3d;~r4d=fp4d;~r5d=fp5d;~r6d=fp6d;~r7d=fp7d;~r8d=fp8d;~r9d=fp9d;~r10d=fp10d;~r11d=fp11d;~r12d=fp12d; #fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d/*,fp13d,fp14d,fp15d,fp16d,fp17d,fp18d,fp19d,fp20d,fp21d,fp22d,fp23d,fp24d*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1d=~f1;~u2d=~f2;~u3d=~f3;~u4d=~f4;~u5d=~f5;~u6d=~f6;~u7d=~f7;~u8d=~f8;~u9d=~f9;~u10d=~f10;~u11d=~f11;~u12d=~f12; ~si4set.value;
4787 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4788 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4789 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4790 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4791 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4792 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4793 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4794 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8d"++(x=x+1)).asSymbol.envirPut([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d].at(x-1))});});
4796 n1.states_([["s1",Color.white,Color.black]]);
4797 n2.states_([["s2",Color.white,Color.black]]);
4798 n3.states_([["s3",Color.white,Color.black]]);
4799 n4.states_([["s4",Color.green,Color.black]]);
4800 n5.states_([["s5",Color.white,Color.black]]);
4801 n6.states_([["s6",Color.white,Color.black]]);
4802 n7.states_([["s7",Color.white,Color.black]]);
4803 n8.states_([["s8",Color.white,Color.black]]);
4805 n5 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(60*2),Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["s5",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1e=fp1e;~r2e=fp2e;~r3e=fp3e;~r4e=fp4e;~r5e=fp5e;~r6e=fp6e;~r7e=fp7e;~r8e=fp8e;~r9e=fp9e;~r10e=fp10e;~r11e=fp11e;~r12e=fp12e; #fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e/*,fp13e,fp14e,fp15e,fp16e,fp17e,fp18e,fp19e,fp20e,fp21e,fp22e,fp23e,fp24e*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1e=~f1;~u2e=~f2;~u3e=~f3;~u4e=~f4;~u5e=~f5;~u6e=~f6;~u7e=~f7;~u8e=~f8;~u9e=~f9;~u10e=~f10;~u11e=~f11;~u12e=~f12; ~si5set.value;
4807 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4808 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4809 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4810 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4811 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4812 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4813 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4814 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8e"++(x=x+1)).asSymbol.envirPut([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e].at(x-1))});});
4816 n1.states_([["s1",Color.white,Color.black]]);
4817 n2.states_([["s2",Color.white,Color.black]]);
4818 n3.states_([["s3",Color.white,Color.black]]);
4819 n4.states_([["s4",Color.white,Color.black]]);
4820 n5.states_([["s5",Color.green,Color.black]]);
4821 n6.states_([["s6",Color.white,Color.black]]);
4822 n7.states_([["s7",Color.white,Color.black]]);
4823 n8.states_([["s8",Color.white,Color.black]]);
4825 n6 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)-(60*1),Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["s6",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1f=fp1f;~r2f=fp2f;~r3f=fp3f;~r4f=fp4f;~r5f=fp5f;~r6f=fp6f;~r7f=fp7f;~r8f=fp8f;~r9f=fp9f;~r10f=fp10f;~r11f=fp11f;~r12f=fp12f; #fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f/*,fp13f,fp14f,fp15f,fp16f,fp17f,fp18f,fp19f,fp20f,fp21f,fp22f,fp23f,fp24f*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1f=~f1;~u2f=~f2;~u3f=~f3;~u4f=~f4;~u5f=~f5;~u6f=~f6;~u7f=~f7;~u8f=~f8;~u9f=~f9;~u10f=~f10;~u11e=~f11;~u12f=~f12; ~si6set.value;
4827 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4828 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4829 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4830 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4831 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4832 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4833 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4834 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8f"++(x=x+1)).asSymbol.envirPut([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f].at(x-1))});});
4836 n1.states_([["s1",Color.white,Color.black]]);
4837 n2.states_([["s2",Color.white,Color.black]]);
4838 n3.states_([["s3",Color.white,Color.black]]);
4839 n4.states_([["s4",Color.white,Color.black]]);
4840 n5.states_([["s5",Color.white,Color.black]]);
4841 n6.states_([["s6",Color.green,Color.black]]);
4842 n7.states_([["s7",Color.white,Color.black]]);
4843 n8.states_([["s8",Color.white,Color.black]]);
4845 n7 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(0), Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["s7",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1g=fp1g;~r2g=fp2g;~r3g=fp3g;~r4g=fp4g;~r5g=fp5g;~r6g=fp6g;~r7g=fp7g;~r8g=fp8g;~r9g=fp9g;~r10g=fp10g;~r11g=fp11g;~r12g=fp12g; #fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g/*,fp13g,fp14g,fp15g,fp16g,fp17g,fp18g,fp19g,fp20g,fp21g,fp22g,fp23g,fp24g*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1g=~f1;~u2g=~f2;~u3g=~f3;~u4g=~f4;~u5g=~f5;~u6g=~f6;~u7g=~f7;~u8g=~f8;~u9g=~f9;~u10g=~f10;~u11f=~f11;~u12g=~f12; ~si7set.value;
4847 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4848 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4849 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4850 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4851 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4852 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4853 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4854 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8g"++(x=x+1)).asSymbol.envirPut([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g].at(x-1))});});
4856 n1.states_([["s1",Color.white,Color.black]]);
4857 n2.states_([["s2",Color.white,Color.black]]);
4858 n3.states_([["s3",Color.white,Color.black]]);
4859 n4.states_([["s4",Color.white,Color.black]]);
4860 n5.states_([["s5",Color.white,Color.black]]);
4861 n6.states_([["s6",Color.white,Color.black]]);
4862 n7.states_([["s7",Color.green,Color.black]]);
4863 n8.states_([["s8",Color.white,Color.black]]);
4865 n8 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/2)+(60*1),Window.screenBounds.height-52,60,60/1.6180339887499)).states_([["s8",Color.white,Color.black]]).action_({arg button; button.value.postln}).action_({arg button; if(button.value == 0, {~r1h=fp1h;~r2h=fp2h;~r3h=fp3h;~r4h=fp4h;~r5h=fp5h;~r6h=fp6h;~r7h=fp7h;~r8h=fp8h;~r9h=fp9h;~r10h=fp10h;~r11h=fp11h;~r12h=fp12h; #fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h/*,fp13h,fp14h,fp15h,fp16h,fp17h,fp18h,fp19h,fp20h,fp21h,fp22h,fp23h,fp24h*/ = [ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ]; "s"++"\n"++[ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ].asString.postString; ~u1h=~f1;~u2h=~f2;~u3h=~f3;~u4h=~f4;~u5h=~f5;~u6h=~f6;~u7h=~f7;~u8h=~f8;~u9h=~f9;~u10h=~f10;~u11g=~f11;~u12h=~f12; ~si8set.value;
4867 if(~setgroup1.value == 1, {12.do(x = 0; {("sg1h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4868 if(~setgroup2.value == 1, {12.do(x = 0; {("sg2h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4869 if(~setgroup3.value == 1, {12.do(x = 0; {("sg3h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4870 if(~setgroup4.value == 1, {12.do(x = 0; {("sg4h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4871 if(~setgroup5.value == 1, {12.do(x = 0; {("sg5h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4872 if(~setgroup6.value == 1, {12.do(x = 0; {("sg6h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4873 if(~setgroup7.value == 1, {12.do(x = 0; {("sg7h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4874 if(~setgroup8.value == 1, {12.do(x = 0; {("sg8h"++(x=x+1)).asSymbol.envirPut([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h].at(x-1))});});
4876 n1.states_([["s1",Color.white,Color.black]]);
4877 n2.states_([["s2",Color.white,Color.black]]);
4878 n3.states_([["s3",Color.white,Color.black]]);
4879 n4.states_([["s4",Color.white,Color.black]]);
4880 n5.states_([["s5",Color.white,Color.black]]);
4881 n6.states_([["s6",Color.white,Color.black]]);
4882 n7.states_([["s7",Color.white,Color.black]]);
4883 n8.states_([["s8",Color.green,Color.black]]);
4887 //undo saved chord pop-up menu
4889 ~undo = PopUpMenu(w, Rect(Window.screenBounds.width-(Window.screenBounds.width/3)+39,Window.screenBounds.height-52+19.777087639995-(40/1.6180339887499)-8,40,40/1.6180339887499)).items_(["uc","u1","u2","u3","u4","u5","u6","u7","u8"]).background_(Color.black).stringColor_(Color.white).action_({arg button;});
4892 //set button for undo pop-up menu
4894 set2 = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/3)+40+39,Window.screenBounds.height-52+19.777087639995-(40/1.6180339887499)-8,40,40/1.6180339887499)).states_([["set",Color.white,Color.black]]).action_({arg button;
4896 {~undo.value == 0}{if(([ ~f1,~f2,~f3,~f4,~f5,~f6,~f7,~f8,~f9,~f10,~f11,~f12 ] != [~undof1,~undof2,~undof3,~undof4,~undof5,~undof6,~undof7,~undof8,~undof9,~undof10,~undof11,~undof12]).postln, {12.do(x = 0; {("f"++(x=x+1)).asSymbol.envirPut([~undof1,~undof2,~undof3,~undof4,~undof5,~undof6,~undof7,~undof8,~undof9,~undof10,~undof11,~undof12].at(x-1))});}/*,{12.do(x = 0; {("f"++(x=x+1)).asSymbol.envirPut([~redof1,~redof2,~redof3,~redof4,~redof5,~redof6,~redof7,~redof8,~redof9,~redof10,~redof11,~redof12].at(x-1))});}*/);~undo.value = 0;}
4897 {~undo.value == 1}{if(([fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12] == [~r1,~r2,~r3,~r4,~r5,~r6,~r7,~r8,~r9,~r10,~r11,~r12]).postln, {#fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12 = [~u1,~u2,~u3,~u4,~u5,~u6,~u7,~u8,~u9,~u10,~u11,~u12]},{#fp1,fp2,fp3,fp4,fp5,fp6,fp7,fp8,fp9,fp10,fp11,fp12 = [~r1,~r2,~r3,~r4,~r5,~r6,~r7,~r8,~r9,~r10,~r11,~r12]});~undo.value = 0;}
4898 {~undo.value == 2}{if([fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b] == [~r1b,~r2b,~r3b,~r4b,~r5b,~r6b,~r7b,~r8b,~r9b,~r10b,~r11b,~r12b], {#fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b = [~u1b,~u2b,~u3b,~u4b,~u5b,~u6b,~u7b,~u8b,~u9b,~u10b,~u11b,~u12b]},{#fp1b,fp2b,fp3b,fp4b,fp5b,fp6b,fp7b,fp8b,fp9b,fp10b,fp11b,fp12b = [~r1b,~r2b,~r3b,~r4b,~r5b,~r6b,~r7b,~r8b,~r9b,~r10b,~r11b,~r12b]});~undo.value = 0;}
4899 {~undo.value == 3}{if([fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c] == [~r1c,~r2c,~r3c,~r4c,~r5c,~r6c,~r7c,~r8c,~r9c,~r10c,~r11c,~r12c], {#fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c = [~u1c,~u2c,~u3c,~u4c,~u5c,~u6c,~u7c,~u8c,~u9c,~u10c,~u11c,~u12c]},{#fp1c,fp2c,fp3c,fp4c,fp5c,fp6c,fp7c,fp8c,fp9c,fp10c,fp11c,fp12c = [~r1c,~r2c,~r3c,~r4c,~r5c,~r6c,~r7c,~r8c,~r9c,~r10c,~r11c,~r12c]});~undo.value = 0;}
4900 {~undo.value == 4}{if([fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d] == [~r1d,~r2d,~r3d,~r4d,~r5d,~r6d,~r7d,~r8d,~r9d,~r10d,~r11d,~r12d], {#fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d = [~u1d,~u2d,~u3d,~u4d,~u5d,~u6d,~u7d,~u8d,~u9d,~u10d,~u11d,~u12d]},{#fp1d,fp2d,fp3d,fp4d,fp5d,fp6d,fp7d,fp8d,fp9d,fp10d,fp11d,fp12d = [~r1d,~r2d,~r3d,~r4d,~r5d,~r6d,~r7d,~r8d,~r9d,~r10d,~r11d,~r12d]});~undo.value = 0;}
4901 {~undo.value == 5}{if([fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e] == [~r1e,~r2e,~r3e,~r4e,~r5e,~r6e,~r7e,~r8e,~r9e,~r10e,~r11e,~r12e], {#fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e = [~u1e,~u2e,~u3e,~u4e,~u5e,~u6e,~u7e,~u8e,~u9e,~u10e,~u11e,~u12e]},{#fp1e,fp2e,fp3e,fp4e,fp5e,fp6e,fp7e,fp8e,fp9e,fp10e,fp11e,fp12e = [~r1e,~r2e,~r3e,~r4e,~r5e,~r6e,~r7e,~r8e,~r9e,~r10e,~r11e,~r12e]});~undo.value = 0;}
4902 {~undo.value == 6}{if([fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f] == [~r1f,~r2f,~r3f,~r4f,~r5f,~r6f,~r7f,~r8f,~r9f,~r10f,~r11f,~r12f], {#fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f = [~u1f,~u2f,~u3f,~u4f,~u5f,~u6f,~u7f,~u8f,~u9f,~u10f,~u11f,~u12f]},{#fp1f,fp2f,fp3f,fp4f,fp5f,fp6f,fp7f,fp8f,fp9f,fp10f,fp11f,fp12f = [~r1f,~r2f,~r3f,~r4f,~r5f,~r6f,~r7f,~r8f,~r9f,~r10f,~r11f,~r12f]});~undo.value = 0;}
4903 {~undo.value == 7}{if([fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g] == [~r1g,~r2g,~r3g,~r4g,~r5g,~r6g,~r7g,~r8g,~r9g,~r10g,~r11g,~r12g], {#fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g = [~u1g,~u2g,~u3g,~u4g,~u5g,~u6g,~u7g,~u8g,~u9g,~u10g,~u11g,~u12g]},{#fp1g,fp2g,fp3g,fp4g,fp5g,fp6g,fp7g,fp8g,fp9g,fp10g,fp11g,fp12g = [~r1g,~r2g,~r3g,~r4g,~r5g,~r6g,~r7g,~r8g,~r9g,~r10g,~r11g,~r12g]});~undo.value = 0;}
4904 {~undo.value == 8}{if([fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h] == [~r1h,~r2h,~r3h,~r4h,~r5h,~r6h,~r7h,~r8h,~r9h,~r10h,~r11h,~r12h], {#fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h = [~u1h,~u2h,~u3h,~u4h,~u5h,~u6h,~u7h,~u8h,~u9h,~u10h,~u11h,~u12h]},{#fp1h,fp2h,fp3h,fp4h,fp5h,fp6h,fp7h,fp8h,fp9h,fp10h,fp11h,fp12h = [~r1h,~r2h,~r3h,~r4h,~r5h,~r6h,~r7h,~r8h,~r9h,~r10h,~r11h,~r12h]});~undo.value = 0;};
4911 ~gsinemenu = PopUpMenu(w, Rect(20+60*2+16+120,Window.screenBounds.height-88+(30/1.6180339887499*0),60,60/1.6180339887499)).items_(["gs1","gs2","gs3"]).background_(Color.black).stringColor_(Color.white).action_({arg button;
4913 if(~gsinemenu.value == 0, {~gsine = ~gsine1; ~gs = 0;});
4914 if(~gsinemenu.value == 1, {~gsine = ~gsine2; ~gs = 1;});
4915 if(~gsinemenu.value == 2, {~gsine = ~gsine3; ~gs = 2;});
4919 if(~gs == nil, {~gs = 0;});
4922 {~gs == 0}{~gsinemenu.value = 0;}
4923 {~gs == 1}{~gsinemenu.value = 1;}
4924 {~gs == 2}{~gsinemenu.value = 2;};
4927 //record/stop record button
4929 ~startrecord = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/3)+39,Window.screenBounds.height-52+19.777087639995,28,28/1.6180339887499)).states_([["rc",Color.white,Color.black],["/rc",Color.black,Color.red]]).action_({arg button;
4931 if(button.value == 1, {~numsynths.stop; s.record; if(button.value == 0, {button.value = 1});},
4932 {s.stopRecording; ~startrecord.value = 0; ~pauserecord.value = 0; ~numsynths.stop; ~numsynths.play;});
4936 //pause record button
4938 ~pauserecord = Button.new(w,Rect(Window.screenBounds.width-(Window.screenBounds.width/3)+28+39,Window.screenBounds.height-52+19.777087639995,28,28/1.6180339887499)).states_([["prc",Color.white,Color.black],["/prc",Color.black,Color.blue]]).action_({arg button; if(button == 1, {Server.default.pauseRecording;}, {Server.default.record});});
4941 //minimize GUI window button
4943 ~min = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5-(20/1.6180339887499),20,20/1.6180339887499)).states_([["m",Color.white,Color.black]]).action_({arg button; w.minimize;});
4946 //close GUI window button
4948 ~close = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5,20,20/1.6180339887499)).states_([["c",Color.white,Color.black]]).action_({arg button;
4950 if(~closemessage != nil, {~closemessage.close}, {nil});
4951 ~closemessage = View(w, Rect(Window.screenBounds.width-(340+46),Window.screenBounds.height-(340+46/1.6180339887499)-110,340+46,340+46/1.6180339887499)).background_(Color.black).front;
4952 ~closemessagestring = StaticText(~closemessage, Rect(0,0,340+46,340+46/1.6180339887499)).background_(Color.black);
4953 ~closemessagestring.align = \center;
4954 ~closemessagestring.string ="Close Timewave Synth?";
4955 ~closemessagestring.stringColor = Color.white;
4956 ~closemessagebutton1 = Button.new(~closemessage,Rect(120-46+40,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["Yes",Color.white,Color.black]]).action_({AppClock.sched(0, {w.close; Task({1.do({if(~l1a.isRunning == true or: ~l1a1.isRunning == true, {~synthfree.value;}, {nil}); 1.wait; s.freeAll;});}).play;});});
4957 ~closemessagebutton2 = Button.new(~closemessage,Rect(320+46-130,340/1.6180339887499-30,46,46/1.6180339887499)).states_([["No",Color.white,Color.black]]).action_({AppClock.sched(0, {~closemessage.close;});});
4958 ~closemessage.front;
4963 w.front; w.fullScreen;
4965 //Developed by Ken Brant (ken_brant@ymail.com)
4971 //Interpreted King Wen Sequences
4975 (#a,b,c,d,e,f = /*[ 128.43436842029,128.43436842029,128.43436842029,128.43436842029,128.43436842029,128.43436842029 ]*/
4976 [ ~basefreq,~basefreq,~basefreq,~basefreq,~basefreq,~basefreq ];
4977 ~a = a; ~b = b; ~c =c; ~d = d; ~e = e;~f=f;);
4979 ~fth = 1.4142135623729;
4981 /*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],
4982 /*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],
4983 /*3*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],
4984 /*4*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],
4985 /*5*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],
4986 /*6*/ [ a = a*n1*~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],
4987 /*7*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1 ],
4988 /*8*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],
4989 /*9*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1*~fth, f = f*n1*~fth ],
4990 /*10*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],
4991 /*11*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],
4992 /*12*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],
4993 /*13*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],
4994 /*14*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],
4995 /*15*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],
4996 /*16*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],
4997 /*17*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],
4998 /*18*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],
4999 /*19*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],
5000 /*20*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1/~fth ],
5001 /*21*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],
5002 /*22*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],
5003 /*23*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1, f = f*n1/~fth ],
5004 /*24*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],
5005 /*25*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1, e = e*n1, f = f*n1 ],
5006 /*26*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],
5007 /*27*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],
5008 /*28*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1/~fth ],
5009 /*29*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],
5010 /*30*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1*~fth ],
5011 /*31*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],
5012 /*32*/ [ a = a*n1, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1 ],
5013 /*33*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],
5014 /*34*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1*~fth ],
5015 /*35*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],
5016 /*36*/ [ a = a*n1/~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],
5017 /*37*/ [ a = a*n1*~fth, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],
5018 /*38*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],
5019 /*39*/ [ a = a*n1/~fth, b = b*n1*~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],
5020 /*40*/ [ a = a*n1, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1 ],
5021 /*41*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],
5022 /*42*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1/~fth, f = f*n1 ],
5023 /*43*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],
5024 /*44*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],
5025 /*45*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1 ],
5026 /*46*/ [ a = a*n1, b = b*n1/~fth, c = c*n1/~fth, d = d*n1*~fth, e = e*n1*~fth, f = f*n1 ],
5027 /*47*/ [ a = a*n1, b = b*n1*~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1 ],
5028 /*48*/ [ a = a*n1, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1 ],
5029 /*49*/ [ a = a*n1, b = b*n1, c = c*n1*~fth, d = d*n1, e = e*n1/~fth, f = f*n1*~fth ],
5030 /*50*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1, d = d*n1, e = e*n1*~fth, f = f*n1/~fth ],
5031 /*51*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1/~fth, e = e*n1/~fth, f = f*n1*~fth ],
5032 /*52*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1*~fth, e = e*n1, f = f*n1/~fth ],
5033 /*53*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],
5034 /*54*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1*~fth ],
5035 /*55*/ [ a = a*n1, b = b*n1, c = c*n1, d = d*n1*~fth, e = e*n1/~fth, f = f*n1 ],
5036 /*56*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1/~fth ],
5037 /*57*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1*~fth, f = f*n1 ],
5038 /*58*/ [ a = a*n1/~fth, b = b*n1, c = c*n1*~fth, d = d*n1/~fth, e = e*n1, f = f*n1*~fth ],
5039 /*59*/ [ a = a*n1*~fth, b = b*n1, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1/~fth ],
5040 /*60*/ [ a = a*n1/~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1*~fth ],
5041 /*61*/ [ a = a*n1*~fth, b = b*n1, c = c*n1, d = d*n1, e = e*n1, f = f*n1 ],
5042 /*62*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1*~fth, e = e*n1/~fth, f = f*n1/~fth ],
5043 /*63*/ [ a = a*n1, b = b*n1*~fth, c = c*n1/~fth, d = d*n1, e = e*n1, f = f*n1*~fth ],
5044 /*64*/ [ a = a*n1*~fth, b = b*n1/~fth, c = c*n1*~fth, d = d*n1/~fth, e = e*n1*~fth, f = f*n1/~fth ]
5046 /*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],...
5052 /*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],
5053 /*2*/ [ a = a*n1/~fth, b = b*n1/~fth, c = c*n1/~fth, d = d*n1/~fth, e = e*n1/~fth, f = f*n1/~fth ],
5054 /*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],
5055 /*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],
5056 /*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],
5057 /*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],
5058 /*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],
5059 /*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5060 /*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],
5061 /*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],
5062 /*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],
5063 /*12*/ [ a = a*n2*~fth, b = b*n2*~fth, c = c*n2*~fth, d = d*n2/~fth, e = e*n2/~fth, f = f*n2/~fth ],
5064 /*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],
5065 /*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],
5066 /*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],
5067 /*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],
5068 /*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],
5069 /*18*/ [ a = a*n3*~fth, b = b*n3/~fth, c = c*n3/~fth, d = d*n3*~fth, e = e*n3*~fth, f = f*n3/~fth ],
5070 /*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],
5071 /*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],
5072 /*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],
5073 /*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],
5074 /*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],
5075 /*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],
5076 /*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],
5077 /*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],
5078 /*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],
5079 /*28*/ [ a = a*n4/~fth, b = b*n4*~fth, c = c*n4*~fth, d = d*n4*~fth, e = e*n4*~fth, f = f*n4/~fth ],
5080 /*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],
5081 /*30*/ [ a = a*n5*~fth, b = b*n5/~fth, c = c*n5*~fth, d = d*n5*~fth, e = e*n5/~fth, f = f*n5*~fth ],
5082 /*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],
5083 /*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],
5084 /*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5085 /*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],
5086 /*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],
5087 /*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],
5088 /*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],
5089 /*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],
5090 /*39*/ [ a = a*n6/~fth, b = b*n6*~fth, c = c*n6/~fth, d = d*n6*~fth, e = e*n6/~fth, f = f*n6/~fth ],
5091 /*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],
5092 /*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],
5093 /*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5094 /*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],
5095 /*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],
5096 /*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],
5097 /*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],
5098 /*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],
5099 /*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],
5100 /*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],
5101 /*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],
5102 /*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],
5103 /*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],
5104 /*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],
5105 /*54*/ [ a = a*n7/~fth, b = b*n7/~fth, c = c*n7*~fth, d = d*n7/~fth, e = e*n7*~fth, f = f*n7*~fth ],
5106 /*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],
5107 /*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],
5108 /*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],
5109 /*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],
5110 /*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],
5111 /*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],
5112 /*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],
5113 /*62*/ [ a = a*n8/~fth, b = b*n8/~fth, c = c*n8*~fth, d = d*n8*~fth, e = e*n8/~fth, f = f*n8/~fth ],
5114 /*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],
5115 /*64*/ [ a = a*n9*~fth, b = b*n9/~fth, c = c*n9*~fth, d = d*n9/~fth, e = e*n9*~fth, f = f*n9/~fth ]
5117 /*1*/ [ a = a, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],...
5123 /*1*/ #a,b,c,d,e,f=[ ~a,~b,~c,~d,~e,~f ],
5124 /*2*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d/~fth, e = e/~fth, f = f/~fth ],
5125 /*3*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],
5126 /*4*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],
5127 /*5*/ [ a = a/~fth, b = b*~fth, c = c, d = d*~fth, e = e, f = f*~fth ],
5128 /*6*/ [ a = a*~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f/~fth ],
5129 /*7*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d, e = e, f = f ],
5130 /*8*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5131 /*9*/ [ a = a*~fth, b = b, c = c, d = d*~fth, e = e*~fth, f = f*~fth ],
5132 /*10*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],
5133 /*11*/ [ a = a/~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e, f = f ],
5134 /*12*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d/~fth, e = e/~fth, f = f/~fth ],
5135 /*13*/ [ a = a, b = b, c = c, d = d*~fth, e = e, f = f*~fth ],
5136 /*14*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],
5137 /*15*/ [ a = a/~fth, b = b, c = c/~fth, d = d, e = e/~fth, f = f/~fth ],
5138 /*16*/ [ a = a, b = b, c = c*~fth, d = d/~fth, e = e, f = f ],
5139 /*17*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f*~fth ],
5140 /*18*/ [ a = a*~fth, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f/~fth ],
5141 /*19*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e, f = f*~fth ],
5142 /*20*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f/~fth ],
5143 /*21*/ [ a = a, b = b/~fth, c = c*~fth, d = d, e = e, f = f*~fth ],
5144 /*22*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],
5145 /*23*/ [ a = a, b = b, c = c, d = d/~fth, e = e, f = f/~fth ],
5146 /*24*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],
5147 /*25*/ [ a = a*~fth, b = b*~fth, c = c*~fth, d = d, e = e, f = f ],
5148 /*26*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],
5149 /*27*/ [ a = a, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],
5150 /*28*/ [ a = a/~fth, b = b*~fth, c = c*~fth, d = d*~fth, e = e*~fth, f = f/~fth ],
5151 /*29*/ [ a = a, b = b, c = c/~fth, d = d/~fth, e = e, f = f ],
5152 /*30*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f*~fth ],
5153 /*31*/ [ a = a/~fth, b = b*~fth, c = c, d = d, e = e, f = f/~fth ],
5154 /*32*/ [ a = a, b = b/~fth, c = c, d = d, e = e*~fth, f = f ],
5155 /*33*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5156 /*34*/ [ a = a/~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f*~fth ],
5157 /*35*/ [ a = a*~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f/~fth ],
5158 /*36*/ [ a = a/~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f*~fth ],
5159 /*37*/ [ a = a*~fth, b = b*~fth, c = c, d = d, e = e, f = f ],
5160 /*38*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],
5161 /*39*/ [ a = a/~fth, b = b*~fth, c = c/~fth, d = d*~fth, e = e/~fth, f = f/~fth ],
5162 /*40*/ [ a = a, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f ],
5163 /*41*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f*~fth ],
5164 /*42*/ [ a = a, b = b*~fth, c = c, d = d, e = e/~fth, f = f ],
5165 /*43*/ [ a = a/~fth, b = b, c = c*~fth, d = d*~fth, e = e*~fth, f = f ],
5166 /*44*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],
5167 /*45*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f ],
5168 /*46*/ [ a = a, b = b/~fth, c = c/~fth, d = d*~fth, e = e*~fth, f = f ],
5169 /*47*/ [ a = a, b = b*~fth, c = c*~fth, d = d/~fth, e = e, f = f ],
5170 /*48*/ [ a = a, b = b, c = c/~fth, d = d*~fth, e = e, f = f ],
5171 /*49*/ [ a = a, b = b, c = c*~fth, d = d, e = e/~fth, f = f*~fth ],
5172 /*50*/ [ a = a*~fth, b = b/~fth, c = c, d = d, e = e*~fth, f = f/~fth ],
5173 /*51*/ [ a = a/~fth, b = b, c = c, d = d/~fth, e = e/~fth, f = f*~fth ],
5174 /*52*/ [ a = a*~fth, b = b, c = c/~fth, d = d*~fth, e = e, f = f/~fth ],
5175 /*53*/ [ a = a, b = b*~fth, c = c, d = d, e = e, f = f ],
5176 /*54*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f*~fth ],
5177 /*55*/ [ a = a, b = b, c = c, d = d*~fth, e = e/~fth, f = f ],
5178 /*56*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f/~fth ],
5179 /*57*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e*~fth, f = f ],
5180 /*58*/ [ a = a/~fth, b = b, c = c*~fth, d = d/~fth, e = e, f = f*~fth ],
5181 /*59*/ [ a = a*~fth, b = b, c = c/~fth, d = d, e = e, f = f/~fth ],
5182 /*60*/ [ a = a/~fth, b = b, c = c, d = d, e = e, f = f*~fth ],
5183 /*61*/ [ a = a*~fth, b = b, c = c, d = d, e = e, f = f ],
5184 /*62*/ [ a = a/~fth, b = b/~fth, c = c*~fth, d = d*~fth, e = e/~fth, f = f/~fth ],
5185 /*63*/ [ a = a, b = b*~fth, c = c/~fth, d = d, e = e, f = f*~fth ],
5186 /*64*/ [ a = a*~fth, b = b/~fth, c = c*~fth, d = d/~fth, e = e*~fth, f = f/~fth ]
5188 /*1*/ [ a = a*n1, b = b*n1*~fth, c = c*n1, d = d*n1*~fth, e = e*n1, f = f*n1*~fth ],...