nu774 / qaac

CLI QuickTime AAC/ALAC encoder
Other
780 stars 40 forks source link

[Feature Request] Peak in dB #65

Closed Dendraspis closed 3 years ago

Dendraspis commented 3 years ago

Hello, it would be nice if the peak could also be displayed when normalizing.

qaac source.w64 --peak leads to: peak: 0.577151 (-4.77421dB)

qaac source.w64 dest.aac -v128 --normalize otherwise displays: Peak value: 0.577151

An identical output message would be sweet.

I'm totally out of C++, but I opened PR #66 - maybe you can use it.


https://github.com/nu774/qaac/blob/8f417571bd939674f623e72760d563ed42ae7dd2/main.cpp#L334-L344

https://github.com/nu774/qaac/blob/8f417571bd939674f623e72760d563ed42ae7dd2/main.cpp#L661-L662