Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (803) Code (77) Doc (225) Help (42) Quark (457) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Basic FM Matrix Synth by lfsaw (LFSaw) Code

    ... 00, 20)).string_("amps"); q.win.view.decorator.nextLine; q.numOscs.do{|i| EZSlider(q.win, Rect(0, 0, 25, 100), label: i, layout: 'vert').action_{|slider| ampState[i] = slider.value; Ndef(\fmMatrix).setn(\amps, ampState); } } )

  2. The Muse by mkb218 (mkb) Code

    ... terval, theme, makeanote, tempo=320, basefreq=220, finefreq=0, rest=false, vol, slider, major, mminor, hminor, acc, lastmnote, mminorlook; var lookup; var mv = Synth(\museverb, [], s); var note = nil; interval = Array.with(2,8,10,20 ...

  3. Bjorklund Toy by rinalka1227 (rinalka1227) Code

    ... blank, // a blank line used for spacing label, knob, button, numBox,popUpMenu,slider,rangeSlider, //standard gui objects startOnIBox,endOnIBox,startOffIBox,endOffIBox, //gui objects that get written to startOnNBox,endOnNBox,startOff ...

  4. Frequency Modulation GUI Demo 3 by bruno (Bruno Ruviaro) Code

    ... or, windowColor, ampEnv, carrFreqEnv, modFreqEnv, modIndexEnv, timeScale, volumeSlider, durationSlider, printEnvData, adjustEnv, masterOut, presetArray, presetButtons; timeScale = 3; // total duration of a "note" numberOfPoints = 8; / ...

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

    ... (which is why I'm using it for this example!). - View: The GUI display -- a Slider, in this case. The view knows who its model is, and should respond to user action by updating the model. - Controller: An object that receives notific ...

  6. Simple noise mixer with GUI by phjosef (pHJosef) Code

    ... alue_(0.31); a.do{ |sl| sl.value_(0.5)}; Ndef(\x).resetNodeMap; }; a = {Slider(~win, Rect(0, 0, 20, 100)).value_(0.5)} ! 10; b = Slider(~win, Rect(0, 00, 10, 10)).value_(0.31).action_({ |sl| Ndef(\x).set(\rq, sl.value.linlin(0, 1 ...

  7. rand-n-step+ by vividsnow (vividsnow) Code

    ... ne_synth.(l); }).mouseOverAction_({ status.string = 'randomize synth' }), Slider( w, Rect( 10 + (22*(dims[0]+3)), 35 + (22*l), 60, 20) ).action_({ |b| // synth amp synths[l].amp = b.value.linexp(0,1,1/16,16); }).mouseOverAction ...

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

    ... make_layout: { arg self; var node_name, name, spec; var win, val, slider, label, layout; var prec = 0.001; var knob_layout; var knob_size = 15; var level_spec, time_spec, curve_spec; name = self.controller. ...

  9. Attack Detection and Amplitude Threshold Setter GUI by elifieldsteel (eli.fieldsteel) Code

    ... on_({ |nb| nb.value.postln; ~knob.value_((nb.value.dbamp) / (~maxValSlider.value.dbamp)); if(~threshTest.notNil, { if(~threshTest.group.class == Group, {~threshTest.set(\thresh, nb.value)}, {} ...

  10. Electric car by kosmas-giannoutakis (Kosmas Giannoutakis) Code

    ... = ControlSpec(0, 75, \linear, 0.1); m = ControlSpec(0, 6000, \linear, 1); a = Slider(w, Rect(50, 75, 700, 50)).value_(0).action_({ x.run.set(\speed, b.map(a.value), \t_tr, 1); c.string_(b.map(a.value).asString)}); d = Slider(w, Rec ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow