-
... e(full_chord) ); [side, side]; }; ~sound = 0; ~play = { arg clock, time, bass, chord; clock.sched(time, {~sound.free; ~sound = {~noise.value(bass, chord)}.play}); }; ~kill = { arg clock, time; clock.sche ...
-
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 ...
-
This gradually changes the tempo of a TempoClock, each beat of a specified number of beats, and starting at the next bar. Personally, I was not able to heavily distinguish between `.linlin` and `.linexp` for reasonable musical tempos. ...
-
... 8, 16, 32, etc bar. ( f = (); f.beatAndBar = { var t = currentEnvironment.clock; // t= TempoClock.new; var text = "xB: "; var nBeatsPerBar = { arg n, beats, clock; var nBpb = clock.beatsPerBar * n; "" ++ n ++ text ++ (nBp ...
-
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 ...
-
... Ppar([ Pbind(*[ instrument: \kick, delta: 1, dur: Pfunc({ thisThread.clock.beatDur }) / 4, amp: Pseq([ Pseq([1], 16), Pseq([0.8, 1], 8), Pseq([1], 16), Pseq([0.8, 0.8, 0.9, 1], 8) ], inf) * 0.8, freq_l: ...
-
... SynthDef(\moap, { // YES everything runs at audio rate. Works with hardware clocks but please don't send 5v into your microphone input, find some way to attenuate it or just use another computer AUX OUT --> MIC IN // hence why I used ...
-
... { |rate=1, bpm=135, barLengthInBeats=4, resetLength=1| var reso = 96; var clockFreqFull = bpm / 60 / barLengthInBeats * rate; var clockFreq = clockFreqFull / resetLength; var impSubDivs = Impulse.ar(clockFreqFull * barLengthInBeat ...
-
... y == 0.0) { oscout.sendBundle(latency, message) } { thisThread.clock.sched(latency, { oscout.sendBundle(latency, message) }) } }); // automatically deal with noteoff messages for each note-type ...
-
... interface ~slcr = {arg buf, beats = 8, beatDiv = 2, sliceProducer, amp = 0.1, clock = TempoClock.default; // buffer info var numFrames = buf.numFrames; var sampleRate = buf.sampleRate; // length in seconds of sample var len ...