Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2444) Code (153) Doc (746) Help (140) Quark (1399) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Midi2Freq Quark

    ... Gen,\kr),[ note,octave ]) } // storeArgs { ^[note,octave] } //TODO //asStream //guiClass { ^Midi2FreqGui } } /* Midi2FreqGui : KrPlayerGui { guiBody { arg layout; CXLabel(layout.startRow,"note:"); model.note.gui(layout); CXLabel(layout.star ...

  2. AbstractPlayerGui Quark

    AbstractPlayerGui : ObjectGui { gui { arg parent,bounds ... args; var layout,inner; layout = this.guify(parent,bounds); if(parent.isNil,{ // top level controls this.synthConsole(layout); this.saveConsole(layout); layout.startRow; }); inner ...

  3. AbstractPlayerGui Quark

    AbstractPlayerGui : ObjectGui { gui { arg parent, bounds ... args; var layout, inner; layout = this.guify(parent, bounds); if(parent.isNil, { // top level controls this.synthConsole(layout); this.saveConsole(layout); layout.startRow; }); in ...

  4. MultiSplineFr Quark

    ... .storeArgs }, load: { arg data; MultiSplineFr(*data) }, spec: { ~source.spec }, gui: { arg layout; ~source.gui(layout, 900@700) }, timeGui: { arg layout, bounds, maxTime; ~splineGui = MxMultiSplineTimeGui2(~source).gui(layout, bounds, nil, ...

  5. NanoKtl2 Quark

    ... (1..8).collect { |j| (str ++ j).asSymbol } }; lastVals = (); ^this } mapToEnvirGui { |gui, scene, indices| var elementKeys; indices = indices ? (1..8); elementKeys = orderedCtlNames[indices - 1].postcs; elementKeys.do { |key, i| this.mapCC ...

  6. Polyphony_and_closing Quark

    ... closing devices: // connect gamepad, use twice a = MKtl('a', "*drive").trace; a.gui; b = MKtl('b', "*drive").trace; b.gui; // close a - b should still work: a.free; // connect nanokontrol2, use twice MKtl(\nk2, "*trol2").trace; MKtl(\nk2B, ...

  7. generating scores Quark

    ... UScore(*f).cleanOverlaps; // put them in a score, cleanup overlapping tracks x.gui; ) //short ( f = 120.collect({ |i| var evt; var start = rrand(0.0,10.0); var dur = rrand(0.1,0.5); evt = UChain(start,0,dur,\pulse, \wfsSource ).fadeOut_(0. ...

  8. SelectButtonSet Quark

    ... tedColor, width=20,height; ^super.new.init(layout.asFlowView, width, height ?? {GUI.skin.buttonHeight}, labelArrayOrQnty, action, color, selectedColor) } init { arg layout,x,y,arglabelArray,argaction, argcolorFunc,argselectedColor; action = ...

  9. SelectButtonSet Quark

    ... edColor, width=20, height; ^super.new.init(layout.asFlowView, width, height ?? {GUI.skin.buttonHeight}, labelArrayOrQnty, action, color, selectedColor) } init { arg layout, x, y, arglabelArray, argaction, argcolorFunc, argselectedColor; act ...

  10. BSpline Quark

    ... end point loops back to the first point ( b = BSpline ([0@0,1@1,3.2@2,4@4]); b.gui( nil ,1000@200); ) // edited splines can be saved: b.asCompileString interpolate returns points spaced evenly along the spline in 2D space b.interpolate(512 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow