Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ct { |line| line.as(Array) }; var diff, lineIndex; var indices = []; diff = DiffString( beginFunc: { var i = indices[lineIndex - 1].copy ?? { { lineIndex } ! lines[lineIndex].size }; indices = indices.add(i); }, insertFunc: { |token, i| ind ...

  2. RedRLE Doc

    ... 3, 0, 1, 2, 3] . NOTE: Works with Integer , Float and Symbol . Can also take a String instead of an Array . Class Methods . encode Returns an array with length, value pairs. . decode Array must be length, value pairs. Inherited class metho ...

  3. HrDAC Quark

    ... anvasXY).init; } init { window.background_(Color.gray(0.9)); lastLevel = 1; helpString = "In1/In2 audio inputs. Outputs not used, outputs to your hardware outs."; StaticText(window, Rect(10, 10, 100, 20)).string_("Level:"); levelSlider = Hr ...

  4. extVarious-midiname Quark

    ... tename SimpleNumber-cpsvoicetype get the voicetypes who can sing this frequency String-namemidi convert a notename to a midi notenumber String-namename convert a notename to a standardized notename String-namecps convert a notename to a fre ...

  5. SoundFile Doc

    ... ed instance methods asBuffer asEvent channelPeaks fileptr info play readHeaderAsString scaleAndWrite seek toCSV Examples Classes | Files SoundFile : Object sclang soundfile data Source: SoundFile.sc See also: File , Buffer Description The S ...

  6. 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 ...

  7. 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[ ...

  8. RedLZ78 Doc

    ... repetitive data. NOTE: Works with Integer , Float and Symbol . Can also take a String instead of an Array . Class Methods . compress Returns an array. . decompress Returns an array. Inherited class methods Instance Methods Inherited instan ...

  9. create_simple_instrument_view Doc

    ... ( var window = Window(); var layout = HLayout(); var button = Button(); button.string_("Play"); window.layout_(layout); layout.add(button); window.front; ) ⧉ ✔ If this code does not make sense to you, you can find more explanations about i ...

  10. 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 ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow