-
... mbN .ar( In .ar(0, 1), 0.35, [ Rand (0.05, 0.3), Rand (0.05, 0.3)], // generate random values every time a synth is created 7, 0.5 ) ) }).load(s); // DEFINE GROUPS TO CONTROL ORDER-OF-EXECUTION // attach a ~source group to the head of the r ...
-
... Stream; 6.do({ b.next.postln; }); ) ⧉ ✔ Prand returns one item from the list at random for each repeat. ( var a, b; a = Prand.new(#[1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) ⧉ ✔ Prand used as a sequen ...
-
... 3).wait; } }; //Pick a note from the pentatonic scale with somewhat random settings //and slowly noodle around the circle of fifths {inf.do { thisPitch = thisRatio.choose*rootPitch.midicps; stopTranspose = stopTran ...
-
... e, i'm talking with the default voice now").play; (type: \say, text: "this is a random voice", voice: Say.voices.choose.name.postln).play; (type: \say, text: "Anna aus Doytschland, oder Standard-stimme", voice: "Anna").play; Pbind( \type, \ ...
-
... ;\nCmdPeriod.doOnce({if(win.isClosed.not, {win.close})});\n)" ); }, ['extras', 'random helpfile'], { case {Main.versionAtLeast(3, 6)} { SCDoc.documents.choose.path.help; } {Main.versionAtLeast(3, 5)} { files= List.new; PathName(Help.dir).fi ...
-
... nd dissonance analysis, noise gives as result a multitude of varied scales with random characteristics: //f = Array.rand(10, 49, 1200).sort; // rand frequencies: noise? //a = {rrand(0.1, 1)}!20; // all random // generate an f and a (freq, a ...
-
... idinote, Pkey(\val) + [-7, 4, 7], \amp, Pwrand([0.06,0.1], [0.8,0.2], inf), // "random" appearance of middle voice chords depending on synth values \type, Pkey(\val).collect { |x| ~middle = x.asInteger.even.if { \note }{ \rest } } ] ], Pseq ...
-
... ; ~x.value; // return [ 610, 810 ] ~c = { [10, -10].rand }; ~x.value; // return random between [ 610..620, 800..810 ]
-
... ({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); ⧉ ✔ Masking The following methods work with arrays o ...
-
... based on prime numbers), and they can be scaled. The allpassTimes are generated randomly based on prime number ratios, but can also be passed in if desired. Class Methods . verbose if true, post the random-generated allpass times for precis ...