-
Having a smashing time with SuperCollider. I revised this SynthDef - the newest / best one is at the top and my previous version is below. p.s. I stole Fredrik's technique for timed impulses using Dseq: http://new-supercollider-mailing-li ...
-
... eed to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef */ // uses a delay of two blocks to avoid transient mangulation by supernova // args: \note, #[ midiPitch60 == no transposition, force: between -1 and ...
-
... d loop length can be adjusted. https://soundcloud.com/inlet/sc-160515-234815 SynthDef(\simpler, { arg buf=0 ,freq=220 ,sampleStart=0 ,loopStart=0 ,loopLen=1 // between 0 (min) and 1 (max) ,fadeTime=0.1 ,gate=1 ,attack=0.0 ...
-
... nt. you cannot cut-up a stream created later in the execution order. Change the SynthDefs in the class file to InFeedback if you want no execution order worries, at the expense of an audio block's delay (usually 64 samples). Class Methods . ...
-
... , inf ), Pseq ([1, -1], inf ), // turn around at either end 0); x = a.asStream; SynthDef ( \help_walk , { arg freq; Out .ar(0, Saw .ar([freq, freq+1], 0.5) * EnvGen .kr( Env .perc(0.01, 0.1), doneAction:2)) }).add; ) ( r = Task ({ { Synth . ...
-
... // Updating GUI }) }, SystemClock ); t.start; ) t.stop; ///////////// example 4 SynthDef ( \sin , { arg freq, amp=1; Out .ar(0, SinOsc .ar( Lag3 .kr(freq, 0.1), 0, amp)!2); }).add; ( l = List .new; w = Window .new( "ParaSpace" , Rect (10, 5 ...
-
... waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 20; //--synthesis SynthDef(\lightbulbs, {|out= 0, freq= 400, maxDur= 0.3, amp= 1, pan= 0| var e, z, freqs, amps, rings; freqs= Array.geom(4, freq, Rand(1.5, 2.5)); amps= Array.ge ...
-
... ]).collect(_.normalizeSum), 1); x = a.asStream; x.nextN(8) ) // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 20; //--synthesis SynthDef(\lightbulbs, {|out= 0, freq= 400, maxDur= 0.3, amp= 1, pan= 0| var e, z, freqs, amps, rings; freqs= Array.geom(4, freq, Rand(1.5, 2.5)); amps= Array.ge ...
-
... / ctranspose d: 0.2, // dur s: Scale.chromatic24 // scale ]).play ) // define a SynthDef ( SynthDef(\test, { |out = 0, freq = 440, width = 0.5, amp = 0.05, gate = 1, att = 0.05, rel = 1, pan = 0| Out.ar(out, Pan2.ar(Pulse.ar(freq, width, am ...