Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SynthDesc Help

    ... 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 ...

  2. WsSlider Doc

    ... 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 ...

  3. equal Quark

    ... e ) ] } ) .setSpec( \equal, ListSpec( [ \times, \speeds ] )) .setSpec( \amount, ControlSpec(-1,1,\lin,0,0) ) .setSpec( \resample, BoolSpec( false ) ) .useSelection_( false );

  4. HasSubjectGui Quark

    ... 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 ...

  5. HasSubjectGui Quark

    ... { 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 ...

  6. cat Quark

    // 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 ...

  7. time_freq Quark

    ... 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' )

  8. PlayerSpec Doc

    ... : 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 ...

  9. extSymbol_2 Quark

    ... 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 ...

  10. SCTabletView Help

    ... 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 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow