Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1735) Code (118) Doc (482) Help (111) Quark (1019) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SwingOSC-recursiveResize Quark

    // resize everything in a view's chain + JSCContainerView { recursiveResize { children.do({ arg c; c.recursiveResize; }); } findRightBottom { var origin = this.bounds.leftTop, maxpt; if(relativeOrigin ? false) { maxpt = Point(0, 0); } { max ...

  2. VerbosityGui Quark

    ... makeSkip, options ); } // options could include a TdefGui with EnvirGui ... makeViews { |options| var lineheight = 30; //max( skin.buttonHeight * numItems + skin.headHeight, zone.bounds.height) - (skin.margin.y * 2); if (parent.isKindOf(Win ...

  3. MackieControl Quark

    ... Val; } } MackieControlGUI : MackieControlDependant { classvar <>all; classvar <>viewWidth = 50, <>viewHeight = 300; var <>window, <>views; *new { |name, width, mackieControl| ^super.new.init( name, width, mackieControl ); } init { |name, wi ...

  4. zbell1 Quark

    ... yscale, 0.07); a.free; w =Window.new("sheefa", Rect(30, 30, 400, 100)).front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \lin, 1, 60)); g.action_({ |ez| ( a.s ...

  5. SCLOrkChatMessageView Quark

    SCLOrkChatMessageView : View { const <messageViewPadding = 7.0; const <codeMaxHeight = 250; var chatMessage; var sclorkChat; var senderNameLabel; var contentsTextView; var appendView; var appendButton; var stopShouting; var shoutColorOn; va ...

  6. API-old-help Quark

    ... and other input devices. This means you Don't Repeat Yourself (DRY) by having a view action and a key command do the same thing. You also keep your your data (whether in variables or model classes) separate from your application (actions on ...

  7. mainFXBut Quark

    ... w = Window("mainFXBut", Rect(0, 0, 394.0, 79.0)).front; NTMI.g.main.fxZone = w.view; }; NTMI.g.main.mfxBut = Button( NTMI.g.main.fxZone, NTMI.g.main.fxZone.bounds.extent ).states_([ ["MainFX\n<< RAND >>", Color.white, NTMI.g.butGrey], ]).f ...

  8. steinberg-cmc-pd_port2.desc Quark

    ... ace m = MKtl('pd_ctls', "*cmc-pd_port2"); m.trace; m.postElements; g = m.gui; g.views.collect(_.view); // example for use of relative knob: m.elAt(\kn).action = { |el| var delta = el.deviceValue.fold(0, 64).wrap(-31, 32); [el.deviceValue, d ...

  9. Hadron-Changelog Quark

    ... ugs: * Refixed the save/load mechanism, hopefully properly this time. * The UserView code now uses the new coordinates system. So Hadron now requires SC 3.3.1 minimum, and SwingOSC 0.62 on systems that use it. * Fixed the code that was spit ...

  10. MHexPad Quark

    MHexPad : MPadView { var <>hexColor, <>ledColors, <ledVal = 0, <angle = 0.5pi; var <upDoesAction = true; *initClass { Class.initClassTree(MPadView); modes.put(\noteOnLed, [true, false, true, inf]); } setColors { baseColor = Color.clear; hex ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow