Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. ScaledUserView Quark

    // wslib 2006 // scaled SCUserView // 2007: altered for SC3.2 compatibility // 2009: altered for SwingOsc compatibility // TODO: correct half pixel problem for mouse feedback ScaledUserView { classvar <>defaultGridColor; var <gridColor; var ...

  2. XiiScaleSynth Quark

    ... oa, { tablet = TabletView(win,Rect(0, 0, screenX, tabletScreenY)) }, { tablet = UserView(win,Rect(0, 0, screenX, tabletScreenY)) } ); tablet.background = Color.white; tablet.canFocus = false; if ( GUI.id == \cocoa, { tablet.mouseDownAction ...

  3. CompressorUI Quark

    ... onState(bypassButton, false, activeOrbit, \activeCompressor); comporessorView = UserView(compressorFeedback, compressorFeedback.bounds); comporessorView.background_(Color.grey(0.95)); // Draw the comporessorView comporessorView.drawFunc = { ...

  4. EQView Quark

    ... unds = view.asView.bounds; view.resize_( resize ? 5 ); this.addCtrl; plotView = UserView( view, bounds.moveTo(0,0) ) .resize_( 5 ) .onClose_({ this.removeCtrl; }); plotView.mouseDownAction = { |vw,x,y,mod| var bounds; var pt; if( active ) { ...

  5. EQView Quark

    ... unds = view.asView.bounds; view.resize_( resize ? 5 ); this.addCtrl; plotView = UserView( view, bounds.moveTo(0,0) ) .resize_( 5 ) .onClose_({ this.removeCtrl; }); plotView.mouseDownAction = { |vw,x,y,mod| var bounds; var pt; if( active ) { ...

  6. SFPlayer Quark

    ... n with time, play/stop, amp etc [ VLayout( { var dragOffset, action; zoomView = UserView() .background_(skin.background.lighten(Color.gray(1, 0.1), 0.1)) .fixedHeight_(50) .drawingEnabled_(true) .mouseDownAction_({arg view, x, y, modifiers, ...

  7. MKtlGUI Quark

    ... f(nuview.view); }; nuview }; redirView = nil; newViews; }; }).flat; labelView = UserView( parent, bounds.moveTo(0,0) ) .background_( Color.black.alpha_(0.33) ) .drawFunc_({ |vw| views.do({ |item, i| var name; var doDraw = item.view.isKindOf ...

  8. PwarpDur Doc

    ... (60), midSl = Slider().orientation_(\horizontal).fixedHeight_(25) ) ) ), plot = UserView() ); curve = 0; curveNum.value_(0) .action_({ |view| curve = view.value.clip(-4, 4); curveSl.value = curveSpec.unmap(curve); plot.refresh; }); curveSl. ...

  9. GMGridView Quark

    GMGridView : GMUserView { var thisDrawGridBG = false; var thisDrawDotGridBG = false; var bgGridColor; var bgGridWidth = 1; var thisDrawGrid = false; var thisDrawDotGrid = false; var gridColor; var gridWidth = 2; var caseSize; var thisGridSi ...

  10. XiiPitchCircle Quark

    ... ont_(Font("Helvetica", labelSize)) .string_(""); // Pen draws in here usrView = UserView(compView, Rect(0, txtH, size, size)).canFocus_(false); scs= XiiDiscs.new; // does the interval calcs dotsColFn = { Color.black }; lines = true; this.ma ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow