-
... gn = \center; volumeSlider.unitView.align = \center; // Menu carrMenu = PopUpMenu(win, Rect(510, 230, 70, 30)); carrMenu.items = ["Sine", "Blip", "Saw"]; carrMenu.background = Color.white; carrMenu.font = Font("Verdana", 13, b ...
-
... olor.gray(0.2)); window.layout = VLayout( HLayout( nil, deviceMenu = PopUpMenu(), startB = Button(), // stopB = Button(), nil ), View().fixedHeight_(60) .layout_(HLayout( nil, StaticText().string_("Tempo").st ...
-
... awnChoice = [~spawnRandom, ~spawnGaussian, ~spawnBrownian]; ~spawnDevShape = PopUpMenu.new(~papaLengthWind, Rect(188, 26, 66, 16)) .items_(["Rand", "Gauss", "Brown"]) .action_( { |menu| ~spawnPop.source = ~spawnChoice.at(menu.value ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... ticText.new }; labels1 = numLabels1.collect{ StaticText.new }; menu = PopUpMenu.new; // layout buttonLayout = HLayout.new(*buttons); sliderLayout = VLayout.new(*sliders); numberBoxesLayout = HLayout.new(*numberBoxes); lab ...
-
... 0, 50)); // subwin.background = Color.rand; // Noise Source menu menu = PopUpMenu(win, 80 @ 35); menu.items = ["Pop", "Rasp"]; menu.action = {arg menu; case {menu.value==0} {whichBus.set(0.0)} {menu.value==1} {whichBus. ...
-
... e, 20, 36); StaticText.new(w, 60@20).string_("synthdef:").align_(\right); PopUpMenu.new(w, Rect(0,0,95,20)) .items_([\bufGab, \bufWide, \bufPerc, \bufPercRev]) .action_({ |pop| tdef.envir.synName = pop.items[pop.value] }); ...
-
... ); StaticText.new(win, 60@20).string_("synthdef:").align_(\right); PopUpMenu.new(win, Rect(0,0,95,20)) .items_([\bufGab, \bufWide, \bufPerc, \bufPercRev]) .action_({ |pop| q.synName = pop.items[pop.value] }); ...
-
... ); // spacer ); }, { guiData.modeViews.add( // num sines popup PopUpMenu().minWidth_(80).maxWidth_(80).maxHeight_(24) .items_((4..d.maxSines).collect({ arg i; i.asString + "Sines"})) .stringColor_(d.colLabelString). ...
-
... e, 20, 36); StaticText.new(w, 60@20).string_("synthdef:").align_(\right); PopUpMenu.new(w, Rect(0,0,95,20)) .items_([\pmGab, \pmWide, \pmPerc, \pmPercRev]) .action_({ |pop| tdef.envir.synName = pop.items[pop.value] }); }; ...
-
... e, 20, 36); StaticText.new(w, 60@20).string_("synthdef:").align_(\right); PopUpMenu.new(w, Rect(0,0,95,20)) .items_([\sinGab, \sinWide, \sinPerc, \sinPercRev, \noiseGab, \noiseWide, \noisePerc, \noisePrev, ...