Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    BeatSched { classvar <global; var clock,<tempo,<tempoClock; var epoch=0.0,beatEpoch=0.0; var nextTask; var pq,nextAbsTime,nextAbsFunc,nextAbsList; *new { arg clock,tempo,tempoClock; ^super.newCopyArgs(clock ? SystemClock, tempo = tempo ?? { ...

  2. OSCSched Quark

    BeatSched { classvar <global; var clock, <tempo, <tempoClock; var epoch=0.0, beatEpoch=0.0; var nextTask; var pq, nextAbsTime, nextAbsFunc, nextAbsList; *new { arg clock, tempo, tempoClock; ^super.newCopyArgs(clock ? SystemClock, tempo = te ...

  3. TempoClock Doc

    ... Forwarding to the default instance stop play sched schedAbs clear tempo etempo beats beats2secs secs2beats nextTimeOnGrid timeToNextBeat setTempoAtBeat setTempoAtSec setMeterAtBeat beatsPerBar baseBarBeat baseBar playNextBar beatDur elapse ...

  4. TempoClock Help

    ... oClock is a scheduler like SystemClock, but it schedules relative to a tempo in beats per second. *new(tempo, beats, seconds, queueSize) creates a new TempoClock scheduler with the given tempo and starting times. If not supplied, tempo defa ...

  5. simple timeline for patterns by 56228375 (56228375) Code

    simple timeline for scheduling start and stop of patterns at specific beats (and an experimental extension with absolute time scheduling) // // Did you ever wonder how to easily schedule starting/stopping patterns at specific times // ...

  6. TempoClockTiming Quark

    //floor ( t = TempoClock.default; q = 2; t.beats.postln; t.schedAbs(t.beats.floor + q, { t.beats.postln; "".postln; nil }); ) //or ceil? ( t = TempoClock.default; q = 2; t.beats.postln; t.schedAbs(t.beats.ceil + q, { t.beats.postln; "".post ...

  7. MIDIClock Quark

    ... rror("Device not found " + deviceName + portName).throw; }); ^super.newCopyArgs(BeatSched.new(tempoClock:tempoClock),port) } play { var delta,songBeat = 0.0,quantize=4.0; if(isPlaying,{ "MIDIClockOut is already playing".inform; ^this }); sc ...

  8. MIDIClock Quark

    ... rror("Device not found " + deviceName + portName).throw; }); ^super.newCopyArgs(BeatSched.new(tempoClock:tempoClock), port) } play { var delta, songBeat = 0.0, quantize=4.0; if(isPlaying, { "MIDIClockOut is already playing".inform; ^this }) ...

  9. RecordAddr Quark

    ... his.sendBundle(nil, args); } } RenderAddr : RecordAddr { var <>lifeTime, <threadBeats; *new { arg hostname="127.0.0.1", port=0, lifeTime=60; ^super.new(hostname, port).lifeTime_(lifeTime) } init { super.init; threadBeats = IdentityDictionar ...

  10. TempoMap Quark

    TempoMap { // a map to convert beats to seconds over a timeline // tempo 1 means: 1 beat is 1 second (60 BPM) // events: a sorted array with elements [ tempo, beat, time ] // the 'time' slot is updated automatically for all events when addi ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow