-
... herited instance methods Examples ( ~balanceTest = { var inL, inR; var out; var env1, env2; var in; var lfo; var freqMod; freqMod = LFNoise2.kr(3.3).range(0.98, 1.02); // L and R channels inL = SinOsc.ar(440 * freqMod, mul: 0.3); inR = SinO ...
-
... ynthDef ( \xxx , { |out, zzf = 440, sustain = 1, mod = 0.5, amp = 0.1, pan| var env = Line .kr(1, 0, sustain, doneAction: 2); Out .ar(out, Pan2 .ar( RLPF .ar( LFPulse .ar(zzf, 0, SinOsc .kr(mod * zzf)), zzf * (env.cubed + mod + 0.5), 0.2 ), ...
-
... var buf = PlayBuf.ar(2, bufnum, BufRateScale.kr(bufnum) * rateScale); var env = EnvGen.ar(Env.adsr(attack, decay, 1, release), gate, doneAction: 2); Out.ar(out, buf * env * amp); }).add; SynthDef(\distFiltDelay, {|out = 0, in ...
-
... ers to mimic your list) signal = HPF.ar(PinkNoise.ar(amp), freq) * EnvGen.kr(Env.asr(2, 1, 2), gate, doneAction: 2); // Encode into Ambisonics (B-format) #w, x, y, z = PanB.ar(signal, az, ...
-
... t patterns while the process is playing, each pattern is saved into the process environment and named after the synthdef ID plus the argument name. That is, if you have a synthdef with ID 'sinGrain' and an argument freq, the frequency patte ...
-
... t patterns while the process is playing, each pattern is saved into the process environment and named after the synthdef ID plus the argument name. That is, if you have a synthdef with ID 'sinGrain' and an argument freq, the frequency patte ...
-
... ames = q.allSoundNames.removing( ndef.key ) }; ##### */ q.choiceNewNdefFunc = {|env, slotIndex, choiceIndex, key| Routine{ // var a = q.allSoundNames[slotIndex]; var path = q.allSoundPaths.detect{|path| path.contains(key) }; var choiceNdef ...
-
... hDef with all participants ( SynthDef(\xxy, {|out, sustain = 1, freq = 440| var env = Line.kr(0.1, 0, sustain, doneAction: 2); var son = SinOsc.ar(freq * [1, 1.2, 1.5, 1.7]).sum; Out.ar(out, son * env); }).share; ) // play an event with tha ...
-
... lay({ PMOsc.ar(300, 550, Line.ar(0, 20, 8), 0, 0.1) }); // modulate index ( e = Env.linen(2, 5, 2); Routine.run({ loop({ play({ LinPan2.ar(EnvGen.ar(e) * PMOsc.ar(2000.0.rand, 800.0.rand, Line.kr(0.0, 12.0.rand, 9), 0, 0.1), 1.0.rand2) }); ...
-
... ake the sounds from the Ndef as input sounds, and modulate their amplitude with envelopes. It also frees itself with doneAction, as needed to be used in patterns. Pdef have Pbinds inside to play both the SynthDef and the Ndef. Some paramet ...