-
... ed from the binary .scsyndef stream. For example, by listing argument names and ControlSpecs under the 'specs' key in the event, the client can use the specs to build a GUI allowing control over all the SynthDef's inputs, with sensible rang ...
-
... e window "http://localhost:8000".openOS; //open in a browser //slider //without controlSpec k = WsSlider.new(a, Rect(0.1, 0.1, 0.1, 0.4)); k.value_(0); k.value_(0.7); k.value; k.action_({|sl| postf("slider value: %\n", sl.value)}) k.valueAc ...
-
... 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 ...
-
... { 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 ch ...
-
// SOUND 2 // the DubCat example from udk gencomp class: ( // controlspecs Ndef(\cat).addSpec(\pFreq, [20, 400, \exp]); Ndef(\cat).addSpec(\pWidth, [0.01, 0.5, \exp]); Ndef(\cat).addSpec(\filt, [1, 32, \exp]); Ndef(\cat).addSpec(\q, [1, 100 ...
-
... nc_({ |unit, key, umapdef| var spec; spec = unit.getSpec( key ); spec.isKindOf( ControlSpec ) && { spec.default.size < 2 && { spec.minval > 0 && { spec.maxval < inf } } }; }) .mappedArgs_( [ \time ] ) .category_( 'convert' )
-
... : AbstractPlayer Description A Player object may have an output of AudioSpec of ControlSpec. But a function that creates and returns a player object would have an output spec of PlayerSpec. Likewise a function can accept a Player as an inpu ...
-
... if { this.miSC_expandCtrs(x, metaKey, useGlobalSpecs) }{ x } } } miSC_findGlobalControlSpec { var item = Spec.specs[this]; ^item.isKindOf(ControlSpec).if { item }{ nil }; } miSC_getControlTuples { | exclude, metaKey = \specs, useGlobalSpecs ...
-
... t,synth; synth = Synth ( "help-2DTabletSlider" ); w = Window .new.front; freq = ControlSpec (100,3000, \exp ); int = ControlSpec (-48,48, \linear ,1); v = TabletView (w, Rect (10,10,380,380)); v.background = Color .blue.alpha_(0.2); v.actio ...