Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1397) Code (57) Doc (328) Help (93) Quark (918) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 2_elements_and_actions_midi Quark

    /// 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 ...

  2. point_axis Quark

    /* \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 ...

  3. MKtlElement Quark

    ... 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 }; ...

  4. Filter Quark

    [ [ '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" ], ...

  5. SplineMapper Quark

    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 ...

  6. WavetablePrep Quark

    // 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 ...

  7. TdefPreset_MoreTests Quark

    ... 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, ...

  8. ModFile Quark

    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 ...

  9. envelope Quark

    /* \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 ...

  10. SmoothClip Quark

    ... 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 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow