-
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 ...
-
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 ...
-
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 ...
-
prototype of simple metre beat grid running on server w/ synced TempoBusClock ( // beat grid object prototype ~g = { var l = 6, // base pulse: 2**l, so max tempo (on 48khz) is around 48000/64/(2**6) = 11.7 state_bus = Bus.control(numCha ...
-
... dAtTime xschedBundle tschedAbsNext Inherited instance methods Examples Absolute Beat / Time scheduling Exclusive x-methods Classes (extension) | Scheduling | Libraries > crucial'>crucial > crucial>Scheduling'>Scheduling OSCSched Extension s ...
-
... ?? { group = Group(this.server.asTarget) } }*/ } // plays the events at their \beat // or when playEventAt(i) is called EventListPlayer : EventPlayer { var <events; var sched, ei=0; *new { arg events, spec=\audio, postFilter, protoEvent; ^ ...
-
Prints beats to bars for a mutiple of bar. How many beats left until next 1, 2, 4, 8, 16, 32, etc bar. ( f = (); f.beatAndBar = { var t = currentEnvironment.clock; // t= TempoClock.new; var text = "xB: "; var nBeatsPerBar = { a ...
-
... timeSigs.do({arg thisTimeSig, i; var thisMeasure, first, lower, rlower, rem, endBeat; lower = thisTimeSig.lower; rlower = lower.reciprocal; thisMeasure = this.notesForMeasure(i); thisMeasure.do({arg thisVoice, v; // are there notes? (thisVo ...
-
... ( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = {|clock, tempo, beats=1| var oldDur = ~dur; var newDur = 1.0 / tempo; beats.do {|beat| var stepDur = beat.linexp(0, beats-1, oldDur, ...
-
... ould be subclass of server Renderer : Clock { var <>lifeTime, <>options, <threadBeats; var <>score; var <nodeAllocator; var <controlBusAllocator; var <audioBusAllocator; var <bufferAllocator; *new { arg lifeTime=60, options; ^super.newCopyA ...