Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (745) Code (51) Doc (240) Help (22) Quark (430) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. MPadView Doc

    ... on: // make a little keyboard to try the different modes: ( ~win = Window("PianoLayout", Rect(0, 200, 400, 200)).front; // switch between modes: ~pop = EZPopUpMenu(~win, Rect(4, 4, 192, 24), "mode", MPadView.modeKeys, { |pop| pop.item.postl ...

  2. StreamKrDur Doc

    ... .0,3.0],inf), // a pattern 0.1), 0, 0.3 ]); p.gui; ) ⧉ ✔ A metronome ( var nome,layout; nome = Patch({ arg beat,freq,amp; Decay2.ar( K2A.ar(beat), 0.01,0.11, SinOsc.ar( freq, 0, amp ) ) },[ BeatClockPlayer.new(4.0), StreamKrDur( Pseq([ 750, ...

  3. GUI-Introduction Doc

    ... rs Automatic positioning and resizing of views View's resize options Decorators Layouts Customizing appearance Colors Palette Fonts Other visual properties Actions and hooks: Make that button do something! Default actions Keyboard and mouse ...

  4. EventSource Doc

    ... s. ( a = Button().states_([["+"]]); b = Button().states_([["-"]]); w = Window().layout_(HLayout(a,b)).front; ) //sum and subtract ( ENdef(\x).clear; ENdef(\x, { var aES = a.enIn.collect{{|x| x+1 }}; var bES = b.enIn.collect{{|x| x-1 }}; (aE ...

  5. MenuAction Doc

    ... instance methods . asMenu Examples Simple checkable menu item ( ~view = View().layout_(HLayout( Button() .states_([["Options..."]]) .action_({ ~menu.front }) )); ~menu = Menu( MenuAction("enabled") .checkable_(true) .action_({ |a, enabled| ...

  6. OSCMapperArray Doc

    ... rray of OSC values and access them in array style, therefore ( o = OSCMapper(\myLayout, layout: ( '/my': OSCMapperArray(), )); ) // send a message to ourselves NetAddr("localhost", NetAddr.langPort).sendMsg("/my", 4, 3, 2, 1, 0); // now acc ...

  7. KeyPlayerGui Doc

    ... class could be made more flexible: supporting different display sizes, keyboard layouts, and ways of switching between several KeyPlayers may be useful. (current the useList options gives one choice. Dragging and dropping actions could also ...

  8. SPlayFileView Doc

    ... PlayFileStereo(); //or pass in SPlayFileQuad for mixing to 4ch var fv; win.view.layout_(VLayout( StaticText().string_("embedded"), Button().states_([ ["show controls"], ["show controls"] ]).action_{|view| fv.controls= view.value.booleanValu ...

  9. SPlayFileDiskView Doc

    ... FileDiskStereo(); //or pass in SPlayFileQuad for mixing to 4ch var fv; win.view.layout_(VLayout( StaticText().string_("embedded"), Button().states_([ ["show controls"], ["show controls"] ]).action_{|view| fv.controls= view.value.booleanValu ...

  10. CustomViewAction Doc

    ... les embedding of interactive components to a Menu or ToolBar . ( ~view = View().layout_(HLayout( ToolBar( MenuAction("Min", { ~slider.value = 0 }), MenuAction("Max", { ~slider.value = 1 }), CustomViewAction( ~slider = Slider().orientation_( ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow