Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ndow = Window.new( name: "Browse SCLOrkSamples [scroll down for more]", bounds: Rect(140, 0, 750, 290), resizable: true, scroll: true ); browseWindow.onClose = ({ browseWindow = nil; "sample browser has been closed".postln; }); browseWindow ...

  2. SNanoKontrol Quark

    ... trol {|name, position| //--settings var prefName= "%.json".format(name); var winRect= Rect(position.x, position.y, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= SGUI.font; var fntMono= Font.monospace(10); var fps= 15; //maximu ...

  3. MIDIKeyboardWindow Quark

    ... { |nKeys = 36, startOctave = 1, channel = 0, bounds| var out; bounds = bounds ? Rect( 128, 64, 600, 100 ); out = super.newCopyArgs( nKeys, startOctave, channel, bounds, [], 64, () ) .downAction_( { |chan, note, velo| [chan, note, velo].post ...

  4. SWTrigBusNode Quark

    ... .kr( 0, 3 ); trigxy = (2.55..-0.45).collect{ |yi| (-0.45..4.55).collect{ |xi| InRect.kr( x, y, Rect( xi, yi, 0.9, 0.9 ) ) } }.flatten; itrig = 1 - trigxy; SendTrig.kr( impuls + trigxy, (0..23), trigxy ); SendTrig.kr( itrig, (24..47), trigxy ...

  5. ServerRecordWindow Quark

    ... ID; server = inServer ? Server.default; w = Window( "record : " ++ server.name, Rect.aboutPoint( Window.screenBounds.center, 150, 75 ), false ).front; w.decorate; w.onClose = { all.remove( this ) }; StaticText( w, 60@20 ).string_( "#channel ...

  6. CtLoop Quark

    ... ame 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).set( \pFreq, \pFreq.asSpec.map(x), \pWi ...

  7. ChuckableBrowser Quark

    ... are too small, you will be unhappy layout = FlowView(masterLayout, bounds ?? { Rect(0, 0, 290, 310) }, margin: 2@2); layout.onClose = { this.free; }; // gc so automatic browser updates don't break this.initStates; this.makeViews; this.chan ...

  8. ChuckableBrowser Quark

    ... are too small, you will be unhappy layout = FlowView(masterLayout, bounds ?? { Rect(0, 0, 290, 310) }, margin: 2@2); layout.onClose = { this.free; }; // gc so automatic browser updates don't break this.initStates; this.makeViews; this.chan ...

  9. WFSPointGroupGUI Quark

    ... bview2; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 190 rrand: 220, 70 rrand: 100, (420 + (editWidth + 4)), 460 + (4 * 18) ) }; } { bounds = parent.asView.bounds; }; RoundView.pushSkin( UChainGUI.skin ); vi ...

  10. Cartesian Quark

    ... s a projection asSpherical { ^Spherical.new(this.rho, this.theta, this.phi) } asRect { ^Rect.new(0,0,x,y) } // implemented as a projection asArray { ^[this.x, this.y, this.z] } == { arg aCartesian; ^aCartesian respondsTo: #[\x, \y, \z] and: ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow