Giter Site home page Giter Site logo

cliaoke's Introduction

cliaoke

make-all make-image GoDoc

Command Line Karaoke

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/cliaoke

Requirements

Linux

  • Download fluidsynth and soundfonts on debian this was fluid-soundfont-gm.
Via Docker
$ 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:

(grab a copy of GeneralUser_GS_1.44-FluidSynth.zip from one of the mirrors in http://www.filewatcher.com/m/GeneralUser_GS_1.44-FluidSynth.zip.28596599-0.html)

$ brew install fluidsynth
$ 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?)

Usage

$ cliaoke -h
cliaoke -  Command line karaoke.

Usage: cliaoke <command>

Flags:

  -d  enable debug logging (default: false)

Commands:

  version  Show the version information.

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...

Analytics

cliaoke's People

Contributors

github-actions[bot] avatar jessfraz avatar miles- avatar robputt avatar smartwatermelon avatar toc-me[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cliaoke's Issues

Proposal: Scroll speed adjustment

Figured I'd open a separate issue for this. I noticed right now you have a 1 sec sleep count on scroll speed, but for the songs I've tried so far that's a bit fast. Maybe a cool feature would be for the program to accept an optional sleep count from the user.

Can't find song lyrics :-(

Seems to never load any lyrics no matter which midi file I choose.

cli-aoke sing Jay-Z_-Hard_Knock_Life.mid
DJ cli-aoke on the request line.
Bringing up the track...
Fetching lyrics...
Sowwwwyyyyy
Search for Jay-Z
-_Hard_Knock_Life.mid returned zero results.

Going to look into this and if required raise a PR. Watch this space :-).

Unable to rock out w/ cli-aoke on OS X El Cap

I can't for the life of me get cli-aoke to work on the newest version of OS X.

the sing command always returns as follows

hernamesbarbara at hernamesbarbara-MBP in ~
$ cli-aoke sing Jay-Z_-_Hard_Knock_Life.mid
DJ cli-aoke on the request line.
Bringing up the track...
Fetching lyrics...
Sowwwwyyyyy
Search for Jay-Z_-_Hard_Knock_Life.mid returned zero results.

Save lyrics after downloaded once

Hey jfrazelle! I love this little program. I was wondering if you had any intentions on growing it further. I was thinking that it would be nice if it could save the lyrics after being downloaded once to a folder - so you could use the program offline as well.

Otherwise, I could try my hand at it, but only if you think it useful.

docker image instruction fails to run cliaoke

I tried to run via docker as per instructions, but I am getting:

docker run --rm -it \
    --device /dev/snd \
    jess/cliaoke hard_knock_life
docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/snd": lstat /dev/snd: no such file or directory.

No idea where to go from here.
Google search on the error returns a very old, by now solved, issue for docker...

Here is my platform info if of any help:
MacBook Pro - Mid 2009 (yes old...and maybe due to docker limitations...)
OSX 10.9.5
Docker version 1.12.1, build 23cf638

I was curious to try cliaoke out...if too time consuming...just discard this issue. Tnks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.