-
An experimental setup to create files of binaural beats attuned to human brainwave frequencies. s.boot; ( // see this for explanation: https://en.wikipedia.org/wiki/Binaural_beats // Wikipedia says binaural beats occur only below 1500h ...
-
... p = Pbind( \instrument, "bassy", \dur, Pseq([ 0.25, Rest(0.5), 0.25, // beat 1 Rest(0.5), 0.25, Rest(0.25), // beat 2 Rest(0.5), 0.5, // beat 3 0.5, 0.5 // beat 4 ], inf), \midinote, Pseq([ 34, \rest, 44, // 1 \re ...
-
... traightOutVol); }).add; //Pdefn's for riff1 Pdefn(\hits, 5); Pdefn(\beats, 8); Pdefn(\onPattern,~onPattern); Pdefn(\offPattern,~offPattern); PLbindef(\riff1, \instrument, \plucking, \outbus, ~revBus, \trigger, 0, ...
-
... tyFunc = { 64 }; // constant velocity ~velocityFunc = { |vel, timeSincePlayed, beats| // something weirder var ret = vel; if (beats % 1 < 0.1) { ret = (ret * 2) } { if (beats % 0.5 < 0.2) { ret = (ret * 0.5) ...
-
... e, and then send a MIDI clock start message, and start running ticks on the downbeat. This has been battle-tested in a pub live jam, driving a Digitakt, for an hour without glitches. Note that the MIDI '.connect' stuff is for Linux. Y ...
-
... ne a bunch of "score snippets" // =================================== ( ~beat = Pbind( \degree, [0, 7], \ctranspose, 24, \dur, 0.2, \legato, 0.1, \amp, Pseq([0.2, 0.12, 0.16, 0.12], inf) ); // forever patter ...
-
Trying out some stuff to get some melodies/pads out of feedback and some beats in the background. Ndef(\a, { var src, loc, delay=0.01; src = Decay2.ar(Impulse.ar(1/8), LFNoise2.kr(4).range(0.001, 0.0001), LFNoise2.kr(4).range(0.005, 0 ...
-
... t, maxStep; deltas = List[0.17, 0.17, 0.17, 0.17]; //starting deltas for each beat randos = List[0, 0, 0, 0]; //random values for each beat, first bar plays straight as randos are all 0 maxStep = deltas[0]/10; loop{ out = ((delta ...
-
... at", \dur, Pseq([ 1/8, 1/8, 1/8, 1/8, // beat 1 1/8, 1/8, 1/16, 1/16, 1/8, // beat 2 1/8, 1/8, 1/16, 1/16, 1/8, // beat 2 1/8, 1/8, ...
-
... so that the total duration is one "bar" (where the bar could have any number of beats, of course -- here it's 9). A phrase can be truncated, but it's not valid to change the duration of a note. That's for the first version of the ~backtr ...