morsejs-render-webaudio
A plugin for morsejs to play translated messages as with WebAudio.
Installation
Dependency
npm install --save morsejs-render-webaudio
Testing
It is moderately difficult to write automated unit tests for a node.js project that utilizes WebAudio. Normally, I test automatically with PhantomJS. However, as of right now PhantomJS does not support video or audio APIs which is understandable since it is supposed to be a headless browser.
Usage
var morsejs = morsejsRenderWebAudio = translatedMessage = morsejs; morsejsRenderWebAudio;