Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. MIDISpec Quark

    ... ^this.getNames( type ).collect({ |item| valueSpecs[ item ]; }); } constrain { |array| // outputs an array [ type, channel, val1 (, val2) ] var type, specs; if( array.size == 0 ) { if( array.class == Symbol ) { type = array; array = [ type ...

  2. MIDISpec Quark

    ... ^this.getNames( type ).collect({ |item| valueSpecs[ item ]; }); } constrain { |array| // outputs an array [ type, channel, val1 (, val2) ] var type, specs; if( array.size == 0 ) { if( array.class == Symbol ) { type = array; array = [ type ...

  3. matrix_elimination Quark

    + Array {// gauss-jordan matrix elimination, by Kathi Vogt eliminateMatrix { var array = this.deepCopy; var lastRow = this.size - 1, lastCol = this[0].size - 1; var n = min(lastRow, lastCol); var z, diag, fk, ee; (0 .. n - 1).do {|i| diag = ...

  4. README Quark

    # Array Flatten [![NPM version][npm-image]][npm-url] [![NPM downloads][downloads-image]][downloads-url] [![Build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] > Flatten an array of nested arrays into ...

  5. SPList Quark

    ... "file exists:"+anafilename+"no need to analyze again.").postln }; } prFillPeriodArray{arg parent; var ana=File.new(anafilename, "rb"); parent.array=Array.fill(ana.length/48,{|i| Period.newUsing(this,parent,i,*({ana.getDoubleLE}!6))}); } // ...

  6. Mix Doc

    ... thods Examples Classes | UGens > Multichannel'>Multichannel Mix : Object Sum an array of channels. Source: Mix.sc Description Mix will mix an array of channels down to a single channel or an array of arrays of channels down to a single arra ...

  7. MNamedList Quark

    ... y clear *new { |pairs| ^this.fromPairs(pairs); } // very efficient *newUsing { |array, names| ^super.newUsing(array ?? {[]}).init(names); } // conversions *fromPairs { |pairs| var names, values; pairs = pairs ?? {[]}; #values, names = pairs ...

  8. NamedList Quark

    ... y clear *new { |pairs| ^this.fromPairs(pairs); } // very efficient *newUsing { |array, names| ^super.newUsing(array ?? {[]}).init(names); } // conversions *fromPairs { |pairs| var names, values; pairs = pairs ?? {[]}; #values, names = pairs ...

  9. MultiChannel Help

    Multichannel Expansion Multiple channels of audio are represented as Arrays. s.boot; // one channel { Blip .ar(800,4,0.1) }.play; // two channels { [ Blip .ar(800,4,0.1), WhiteNoise .ar(0.1) ] }.play; Each channel of output will go out a di ...

  10. MultiPlot Quark

    // wslib 2007 // plot multiple arrays on top of eachother // example: /* MultiPlot( [ (-10,-9..10), (-20,-18..20).fold(-10,10), { 3.0.rand2 } ! 20 ] ) */ MultiPlot { *new { |arrays, width = 600, height = 400, colors, background, hLinesAt, v ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow