-
... bus, \freq, pitch, \pan, 0.7.rand2, \amp, myVol ]); } }, 10, { { // the sc-code synthdef is compiled into the name xiiCode Synth(\xiiCode, [ \outbus, outbus, \freq, pitch, \pan, 0.7.rand2, \amp, myVol ]); } }, 11, { { // the audio stream Sy ...
-
... imenting as compile time is shorter, but once you have finished the design of a SynthDef it might pay going back to blocksize 32 or 64 for runtime efficiency, especially if many kr UGens are involved. See also: Fb1_ODE , Fb1_ODEdef , Fb1 , ...
-
... face. This is more of a convenience method and one should write its own Ndef or SynthDef to control the output of the eurorack module. See EuroSynth: -monitor for more information. negativeVoltage If true it will also allow to output negati ...
-
... 9); {SinOsc.ar(In.kr([0, 8]), 0, In.kr([1, 9]))}.play ) // A test instrument. ( SynthDef.new("ping", { arg out = 0, freq = 440, pan = 0, gain = 1; Out.ar(out, Pan2.ar( SinOsc.ar(freq, 0, EnvGen.kr(envelope: (Env.perc), doneAction: 2)), pan, ...
-
... ); 4; //reschedule every 4 beat }) ) a.clear //--two pbinds on the same clock ( SynthDef(\audiomulchclock, {|out= 0, atk= 0.01, rel= 0.2, gate= 1, freq= 400, pan= 0, amp= 1| var env= EnvGen.kr(Env.asr(atk, amp, rel), gate, doneAction:2); va ...
-
... or .rand]]).action_({w.close}); s.waitForBoot({ b= Bus .new( \control ,0,1); q= SynthDef ( \Docs_FreqMonitor , { var freq,snd; freq= LFNoise0 .ar(2, 400, 650); snd= SinOsc .ar(freq,0,0.2); Out .ar(0,snd); Out .kr(b.index,freq); // output th ...
-
... /////////////GUI Server.default.waitForBoot({ var fx; var fxSynth = { SynthDef.new(\masterFX, { arg input, pos = 0, delayTime = 0, decayTime = 0, level = 1; var in, snd, fb, delay, left, right, locIn; in = In.ar(inpu ...
-
... a = VBAPSpeakerArray.new(2, speakerList.collect(_.first)); b = a.loadToBuffer; SynthDef('VBAP 5 chan', { |azi = 0, ele = 0, spr = 0, width = 60, vbapBuf| var panned, source; source = SinOsc.ar([440, 660], 0, Decay2.ar(Impulse.ar([1, 0.9]), ...
-
... f course a.action = nil; ⧉ ✔ Use Slider for triggering sounds ( s.waitForBoot({ SynthDef(\pluck, { |out, freq = 55| Out.ar(out, Pluck.ar(WhiteNoise.ar(0.06), EnvGen.kr(Env.perc(0, 4), 1.0, doneAction: Done.freeSelf), freq.reciprocal, freq.r ...
-
... /// // AUDIO /////////////////////// //////////////////////////////// SynthDef("shaper", { arg freq = 440, gate = 1, amp = 0.6, dist = 0.4, transFunc, att = 0.1, sus = 1, rel = 1; var snd, env; env = EnvGen.kr(Env.asr(att ...