-
... evel points. the first and last value are always zero. the inner 10 points are random between -1 and +1. the internal functions normalize the levels so the highest value is always +/-1.0 */ ~wt0 = Env( [0]++ { var levs, peak; ...
-
... PopUpMenu(cntnr77, Rect(10,25, 75,40)) .items_(["Sine","Pulse","Saw","Noise","Random"]) .stringColor_(Color.fromHexString("#cccc00")) .background_(Color.fromHexString("#5c5c57")) ; osc1_SHAPE = Knob(cntnr77, Rect(90,25, 36,36)) .colo ...
-
... ------------------------------------------------------ // comprnd // generate random composition of n //------------------------------------------------------------------------ ( ~comprnd= {|n| var res= List.new; var p= 1; (n-1). ...
-
That's why I love SC, I just randomly added code, and everytime something cool come from it! =) ( f = { var rep = [4, 8, 16, 32]; var n = rep.choose; var x = [ 54, 60, 66, 72, 81, 90, 96, 102, 108, 128, 132, 144, 16 ...
-
... [{ | glob, loc | // extend list notes being played (using some randomness :) ) glob[\patternnotes] = glob[\patternnotes].add(glob[\acceptablenotes].choose.debug("add new note")); // alway ...
-
... r with PinkNoise as input and Patterns - major scale with sequence: 1,3,7,8 and randomly 10,11,13,14 at some weighted random intervals. at 50bpm it becomes quite soothing. Needs JPverb from sc3_plugins. ( SynthDef("plucking", {arg out = 0, ...
-
might be osx only //redFrik april'06 - title generation techniques //osx only //please give credit if you use any of these in your code //---------- ~file= FileReader.read("/usr/share/dict/words"); //will take a little while to load ...
-
... ) ).asStream; // pi decimals //~str = Prand((0..9),inf).asStream; // same with random decimals Pdef(\soni, Ppar( 4.collect { arg i; Pspawner({ arg sp; inf.do { arg x; sp.seq(~genpat.(~str), i); } }) } )).play; ) ...
-
8 sine waves, each with a slightly meandering frequency, random phase, slowly varying amplitude, slowly wandering through the stereo field; pitches are chosen from a given chord that is changing at intervals between 18 and 20 seconds. // Me ...
-
... output will sound fairly consistent, even though the pattern's \dur is totally random. That is because the \tbeat and \tempo parameters are provided to the Synth via the pattern. It is possible to calculate what the starting phase of the o ...