0.1.2 • Published 10 years ago
audio-out v0.1.2
audio out

Output an Audio object to the speaker.
Output an Audio object to the speaker.
var Audio = require('audio');
var out = require('audio-out');
// Create audio.
var foo = new Audio(Buffer.allocUnsafe(800 * 4), {
depth: 16,
rate: 800
});
// Output audio to speakers.
out(foo);Installation
$ npm install --save audio-outAPI
out(audio)
Output a given audio to the speaker.
audio(Audio): Audio to output to the speaker.
Returns a Speaker instance.
Credits
| Jamen Marzonie |
License
MIT © Jamen Marzonie