Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Butz Quark

    ... k); } *blankState { ^[ " . . . ", style.fontCol, style.butCol ] } *setButton { |index| var but, name, actions, action; actions = curr.actions; but = butz[index]; but ?? { "*** %: no button at index % for %!\n".postf(this, index, name.cs); ^ ...

  2. SWWatcherNode Quark

    ... { |ky,netw,size| id = ky; network = netw; data = Array.fill( size, 0 ); } set{ |index,newdata| data.putEach( (index..(index+newdata.size-1)), newdata ); network.setData( id, data ); } node{ ^network.nodes[id]; } }

  3. Unit Quark

    ... is.prIOids( \out, \control, unit ); } prGetIOName { |mode = \in, rate = \audio, index = 0| if( this.ioNames.notNil ) { ^this.ioNames[ mode, rate, index.asInteger ]; } { ^nil }; } prSetIOName { |mode = \in, rate = \audio, index = 0, name| if ...

  4. mrkov Quark

    ... lookup // the following may take a while ( var refcount = 0; ~fftdict = (); ~maxIndex = a.size; fork { "--- bitte warten ...".postln; (a.size-1).do { |i| refcount = refcount + 1; a.getFFT(i, 1, ~fftSize, { |c| ~fftdict[i] = c.magnitude; i.p ...

  5. MIDISyncClock Quark

    ... dentityDictionary[ // tick 8 -> { |data| var lastTickDelta, nextTime, task, tickIndex; // use nextTime as temp var to calculate tempo // this is inherently inaccurate; tempo will fluctuate slightly around base nextTime = Main.elapsedTime; l ...

  6. TempoPlayer Quark

    // i'm a KrPlayer, TempoBus IS my bus // my initDefArg is the tempo bus index TempoPlayer : KrPlayer { //Synthless var tempoBus,<>tempo; *new { arg tempo; ^super.new.tempo_(tempo ?? {Tempo.default}) } /* a TempoPlayer can secretly add itsel ...

  7. TempoPlayer Quark

    // i'm a KrPlayer, TempoBus IS my bus // my initDefArg is the tempo bus index TempoPlayer : KrPlayer { //Synthless var tempoBus, <>tempo; *new { arg tempo; ^super.new.tempo_(tempo ?? {Tempo.default}) } /* a TempoPlayer can secretly add itse ...

  8. SpatialHashing Quark

    ... ingBoxCorners; var set; set = IdentitySet.new; boundingBoxCorners.do{ arg item, index; set.add(this.findBacket(boundingBoxCorners[index])); }; ^set; } findBoundingBoxCorners{ arg position, radius; var minPoint, maxPoint; minPoint = [positio ...

  9. MxMixerGui Quark

    ... .flow({ arg parent; scope = Stethoscope(model.server, 2, model.master.fader.bus.index, bufsize: 4096 * 4 , zoom:1.0, rate:\audio, view:parent); scope.xZoom = 16; }, scopeSize@scopeSize); /* freqScope = PlusFreqScope(parent, Rect(0, 0, scope ...

  10. GTexQuad Quark

    ... ord1 = [0, 0], tex_coord2 = [1, 0], tex_coord3 = [1,1], tex_coord4 = [0,1], tex_index = 0, normal = [0, 0, 1]; ^this.multiNew( 'audio', vector1[0], vector1[1], vector1[2], vector2[0], vector2[1], vector2[2], vector3[0], vector3[1], vector3[ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow