Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ab, slot| ^super.new.init(widget, tab, slot) } init { |widget, tab, slot| var cvString, slotHiLo; var staticTextFont, staticTextColor, textFieldFont, textFieldFontColor, textFieldBg; var msrc = "source", mchan = "channel", mctrl = "ctrl", m ...

  2. Steno Quark

    ... rue| current = this; if(pushSyntax) { thisProcess.interpreter.preProcessor = { |string| string = string.copy; // make it mutable while { string.beginsWith("\n") } { string = string.drop(1) }; if(string.beginsWith("(\n--") and: string.endsWi ...

  3. cog wheels by redfrik (redFrik) Code

    ... 9)), HLayout(penWidthSlider= Slider().orientation_(\horizontal), StaticText().string_("penWidth")), HLayout(numCogsSlider= Slider().orientation_(\horizontal), StaticText().string_("numCogs")), HLayout(outerSlider= Slider().orientation ...

  4. pathUtilities Quark

    ... j.enpath }) } loadDocument { ^this.collect({ arg obj; obj.loadDocument }) } } + String { loadPath { arg warnIfNotFound=true; var obj, path; path = this.standardizePath; if(File.exists(path), { { obj = thisProcess.interpreter.executeFile(pat ...

  5. ChordtrisPreferenceDialog Quark

    ... ls { |view| preferences.do { |setting| var type = setting.type; case { type == \string } { var v = HLayoutView(view, Rect(0,0,width, preferenceHeight)); var menu, text; var itemsAsSymbols = setting.values.collect({ |item| item.asSymbol }); ...

  6. SmoothNumberBox Quark

    ... the interpretFunc and allowedChars variables. The default interpretFunc is: { |string| string.interpret } The default allowedChars are: "+-.eE*/()%" Any typed char that is not in the allowedChars string will not show up in the box. The int ...

  7. ProcessTools Quark

    ... .unixCmdInferPID({ |pid| p = pid; ( "The PID is" + pid).postln}) ("kill "++p.asString).unixCmd This toolbox contains the following: String:unixCmdInferPID(action) This is like unixCmd except that it also infers the PID that the launched pr ...

  8. SpatialRender_initSpatDifLogger Quark

    ... on = // cross-os compatibility spatDifLoggerPath = mySpatDifLoggerPath ?? { var string = thisProcess.platform.userExtensionDir; string[..string.findBackwards("/")]++"SpatialRender" }; ("mkdir "++ spatDifLoggerPath).systemCmd; //just in case ...

  9. UMarkerGUI Quark

    ... }) .canReceiveDragHandler_({ var obj; obj = View.currentDrag; if( obj.class == String ) { obj = { obj.interpret }.try; }; obj.respondsTo( \penFill ); }) .receiveDragHandler_({ if( View.currentDrag.class == String ) { chain.displayColor = V ...

  10. MultiButtonView by simon (Dindoléon) Code

    ... Color.white, Color.black ] ].asList; var demo_view = UserView(); var demo_string = ""; var demo_function; ~get_multi_button_view = { | states_array, default_state, orientation, font, has_inside_margin | var multi_button_view = ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow