-
... amp * EnvGen .kr( Env .adsr(att, dec, susLevel, rel), gate, doneAction: 2); // random spatialization (for sequencing) by L/R delay [ DelayL .ar(src, maxDelay, Rand (0, maxDelay)), DelayL .ar(src, maxDelay, Rand (0, maxDelay))] }) ; // ensu ...
-
... eloc; nodeloc.postln; b.setState_(nodeloc[0], nodeloc[1], 0)}); // fill it with random nodes (nTET*3).do({ b.setState_(32.rand, nTET.rand, 1); // column, row, state }); }); ) // and we can play the grid from above with a clock // note: if y ...
-
... will make scales and deal with note-names, transposition, string fomratting // random filtering *major {arg tonic; var steps, scale, start; start = tonic = tonic.notNil.if({ tonic.isKindOf(PitchClass).if({tonic}, {PitchClass(tonic)}) }, { ...
-
... (2000, 12000), \sustain, 0.1, \out, 1, \pan, 0.5); *****/ // grain, each Server randomizes freq SynthDef('grain_interpret', { arg out = 0, freq=800, sustain=0.01, amp=0.5; var window, pitch; window = Env.sine(sustain, amp); pitch = (Rand(4) ...
-
... {0.5}!25).asDynamic( Array .geom(25,20000, 0.75).round(0.1).postln, 100, 1); // random amps and freqs: ({rrand(0.0001, 0.1)}!8).round(0.001).postln.asDynamic(({rrand(50,2000)}!8).postln); bintodb(zeta = 8) Convert the magnitude of an fft bi ...
-
... Bufs of different rates, the difference between L and R // comes from different random start positions. ( x = { var buf, env = DXEnvFan .ar( Dseq ([ Dshuf ((0..4)), Dshuf ((5..7))], inf ), size: 8, fadeMode: 3, stepTime: 0.2, fadeTime: 0.02 ...
-
... ); grainDur = max(trigRate.reciprocal * overlap, minGrainDur); // select L/R or random sequencing pan = Demand .ar( trig, 0, Dswitch1 ([ Dseq ([1, -1], inf ), Dwhite (-1, 1) ], panType) ) * min(panMax, 0.999); sig = GrainIn .ar( 2, trig, gr ...
-
... r midinotes in the gui and define the calculation for the actual midinote (e.g. random selection) in the event pattern: \midinote , PLwhite ( \midiLo , \midiHi ) Tour 4: PbindFx PbindFx is an event pattern for effect handling on per-event b ...
-
... 3), \cleanupDelay , Pkey ( \decayTime ) ] ); q = p.play; ) q.stop; Example 2b: Random fx sequence // If more than one synth per event is produced (here by key 'midinote'), // the effect chain is applied to all of them, see Ex. 3 for applyi ...
-
... onal(maxFloatVal, 7.0), -7.0, 3.0, "(2^53/-3) / (2^53/7)" ); } // These pin the random add/sub bound to an exact no-cancellation example. test_AddSub_EdgePrecision { var m = maxAddSubIntVal; var checkRat = { |rat, num, denom, msg| this.asse ...