3 "SC_JACK_DEFAULT_OUTPUTS".setenv("system:playback_1,system:playback_2");
6 SynthDef("onetwoonetwo", {
7 var freqs, cycle, freq, rez, cut, sig;
8 freqs = #[30, 40, 42, 38, 60, 40, 68, 50];
9 cycle = 0.5 * freqs.size;
10 freq = Select.kr(LFSaw.kr(0.6,0,cycle,cycle),freqs);
11 rez = SinOsc.kr(0.1,0,0.8,1);
12 cut = SinOsc.kr(0.1,0.5,400,800);
13 sig = Mix(CombN.ar(RLPF.ar(Saw.ar([freq.midicps, (freq+7.001).midicps],mul:0.5),cut,rez),1.2,1.2,3));
14 sig = Pan2.ar(sig, SinOsc.kr(0.6,mul:0.2));
16 }).send(s, ["/s_new", "onetwoonetwo", -1, 1, s.asTarget.nodeID]);