-
... ] Examples Server .default = s = Server .internal; s.boot; // FreeVerb2 - demo synthdef ( SynthDef ( \FreeVerb2x2 , { |outbus, mix = 0.25, room = 0.15, damp = 0.5, amp = 1.0| var signal; signal = In .ar(outbus, 2); ReplaceOut .ar(outbus, F ...
-
... pNoise .ar(0.01))) }) ) // a synth def that has 4 partials ( s = Server .local; SynthDef ( "help-Control" , { arg out=0,i_freq; var klank, n, harm, amp, ring; // harmonics harm = Control .names([ \harm ]).ir( Array .series(4,1,1).postln); / ...
-
... ////////////////////////////////////////////////////////////////////////// // 2 synthdefs - the 1st to make grains and the 2nd to delay them // the synthdef that makes the grains is on the left channel // the synthdef that delays the grains ...
-
... of the feedback - wear headphones to prevent it. // patching input to output ( SynthDef ( "help-AudioIn" ,{ arg out=0; Out .ar(out, AudioIn .ar(1) ) }).play; ) // stereo through patching from input to output ( SynthDef ( "help-AudioIn" ,{ ...
-
... evaluated if loop is 0. Note that the number of channels must be fixed for the SynthDef, it cannot vary depending on which buffer you use. // Execute the following in order ( // allocate a Buffer s = Server .local; b = Buffer .alloc(s, 441 ...
-
... F, a low-pass filter to subtract high-frequency content from an input source. ( SynthDef ( "subtractive" , { Out .ar( 0, LPF .ar( Pulse .ar(440, 0.5, 0.1), // the source to be filtered Line .kr(8000, 660, 6) // control the filter frequency ...
-
... build and send: manual rate the following code requires a rebuild and send of a SynthDef and is thus most cpu-expensive. though fine for slower use (esp.hand-use) for automatisation it is better to build a synthdef and assign it ~a = { some ...
-
... e multiplied with noise. buffer - fft buffer. See also FFT Overview . s.boot; ( SynthDef ( "help-magNoise" , { arg out=0; var in, chain; in = SinOsc .ar( SinOsc .kr( SinOsc .kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); chain = FFT(LocalBuf(2 ...
-
... map( \ffreq , ~lfo); ~out.xmap( \ffreq , ~lfo3); // argument rates: just like a synthdef has input 'rates' (like \ir or \tr), a nodeproxy control // can be given a rate. this rate is used for each function passed into the proxy. // trigger ...
-
... trig, doneAction: 0) * SinOsc .ar(440,0,0.1) ) }.play(s);) ( // trigger a synth SynthDef ( "help-EnvGen" ,{ arg out=0; Out .ar(out, EnvGen .kr( Env .perc,1.0,doneAction: 2) * SinOsc .ar(440,0,0.1) ) }).send(s); // This synth has no output. ...