speaker-cli
Command line tool to listen to what you pipe inside. Remember that the input needs to be raw audio (PCM).
npm i -g speaker-cli# convert any audio file and play it ffmpeg -i some-audio.mp3 -f s16le -acodec pcm_s16le - | speaker
Installing
npm install -g speaker-cli
Or use npx
. ✨
Usage
Usage: speaker Examples: cat some-audiopcm | speaker
Related
speaker
– The library used by this tool.
Contributing
If you have a question or have difficulties using speaker-cli
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.