Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... tern files = inputpath.pathMatch.collect(PathName.new(_)); if(files.size==0, { "Error in Score.batchNRT: No files matched input path pattern.".postln; ^nil; }); sfreader = SoundFile.new; outputpath = outputpath.standardizePath; filesproduce ...

  2. ShannonMindReadingMachine Quark

    ... nSize, strategyClass) } init { |size, argStrategyClass| if(size - 3 % 2 != 0) { Error("Incompatible pattern size").throw }; patternSize = size; strategyClass = argStrategyClass ? ShannonMindReadingStrategy; this.reset; } reset { table = Ide ...

  3. HOADecLebedev_tests Quark

    ... der == 5 ].detectIndex{|v| v.not}.notNil.if{ "channel/order mismatch detected.".error; }; s.options .numInputBusChannels_(2) .numOutputBusChannels_(36) .numAudioBusChannels_(2048) // default is 1024 .blockSize_(512) .numWireBufs_(1024) .mem ...

  4. HISTORY Quark

    ... workers - Deprecated `DEBUG_FD` environment variable set to `3` or higher - Fix error when running under React Native - Use same color for same namespace - deps: ms@0.7.2 0.5.1 / 2016-11-12 ================== * Fix exception when `err.heade ...

  5. TestRational Quark

    ... 1, 0, 100, -100, 0.5, pi].do { |num| this.assertException({ Rational(num, 0) }, Error, format("Rational(%, 0) is refused", num)); }; this.assertException({ Rational(1, 2) / Rational(0, 1) }, Error, "division by a zero rational is refused"); ...

  6. UnitTest Quark

    ... method.asSymbol; method = class.findMethod(method.asSymbol); if(method.isNil) { Error("Test method not found "+methodName).throw }; class.new.runTestMethod(method); } // run a single test method of this class runTestMethod { | method | var ...

  7. KDTree Quark

    ... (other)} { if(other.class == KDTree) {^this.location.distance(other.location)} {Error("other node point should be an Array or KDTree").throw}; }; } }

  8. clLiveCode-ext Quark

    ... |key, presetDef| // if you add to an empty Factory, later checks will die with error // so, prevent that if(this.class.exists(collIndex)) { if([Dictionary, SequenceableCollection].every { |class| presetDef.isKindOf(class).not }) { Error( " ...

  9. SCLOrkPD Quark

    ... fButton; var selectedPresetName; var selectedPreset; var currentVoice; var voiceError; var namePlaying; var stringPlaying; *new { | playerNumber, presetSearchDir = "/home/sclork/Music/SCLOrk/Demos/PublicDomainTest", orderByYear = false | ^s ...

  10. Patch Quark

    ... dn't give enough then set defaults for the others if(inputs.size != args.size,{ Error("Args are not the correct size, should be "+args.size).throw; }); inputs.do({ |in,i| this.setInput(i,in) }); } instr_ { arg newInstr; this.invalidateSynth ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow