rnnoise icon indicating copy to clipboard operation
rnnoise copied to clipboard

Adapting RNNoise C Code for 16kHz Sample Rate with Pre-trained Model

Open erwiower2 opened this issue 5 months ago • 0 comments

Hello Community, I have a question regarding the adaptation of my existing C code (sample_code.c), which includes rnnoise.h. Currently, the code is designed for a sample rate of 48000 kHz, but I want to switch it to 16000 kHz, as I already have an RNNoise model trained at 16000 kHz.

If I simply change to 16000kHz in my sample_code.c, RNNoise itself will still recognize 48000kHz. That's why I think I need to edit a file somewhere in ~/rnnoise/src.

erwiower2 avatar Jul 23 '25 03:07 erwiower2