Closed wuwenshan closed 2 years ago
Hi guys,
I would like to know what changes do I need to do if I want to train a model with 8khz audio, I tried to change some parameters in the
denoise.c
like this#define BLOCK_SIZE 8000 #define FRAME_SIZE (20<<FRAME_SIZE_SHIFT) #define SAMPLE_RATE 8000 #define PITCH_MIN_PERIOD 10 #define PITCH_MAX_PERIOD 128 #define PITCH_FRAME_SIZE 160 #if SMOOTH_BANDS //#define NB_BANDS 22 #define NB_BANDS 14 #else //#define NB_BANDS 21 #define NB_BANDS 13 #endif
After compiling, I got a matrix with shape
500000 x 63
, the number of features (63) is for me normal because we have less samples, and even the training is doing well, I do not get high loss or what, it seems to learn something. But at the end of the day, I get sizzle audio and it doesn't seems to do anything with noise reduction.Sorry for bothering you again @YongyuG, can you provide me some informations about the code, how did you manage to turn it in 16khz and according to you, is it possible or not to turn it in 8khz.
Hi, sorry for late reply.
Hi guys,
I would like to know what changes do I need to do if I want to train a model with 8khz audio, I tried to change some parameters in the
denoise.c
like thisAfter compiling, I got a matrix with shape
500000 x 63
, the number of features (63) is for me normal because we have less samples, and even the training is doing well, I do not get high loss or what, it seems to learn something. But at the end of the day, I get sizzle audio and it doesn't seems to do anything with noise reduction.Sorry for bothering you again @YongyuG, can you provide me some informations about the code, how did you manage to turn it in 16khz and according to you, is it possible or not to turn it in 8khz.