-
//particlesystem. //with mouse controlling world gravity (the 'wind') //with simple grain sounds mapped to each particle. ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, sys, makeParticle, n= 200, mp; //--synthesis SynthDef(\ ...
-
... ype == \button).if({ el.value = 1 }, { el.value = 0}) }); // Lights' colors are controlled via velocity ( var midiout = k.device.midiOut; [ // Rows (0..8), (16..24), (32..40), (48..56), (64..72), (80..88), (96..104), (112..120) ].flatten.do ...
-
... ekingA ].keys VGTuning .pelog[ \Kenong ]; // VGTuning prepares a large nuber of control busses for all the partials of every note // of every instrument. These are only used for pelog and slendro instruments; // neutral instruments are assu ...
-
... t = 0, pan = 0, freq = 160, amp = 1, att = 0.001, rel = 0.7, crv = -2, // Other controls preamp = 20, limit = -0.2; var env, in, snd; // Envelope: env = Env.perc( attackTime: att, releaseTime: rel, level: preamp * pi/2, curve: crv).ar; // T ...
-
... 0.01, 1.4) + Pwrand([0, 16], [0.9, 0.1], inf) ) ).play; ) // using a continuous control mapping b = Bus.control(s, 1); b.set(500); ( Pdef(\x, Pbind( \type, \dirt, \s, Prand([\bd, \hh, \cp, ], inf), \begin, Pn(Pseries(0, 0.002, 20)), \bandf, ...
-
... / TESTS: // Ndef starts tdef, tdef sounds Ndef('tdefNdef').play; // Tdef sounds controlled by Ndef vol Ndef('tdefNdef').vol = 0.5; // end ends Ndef and stops Tdef fully Ndef('tdefNdef').end; // end sound and tdef // set params by hand: // n ...
-
... Record, <>ampThresh, <>pitchThresh, <>minDur, <>maxDur, <>pitchIn; var <buffer, controlBus, record, collectchips, chips, <notes, collectRoutines, <>defaultSynth, <>writeInterval = 0.02, <>clearInterval = 0.2, <isEmpty, <isLocked, <filePath; ...
-
... gs, tab, completionFunc| var sDef, def, cDict = (), metadata; var thisType, thisControls, thisSpec, thisSlots, thisName, done=[]; sDef = SynthDescLib.global[this.defName.asSymbol]; sDef.metadata !? { sDef.metadata.specs !? { metadata = sDef ...
-
... oop: 0) }; // number of total points in index 0, just once } { if(trig.rate != \control) { trig = T2K.kr(trig) }; i = PulseCount.kr(trig); BufWr.kr(val, resultbuf, i - 1 * numOutputChannels + j + 1, loop: 0); // 'i' must be audio-rate for B ...
-
... gs(port).init; } // the init function init { var net; this.rotation = NodeProxy.control(Server.default, 3); this.rotation.source = { |e=0, a=0, r=0| [e, a, r] }; this.zero = [0,0,0]; net = NetAddr("127.0.0.1", this.port); this.client = Loca ...