-
... _grain , { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc .ar(freq, Rand (0, 2pi)) } ! 2; sig = sig * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2); OffsetOut .ar(out, sig); }).add; SynthDef ( \saw_grain ...
-
... n_grain, { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc.ar(freq, Rand(0, 2pi)) } ! 2; sig = sig * EnvGen.ar(Env.perc(att, rel, amp), doneAction: 2); OffsetOut.ar(out, sig); }).add; SynthDef(\saw_grain, { |out ...
-
... Decay2.ar(Impulse.ar(0.25), 0.1, 1, PinkNoise.ar, Decay.ar(Impulse.ar(1), 0.3, SinOsc.ar(500))) ; Out.ar(out, sig); }).add; }; ) //EOF /*SPACEPAN V1 README Note: I will convert the spacepan code to classes and write a pro ...
-
... Buffer.alloc(s, scale.size,1, {|b| b.setnMsg(0, scale.asFloatArray) }); play({ SinOsc.ar( ( DegreeToKey.kr( buffer, MouseX.kr(0,15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 60 // offset by 72 notes ) + LFNoise1 ...
-
... antaneous spectral power FFTSlope - Spectral slope FFTSpread - Spectral spread FSinOsc - Fast sine oscillator. FeatureSave - Storing feature data from UGens in NRT mode Fhn2DN - FitzHughNagumo Neuron Firing Oscillator Fhn2DC - FitzHughNagum ...
-
... 1| var env= EnvGen.kr(Env.asr(atk, 1, rel, cur), gate, doneAction:2); var snd= SinOscFB.ar(freq, LFNoise2.kr(0.1).range(0.25, 0.75), AmpComp.kr(freq)*amp); Out.ar(out, Pan2.ar(snd*env, pan)); }).add; SynthDef(\sStream_Sine, {|out= 0, freq= ...