-
... ar(out, x); }).add; SynthDef(\pulsedsine, { | out=0, freq=440 | var env = EnvGen.kr(Env.perc); var sig = Pan2.ar(0.01*SinOsc.ar(freq)*LFPulse.kr(freq/100.0)); Out.ar(out, sig); }).add; s.sync; n = NetAddr("127.0. ...
-
... // evaluation points x = (0, 0.1..20); // EventStreamPlayer is run in separate Environment, // function values have to be polled from there, // evaluate function initially and add it as mouseUp slider action g = { u.value_(f.inEnvir(v.envi ...
-
... 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.linen(0.05, sustain, 0.1), doneAction: 2); Out.ar(0, sig ! 2) }).add; ); ( ( p = Pbind( // the name of the SynthDef to use ...
-
... s from disk. use it to play back long soundfiles. GUI: 'vol' - playback volume 'env' - attack and release time in seconds 'bus' - output bus index 'loop' - keep repeating the soundfile. note: not smooth because of file preloading 'folder' - ...
-
... PFStack .ar( Decay .ar( Saw .ar(~freq, 0.1), ~freq.reciprocal), Vowel ( \a )) * EnvGen .kr( Env .perc, 2.0, doneAction: 2)}.play { BPFStack .ar( Decay .ar( Saw .ar(~freq, 0.1), ~freq.reciprocal), Vowel ( \e )) * EnvGen .kr( Env .perc, 2.0, ...
-
... ds Inherited instance methods Examples { Streson.ar(LFSaw.ar([220, 180], 0, mul:EnvGen.kr(Env.asr(0.5, 1, 0.02), 1.0) * 0.2), LinExp.kr(LFCub.kr(0.1, 0.5*pi), -1, 1, 280, 377).reciprocal, 0.9, 0.3) }.play ⧉ ✔ helpfile source: /usr/local/sha ...
-
... bpfreq, bpfrq) * 34; sig = BPF.ar(sig, bpfreq, bpfrq) * 4; sig = sig * EnvGen.ar(Env([0,1,0],[0.1,0.8]), trig[x]); //sig = sig.fold2( LFNoise0.kr(1/23 * ( x+1 ) * speed).range(0.01,8) ) * 4; sig = sig * SinOsc.ar(1/700 * ( x+ ...
-
... exponential , sine , cosine , decibel , curve (this is similar to the curves in envelopes, see also Env ). Warps are internally created by ControlSpec . Usually they are created by the message asWarp , understood by symbols and numbers. A w ...
-
synthdef based on morphing cycled envelope ( // synth SynthDef(\envio, {| out=0, freq=80, dur=1, atk=0.1, amp=0.8, curve= #[2,-3], blend=0.1, from=1, to=0, rot=0, rot_freq=0.5 | var ha = Harmonics((3,5..13).choose.debug('sub freq size')) ...
-
... .reciprocal * 0.99, -1); // add gate closing klack = BufRd .ar( 2, klackBufnum, EnvGen .ar( Env ([0, BufFrames .ir(klackBufnum), 0], [ BufSampleRate .kr(klackBufnum).reciprocal * ( BufFrames .ir(klackBufnum)), 0]), gate: trig), 0, // no loo ...