Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1211) Code (84) Doc (287) Help (71) Quark (769) SCDoc ↗ Forum ↗ Google ↗
  1. ObjectGui Help

    ... non 'gui' objects r = layout.layRight(300,300); // allocate yourself some space Button (layout.win,r) .action_({ arg butt; model.goApeShit; }); // note: NumberEditor is a cruciallib class numberEditor = NumberEditor (model.howFast,[0,100]) ...

  2. NdefParamGui Help

    ... lculated. options - a list of additional information, e.g. flags about optional buttons. makeSkip - flag whether to make a skipjack to manage updates of the envirgui. default is true. // simple example g = NdefParamGui .new( nil , 5); // em ...

  3. SCStaticText Help

    ... 45, 10, 200, 20)).background_( Color .rand); a.string = " Current Frequency " ; Button .new(w, Rect (45, 70, 200, 20)).states_([[ "close" , Color .black, Color .rand]]).action_({w.close}); s.waitForBoot({ b= Bus .new( \control ,0,1); q= Syn ...

  4. EZNumber Help

    ... e= "Freq" ; ); ) // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef ( "window-test" , { arg no ...

  5. SCMovieView Help

    ... ool) bool - An instance of Boolean . Examples ( w = Window ( "mov" ).front; b = Button (w, Rect (0, 0, 150, 20)) .states_([[ "pick a file" ]]) .action_({ File .openDialog( "" , { |path| m.path_(path) }) }); m = MovieView (w, Rect (0,20,360, ...

  6. GUI Help

    ... nColor : Color(0.5, 1, 0.5), offColor : Color.clear, gap : 0 @ 0, margin : 2@2, buttonHeight : 16 *cocoa Makes Cocoa (Mac OS X GUI) the current scheme and returns it. Subsequent GUI object calls to GUI are delegated to cocoa. Returns the cu ...

  7. SCModalSheet Help

    ... o: SCWindow , SCModalWindow Dismissing Modal Sheets SCModalSheets have no close button. It is therefore very important that you add an SCButton or some other GUI widget to allow the user to dismiss the sheet. As an 'escape hatch' pressing t ...

  8. DemandEnvGen Help

    ... 0.1 }.play; ) // gate // mouse x on right side of screen toggles gate // mouse button does soft reset ( { var freq; freq = DemandEnvGen .kr( Dseq ([ Dseries (400, 200, 5), 500, 800, 530, 4000, 900], 2), Dseq ([0.2, 0.1, 0.2, 0.3, 0.1], inf ...

  9. Routine Help

    ... e saying we're done 0.5.wait; "done" .postln; }.play; ) // Using Routine to set button states on the fly. ( var update, w, b; w = SCWindow .new( "State Window" , Rect (150, SCWindow .screenBounds.height-140,380,60)); // a convenient way to ...

  10. HIDDeviceService Help

    ... 2, \c -> 3, \f1 -> 4, \f2 -> 5, \f3 -> 6, \f4 -> 7, \l -> 8, \r -> 9, // arrow buttons \hu -> 10, \hl -> 11, \hr -> 12, \hd -> 13, // hat positions \x -> 14, \y -> 15, \z -> 16, // axes \slider -> 17, \hat -> 18 ]); )

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow