-
... imenting as compile time is shorter, but once you have finished the design of a SynthDef it might pay going back to blocksize 32 or 64 for runtime efficiency, especially if many kr UGens are involved. See also: Fb1_ODE , Fb1_ODEdef , Fb1_OD ...
-
//redFrik RedEfxRing : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxRing, {|out= 0, mix= -1, freq= 440, mul= 1, rate= 6, det= 0| var dry, wet, lfo; dry= In.ar(out, 2); lfo= SinOsc.ar(rate, 0, mul); wet= dry*SinOsc.ar(freq*[1, 2.pow(det ...
-
SynthDef("clap_oto309", { arg out=0, amp = 0.1, pan=0; var env1, env2, son, noise1, noise2; env1 = EnvGen.ar(Env.new([0, 1, 0, 1, 0, 1, 0, 1, 0], [0.001, 0.013, 0, 0.01, 0, 0.01, 0, 0.03], [0, -3, 0, -3, 0, -3, 0, -4])); env2 = EnvGen.ar(En ...
-
SynthDef(\cheappiano, { arg out=0, freq=440, amp=0.1, dur=1, pan=0;Ê var sig, in, n = 6, max = 0.04, min = 0.01, delay, pitch, detune, hammer; freq = freq.cpsmidi; hammer = Decay2.ar(Impulse.ar(0.001), 0.008, 0.04, LFNoise2.ar([2000,4000].a ...
-
Safety { classvar <all; classvar <synthDefFuncs; classvar <>defaultDefName = \safeClip; classvar <>useRootNode = true; classvar <classLimit = 1.0; var <server, <defName, <numChannels, <enabled; var <treeFunc, <synth; var <limit; *initClass ...
-
... efs; Udef.loadOnInit = false; defs = Udef.loadAllFromDefaultDirectory.collect(_.synthDef).flat.select(_.notNil); Udef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.just ...
-
... tempoBus.prepareToBundle(group,bundle); }) } //never bothers to free the bus asSynthDef { //unique by tempoFactor ^SynthDef(this.defName,{ arg i_tempoIndex=0,out = 0; Out.kr(out,Impulse.kr(In.kr(i_tempoIndex) * (tempoFactor.value * 0.25),m ...
-
... tempoBus.prepareToBundle(group, bundle); }) } //never bothers to free the bus asSynthDef { //unique by tempoFactor ^SynthDef(this.defName, { arg i_tempoIndex=0, out = 0; Out.kr(out, Impulse.kr(In.kr(i_tempoIndex) * (tempoFactor.value * 0.25 ...
-
... .dir.".postln; File.mkdir(dir) }; bufs = (); this.clearDir; Class.initClassTree(SynthDef); Class.initClassTree(SynthDescLib); SynthDef(\saybuf, { |out, buf, rate = 1, amp = 0.1, pan, pos| rate = BufRateScale.ir(buf) * rate; // allow backwar ...
-
... further variations (see BhobUGens, JoshUGens). By using granulation ugens in a SynthDef granular textures can be produced with a single Synth, including grain parameter sequencing with demand rate ugens, the DX suite opens additional genui ...