-
var cs; cs = ControlSpec(0, 127, \lin, 1); MxUnit.register('CCBank', // crucial-library ( make: { arg bank; var outlets; outlets = bank.sets.collect { arg set, i; MxOutlet(set.key.asString, i, cs , MxSendsValueOnChanged({bank.at(set.key)})) ...
-
... ta_(( 'specs': \n%\n)).add".format( synthDef.asCompileString, sliders.collect(_.controlSpec).asCompileString ) ) } renderAndWrite { var filePath = this.filePath(); var params = this.getSliderValues; var paramsEvent = Event.newFrom(params); ...
-
... var powerMate; *new { ^super.new.init } init { var hidInfo; var vel; velSpec = ControlSpec(128, -128, step: 1); hidInfo = GeneralHID.findBy( 1917, 1040); powerMate = GeneralHID.open( hidInfo ); powerMate.slots[3][51].action_( { |v| // fact ...
-
SnapControlSpec : ControlSpec { var <>snap = 0.05; map { arg value; // maps a value from [0..1] to spec range var out = warp.map(value.clip(0.0, 1.0)), rounded = out.round(step); if((out absdif: rounded) <= snap) { ^rounded } { ^out } } unm ...
-
//redFrik //--todo: //use controlspecs from RedMix objects //--related: //RedAbstractMix RedEffectModuleGUI RedMixerGUI RedMatrixMixerGUI RedTapTempoGUI RedMixGUI { var <redMix, <parent, position, win; *new {|redMix, parent, position| ^supe ...
-
... EZ" container classes, all in a minimal amount of space. You may also specify a ControlSpec, as well as step and round values. You may change the value using the mouse, programmatically, using the arrow keys, or using the number keys to set ...
-
... termines how frequently the touched CV's value is updated. Touch acts both as a controlspec and as a surrogate CV. example: ( a = Conductor.make{| con, a| ~touchA = a.touch(10); con.gui.keys = con.gui.keys.add(\touchA); }; a.show; ) */ Touc ...
-
/* goal: offer all ControlSpec inlets in the current Mx show all on a gui with sliders learn cc, keystroke (toggle), osc record those events multiple patterns / takes mute/play/solo takes so pattern switching is by soloing one of the takes ...
-
... e ) ] } ) .setSpec( \equal, ListSpec( [ \times, \speeds ] )) .setSpec( \amount, ControlSpec(-1,1,\lin,0,0) ) .setSpec( \resample, BoolSpec( false ) ) .useSelection_( false );
-
... i { arg layout; var l; l=this.guify(layout); num = NumberEditor(model.amp.ampdb,ControlSpec(0.ampdb, 2.ampdb, \db, units: " dB")); num.action_({ arg val; model.amp_(val.dbamp) }); num.gui(l); if(layout.isNil,{ l.front }); } update { arg cha ...