Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. NPdef Quark

    ... eqs = ~freq; ~amp = ~amp.value; bndl = proxy.controlKeys.envirPairs; thisThread.clock.sched(~lag + ~timingOffset, { // [proxy.dump, bndl].postln; proxy.set( *bndl ); }); }; }; ); } *new{ |proxy,src, key| var pat,res; key = key ?? { proxy.ke ...

  2. TempoClockGui Quark

    TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...

  3. psSet-event-type Quark

    ... stain < inf } }) { if(releaseHolder.notNil) { releaseHolder[proxy] = thisThread.clock.beats + sustain; }; thisThread.clock.sched(sustain, { if(releaseHolder.isNil or: { releaseHolder[proxy] ? 0 <= thisThread.clock.beats }) { proxy.source = ...

  4. TestAlgaClock Quark

    ... boot({ a = AP({ SinOsc.ar * EnvGen.kr(Env.perc, doneAction:2) }).play }) ) Alga.clock.tempo = 1

  5. CutBuf2 Quark

    ... h-cuts[0][0] and sending retrigger messages for each cut renderBlock {arg block,clock; var startpos,rate, tmp; bbcutbuf.tryPerform(\updateblock, block); pbsfunc.tryPerform(\updateblock, block); offset.tryPerform(\updateblock, block); dutycy ...

  6. helper-funcs Quark

    ... mitted, it will wait until the next barline to switch the meter { |beatsPerBar, clock(TempoClock.default), barBeat(clock.nextBar), newBaseBarBeat(barBeat)| clock.schedAbs(barBeat, { "changeMeter set to % at %\n".postf(beatsPerBar, barBeat); ...

  7. 265-janus_bunch_clocks Quark

    //two-phase coupled oscillators connected in a ring visualized as clocks //from https://www.complexity-explorables.org/explorables/janus-bunch/ ( var width= 500, height= 500, w, world, n= 12; //--world w= RedWindow("janus bunch - clocks", R ...

  8. AlgaPatternInterpStreams Quark

    ... et( \t_release, 1, \fadeTime, if(algaPattern.tempoScaling, { time / algaPattern.clock.tempo }, { time }), \envShape, AlgaDynamicEnvelopes.getOrAdd(shape, server) ); }); }); } //This creates a temporary patternSynth for mid-pattern interpola ...

  9. PHelpSynthUse Quark

    ... 1; }); }; }); ^[Ptpar(demandPatternArgs), Ptpar(receivePatternArgs)]; } play { |clock, quant| var warnMsg = "No PHSplayer - " ++ "Playing a PHSuse needs a PHS being played\n"; helpSynth.isPHSplaying.not.if { warnMsg.warn; }{ ^PHelpSynthUseP ...

  10. TestOSCSyncClocks Quark

    TestDDWOSCClocks : UnitTest { test_ddwSyncClocks_acquireAndMaintainSync { var leader, follower, cond = Condition.new, resp, sum; this.assertEquals(NetAddr.langPort, 57120, "sclang's port must be 57120 to run this test"); // sync messages fa ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow