-
... 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 . ...
-
... io(s, 2); s.freeAll; ~players.do(_.stop); s.waitForBoot({ //fm synth SynthDef(\fm, { arg freq=500, mRatio=1, cRatio=1, index=1, iScale=5, cAtk=4, cRel=(-4), amp=0.2, atk=0.01, rel=3, pan=0, out=0, fx=0, fxsend=(-25); ...
-
... inlin(dBLow, 0, 0, 1); }) }}.defer; }).add; }); Server.default.bind({ insynth = SynthDef("ixiInputLevels", { var in, imp; in = InFeedback.ar(NumOutputBuses.ir, numIns); imp = Impulse.ar(updateFreq); SendReply.ar(imp, "/ixiInLevels", [Runnin ...
-
... // 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 = PitchShift ...
-
... ger)); }); topEditor.funcBut.states_([["play - Q"]]); topEditor.playFunc_ { var synthDef; var event = (laras: currLaras).putPairs( [[\instKey, currInstKey], [\noteKey, currNoteKey]] .keep((currDepth)).flat ); if (currDepth == 2) { synthDef ...
-
... al pitch triad ~notes = [45,55,60].midicps; s.waitForBoot({ Routine{ SynthDef.new(\tone, { arg freq=440, pan=0, rel=0.05; var sig; sig = SinOsc.ar(freq); sig = sig * EnvGen.kr(Env.perc(0.005,rel), doneAction:2); ...
-
... ({ |paths| // get a second soundfile; paths.do({ |p| exBuf = Buffer.read(s, p); SynthDef("help-max", { |out = 0, soundBufnum1 = 2, soundBufnum2 = 3| var inA, chainA, inB, chainB, chain ; inA = PlayBuf.ar(1, soundBufnum1, BufRateScale.kr(sou ...
-
... == "class browser", {window = win}) }; window }), (buttonName: "SynthDef", alwaysOnTop: true, bounds: Rect(1608, 366, 712, 697), showButton: { var window; SynthDescLib.global.read; SynthDescLib.global.browse; ...
-
... e in 3.7 if(SynthDescLib.global['system_setbus_control_1'].isNil) { (1 .. SystemSynthDefs.numChannels).do { arg i; SynthDef("system_setbus_audio_" ++ i, { arg out = 0, fadeTime = 0, curve = 0, gate = 1; var values = NamedControl.ir(\values, ...
-
... rom the server and assign it to n s.sendMsg("/s_new", "default", n); // use the SynthDef "default" to create a synth with ID n s.sendMsg("/n_free", n); // release the synth n ⧉ ✔ indirectly the language app provides you with convenient OOP ...