Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .init; MIDIIn .connect(0, MIDIClient .sources.at(0)); g = Group .new; cutspec = ControlSpec (100,10000, \linear ,0.001); cutbus = Bus .new( \control ,1,1,s); cutbus.value = 10000; rezspec = ControlSpec (1,0, \linear ,0.001); rezbus = Bus .n ...

  2. softSet Help

    ... r val is mapped (within the range of param.asSpec) or unmapped (0.0-1.0) spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, softSet simply allows setting. Typical uses would be switching to a prese ...

  3. Symbol Help

    ... nderscore removed. ascii return the ascii codes as an array asSpec Convert to a ControlSpec asTuning Convert to a Tuning asScale Convert to a Scale Environments Symbols are used as keys to look up objects in dictionaries and environments, b ...

  4. SC2DTabletSlider Help

    ... e, gate) ) },[0.1,0.1,0.1,0.1,0.1, nil ]).play(s); w = Window .new.front; int = ControlSpec (-48,48, \linear ,1); v = TabletSlider2D (w, Rect (10,10,380,380)); v.background = Color .blue.alpha_(0.2); v.knobColor = Color .red; v.action = { a ...

  5. softPut Help

    ... ) lastVal the previous value that a control has set - see last examples. spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, or no value exists yet, softSet simply allows setting. Typical uses would ...

  6. NodeProxyEditor Help

    ... .kr(8, 4) }; ~test.map( \intv , ~lfo); ~test.unmap( \intv ); Spec .add( \intv , ControlSpec (0, 24, \lin , 0.01, 0)); n.fullUpdate; // setting a param value unmaps a previous control source ~test.set( \freq , rrand(200, 500), \intv , rrand( ...

  7. NdefGui Help

    ... .kr(8, 4) }; ~test.map( \intv , ~lfo); ~test.unmap( \intv ); Spec .add( \intv , ControlSpec (0, 24, \lin , 0.01, 0)); // setting a param value unmaps a previous control source ~test.set( \freq , rrand(200, 500), \intv , rrand(-5.5, 5.5)); / ...

  8. SCSlider Help

    ... round and map the output range for clearer display ( w = Window .new.front; b = ControlSpec (-50, 50, \linear , 0.01); // min, max, mapping, step c = StaticText (w, Rect (20, 20, 150, 20)).align_( \center ).background_( Color .rand); a = Sl ...

  9. SynthDef Help

    ... descriptive information. Currently the 'specs' key in the event is reserved for ControlSpecs to be associated with SynthDef arguments (this is useful for automatic GUI construction). Metadata can be persisted to disk and loaded automaticall ...

prev 1 2

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow