Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1735) Code (118) Doc (482) Help (111) Quark (1019) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Collapsible Views by codepool (codepool) Code

    ... tion from the old SourceForge wiki. // Globally: ( w = Window.new; z = w.view.flow{ |view| view.decorator.gap=0@0; Button(view,80@80).states_([["unhide"],["hide"]]) .value_(1) .action_{ |but| if(but.value.b ...

  2. Demo of Model-View-Controller design by 0-cM (jamshark70) Code

    ... stion comes up often: What is the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a q ...

  3. Dirty Sound Maker by simon (Dindoléon) Code

    ... = 32; var ampBus = Bus.control(s); var sndBus = Bus. audio(s, 2); var harmo_view; var harmo_text; var amp_slider = UserView( win, Rect( margin, win.bounds.height * 0.78 + ( margin / 2 ), win.bounds.width - (margin*4) / 3, win.bounds ...

  4. Scale Listener by simon (Dindoléon) Code

    The Scale Listener is a simple GUI that previews every scale provided in SC, except Ascending/Descending ones. Can also serve as a template for a graphical scale selector, or for didactic purposes. ( // Not refenrencing Ascending/descend ...

  5. Sketch Pad by elifieldsteel (eli.fieldsteel) Code

    ... . //LET'S PAINT! //select all and compile var point, red, green, blue, win, view, colorTask; var redChange, greenChange, blueChange; //rate of change of each color component //mess around with these values for fun //zero results i ...

  6. moving sound by lambda (lambda) Code

    ... /////////////////// w=Window("sineVisualizer", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); f1S= EZSlider(w, 300@50, "freq 1", ControlSpec(0, 2000, 'linear',0.1, 200), {|ez| a.set(\freq1, ez.value)}); w. ...

  7. SpacePan - A Spatial Audio Environment by audioholic (audioholic) Code

    ... pos2rect, pos2drive, autorota, autorand, saveprj, loadprj, gethelp, autorefreshview, cleanup; var gui, guipoints, srcsize, btnsize, fdrsize, txtsize, clicked, selected, mousepoint, oldmspoint, mousedist, roomdim, roomscale, lspos, statpos ...

  8. Scanned Synthesis Visualisation by matthew-kane (Matthew Kane) Code

    ... :"out"); Out.ar(0, ou[0]); Out.ar(0, ou[1]); }).load; ) ( var window, view, redraw; // OSC bridge from synth to language if ( ~updateSelector != nil, {~updateSelector.free}); if ( ~updateSprings != nil, {~updateSprings.free}) ...

  9. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... oller.get_env), ) ); }, update_env: { arg self; self.env_view.value_(self.controller.get_norm_xy); }, update_knobs: { arg self; var index = self.env_view.index; var levels = self.controller.get_env.lev ...

  10. Wavetable Builder with GUI by txmod (txmod) Code

    ... Plot = { if (d.envMode.not, { forkIfNeeded { s.sync; { guiData.plotView.refresh; if (guiData.plotView.notNil, { guiData.plotArray = d.currentWaveformData; guiData.plotView.refresh; }); }.defer; }; ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow