Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. ChordtrisBrick Quark

    ... s(this); x = x-1; } rotateRight { |matrix| var newOrientation = (orientation+1).wrap(0,3); this.rotateIfPossible(newOrientation, matrix); } rotateIfPossible { |newOrientation, matrix| var rotatedBrick = ChordtrisBrick(this.brickType, this.c ...

  2. UMarker Quark

    ... } *umarkerIndexIncrease { |newIndex = 0| this.umarkerIndex = (umarkerIndex + 1).wrap(1,2**24); } prepare { |target, startPos = 0, action| action.value( this ) } prepareAndStart{ |target, startPos = 0| this.start( target, startPos ); } waitT ...

  3. UMarker Quark

    ... } *umarkerIndexIncrease { |newIndex = 0| this.umarkerIndex = (umarkerIndex + 1).wrap(1,2**24); } prepare { |target, startPos = 0, action| action.value( this ) } prepareAndStart{ |target, startPos = 0| this.start( target, startPos ); } waitT ...

  4. Chucking Quark

    ... o do: easier access to controlProxies // passive mode recorder - how to specify wrapper for BP? // - how to start/stop? Use MBM trigger button? // - on stop, need to unwrap and go // openly stealing from ChucK for high-level control of a pe ...

  5. UC33Ktl Quark

    ... ; var maxOff = (numActive - 8).max(0); var pxOffset = (pxOffsets[scene] + step).wrap(0, maxOff); pxOffsets[scene] = pxOffset; // [ \pxOffset, pxOffset].postcs; pxmixers[scene].pxMons.do { |mong, i| var col = if (i >= pxOffset and: (i < (pxO ...

  6. TabbedView Quark

    ... _( \auto ).tabWidth_( \auto ); ) set colors with an argument to .new Colors can wrap around if there are less than there are labels. Unfocused colors are calculated automatically. ( v= TabbedView ( nil , nil , Array .fill(8,{ |i| i.asString ...

  7. EventLoop Quark

    ... dexRange).round.asInteger; indexPlusOff = (index + indexOffset).round.asInteger.wrap(minIndex, maxIndex); // [index, indexOffset, indexPlusOff].postln; event = envir[\list].wrapAt(indexPlusOff); if (event.isNil) { 0.1.wait; // early exit he ...

  8. EQspecs Quark

    ... t into array of parameter arrays arg ... z; // argument list; may or may not be wrapped in an array var oneSpec, allSpecs; z = z.flat; // remove all inner array wrapping (z.size == 0).if({ ^List.new // empty list for no specs }, { allSpecs ...

  9. NPModules Quark

    ... env = EnvGate(i_level: 0, doneAction:2, curve:\sin); XOut.ar(out, env, SynthDef.wrap(func, nil, [In.ar(out, proxy.numChannels)])) } { env = EnvGate(i_level: 0, doneAction:2, curve:\lin); XOut.kr(out, env, SynthDef.wrap(func, nil, [In.kr(out ...

  10. pmini Quark

    ... ($!, 1).asInteger.do { indexes.add(index) } }; queue.addAll(children.at(indexes.wrapAt(turn)).steps(delta)); } fill { |delta| turn = (turn ? -1) + 1; queue.addAll(children.wrapAt(turn).steps(delta)); } } /* The Euclidean Algorithm Generates ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow