-
... thods Inherited instance methods Examples s.boot; b = Buffer.alloc(s,2048,1); ( SynthDef("help-brick", { arg out=0, bufnum=0; var in, chain; in = {WhiteNoise.ar(0.2)}.dup; chain = FFT(bufnum, in); chain = PV_Cutoff(chain, SinOsc.kr(0.1)); O ...
-
+ SynthDef { share { | republic | republic = republic ? Republic.default; if(republic.isNil) { ////////////////////////////////////////////////// v if(Main.versionAtMost(3, 3)) { this.memStore } { this.prAdd } } { republic.addSynthDef(this) ...
-
... n ascending order, ( MIDIIn .connect; s = Server .local; s.boot; s.latency = 0; SynthDef ( "sik-goo" , { arg freq=440,formfreq=100,gate=0.0,bwfreq=800; var x; x = Formant .ar( SinOsc .kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen .k ...
-
... 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(fre ...
-
... ringtimes], Impulse.ar(2, 0, 0.1)) }.play; ) ( // set them from outside later: SynthDef('help-dynKlank', { |out| var freqs, ringtimes, signal; freqs = Control.names([\freqs]).kr([800, 1071, 1153, 1723]); ringtimes = Control.names([\ringtim ...
-
... { ^VGTuning.synthDataDir +/+ "samples_gamKUG/" } *startUp { |doneFunc| this.makeSynthDefs; "VGSampler initialises, may take 20 seconds...".postln; VGSamp.clear; VGSamp.makeSynthDefs; VGSamp.prepPaths; (dir.dirname +/+ "SampleFixFunc.scd").l ...
-
... cessing loop. There can only be one audio rate and one control rate LocalIn per SynthDef. The audio can be written to the bus using LocalOut . WARNING: Audio written to a LocalOut will not be read by a corresponding LocalIn until the next c ...
-
... server.waitForBoot({ if(server.dumpMode != 0,{ server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal,{ InstrSynthDef.loadCacheFromDir(server); }); this.prPlay(atTime,bus,timeOfRequest); nil }); },{ this.prPlay(atTi ...
-
... erver.waitForBoot({ if(server.dumpMode != 0, { server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal, { InstrSynthDef.loadCacheFromDir(server); }); this.prPlay(atTime, bus, timeOfRequest); nil }); }, { this.prPlay( ...
-
... morphing between two event pattern (cross-fading synth arguments) ( // example synthdef SynthDef(\lead2, { arg out=0, freq = 100, pan=0, amp=0.1, mdetune=1.004, gate=1, rq=0.1, fratio = 1, fbase=400, wet=1, fbfreq=100, fbamp=0.8, fbpamp=1 ...