}
/* draw line with alpha corresponding to coarsest level */
- const uint8_t a = max(0, (int)rint(UINT_RGBA_A(base) / (0.75 * log2(level))));
+ const uint8_t a = max(8, (int)rint(UINT_RGBA_A(base) / (0.8 * log2(level))));
const uint32_t c = UINT_RGBA_CHANGE_A(base, a);
const framepos_t f = b->frame + (l * (fpb / (double)divisions));
if (f > leftmost_frame) {
beat_density = (beats * 10.0f) / lines.canvas()->width();
- if (beat_density > 4.0f) {
+ if (beat_density > 2.0f) {
/* if the lines are too close together, they become useless */
lines.clear ();
return;
lines.clear ();
- if (beat_density < 0.1 && begin != end && begin->frame > 0) {
+ if (beat_density <= 0.12 && begin != end && begin->frame > 0) {
/* draw subdivisions of the beat before the first visible beat line */
ARDOUR::TempoMap::BBTPointList::const_iterator prev = begin;
--prev;
lines.add (xpos, 1.0, color);
- if (beat_density < 0.1) {
+ if (beat_density <= 0.12) {
/* draw subdivisions of this beat */
draw_ticks(i, divisions, leftmost_frame, frame_rate);
}