Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. draw wavefields Quark

    ... ; // time l = 0@2; // listener position (optional) d = 0; // latencyComp ~win = Window("WFS preview", Rect(200,200,600,620)).front; ~win.addFlowLayout(0@0,0@0); w = ScaledUserView.withSliders(~win, Rect( 128, 64, 600, 600 ), Rect.aboutPoint ...

  2. VGSpecEditor Quark

    ... onsWidth ? 100; width = width + buttonsWidth }; parent = inparent ?? { parent = Window(this.class.asString, Rect(40, 700, width + 8, height + 8) ).front; parent.view.decorator = FlowLayout(parent.bounds.moveTo(0,0), 2@2, 2@2); parent; }; co ...

  3. Neuromodule-Stream-test Quark

    ... 1] // map to two audio channels ).play; dt.wait; }; }).play ) // a GUI: ( ~makeWindow = { |module| var w = Window("module", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set ...

  4. SCLOrkSamples Quark

    SCLOrkSamples { classvar <dict; classvar <>allowedExtensions; classvar <browseWindow; classvar synthNodesDict; *initClass { allowedExtensions = List[ "wav", "WAV", "aif", "AIF", "aiff", "AIFF", "aifc", "AIFC", "flac", "FLAC" ]; dict = Ident ...

  5. mpd18UseCase_frp_style Quark

    ... ame| SynthDef(name, func).add }; q.synths = 15.collect{ [] }; //GUIS q.mpdwin = Window("MPD18 use case (JNCv2)").front; q.butvals = 0!4!4; q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * 80) + 5, 75, 75) ...

  6. VGScale Quark

    ... } *new { var drawLine, instNames, btns, showInst, tuningNode, skippy, comp; w = Window("Scale Graph", Rect(100, 0, 1300, 800)).front; w.view.background_(Color.black); instNames = VGTuning.mulTrees[scale].branches.keys.asArray.sort; comp = C ...

  7. sound_example_filters_and_scopeview Quark

    ... ampleRate/fftSize; var width= 511, height= 800, scpsHeight= height-20; var win= Window("openbci", Rect(2, 100, width, height)).front; var scp= ScopeView(win, Rect(0, 0, width, scpsHeight)); StaticText(win, Rect(0, scpsHeight, 50, 20)).strin ...

  8. RadTest Quark

    ... nction returning true, or a String explaining the failure. // gui: true = needs windows; skipped where there is no GUI (cloud). // cloud: false = needs something the cloud build lacks (MIDI, a plugin that // needs FFTW such as Tartini); ski ...

  9. runnerGUI Quark

    ... ; var wi = (runner.actantDict.size+1)*yStep ; var index ; guiArr = [] ; w = GUI.window.new("The Parallax View: "+runner.name.asString, Rect.new(x, y, yStep*11.5, controlNum*yStep)) ; w.view.background_(Color(0.9, 0.9, 0.9)) ; w.onClose_({ r ...

  10. CtLoop Quark

    ... or recorded movement c.stop; // use the same CtLoop with a 2D controller: ( w = Window("play me").front; t = Slider2D(w, Rect(0,0,400,400)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow