Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... MANAGEMENT */ loadPreset { var defaultEvents = JSONlib.convertToSC(File.readAllString((presetPath ++ presetFile).resolveRelative, "r")); defaultEvents.do({ arg defaultEvent, index; defaultParentEvent.keysValuesDo({|key, val| if (defaultEve ...

  2. SCLOrkEmojiMenu Quark

    SCLOrkEmojiMenu : Menu { var trieNode; var searchString; var isPopulated; var pickerCallback; *newRoot { |pickerCallback| SCLOrkEmoji.load; ^SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", pickerCallback, true); } // For the root menu ...

  3. SCLOrkWatch Quark

    ... var timeInSeconds = 0; var mm = 0, ss = 0, updateMinSec, to_seconds; var formatString; var font, t; var blinkFunction, blinkTimer, blinkDuration = 5; var <>blinkList; var blinkEndAction; *new { arg list; ^super.new.init(list); } init { arg ...

  4. 8_mainstage4 Quark

    ... clockBut, fontt; fontt = Font("Monaco", 66); sliders = { |i| [ // StaticText(p).string_(q.ndefs[i].key) // .maxHeight_(50).font_(Font("Monaco", 40)), // EZPopUpMenu(p, 200@50, "*", q.allSoundNames, {|mo| mo.postln}, i), PopUpMenu(p, Rect(0, ...

  5. extString-curl Quark

    // updated curl method stack based on wslib String:curl // if you have wslib installed: check whether this functionality is already implemented there, if not, replace the file extString-curl.sc with this one. // if you don't have wslib inst ...

  6. FuncView Quark

    ... { if( hasParent ) { labelView = StaticText( view, bounds.width @ labelHeight ) .string_( label ); bounds.height = bounds.height - ( labelHeight + gap.y ); } { view.parent.findWindow.name = label; }; }; RoundView.pushSkin( UChainGUI.skin ); ...

  7. strings Quark

    /* Retrieved from http://sccode.org/1-5aD */ SynthDef(\strings, { arg out, freq=440, amp=0.8, gate=1, pan, freqLag=0.2; var env, in, delay, f1, f2; f1 = freq.lag(freqLag); f2 = freq.lag(freqLag * 0.5); delay = 0.25 / f2; env = Env.asr(0, 1, ...

  8. helper-funcs Quark

    ... prefix("m"), meters| var phrases = [[prefix], (0 .. n-1)].flop.collect(_.join), strings, stepForward, doc, pos, method; meters = meters.asArray; strings = phrases.collect { |phrase, i| "/%.% = %\"\";".format(key, phrase, meters.wrapAt(i) ?? ...

  9. Porting-Buffer Quark

    ... `new Buffer(number)`, replace it with `Buffer.alloc(number)`. - For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`). - For all other combinations of argume ...

  10. RoundButton Quark

    ... revision RoundButton : RoundView { // requires a version of SuperCollider where String:prBounds is working (after april 2007?) var <value = 0; var <font, <states; var <pressed = false, <>changeStateWhenPressed = true; var <radius, <border = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow