Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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"]); /////// ...

  3. Signal Help

    ... padding. Signal .welchWindow(1024).plot; Signal .welchWindow(1024, 512).plot; *rectWindow(size) Fill a Signal of the given size with a rectangular window. size - the number of samples in the Signal. pad - the number of samples of the size ...

  4. 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| ^ ...

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

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

  7. InstrStack Quark

    ... }, gui: { arg layout; var l; l = layout ?? {PageLayout(~source.instr.asString, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) } ));

  8. Granular display by tommaisey (tommaisey) Code

    ... value.wait; }}); // Grain display window = Window.new("Grain display", Rect(200, 300, 740, 300)); fileView = SoundFileView().readFile(soundFile).gridOn_(false); grainView = UserView().resize_(5); window.layout = StackLayou ...

  9. SCDraw Quark

    ... rc); }); Pen .fillColor = Color .blue; Pen .strokeColor = Color .green; Pen .addRect( Rect (x-r+rrand(-50.0, 50.0), y-r+rrand(-50.0, 50.0), 2*r, 2*r)); Pen .stroke; }; bkgrnd = { arg perc, dict; image.drawInRect( Rect (0, 0, 500, 500), imag ...

  10. Red3D Quark

    ... v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.aboutPoint(p, vectors[i][2]+1*dotSize, vectors[i][2]+1*dotSize)); }; } drawOutlines { outlines.do{|o| Pen.line(renderedPoints[o[0]], renderedPoints[o[1]]); ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow