Skip to content

derhuerst/speaker-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published