-
... , doneAction:2); Out.ar(out, Pan2.ar(son * 0.05, pan)); }).add; ) ( ~melody = [ 3, [7, 9, 12], [6, 8, 11], [7, 9, 12], [7, 9, 12], [6, 7, 9], 7/2, [6, 9, 11], [5, 7, 21/2], [6, 8, 10], [6, 8, 10], [5, 6, 8] ]; ~strum_patt ...
-
( var genPolynom = { arg depart ... l; var function = "{arg x; %% }".format( depart, l.collect({ arg v, i; " + (% * ( x div: % ))".format(v, i + 1) }).join ); function.compile().value; }; var un = genPolynom. ...
-
... SynthDef to rev = input; or some other selfmade poor-woman's reverb. ( // pure melody experiments SynthDef("plucking", {arg out = 0, amp = 0.1, freq = 440, decay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), d ...
-
... ])], inf), \dur, 0.13, \amp, 0.4 ).play; ) m.stop; // random note melody (5 to 7 notes, from listed notes only) // note that this one is not infinite ( r = Pbind( \instrument, "spacey", \midinote, Prand([74, 75, 77, 79, ...
-
... er = carrier * env; Out.ar(0, Pan2.ar(carrier, pos)) }).add; ) //Example Melody ( a=Pbind( \instrument, "AM2", \degree, Pseq([0,1,2,3,4,5,6,7,6,5,4,3,2,1],inf), \amp, 0.70, \dur, 0.125, \modfreq, 12, // add different values ...
-
... ], ev[\degree], ev[\dur], ev[\envlen]); }); )); "Make a little melody".postln; 4.wait; Pdef(\bg, Pbindf(slowstatic, \freq_modulator, lessslowmod, \degree, deg4, \sendtogui, Pfunc({ |ev ...
-
... x_voice_time]), 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; ) ...
-
... perCollider, some not) // first boot server, send/store synthdefs and set up melody data ( ~sampleRate = 96000; // much easier than trying to anti-alias ring modulation + distortion Server.default.options.sampleRate_(~sampleRate); ...
-
... tSilence.ar(snd, 0.001, 0.2, doneAction: 2); }).add; //LEAD SynthDef("melody", { arg amp, att, rel, pan = 0, freq, ffreq, verbMix = 0.5; var env, snd; env = Env.perc(att, rel, amp).kr; snd = LFTri.ar(freq, mul: amp); ...
-
This is a small utility i wrote to make it easy to detect the pitch of incoming audio (i.e. your voice into your mic). I recommend binding the execution of "~pitchTrack.();" to a keyboard shortcut in your editor/IDE. It's incredibly conveni ...