-
... mpBus = Bus.control(s); ampBus.value = 0.1; sndBus = Bus. audio(s, 2); // Routine to add SynthDefs, wait for Server reply, then start Synths { // The SynthDef has been modified to store the harmonic number inside it, allowing to cha ...
-
... l box, 16 faders), and connects it via a Fireface 400, which has 2 MIDI ins and outs on a breakout cable. // 1. make an Mktl for the pocketfader MKtl(\pf, "*pocketfader"); MKtl(\pf).gui; // This will say that it is virtual only, because thi ...
-
... rement, and the previous minus tmask phons A perceptual loudness function which outputs loudness in sones; this is a variant of an MP3 perceptual model, summing excitation in ERB bands. It models simple spectral and temporal masking, with e ...
-
... this.add(key, levels[i]) }; } // forward basic messages to the proxy play { arg out, numChannels, group, multi=false, vol, fadeTime, addAction; proxy.play(out, numChannels, group, multi=false, vol, fadeTime, addAction) } playN { arg outs, a ...
-
... en.kr(Env.perc(0, sustain, 0.5), doneAction:2) * amp); sig = Splay.ar(sig); Out.ar(0, sig); }).add; e = Pbind( \midinote, Prout({ var tone0, tone1, tone2, interval, freq0, delta; loop { tone0 = rrand(0,11); interval ...
-
I just rewrote one of autocsi's tweets and came out with this which sounds like a digital bird of some kind: ( Ndef(\birdy, {arg freq=1500, amp=0.5, rate=10; var osc, son, convIn, rand; osc=LFCub; rand = LFNoise1.ar(rate); convIn=L ...
-
... f is already on the server ~a = Pbind ( \instrument , name, \freq , ...); ~a = Routine ({ loop({ s.sendMsg( "/s_new" , name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend these resend the synth wit ...
-
... llider) // The channel is radpost, radpostcont, or nopost for code that ran without // being displayed (a method kept it out of the document on purpose). // The file stays on this computer; nothing is sent anywhere. Each entry is // appende ...
-
... : 2, delaytime: delay, decaytime: decay); snd = Pan2.ar(snd, panning); Out.ar(0, [snd, snd]); }).add; SynthDef("electric", { arg out = 0, freq = 300, amp = 1, gate = 1, spread = 0.8, noiselevel = 0.2, minfreq = 50 ...
-
... ATKBaseDef : SpatDef { var <format, encoder, // specific variables <busses, <fxOutFunc; getFunc { | maxOrder, renderer, nChanns | switch (nChanns, 1, { ^{ | lrevRef, p, rad, radRoot, azimuth, elevation, contract | var sig = distFilter.valu ...