Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... " ==").postln; try { fn.value } {|err| failures = failures + 1; ("FAIL (section error): " ++ name ++ " — " ++ err.errorString).postln; }; }; // Independent oracle: brute-force source consumption under a wall-time bend env. // Returns the wa ...

  2. proto-cmds Quark

    ... tion sequencer // it can set the passthru flag // try returns nil if there's an error if(try { args[\passthru] } == true) { currentEnvironment.changed(what, args) }; }; ~playItem = { |item| var seq = item[\sequence], dur = item[\dur], itera ...

  3. numberExtras Quark

    ... itchRange)} } // this is like asFraction but hacked in order to handle rounding errors for // harmonic interpretation of periodic decimals (0.333 will be 1/3 and not 333/1000) asRatio {|denominator = 100, fasterBetter = true| var num = this ...

  4. ControlValue Quark

    ... instead, override prSetFrom setFrom { |other| if (this.class != other.class) { Error("Trying to set a ControlValue of type '%' from one of type '%'.".format(this.class, other.class)).throw } { this.holdUpdates = true; protect { this.prSetF ...

  5. proto-cmds Quark

    ... tion sequencer // it can set the passthru flag // try returns nil if there's an error if(try { args[\passthru] } == true) { currentEnvironment.changed(what, args) }; }; ~playItem = { |item| var seq = item[\sequence], dur = item[\dur], itera ...

  6. pitch-processes Quark

    ... onds; out = Pbind( \note, inEvent[\chNotes].isNil.if({ (~chords.size == 0).if({ Error("Cannot play -- no chords have been provided to arpeg process").throw; }, { ~nextNoteStream.value(inEvent) }); }, { // fall back for midi input out = (not ...

  7. numberExtras Quark

    ... tio This is like SimpleNumber:asFraction but hacked in order to handle rounding errors for harmonic interpretation of periodic decimals (0.333 will be 1/3 and not 333/1000) 0.333.asRatio; 1.667.asRatio; // compare with: 1.667.asFraction; Ad ...

  8. DXEnvFan Quark

    ... sizes (> 10 or so) as otherwise the number of ugens might result in an overflow error. Not modulatable. Defaults to nil. zeroThr - A Number or a ugen returning zeroThr numbers or a SequenceableCollection of such, causing multichannel expans ...

  9. SamplerQuery Quark

    ... [[SampleDescript1, 1], [SampleDescript2, 0], [SampleDescript3, 1], .....] // NO ERROR Proove here *getSamplesByArray{|samplerArray, args| var samplePrep = SamplerPrepare.new; samplerArray.do{|sample, section, index| var samplePrep = Sampler ...

  10. Unit Quark

    ... uldPlayOn( this, target ); } doesNotUnderstand { |selector ...args| // bypasses errors; warning only if arg not found if( selector.isSetter ) { this.set( selector.asGetter, *args ) } { ^this.get( selector ); }; } // override methods from Ob ...

prev 71 72 73 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow