-
... lear all. sequence of events: When inserting a new function into the proxy, the synthdef is built, sent to the server who sends back a message when it has completed. Then the proxy waits for the next beat to start the synth. When using node ...
-
... (a.ramp(1.0, 1.0).postln, a.ramp(0.5, -0.025).postln, true , true , true ); z = SynthDef ( "help-Osc" ,{ arg out=0,bufnum=0; Out .ar(out, Osc .ar(bufnum, 200, 0, 0.5) ) }); y = z.play(s,[ \out , 0, \bufnum , b]); y.free; decay(k) - 1 / ((i+ ...
-
... .], inf) . Some of the phrases are written with Pmono to slide between notes. ( SynthDef ( \bass , { |freq = 440, gate = 1, amp = 0.5, slideTime = 0.17, ffreq = 1100, width = 0.15, detune = 1.005, preamp = 4| var sig, env = Env .adsr(0.01, ...
-
... l Getting Started With SuperCollider . Click here to go on to the next section: SynthDefs and Synths Click here to return to the table of Contents: Getting Started With SC
-
... reconsider our reverb example from the previous section. ( // a stereo version SynthDef ( \tutorial_DecaySin2 , { arg outBus = 0, effectBus, direct = 0.5, freq = 440; var source; // 1.0.rand2 returns a random number from -1 to 1, used here ...
-
... 3.do({ |it| b.set(400*it+100, 1); }); 20.do({ |it| d.set(40*it+20, 1); }); ) ( SynthDef ( \conv_test , { arg kernel, t_trig = 0; var input; input = Impulse .ar(1); // must have power of two framesize Out .ar(0, Convolution2 .ar(input, kern ...
-
... .11])); IFFT (chain) // inverse FFT }.play; ) // spawn some FFT based synths: ( SynthDef ( \fftgrain , { |out, sustain = 1, rate = 0.2| var in, chain; in = WhiteNoise .ar(0.1).dup; chain = FFT ({ LocalBuf (128, 1)}.dup, in); chain = PV_Bric ...
-
... y is structured. Examples ( s = Server .default; // just to be sure s.boot; ) ( SynthDef ( "help-Group-moto-rev" , { arg out=0,freq=100,ffreq=120; var x; x = RLPF .ar( LFPulse .ar( SinOsc .kr(0.2, 0, 10, freq), [0,0.1], 0.1), ffreq, 0.1).cl ...
-
... 5), #[4, 2, 2, 2, 1]); ({ a.wchoose } ! 100).histo(5, 1, 5); Example: ( // this SynthDef has a strong attack, emphasizing the articulation SynthDef ( \sawpulse , { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, ...
-
... e, the doneAction and the timeScale arguments are expressed in keyword style. ( SynthDef ( "timeScale" , { arg ts = 1; Out .ar( 0, SinOsc .ar(440, 0, 0.4) * EnvGen .kr( Env .sine(1), doneAction: 2, timeScale: ts // scale the duration of an ...