-
... reset); // for the fader and for loopbuf as a trigger xfade = Lag.kr(switch.linlin(0, 1, -1, 1), 0.1); // audio input. dry = SoundIn.ar(in ! 2, 2); // loopgate is opened when closing the loop and reset by t_reset loopgate = ...
-
... n = currVals.minItem; var currmax = currVals.maxItem; this.setUni(nil, currVals.linlin( currmin, currmax, normVal, currmax)); } scaleMax { |normVal| var currVals = this.getUni; var currmin = currVals.minItem; var currmax = currVals.maxItem; ...
-
... ).do({ |item| if( item.exclusivelyBetween( -1, size ) ) { newValue[item] = item.linlin(a,b,start,end,\none); }; }); } { newValue[b] = values.wrapAt(i+1); }; }); if( active ) { this.valueAction = newValue; } { this.value = newValue; }; } get ...
-
... zeroOffset = NTMI.nUFO.zero.pads.asArray.wrapAt(i) ? 0; var stretched = rawval.linlin(zeroOffset, 0.9, 0, 1); stretched; }; // keep prev and new reordered and calibrated padVals here: NTMI.nUFO.prevPadVals = NTMI.nUFO.padVals; NTMI.nUFO.pa ...
-
... '/1/fader1': OSCMapperFader( altName: \fader1, defaultValue: 0.5, transformer: linlin(_, 0.0, 1.0, 0.5, 10.0), callback: {|v| ["received a value", v].postln;}, lag: 0.5, ), '/1/xy1': OSCMapperXY( altName: \touchPanel ), )); ) ⧉ ✔ By provid ...
-
... ight) ) .action_({ |nb| vws[ \val ] = vws[ \val ] .asPolar.theta_( nb.value.neg.linlin(-180,180,-0.5pi,1.5pi) ).asPoint; this.setView( vws, vws[ \val ] ); action.value( vws, vws[ \val ] ); }) .step_( 1 ) .scroll_step_( 1 ) .clipLo_( -180 ) ...
-
... Array).do{|key| mktl.elAt(\vars, key).action = {|el| model.setFB(key, el.value.linlin(0, 1, -1, 1)) } }; } *lemur {|model, mktl| var n = mktl; var quellen, filter, vars, main; main = mktl.elAt(\fVol); quellen = MKtlElementGroup(\quellen, n ...
-
... "afinar" el comportamiento de cada dial o perilla. convertLevel {|level| ^level.linlin(0, 10, 0, settings[\noiseLevelMax]); } convertColour {|col| // Retorna las frecuencias de corte de ambos filtros: pasabajos y pasaaltos var filterHP, fil ...
-
... d).flop; 100.do{ thesynth.set('t_gate', 1, 'input', d.collect{|whichd| 1.0.rand.linlin(0,1,range[0][whichd], range[1][whichd])}); 0.01.wait; }; }, { |c, subtots| rescaled = c.collect{ |acent| (acent - range[0]) / (range[1] - range[0]) }.fla ...
-
... ion: Done.freeSelf); sig = Resonz.ar(sig, VarLag.kr(ffreq,0.3)); //freqHi = Linlin.ar(ffreq,20,2000,200,20000).poll; Out.ar(out, sig ! 2) }).add; ) //evaluate this block 3. ( ~ffreq= 200; ~amp = 1; x = Pmono(\bass, ...