Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ugenKeys = ugen.class.findRespondingMethodFor(\ar).argNames.drop(2); ugenDict = Dictionary.new; ugenKeys.do({ |key, i| ugenDict.put(key, argDefaults[i]) }); // find index dividing ordered and named args index = args.detectIndex({ |item| uge ...

  2. Readme Quark

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

  3. TestSatie_quit Quark

    ... assertEquals( satie.audioSamples.isEmpty, true, "Satie cleared its audioSamples dictionary after quit" ) } test_status_initialized { this.assertEquals( satie.status, \initialized, "Satie's status should return to initialized after quit" ); ...

  4. SCMKnopSequencerView Quark

    ... lSpec(); this.stepCount = 8; this.editMode = false; } getProxies { var result = Dictionary(); result[this.name.asSymbol] = proxyStepsMapped; ^result; } getState { var state = Dictionary(); state[\slidersValues] = sliders collect: { |slider| ...

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

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

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

  8. 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]; ...

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

  10. SCMBufferPoolItemView Quark

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow