by huimang · 3y ago · 0 comments
The chords for guitar also are weird. It doesn't seem to be using traditional shapes, but is looking for available notes within a fret range. Which leads to difficult, basically unusable fingerings.
The other functions would be very useful to have, if it worked. Maybe one day I'll write a similar CLI tool.
The Readme had some outdated information. Explained better on the issue https://github.com/pedrozath/coltrane/issues/56
> The chords for guitar also are weird. It doesn't seem to be using traditional shapes, but is looking for available notes within a fret range. Which leads to difficult, basically unusable fingerings.
That's a design choice on this library. I tried to rely the least as possible on lookup tables, dictionaries, etc, leaving things to be discovered algorithmically instead. It is a difficult challenge, but for example if someone decides to use an entirely different tuning, the software will provide. The software might also find chords that you have never thought about. What has to be improved here is the sorting mechanism for guitar chords.
> The other functions would be very useful to have, if it worked
Just try running `coltrane` and test it interactively.
Not knowing ruby, I can't really invest too much time trying it to work. :<
$ bundler
$ ./bin/coltrane
? Welcome to Coltrane 4.1.1 (You chose: notes)
? Which notes?
> C E D F G A
? How to display? (You chose: Guitar)
-> coltrane notes notes:C-E-D-F-G-A representation:Guitar
[[ omitted ]] ? What to do now? (Choose with ↑ ↓ ⏎, filter with 'f')
> 1. Different notes
2. Different representation
3. Go back $ bundler
[... many packages listed ...]
Using coltrane 4.1.1
[... some more packages ...]
$ ./bin/coltrane
zsh: no such file or directory: ./bin/coltrane
$ gem which coltrane
/opt/homebrew/lib/ruby/gems/3.2.0/gems/coltrane-4.1.1/lib/coltrane.rb
$ /opt/homebrew/lib/ruby/gems/3.2.0/gems/coltrane-4.1.1/bin/coltrane
Could not find [... many packages ...]
Run `bundle install` to install missing gems.
but I have just ran `bundler` above...help?