Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. icon-icontrols-pro.desc Quark

    ... mn: i)) ) } ), ( key: \select, // assuming this is 24-31? was 16-23, copy paste error? elements: (24..31).collect { |num, i| ( key: (i+1).asSymbol, groupType: \noteOnOffBut, midiNum: num, shared: (style: (row: 3, column: i)) ) } ) ] ), ( ke ...

  2. Ptafsiran Quark

    ... arg pattern, rules, transparent = false, maxContextSize = 30; if(rules.isNil) { Error("need rules for Ptafisran!").throw }; ^super.new.pattern_(pattern).rules_(rules) .transparent_(transparent).maxContextSize_(maxContextSize) } rules_ { arg ...

  3. instr.api Quark

    ... name.asString; instr = Instr.at(name) ?? {Instr.load(name)}; if(instr.isNil, { Error("Instr not found" + name).throw; }); outSpec = instr.outSpec; args = instr.argNames.collect({ arg argName, i; var spec = instr.specs.at(i); ( name: argNam ...

  4. Fexpr-test Quark

    ... + 9 * 10; a = Fexpr(2) + 9 * (Fexpr(10) / 2); b = a.pingolino a.call b.call // error. a = Fexpr(_ + 2) + 3; a.value; // returns a new Fexpr, so this is not what we wanted a.call // BinaryOpFunction a.call.value(0) // 5 // you can wrap the ...

  5. Renderer Quark

    ... score.score ( Renderer .use({ { SinOsc .ar(499) * 0.1 }.play; }, 3).score ); // error here still ( Renderer .use { Pbind ( \freq , Pseq ([500, 300, 200], 2), \dur , 0.1 ).play; }.score ) ( a = Renderer (3); Routine ({ SynthDef ( "test" , { ...

  6. PreProcessor_alt Quark

    ... == $( /*)*/) { j = code.find(" ", offset: i + 1); // next segment if(j.isNil) { Error("wrong syntax: %".format(code)) }; op = code[i..j].asSymbol; i = j; }; if(/*(*/char == $)) { res = op.performList(stack); stack = nil; }; j = code.find(" ...

  7. PHelpSynthParPlayer Quark

    ... tQuant); isPlaying.not.if { ((hsPlay == true) && (switchPlay == true)).not.if { Error("hsPlay and switchPlay must be true at first call of play - other values at resume only").throw; }; // helpSynth.allocBus; helpSynth.hasJustStartedWithPau ...

  8. MoscaSource Quark

    ... true; "✓ Created streaming buffer for source %".format(index + 1).postln; }, { "ERROR: Failed to create streaming buffer for source %".format(index + 1).postln; bufferValid = false; }); } ); }, { "ERROR: Cannot stream - file does not exist: ...

  9. child Quark

    ... ; test = ~radTests.detect{|t| t[\name] == testName }; if(test.isNil, { finish.(\error, "test not found: " ++ caseName ++ "/" ++ testName) }); if(test.notNil and: { test[\gui] and: headless }, { finish.(\skipped, test[\note] ? "needs a GUI") ...

  10. SWDataNetworkOSC Quark

    ... ing on. This is useful for debugging the network connections. 0 - no posts, 1 - errors/warning messages, 2 - all incoming osc messages, except /pong and /set/data, 3 - data sent out and coming in (/set/data), 4 - /pong messages. - Autoconne ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow