Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (745) Code (51) Doc (240) Help (22) Quark (430) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... -up menu, a text field and a toggle button, there's ScrollView. We also have Qt layouts, which are supposed to save us from the trouble of calculating coordinates. Scrolling lists are usually arranged vertically, so: VLayout. But, there ...

  2. growing layout by julianrohrhuber (julian.rohrhuber) Code

    Just an illustration of how layouts behave dynamically. ( a = Window(); a.layout = v = VLayout(); a.front; fork({ 10.do { v.add(h = HLayout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ...

  3. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... var winName = "Gain Reduction"; // Name of the window var window, indicator, layout, oscFn; // Window creation window = Window("Gain reduction").front; window.setInnerExtent(width, height); // Level indicator setup indicator = ...

  4. Step Sequencer with Midi/Scales/Tuning capabilities by rukano (rukano) Code

    ... evice, midiChannel; var synthList = [\ping, \sine]; var screen = (); var layout = (); var pointSize = 20; s = Server.default; s.boot; screen.width = Window.screenBounds.width; screen.height = Window.screenBounds.height; ...

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

    ... +mouseDrag. Show also a way to write classes with events ( ~windowize = { arg layout; var win; win = Window.new; win.layout = layout; win.front; }; ~env_controller = ( new: { arg self, env, spec; self = self.deepCop ...

  6. Galton Board Simulator by simon (Dindoléon) Code

    ... th.org/t/galton-board-sim/6202 ( var win = Window(); var display = UserView().layout_(HLayout().margins_(30)); var availableNotes = [58, 60, 61, 63, 65, 66, 68, 70].midicps; var timesNotesWerePlayed = Array.fill(availableNotes.size, { ...

  7. A simple bus routing matrix with GUI by 0-2U (grirgz) Code

    ... req) * sig; }).play; ); // gui ( ~matrix_gui = { var win; var layout; win = Window.new; // generate an array of array representing the knob grid layout = GridLayout.rows(* // top label header [ ...

  8. UI for FM7 by davidmorgan (david_morgan) Code

    ... pHi_(2) .decimals_(2) .normalColor_(Color.white) }); var grid = GridLayout.rows( // grid with column headers and row headers *(0..6).collect({arg k; if (k == 0) { (0..6).collect({arg i; if (i == 0) { ...

  9. Mountains by simon (Dindoléon) Code

    ... ur main window var instrument_file = {}; var main_view = UserView(); var layout = UserView(); var background_color = Color( 0, 0, 0 ); var rythm = Point( 4, 4 ); var rythm_length = ( rythm.x * rythm.y ); var tempo = 1; var p ...

  10. GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code

    ... var numLabels1 = 3; var buttons, sliders, numberBoxes, labels0, labels1, sliderLayout, buttonLayout, numberBoxesLayout, labelsLayout0, labelsLayout1, layout, menu; Window.closeAll; w = Window.new; // objects buttons = numButtons. ...

1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow