Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (566) Code (72) Doc (79) Help (28) Quark (385) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. UChainCodeGUI Quark

    ... composite, (composite.bounds.width - (margin.x * 2))@16 ) .resize_(2); header = StaticText( comp, comp.bounds.moveTo(0,0) ) .applySkin( RoundView.skin ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp. ...

  2. Vowel space by formants f2 f1 by 0-2U (grirgz) Code

    ... t(100, 100, d+20, e+20) ).front ; Array.series(21, 2500, 100.neg).do{|i,j| StaticText(w, Rect(j*(d/21)+5, 10, 30,10 )) .font_(Font("Helvetica", 8)) .string_(i.asString) } ; Array.series(14, 200, 50).do{|i,j| StaticText(w, ...

  3. MKtlElementGUI Quark

    ... itClass { makeViewFuncDict = ( 'button': { |parent, label| if( label.notNil ) { StaticText( parent, labelWidth@16 ).string_( label.asString ++ " " ).align_( \right ); }; Button( parent, if( label.notNil ) { labelWidth@16 } { 20@16 }) .state ...

  4. RepublicGui Quark

    ... t, Rect(0, 0, width, bounds.height)).resize_(5); view.addFlowLayout; nameView = StaticText(view, Rect(0,0, 90, 20)) .string_("<name>"); idView = StaticText(view, Rect(0,0, 30, 20)) .string_("<id>"); StaticText(view, Rect(0,0, 40, 20)) .stri ...

  5. MFdef_Gui Quark

    ... tln.includes(but.states[0][0].asSymbol) }; }; w.view.layout = HLayout( VLayout( StaticText(w).string_("modes"), *modebuts = mf.modes.keys(Array).sort.collect { |modeName| Button(w).states_([[ modeName ], [modeName, Color.white, Color.red]]) ...

  6. mouse_and_drawing Quark

    ... llect{ |p| putStrLn("mouse pos is: "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; ...

  7. sumWithLastValue Quark

    ... r nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), nb2 ) ); //Setup Event Network //network ENdef(\x, { var sumSig, sum; //in var nb1ES = nb1.enIn; ...

  8. sDrone Quark

    ... winRect); win.layout= HLayout( VLayout( //--amplitude control section HLayout( StaticText().string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", "ramp", "wave", "lines"].collect{|x| Button().states_([ [" ...

  9. sGreybox Quark

    ... ize(320, 240)).background_(Color.grey(0.9, 0.5)), infoTextElementString.addView(StaticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\topLeft).background_(Color.grey(0.9, 0.5))) ); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \s ...

  10. RedMstGUI Quark

    ... tion_{|view| RedMst.next}; this.prInitMetro(size); win.view.decorator.nextLine; StaticText(win, (size*4)@(size*1.5)).string_("sect:"); guiSection= StaticText(win, (size*2)@(size*1.5)); guiMaxSection= StaticText(win, (size*3.25)@(size*1.5)); ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow