ukebox

Build Status

ukebox is a command-line tool that shows you how to play a given chord on a ukulele by printing a chord diagram in ASCII art.

Installation

ukebox is intended to be a stand-alone command-line application but for the time being you need Rust (version >= 1.37.0) to build and run the program. The easiest way is to use cargo.

$ cargo install ukebox

Alternatively, get the source code by cloning the repo from Github.

$ git clone https://github.com/noeddl/ukebox

Downloadable binaries for different platforms will be provided in upcoming releases.

Usage

``` USAGE: ukebox [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -f, --min-fret Minimal fret (= minimal position) from which to play [default: 0] -t, --tuning Type of tuning to be used [default: C] [possible values: C, D, G]

ARGS: Name of the chord to be shown ```

Currently, ukebox can handle the following types of chords:

More types of chords will be supported in future versions.

Examples

When running the program with Rust, replace the command ukebox with cargo run --, e.g. cargo run -- G.

``` $ ukebox G [G - G major]

A ||---|-o-|---|---|- B E ||---|---|-o-|---|- G C ||---|-o-|---|---|- D G o||---|---|---|---|- G ```

``` $ ukebox G --min-fret 3 [G - G major]

A -|-o-|---|---|---|- D E -|---|---|-o-|---|- B C -|---|---|-o-|---|- G G -|---|---|-o-|---|- D 5 ```

``` $ ukebox G --tuning D [G - G major]

B o||---|---|---|---|- B F# ||-o-|---|---|---|- G D o||---|---|---|---|- D A ||---|-o-|---|---|- B ```

``` $ ukebox G --tuning D --min-fret 3 [G - G major]

B -|-o-|---|---|---|- D F# -|---|---|-o-|---|- B D -|---|---|-o-|---|- G A -|---|---|-o-|---|- D 3 ```

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.