-
... ustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; s.boot; ) ( x = PatternProxy.new; x.s ...
-
... SynthDef ( \sinGrain , { |outbus = 0, freq, amp, dur, pan| var sig = Pan2 .ar( SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .sine(dur), doneAction:2), pan); Out .ar(outbus, sig); }).memStore; p = Pbind ( \freq , Pwhite (0.0, 1.0, inf ).linex ...
-
... SynthDef ( \sinGrain , { |outbus = 0, freq, amp, dur, pan| var sig = Pan2 .ar( SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .sine(dur), doneAction:2), pan); Out .ar(outbus, sig); }).memStore; p = Pbind ( \freq , Pwhite (0.0, 1.0, inf ).linex ...
-
... set a reasonable maximum for numItems: // an Ndef with 100 controls Ndef(\1, { SinOsc.ar(freq: 100.collect{|i| "freq%".format(i).asSymbol.kr(100, spec: Spec.specs[\freq]) }) }); // this creates 100 paramViews, which do not usually fit in t ...
-
... 1, 0.9)); // neighbors.their(help).but!cannot; true.is[that]; lfo = SinOsc.kr(\lfoFreq.kr(0.5)).range(-0.05, 0.05) * \lfoDepth.kr(1); bowNoise = WhiteNoise.ar(0.15) * EnvGen.kr(Env.perc(0.01, 0.1), gate); // enough( ...
-
... ler.remove }; view.front }; ~sound = NodeProxy.audio(s, 2).source_({ SinOsc.ar(~model.kr(1), 0, 0.1).dup }).play; ) a = ~makeView.(~model); b = ~makeView.(~model); // 2nd view-controller, auto-synced! ~model.source = 22 ...
-
... ents ( { var freq = 1000; var phaseStep = 2pi * freq / s.sampleRate; var sine = SinOsc.ar(freq); [ // default: silence before delay Delay2.ar(sine), // reconstruct predelay samples Delay2.ar(sine, x1: phaseStep.sin.neg, x2: (2 * phaseStep). ...
-
s.boot; ( // some basic drum synths SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600, end: 50, dur: 0.1)); var env = EnvGen.kr(Env.perc(releaseTime: 0.25, curve: 5.0), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(sig*env*\a ...
-
... ust be prefixed with * for classmethods and - for instancemethods. copymethod:: SinOsc *ar Inside a method section, the following optional tags are allowed, in the order given below. These tags are level 4 subsections. ARGUMENT:: [argname] ...
-
... anh, Pulse.ar(freq*mod,0.5).tanh, LFSaw.ar(freq*mod,0.5).tanh, SinOscFB.ar(freq*mod,100.0.rand).tanh ]); sound = RLPF.ar(sound, filterenv, LFNoise2.kr(0.01.rand, 0.3, 0.5) ); sound = sound * ampenv; ...