Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (674) Code (68) Doc (212) Help (62) Quark (332) SCDoc ↗ Forum ↗ Google ↗
  1. trails Quark

    ... ispersion,0) },#[ nil, [-9,14,\linear,1] ], \audio ); // boring Instr([\trails,\beatDelay],{ arg audio=0.0,beat=1,tempo=1.0; DelayC.ar(audio,1 / (40 / 60) , beat * (tempo ?? {Tempo.kr}).reciprocal) },#[ \audio, [0.001,1.0,\linear,0.125] ], ...

  2. SCLOrkClock Quark

    ... Func; classvar syncTask; classvar wire; var <>currentState; var stateQueue; var beatSyncTask; *startSync { |serverName = "sclork-s01.local"| if (syncStarted.isNil, { syncStarted = true; clockMap = Dictionary.new; syncNetAddr = NetAddr.new(s ...

  3. HierSch Quark

    ... lock) aTempoClock.default is used if aTempoClock is not supplied. test prints 4 beats of test values testRate prints 1 beat's worth of test values at rate schedAbs(beat, priority, function, interval, quant, schedQuant) schedules a function ...

  4. MusicXML Quark

    ... pe]; (this.beam > 0).if({this.beamType = Array.fill(this.beam, {\none})}); } numBeats {arg anXMLPart; var beatFloor, beatDur, remDur, beat, thisMeter, pctOfBeat, compoundScale, base, tmpDur, newDur, i = 0, test; beat = this.beat; beatFloor ...

  5. ExternalClock Quark

    ... k { //classvar <>default; var providers; var <tempoclock; var lastref; var <lastBeatTime=0.0, <lastTempo=2, <lastBeat; // *initClass { // // Class.initClassTree(TempoClock); // ExternalClock.default= ExternalClock.new(TempoClock.default).pl ...

  6. MIDISyncClock Quark

    ... ames Harkins -- jamshark70@dewdrop-world.net MIDISyncClock { classvar <>ticksPerBeat = 24; // MIDI clock standard classvar responseFuncs; classvar <ticks, <beats, <startTime, <tempo, <beatDur, <beatsPerBar = 4, <barsPerBeat = 0.25, <baseBar ...

  7. TimeSpecs Quark

    ... for different scheduling results nextTimeOnGrid { arg clock; ^clock.tryPerform(\beats) ? 0 } // this is used in too many places, can't delete it outright yet schedTime { |clock| this.deprecated(thisMethod, this.class.findRespondingMethodFor ...

  8. extTempoClock-bigNew Quark

    ... { // when you want schedule to play lots of events at once *newBig { arg tempo, beats, seconds, size = 1024; ^super.new.initBig(tempo, beats, seconds, size) } initBig { arg tempo, beats, seconds, size; queue = Array.new(size.nextPowerOfTwo) ...

  9. TimeSpecs Quark

    ... for different scheduling results nextTimeOnGrid { arg clock; ^clock.tryPerform(\beats) ? 0 } // this is used in too many places, can't delete it outright yet schedTime { |clock| this.deprecated(thisMethod, this.class.findRespondingMethodFor ...

  10. ClockProxy Quark

    ... tempo } ? 1.0; var tempoRatio = newTempo / oldTempo; var elapsed = clock.elapsedBeats; queue.pairsDo {|delta, item| newClock.sched(delta - elapsed * tempoRatio, item) }; // removed all items from old clock. oldClock.queue.removeAllSuchThat( ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow