1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

5 Commits

Author SHA1 Message Date
Max Maisel
17ef5b1c75 Fix two bugs in loudness effect (#410)
* Calculate loudness for short or silent selections as well.

In case of selections shorter than 400ms (one momentary loudness block),
take what we have got and divide only be the actual length.

Abort loudness normalization silently if the selected audio is all
silent.

* Fix loudness effect bug when selection includes a gap.

If the selected audio in a track contained a gap between two clips,
an incorrect amount of samples was processed.
2020-01-24 18:04:19 +00:00
Max Maisel
5f0c02273e Fix Loudness effect unit tests
Introduce new helper functions which handle selection and update
scripted selection to new upstream.
2019-11-22 19:42:33 +01:00
Max Maisel
0bac2a5e75 Add Loudness effect RMS unit tests. 2019-11-22 19:42:33 +01:00
Max Maisel
2649179ef3 Add Loudness effect perceived loudness unit tests. 2019-11-22 19:42:33 +01:00
Max Maisel
6da48db127 Start work on new Loudness effect
This is based on my old loudness effect prototype which was included
in the Normalize effect.

Create all source files and add them to all build systems.
Currently, the effect only consists of a GUI mockup.
Create Octave+mod-script-pipe based dummy unit-test as well.
2019-11-22 19:42:32 +01:00