-
/* \scale_point Creates an UMap for scaling and moving a point. The point can also be UMaps. point: the first point scale: a multiplier for x/y move: a point to add to the point -- this is an UMapDef definition file part of the WFSCollider ...
-
/* using this human readable syntax: Scale('b', 'major') returns a FloatArray FloatArray[ 2, 4, 6, 7, 9, 11, 13 ] */ CXScale { classvar noteNames, scales, scalesArray; *initClass { noteNames = IdentityDictionary[ 'a'->0, 'a#'->1, 'bb'->1, ' ...
-
/* taking degrees, frequencies, durations, scales in various combinations and returning objects that supply frequency */ Spec.specs.addAll([ \freqStream -> StreamSpec(\freq.asSpec.as(StaticSpec)), \scale -> ScaleSpec(#[0, 2, 4, 5, 7, 9, 11] ...
-
... d play the AlgaPattern a = AlgaPattern(( def: \sine, dur: 0.5 )).play(chans: 2, scale: 0.7); }); ) //Replace the definition in the AlgaPattern a.replace(\saw, time: 2, sched: 1); //Note that 'def' also supports ListPatterns a.from(Prand([\s ...
-
ModalFreq : AbstractPlayerProxy { // players or floats will work var <>degree,<>scale,<>root,<>octave=4.0,<>stepsPerOctave=12.0; *new { arg degree=0,scale,root=0.0,octave=4.0,stepsPerOctave=12.0; ^super.new.degree_(degree).scale_(scale ?? { ...
-
... 00, w, x, y, dx, dy, widthCartPlane, heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(wi ...
-
... play; b = AlgaNode({SinOsc.ar(1)}); c = AlgaNode({LFNoise1.ar([100, 1000])}); //scale: per channel scaling a.from(b, \f, scale:[[300, 10], 500]); }); ) a.mixFrom(b, \f, scale:[-1, 1, 50, 1000]); a.mixFrom(c, \f, scale:[-1, 1, 50, 1000]); a. ...
-
WFSPathTransformerDef( \scale, { |f, path| path.positions_( path.positions * [f.get( \scale ) ] ); }, [ \scale, 1@1 ] ) .setSpec( \scale, PointSpec( 10, 0.1 ) ) .useSelection_( true );
-
... Out .ar(out, sin * amp); }).memStore; ) ( var carrier, modulator, depth, curve, scale; carrier = 440; modulator = 600; depth = 100; curve = DissonanceCurve .fm(carrier, modulator, depth, 1200); scale = curve.scale; ) *fft (buffer, size, cut ...
-
/* \rotate_point Creates an UMap intended that rotates and scales an input point. point: the point to rotate (can be an UMap) rotate: the amount of rotation in degrees (-pi - pi) scale: a scale amount (0.25 - 4) -- this is an UMapDef defini ...