-
... ( key: \sl, shared: (elementType: \slider, midiMsgType: \control, midiChan: 0, spec: \midiCC, \ioType: \inout), elements: ( (1..16).collect { |num, i| (key: num.asSymbol, midiNum: 31 + num) } ) ) );
-
// Used especially by miditest() // but also by FxPatch, so these need to be in common + Instr { argsAndIndices { var out; out = IdentityDictionary.new; func.def.argNames.do({ |name, i| out.put(name, i); }); ^out } listArgs { |inputs| var n ...
-
/* no inlets assumed, write a driver for specific subclasses */ MxUnit.register('AbstractPlayer', ( make: { arg player; var inlets, outlets, pob; inlets = []; if(player.rate == 'control', { pob = MxPlaysOnKrBus({player.bus}) }, { pob = MxPl ...
-
// Used especially by miditest() // but also by FxPatch, so these need to be in common + Instr { argsAndIndices { var out; out = IdentityDictionary.new; func.def.argNames.do({ |name, i| out.put(name, i); }); ^out } listArgs { |inputs| var n ...
-
... the inlet // or map a ugen if(mapping.notNil, { ^mapping.value(v) }, { ^outlet.spec.mapToSpec(v, inlet.spec) }) } *register { arg outAdapterClassName, inAdapterClassName, strategy; strategies[ [outAdapterClassName, inAdapterClassName] ] = ...
-
... ew.decorator.margin.x))@sliderHeight, // "%".format(c).asSymbol, nil, [ 0, 1].asSpec, {|me| model.monitor.set(\amp, me.value)} ).setColors(hiliteColor: Color.red); decorator.nextLine; decorator.nextLine; defSliders = (); model.myKeys.do{|c| ...
-
... eOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0, lag, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, \mix: ControlSpec(-1, 1, 'lin', 0, -1), \fc: \freq.asSpec, \oct1: ControlSpec(0, 1, 'lin', 0, 1), \oct2: ControlSpec(0, 1, 'lin ...
-
... q, 0, pWidth), 1500) * 0.1 }); Ndef(\test).play; Ndef(\test).scope; ( // controlspecs for its params Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); ) // an editor to see the params changing NdefGui(Ndef(\tes ...
-
... eplaceOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, \mix: ControlSpec(-1, 1, 'lin', 0, -1), \rate: ControlSpec(0, 1, 'lin', 0, 0.5), \bits: ControlSpec(0, 12, 'lin', 0, 4) ), orde ...
-
... esc: ( elements: [ ( key: \invol, shared: (elementType: \fader, ioType: \inout, spec: \unipolar), elements: (1..8).collect { |i| (oscPath: "/1/volume%".format(i)); } ), /// more commands to follow here ] ) )