Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (206) Code (18) Doc (41) Help (11) Quark (136) SCDoc ↗ Forum ↗ Google ↗
  1. NoCoastConfig Quark

    ... nter); mainLayout.add(StaticText().string_("MIDI Ch1: "), 3, 0); mainLayout.add(NumberBox().clipLo_(0).clipHi_(127).action_({| caller | this.midiCh1(caller.value); }), 3, 1); mainLayout.add(StaticText().string_("MIDI Ch2: "), 4, 0); mainLay ...

  2. currency_converter Quark

    //convert Euros to Pounds ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("Euro:"), nb1, StaticText().string_("Pound:"), nb2 ) ).front; ENdef(\x,{ v ...

  3. NumberBox Doc

    NumberBox: Filter: Description Class methods Inherited class methods Undocumented class methods new qtClass Instance methods Data value valueAction increment decrement string object setBoth Restrictions on data clipLo clipHi minDecimals max ...

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

    ... e s.waitForBoot({ // GUI var numButtons = 4; var numSliders = 5; var numNumberBoxes = 3; var numLabels0 = 5; var numLabels1 = 3; var buttons, sliders, numberBoxes, labels0, labels1, sliderLayout, buttonLayout, numberBoxesLayout, ...

  5. StepButton Doc

    ... for the bigStep Inherited instance methods Examples ( w=FlowView.new.flow{|w| b=NumberBox(w,40@27).value_(1); StepButton(w,27@27,target:b); w.startRow; c=EZSlider(w,300@27,"demo", [0,10,'linear',0.1]).value_(0); // gets the ControlSpec step ...

  6. sumWithLastValue Quark

    ... Sampled({sig}, es) {sig} will delay execution of sig */ ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), n ...

  7. gui_example_simple Quark

    //simple gui example just displaying data using sliders and numberboxes ( var numChan= 4; var lastValues= -1.dup(numChan); var lastTime= 0; var win, sliders, numbers, updateFunc; win= Window("gui example simple", Rect(100, 100, 320, 240)).f ...

  8. ArrayWarp Quark

    ... n.value; }); StaticText(w, 30@15) .string_("size") .resize_(7) .align_(\right); NumberBox(w, 40@15) .value_(array.size) .resize_(7) .action_({|j| array = Array.fill(j.value,{|i| array[i] ? 0}); ms.value_(array); action.value; }); StaticText ...

  9. ArrayWarp Quark

    ... n.value; }); StaticText(w, 30@15) .string_("size") .resize_(7) .align_(\right); NumberBox(w, 40@15) .value_(array.size) .resize_(7) .action_({|j| array = Array.fill(j.value,{|i| array[i] ? 0}); ms.value_(array); action.value; }); StaticText ...

  10. Automation Quark

    ... GUI // and the controlled sliders in the same window. var win, button, slider, numberBox, control; // Any window will do... win = GUI.window.new("Automation Transport Interface", Rect(40, 400, 450, 130)); slider = GUI.slider.new(win, Rect( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow