Capture, modify and then output audio in electron
<p>I'm trying to capture, modify and finally output audio in node with <a href="http://electron.atom.io" rel="noreferrer">Electron</a> (Mac OSX). These are the steps:</p>

<ol>
<li>Capture the audio before it's output, possibly via CoreAudio.</li>
<li>Modify the audio stream/buffer via the Web Audio API.</li>
<li>Output the modified buffer to the sound device.</li>
</ol>

<p>I've tried <a href="https://github.com/ZECTBynmo/node-core-audio" rel="noreferrer">node-core-audio</a>. However, the most I can achieve is a rapid glitching sound. Other than this a I haven't been able to find a good solution I/O of audio.</p>

<p>How can I achieve this without sacrificing sound quality?</p>