Skip to content

hifi-decode: Normalize option, fix Hifi GUI#198

Merged
harrypm merged 2 commits intooyvindln:vhs_decodefrom
eshaz:hifi-decode-auto-gain
Feb 24, 2025
Merged

hifi-decode: Normalize option, fix Hifi GUI#198
harrypm merged 2 commits intooyvindln:vhs_decodefrom
eshaz:hifi-decode-auto-gain

Conversation

@eshaz
Copy link

@eshaz eshaz commented Feb 24, 2025

  • Add --normalize option to adjust the gain of the decoded output up to the peak gain.
    • This creates a temporary file that stores the float32 samples of the decoded audio. After the decode is completed, the temporary file is read again, each sample multiplied by 1/peak_gain and saved to the final output file.
  • Fix: prevent the hifi-gui from locking up during a decode.

@eshaz eshaz force-pushed the hifi-decode-auto-gain branch from f56dce5 to c92101e Compare February 24, 2025 23:22
@harrypm harrypm merged commit cf1bf37 into oyvindln:vhs_decode Feb 24, 2025
@eshaz eshaz deleted the hifi-decode-auto-gain branch February 25, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants