Commit Graph

9 Commits

Author SHA1 Message Date
Mads Kiilerich 18527e4056
Use nice units for labels in the export spectogram
Before, the X-axis labels would be placed in nice even positions, but
with whatever odd time corresponded to that. That made it harder than
necessary to read the graph and approximate when things happened.

Instead, round the interval down to nearest power of ten ... and if
suitable, scale that up with a factor of 2 or 5. That will (with the
necessary handling of how seconds/minutes/hours relate) make sure that
the time labels are nice with a minimal amount of non-zero digits. That
makes it easy to do math and interpolate when reading the graph.

The number of labels will change between something like 4 and 10 -
before it was always something like 7. That is fine, as long as it helps
the readability.

The total length is no longer the right-most label, but the length can
be found in the top-right corner.
2022-10-15 19:57:35 +02:00
Mads Kiilerich 797dd872e3
ArdourGraphs::time_axis : Replace xalign by clamping
Prepare for more flexible placement of the labels, where the last label
not necessarily is completely at the end.
2022-10-15 19:57:35 +02:00
Mads Kiilerich 272df0ac58
ArdourGraphs::time_axis : Introduce a constant label_pos 2022-10-15 19:57:35 +02:00
Paul Davis 48ab542ffa fix signed/unsigned warning 2022-06-21 17:32:27 -06:00
Robin Gareus d0792a7721
Update Export Graph rendering for variable size 2021-12-24 19:54:00 +01:00
Robin Gareus 2eaf19a10b
Tweak loudness graph
* plot short on top of momentary data
* limit range to 65dB
2021-04-12 23:15:31 +02:00
Robin Gareus d3d4a8664f
Plot export-limiter redux on analysis-report 2021-04-12 23:15:31 +02:00
Robin Gareus 3bc4dcf36f
Add method to plot loudness analysis graph 2021-04-07 01:48:01 +02:00
Robin Gareus babf319cea
NO-OP: separate export-report image rendering 2021-04-07 01:47:00 +02:00