-
... he possibility to have it polyphonic like is generally possible when one uses a SynthDef as an instrument in a Pbind. The code is rather long, but just because is repetitive. One Ndef produces eight channels of sound. A SynthDef take t ...
-
... // Let's read in an internet radio stream and warp it a bit. // First we need a synthdef: s.boot; ( SynthDef ( "help_mp3_01" , { |bufnum = 0| var son, wibble; son = DiskIn .ar(2, bufnum); wibble = LFPar .kr(0.1).range(0.5, 2.0); son = Pitch ...
-
... an If you already calculate a mean (=RunningSum/length) in another part of your SynthDef you can supply it here, so it is not calculated again, thus safing processing power. Inherited class methods Instance Methods Inherited instance method ...
-
... n }); ) Ppatmod used to modify a pattern that produces 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 . ...
-
... to(500).plot(bounds: Rect (10, 410, 520, 380), parent: w); ) // sound example ( 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 . ...
-
/* Here's a simple way to do mid/side processing in a SynthDef format. Mid/side processing splits a stereo signal into two new pieces; instead of a left and right channel, you now have a channel full of the same parts between the left and r ...
-
... ort description ~function: the actual definition of the plugin */ // NOTE: this synthdef is unstable when instatiated, // muteSecs: mutes output and sets the decay to zero and then scales back to normal during the first muteSecs of the synt ...
-
... apDef.loadOnInit = false; defs = UMapDef.loadAllFromDefaultDirectory .collect(_.synthDef).flat.select(_.notNil); UMapDef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.j ...
-
... rver.local.boot; b = 200; // no. of control bus to use for pitch control ( SynthDef("straightenUp", { |baseFreq = 100| var in, freq, hasFreq, out; in = Mix.new(SoundIn.ar([0,1])); # freq, hasFreq = Pitch.kr(in, ampThresh ...
-
... ot; ( b = Buffer.alloc(s, 2048, 1); c = Buffer.read(s, ExampleFiles.child); ) ( SynthDef("help-magSquared", { |out = 0, bufnum = 0, soundBufnum = 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chai ...