Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SCPen Help

    ... }; }; w.refresh; ) *endTransparencyLayer Ends the current transparency layer. *clip Use the previously defined path as a clipping path. ( w = Window .new.front; w.view.background_( Color .white); w.drawHook = { // outline the clipping path ...

  2. SCScrollView Help

    ... ; b.hasBorder_( false ); b.visibleOrigin; b.visibleOrigin = Point (2000, 0); // clips to the bounds of its contents b.hasHorizontalScroller_( false ); b.hasVerticalScroller_( true ); b.autohidesScrollers_( false ); w.close; // Force a 'canv ...

  3. List Help

    ... st's Array. at(index) Return the item at index . List [ 1, 2, 3 ].at(0).postln; clipAt(index) Same as at , but values for index greater than the size of the List will be clipped to the last index. y = List [ 1, 2, 3 ]; y.clipAt(13).postln; ...

  4. AbstractFunction Help

    ... atan, sinh, cosh, tanh, rand, rand2, linrand, bilinrand, sum3rand, distort, softclip, nyqring, coin, even, odd, isPositive, isNegative, isStrictlyPositive, rho, theta Binary Messages: All of the following messages send the message composeBi ...

  5. Mix it Up Help

    ... for mul, thus ensuring that the final output will be between -1 and 1, and not clip. There's another handy class called Mix, which will mix an array of channels down to a single channel or an array of arrays of channels down to a single ar ...

  6. File Help

    ... lue), so moves to a given location from the beginning of the file. the value is clipped so that it lies between 0 inclusively and the file length exclusively. length returns the current file size in bytes Examples: // write some string to a ...

  7. Pitch Help

    ... wer executes periodically at the rate specified by execFreq in cps. execFreq is clipped to be between minFreq and maxFreq . First it detects whether the input peak to peak amplitude is above the ampThreshold . If it is not then no pitch est ...

  8. Onsets Help

    ... the buffers b = Buffer .alloc(s, 512); // Feel free to load a more interesting clip! // a11wlk01 is not an ideal example of musical onsets. d = Buffer .read(s, "sounds/a11wlk01.wav" ); }; ) ///////////////////////////////////////////////// ...

  9. ArrayedCollection Help

    ... elements added. [4, 5, 6].maxSize; // gosh at(index) Return the item at index . clipAt(index) Same as at , but values for index greater than the size of the ArrayedCollection will be clipped to the last index. y = [ 1, 2, 3 ]; y.clipAt(13). ...

  10. SCKnob Help

    ... urrentDrag).postln } k.receiveDragHandler = { k.valueAction = View .currentDrag.clip(0.0, 1.0); } k.beginDragAction = { ( "drag out -> " ++ k.value).postln; } k.beginDragAction = { k.value.asFloat; }

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow