Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... sKindOf(Association)) { server = Server.named.at(key.value); if(server.isNil) { Error("Ndef(%): no server found with this name.".format(key)).throw }; key = key.key; } { server = defaultServer ? Server.default; }; dict = this.dictFor(server ...

  2. SymbolicNotations Doc

    ... se } second condition true ⧉ ✔ In this case, the second condition will cause an error if a is nil, because nil does not understand addition. a.notNil is a safeguard to ensure the second condition makes sense. a = nil; a.notNil and: { "secon ...

  3. drum sequencer to drive external midi device or software like ableton by 56228375 (56228375) Code

    ... drum, midiout=nil, repeat=1, division=8, midichannel=9, amplitudeerrors=0, timingerrors=0, percmap = nil| Pn( Pbind( \type, \midi, \midicmd, \noteOn, \midiout, midiout, \chan, midichannel, ...

  4. startup11-chordal Quark

    ... itNotes = result; ArpegPat(inEvent[\arpegType]).asPattern(result, inEvent) }, { Error("Fatal error arpeggiating chord: Func(%) returned nil." .format(fitFunc.asCompileString)).throw }); }; }) => PR(\chordModeSeg); // for more flexible analy ...

  5. extVarGui_2 Quark

    ... bol == \var }{ \var } { sliderPriority.asSymbol == \synth }{ \synth } { true }{ Error("sliderPriority must be set to var or synth").throw }; modSynthCtr = synthCtr; modSynthCtrNums = synthCtrNum; forBy(0, varCtr.size - 2, 2, {|i| varCtr[i+1 ...

  6. HierSch Quark

    ... ol=false; *new { arg clock; // if (clock.isNil, {^"Please specify a TempoClock".error}); ^super.new.initRulesSched(clock) } initRulesSched { arg aClock; t = aClock ? TempoClock.default; // t.clear; // in case a schedChecker is already runni ...

  7. DirtEventTypes Quark

    ... irt, { var keys, values; var dirt = ~dirt ? SuperDirt.default; if(dirt.isNil) { Error("dirt event: no dirt instance found.\n\n// You could try:\nSuperDirt.default = ~dirt;").throw; }; ~delta = ~delta ?? { ~stretch.value * ~dur.value }; ~amp ...

  8. Tour-of-Special-Functions Doc

    ... ons Beta Functions, Incomplete and Derivative Incomplete Beta Function Inverses Error Functions Polynomials Legendre (and Associated) Polynomials Laguerre (and Associated) Polynomials Hermite Polynomials Chebyshev Polynomials Spherical Harm ...

  9. HelpDoc Quark

    ... g); } *closeTag { |tag| var stackTag = open.pop; tag !? { if(stackTag != tag) { Error("XML tags don't close properly.").throw } }; this << "</" << stackTag << ">"; } } HelpDocNode { // editing gui addToGUI { ^this.subclassResponsibility(thi ...

  10. HarmonicMetric Doc

    ... tric. Can be changed. (Used to be a Symbol, but as changed to String because of errors in recent SC versions). g = HarmonicMetric(\gradusSuavitatis); g.type = "harmonicDistance"; ⧉ ✔ . value Give the values of the harmonic metric for an arr ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow