-
MonoPortaSynthVoicerNode : SynthVoicerNode { var lastScheduledRelease; // for event usage trigger { arg freq, gate = 1, args, latency; var bundle; if(freq.isNumber) { this.shouldSteal.if({ bundle = this.setMsg([\freqlag, voicer.portaTime, \ ...
-
// reading in mono ~buf1 = Buffer.readChannel(s, "file.wav", 0, -1, [0]); ~buf2 = Buffer.readChannel(s, "anotherfile.wav",0, -1, [0]); ~buf1.loadToFloatArray(action: {|array| ~array1 = array}) ~buf2.loadToFloatArray(action: {|array ...
-
// all mono Instr.orc(\oscillOrc,[ \sin,{arg freq=500,phase=0,amp=1.0; SinOsc.ar(freq,phase,amp); }, \formant,{ arg freq=400,freq2=1300,bw=400,amp=1.0; Formant.ar(freq,freq2,bw,amp); }, \formantAdd,{ arg freq=400,freqOffset=100,bw=400,amp=1 ...
-
... \sub; ~description = "Dedicate a channel to subwoofer signal. Ideally use with monoSpat spatializer"; ~channelLayout = \mono; ~function = { |in = 0, sub_gainDB = -99, sub_lpHz = 200| LPF.ar(in, sub_lpHz.clip(5.0, 18000)) * sub_gainDB.dbamp ...
-
... mul, add) Partitioned convolution. Various additional buffers must be supplied. Mono impulse response only! If inputting multiple channels, you'll need independent PartConvs, one for each channel. But the charm is: impulse response can be a ...
-
... Verb: Filter: Description Class methods verbose maxTime defaultCombTimes ar makeMonoIn makeCombTimes makeCombs makeAllpasses Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | UGens AdCVerb Ex ...
-
... ===== /* The code below is exactly what we built in class. You will need a MONO sample. */ // make sure to boot server first // load a sound file (or two...) b = Buffer.read(s, "/Users/Mason/Desktop/Nena - 99 Luftballons mon ...
-
... me = \sndFile; ~description = "Stream a soundfile from disk"; ~channelLayout = \mono; ~function = { | bufnum = 0, loop = 0 | DiskIn.ar(1, bufnum, loop: loop); }; /* ~name = \sndFile; ~function = { | sfile = '/usr/share/sounds/alsa/Front_Cen ...
-
... buffer. b= Buffer .alloc(s, s.sampleRate, 1); //enough space for one second of mono audio // Write to the Buffer with BufWr, read using two Taps, one for each ear! ( SynthDef ( \helpTap , { |bufnum| var source, capture; source= SoundIn .ar ...
-
... e = \envfol; ~description = "Envelope follower (audio rate)"; ~channelLayout = \mono; ~function = {|in = 0, decaycoeff = 0.99, amp = 10.0, lpf = 20 | var env, out; in.scope; env = LPF.ar(PeakFollower.ar(in), lpf, mul: 50, add:-1); env.scope ...