-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\organ_tonewheel2, { //subtractive tonewheel organ with cheap CPU usage arg freq = 440, amp = 0.9, atk = 0.001, sus = 0.4, rel = 0.1, tune = 0.29, tuneRate = 6.0, rq = 1; var sig, env, v ...
-
/* This is a synthDef based on Karplus-Strong synthesis (just like Pluck.ar). Karplus-Strong synthesis involves an initial impulse being sent through a delay, which then, through a feedback loop, creates a sound with a frequency given by 1/ ...
-
SynthDef("acid_oto309", { arg out=0, gate=1, freq=440, amp=0.1, pan=0; var env1, env2, son, pitch; pitch = freq.cpsmidi; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0. ...
-
/* Received from https://github.com/supercollider-quarks/SynthDefPool/blob/master/pool/snare_stein.scd */ SynthDef(\snare_stein, { |out=0, amp=0.1, pan=0| var snare, filtWhite; filtWhite = LPF.ar(WhiteNoise.ar(1), 7040, 1); snare = ((SinOsc ...
-
... e can't test for the inclusion of HOASphericalHarmonics // When compiled into a SynthDef, this pseudo-UGen gets disolved into a bunch of BinaryOpUGens // all we can do is test that HOAEncoder is not used inside this SynthDef this.assertEqua ...
-
... d( _ ) ); } *master_ { |server| master = server; this.add(server); } *recDef { ^SynthDef( "sync_receive", { |id = 100, in = 0 | // waits for an impulse var trig; trig = Trig1.ar( SoundIn.ar( in ) - 0.001 ); SendTrig.ar( trig, id, BlockOffse ...
-
... d( _ ) ); } *master_ { |server| master = server; this.add(server); } *recDef { ^SynthDef( "sync_receive", { |id = 100, in = 0 | // waits for an impulse var trig; trig = Trig1.ar( SoundIn.ar( in ).excess(0.25) - 0.001 ); SendTrig.ar( trig, i ...
-
... default.tempo = cps; }; latency !? { Server.default.latency = latency; } } ); ( SynthDef(\sinegrain, { | out=0, freq=440, sustain=0.05 | var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.a ...
-
SynthDef('grainXLine', { arg out = 0, freq=800, sustain=0.01, amp=0.5, pan = 0.0; var window; window = Env.new([ amp, 0.001 ], [ sustain ], 'exponential'); Out.ar(out, Pan2.ar( (SinOsc.ar(freq) * EnvGen.ar(window, doneAction:2)).clip2(1), p ...
-
... ar usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|ou ...