Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. MonoPortaVoicerNodes Quark

    ... // save frequency for Voicer.release voicer.lastFreqs.add(freq); lastTrigger = SystemClock.seconds; // clock.beats2secs(thisThread.clock.beats); isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, ga ...

  2. asPluggable-ext Quark

    ... { this.doPrepare(server, { server.sendBundle(nil, *messages) }) } { callTime = SystemClock.seconds; this.doPrepare(server, { server.sendBundle( delta + callTime - SystemClock.seconds, *messages ); }); } } debug { |str| Post << str << ":\n" ...

  3. RedDiskInPlayer Quark

    ... e, nil, loopView.value ); incdecTask.stop; incdecTask= Routine({ var startTime= SystemClock.seconds; var stopTime= sampler.length(playIndex); decView.string= stopTime.asTimeString; inf.do{ var now= SystemClock.seconds-startTime; incView.str ...

  4. ClockProxy Quark

    ... .removeAllSuchThat(true); // end old clock without sending removedFromScheduler SystemClock.sched(0.01, { oldClock.prClear }); clock = newClock; } // for efficiency: pass on messages to clock. permanent_ { |flag| clock.permanent_(flag) } pe ...

  5. IBVAfake Quark

    ... }!4)).asInteger.clip(0, 1023); action.value(*data); }); (1/sr).wait; }; }).play(SystemClock); } close { task.stop; } getBatteryLevel {blAction.value(3.3)} getDeviceName {dnAction.value("fake")} getSamplingRate {srAction.value(sr)} getFilter ...

  6. MiniIDEScope Quark

    ... restart functions - will restart scopes after a cmdPeriod restartScopesFunc = {SystemClock.sched(cmdPeriodDelay,{scope.run; phaseScope.run})}; CmdPeriod.add(restartScopesFunc); //WINDOW window .onClose_({ scope.free; phaseScope.free; meter ...

  7. Patch-spawning-and-patterns Doc

    ... grains Routine({ 1.0.wait; 100.do({ b.spawn(atTime: 0.1); 0.25.wait }) }).play(SystemClock) ) ⧉ ✔ Note that there is a Patch method .respawn which is different. Events Patch-asEvent will create a Event that can be .play(ed) or used in an E ...

  8. extSimpleMIDIFile-asEvents Quark

    ... icts( channel, track ) .sort({ |a,b| a.absTime <= b.absTime }); clock = clock ? SystemClock; function = function ? { |... args| // monitoring func for default "note played:".postln; ["noteNr", "velo", "dur", "upVelo", "tr", "ch", "absTime", ...

  9. TestClockTempoInterpolationscd Quark

    ... if(counter >= (1.0 + (delta * time)), { done = true }); delta.wait; } }, clock: SystemClock) )

  10. AlgaClassExtensions Quark

    ... }; } */ } +Clock { *tempo { ^(1.0) } *tempo_ { } tempo { ^(1.0) } tempo_ { } //SystemClock, just do no error out *interpolateTempo { } *interpTempo { } //Only works for TempoClock / LinkClock interpolateTempo { | tempo = 1, time = 0, shape ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow