Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (
- o=Server.local.options;
- o.numOutputBusChannels=2;
- o.numInputBusChannels=0;
- o.device="ASIO4ALL";
- o = ServerOptions.new;
- o.memSize= o.memSize*2;
- o.device= "ASIO4ALL";
- t= Server(\Local12, NetAddr("127.0.0.1", 57111), options: o);
- t.makeWindow;
- )
- s.boot;
- p= ProxySpace.push(s);
- (
- ~kick= {
- arg atk=0.001, dec=0.006, atk2=0, dec2, index1=2000, t_t1=1, amp=0.3;
- var env1, sig, env2, sig2, lIn, fb, mix;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [2, -1]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [2, -1]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- sig= SinOsc.ar((20*env2) + fb, 0, 0.06);
- sig2= (sig*env1)*amp;
- mix= sig2 + Delay1.ar(sig2, 1);
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- (
- ~kick2= {
- arg atk=0.001, dec=0.5, atk2=0, dec2=0.35, index1=10000, t_t1=1, cv1=1;
- var env1, sig, env2, sig2, lIn, fb, mix;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec*cv1.lag(0.2)], [2, -1]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2*cv1.lag(0.2)], [2, -1]), gate: t_t1)*100;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- sig= SinOsc.ar((20*env2) + fb, 0, 0.06);
- sig2= (sig*env1);
- mix= sig2 + Delay2.ar(sig2, 1);
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- (
- ~kick3= {
- arg atk=0.0000, dec=0.00, atk2=0, dec2=0.0, index1=100, t_t1=1, amp=0.2;
- var env1, sig, env2, sig2, lIn, fb, mix, del;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*6200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- sig= SinOsc.ar((1*env2) + fb, 0, 0.6);
- sig2= (sig*env1)*amp;
- del= DelayC.ar(sig2, 2, 0.1);
- mix= del + sig2;
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- (
- ~kick4= {
- arg atk=0.006, dec=0.16, atk2=0.0, dec2=0.05, index1=100, t_t1=1, cv1=1;
- var env1, sig, env2, sig2, lIn, fb, mix, del;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*(2200*cv1.lag(0.2));
- lIn= LocalIn.ar(1);
- fb= lIn*(index1*cv1.lag(0.2));
- sig= SinOsc.ar((2.1*env2) + fb, 0, 0.6);
- sig2= (sig*env1);
- del= DelayC.ar(sig2, 2, 0);
- mix= del + sig2;
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- (
- ~kick5= {
- arg atk=0.04, dec=0.0001, atk2=0, dec2=0.0, index1=89300, t_t1=1, amp=0.1;
- var env1, sig, env2, sig2, lIn, fb, mix, del;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*2200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- sig= SinOsc.ar((2*env2) + fb, 0, 0.6);
- sig2= (sig*env1)*amp;
- del= DelayC.ar(sig2, 2, 0.1);
- mix= del + sig2;
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- (
- ~kick6= {
- arg atk=0.001, dec=0.00006, atk2=0, dec2=0.0, index1=300, t_t1=1;
- var env1, sig, env2, sig2, lIn, fb, mix, del;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- sig= SinOsc.ar((10) + fb, 0, 0.6);
- sig2= (sig*env1);
- del= DelayC.ar(sig2, 2, 0.1);
- mix= del + sig2;
- LocalOut.ar(mix);
- Out.ar(0, sig2!2);
- };
- )
- l= Environment.new;
- l[\t1]= {~kick2.set(\t_t1, 1);}
- l[\t2]= {~kick.set(\t_t1, 1);}
- l[\t3]= { ~kick3.set(\t_t1, 1); };
- l[\t4]= { ~kick4.set(\t_t1, 1); };
- (
- l[\t4_b]= {
- ~kick4.set(\atk, 0.004, \dec, 0.02, \atk2, 0.0
- , \dec2, 0.000, \index1, 130, \t_t1, 1);
- };
- )
- (
- l[\t4]= {
- ~kick4.set(\atk, 0.00001, \dec, 0.4, \atk2, 0.00004
- , \dec2, 0.02, \index1, 100, \t_t1, 1);
- };
- )
- l[\t5]= { ~kick5.set(\t_t1, 1); };
- l[\t6]= { ~kick6.set(\t_t1, 1); };
- (
- ~a= {
- arg atk=0.001, dec=0.00006, atk2=0, dec2=0.0
- , freq= 350, r1= 2, r2= 6, r3=7, r4=5
- , index1=120, index2= 100, index3= 120, index4=420
- , t_t1=1, amp=0.01, out;
- var env1, sig, env2, sig2, lIn, fb, mix, del, mod1, op1, op2, mod2, mod3, op3, mod4, op4;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- op2= SinOsc.ar((r2*freq), 0, 0.6);
- mod2= op2* index2;
- op3= SinOsc.ar((r3*freq), 0, 0.6);
- mod3= op3* index3;
- op4= SinOsc.ar((r4*freq), 0, 0.6);
- mod4= op4* index4;
- sig= SinOsc.ar((r1*freq) + mod2 + mod3 + mod4, 0, 0.6);
- sig2= (sig*amp);
- //del= DelayC.ar(sig2, 2, 0.1);
- mix= sig2;
- LocalOut.ar(mix);
- Out.ar(out, sig2!2);
- };
- )
- //(SinOsc.kr(4, 0, (1-mD), 0)+(1+mD)/2)
- (
- ~a2= {
- arg atk=0.001, dec=0.00006, atk2=0, dec2=0.0, key=1.2
- , f= 350, r1= 3, r2= 2, r3=4, r4=5
- , index1=200, index2= 100, index3= 120, index4=60
- , t_t1=1, amp=0.01, cv1=1, out;
- var env1, sig, env2, sig2, lIn, fb, mix, del, mod1, op1, op2, mod2
- , mod3, op3, mod4, op4, freq;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- freq= f;
- fb= lIn*index1;
- op2= SinOsc.ar(((r2*freq)*key), 0, 0.6);
- mod2= op2* index2;
- op3= SinOsc.ar(((r3*freq)*key), 0, 0.6);
- mod3= op3* index3;
- op4= SinOsc.ar(((r4*freq)*key), 0, 0.6);
- mod4= op4* index4;
- sig= SinOsc.ar(((r1*freq)*key) + mod2 + mod3 + mod4+ fb, 0, 0.6);
- sig2= (sig*(amp*cv1.lag(0.2)));
- //del= DelayC.ar(sig2, 2, 0.1);
- mix= sig2;
- LocalOut.ar(mix);
- Out.ar(out, sig2!2);
- };
- )
- (
- ~a3= {
- arg atk=0.001, dec=0.00006, atk2=0, dec2=0.0, key=1.8
- , freq= 350, r1= 3, r2= 2, r3=4, r4=9
- , index1=500, index2= 100, index3= 320, index4=120
- , t_t1=1, amp=0.02, cv1=1, out=0;
- var env1, sig, env2, sig2, lIn, fb, mix, del, mod1, op1, op2, mod2, mod3, op3, mod4, op4;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1;
- op2= SinOsc.ar(((r2*freq)*key), 0, 0.6);
- mod2= op2* index2;
- op3= SinOsc.ar(((r3*freq)*key), 0, 0.6);
- mod3= op3* index3;
- op4= SinOsc.ar(((r4*freq)*key), 0, 0.6);
- mod4= op4* index4;
- sig= SinOsc.ar(((r1*freq)*key) + mod2 + mod3 + mod4, 0, 0.6);
- sig2= (sig*(amp*cv1.lag(0.2)));
- //del= DelayC.ar(sig2, 2, 0.1);
- mix= sig2;
- LocalOut.ar(mix);
- Out.ar(out, sig2!2);
- };
- )
- (
- ~a4= {
- arg atk=0.001, dec=0.00006, atk2=0, dec2=0.0, key=1.6
- , freq= 350, r1= 3, r2= 3, r3=6, r4=4
- , index1=120, index2= 100, index3= 120, index4=120
- , t_t1=1, amp=0.002, cv1=1, out=0;
- var env1, sig, env2, sig2, lIn, fb, mix, del, mod1, op1, op2, mod2, mod3, op3, mod4, op4;
- env1= EnvGen.kr(Env.new([0, 1, 0], [atk, dec], [12, -12]), gate: t_t1);
- env2= EnvGen.kr(Env.new([0, 1, 0], [atk2, dec2], [12, -12]), gate: t_t1)*1200;
- lIn= LocalIn.ar(1);
- fb= lIn*index1*
- op2= SinOsc.ar(((r2*freq)*key), 0, 0.6);
- mod2= op2* index2;
- op3= SinOsc.ar(((r3*freq)*key), 0, 0.6);
- mod3= op3* index3;
- op4= SinOsc.ar(((r4*freq)*key), 0, 0.6);
- mod4= op4* index4;
- sig= SinOsc.ar(((r1*freq)*key) + mod2 + mod3 + mod4, 0, 0.6);
- sig2= (sig*(amp*cv1.lag(0.2)));
- //del= DelayC.ar(sig2, 2, 0.1);
- mix= sig2;
- LocalOut.ar(mix);
- Out.ar(out, sig2!2);
- };
- )
- (
- ~a.set(\out, l[\bus1]);
- ~a2.set(\out, l[\bus1]);
- ~a3.set(\out, l[\bus1]);
- ~a4.set(\out, l[\bus1]);
- )
- l[\bus1]= Bus.audio(s, 2);
- ~reverb.set(\in, l[\bus1]);
- (
- ~reverb= {
- arg in, predelay=5, revtime=12,
- lpf=2500, mix=0.4, amp=0.06, out=0;
- var dry, wet, temp, sig;
- dry = HPF.ar(In.ar(in, 2), 320);
- temp = HPF.ar(In.ar(in, 2), 320);
- wet = 0;
- temp = DelayN.ar(temp, 0,2, predelay);
- 16.do{
- temp = AllpassN.ar(temp, 0.05, {Rand(0.001,0.05)}!2, revtime);
- temp = LPF.ar(temp, lpf);
- wet = wet + temp;
- };
- sig = XFade2.ar(dry, wet, mix*2-1, amp);
- Out.ar(out, sig);
- };
- )
- TempoClock.default.tempo = 2.3333333333333;
- l= Environment.new;
- //secu1
- (
- Tdef(\sub1, {
- inf.do{
- 1.do{
- l[\c1Sub1]= -1;
- "start1".postln;
- l[\Dy].value;
- 64.do{
- l[\c1Sub1]= ((l[\c1Sub1].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub1]%64) + 1)
- , 1, {s.makeBundle(s.latency, {l[\t4].value;});}
- //, 9, {s.makeBundle(s.latency, {l[\t2].value;});}
- , 16, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 20, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 26, {s.makeBundle(s.latency, {l[\t2].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 46, {s.makeBundle(s.latency, {l[\t6].value;});}
- //, 40, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 48, {s.makeBundle(s.latency, {l[\t3].value;}); }
- , 56, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 57, {s.makeBundle(s.latency, {l[\t5].value;});}
- );
- 0.026785714285714.wait;
- };
- l[\c1Sub1]= -1;
- "start2".postln;
- 64.do{
- l[\c1Sub1]= ((l[\c1Sub1].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub1]%64) + 1)
- //, 1, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 3, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 12, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 15, {s.makeBundle(s.latency, {l[\t2].value; });}
- //, 18, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 21, {s.makeBundle(s.latency, {l[\t4_b].value; });}
- , 24, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- //, 26, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- , 31, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 36, {s.makeBundle(s.latency, {l[\t1].value; l[\t3].value; });}
- //, 49, {s.makeBundle(s.latency, {l[\t1].value;});}
- );
- 0.026785714285714.wait;
- };
- };
- };
- });
- )
- //secu2
- (
- Tdef(\sub2, {
- inf.do{
- 1.do{
- l[\c1Sub2]= -1;
- "start1".postln;
- l[\yEy].value;
- 64.do{
- l[\c1Sub2]= ((l[\c1Sub2].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub2]%64) + 1)
- , 1, {s.makeBundle(s.latency, {l[\t4].value;});}
- //, 9, {s.makeBundle(s.latency, {l[\t2].value;});}
- , 16, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 20, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 26, {s.makeBundle(s.latency, {l[\t2].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 46, {s.makeBundle(s.latency, {l[\t6].value;}); }
- //, 40, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 48, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 56, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 57, {s.makeBundle(s.latency, {l[\t5].value;});}
- );
- 0.026785714285714.wait;
- };
- l[\c1Sub2]= -1;
- "start2".postln;
- 64.do{
- l[\c1Sub2]= ((l[\c1Sub2].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub2]%64) + 1)
- //, 1, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 3, {s.makeBundle(s.latency, {l[\t6].value;}); }
- , 12, {s.makeBundle(s.latency, {l[\t5].value;}); }
- , 15, {s.makeBundle(s.latency, {l[\t2].value; });}
- //, 18, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 21, {s.makeBundle(s.latency, {l[\t4_b].value; });}
- //, 24, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- //, 20, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- , 31, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 36, {s.makeBundle(s.latency, {l[\t1].value; l[\t3].value; });}
- //, 49, {s.makeBundle(s.latency, {l[\t1].value;});}
- );
- 0.026785714285714.wait;
- };
- };
- };
- });
- )
- //secu3
- (
- Tdef(\sub3, {
- inf.do{
- 1.do{
- l[\c1Sub3]= -1;
- "start1".postln;
- l[\Gy].value;
- 64.do{
- l[\c1Sub3]= ((l[\c1Sub3].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub3]%64) + 1)
- , 1, {s.makeBundle(s.latency, {l[\t4].value;});}
- //, 9, {s.makeBundle(s.latency, {l[\t2].value;});}
- , 16, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 20, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 20, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 26, {s.makeBundle(s.latency, {l[\t2].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 46, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 47, {s.makeBundle(s.latency, {l[\t4].value;});}
- , 48, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 56, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 57, {s.makeBundle(s.latency, {l[\t5].value;});}
- );
- 0.026785714285714.wait;
- };
- l[\c1Sub3]= -1;
- "start2".postln;
- 64.do{
- l[\c1Sub3]= ((l[\c1Sub3].value) + 1);
- //((l[\c1Sub1]%64)+1).postln;
- switch( ((l[\c1Sub3]%64) + 1)
- //, 1, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 3, {s.makeBundle(s.latency, {l[\t6].value;});}
- , 12, {s.makeBundle(s.latency, {l[\t5].value;});}
- , 15, {s.makeBundle(s.latency, {l[\t2].value; });}
- //, 18, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 21, {s.makeBundle(s.latency, {l[\t4_b].value; });}
- , 24, {s.makeBundle(s.latency, {l[\t6].value;});}
- //, 30, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- //, 20, {s.makeBundle(s.latency, {l[\t4_b].value;});}
- , 31, {s.makeBundle(s.latency, {l[\t3].value;});}
- //, 36, {s.makeBundle(s.latency, {l[\t3].value;});}
- , 36, {s.makeBundle(s.latency, {l[\t1].value; l[\t3].value; });}
- //, 49, {s.makeBundle(s.latency, {l[\t1].value;});}
- );
- 0.026785714285714.wait;
- };
- };
- };
- });
- )
- //global sequencer
- (
- Tdef(\secu1, {
- var c1;
- inf.do{
- c1= (-1);
- 128.do{
- c1= c1 + 1;
- if( (((c1%128)+1) == 1).and(l[\SelSeq].value == 1)
- , {s.makeBundle(s.latency, { Tdef(\sub2).stop; Tdef(\sub3).stop;
- Tdef(\sub1).quant_(0).play; "caca".postln; }); }
- , { }
- );
- if( (((c1%128)+1) == 1).and(l[\SelSeq].value == 2)
- , { s.makeBundle(s.latency, { Tdef(\sub1).stop; Tdef(\sub3).stop;
- Tdef(\sub2).quant_(0).play; "____".postln; }); }
- , {}
- );
- if( (((c1%128)+1) == 1).and(l[\SelSeq].value == 3)
- , { s.makeBundle(s.latency, { Tdef(\sub2).stop; Tdef(\sub1).stop;
- Tdef(\sub3).quant_(0).play; "///////".postln; }); }
- , {}
- );
- 0.026785714285714.wait;
- };
- };
- });
- )
- (
- g= Environment.new;
- Window.closeAll;
- g[\window]= Window("gui", Rect(750, 50, 500, 200)).front.alwaysOnTop_(true);
- g[\slider]= Slider(g[\window], Rect(20, 20, 150, 30))
- .background_(Color(0.2, 075, 0.95))
- .action_({
- arg obj;
- var cf, cf2, cf3, cf4, cf5, cf6;
- cf= obj.value.linexp(0,1, 0.4, 1.1);
- cf2= obj.value.linexp(0,1, 0.001, 1);
- cf3= obj.value.linexp(0,1, 1.0, 0.01);
- cf4= obj.value.linexp(0,1, 0.5, 1.5);
- cf5= obj.value.linexp(0,1, 0.95, 1.5);
- cf6= obj.value.linexp(0,1, 1, 0);
- ~kick2.set(\cv1, cf);
- ~kick4.set(\cv1, cf4);
- //~a4.set(\cv1, cf4);
- });
- g[\slider2]= Slider(g[\window], Rect(20, 60, 150, 30))
- .background_(Color(0.2, 075, 0.95))
- .action_({
- arg obj;
- var cf, cf2, cf3;
- cf= obj.value.linexp(0,1, 0.01, 1.0);
- cf2= (l[\1].map(g[\slider2].value));
- cf3= (l[\2].map(g[\slider2].value));
- cf2= (cf2/100);
- cf3= (cf3/100);
- ~a2.set(\cv1, cf2);
- ~a3.set(\cv1, cf3);
- //~synth1.set(\cv3, cf);
- ~a4.set(\cv1, cf);
- // ~a3.set(\cv1, cf);
- });
- g[\button1]= Button(g[\window], Rect(190, 20, 30, 30)).states_([
- ["1*", Color.black, Color.gray(0.8)]]).action_({
- arg obj;
- if( obj.value == 0, { l[\SelSeq]= 1; }, {l[\SelSeq]= 0;});});
- g[\button2]= Button(g[\window], Rect(225, 20, 30, 30)).states_([
- ["2*", Color.black, Color.gray(0.8)]]).action_({
- arg obj;
- if( obj.value == 0, { l[\SelSeq]= 2; }, {l[\SelSeq]= 0;});});
- g[\button3]= Button(g[\window], Rect(260, 20, 30, 30)).states_([
- ["3*", Color.black, Color.gray(0.8)]]).action_({
- arg obj;
- if( obj.value == 0, { l[\SelSeq]= 3; }, {l[\SelSeq]= 0;});});
- g[\button4]= Button(g[\window], Rect(90, 160, 50, 30)).states_([
- ["START", Color.black, Color.green(0.8)]]).action_({
- arg obj;
- if( obj.value == 0, { l[\SelSeq]= 1; Tdef(\secu1).quant_(0).play; }, {});});
- g[\button5]= Button(g[\window], Rect(30, 160, 50, 30)).states_([
- ["STOP", Color.black, Color.blue(0.8)]]).action_({
- arg obj;
- if( obj.value == 0, { Tdef(\secu1).stop; Tdef(\sub2).stop; Tdef(\sub1).stop; Tdef(\sub3).stop;}, {});});
- l[\1]= [ 0.0001 , 100.0, \lin, 0.1, 0.5, "hz"].asSpec;//controlSpec
- l[\2]= [ -100 , 0.0001, \lin, 0.1, 0.5, "hz"].asSpec;
- )
- l[\SelSeq]= 1; // secu1
- l[\SelSeq]= 2; // secu2
- l[\SelSeq]= 3; // secu3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement