coltrane 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/coltrane/theory/greek_mode.rb +2 -3
- data/lib/coltrane/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8bcc965c58bf6b15535fb68f68afae4d2c2bc80c4093fed74d2262832493ae1
|
4
|
+
data.tar.gz: fbb8f333da624a0024cff3980393cf5b58d2072fc39f9f66cf7c5e90e974f8de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a3bbe886d212f9681fcee881062adf31f03420244d2a722768fadb7d3b13d6610afbc4ceb3411ffd83a86414aaa81e7723fda49279ee573bea3aba69733d5b1
|
7
|
+
data.tar.gz: e4415544069e87173a94a784cace25eb51b57f18763d9ad4b331ce49ea3738c07729c7fdc7c6b9ef5f25489de933ed8c777705dce35c1821936d7f8ca9ee4134
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,9 @@
|
|
5
5
|
- Fix chords so that they generate a barre and a non-barre version and prevent
|
6
6
|
barre chords from picking notes before the barre.
|
7
7
|
|
8
|
+
## [3.3.3]
|
9
|
+
- Fixes a bug in greek modes for accidental notes
|
10
|
+
|
8
11
|
## [3.3.2]
|
9
12
|
- Fixes greek modes so now they output correct sharps/flats
|
10
13
|
- Adds a coherence criteria for picking best guitar chords (based on distance between freqs.)
|
data/Gemfile.lock
CHANGED
@@ -18,8 +18,7 @@ module Coltrane
|
|
18
18
|
def initialize(mode, tone)
|
19
19
|
super name: mode.capitalize, notes: begin
|
20
20
|
@mode = mode.to_s
|
21
|
-
@tone = tone
|
22
|
-
# binding.pry
|
21
|
+
@tone = Note[tone]
|
23
22
|
base_major_notes
|
24
23
|
.rotate(mode_index)
|
25
24
|
.zip(letter_sequence)
|
@@ -30,7 +29,7 @@ module Coltrane
|
|
30
29
|
private
|
31
30
|
|
32
31
|
def letter_sequence
|
33
|
-
LETTER_SEQUENCE.yield_self { |seq| seq.rotate(seq.index(tone))}
|
32
|
+
LETTER_SEQUENCE.yield_self { |seq| seq.rotate(seq.index(tone.letter))}
|
34
33
|
end
|
35
34
|
|
36
35
|
def mode_index
|
data/lib/coltrane/version.rb
CHANGED