osm icon indicating copy to clipboard operation
osm copied to clipboard

Add Leq/LAeq Times | Adjustability?

Open Spacelord09 opened this issue 1 year ago • 4 comments

Hey, great project! Could you add 10min + 120min Leq/LAeq?

Is it just a matter of changing this code snippet and then recompiling it?

src/math/leq.cpp

const std::unordered_map<std::size_t, QString> Leq::m_timeMap = {
    {  1 * 60, "  1 min" },
    {  5 * 60, "  5 min" },
    { 10 * 60, " 10 min" },
    { 15 * 60, " 15 min" },
    { 30 * 60, " 30 min" },
    { 60 * 60, " 60 min" },
    { 120 * 60, "120 min" },
};

Another idea would be to make the whole thing adjustable in the UI. Is this possible with the current architecture?

Spacelord09 avatar Jul 10 '24 13:07 Spacelord09

@psmokotnin ?

Spacelord09 avatar Aug 05 '24 12:08 Spacelord09

Yeah, already added it to my list for upcoming release

psmokotnin avatar Aug 05 '24 20:08 psmokotnin

Implemented in b15a7c9

Thanks @psmokotnin!

If user adjustability is not planned, please close the issue.

Spacelord09 avatar Nov 05 '24 23:11 Spacelord09

adjustability is in the plan. That's why I'm closing it now :)

psmokotnin avatar Nov 06 '24 07:11 psmokotnin