echode
v1.0.1
Published
Echode is a small library to play local audio files using NodeJS. It relies on FFplay, so make certain that FFmpeg is installed!
Downloads
4
Readme
Echode is a small library to play local audio files using NodeJS. It relies on FFplay, so make certain that FFmpeg is installed!
Installation
$ npm i install echode
or
$ yarn add echode
Important
Make certain FFmpeg, specifically FFplay is available on your system. Otherwise this library will not work.
Usage
import { playAudio } from "echode";
await playAudio("sound.mp3");
That's it!