Notches every 10dB for Volume Knobs and Sliders

• Mar 20, 2017 - 09:32
Reported version
Graphical (UI)
S5 - Suggestion

Awl::VolKnob currently have a range of -60dB to +10dB, set here: setRange(-60.0f, 10.0f);

Awl::VolSlider currently have a default range of -60dB to +20dB, set here: setRange(-60.0f, 20.0f);

I would like at the minimum to have notches every 10 dB. These would be very small. I also would like a larger notch to represent 0 dB.

Note that I am not necessarily proposing that we label every notch. I fear the GUI's might get too "cluttered".

I think the notches will give some reference point for when the user thinks about levels. I'm almost certain those volumes are all internally expressed in dB, according to my personal experiments viewing the waveform in audacity.


I also wanted to say I actually think should use built in Qt sliders and knobs. There is even QStyleOptionSlider::tickInterval which sounds like what is needed. Is it ok if I replace the custom ones with built in ones, instead of reinventing the wheel?