0.1.2 • Published 8 years ago

audio-out v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

audio out NPM version Build Status Dependencies

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-out

API

out(audio)

Output a given audio to the speaker.

  • audio (Audio): Audio to output to the speaker.

Returns a Speaker instance.

Credits

jamen
Jamen Marzonie

License

MIT © Jamen Marzonie

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago