lucianodato / libspecbleach

C library for audio noise reduction and other spectral effects
GNU Lesser General Public License v2.1
63 stars 12 forks source link

How to use the example programs? #53

Open vu3rdd opened 1 year ago

vu3rdd commented 1 year ago

Hello!

I want to play with the library and found the example programs and compiled them. I am using the latest HEAD version of the library. When I pass a captured wav file to the denoiser_demo program, the output wav file sounds very mechanical and machine-like (like the sound of robots in old movies). I tried playing with the SpectralBleachParameters before it is passed to the load function. They do not seem to have any effect. Clearly, I am using it wrong.

Also towards the end of the denoiser_demo run, I get this error:

double free or corruption (!prev)
Aborted
lucianodato commented 1 year ago

Sorry for the late reply, I'll take a look at it. For now if you want to use it just use the latest release which should work correctly.

vu3rdd commented 1 year ago

Thanks. I tried both latest main branch as well as the latest release (1.6.0). I get the error and garbled audio in both the versions with the demo code in examples directory. However, I tried the noise-repellent on ardour via the plugin and that seem to work fine. So, may be something to do with only the example code?