-
115modulations ( SynthDef("fm2", {arg freq = 440, modindex = 10, amp = 0.1, pos = 0, gate = 1, att = 0.01, rel = 0.3; var carrier, modulator, freqdev, env, modfreq; // i = d/m, so d = m*i modindex = Line.kr(modindex, 1, att); modfr ...
-
... Recording; //SYNTHS //========= //OPENING //========= ( SynthDef("backandforth", { arg freq = 440, amp = 0.5, gate = 1, space = 0; var snd,env; snd = Pan2.ar(in:SinOsc.ar(freq, mul: amp), pos:SinOsc.kr(-3)); en ...
-
... , s.sampleRate*~len, 2); ~buf4 = Buffer.alloc(s, s.sampleRate*~len, 2); /* SynthDefs */ SynthDef(\tone1, { arg gate = 1, freq = 440, out = 2, index=100, modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, ...
-
... men-break-glitches ~amen = Buffer.read(s, "/home/bjorn/Downloads/amen.wav"); SynthDef(\loop, {| out = 0, bufnum = 0, gate = 1, pos = 0, speed = 1, freq = 0, endfreq = 0.001, sustain, wobble = 3, boost = 1| var player,env,amp; freq ...
-
( SynthDef("sawSynth", {arg freq, amp; Out.ar(0, Splay.ar(LPF.ar(in: Saw.ar(freq * [0.99, 1.0, 1.001, 1.008], mul:Env.perc(attackTime:0.1, releaseTime:2, level:amp).kr(2)),freq: 2000))) }).add; ) ( Pbind( \instrument, "sawS ...
-
... l chunks of a sound file into buffers that are within reach of BufRd. Then, the SynthDef can advance from one buffer to the next during playback. Each buffer holds one extra sample, to try to give BufRd's linear interpolation enough info ...
-
Simple SynthDef using Pluck, and a few Pbinds demonstrating making use of it. ( SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck. ...
-
sample mash-up from "Funky Klangs" and "Re: Dub Echo" ( SynthDef(\klang_blip, { | out = 0, release = 1, freq1 = 1, freq2 = 5, freq3 = 8, freq_mul = 4, atk_dur = 0.01, amp = #[0.3,0.3,0.3], mod_freq = 25 | var sig = DynKlang.ar( ...
-
... r.local; b = Buffer.alloc(s, 4096, 1); c = Buffer.alloc(s, 4096, 1); ) ( SynthDef("Oscer1", {argnextTime = 0.5, bufnum = 0, freq = 80, envLev = 1.0; var env, osc, sum, out; env = EnvGen.kr(Env.new([0, 1, 1, 0], [0.1, 0.98, 0.1]), ...
-
... ); }; //Return event outEvent; }; //--------------------SynthDef-------------------- SynthDef(\morseTone, {|out = 0, freq = 400, gate = 1, pan = 0, wobbleDepth = 10, wobbleRate = 3, amp = 1, attack = 0.03, decay = ...