Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... w.isNil or:{ window.isClosed }, { window = Window("load a new setup from disk", Rect( (Window.screenBounds.width-500).div(2), (Window.screenBounds.height-480).div(2), 500, 480 ), false); window.view.decorator = flow = FlowLayout(window.view ...

  2. CallWindow Quark

    ... ndow; bounds ?? {bounds = Window.win2Right}; window = Window.new(name, bounds.asRect).front; ^this.new(window, Rect(0,0,bounds.width, bounds.height), font, qpalette, settings, postWhere, postType, postWin, postBool, storeSize); } background ...

  3. Assemblage Quark

    ... ); a.mixer View .enabled .acceptsMouse ( w = Window.new.front; c = NumberBox(w, Rect(20, 20, 150, 20)); a = Slider(w, Rect(20, 60, 150, 20)) .action_({ c.value_(a.value) }); a.action.value; ) a.enabled = false; a.enabled = true; a.backgroun ...

  4. Dissonance Quark

    ... atios.ratioPost, this.pitchSet); }; ^this; } // same as make but the input is directly an array in the format of a Signal.stft *makeFromSpectrum { |f, start = 1.0, end = 2.3, inc = 0.01, method = \parncutt, max = false, numPartials = 10, wi ...

  5. EnvScaleView Quark

    ... nv,action; bounds = bounds ? (parent.notNil.if { parent.view.bounds } { nil } ? Rect(100,300,620,300)); env = env ? Env([0,1,1,0],[0,0.5,0],[0,0,0],nil,nil); ^super.new.init(parent,bounds,env,action) } init { arg parent,bounds,argEnv,action ...

  6. AbstractPlayer Quark

    ... plot { arg duration=5.0, bounds; {this.value}.plot2(duration,this.server,bounds?Rect(0,0,900,800)) } /** hot patching **/ connectTo { arg hasInput; this.connectToPatchIn(hasInput.patchIn,this.isPlaying ? false); } connectToInputAt { arg pla ...

  7. AbstractPlayer Quark

    ... ot { arg duration=5.0, bounds; {this.value}.plot2(duration, this.server, bounds?Rect(0, 0, 900, 800)) } /** hot patching **/ connectTo { arg hasInput; this.connectToPatchIn(hasInput.patchIn, this.isPlaying ? false); } connectToInputAt { arg ...

  8. GMCurveEnvView Quark

    ... wMidLevel; var positions = this.prGetPointPositions; var min = super.interactionRect.height - max( positions[selectedHandle].y, positions[selectedHandle + 1].y ) + super.interactionRect.top; var max = super.interactionRect.height - min( pos ...

  9. Mx Quark

    ... topToBundle(bundle)); } gui { arg parent, bounds; ^super.gui(parent, bounds ?? {Rect(100, 100, 900, 600)}) } guiClass { ^MxGui } app { ^app ?? { app = MxApp(this) } } draw { arg pen, bounds, style; // odd master.draw(pen, bounds, style) } }

  10. PointView Quark

    ... w, <showView, <perspectiveView; // other var sdClass; *new { |parent, bounds = (Rect(0,0, 1000, 715))| ^super.new(parent, bounds).init; } init { var initOscWidth = 8.degrad; points = []; pointsNorm = []; az = bz + 1; // distance to point fr ...

prev 111 112 113 114 115 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow