-
/// Now that we have a device active, what can we do with it? MKtl.find(\midi); k = MKtl( 'icon', "*icontrols" ); // an iControls // or if it is a nanoKontrol 2: k = MKtl( 'nk2', "*nanokontrol2"); k.gui; // print a nice list of elements k.p ...
-
/* \point_axis Creates an UMap for converting a point (or point UMap) to a single value, by projecting it on a line. The line can be the x axis (default) or y axis, but via the 'rotate' argument it can also be somewhere in between. point: t ...
-
... rce.send(name, this.deviceValue); ^true }; ^false } // MAbstractElement does no mapping, so it has no spec. // the get/set value methods are all flattened out // for speed and reading clarity value_ { | newval | if (newval.isNil) { ^this }; ...
-
[ [ 'lpc', "glitchy distortion" ], [ 'dec', "raw distortion" ], [ 'wnl', "nonlinear distortion" ], [ 'cod', "very overdriven distortion" ], [ 'log', "logistic map noise generator" ], [ 'lpc2', "glitchy distortion with mix function added" ], ...
-
SplineMapper Use a spline as a mapping function. X will be enforced to be monotonic but Y (value) may curve back on itself spline a spline dimension: 0: x is input, y is output 1: y is input, x is output inSpec: ControlSpec of the input ran ...
-
// 2022 hjh H. James Harkins WavetablePrep { classvar <>filters; var <>path; var <>wtSize = 2048; var <>numMaps = 8; var <>ratio = 2; var <>fudgeFactor = 0.5; var <>filter = \tenPctSlope; // 2d array of Signals // outer dimension is wt-posi ...
-
... eft setting name2 - the right setting mapped - a flag whether to interpolate by mapping/unmapping thru specs. requires specs to be globally or locally present. // creates that setting, and sets proxy z.morph(0.0, \ada, \coco); z.morph(0.1, ...
-
ModFile : Radicles {var <filePath, <libArr; * new {arg file=\synth, class=\filter, exclude; ^super.new.initFile(file, class, exclude); } initFile {arg file, class, exclude; if(exclude.isNil, { filePath = this.whichFile(file, class); }, { if ...
-
/* \envelope_amp An amplitude envelope. env: an Env. It should have levels between 0 and 1, which will be mapped with according to the \amp ControlSpec. -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \env ...
-
... ier for the case lo == -1, hi == +1, // we regard this case first and do linear mapping / remapping for other bounds: // Take tangent through zero for abs(x) < given tangent point x0 // and sine fragment values above x0 and below 1, clip fo ...