-
... ([0, 10000].asSpec); "in val / rounded / not rounded".postln; 10.collect{ 10000.rand }.sort.do({ |x| postf("% / % / %\n", x, g.niceNum(x, true), g.niceNum(x, false)) }) ) ⧉ ✔ The implementation is based on: A. S. Glassner, Ed., Graphics Gem ...
-
... | glob, loc | // extend list notes being played (using some randomness :) ) glob[\patternnotes] = glob[\patternnotes].add(glob[\acceptablenotes].choose); // limit pattern to 8 notes. if (glob[\ ...
-
... ze.do { |i| klank_freq_array[i] = Clip.kr( pitchScaler * klank_freq_array[i] * TRand.kr(0.95, 1.05, t_trig), 5, 22050); }; // freqscale = (pitchScaler * klank_freq_array[0] ) / 2434; //- // freqscale = freqscale * (SampleRate.ir*0.5); // // ...
-
... ontainer.decorator = FlowLayout(container.bounds); container.background = Color.rand; StaticText.new(container, Rect(0,0,60, 10)).string_(("%/%%".format("azi".asSymbol, "ele".asSymbol, i).asSymbol)); orient = Slider2D.new(container, Rect(0, ...
-
... 0 to 1.0). They are [prob of simple statement, prob of even roll, prob of accelerando rather than decelerando geometric series]. The algorithm cascades through one prob at a time. If a block is not simple, then it is a roll. If it isn't an ...
-
... ze.do { |i| klank_freq_array[i] = Clip.kr( pitchScaler * klank_freq_array[i] * TRand.kr(0.95, 1.05, t_trig), 5, 22050); }; // freqscale = (pitchScaler * klank_freq_array[0] ) / 2434; //- // freqscale = freqscale * (SampleRate.ir*0.5); // // ...
-
... =0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay.ar( Forman ...
-
... ries(16,2.0,0.5); ~ampB1 = Array.series(16, 1, -0.04); ~partialsB2 = Array.rand(16, 0.2, 9.0); ~ampB2 = Array.series(16, 1, -0.04); ~exclusive_allocation = { inf.do{ ~a = SynthDef(\A, { var sig, sig2, env, stereo; ...
-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... ar(in: source, freq: freq*filtermod); snd = Resonz.ar(in: snd,freq: freq,bwr: Rand(2.0,10.0)); trigGrain=impulse; sig=GrainIn.ar(2,trigGrain,durGrain,snd); Out.ar(out,Pan2.ar(sig,0)); }).add; ) a=Synth(\essai) TempoClock.t ...
-
... doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; Out.kr(outbus, LFNoise2.kr(rate).range(low, hi)) }), SynthDef(\controlenv, {arg gate = 1, ...