Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... it { | stream, event | player = EventStreamPlayer(stream, event); } play { | argClock, doReset = false, quant | player.play(argClock ? player.clock, doReset, quant) } stop { player.stop } reset { player.reset } //Stops and remove all action ...

  2. clock Quark

    // maainstage clock and gui /////// Clock display shows how long something has been running /* Tdef(\clocK).gui; Tdef(\clocK).set(\isRunning, true); // jumps back to zero when stopped Tdef(\clocK).set(\isRunning, false); // watch some Tdef ...

  3. test_sclork_clock Quark

    ( ~server = SCLOrkClockServer.new; SCLOrkClock.startSync("127.0.0.1"); ) ( ~clock = SCLOrkClock.new; ~clock.setTempoAtBeat(3.0, 32.0); ~clock.setTempoAtBeat(0.5, 64.0); ~clock.setTempoAtBeat(1.0, 48.0); ) ( ~clock.tempo = 2.0; ) ( ~clock2 = ...

  4. PlagGong Quark

    ... et).end_(end) } embedInStream { arg inval; var distanceFromGong, gonganDur; var clock, outval; var stream = pattern.asStream; while { outval = stream.next(inval); outval.notNil } { if(outval.at(\doSuwuk) === true) { gonganDur = outval.at(\g ...

  5. CutFunc Quark

    ... Phrase, function is placed in an Event for later rendering, via BBCutBlock and clock CutFunc : CutSynth { var <>cutfunc, <>blockfunc, <>phrasefunc, <>compensate; *new { arg cutfunc, blockfunc, phrasefunc, compensate=0.0; ^super.new.cutfunc ...

  6. SCLOrkClockView Quark

    SCLOrkClockView : View { var clock; var beatFlasherView; var beatsLabel; var barLabel; var tempoLabel; var meterLabel; *new { | parent, clock | ^super.new(parent).init(clock); } init { | clock | this.layout = VLayout.new( HLayout.new( Stati ...

  7. DurInterpolationOfWholeClock Quark

    //Inspired by http://sccode.org/1-5fG#c992 ( Alga.boot({ ~change_clock_tempo = {|clock, tempo, beats=1| beats.do {|beat| var stepTempo = beat.linexp(0, beats-1, clock.tempo, tempo); clock.schedAbs(clock.nextBar + beat, { "New Tempo: ".post; ...

  8. PHelpSynthPlayer Quark

    ... PHelpSynthUsePlayer { *new { arg pHelpSynth; ^super.new(pHelpSynth); } play { |clock, quant, hsPlay = true, pbindPlay = true, quantBufferTime = 0.2| var startQuant, demandQuant, receiveQuant, thisClock = clock ?? TempoClock.default, adaptQ ...

  9. SCLOrkClock-Design-Document Doc

    SCLOrkClock Design Document: Filter: Requirements Clock Client Design Clock Creation Computation of Clock Current State Propagating Clock Changes Server Design Time Synchronization Server Wire Command Reference /clockRegister - needs to be ...

  10. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    When sending MIDI clock out at a fast tempo, there may be fewer than 10 ms between clock ticks. If you're sending the clock messages from the same sclang that is sequencing musical events, any unexpectedly long-running sclang activity could ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow