You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changelog
2
2
3
+
## [Unreleased]
4
+
5
+
* Add command line option `--transpose` to specify a number of semitones to be added or subtracted before printing the chord chart ([#24](https://github.com/noeddl/ukebox/issues/24)).
6
+
3
7
## [0.5.0] - 2020-01-02
4
8
5
9
* Add subcommand `name` for looking up the chord name(s) corresponding to a given chord fingering ([#18](https://github.com/noeddl/ukebox/issues/18)).
Copy file name to clipboardExpand all lines: README.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@
13
13
* shows you how to play a given chord on a ukulele by printing a **chord chart** in ASCII art
14
14
* presents the **chord name(s)** corresponding to a chord fingering given in [numeric chord notation](https://ukenut.com/compact-fretted-chord-notation/)
15
15
* supports **different ukulele tunings** (C, D and G)
16
-
* can present **different fingerings** of the same chord along the fretbord
16
+
* can present each chord in **different positions** along the fretbord
17
+
* allows you to **transpose** a chord by any number of semitones
17
18
18
19
## Installation
19
20
@@ -47,7 +48,7 @@ SUBCOMMANDS:
47
48
name Chord name lookup
48
49
```
49
50
50
-
When running the program with Rust, replace the command `ukebox` with `cargo run --release`, e.g. `cargo run --release chart G`.
51
+
When running the program with Rust, replace the command `ukebox` with `cargo run --release`, e.g. `cargo run --release -- chart G`.
51
52
52
53
### Chord chart lookup
53
54
@@ -62,8 +63,9 @@ FLAGS:
62
63
-V, --version Prints version information
63
64
64
65
OPTIONS:
65
-
-f, --min-fret <min-fret> Minimal fret (= minimal position) from which to play <chord> [default: 0]
66
-
-t, --tuning <tuning> Type of tuning to be used [default: C] [possible values: C, D, G]
66
+
-f, --min-fret <min-fret> Minimal fret (= minimal position) from which to play <chord> [default: 0]
67
+
--transpose <transpose> Number of semitones to add (e.g. 1, +1) or to subtract (e.g. -1) [default: 0]
68
+
-t, --tuning <tuning> Type of tuning to be used [default: C] [possible values: C, D, G]
67
69
68
70
ARGS:
69
71
<chord> Name of the chord to be shown
@@ -113,6 +115,26 @@ A -|---|---|-o-|---|- D
113
115
3
114
116
```
115
117
118
+
```
119
+
$ ukebox chart --transpose 1 C
120
+
[C# - C# major]
121
+
122
+
A ||---|---|---|-o-|- C#
123
+
E ||-o-|---|---|---|- F
124
+
C ||-o-|---|---|---|- C#
125
+
G ||-o-|---|---|---|- G#
126
+
```
127
+
128
+
```
129
+
$ ukebox chart --transpose -2 C
130
+
[Bb - Bb major]
131
+
132
+
A ||-o-|---|---|---|- Bb
133
+
E ||-o-|---|---|---|- F
134
+
C ||---|-o-|---|---|- D
135
+
G ||---|---|-o-|---|- Bb
136
+
```
137
+
116
138
### Chord name lookup
117
139
118
140
Use the subcommand `name` to look up the chord name(s) corresponding to a given chord fingering.
0 commit comments