Skip to content

Play sounds by shelling out to one of the available audio players.

Notifications You must be signed in to change notification settings

MichMich/play-sound

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-sound

Build Status

Play sounds by shelling out to one of the available audio players.

installation

npm install play-sound

examples

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

options

  • players – List of available audio players to check. Default:
  • player – Audio player to use (skips availability checks)

prior art

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

license

MIT

About

Play sounds by shelling out to one of the available audio players.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%