Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. BoidsND Quark

    ... r boids dist = thisBoid.dist(thatBoid); // get their distance neighbors[nIdx] = Dictionary[\pos->thatBoid.pos, \vel->thatBoid.vel, \dist->dist]; // store in a dictionary //////// RULE 1 //////////////////////////////////// // nothing else t ...

  2. LocalUdef Quark

    ... DefNames = 512; classvar <>synthDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func ...

  3. localDrawing Quark

    ... | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborator \ undone = ();\ all = ();\ w = GUI .window.new( "draw on" + collective.myName, \ Rect (128, 64 + (format[1] + 10 * ...

  4. Freesound Doc

    ... ortant calls by requesting resources via curl, and mapping JSON responses to SC Dictionary objects. This version supports APIv2, which introduced some differences with repect to APIv1. The most important change is that two types of authenti ...

  5. SCMScriptFieldView Quark

    ... ng.minHeight = height; textEditing.maxHeight = height; } getState { var state = Dictionary(); state[\type] = "SCMScriptFieldView"; state[\code] = model[\script]; ^state; } // State behaviors loadState { | state | this.string = state[\code]; ...

  6. Collection Help

    ... ces of Collection. There are many types of Collections including List , Array , Dictionary , Bag , Set , SortedList , etc. Class Methods: *newFrom(collection) Creates a new Collection from another collection. This supports the interface for ...

  7. Quark Help

    ... t of the .quark File This quarkfile is written in sc code, and should contain a dictionary with basic information about the package. ( // required: \name : "theName" , \path : "foldername" , // almost always the same as the quark name \summ ...

  8. LocalUdef Quark

    ... DefNames = 512; classvar <>synthDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func ...

  9. SCMBufferPoolItemView Quark

    ... ferPoolItemViews } dispose { this.remove; buffer.free; } getState { var state = Dictionary(); state[\filepath] = filepath; ^state; } loadState { |state| } }

  10. LinearGridLines Doc

    ... numTicks , tickSpacing: 64 ) Specifically for use by DrawGrid . This returns a Dictionary with keys: 'lines' , an array of values where lines should be drawn, and 'labels' , an array of 2-element arrays [value, "formatted label"] for each ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow