Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Spectrogram of a sound file by wondersluyter (wondersluyter) Code

    ... 1.5))); // input range to adjust threshold, curve factor for contrast: 0-2 }), Rect(0, 0, image.width, image.height)); ~image.free; ~image = image; ) // 5. display image ~image.plot;

  2. A Simple Synthesizer Keyboard 1 by pyoungryangko (prko) Code

    ... = { |i=0, gate=0| x[i].set(\g, gate) }; w = Window("self ear-training", Rect(200, 200, 583, 136)); w.front; w.onClose_{ { |i| x[i].free }!n }; b = { |parent, label| Button(parent, 30@30) .states_([ [label], [labe ...

  3. PlotView Quark

    ... n = \h; *viewClass { ^SCUserView } init { arg parent, bounds; bounds = bounds.asRect; super.init(parent, bounds); value = [0.5,0.5]; lineColor = Color.black; dotColor = Color.red(0.5).alpha_(0.5); fillColor = Color.blue(0.25).alpha_(0.5); b ...

  4. SCImageFilter Doc

    ... lot; // there should have it ) // then you can freely access and set the slot directly - easier ( a.filters[0] = SCImageFilter.new(\CIColorInvert); a.plot; ) // again ( a.filters[0] = SCImageFilter.new(\CIZoomBlur); a.plot; ) // again ( a.f ...

  5. XiiPitchCircle Quark

    ... xtH + edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.v ...

  6. hypno-sliderz by vividsnow (vividsnow) Code

    ... sc3.5 qt gui ( var size = 5; var side = 108; var w = Window('hypno-sliderz', Rect(50,50,size*(side+5),size*(side+5))).front; w.addFlowLayout(); ~sliders = Array.fill(size.squared, { Slider2D( w.view,side@side ) }); ~nodes = Array.fill ...

  7. UAbstractWindow Quark

    ... e, 11 ); if( bounds.isKindOf( View ) ) { window = bounds; } { bounds = bounds ? Rect(230 + 20.rand2, 230 + 20.rand2, 680, 300); window = Window(title, bounds).front; }; window.onClose_(onClose); window.toFrontAction_({ this.class.changed(\a ...

  8. create_window Doc

    ... graphical system to display it. You can customize its name, position and size directly when creating it: ( var window = Window("My window", Rect(100, 100, 600, 200)); window.front; ) ⧉ ✔ You can also toggle its fullscreen mode: ( var window ...

  9. String Doc

    ... elpFile help Misc methods inspectorClass Drawing Support draw drawAtPoint drawInRect drawCenteredIn drawLeftJustIn drawRightJustIn bounds Extensions by SCDoc stripWhiteSpace unixCmdGetStdOutLines pbcopy pfuncPbinds sVarGuiSpecs pVarGuiSpecs ...

  10. DrawGrid Doc

    ... ods DrawGrid. new ( bounds , horzGrid , vertGrid ) Arguments: bounds A Point or Rect describing the size and position of the grid within the parent view (not including any labels). horzGrid A grid lines object for the x-axis, instantiated v ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow