-
... )||(agents[a][1]>1), { agents[a][3] = agents[a][3].neg; }); } // set var vunctions separation { |v| myseparation = v.clip(0,1)*0.1; } alignment { |v| myalignment = v.clip(0,1)*0.1; } coherence { |v| myc ...
-
... / execute these one by one on both machines x = C2_ClockDifference.new; x.setup; // then enter i.p. of remote machine, within a second or so you'll get the result // ... this is important, it is not an instant process! y = "19 ...
-
... ys = LSystem( iterations:3, axiom:"Y---Y", constants:Set[], rules:( \X : "F-FF-F--[--X]F-FF-F--F-FF-F--", \Y : "-F+X+F-Y", )); var interp = LSystemInterpreter( lsystem:lsys, ...
-
... tains a value which cannot be compared with the available steps, button will be set as untoggled though sound will still have the indicated probability to be played. }; /* Duo tracker is a combination of the two trackers above. The t ...
-
experiments in detecting fast onsets with Amplitude UGens by julianrohrhuber (julian.rohrhuber) Code
... consecutive experiments (all results visualised as plots) that try to detect onsets in a noisy signal. // single Amplitude UGen // attackTime:0.01, releaseTime:0.01 // too soft to follow ( { var sig, amp, gate, trig; sig = LFSaw.ar ...
-
... sc t=("come out to show them "!999).join;Speech.init(2);[98,99].do{|r,i|Speech.setSpeechVoice(i,3).setSpeechRate(i,r).channels[i].speak(t)}; t=("it's gonna rain "!999).join;Speech.init(2);[98,99].do{|r,i|Speech.setSpeechVoice(i,3).setSpee ...
-
Migration from the old SourceForge wiki. // Here is a simple trapset: kick, snare, and hat. Feel free to make a better one out of it! ( // simple trapset v.1 var dur; var kSeqs, snSeqs, kSeq, snSeq; SynthDef("kickTrig1", { ar ...
-
... inc=(0), animate=true; /*----------------------------------*/ //user can set "input" and "transfer" //variables to be any Signal of size 384 // //animation will show the output signal //that results from waveshaping /*----- ...
-
... -------------- // compam // generates compositions of n with m parts from the set (p1 p2 ...) //------------------------------------------------------------------------ ( ~compam= {|n, m ...p| var res= List.new; var parts= Array.ne ...
-
... d to the high and low values. // in [\freq, [1,44100],[200,1600]], the first set of values are the clip range for a UGen input; the second // set of values is the range for random scalar generation. // Certain troublesome UGens l ...