-
... e "left hand" and an arpeggio on the "right hand" ( s.boot; ) ( SynthDef(\smooth, { |freq = 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); ...
-
... d( // the name of the SynthDef to use for each note \instrument, \smooth, // MIDI note numbers -- converted automatically to Hz \midinote, Pseq([36 + 0, 36 + 7, 36 + 12], inf), // rhythmic values \ ...
-
( SynthDef(\param, { arg freq = 100, sustain, amp; var sig; sig = LFPar.ar(freq: freq, mul: EnvGen.kr(Env.perc(0, sustain, 0.5), doneAction:2) * amp); sig = Splay.ar(sig); Out.ar(0, sig); }).add; e = Pbind( \mi ...
-
... s, env * amp)); }).add; SynthDef(\distortion, { | out = 0, in = 10, smoothing = 1, amp = 0.6, pos = 0 | var snd; // snd = CrossoverDistortion.ar(In.ar(in), 0.35, XLine.ar(1, 0.01, 60, doneAction:2), LFNoise2.ar(0.15)); snd ...
-
... ion determined by centroid pos = VarLag.kr( centroid, 0.9, ); // smooths the position // PanAz position of the sound sig = PanAz.ar( numChans, in, pos, level, width, ).scramb ...
-
... ni.kr(son)[0]; amp = Amplitude.ar(son); pitch = Median.kr(5, pitch); // smooth pitch = pitch.min(10000).max(10); // limit pitch = pitch.cpsmidi.round.midicps; // coerce wibble = Pulse.ar(pitch, 0.2, amp * 2); // resynthe ...
-
... * (1 - mix)) + (loopOutput * mix); // Create a fast ramping envelope for smooth transitions transitionEnv = Env.asr(declick, 1, declick, 'sine'); ramp = EnvGen.ar(transitionEnv, K2A.ar(onoff)); // Use SelectX for smo ...
-
just something i did as an excercise trying to understand clocks and scheduling // two implementations of the same thing // first as a simple function scheduled on a TempoClock // second a Routine scheduled ( t = { // this is just ...
-
... by Dan Stowell 2012-05-14, after a chat w Simon Katan. You'll need the PV_MagSmooth ugen which is in sc3-plugins. /* sonic focal depth Ten layers of sound, all constantly running, yet only one is in "sharp focus" at any time. Move th ...
-
... ve if its trigger is 1 // And it needs to be reset for each grain to get the smooth envelope chain = PV_Diffuser(chain, 1 - trig); item = IFFT(chain, wintype: -1); }); // Reapply the grain envelope because the FFT phase randomi ...