-
... e a few SC objects responding to asSVGFile: work in progress Function:asSVGFile Env:asSVGFile Function:asSVGFile ( path ) this method can create a valid SVG file from a function containing GUI .pen instructions. They are collected by ColPen ...
-
... .1, amp = 0.1| var sig = { WhiteNoise .ar } ! 2; sig = BPF .ar(sig, freq, rq) * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, sig); }).add; SynthDef ( \sin , { |out = 0, freq = ...
-
... : 0.57) ], \deltaStream ); /* */ /* PlayerMixer([ Patch({ arg trig; SinOsc.ar * EnvGen.kr(Env.perc(0.01, 0.1), trig) }, [ Stream2Trig( 1, PlayerBuilder(\deltaStream, [\deltaStream, \RandStutterXOXfuzzy]) ) ]), Patch({ arg tempo; Impulse.ar( ...
-
... dArchive, saveArchive; var fixedRadioButt, drawBoxGrids, trackVolumeSlider; var envButtArray, envButtOnOffArray; var createCodeWin, codeArray, codeFlagArray, audioStreamFlagArray; var synthPrototypeArray; var createEnvWin, envArray, envFlag ...
-
... sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), 1, start, 0) * EnvGen.kr(Env.linen(attack, time, decay), doneAction:2); sig = BLowPass/*RLPF*/.ar(sig, ffreq, rq); Out.ar(outbus, Pan2.ar(sig, pan, amp)); }).add; ); // synth ...
-
... for a precise number of repetitions, one can use a SynthDef with a hard cutoff envelope, as below. Note that adding an offset outside the phasor works better; Phasor.ar(0, playRate, start, end) is sometimes off by a few samples. This is li ...
-
... g= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq+SinOsc.ar(freq2, 0, amount), 0, amp), freq2*2); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sy ...
-
... 01, cut=2000, rq=0.9, dt=0.1, fb=1| CombL.ar(BLowPass.ar(Saw.ar(peak.lag(0.01), EnvGen.ar(Env.perc(att, rel, 0.5, -8), Impulse.kr(freq.lag(0.1))) ), cut.lag(0.01), rq.lag(0.01)),0.2, [dt,dt-0.001].lag(0.01), fb).tanh }); // play the Ndef Nd ...
-
... starttime: 0, // condition could also be a number that says how many condition: Env([0, 1, 0], [1, 1], \\sin, 1), amp: 0.dbamp, // this is a good argument to pass in so you can provide // unique IDs id: eventID, outbus: 0, numChannels: 2, a ...
-
... ncidence ; // higher freq. rolloff attenuation factor for incidence attackSig = EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_trig) ; // attackSig = Decay.ar( EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_tri ...