Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (337) Code (37) Doc (64) Help (26) Quark (207) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Trafo Quark

    ... = (matrix * a).getCol(0); // homogene -> normal representation and return // ( pop last element and divide vector by it ) ^(a.pop.reciprocal * a); } rotMatrix { ^matrix.sub(3, 3); } basis { ^Array.newFrom(this.rotMatrix.flop); } position { ...

  2. NB_&_python_functions Quark

    ... box\ ", x + offset - 70 + random(-20, 20), y ++ offset + 40 + random(-20, 20)) pop() nofill() stroke(0) strokewidth(0.25) fill(random(), random(), 0, 0.096) rect(x, y, width, height) rect(x + offset, y + offset, width, height) fill(1, rand ...

  3. GenericSpace Quark

    ... me.isNil and: { currentEnvironment.isKindOf(this) }) { currentEnvironment.clear.pop }; // avoid nesting ^this.new(server, clock).push; } init { arg server, clock; proxyspace.clear; proxyspace = ProxySpace(server, nil, clock); } clock { ^pro ...

  4. SCLOrkCDT Quark

    ... sk = SkipJack.new({ cohortPQMap.keysValuesDo({ |cohortName, pq| // For now just pop everything off. pq.clear(); }); }, dt: 0.5, stopTest: { false }, name: "SCLOrkCDT Jitter" ); } free { diagCallback = {}; jitterTask.stop; diagOSCFunc.disabl ...

  5. openbci_gui_bandpower Quark

    ... ill(bands.size, {List.fill(fps, {0})})}.dup(board.numChannels); //1sec var usr, pop1, btn1, btn2, pw, po; var verticalScale= #[0.1, 1, 10, 100]; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); va ...

  6. DataMonitor Quark

    ... dater, plotter, skip ).init; } init{ this.reset; watcher = SkipJack.new( { data.pop; data = data.addFirst( updateFunction.value ); counter = counter + 1; if ( counter == skip ){ if ( numChan > 1 ){ plotFunction.value( data.flop, numChan ); ...

  7. Maybe2 Quark

    ... eption.isKindOf(this.class).not) { Exception.throw; }*/ // remove again callers.pop; current = previous; }; } ^val } includedInCallers { ^callers.notNil and: { callers.includes(this) } } } */

  8. MLIDbrowser Quark

    ... menu,kdr; *new { arg ... args; var onSelect; if(args.size > 1,{ onSelect = args.pop; }); ^super.new .onSelect_(onSelect ? { arg item; item.gui }) .browse(Library.atList(args) ?? {Library.global.dictionary}) } browse { arg item,parent; if(kd ...

  9. HistoryRepGui Quark

    ... repeats", <>docHeight=120; var <textV; var <startBut, <filtBut, <filTextV, <keyPop, <topBut, listV; var <doc, <oldDocs, <docFlag = \sameDoc, <>stickMode=0; var <filters, <filteredIndices, <filteredShorts, <filtering = false; var lastLineSe ...

  10. 7_InfluxMixer Quark

    ... f).align_(\center) .background_(Color.grey(1.0)) .object_(NTMI.mkmix.mktls[i]), PopUpMenu(w, Rect(220, 0, 70, 20)).items_([ \setRel, \setAbs]) .action_({ |pop| var mk = NTMI.mkmix.mktls[i]; // if there is a switch function, call it NTMI.at( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow