Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... kill the buffer queue try { ~bufTimes[i] = buf.numFrames / buf.sampleRate } { |error| error.reportError; } // display error but continue }; ~ampsSize = { var divCycleArray = ~divCycle.asArray; ~beatsPerBar.value / divCycleArray.sum * divCy ...

  2. TimeSpec Quark

    ... il the given time passes; once the clock's beat counter goes past that time, an error will be thrown. AbsoluteTimeSpecLeadTime -- for use with BP in chucklib, and subtracts the leadTime of the process from the given time. See the [ BP ] hel ...

  3. TimeSpec Quark

    ... il the given time passes; once the clock's beat counter goes past that time, an error will be thrown. AbsoluteTimeSpecLeadTime -- for use with BP in chucklib, and subtracts the leadTime of the process from the given time. See the [ BP ] hel ...

  4. MP3 Quark

    ... ms if((mode!=\readurl) && (mode !=\writefile) && File.exists(path).not, { ("MP3 error: local file not found:\n" ++ path).warn; ^nil; }); // Establish our FIFO fifo = "/tmp/sc3mp3-" ++ this.hash ++ ".fifo"; ("mkfifo "++fifo).systemCmd; // En ...

  5. instrSupport Quark

    ... 2 } didSpawn {} } + UGen { onTrig { |func,value=0.0| if(this.rate != \control,{ Error("UGen:onTrig only possible with a control rate signal." + this.rate).throw; }); ^InstrSynthDef.buildSynthDef.onTrig(this,func,value) } onPoll { |func,trig ...

  6. instrSupport Quark

    ... } didSpawn {} } + UGen { onTrig { |func, value=0.0| if(this.rate != \control, { Error("UGen:onTrig only possible with a control rate signal." + this.rate).throw; }); ^InstrSynthDef.buildSynthDef.onTrig(this, func, value) } onPoll { |func, t ...

  7. Sample Quark

    ... se; // got it },{ ("Sample failed to load SoundFile at path: " + soundFilePath).error; }); this.calculate; if(t.notNil,{ this.tempo = t; },{ this.beats = 4.0; this.guessBeats; }); numChannels = soundFile.numChannels; sampleRate = soundFile. ...

  8. Sample Quark

    ... e; // got it }, { ("Sample failed to load SoundFile at path: " + soundFilePath).error; }); this.calculate; if(t.notNil, { this.tempo = t; }, { this.beats = 4.0; this.guessBeats; }); numChannels = soundFile.numChannels; sampleRate = soundFil ...

  9. extFreqSpectrum Quark

    ... t.at(\beamShapes).first, dim) }, 2, { if((beamDict.at(\edgeFreqs).size != 2), { Error("Must supply two edge frequencies for a two band shelf. Supplied: % ".format(beamDict.at(\edgeFreqs).size)).throw }, { freqs = beamDict.at(\edgeFreqs).sor ...

  10. DirtSoundLibrary Quark

    ... uffer, appendToExisting = false, metaData| var event, index; if(buffer.isNil) { Error("tried to add Nil to buffer library").throw }; if(synthEvents[name].notNil) { "a synth event with that name already exists: %\nSkipping...".format(name).w ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow