Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. AbstractSPlayFileView Quark

    ... r; readFolderButton.receiveDragHandler= waveView.receiveDragHandler; //--action functions popup.action= {|view| var val= view.value; if(view.items[0]=="_", {val= val-1}); if(val>=0, { this.read(soundfiles[val].path); }); }; readFolderButton ...

  2. sKeyboard Quark

    ... = #[36, 96]; //minmax range in midinotes, first&last black keys are ignored //--functions and objects var keys, createKeys, numWhiteKeys, lastKey; var whiteKeySize, blackKeySize; var velClicked, currentKey, setCurrentKey; var updateMidiNote ...

  3. XiiBufferPool Quark

    ... l, {setting[2]}); // the params are loaded from XiiQuarks at the bottom of this function bgColor = Color.new255(155, 205, 155); foreColor = Color.new255(103, 148, 103); outbus = 0; win = GUI.window.new(name, Rect(point.x, point.y, 220, 195) ...

  4. PS Quark

    ... to generate a new PS, e.g. by reevaluating its definition or wrapping it into a Function. p = PS ( Pseries (), 5); // evaluate more than once p.asStream.all; // compare q = { PS ( Pseries (), 5) }; // evaluate more than once q.value.asStrea ...

  5. Bend Quark

    ... control + in } }, ugenFunc, maxSize) } } /* // needs a refactoring: constructor functions from above should apply IOBend : CircuitBend { *new { |bendFunc, ugenFunc, arbus, krbus| var res; this.readOutputs(arbus, krbus); res = this.use(ugenF ...

  6. CVWidgetMSEditor Quark

    ... he widget's CV resp.\n'cv.value' its current value. You may enter an\narbitrary function using this variable (or not).") }); wdgtActions = widget.wdgtActions; // "num wdgtActions: %\n".postf(wdgtActions.size); // "widgetActions: %\n".postf( ...

  7. SCLOrkWiimote Quark

    ... ^nil; }); instance = super.newCopyArgs(hid).init; ^instance; } init { var statusFunction, acknowledgeFunction, dataFunction; reportingModeElements = Array.newClear(2); statusReportElements = Array.newClear(6); buttonReportElements = Array.n ...

  8. UC33Ktl Quark

    ... Methods mapCCS (editor, scene) map one of the controls in a scene to a general function. // map transport buttons 'play' and 'rec' to simple actions: g.mapCCS(1, 'play' , { |ccval| " 'play': %.\n" .postf(ccval) }); g.mapCCS(1, 'knu1' , { | ...

  9. extArray-interpolation Quark

    + Array { // Basic interpolation functions // part of wslib // v#20/7/05 // 3/5/10 changed for compat with points linearInt { arg i, step = 0; // uses array of 2 input values i = i.round(step); ^(this[0] + ((this[1] - this[0]) * i)); // fro ...

  10. TLSequenceIterator Quark

    ... 's routine // it is VERY DANGEROUS to stop the routine from within itself // -- functions magically fail to return and havoc ensues -- // so make sure this doesn't happen until after the routine yields thisThread.clock.sched(0, { routine.st ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow