-
... = sig.linlin(*fromRange ++ [0,1,\none]); sig = if( invert, 1-sig, sig ); sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(0,1,0,1, curve ), sig ]); sig = Select.kr( clipMode, [ sig.softclip2(1, clipSoftness), sig.softfold2(1, c ...
-
... , 0); badEG = EnvGen.ar(Env(#[1, 0, 1], #[0, 0.05], releaseNode: 1), bad); in = Select.ar(bad > 0, [in * badEG, DC.ar(0)]); // so that mixerchan bus can be used as postsendbus ReplaceOut.ar(busin, in); Out.ar(busout, in); }, [nil, nil, 0.08 ...
-
... t(_.booleanValue); var butSig = but.hold(false); //**** FRP LOGIC START ***** //selection mode is entered when ~but is set to 1 //it is exited when two different knobs are moved var exchange = ( but.collect{ |x| if(x){ {[]} }{ {nil} } } | k ...
-
... ably be made much more efficient as a real UGen in c++ *ar { |array, trig = 1| ^Select.ar( this.indices( array.size, trig ), array ); } *kr { |array, trig = 1| ^Select.kr( this.indices( array.size, trig ), array ); } *indices { |size = 10, ...
-
... conds var routine, oldRoutines; SynthTracker.initialize; oldRoutines = routines.select({ |item| item.defName == defName.asSymbol }); if( oldRoutines.size != 0 ) { oldRoutines.do( _.stop ); SynthTracker.cleanRoutines; }; routine = Routine({ ...
-
... oundIn.ar(in + [0, 1]); sig = sig * amp.lag(0.05) * (1 - mute).lag(0.05); sig = Select.ar(stereo_input, [sig[0], sig]); sig = VSTPlugin.ar(sig, numOut: n_ambi_chans); // n_ambi_chans can't be an arg Out.ar(out, sig); // this mixes into the ...
-
... .spec.constrain( item.default ); }; }; if( item.name != \u_index ) { item }; }).select( _.notNil ) ++ [ channelArgSpec ] } *getIOArgNames { |numChannels = 1, type = 'i', selector = 'ar'| ^numChannels.collect({ |i| UIn.getControlName( type, ...
-
... tionFunc| var object; var wdgtName, windowTitle; var specsList, specsListSpecs, selectMatch, thisSpec; var cNameRect, cNameEnterTextRect, specEnterTextRect, specSelectRect, wdgtTypeRect, enterTabRect; var staticTextFont, staticTextColor, te ...
-
... age(backgroundImage, 10, 0.2); if(SGUI.currentTheme!=\dark, { win.view.children.select{|v| v.isKindOf(SoundFileView)}.do{|v| v.background= Color.grey(0.7725, 0.5); }; }); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sFiles); players.d ...
-
... opeView, but has some additional functionality and it is easier to use. One can select many nodes at the same time and drag them around. >> Use ctrl+click to create a node << >> Draw a rect around one or more nodes to select them << >> Use ...