I am getting the infamous (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit. with the following code:
I am storing the audio samples as files in a directory, numbered from 1 - x. When encoding shall begin, fs.readdir() is scanning these and piping them all into the wavWriter.
What am I doing wrong? Or it is a bug? There isn't much documentation here, so that's why I am asking right here for advice. Many thanks.
I am getting the infamous
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
with the following code:I am storing the audio samples as files in a directory, numbered from 1 - x. When encoding shall begin,
fs.readdir()
is scanning these and piping them all into the wavWriter.What am I doing wrong? Or it is a bug? There isn't much documentation here, so that's why I am asking right here for advice. Many thanks.