-
... 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 ...
-
... Names.postln.includes(but.states[0][0].asSymbol) }; }; w.view.layout = HLayout( VLayout( StaticText(w).string_("modes"), *modebuts = mf.modes.keys(Array).sort.collect { |modeName| Button(w).states_([[ modeName ], [modeName, Color.white, Col ...
-
... 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 ...
-
... onitor", Rect.new(0, 0, 400, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( clockScrollView = ScrollView.new ); scrollCanvas = View(); scrollCanvas.layout = VLayout(); clockScrollView.canvas = scrollCanvas; } }
-
... ipjack =skipjack ?? {this.makeSkipjack()}; this.checkAllActiveSlots(); layout = VLayout( // [VLayout( // [title, stretch: 1, align: \topLeft], // [transportButtons, stretch: 2, align: \topLeft], // [presetButtons, stretch: 3, align: \topLef ...
-
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 ...
-
... roxy later on objectDict[paramName] = (valueLabel: valueLabel, slider: slider); VLayout( label, HLayout( [slider, stretch: 5], [valueLabel, stretch: 1] ) ) }; ~guiObjects.put(sourceName, objectDict); sliders }; // Make the GUI for the entir ...
-
... v.addDependant(this); this.onClose_({ pv.removeDependant(this) }); mstrLayout = VLayout().spacing_(4); this.layout_(mstrLayout); // this.resize_(5); this.initWidgets; pv.units_(units); this.layItOut; // hide motion views initially [whichCyc ...
-
... s = midiControlButtons.reshape(8,2); if (midiOut.isNil.not,{ container.layout = VLayout( StaticText.new.string_("MIDI Part Switch").fixedHeight_(15).align_(\center), HLayout(*reshapedMidiControlButtons[0]), HLayout(*reshapedMidiControlButto ...
-
... *new { |ip, diag| ^super.new.init(ip, diag); } init { |ip, diag| this.layout = VLayout( StaticText.new.string_(ip.asString), HLayout( StaticText.new.string_("beats:"), beat = StaticText.new, StaticText.new.string_("local time:"), localTime ...