Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... [0.0,1.0,\lin,0.0, 0.0] //offsetchance ]; specs= Array.fill(data.size, {arg i; ControlSpec.performList(\new, data.at(i))}); num= names.size; w = SCWindow("BBCutProc11 demo N.M.Collins 23/08/03", Rect.new(100, 500, 500, (30*num))); string= ...

  2. AbstractSPlayFileView Quark

    ... umber.value= 1; loopButton.action= {|view| spf.loop= view.value; }; volumeSpec= ControlSpec(-inf, 3, 'db', 0, 0, "dB"); volSlider.action= {|view| spf.amp= volumeSpec.map(view.value).dbamp; }; volSlider.value= volumeSpec.unmap(volumeSpec.def ...

  3. default Quark

    ... 00); */ ( "Loading default OFX chains".postln; // Nice spec for lfo frequencies ControlSpec.add(\lfoFreq, [0.000001, 20.0, \exp]); // dfm1 filter OFX_Chain.add3( srcName: \ofx_dfm1, source: \filter -> {|in, inputgain=1.0, freq=500, res=0.1, ...

  4. Slider2D Doc

    ... ing the output and input values to your needs can easily be achieved by using a ControlSpec with its -map and -unmap methods. The -step variable determines the amount by which the values will change when the handle is controlled using the k ...

  5. create_simple_instrument_view Doc

    ... ; window.layout_(windowLayout); window.front; ) ⧉ ✔ Alternatively, we can use a ControlSpec to do the same thing: var dur = 1; var durMin = 0.1; var durMax = 2; var durSlider = Slider() .orientation_(\horizontal) .maxHeight_(60) .action_({ ...

  6. Patch-inputs Doc

    ... or a nil argument, Patch will ask the spec to create a suitable defaultControl. ControlSpec : KrNumberEditor StaticSpec : NumberEditor (for quantities or max delay times etc.) a static spec is a non-modulateable control EnvSpec : EnvEditor ...

  7. Nil Doc

    ... ns empty array. . get ( prevVal ) Returns prevVal. . asSpec Returns the default ControlSpec . handleError ( error ) Either report error or inspect error and halt execution. . push ( function ) Executes function. . appendStream ( stream ) Re ...

  8. FoaAudition Quark

    ... ext; stopColor = paramBkgColor; } initWidgets { /* global controls */ ampSpec = ControlSpec(-80, 12, warp: \db, default: 0); azimSpec = ControlSpec(180, -180, warp: \lin, default: 0); elSpec = ControlSpec(-90, 90, warp: \lin, default: 0); o ...

  9. SGUI Quark

    ... }, 7, { //cubed action.value(\warp, 7); this.calculateLine(7, 0); } ); }; spec= ControlSpec(-20, 20, 'lin', 0, -4); slider.action= {|view| box.valueAction= spec.map(view.value); }; box.action= {|view| view.value= spec.constrain(view.value); ...

  10. 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)); / ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow