-
SynthDef(\sos_bell, { |freq=440, out=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3 ...
-
... ffset = ~timingOffset.asArray }; ~node = ~node.value; // assumed to be the same synthdef for each // maybe not a safe assumption but a reasonable limitation for now ~instrument ?? { ~instrument = ~node.asArray.first.defName }; ~setArgs.valu ...
-
/* Received from https://github.com/supercollider-quarks/SynthDefPool/blob/master/pool/oneclap_thor.scd */ SynthDef(\oneclap_thor, {arg out=0, t_trig=1, amp=0.1, filterfreq=100, rq=0.1, pan=0; var env, signal, attack,Ê noise, hpf1, hpf2; no ...
-
... and understandability. Modified by Josh Mithell and Bruno Ruviaro July 2019. */ SynthDef("defaultB", { arg //Standard values out=0, freq=440, amp=0.1, att = 0.01, rel = 0.3, pan=0, gate=1, // Extra controls beatingsRatio = 1.0009, sawWidth ...
-
... blockSize, alwaysRebootServer, postWin, standalone, deviceIn, deviceOut); } *addSynthDef { SynthDef(\connectionInputAmplifier, {|outBus, inBus, vol| var sig; sig = SoundIn.ar(inBus); Out.ar(outBus, sig * vol); }).add; SynthDef(\connectionEx ...
-
... tank example in LocalIn helpfile RedEfxTank : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxTank, {|out= 0, mix= -1, fb= 0.98, dec= 1, damp= 1| var dry, wet, in2; dry= In.ar(out, 2); in2= dry; 4.do{in2= AllpassN.ar(in2, 0.02, {Rand(0.00 ...
-
// FM bass SynthDef(\fmBass, { |out, freq = 440, gate = 1, t_gate = 1, amp = 0.1, cbuf, mbuf, ratio = 0.5, index = 3, detun = 1.003, bufmod = 0, bufmodlag = 0.1, freqlag = 0.08, indexDecay = 0.1, indexEgAmt = 0.62, atk = 0.01, dcy = 0.2, su ...
-
... ethods.put(\setm, #{ |pattern, proxy, channelOffset = 0, index| var subMsg, id, synthDef, args; args = pattern.patternpairs.asEvent.keys.asArray; if (pattern.class == Pbind) { Pbindf( pattern, \type, \set, \args, args, \play, Pfunc { |e| s. ...
-
... , especially here: https://nathan.ho.name/posts/exploring-modal-synthesis/ */ ( SynthDef(\modaltemplate, { arg // Standard values out = 0, freq = 440, amp = 0.1, att = 0.001, hold = 0, dec = 0.1, rel = 5, pan = 0, crv = 0, // Other controls ...
-
... / a group of five contiguous wavesets w.buffer; w.buffer.play; Wavesets .prepareSynthDefs; // startWs w.eventFor(startWs: 600, length: 5, repeats: 2).postln.play; w.eventFor(startWs: 600, length: 2, playRate: 1, repeats: 5).postln.play; w.e ...