Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3120) Code (144) Doc (1251) Help (358) Quark (1341) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. UChain Quark

    ... eleaseSelf,\defName1,\defName2,...) */ init { |args| var tempDur; if( args[0].isNumber, { startTime = args[0]; args[0] = nil; }); if( args[1].isNumber, { track = args[1]; args[1] = nil; }); if( args[2].isNumber, { tempDur = args[2]; args[2] ...

  2. Voicer Quark

    ... rimental classvar <>parallelSynthGroup = false; var <nodes, <voices, // maximum number of voices <target, <>addAction, <bus, <>stealer = \preferEarly, // a symbol, method name for node locator // must be one of: cycle, strictCycle, random, ...

  3. ArdourOSC Quark

    ... f session end { a.sendMsg("/goto_end" ) } // Where bars is a float (+/-) of the number of bars to jump jump_bars { arg bars=1; a.sendMsg("/jump_bars bars" , bars) } // Where seconds is a float (+/-) of the number of seconds to jump jump_sec ...

  4. PitchClass Quark

    ... soctave; var str, pitchnum; octave = thisoctave ?? {octave}; thispitch.isKindOf(Number).if({ octave = (thispitch.round*0.0833333333).floor - 1; pitchnum = thispitch % 12; (pitchnum == -0).if({pitchnum = 0}); (pitchnum == 0).if({(thispitch ! ...

  5. wsGui_examples Quark

    ... }; t = 4.collect{|i|WsStaticText.init(a, nil).string_("test"++i)}; // different number of widgets d = [c, t].lace(8).clump(2).drop(4.rand) ) // we know the former layout bounds l.bounds // and individual widgets if necessary l.elements.do{| ...

  6. SGUI Quark

    ... {themes.default}; } *fixDec {|val, numDecimals= 2| //float to string with fixed number of decimals var str= val.round(0.1**numDecimals).asString; var num= str.size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $0); } *shrink {|st ...

  7. startup01-events Quark

    ... ; }); }, checkbuses: { block { |break| ~bus.do({ |bus| bus.tryPerform(\index).isNumber.not.if({ break.(false) }); }); true } }, // setArgs: { // var args, lib, desc; // ((lib = SynthDescLib.all[~lib ? \global]).notNil // and: { (desc = lib[ ...

  8. MIDISliderWindow Quark

    ... e // * when 'type' is set to 'channel', it will map the // values of controller number 'cc' on every channel // from 'ch' to ('ch' + 'nC') to the sliders. // -> ch1, cc7 to slider1, ch2, cc7 ot slider2, etc. // * when 'type' is not set to ' ...

  9. History Quark

    ... 3.1 - Add `sameSite` option - Fix cookie `Max-Age` to never be a floating point number - Improve error message when `encode` is not a function - Improve error message when `expires` is not a `Date` - Throw better error for invalid argument ...

  10. XiiScale Quark

    ... uning_(\just); // change all -- should be done simultaneously when switching // number of steps per octave a.scale_(\bayati, \et24); // ... but if you don't, we warn you and continue with // default tuning a.scale_(\mixolydian); // can also ...

prev 131 132 133 134 135 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow