v0.2.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlpLSRsACgkQGPNoXAAi
v/M3vhAA0xXLBiJ1QxBbpI0cgLvfPTbZcGrxezwMQpOVQ49i+33LeUTOBUH2MxCC
NWm1Gy+EKhdzVQnPAbJbXViiJMQUE2HDpAoA+BWDarV5cIQzPihbg4bZdq2mQo1H
qh5lSWt/ismj6i73u/Wg9OBFawSXZtF3dnfVdzMpJSxlUnOpOyQz9ON0NdN7gTdp
kTpPpHS1vmX0vpvRRGY4gXX94Hyz5zRR7DGDeIBFNheRSz+8H/6xDeZZ30/975OU
dWwMH9KW+4Z3iapDq5ML5FVFw39YuXEyF5nLgoDjRUH5CHzliOwsCcjfqlaymd7T
mFLSn6u+q0d568JqPdft/GCmlefwi8tZ2l3ZCFNVgeyEPs9H2xCAKfAVTu/gHn9g
H5VxTQ3wE5ihe+Pd+9kh9+SuhydaxBFy/pRfznq250gvkpU1k4KxqeKWyRnfh3I5
3vLfmfVuXLSlEyvTUH1PuNcwVgUVKym99xcCG0LI//BCOjJw+y8WwNb5hOJhHLxs
SFQD+mE1U8lb4lMWKjQp7w8ZDmiK5Rzhp20c5ACJuV/Oe6iVoRUuPsaxjnc0dn2q
AAGtiornRvM3uMyfkfyUnFe5Pj+5eeDplaEQBzNY4qv2nzuoz6jU0wbyAA4Rfcue
xib41mugEo0QpYY+PQ3EGn218FkBuO0iXYoOLyi/qlPQmNqGQbk=
=S6t1
-----END PGP SIGNATURE-----
Bump version to v0.2.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: 5c0587bc790e51cf70e15ba2565003dedbc47ebe
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION
  10. karaoke/
  11. lyrics/
  12. main.go
  13. main_unix.go
  14. main_windows.go
  15. midi/
  16. vendor/
  17. version/
README.md

cliaoke

Travis CI

Command Line Karaoke

Installation

Binaries

Via Go

$ go get github.com/jessfraz/cliaoke

Usage

List all songs

NOTE: This does not mean you have all these files locally, when you choose a song (if you have no already downloaded it from this repo) it will be downloaded for you.

$ cliaoke
COMMAND                             TITLE                               ARTIST
1979                                1979                                Smashing Pumpkins
99_ways_to_die                      99 Ways To Die                      Megadeth
...
hard_knock_life                     Hard Knock Life                     Jay-Z
...
missing_you                         Missing You                         Puff Daddy
mo_money_mo_problems                Mo Money Mo Problems                Notorious BIG
...

Play a song

$ cliaoke mo_money_mo_problems
DJ cliaoke on the request line.
Bringing up the track Mo Money Mo Problems...

Requirements

Linux

  • Download fluidsynth and soundfonts on debian this was fluid-soundfont-gm.

OR use my docker image

$ docker run --rm -it \
    --device /dev/snd \
    jess/cliaoke hard_knock_life
DJ cliaoke on the request line.
Bringing up the track Hard Knock Life...

OSX

This assumes you have setup fluidsynth in the following way:

$ brew install fluidsynth
$ wget http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.44-FluidSynth.zip
$ unzip GeneralUser_GS_1.44-FluidSynth.zip
$ mkdir -p /usr/local/share/fluidsynth
$ mv GeneralUser\ GS\ 1.44\ FluidSynth/GeneralUser\ GS\ FluidSynth\ v1.44.sf2 /usr/local/share/fluidsynth/generaluser.v.1.44.sf2

Running cliaoke with no arguments will list all the available songs. Once downloaded the songs are saved in a ~/.cliaoke/ directory.

Caveats for Mac Users

  • You must install fluidsynth according to the instructions below.
  • Sometimes the search for lyrics selects the wrong one, whomp whomp.
  • The lines being printed are not synced with the song. (maybe there is a way to parse the lyric metadata from a .mid file?)

Analytics