-
... class methods Instance Methods Inherited instance methods Examples //Define bow synthdef ( SynthDef(\help_dwgbowed, { |out=0, freq=440, amp=0.5,force=1, gate=1,pos=0.07,c1=0.25,c3=31,pan=0| var vib = Gendy1.kr(1,1,1,1,0.1, 4,mul:0.003,add:1 ...
-
... tion.new; s.freeAll; TempoClock.all.do{|x|x.clear}; s.bootSync(c); ( // **** SynthDefs **** SynthDef("kick", { arg outBus=0; var env0, env1, env1m, out; env0 = EnvGen.ar(Env.new([0.5, 1, 0.5, 0], [0.005, 0.06, 0.26], [-4, ...
-
SynthDef("defaultB", { arg out=0, freq=440, amp=0.1, pan=0, gate=1; var z; z = LPF.ar( Mix.new(VarSaw.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0, 0.3)), XLine.kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2 ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = WhiteNoise.ar; snd = HPF.ar(in: snd, ...
-
... ar synth, much inspired by http://sccode.org/1-4WM It's distinct in that the SynthDef loops in a live recording buffer with a slight delay and is added back to the input (on the bus) .... When I was starting I was looking for somethin ...
-
... ls| var name = format("dirt_sample_%_%", sampleNumChannels, ~dirt.numChannels); SynthDef(name, { |out, bufnum, sustain = 1, begin = 0, pan = 0, speed = 1, endSpeed = 1| var sound, rate, phase, scratch; // playback speed rate = Line.kr(speed ...
-
... e = { // free everything when finished c.stop; a.free; d.free; f.free; b.free; "SynthDefs, busses and buffers have all been freed.".postln; }; c = ScopeView(w.view, w.view.bounds.insetAll(10, 10, 10, 10)); c.bufnum = f.bufnum; c.server = s; ...
-
... lin(~mnd[~pitchLo].asFloat, ~mnd[~pitchHi].asFloat, ~yres, 0.0).round; }; //SYNTHDEF SynthDef(\mouseTheremin, { arg pitchLo = 30, pitchHi = 80, pitchres=1.0; var osc, freq, env, envgate, pitch, amp; amp = MouseX.kr(-40, 10).dbamp ...
-
... e % not readable".format(this.class.name, path).warn; }); } //--private prCreateSynthDefs { channels.do{|n| SynthDef((this.class.name++"_"++n).asSymbol, {|out= 0, buf, gate= 1, amp= 1, rate= 1, loo= 0, atk= 0.01, rel= 0.05, cur= -4| var env ...
-
... instance methods Examples ( // a dict for all mtp things ~mtp = ~mtp ? (); // a synthdef to play SynthDef(\noyz, { |out, amp = 0.1, pan, gate = 1, freq = 261, reso = 10| var freq2 = (freq * (5 ** LFDNoise3.kr(ExpRand(1, 30), amp * 0.3))).cl ...