Shorter window variant?
rnnoise is incredibly effective and works just like it says on the tin. Outstanding, really. I do have one thing I'd really like to see, and that's a variant with a shorter window.
As I understand it, the present implementation uses a 20ms window with 10ms overlap, meaning that the absolute minimum latency achievable by the library is 10ms. This is far more than adequate for almost every use-case, but there is one where it just doesn't quite cut it, and that's self-monitoring - as in, hearing your own noise-cancelled microphone in your headphones. At 10ms, it's more than bearable, but distinctly apparent. At say 5ms, it would be a great deal less of an interference. Obviously this would come with a performance penalty, but in some cases it would be more than acceptable and a suitable trade-off for the added feature.
I'm not sure of the feasibility of this, though. Would it be as simple as defining a shorter window/frame size, and re-training the NN?
Any tips on this would be greatly appreciated!