Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (337) Code (37) Doc (64) Help (26) Quark (207) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. MIDI arpeggiator demo by wondersluyter (wondersluyter) Code

    ... chord = chord.reverse; }; ~offset.abs.do { var temp = chord.pop; chord = ([temp] ++ chord); }; if (chord == [nil]) { chord = [] }; if (~offset > 0) { chord = chord.reverse; }; // ...

  2. 8_xflux Quark

    ... is missing and should be 1.".postln; zoom = 1; } { // all is well: zoom = vals.pop; #inIndices, diffs = vals.clump(vals.size.div(2)); }; // "xflux from % - % diffs:\n".postf(name, diffs.size); // "inIndices: % \n diffs: %\nzoom: %\n".postf ...

  3. fraction2basimal by elirosenkim (eli.rosenkim) Code

    ... = ~fraction2basimal.(8/9, 11); // 8/9 in base 11 is .986124 repeating ~basimal.pop; //this results in ~basimal = [9,8,6,1,2,4] //~basimal = ~basimal.rotate(0); ~antiTempo = 6/16; ~long = PmonoArtic( \Harrison2, \formant, Pseq(~basim ...

  4. Psieve Quark

    ... Queue min = indicesQueue.topPriority.round.asInteger; minIndices = indicesQueue.pop; // if more than one min is found, indices are collected in Dictionary while { indicesQueue.topPriority == min }{ minIndices.isInteger.if { minIndicesDict.c ...

  5. PatternBoxLauncherView Quark

    ... oxLauncherItemViewsStates].size; amountToMany do: { patternBoxLauncherItemViews.pop().dispose(); }; }); // Reuse existing patternBoxViews or add a new PatternBox. state[\patternBoxLauncherItemViewsStates] do: { |state, position| if (pattern ...

  6. SlicedSndFile Quark

    ... ; splitID = id.asString.split($_)[1..]; bufid = splitID.last.interpret; splitID.pop; name = splitID.join( $_ ).asSymbol; ^this.new( globalData[ id ], name, bufid ); } bufid_ { |newBufID| bufid = newBufID ?? { this.class.makeBufID; }; this.c ...

  7. BetaBlocker-examplePrograms Plugin

    ... C] ++ ([\EQU]) ++ [\JMP, 2]); x = a.play(leak: true); a.plot(duration: 0.05) // POP destroy a = BBlockerProgram([6, 7, 6, 245, \ORG, \NOP, \NOP, \NOP, \NOP] /* <-- some space*/ ++ ([\PSHL, -6, \PSHL, -2, \POP]) ++ [\JMP, 1]); a.fillUpRandom ...

  8. MoscaRenderer Quark

    ... ); lowestElevation = 0; highestElevation = 0; speaker_array.collect({ |val| val.pop; }); azimuths = speaker_array.flat; vbap_setup = VBAPSpeakerArray(dimention, azimuths); }, 3, { dimention = 3; radiusses = Array.newFrom(speaker_array).coll ...

  9. ExtendableObject-tests Quark

    ... // inheritance structures via environment (~y + 4) % ~x; // 5.0177 or similar a.pop; // more useful direction, perhaps: // hack into any object, e.g. the server Server.default = ExtendableObject(Server.default); // redirect OSC messages // ...

  10. ModernLife Quark

    ... the default rule is "23/3" (Conway's Game of Life) a = ModernLife .new; //will pop up the window //press space to run/stop. c to clear, r to randomize. //you can also create or kill cells with mouse interaction. *loadState (argFile) Loads ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow