-
... sult.get.(x) ) } { thatResult = Some(v); } }, { p.tryComplete(v) }) }; ^p } } + SynthDef { sendP { arg server, completionMsg; var servers = (server ?? { Server.allRunningServers }).asArray; var promises = servers.collect{ Promise() }; var p ...
-
a very punchy snare in neurofunk style ( SynthDef(\neurosnare, { var snd; // a percussive click to give it some attack snd = LPF.ar(HPF.ar(WhiteNoise.ar, 300), 8000) * Env.linen(0.001, 0.01, 0.001).ar; // sine sweep bod ...
-
... asStream; 24.do({ x.next.postln; }); ) Pswitch used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... els = ~dirt.numChannels; (1..SuperDirt.maxSampleNumChannels).do { |numChannels| SynthDef("dirt_global_lpf" ++ numChannels, { |dryBus, effectBus, gate = 1, cutoffFreq = 440| var signal = In.ar(dryBus, numChannels); var rq; signal = signal.as ...
-
... etronome that mutates beat locations using something like Brownian Motion ( SynthDef.new(\block, { arg freq=1000; var sig, env; sig = Impulse.ar(0)*10; sig = SVF.ar(sig, freq, 0.9); env = EnvGen.ar(Env.perc(0.01, 1), 1, doneAc ...
-
SynthVoicerNode { // one voice of a Voicer // this one handles standard synthdefs // for other types, subclass SynthVoicerNode and override methods // H. James Harkins, jamshark70@dewdrop-world.net var isPlaying = false, <>isReleasing = fal ...
-
... l.synthDescs.at(argExtraArgs[0].asSymbol) == nil, { argParentApp.displayStatus("SynthDef"+argExtraArgs[0]+"not found in global SynthDescLib. See HrWrapSynth help.", -1); this.halt; }); if(SynthDescLib.global.synthDescs.at(argExtraArgs[0].as ...
-
... r.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( SynthDef(\acid, { arg out, freq = 1000, gate = 1, pan = 1, cut = 4000, rez = 0.8, amp = 1, sustain = 1, release = 0.5; var sig, env; env = EnvGen.kr(Env. ...
-
... an If you already calculate a mean (=RunningSum/length) in another part of your SynthDef you can supply it here, so it is not calculated again, thus safing processing power. Inherited class methods Instance Methods Inherited instance method ...
-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\maxmag, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar * 0.5; chain = FFT(fftbuf, in); // let the strongest (0 - 1023) pa ...