-
... (\audrey2); w = Window.new("Audrey II", Rect(200, 200, 460, 480)).layout_( VLayout( StaticText().string_("Audrey II -- feedback drone synthesizer").align_(\center), HLayout( VLayout(StaticText().string_("Freq"), Slider() ...
-
... { arg path; var player; var win, sf, sfview; var post_position; var vlayout; var zoom_slider; win = Window.new("select sample position", Rect(200, 300, 740, 100)); sf = SoundFile.new; sfview = SoundFileView.new; v ...
-
... llustration 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) ) ( a = ...
-
... samples into buffers and playing them from GUI buttons. !!! Needs Qt GUI !!! (VLayout) var make; var dialog = Dialog.openPanel({ |list| make.(list) }, nil, true); var win = Window("Sample Player 3000").front; var samples = (); var but ...
-
... b.value=a.value.collect(_.quantize(quant, tol, strenght)) }; w.layout_( VLayout([ HLayout( StaticText().string_("quantum"), Slider().value_(quant).action_({arg self; quant=self.value.postln; f.()}), StaticText().strin ...
-
Re: Load and play samples from GUI (Qt GUI only), adapted to use SoundFile:cue by lfsaw (LFSaw) Code
*Needs Qt GUI (VLayout)* ----- Basic GUI for loading samples and playing them via button presses. Differences to the original version by rukano: + adapted to use SoundFile:cue + you can start and stop playing the samples //samplePlaye ...
-
... f calculating coordinates. Scrolling lists are usually arranged vertically, so: VLayout. But, there are a couple of tricks: * If you set the .layout of a ScrollView directly, the layout will use the visible area only -- no scrolling. ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... Menu.new; // layout buttonLayout = HLayout.new(*buttons); sliderLayout = VLayout.new(*sliders); numberBoxesLayout = HLayout.new(*numberBoxes); labelsLayout0 = VLayout.new(*labels0); labelsLayout1 = HLayout.new(*labels1); //layo ...
-
... size_(view.bounds.height * 0.5), Color.white ) }; view.layout_( VLayout( [counterView, stretch: 6], [numberView, stretch: 1] ).margins_(3) ); display.layout.add(view); }); Pbind( \instrument, \default, ...
-
... w(bounds:Window.screenBounds.width@Window.screenBounds.height); views.layout = VLayout(*rows.collect { |x| HLayout(*x) }); views.front; )