-
SynthDef("kick808", {arg out = 0, freq1 = 240, freq2 = 60, amp = 1, ringTime = 10, att = 0.001, rel = 1, dist = 0.5, pan = 0; var snd, env; snd = Ringz.ar( in: Impulse.ar(0), // single impulse freq: XLine.ar(freq1, freq2, 0.1), decaytime: r ...
-
( SynthDef("flange", {arg freq=440, release=0.1; var x, sig,out, mod1, depth, mfreq,maxfreq, maxdepth, maxdelay, basedelay; maxfreq=3; maxdelay=0.01; basedelay=maxdelay/2; maxdepth=basedelay/2; depth = MouseY.kr(0,maxdepth); ...
-
/* This Synthdef is centered around a challenge I gave myself: use as little blue text as possible. (Which I guess translates to using as few UGens as possible). It's a fun thing to do and you should try it out. Here, everything is being co ...
-
... Comparison with direct use of Controls Using dictionary with functions to build SynthDefs Classes | UGens > Synth control'>Synth control NamedControl : Object Named reference to a control Source: GraphBuilder.sc See also: ControlName , Cont ...
-
... rom scsynth to sclang. ( // Simple amplitude tracker sending values to sclang SynthDef(\ampTracker, { |in| var freq = 30; // num of values per second SendReply.kr(Impulse.kr(freq), '/amp', Amplitude.kr(SoundIn.ar(in))); }).add; ) ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\hihat_electro, { |out = 0, pan = 0, amp = 0.3| var click, clickAmp; var noise, noiseAmp; var snd; // noise -> resonance -> expodec envelope noiseAmp = EnvGen.ar(Env.perc(0.001, 0.3, cur ...
-
/* Original Author Unknown Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("kraftySnare", { arg amp = 1, freq = 2000, rq = 3, att = 0.01, dec = 0.3, curve = -6, pan = 0, out = 0; var snd, env; env = Env.perc(attackTime: att, r ...
-
... e); volSliders[cnt].value_(nmb.value); }) ); currentSlValues.add(1); }); fork { SynthDef("hrMixerInput"++uniqueID, { arg inBusL, inBusR, mul=1; var inL = InFeedback.ar(inBusL); var inR = InFeedback.ar(inBusR); var smoothed = mul.lag(0.1); O ...
-
IDMish modified. It is inspirated from the work of xffff. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
This patch uses a SynthDef with Demand and triggered Ugens inside. The advantage of this rather using Pbind is the ability to play very speed rhythms without saturating the server. Indeed, only the OSC message to start the synth is sent by ...
-
... xamples a= Pbjorklund2(3, 8, 1).asStream; 4.do{a.next.postln}; ( s.waitForBoot{ SynthDef(\hh, {|amp= 1, rel= 0.05| var e= EnvGen.ar(Env.perc(0, rel, amp, -10), doneAction:2); var z= WhiteNoise.ar(e); z= BPF.ar(z, 5000, 0.4); Out.ar(0, Pan2. ...