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. 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 ...

  4. 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 ...

  5. 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 }) ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. BarMap Quark

    BarMap { // a map to convert beats to bar numbers over a time line // signatures are notated as arrays: [3,4] means a signature of 3/4 // events: a sorted array with elements [ num, denom, bar, beat, numBars ] // the last two items of the a ...

  10. BarMap Quark

    BarMap { // a map to convert beats to bar numbers over a time line // signatures are notated as arrays: [3,4] means a signature of 3/4 // events: a sorted array with elements [ num, denom, bar, beat, numBars ] // the last two items of the a ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow