-
I just rewrote one of autocsi's tweets and came out with this which sounds like a digital bird of some kind: ( Ndef(\birdy, {arg freq=1500, amp=0.5, rate=10; var osc, son, convIn, rand; osc=LFCub; rand = LFNoise1.ar(rate); convIn=L ...
-
... : 2, delaytime: delay, decaytime: decay); snd = Pan2.ar(snd, panning); Out.ar(0, [snd, snd]); }).add; SynthDef("electric", { arg out = 0, freq = 300, amp = 1, gate = 1, spread = 0.8, noiselevel = 0.2, minfreq = 50 ...
-
... .ar(1,0.2,dur))) * 0.3; klang = klang * XLine.ar(1,1/10000,dur,doneAction:2); Out.ar(0, klang); }).store; Pbind( \instrument, \pluck, \degree, Pn(Pseries(0, Pwrand([Pwhite(-3,3,inf).round(1),1],[32,1],inf), 4),inf)-1 + [0,2,-1,-14], ...
-
... * lfo3, (Rand(0.5,1000) * (1 - lfo)) * (1 - lfo3)], 1.5pi, 0.5, 0.5); Out.ar( 0, Mix.arFill( numOfCycles, { SinOsc.ar( Ran ...
-
... sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.perc(0.2), doneAction: 2); Out.ar(0, sig ! 2) }).add; ); ( ( p = Pbind( // the name of the SynthDef to use for each note \instrument, \smooth, // MIDI note ...
-
... side. For instance, I'm doing the 16x oversampling by expanding a 32-point FFT out to 512 points (inserting zeros in the middle, so that the 12th partial is still the 12th partial). The trick that wasn't obvious at first is that the phases ...
-
... s.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; // Same as above, but adding a filter just for fun SynthDef("granny2", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, ...
-
... s.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; // Same as above, but adding a filter just for fun SynthDef("granny2", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, ...
-
... .value_(0.5).scroll_step_(0.1).mouseOverAction_({helpView.string = "Number box: Output of oscillator "++b[i]++" will be multiplied by this value"})}); var infoText = ["osc","wave","harm","fine","phase","amp","a","p","d","s","r","curve","f ...
-
... , 0.3, 2, amp).kr(2, gate); snd = Saw.ar(freq: [freq, freq*1.5], mul: env); Out.ar(0, snd) }).add; ) // Play it with a MIDI keyboard ( var noteArray = Array.newClear(128); // array has one slot per possible MIDI note MIDIdef.n ...