node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

tplayer

A console music player with audio spectrum

Usage:

  1. npm install -g tplayer
  2. tplayer dir_to_your.mp3

Environment

For now tplayer only works with node v4.4.4. It is not working on v6.x.x, because of an issue of node-lame

refs:

dependencies

blessed-contrib: console chart lib node-speaker: play pcm stream node-lame: mp3 stream to pcm stream

plans

  • [ ]: The default stream chunk size is a little big, this makes the bars updating a little slow. According to the stream doc, one can make his own read stream with certan size.

License

MIT