speaker-cli

1.0.0 • Public • Published

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

npm version ISC-licensed chat on gitter support me on Patreon

Installing

npm install -g speaker-cli

Or use npx. ✨

Usage

Usage:
    speaker
 
Examples:
    cat some-audio.pcm | 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.

Package Sidebar

Install

npm i speaker-cli

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

3.19 kB

Total Files

4

Last publish

Collaborators

  • derhuerst