xiph / rnnoise

Recurrent neural network for audio noise reduction
BSD 3-Clause "New" or "Revised" License
4.02k stars 890 forks source link

Is model accuracy affected by buffer size of scriptProcessor node for js implementation? #203

Open A-KVerma opened 2 years ago

A-KVerma commented 2 years ago

Hey, Congratulations for the awesome work. I was testing the code and seems like buffer size used while creating the script Processor node is impacting the model accuracy. For Ex: if bufferSize=4096 of scriptProcessor node with 48KHz, noise suppression is better as compared to bufferSize=1024. Any idea on it? @jmvalin

Thanks

A-KVerma commented 2 years ago

I was also checking the code you have used for js implementation of RNNNoise and you are using bufferSize = 16384, any reason for it ?? @jmvalin Thanks