Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... var data = Dictionary.new; // Oscillators: modulOscillators.do({|item, num| var string = "/osc/" ++ (num + 1) ++ "/"; data.put(string ++ "range", item.range.round(0.01)); data.put(string ++ "pulse/level", item.pulseLevel.round(0.01)); data. ...

  2. ChuckBrowserKeyController Quark

    ... KeyController { classvar <identifierCodes, <states, <wildcards; var <>browser, <string, routine, <lastMTIndex, <registers; *initClass { identifierCodes = (65..90) ++ (97..122) ++ (48..57) ++ $_.ascii ++ 127; states = Dictionary[ // matchIte ...

  3. ChuckBrowserKeyController Quark

    ... KeyController { classvar <identifierCodes, <states, <wildcards; var <>browser, <string, routine, <lastMTIndex, <registers; *initClass { identifierCodes = (65..90) ++ (97..122) ++ (48..57) ++ $_.ascii ++ 127; states = Dictionary[ // matchIte ...

  4. SCLOrkPDPreset Quark

    ... = false | var tokens, tokenIndex, parseError, voices, year, openVoice; var fileString = String.readNew(File.new(filePath, "r")); tokens = SCLOrkPDPreset.tokenize(fileString); if (tokens.isNil, { ^nil; }); // We now advance through the toke ...

  5. extOject Quark

    + Object { docpost {arg doc; var textSize, string; textSize = doc.text.size; doc.selectRange(textSize, 0); string = this; doc.string_(string, doc.selectionStart+string.size); } docpostln {arg doc; var string; string = this ++ 10.asAscii; st ...

  6. DoNotation Quark

    ... ave ; if they are inside { } Distinguish Do( from "Do(" .e. ignore stuff inside strings when looking for Do blocks Rules: Inside do blocks: - no ; other then those of the Do block - You can have Do blocks inside other do blocks. // m = 0 Do ...

  7. extVarious-SCAlert Quark

    + String { ask { |function| function = function ? { this.postln; }; ^SCAlert( this, [\cancel, \ok], [ nil, function ] ); } request { |function, question = "Please enter string:"| function = function ? { |string| string.postln; }; question = ...

  8. PreProcessor Quark

    ... "using % preprocessor\n".postf(tag) } }; func.value(code, event); } value { arg string; var i0 = string.findAll(startDelimiter); var i1 = string.findAll(endDelimiter); var strings, i2; if(i0.isNil or: { i1.isNil }) { ^string } { if(i0.size ...

  9. SCLOrkSoundFile Quark

    ... e; }, { false; }); }); window.layout = VLayout.new( HLayout.new( StaticText.new.string_("SHIFT + Right Click + Mouse Up or Down to Zoom"), StaticText.new.string_("Right Click + Mouse Left or Right to Scroll"), ), soundFileView = SoundFileVi ...

  10. SCMScriptFieldView Quark

    ... criptFieldView(bounds:400@200).front().showPopup().action = { | sender | sender.string.postln; } */ SCMScriptFieldView : View { var model, dependants, setValueFunction, textSeparateEditing, string; var <mainLayout, <textEditing, windowPopup ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow