-
... //Prime numbers Server.default.boot; ( //maximum number ~max=100; //synthdefs: 2 filtered sawteeth for number and divisor SynthDef ( \gsaw, {arg g; Out.ar(1, RLPF.ar ( Saw.ar(20*g), 10000*(1-(g/~max)), 0.2, 0.2) ) }). ...
-
... ly for sending triggers to sclang from SoundIn. ( // Simple amplitude trigger SynthDef(\ampTrigger, { |in| var snd = SoundIn.ar(in); var chain = FFT(LocalBuf(512), snd); // here tune the threshold and sensitivity: var trig = Ons ...
-
... argumentos podemos modular de diversas y múltiples maneras // Primero llamamos SynthDef que se come una funcion Ugen {esa cosa que tiene sombrero chino} como argumento // esta funcion le dice al servidor que cree una instancia de sintetiz ...
-
Experiments in metering and mapping a synth using sendreply.kr and Level-Indicator. //this block evaluate first. Synth add and arrays initialize... ( ~ocean = Array.new(8); ~oceanz = Array.new(8); SynthDef.new(\ocean,{ var si ...
-
A channel strip and master bus SynthDef to create your own mixer, be carefull cause you can create feedback loops by feeding channel A into channel B and vice versa...(it's the aim here) Thank you to Batuhan Bozkurt for his sound inspired b ...
-
... ds/a11wlk01.wav", f, u, w, ratioSl, d, indexSl; var viewWidth = 500; var buf, synth; f = SoundFile.openRead(p); f.seek(86965); f.readData(d = Signal.newClear((f.sampleRate * 0.333).roundUp)); f.close; w = Window("granular windows ...
-
Code by Andrea Valle // Vowel space by formants f2 f1 ( SynthDef(\vocali, { arg f1, f2, fund = 70, amp = 0.25 ; var source = Saw.ar(fund); var vowel = Normalizer.ar(BPF.ar(source, f1, 0.1)) + Normalizer.ar(BPF.ar(source, f2, ...
-
... aybackBuf = nil!10; q.player = nil!10; /* q.recBuf.updateInfo; // */ ( SynthDef(\looprRecorder, {|inBus = 0, recBuf = 0, gate = 1| var inSignal; var trigGate = 1-gate; // TODO: make automatic stop (when maxRecLength is reached) ...
-
... controlling the wing-frequency, MouseY is controlling the wing-resonance. ( SynthDef(\houseflyWing, { |out=0| var sig, downstroke, upstroke, wingFreq, wingRes; // this is already a preparation for fig 50.14 and is not described ...
-
... 16; s.reboot; ( var amp = 0.1; var isDolby = true; isDolby.if({ SynthDef(\sortChannels, { var ins = In.ar(0, 8) ++ Silent.ar(8); ins = ins * 0.9; ins = ins.tanh; [0, 2, 1, 5, 7, 12, 6, 4, 3, 8, 9, 10 ...