A console music player with audio spectrum
Usage:
npm install -g tplayer
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