0.1.1 • Published 9 years ago

play-sound-v12 v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

play-sound

Build Status

Play sounds by shelling out to one of the available audio players based on node.js v0.12.x.

installation

npm install play-sound-v12

examples

var player = require('play-sound-v12')(opts = {})
player.play('foo.mp3') // $ mplayer foo.mp3 

Options:

  • players - list of available audio players to check (default: ['mplayer', 'afplay', 'mpg123', 'mpg321', 'play'])
  • player - audio player to use, skips availability checks

prior art

play.js - play sound files from node.js to your speakers

license

MIT