Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. MultiLevelLibraryBrowser Quark

    ... =[]; attributes=IdentityDictionary(); // the attributes of the ListViews view = Window.new(title,Window.flipY(Rect(100,100,colWidth,400) ) ).front; view.layout_(GridLayout().hSpacing_(hspacing)); dirPrefix=dirPrefix?defaultPrefix; dirSuffix ...

  2. UChainCodeGUI Quark

    ... - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .action_({ UChainIOGUI( this.window.name, originalBounds, chain, replaceCurrent: true ); }).resize_(3); code = SmoothButton( comp, Rect( comp.bounds.right - (40 + 4 + 40), 1, 40, 12 ) ) .la ...

  3. RePost Quark

    ... bounds = bounds ? Rect(0,0,400, 320); if (parent.isNil) { rePostWin = parent = Window("RePost", bounds).front; rePostWin.alpha_(0.8); bounds = bounds.moveTo(0,0); }; ^rePost = TextView(parent, bounds).enterInterpretsSelection_(false); } *c ...

  4. TabbedView2 Quark

    ... edViewTab *******/ TabbedView2{ var <view, <>alwaysOnTop=true, // for the popup window <tabPosition = \top, <>lockPosition = false, // disables position changing <followEdges=true, <>lockEdges = false, // disables edge following <>dragTabs= ...

  5. post_example Quark

    ... using wifi and a high samplerate, posting every data package can flood the post window and crash supercollider. ~openbci.dataAction= {|num, data, accel| if(num%10==0, {data.postln})}; //only post every 10th package ~openbci.dataAction= nil; ...

  6. 2_networkConfig Quark

    ... pJack({ q.wifiStr = "WiFi:" + q.getWifiName }, 5); // todo: adapt for linux and windows later Platform.case(\osx, { q.getMyIPs = { var confstr = unixCmdGetStdOut("ifconfig"); var labelStarts = confstr.findAll("inet"); var strings = labelSta ...

  7. HJHObjectGui Quark

    ... some of my gui's need to know this if(lay.isNil,{ mainLayout = lay = this.class.windowClass.new (title ?? { model.asString.copyRange(0,50) }, bounds); iMadeLayout = true; // now when I'm removed, I'll close the window too },{ mainLayout = l ...

  8. HJHObjectGui Quark

    ... me of my gui's need to know this if(lay.isNil,{ masterLayout = lay = this.class.windowClass.new (title ?? { model.asString.copyRange(0,50) }, bounds); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLa ...

  9. XiiAlert Quark

    ... , Point(7,43), Point(1,36), Point(1,8) ]; if ( GUI.id == \cocoa, { win = SCModalWindow.new("ixiQuarks alert!", Rect(128, 500, 400,170)) }, { win = Window.new("ixiQuarks alert!", Rect(128, 500, 400,170), resizable:false).front } ); win.drawH ...

  10. TempoClockGui Quark

    ... il,{ layout.front }); } guify { arg lay, bounds, title; lay.isNil.if({ // if no window given... // use the previously opened TempoClock window or make a new one if needed lay = w ?? { w = ResizeFlowWindow.new("TempoClock", Rect(0, 20, width ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow