-
... tln } // say you want to add a global low pass filter // first you generate the synth defs for it ( var numChannels = ~dirt.numChannels; (1..SuperDirt.maxSampleNumChannels).do { |numChannels| SynthDef("dirt_global_lpf" ++ numChannels, { |dr ...
-
... etronome that mutates beat locations using something like Brownian Motion ( SynthDef.new(\block, { arg freq=1000; var sig, env; sig = Impulse.ar(0)*10; sig = SVF.ar(sig, freq, 0.9); env = EnvGen.ar(Env.perc(0.01, 1), 1, doneAc ...
-
... MugicSpatCon.chaos_algos.detectIndex({|a| a.key.containsi("coyote")}); // Load SynthDefs when class is initialized ServerBoot.add({ var synthdef_file = "%/synthdefs/msc-synthdefs.scd".format(dir); if (File.exists(synthdef_file)) { synthdef ...
-
... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\maxmag, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar * 0.5; chain = FFT(fftbuf, in); // let the strongest (0 - 1023) pa ...
-
... = a.asStream; 9.do({ b.next.postln; }); ) Pfin used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... ostln;}, "multipy two arrays" ], [ 'free', [ 'str' ], { s.freeAll; }, "free all synths" ], [ 'sc', [ 'str' ], {|str| c.lang = \sc;}, "supercollider environment" ], [ 'cmd', [ 'str' ], {|str| c.lang = \cmd;}, "call window environment" ] ]
-
... exceeds your hardware channels, it'll play on a private bus). // The number of synth channels is fixed per SuperDirt instance // so you need several of them if you want different number of channels. ( ~allChannels = ~allChannels ? (); OSCd ...
-
... use older versions if your replace Done.freeSelf with number 2.) All sounds are synthesised - no samples are used. Some sounds I designed myself, others I reused from various tutorials, help files and other places (like sccode.org). All seq ...
-
... mChildren, { var id, child; // i = id // i + 1 = numChildren // i + 2 = def (if synth) id = msg[i]; if(msg[i+1] >=0, { child = dumpFunc.value(msg[i+1]); }, { j = 4; child = ().synth.instrument_(msg[i+2]); if(printControls, { controls = (); ...
-
... ethods . embedInStream ( event ) . hi . hi = value . lo . lo = value Examples ( 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, ...