For utils.ts:

Feat: Implemented denoiseAudioBuffer using audio-denoiser.
Added denoiseAudioBuffer function to utils.ts, utilizing the audio-denoiser library for noise reduction.
Implemented robust error handling within denoiseAudioBuffer:
Returns the original audio if denoising fails (either due to an error or a null return).
Logs errors and warnings to the console for debugging.
Ensures podcast generation continues even if denoising fails.
All audio-related utilities.

AFAIK denoise is already handled by kokoro on python side, why do we need it here?

Also just to note, I added a bit of background noise to make it feels more realistic, probably you just need to disable it - no need denoise here

Ah yes :) That's exactly it, so there is a way to disable it? I didn't see option to disable noise, sorry.

I will add a checkbox for it

Thank you. Can you check the other changes the other files I uploaded, as they might fix something that you've been thinking to add :) Check what I wrote for the other two files.

ngxson changed pull request status to closed

The checkbox to add/remove noise is added in the latest version

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment