rect(GENERIC_X_OFS, localY+SELECTED_MARKER+4, frames, WIDGET_BAR_SIZE);
fill(2, 52, 77);
rect(GENERIC_X_OFS+frames, localY+SELECTED_MARKER+4, xSizeForEachWidget-frames-WIDGET_BOARDER, WIDGET_BAR_SIZE);
//draw sound stats
ISound snd = Collector.getInstance().getSound();
int xofs = GENERIC_X_OFS+xSizeForEachWidget;
int xx = (xSizeForEachWidget-WIDGET_BOARDER*2)/3;
colorSelect(snd.isKick());
rect(xofs, localY+SELECTED_MARKER+4, xx, WIDGET_BAR_SIZE);
xofs+=xx+WIDGET_BOARDER/2;
colorSelect(snd.isSnare());
rect(xofs, localY+SELECTED_MARKER+4, xx, WIDGET_BAR_SIZE);
xofs+=xx+WIDGET_BOARDER/2;
colorSelect(snd.isHat());
rect(xofs, localY+SELECTED_MARKER+4, xx, WIDGET_BAR_SIZE);
//Draw input volume
int vol = (int)((xSizeForEachWidget-WIDGET_BOARDER)*snd.getVolumeNormalized());
fill(0, 180, 234);
rect(GENERIC_X_OFS+2*xSizeForEachWidget, localY+SELECTED_MARKER+4, vol, WIDGET_BAR_SIZE);
fill(2, 52, 77);
rect(GENERIC_X_OFS+2*xSizeForEachWidget+vol, localY+SELECTED_MARKER+4, xSizeForEachWidget-WIDGET_BOARDER-vol, WIDGET_BAR_SIZE);