Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. parser for (simplified) abc score notation by 0-2U (grirgz) Code

    ... (char) } }; ~strip_spaces = { arg str; str.replace(" ", "") }; ~split_string = { arg str; var res = List.new; var accu = ""; str.do { arg char; if( ~is_terminal.(char) ) { if(accu != "") { res.add(accu); }; ...

  2. Readme Quark

    # escape-html Escape string for use in HTML ## Example ```js var escape = require('escape-html'); var html = escape('foo & bar'); // -> foo & bar ``` ## Benchmark ``` $ npm run-script bench > escape-html@1.0.3 bench nodejs-escape-html > nod ...

  3. VGMulTreeGui Quark

    ... 2)); name = inName; Button(comp, Rect(2, 2, 90, unitHeight)) .states_([[name.asString]]) .font_(Font(*["Helvetica", 24])); editorNames.do { |name| Button(comp, Rect(0,0,90,unitHeight)) .states_([[name]]) .font_(Font(*["Helvetica", 16])); } ...

  4. GMFaderMultiSlider Doc

    ... .layout_( HLayout() .margins_(0) .add( VLayout() .margins_(0) .add(GMTextView().string_("amp"), 1) .add(ampSlider, 9), 2 ) .add( VLayout() .margins_(0) .add(GMTextView().string_("harmos"), 1) .add(harmoSliders, 9), (nHarmo) ) ); win.onClose ...

  5. QuarkEditor Doc

    ... the "dependencies" field of the quark file. This field takes/returns a list of strings. . schelp Get/set the "schelp" field of the quark file. . version Get/set the "version" field of the quark file. . isCompatible Get/set the "isCompatibl ...

  6. TestSCScrollView Quark

    ... Color.blue; d = StaticText(c,Rect(0,200,300,40)); d.background = Color.white; d.string = "the yellow scroll should be in the top left corner of the blue compostive view"; // although its parent is relativeOrigin, the scroll view does not po ...

  7. create_window Doc

    ... reating the View : ( var window = Window(); var button = Button(window); button.string_("Click me!"); window.front; ) ⧉ ✔ When doing so, you are responsible for setting your View at the right position and size : ( var window = Window(); var ...

  8. SCNSObject Doc

    ... at:", [1.1]); n.invoke("floatValue"); Multiple messages are put together in one String and their arguments in one Array. Example: Cocoa: NSWindow *c = [[NSWindow alloc] initWithContentRect: rect styleMask: 10 backing: 2 defer:YES]; SC: c = ...

  9. nxE004 by computermusicneix (computer.music.neix) Code

    A drone insect-string from: http://musicnumbers.wordpress.com/2011/11/25/nx010/ ~x.play; ~x = { var alpha,beta; alpha = rrand(99,399); beta = alpha = rrand(99,399);Pan2.ar(LeakDC.ar(Normalizer.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeak ...

  10. SoundFileView Quark

    ... } setViews { |inSndFile| views[ \path ].value = inSndFile.path; views[ \path ].stringColor = if( inSndFile.exists ) { Color.black; } { Color.red(0.66); }; if( inSndFile.respondsTo( \hasGlobal ) ) { { views[ \hasGlobal ].visible = true; }.d ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow