-
... 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 ...
-
( var spring, num; s.waitForBoot{ SynthDef(\part, {|out= 40, x= 0, y= 0, z= 0| var pan= x; var freq= y.linexp(-1, 1, 50, 2000); var amp= z*0.3; var src= SinOscFB.ar(freq, z.abs.lag(1), amp); Out.ar(out, Pan2.ar(src, pan)); }, #[\ir, 0.001, ...
-
( var spring, num; s.waitForBoot{ SynthDef(\part, {|out= 40, x= 0, y= 0, z= 0| var pan= x; var freq= y.linexp(-1, 1, 50, 2000); var amp= z*0.3; var src= SinOscFB.ar(freq, z.abs.lag(1), amp); Out.ar(out, Pan2.ar(src, pan)); }, #[\ir, 0.001, ...
-
... ense // along with this program. If not, see <http://www.gnu.org/licenses/>. // SynthDef by Victor Comby, original idea by Eli Fieldsteel ~name = \Marimba; ~description = "Marimba-like, random pitch"; ~channelLayout = \mono; ~function = { | ...
-
SynthDef("snare_oto309", { arg out=0, amp=0.1, pan=0; var env0, env1, env2, env1m, oscs, noise, son; env0 = EnvGen.ar(Env.new([0.5, 1, 0.5, 0], [0.005, 0.03, 0.10], [-4, -2, -4])); env1 = EnvGen.ar(Env.new([110, 60, 49], [0.005, 0.1], [-4, ...
-
... fnoise0 (20, 0.0, 1.0, inf ); a.asStream.nextN(1000).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... er (the params argument so the transpose is set to 1 again) // Fixing loadup of synthdefs in PolyMachine (removing from server) // Optimising the distribution code // Record fixed // Fixing the route ordering of channels - now no need to re ...
-
While playing with mimetikmusic's code, I stumbled on this nostalgic sound. ( SynthDef(\lofi, { var sig = Array.fill(3, { |n| SinOsc.ar( \freq.kr(440) * (1 + 0.02.rand) * (n+1), mul: \amp.kr(0.1) / ( ...
-
... x.ar(SinOsc.ar(freq: 100 * [1.01, 1.9, 3, 4.2, 7.4], mul: 0.1)) }.play; ( SynthDef("bell", {arg freq, amp; var env, snd, partials, relativeAmps; partials = [0.5, 1, 1.19, 1.56, 2, 2.51, 2.66, 3.01, 4.1]; relativeAmps ...
-
... e(path) - save the score list as a text file to path. NRT Examples: // A sample synthDef ( SynthDef ( "helpscore" ,{ arg freq = 440; Out .ar(0, SinOsc .ar(freq, 0, 0.2) * Line .kr(1, 0, 0.5, doneAction: 2) ) }).load(s); ) // write a sample ...