Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (34) Doc (292) Help (106) Quark (484) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. MCLDTreeUGens Plugin

    ... nt" arg, it's used for recursion.) *classify { |point, treedata, pathInt=1| var node = treedata[pathInt - 1]; // note the minus one, it's because the indexing has to start at 1 not 0 var result = sumF((point - node[..point.size-1]) * node[p ...

  2. SOMAreaWr Plugin

    ... a SOM using SOMTrain , and you also want some data to be stored along with each node, generated during the training process, then you can simply use BufWr in combination with SOMRd .coordsToBufIndex . However, this won't let you write the d ...

  3. SOMTrain Plugin

    ... ; inputs = theInputs; // This unit outputs the co-ordinate of the best-matching node, i.e. its integer index in the grid. // NOT the template vector - you can work that out yrself! ^this.initOutputs(inputs[2], rate); } // SOMRd returns node ...

  4. compar Plugin

    // Compar is a feed-forward resonator network featuring three ComplexRes nodes. // This code example accompanies the paper "Dynamic FM synthesis using a network of complex resonator filters" by Julian Parker and Till Bovermann. // see http: ...

  5. trainFromFile Plugin

    ... ata = data.clump(2)}) }); // Let's plot it: ( ~winsize = 700; w = Window ( "SOM node locations" , Rect (300, 300, ~winsize, ~winsize)); ~somdata.do{ |datum| SCStaticText (w, Rect (~winsize * 0.5 * (datum[0]+1), ~winsize * 0.5 * (datum[1]+1) ...

  6. STKinstructions Plugin

    ... initialization cost. The downside of this is that you have to keep track of the nodes, but that's not a big deal. I've been initializing a bunch of instruments at the start, pausing for a freq seconds and then starting to play. Installation ...

  7. SOMTrain_2D_example Plugin

    ... e ranges of the input data. You should probably do a similar thing. s.boot; ~numnodes = 20; ~traindur = 100000; ~dataspacelength = 100; ~dataspacechanwidth = 10; // First create the data ~dataspace = Buffer .alloc(s, ~dataspacelength, ~data ...

  8. comparFeedback Plugin

    ... ck implements an FM feedback matrix based on the ComplexRes UGen. The number of nodes can be set when defining the synthesis engine. ComparFeedback implements a superset of the Compar system (see Compar.scd in this folder). // This code exa ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow