Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. CompressorUI Quark

    ... r = Color.new(red: 1, green: (187/255), blue: 82/255, alpha: 1.0); Pen.fillOval(Rect(thresholdX - 10, thresholdY - 10, 20, 20)); // Calculate and draw the compressor curve inputLevels = [minThreshold, threshold, 0]; outputLevels = inputLeve ...

  2. InstrEventListPlayer Quark

    ... ListPlayer "}, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) }, timeGui: { arg layout, bounds, maxTime; ~elpGui = ~source.guiClass.new(~source); ...

  3. AutoLoop Quark

    ... key).asSymbol, () ); ctloop.connectToProxyEditor(n, i); ctloop.makeButton(n.w, Rect (340, i * 16 + 50, 12, 12)); }; )

  4. clip_point Quark

    ... (200) ) .setSpec( \center, WFSPointSpec(200) ) .setSpec( \radius, WFSRadiusSpec(Rect(0,0,200,200)) ) .setSpec( \clipMode, ListSpec( (..3), 0, [ \clip, \fold, \wrap, \none ] ) ) .setSpec( \clipSoftness, [0,1,\lin,0,0.1].asSpec ) .category_( ...

  5. GMRecordButton Quark

    ... sIsRecording } // Custom drawFunc draw { var symbolSize = min( super.interactionRect.height * thisSymbolRatio, super.interactionRect.width * thisSymbolRatio ); if(thisIsRecording.not) { thisCurrentBackgroundColor = Color.black; } { thisCurr ...

  6. SCUserView-Subclassing Help

    ... class to the class library ( GUI .cocoa; w= Window .new.front; v= MyWidget (w, Rect (10,20,200,20)).valueAction_(0.5); q= MyWidget (w, Rect (10,60,200,20)).valueAction_(0.3); )

  7. WFSV2 Quark

    ... d( WFSArrayPan.filenameSymbol.asString.dirname +/+ "UnitDefs" ); WFSSpeakerConf.rect( *config[\speakConf][[0,1,3,2]] * [1,1,0.5,0.5] ).makeDefault; if(config[\hostname].notNil){ "starting server mode".postln; WFS.startupServer; }; if(config ...

  8. midi soft takeover by meunierfabien (meunier.fabien) Code

    ... nob, active; active = false; ~a = Synth(\SimpleSynth); w = Window("Test",Rect(0, 0, 200, 200), scroll: true); w.front; knob = EZKnob(w, 112@70, 'freq', ControlSpec(20, 20000, step: 1, default: 20, units: 'hz'), { arg knob; ~a.se ...

  9. SimpleLabel Doc

    ... eight array: taken as: [width, height, ... ignored] Point: a width and a height Rect: the first two values x/y will be used as width and height and the rest are ignored. font optional Font, else uses default font Inherited class methods Ins ...

  10. MassEditU Doc

    ... mp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); // create a mass editor z = MassEditU( y ); z.gui; ⧉ ✔ helpfile source: /tmp/scquark_hs/UnitLi ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow