Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... gumentStack = nil; } ) } // schedule relative to a time grid sched { |func| var clock = TempoClock.default; if(quant.isNil) { func.value } { clock.schedAbs( clock.nextTimeOnGrid(quant), { func.value; nil } ) } } //////////////////////////// ...

  2. MixerChannel4-order Quark

    ... he server has sent an alive message MixerChannelDef.sendSynthDefs(obj); }, { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); }); ...

  3. MixerChannel4-order Quark

    ... onstructor) switch(changer) { \serverRunning } { if(obj.serverRunning.not) { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); }); ...

  4. cl-manual-examples Quark

    ... ** Listing 2. A quick techno-ish drumset. **************/ \loadAllCl.eval; TempoClock.tempo = 124/60; /hh.(\hardhh); /hhh = ".-.-.-.-"; /hhh+ /drum.(\tightsnr); /tsn = " - -"; /tsn+ /drum.(\deepkick); /dk = "o| o| _o |"; /dk+ // mixing boar ...

  5. RedToolsMenu Quark

    ... edMixGUI(~redMixStereo); }, ['redSys', 'RedTapTempoGUI'], { RedTapTempoGUI(TempoClock(1)); //or which clock to use? }, ['redSys', 'RedTempoClockGUI'], { RedTempoClockGUI.new; }, ['redSys', 'RedTest'], { RedTest.openHelpFile; }, ['redSys', ' ...

  6. PHSpar Quark

    ... / value pairs for the HSpar synth(s). latency - SimpleNumber (seconds). asTask(clock, quant, hsStop, hsPlay, switchStop, newEnvir, removeCtrWithCmdPeriod) Returns a wrapper Task, which may be passed to a VarGui object. Playing and stopping ...

  7. 9b_nanoKtl_demo Quark

    ... I ..."); 1.wait; NTMI.g.setFrontText("..."); "*** nanoKtl DEMO done!".postln }).clock_(AppClock); )

  8. grids_poc Quark

    ... \ffreq.kr(4000)); Out.ar(out, Pan2.ar(sig, \pos.kr(0.0))); }).add; ) ( t = TempoClock.default; t.tempo = 130/60.0; ) ( q[\pattern] = ( hhX: 0.1, hhY: 0.2, hhT: 0.6, kX: 0.2, kY: 0.2, kT: 0.7, sdX: 0.2, sdY: 0.4, sdT: 0.6, ); w = Window("SC ...

  9. Clothesline Quark

    ... "not playing".warn } { player.resume } } play { |startTime = 0, endTime = inf, clock, timeStep = 0.1| this.stop; player = Task { var next, dt; this.jumpTo(startTime); while { next = this.getNextBreakpoint(currentTime); currentTime < endTim ...

  10. HS Quark

    ... , doneAction: 2)); }).add; ) // HelpSynth definition, values between 0 and 1 // Clock and Quant for syncing ( h = HS (s, { LFTri .kr(0.5, mul: 0.5, add: 0.5) }); c = TempoClock .new; q = 0.2; ) // help synth values for pitch and synth arg \ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow