-
... em at the same time. //redFrik - redo_minimalish sketch ( s.waitForBoot{ SynthDef(\p, {|out= 0, freq= 400, amp= 0.1, gate= 1, detune= 0| var env= EnvGen.ar(Env.perc(Rand(0.001, 0.01), LinRand(0.2, 0.4), amp, Rand(-9, -1)), doneAct ...
-
... // Synth // ========== // Run this block once (it creates the synth) ( SynthDef("spacey", { arg freq, amp; var snd, env; env = Env.perc(level: amp).kr(2); snd = LFSaw.ar(freq: freq, mul: env); snd = RLPF.ar( in: snd, ...
-
... b = Buffer.alloc(s, 1024, 1); // FFT c = Buffer.alloc(s, 1024/2, 1); // Mags SynthDef(\magbuf, { |fftbuf, magbuf, freqbuf| var in, chain; in = SoundIn.ar(0); // <---------- change your input here // in = PMOsc.ar(800, MouseX.kr(10, ...
-
... umann3 = 20.8; ~schumann4 = 27.3; ~schumann5 = 33.8; // the sound synth SynthDef(\brainwave, {|prime = 200, diff = 10, fade = 15, primetime = 20, difftime = 30, level= 0.4, gate = 1| var freqtransition = VarLag.kr(prime, primetime ...
-
... nth! Ndef(\matrix, { var ins; // Collects inputs in a list // Inside a Synthdef, instead of "arg freq=440", you can use \freq.kr(440) // here we use this system to generate argument names in a loop ins = ~matrix_in_count.collec ...
-
... erbbus = Bus.audio(s, 1); chorusbus = Bus.audio(s, 1); ~buffers = []; SynthDef(\padfilterenv, { | out=0, referencefreq=130, amp=0.5, freq=440, buffer=1, gate=1, attack=0.1, decay=0.2, sustain=0.6, release=2, filtercutoff=10000, ...
-
... gui[\bTop], gui[\bMid], gui[\bLow], ), ), gui[\lowBar] ); SynthDef("scope", { var sig; sig = In.ar(\in.kr(0), 2); // ScopeOut2 writes the audio to the buffer // IMPORTANT - ScopeOut2, not ScopeOut ScopeOut2.a ...
-
... face // 1. first define the synth // Here we are using the FM technique ( SynthDef(\fmmod, { | amp=0.2, fc=1000, fm = 100, idx = 100, atk=0.01, rls=0.1 | var env = EnvGen.ar(Env.perc(atk, rls), doneAction:2); var m ...
-
... es.collect({ |c| c.scramble })}, { chordnotes_scrambled = chordnotes} ); SynthDef(\flute, { | out = 0, freq = 440, amp = 1.0, a = 0.1, r = 0.1| //var fmod = 1; // clean //var fmod = LFCub.kr(freq:1/12).rang ...
-
( SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdela ...