-
... ameter determines the shape of the envelope segments. The possible values are: 'step' - flat segments 'linear' - linear segments, the default 'exponential' - natural exponential growth and decay. In this case, the levels must all be nonzero ...
-
... ke; }, sine: { |rect, n = 1, phase = 0, res, fitToRect = false| var square, wd, step; if( fitToRect ) { square = Rect.aboutPoint( rect.center, rect.width / 2.5, rect.height / 4 ); } { square = Rect.aboutPoint( rect.center, rect.width.min( r ...
-
... Sn, [-10,10] ].clump(2).collect{ |nameRange, i| var method, variant, range, us, step; var data, max, min, clipplot = 8; var samps = 500, ks = [0, 0.5, 0.75, 0.95, 1]; #variant, range = nameRange; step = range[1] - range[0] / samps; us = (ra ...
-
... exactly fall in the category of math operators. Pavaroh(pattern, aroh, avaroh, stepsPerOctave): Convert scale degrees to note numbers, with separate ascending and descending scale patterns. Originally written for Indian ragas, it also work ...
-
... 65.28, 65.72, 65.28, 64.65 ] To convert from amplitudes to sones, an additional step is needed to go from phons to sones, using SimpleNumber:phonToSone (also included is the inverse function soneToPhon). There is a convenience method that b ...
-
... assing an array of 120 individual tempo weights; tempi go from 60 to 179 bpm in steps of one bpm, so you must have a buffer of 120 values. Returns: Six k-rate outputs: #beattick, eighthtick, groovetick, tempo, phase, groove = BeatTrack2.kr( ...
-
... 0, 0.05..1).collect { |i| i.nearestInList(l) } ) ⧉ ✔ . nearestInScale ( scale , stepsPerOctave: 12 ) Arguments: scale an array of SimpleNumbers each treated as a step in the octave. stepsPerOctave 12 by default Returns: the value in the col ...
-
... = match.add(uniChar); // Traverse path back up to root, incrementing count each step. while ({ path.size > 0 }, { var count = uniTrie.at(*(basePath ++ path ++ [\_count])); if (count.notNil, { count = count + 1; }, { count = 1; }); uniTrie.p ...
-
... textSnake_Palestrina.scd").openOS; ) code:: // A melody which can go up only in steps, and down only in thirds; // can begin with 0, 7, or 6; can end with 7, 4 or 0. b = [ (0..7), [7, 5, 3, 1, 2, 3, 4], [6, 4, 2, 0]]; c = ContextSnake(b, mi ...
-
... SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) // short sequence with doneAction, step ( { var freq; freq = DemandEnvGen.kr( Dseq([1300, 500, 800, 300, 400], 1), 0.2, 0, doneAction: Done.freeSelf ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) ...