-
... Noise. IMO it sounds better if the mix stays low. ( SynthDef(\kalimba, { |out = 0, freq = 440, amp = 0.1, mix = 0.1| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4 ...
-
... th ++ "*.aiff").pathMatch.collect({ |i| Buffer.read(s, i)}); SynthDef(\bf, {|out=0 buf=0 amp=0.1 freq=261.6255653006| var sig = PlayBuf.ar(2, buf, BufRateScale.kr(buf) * freq/60.midicps, doneAction:2); Out.ar(out, sig * amp) }).a ...
-
... to de campo for their help ( MIDIIn.connectAll; SynthDef(\SimpleSynth, { arg out = 0, freq = 1000, t_trig = 0, level = 0.2; var sig, env; env = EnvGen.kr(Env.adsr(releaseTime: 240), t_trig, doneAction: 0); sig = Sin ...
-
( SynthDef(\wobble, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; sig1 = LFSaw.ar(freq * 1 + (0.04 * [1,-1])); sig2 = LFSaw.ar(freq * 0.99 ); sig3 = LFSaw.ar(freq * 1 ); si ...
-
... he provided function filling the NodeProxy channels. // requires the functions output channels to be a multiple of the NodeProxy's numChannels. AbstractPlayControl.proxyControlClasses.put(\par, SynthDefControl); AbstractPlayControl.build ...
-
Concept: instead of having 3 sustained tones making up a triad, how about having several tones that jump to the notes at random? If a number of these are heard together, the effect of hearing the triad will be the same, except the texture w ...
-
... similarityMatrix ( // simple buffer player SynthDef(\playersec, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, bufnum, speed=1, pos=0, doneAction=2, loop=0, trigger=1, velamp=1; // pos in seconds var sig; var sig1; sig = P ...
-
Breakbeat made of out FM-synthesized drums. A little too saturated but nice and punchy. s.boot; TempoClock.default.tempo = 2; ( SynthDef(\kick, { |gate=1,t_trig=1,out=0,pan=0,amp=0.1,boost=4,attenuation=1,fmlevel = 0.5, noiselevel ...
-
... mensional array. // Ex: // IN arr = [ [1,2,3], [4,] ] size = 5 // OUT arr = [ [1,2,3], [4,], [1,2,3], [4,], [1,2,3] ] ~resizeMultiDimArray = { |arr,size| var res = arr; if( arr.size > size ){ res = Array ...
-
... t SynthDef for correct node order. ( SynthDef.new(\revlimit, { arg in=50, out=0; var sig; sig = In.ar(in,2); sig = GVerb.ar(sig,24,0.25,0.15,0.17,15,1,0.1,0.02); sig = Limiter.ar(sig, 0.8,0.02); Out.ar(out, sig); }).play; ...