Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (337) Code (37) Doc (64) Help (26) Quark (207) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. leaf - an lsystem composition by blueprint (blueprint) Code

    ... 8 notes. if (glob[\pnotes].size > 9) { glob[\pnotes].pop; }; // always return state at the end [glob, loc]; }, nil], // whenever you e ...

  2. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... strings, it's easy -- use ListView. If, for example, each "line" should have a pop-up menu, a text field and a toggle button, there's ScrollView. We also have Qt layouts, which are supposed to save us from the trouble of calculating coordi ...

  3. Wind Down: Track Creation Project by pkirk (pkirk) Code

    ... kKnock", {arg out = 0, pan = 0, amp = 0.3; var main, mainFreq, mainAmp; var pop, popFreq, popAmp; var click, clickAmp; var snd; mainFreq = EnvGen.ar(Env([261, 120, 51], [0.035, 0.08], curve: \exp)); mainAmp = EnvGen.ar(Env.lin ...

  4. VarDiffString Quark

    ... prevPos[c] = prevPos[c].add(i) }; tokens.do { | c, i | n = n.add([c, prevPos[c].pop, i]) }; prevPos.keysValuesDo{ |k, v | if (v.size >0) {d = d ++ [k,v, nil].flop } }; d ++ n; } } diff3 { diffFunc = {| prevTokens, tokens | var sz, d, n, pre ...

  5. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... tMinis.value; }; /* Some extras: a volume slider for simple mixing, a popup menu for switching syndefnames; a button to stop/start the skipjack for refreshing, so one can use numberboxes to enter values. */ EZSlider(w, ...

  6. 0_installing Quark

    ... rks: Quarks.updateDirectory; // if you get an error on OSX in the terminal that pops up that says something about the svn version being outdated, use this line to set the svn path: QuarkSVNRepository.svnpath_( "/opt/local/bin/svn" ); // upd ...

  7. webMouse Quark

    ... .stringCenteredIn(name.asString, zone, Font("Monaco", 24), white, \center); Pen.pop; Pen.translate(0, height); }; Pen.pop; if (NTMI.webMouse.downCount > 0) { // "drawFunc - gets here?".postln; mouseXY = NTMI.webMouse.xy.asPoint; NTMI.webMou ...

  8. RoundView Quark

    ... ; } *useWithSkin { |skin, function| this.pushSkin( skin ); function.value; this.popSkin; } *pushSkin { |skin| this.skins = this.skins.add( skin ); } *popSkin { this.skins.pop; } *skin_ { |skin| if( skin.isNil ) { skins = [] } // remove all ...

  9. WFSMasterOptionsGUI Quark

    ... ); vw.action = { action.value( this, key ); }; views[ key ] = vw; }); RoundView.popSkin; } remove { composite.remove; } resize_ { |resize| composite.resize_(resize) } font_ { |font| views.values.do({ |vw| vw.font = font }); } viewHeight_ { ...

  10. extColPen-PostScript Quark

    ... ) { convert.( [\push] ); cmd[1..].do({ |item| convert.( item ) }); convert.( [\pop] ); } { // cmd[0].post; " converting now".postln; array = switch ( cmd[0], \push, { [ "gsave" ] }, \pop, { [ "grestore" ] }, \strokeRect, { cmd[1].asArray + ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow