Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. 2_flatcat2_gui Quark

    ... n.bounds = win.bounds.height_(win.bounds.height + 30); uv.drawFunc = { |uv| var string = MKtl(\flatcat).elAt.deviceValue.collect { |val| (val.round(0.001).asString ++ " ").clipExtend(5) }; Pen.stringCenteredIn(string.join(" "), uv.bounds.ex ...

  2. SMPTE Quark

    ... 5, 0, 0 ] SMPTE .minSec( 70, 80.5 ); // -> SMPTE[ 1, 11, 20, 12, 50 ] SMPTE.fromString( string, fps ) string - a string with ":" characters as dividers for hours, minutes, seconds and frames SMPTE .fromString( "00:10:05:00" ); // -> SMPTE[ ...

  3. ColorPickerUI Quark

    ... (); v_slider_position = 0; sv_slider = UserView(); hex_text_field = TextField().string_("#D9D9D9"); helper = UserView(); binded_function = nil; } hsvToColor { | hsv | var color = Color( 0, 0, 0 ); var h = hsv[0]; var s = hsv[1]; var v = hsv ...

  4. GMFeedbackButton Quark

    GMFeedbackButton : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisOrientation = \right; var thisSVG; var thisSVGPath = ""; var thisSVGRatio = 0.8; var thisSVGSize; var thisCurrentBackColor; var thisBlinkColor; var thisCu ...

  5. SWMiniBeeGui Quark

    ... w.view.decorator = FlowLayout.new(w.bounds,2@2,2@2); StaticText.new( w, 200@22).string_( "XBee Network").align_( \center).font_( GUI.font.new( "Helvetica Bold", 18) ); dev = EZPopUpMenu.new(w, 164@22, "Device: ", SerialPort.devices.reverse. ...

  6. InputRouterGUI Quark

    ... ter) } init { |parent, bounds, ir| var resize =0; if( parent.isNil or: parent.isString ) { bounds = bounds ? Rect( 72,256, 220, 4 + (ir.settings.size * (rowHeight + 12)) + //(ir.settings.collect(_.size).sum * (rowHeight + 4)) + 24 ); } { bo ...

  7. GUIEvent Quark

    ... ame, cv, rect | rect = rect ?? ~labelRect; StaticText(win, rect).align_(\right).string_(name) }, numberBox: { |win, name, cv, rect | rect = rect ?? ~numericalRect; cv.asArray.do({ | cv | CVSyncValue(cv, NumberBox(win,rect)) }); }, smallNumb ...

  8. dacTest Quark

    ... window = Window("DAC Tester") .layout_( VLayout( VLayout( HLayout( StaticText().string_("Default Server"), view.startButton, view.rebootButton, view.meterButton, ), HLayout( StaticText().string_("Output Channels"), view.channelSlider, view. ...

  9. UtopiaExamplesMultiUser_1 Quark

    ... = TextField(), ~textView = TextView()); ~textField.action_({|v| ~chatter.send(v.string); v.string = "" }); // to get updates, just add a dependant ~chatter.addDependant({|chatter, what, who, chat| { ~textView.string_(who ++ ": " ++ chat ++ ...

  10. extVarious-asNote Quark

    // addition to Note.sc // part of wslib + String { asNote { |cents| ^Note(this, cents:cents) } } + SimpleNumber { asNote { ^if(this < 128) {Note(midi:this)} {Note(freq:this)} } } + Symbol { asNote { |cents| ^Note(this.asString, cents:cents) ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow