node-sound
Version:
A library to play audio files from nodejs applications
17 lines (14 loc) • 396 B
Markdown
This is a library to play audio files from nodejs applications. This is a work in progress and may not be stable. But you can use and share your feedbacks.
`npm install node-sound`
or
`yarn add node-sound`
```js
const { NodeSound } = require('node-sound');
const player = NodeSound.getDefaultPlayer();
player.play('sample.wav').then(() => {
// TO DO
})
```