music_theory 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/music_theory/third.rb +1 -1
- data/lib/music_theory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccfbaaf5a5194cb1b635cc723619838f0559a587
|
4
|
+
data.tar.gz: f55558f4f5f1b037701e9cf800cc02e5cd973320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f77bef714edece2f1ff80dae892faccf8166b0f4341982340eaec39fe32d60795cabebf7a03e2f0d58952aee29205aa6b8b1f62c6b8f088cdcaa16301b2aaf0
|
7
|
+
data.tar.gz: d832a961a8bee09e083f721c250ca53374394b3c30c1f637080322d7b4a542d1105645cdc65cfed55cfa490122cc8cc5915053ae0567a5cc9da0a2de61855787
|
data/lib/music_theory/third.rb
CHANGED
@@ -14,7 +14,7 @@ module MusicTheory
|
|
14
14
|
current += group.sum
|
15
15
|
all_notes << double_scale_notes[current]
|
16
16
|
end
|
17
|
-
all_notes.uniq
|
17
|
+
all_notes.compact.uniq {|note| note.frequency}.sort_by! {|note| note.frequency}
|
18
18
|
end
|
19
19
|
|
20
20
|
def samples
|
data/lib/music_theory/version.rb
CHANGED