Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... owLayout.new(w.view.bounds); b = { var spec = Spec.specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choose)) .mode_(MinBox.modes.choose) .textMode_(MinBox.textModes.choose) .label_( ...

  2. ArrayEditView Quark

    ... t, bounds ).setDefaults( spec ); } defaultObject { ^(0,0.1..1) } defaultSpec { ^ControlSpec(0,1); } defaultTransformers { ArrayTransformerDef.loadOnceFromDefaultDirectory; ^[ ArrayTransformer( \clip ) ]; } setDefaults { |inSpec| object = ob ...

  3. FoaXformView Quark

    ... ols.do({ |pair, i| var ctlName, ctl; #ctlName, ctl = pair; case( { ctl.isKindOf(ControlSpec) }, { this.addSliderCtl(ctlName, ctl, i) }, // a ctl of a Symbol, e.g. \A0 yields a // dropdown menu for an input soundfield { ctl.isKindOf(Symbol) ...

  4. wsGui_examples Quark

    ... 0.1, 0.5)); //vertical - still has some issues //EZSlider with control spec; e.controlSpec_(\freq.asSpec) //only in EZSlider; e.bounds // getter e.bounds(Rect(0,0,100,100)) e.value_(0.5) e.background_(Color.green) //only color styling avai ...

  5. ControlValue Quark

    ... c, <midiFunc, broadcastDest, broadcastFunc, lastInEvent=0; *defaultInputSpec { ^ControlSpec(0, 127); } *initClass { mappings = (); } mapTo { |cv| this.updateOnConnect = false; mappings[cv].free; mappings[cv] = ConnectionList [ this.signal(\ ...

  6. MixerChannel4-order Quark

    ... tion -- ...LineTo uses current value as start // any warp that can be used in a ControlSpec can be used here controlLine { arg name, start, end, dur = 1, warp; var startTime, timeSpec; name.notNil.if({ this.stopAuto(name); // begin by clear ...

  7. MixerChannel4-order Quark

    ... tion -- ...LineTo uses current value as start // any warp that can be used in a ControlSpec can be used here controlLine { arg name, start, end, dur = 1, warp; var startTime, timeSpec; name.notNil.if({ this.stopAuto(name); // begin by clear ...

  8. Patch Quark

    ... / check the final result of the instr synth def build, // check its signalRange ControlSpec(-1,1) }) },{ //("This patch "+this+"does not yet know its output rate until it is built.").warn; nil }); }; } rate { ^rate ?? { if(this.instr.outSpe ...

  9. PLx suite Quark

    ... arGui // basic form of a step sequencer (amp defaults to 0 in associated global ControlSpec) ( \default .pVarGui( ctrBefore: [ \a , [0, 6, \lin , 1, 3] ! 8], pBefore: [ \degree , PLseq ( \a ) ] ).gui; ) See VarGui and VarGui shortcut builds ...

  10. MixerChannel Quark

    ... m start to end, taking dur seconds. Warp can be any of the options supported by ControlSpec. Default values for start and end will be taken from the control's spec. The spec is defined in the MixerChannelDef. These methods use a routine to ...

prev 31 32 33 34 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow