I\'m just new to portaudio and also to node. But I found this library and sample code: https://github.com/Streampunk/naudiodon/blob/master/scratch/inputToFile.js
I\'