stdaudio

1.0.4 • Public • Published

stdaudio

Takes PCM data from stdin, plays it on your speaker

Installation

npm install -g stdaudio

Usage

Usage: stdaudio [options]

Options:

-h, --help            output usage information
-V, --version         output the version number
-c, --channels <n>    number of channels in audio data
-b, --bitdepth <n>    bit depth of audio data
-s, --samplerate <n>  samplerate of audio data

Example

cat test/NXCAM_Guitar_audio_demo_v2.wav | stdaudio

The above will start playing the wav file on the local device's speakers.

Package Sidebar

Install

npm i stdaudio

Weekly Downloads

4

Version

1.0.4

License

MIT

Last publish

Collaborators

  • sourabhd