Files
lmms/data/themes/default
Michael Gregorius 042f8ac325 Add peak indicators (#7295)
Add peak indicators to the mixer strips. They show the maximum peak value
that was observed and can be reset by clicking on them.

## Implementation details
The implementation works via a signal/slot mechanism. The `Fader` class
has a new signal `peakChanged` which reports peak values as
amplifications. A new class `PeakIndicator` is added which has a slot
`updatePeak` which is connected to the new signal in `Fader`.

The `PeakIndicator` inherits from `QLabel` and mainly deals with updating
the label text from the current peak value.

Add a `PeakIndicator` instance to `MixerChannelView`. Add a `reset`
method to `MixerChannelView` so that the mixer channel can be reset on
the loading of new projects, etc. The current implementation resets the
peak indicator back to -inf dbFS. The `reset` method is called in
`MixerView::clear`.

Remove the clamping in `Fader::setPeak` so that all peaks are reported.
Emit the new signal if the peak changes.
2024-06-01 12:09:47 +02:00
..
2016-07-29 00:39:10 +02:00
2021-03-05 09:31:27 -03:00
2020-07-26 11:14:18 -07:00
2020-10-19 22:18:21 +02:00
2016-07-29 00:39:10 +02:00
2017-10-10 19:05:37 +02:00
2023-11-11 18:09:38 -05:00
2023-11-11 18:09:38 -05:00
2017-10-10 19:05:37 +02:00
2020-07-26 11:14:18 -07:00
2020-07-26 11:14:18 -07:00
2022-01-09 08:15:23 +01:00
2016-10-04 12:06:50 +02:00
2020-07-26 11:14:18 -07:00
2020-07-26 11:14:18 -07:00
2019-06-08 11:57:56 +02:00
2024-06-01 12:09:47 +02:00
2020-10-19 22:18:21 +02:00
2020-07-26 11:14:18 -07:00
2023-08-31 19:21:26 +02:00