-
... I think this is a compact and yet flexible way where you are able to change the scale, octave, frequency, etc very easily. ( Server.default.waitForBoot({ SynthDef(\SimpleHarmonicPing, { |out, freq, amp, sustain, pan| var snd = BLowPas ...
-
... ForBoot({ ~rseq = {Array.fill(~num = rrand(2, 8), {arg i; rrand(0, 12)})}; ~scale = Scale.at(Scale.names.choose); ~time = 5; ~root = rrand(0, 12); ~maingain = 4; { SynthDef(\sin, {arg freq=440, amp = 0.9, gate=1, out=0, relea ...
-
... *********/ // Twinkle ( ~twinkle = Pbind( \instrument, "plucking2.0", \scale, Scale.major, \degree, Pwhite(0,12), \ctranspose, 36, \amp, Pwhite(0.5, 0.9), \decay, Pwhite(7, 12), \coef, Pwhite(0.01, 0.1), \verbMix, 0.5, ...
-
... 2.ar(sig, pan, amp); Out.ar(out, sig); }).add; ) ( ~baseFreq = 220; ~scale = Scale.nikriz.ratios * ~baseFreq; //~scale = Scale.dorian.ratios * ~baseFreq; //~scale = Scale.minor.ratios * ~baseFreq; 8.do { arg nn; var nnn = ...
-
... 0.5;q=0.25;e=0.125;t=0.33;u=0.34; c = TempoClock.default; m = ( chord: 0, scale: Scale([0,3,6,8,11,14,16],17), scaleChord: { |self,voicing| var notes = voicing + self.chord; Scale(self.scale.degrees.wrapAt(notes).sort, self ...
-
... e0 = rrand(0,11); interval = rrand(2,4); next = rrand(1,4) / 6; tone1 = Scale.minor(\pythagorean).at(tone0) + [0,12,24].choose + 0.07; tone2 = Scale.minor(\pythagorean).at(tone0 + interval) + [0,12,24].choose; freq0 = ((4*12) + ...
-
... ( w=1;h=0.5;q=0.25;e=0.125; c = TempoClock.default; c.tempo = 2.3; m = ( scale: Scale.dorian, chord: 0, scaleChord: { |self,voicing| var notes = self.chord + voicing; Scale(self.scale.degrees.wrapAt(notes).sort); }, ...
-
More afternoon fun. Scale down to 2ch if you need stereo. // this was going to be drum and bass but I got carried away ( fork{ // this is going to be a convoluted step seq var i = 0; loop{ var tempo, step; tempo = [ ...
-
... 8)})}; var durlist = [2, 1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/3, 1/6, 1/12]; var scale = Scale.at(Scale.names.choose); var time = 5; var root = rrand(0, 12); var mg = 4; var masterSetup = false; SynthDef(\sin, {arg freq=440, amp = ...
-
... trigs[idx]); }); Splay.ar(voices); }).play; ) ( Tdef(\melody, { var scale = Scale.choose; 24.rand.do { Ndef(\polysynth).set(\t_gate, 1, \midinote, 60+scale.degrees.choose); 2.0.rand.wait; } }).play; ) ( Tdef(\cho ...