Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Fexpr Quark

    ... ctorFunc; var receiverFunction = this.pr_function; if(receiverFunction.isNil) { Error("no lift without a function").throw }; selectorFunc = { |receiver, messageArgs| messageArgs = messageArgs.collect(_.unlift); // YES? receiver.performList( ...

  2. Pboolnet Quark

    ... <>repeats, <>loops; *new { arg nodes, repeats=1, loops=1; if(nodes.size.odd) { Error("nodes must be pairs of values").throw }; ^super.newCopyArgs(nodes, repeats, loops) } embedInStream { arg inval; var bools, newBools, selectorStreams, loo ...

  3. SCLOrkPDPreset Quark

    ... oices; *newFromFile { | filePath verbose = false | var tokens, tokenIndex, parseError, voices, year, openVoice; var fileString = String.readNew(File.new(filePath, "r")); tokens = SCLOrkPDPreset.tokenize(fileString); if (tokens.isNil, { ^nil ...

  4. MagicPreset Quark

    ... y.indexOf(separatorChar).notNil) { "MagicPreset key cannot contain parentheses".error; } } }

  5. 07_FB_2 Quark

    ... r(\freq.kr + \fm.ar) }) //Bye bye ( b.clear(time: 2); a.clear(time: 2); ) //The errors on console are the routines (fork) //that are still trying to make connections. //Ctrl + . to stop them

  6. TestSatieJson Quark

    ... m(List[\foo, \bar]); this.assertException( { SatieJson.parseJsonConfig(dict) }, Error, "SatieJson.parseJsonConfig should throw an error when no entry named 'satie_configuration' was found" ); } test_convertJsonDictionary { var parsed = json ...

  7. ScalaTunings Quark

    ... oat; ratio.ratiomidi } { true } { line.asFloat } }; if (pitches.size != size) { Error("scl: size mismatch (% != %)".format(pitches.size, size)).throw }; octaveRatio = pitches.last.midiratio; if (octaveRatio == 2.ratiomidi.midiratio) { octav ...

  8. VGSound Quark

    ... dl); if (sendGate) { ~schedBundleArray.value(lag, sustain + offset, server, [['/error', -1]] ++ [\n_set, ids, \gate, 0].flop ++[['/error', -2]] ) } } { if (strum < 0) { bndl = bndl.reverse }; strumTime = 0; bndl.do { | msg, i | ~schedStrumm ...

  9. MxApp Quark

    ... g that; if(that.isKindOf(AbsApp).not, { (this.asString + "cannot >> to" + that).error }); } } MxApp : AbsApp { var cache, convertor, transactionCount = 0; mx { ^model } at { arg point; var u; u = model.at(point.x, point.y) ?? { ^nil }; ^thi ...

  10. BBCutProc11 Quark

    ... ? if(unitsdone>=(totalunits-0.000001), //account for very slight floating point errors { //new cutsize? subdiv= sdiv.value.round(1.0).asInteger; //integers only //new number of beats to cut into subdiv units sdivbeats=barlength.value; //new ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow