-
... indexThumbSize = 16; indexWidth = indexThumbSize + 1; centre = [Window.screenBounds.width, Window.screenBounds.height] / 2; width = if(numSliders <= 36) { 36 * indexWidth + 6 + 255; } { numSlide ...
-
... g, \gs, \a, \bb, \b ~midiToY.value(\g5); ~midiToY.value(\fs4); //Look @ Post Window //USE THESE TO 'PLAY ALONG' AND THEN FIND MIDI PITCH ~mspoll = {MouseY.kr(~mnd[~pitchHi], ~mnd[~pitchLo]).round.poll}.play; ~mnd.findKeyForValue(6 ...
-
... var modFreqState = 1000!q.numOscs; var ampState = 0!q.numOscs; q.win = Window.new("FM Matrix", Rect(100, 100, q.numOscs * 30, 800)).decorate.front; StaticText(q.win, Rect(10, 10, 200, 20)).string_("modIndex"); q.win.view.deco ...
-
... , h = 700, v = 700, run = true; var starttime = TempoClock.default.beats; w = Window("trio", Rect(40, 40, h, v), false); w.onClose = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; Pen.us ...
-
... reg = shiftreg << 1 | parity; }); counter0 = (counter0+1) % 32; }; Window.allWindows.do { |w| if (w.name == "The Muse") { w.close } }; w = Window.new("The Muse", Rect(200,200,800,710)); c = ControlSpec.new(0, 39, step: 1); ...
-
... d when changing saturation. Strange bug causing the sliders colors to vary when window is resized, please comment if you figure out how to fix it... ( var win = Window( "Color Picker", Rect( 0, 300, 600, 300 ) ); var picker1; var pic ...
-
... ; ~case = 0; ~amp = 100; x = Synth(\magbuf, [\fftbuf, b, \magbuf, c]); w = Window("3D SCOPE", Rect(600, 400, 800, 600)).front; w.view.keyDownAction_{ |view, char, xxx, code| if(code==32){ w.refresh; t = t.not; u.animate = t; } }; u = ...
-
... lay; ); // 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 [ [ StaticText.new. ...
-
... uffer, server side a = Array.fill(1024, { 256 }); // array, language side w = Window("Draw your waveform!", Rect(100, 100, 1024, 512)).front; u = UserView(w, w.view.bounds); // function that changes the array and the buffer, and makes ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... buttonLayout, numberBoxesLayout, labelsLayout0, labelsLayout1, layout, menu; Window.closeAll; w = Window.new; // objects buttons = numButtons.collect{ Button.new }; sliders = numSliders.collect{ Slider.new.orientation_(\ho ...