-
... eScale.kr(bufnum), 1, start, 0) * EnvGen.kr(Env.linen(attack, time, decay), doneAction:2); Out.ar(outbus, Pan2.ar(sig, pan, amp)); }).add; // NOTE: Mac OSX/Windows users need to change this for the actual location b = Buf ...
-
... ou can see the 4 channels here: s.meter; // Create 4 recorders (needs to be done just once in a session): ~recs = Recorder.new(s).dup(4) // START ALL MONO RECORDERS (chans 0, 1, 2, 3) ( var basicPath = "/home/ruviaro/Desktop/"; // ...
-
... ln; a.set(\t_trig, 1, \freq, fre, \dur, dur); dur.wait; }; a.free; "done".postln; }).play; )
-
... env; env = EnvGen.kr(Env.linen(0.01, sustain, sustain * release), gate, amp, doneAction: Done.freeSelf); sig = Pulse.ar([freq,freq*1.001], 0.5); sig = sig + Pulse.ar(freq*0.501, 0.01, [0,0.5]); sig = sig + Pulse.ar(freq*1.99, 0.11, ...
-
... 18, 30), \atk, Pwhite(3.2, 4), \legato, 1.1, \out, 0 ); s.sync; "done".postln; }); ) // start performance Pbindef(\drones).play; // finish performance Pbindef(\drones).stop; // wait until sound is off ( Pbindef(\ ...
-
[beginner question] how to transmit parameter value to a function inside a SynthDef by elienaulleau (pictosonic) Code
... var env = Env.adsr(\atk.ir(0.05), \dec.ir(0.5), \slev.ir(0.4), \rel.ir (1) ).ar(Done.freeSelf, \gate.kr (1)); var modHz = XLine.kr(1, bb, 10); var mod = SinOsc.ar(modHz, mul: 3); var f = ~getFirstFreq.value(~freqgold, \threshold); ...
-
... ath).warn; }; }; ) b = ~loadChunks.value(s, "your-file.aiff", action: { "done".postln }); ( SynthDef(\playchunks, { |out = 0, bufnum, numbufs = 1, rate = 1, amp = 0.1| var phaseTrigFb = LocalIn.ar(1), frames = BufFrames.kr(bu ...
-
... ecay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: BrownNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, ...
-
... eight way for me to quickly add effects. Not very advanced, but it gets the job done. The effect synths are supposed to do the job of mixing wet/dry signal and so forth. Usage: create an instance of FxChain, and then start addding effects i ...
-
... * LFTri.ar(10001); var output = pulse + (SinOsc.ar(Line.ar(60, 80, seconds, doneAction: 2)) * 0.02); Out.ar(outbus, output) }).add; Server.default.sync; source = Group.head(); effect = Group.tail(); verbBus = Bus.audio ...