Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. SynthConsole Quark

    ... his.ugenFunc.scope(duration) } doFreqScope { var w, f; w = Window("Freq Scope", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); w.front; } doStop { arg stopFunc; stopFunc.value; ugenFunc.stop; Notificatio ...

  2. 3_4wins Quark

    ... + 0.2).asInteger; var slotNames = q.ndefs.collect(_.key); var w = Window(name, Rect(g.bounds.width - 800, g.bounds.height - 650, 780, min(800, maxHeight - 20)) ).front; ("slotSounds Gui maxNumSlots: " + maxNumSlots).postln; w.addFlowLayout ...

  3. web Quark

    ... window = GUI .window.new( "colors" ).front; text = GUI .staticText.new( window, Rect ( 120, 10, 150, 20 ) ); button = GUI .button.new( window, Rect ( 10, 10, 100, 20 ) ) .states_( [[ "new color" ]] ) .action_( { key = table.keys.choose; win ...

  4. SFPGui Quark

    ... ({ arg th; model.tempo = th.value; model.changed; }); a = SoundFileView(layout, Rect(0,0, layout.bounds.width, 60)); this.read; layout.removeOnClose(Updater(model,{ // in case the file gets swapped pathLabel.label_(model.fileName).refresh; ...

  5. SFPGui Quark

    ... ({ arg th; model.tempo = th.value; model.changed; }); a = SoundFileView(layout, Rect(0, 0, layout.bounds.width, 60)); this.read; layout.removeOnClose(Updater(model, { // in case the file gets swapped pathLabel.label_(model.fileName).refresh ...

  6. capMeasure Quark

    ... loseAll; q.cap.win = Window("capture caps").front; Button(q.cap.win, (100@30).asRect) .states_([["getRange"], ["capturing..."]]) .action_({ q.cap.getRange(12) }); INSIGHTS SO FAR: *** frame rate seems rather constant at 0.04 - not very fast ...

  7. main Quark

    ... waitForBoot({ /* m.server.boot; */ // m.server.scope(q.numChans).window.bounds_(Rect(700, 5, 261, 250)); /////////// HELPER NDEFS /////////////////////// "loading HELPERS...".inform; m.loadFiles("helperNdefs", ["amplitudeTracker"]); /////// ...

  8. SCMButtonAdd Quark

    ... Marinus Klaassen (2012, 2021Q3) EXAMPLE: w = Window().front; a = SCMButtonAdd(w,Rect(0,0,80,80)).action_({ "release function".postln; }); */ SCMButtonAdd : UserView { var pressed=false, strokeColor, highLightColor; *new { |parent, bounds| ^ ...

  9. SVGFile Quark

    ... svg is an SVG file created with Adobe Illustrator CS2 as SVG1.1 // containing a rect, a line, a text ("test svg file") and a filled circle f.objects; f.postTree; "" ; // posts the tree of objects f.plot; // plots the file in a window ( work ...

  10. UnitTest Quark

    ... ist, methodlist, lookUp; this.findTestClasses; w = Window.new("[UnitTest GUI]", Rect(100, 100, 415, 615), resizable: false); w.addFlowLayout; StaticText(w, Rect(0,0, 400, 40)) .string_("Select a category, then a test method, and press Enter ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow