-
... 0, sig); //uncomment to modulate sig= Splay.ar(sig); Out.ar(out, sig*vol.dbamp.lag); }).add; signalBus= Bus.audio(s, ~openbci.numChannels); s.sync; ~scope= s.scope(~openbci.numChannels, signalBus.index, bufSize, 0.25); ~scope.size= 400; Cm ...
-
... req = 110, amp = 0.01, freq_mul = 1; var snd = SinOsc.ar(freq * freq_mul, 0, Lag.kr(amp, 3)); Out.ar(outbus, snd!2); }).add; SynthDef("continuousOut", { arg inbus, amp = 0.1, gate = 1, att = 0.1, sus = 1, rel = 1; var env ...
-
... channels than the control has. setn(key, list, ...) set ranges of controls run(flag) pause/unpause all synths in the group xset(key, val, ...) set with crossfade into new setting x map(keys, proxy) map with crossfade into new setting xsetn( ...
-
... group.set( \trig , 0.4, \dt , 0.31); ~out.group.set( \trig , 0.13, \dt , 2); // lagging controls: ~out.lag( \xfreq , 1); // equivalent to ~out.setRates(\xfreq, 1); ( ~out = { arg trig, dt=1, xfreq=700; Decay2 .kr(trig, 0.01, dt) * Mix ( Sin ...
-
... LFPulse.ar(pulseFreq,0,0.5) * 0.01 ] )), freq: freq, rq: Lag.kr(rq, 1)); snd = snd * env * Lag.kr(amp, 1) * 100; snd = Clip.ar(snd, -0.5, 0.5); Out.ar(0, [snd, snd]); }).add; SynthDef(\amp, {arg in ...
-
... sado var <outVol = 1; var pauseRoutine; // Rutina de pausado del Synth classvar lag; // Tiempo que dura la transición en los cambios de parámetros en el Synth classvar settings; // Métodos de clase ////////////////////////////////////////// ...
-
... = Amplitude.kr(input); //threshhold = 0.001; // noise gating threshold //gate = Lag.kr(inputAmp > threshhold, 0.01); //in= (input * gate); fft = FFT (b, in, wintype:1); output= TPV .ar(fft, 1024, 512, 50,50,1.0,4,0.2); //Out.ar(0,Pan2.ar(ou ...
-
... um CC number, 0 to 127. spec A Spec, i.e. \freq, \amp, [5, 50], [1, 100, \exp]. lag lag3 time, default is 0.05. Examples // simple example m = CCIn.new; // listen to all midi in ports and all midichannels x = {SinOsc.ar(m.kr(0, 0, \freq), 0 ...
-
... with kr signals ( x = { arg freq = 440; var safeFreq = ReplaceBadValues.kr(freq.lag(0.2), 666).poll; SinOsc.ar(safeFreq, 0, 0.1); }.play; ) // x.set(\freq, inf); // create bad freq value inf -> replaces with 666 x.set(\freq, 330); // and go ...
-
... pec( 12, 1, 40 ), \init ) .setSpec( \knum, [1,40,\lin,1,12].asSpec ) .setSpec( \lag, [0,1,\lin].asSpec )