Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (738) Code (47) Doc (133) Help (42) Quark (516) SCDoc ↗ Forum ↗ Google ↗
  1. MTP Quark

    ... fingerSize * 0.5; var status = ["OFF", "ON"][MTP.isRunning.binaryValue]; var bigFont = Font("Futura", bounds.width / 10); var halfFont = Font("Futura", bounds.width / 30); // on or off background color uv.background_(Color.grey(MTP.isRunnin ...

  2. sKeyBpad Quark

    ... ect= Rect(397, 270, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); //--functions and objects var sendOsc; var routine; var buttonLookup= #[ [64, 65, 66, 58, 50, 40, 41, 32, 33, 34], [68, 67, 63, 59, 54, 44, ...

  3. BoxMatrix Quark

    ... gNumRows,argNumCols; var skin; skin = GUI.skin; pen = GUI.pen; defaultStyle = ( font: GUI.font.new(*skin.fontSpecs), fontColor: skin.fontColor, boxColor: skin.offColor, borderColor: skin.foreground, center: false ); this.makeDefaultStyles(s ...

  4. MxMatrixGui Quark

    ... <>background, <styles, <defaultStyle; var pen, boxWidth, boxHeight, boxBounds, font; var plus, mainInlets, mainOutlets, mainPlus; *new { arg mx, w, bounds; ^super.new.init(mx, w, bounds); } init { arg argmx, w, argbounds; var skin; mx = ar ...

  5. extLib Quark

    ... | this.pairsDo { |key, val| if(function.value(val, key)) { ^key } }; ^nil; } } +Font { *available { |...names| var match; names.do { |name| match = Font.availableFonts.detect(_ == name); match !? { ^match } } ^nil; } }

  6. gui-notes Quark

    ... r current = chain.getCurr(); var title = StaticText.new(w) .string_(chain.key) .font_(Font.default.bold_(true)); var sourceKeys = OFX_Chain.allSources.keys; var slotButtons = VLayout( *sourceKeys.asArray.collect{|sourceKey, params| // var p ...

  7. CompressorUI Quark

    ... .black; Pen.stringAtPoint("Input Level (dB)", Point(height * 0.4, width * 0.9), Font( Font.defaultSansFace, 14 ), Color.gray(0.2).alpha_(0.5)); Pen.rotate(0); Pen.stringAtPoint("Output Level (dB)", Point(0, width * 0.5), Font( Font.defaultS ...

  8. ProcMod Quark

    ... indow.onClose_({pracmode = false}); ^pracwindow; } bigNumGUI {arg bigNumBounds, fontSize = 96; var numstring; bigNumBounds = bigNumBounds ?? {Rect(bounds.width * 0.5, bounds.height * 0.5, bounds.width * 0.3, bounds.height * 0.3)}; bigNum = ...

  9. SQWERTYKeyboard Quark

    ... .x, position.y, 420, 200); //x, y, w, h var palette= SGUI.palette; var fntMono= Font.monospace(10); //--functions and objects var prefDict, tmp; //--gui var codeTextString; var destinationsButton; var pwin, win= Window(name, winRect); rows= ...

  10. MxDrawer Quark

    ... lickCount == 2, action) }; lv.stringColor = fg; lv.focusColor = Color.clear; lv.font = GUI.font.new(GUI.skin.fontSpecs[0], 10); lv.beginDragAction = { var key, item; item = items[lv.value]; if(item.isKindOf(MxDrawerItemGroup).not, { item = ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow