lib/coltrane/theory/note.rb in coltrane-3.0.0 vs lib/coltrane/theory/note.rb in coltrane-3.1.0
- old
+ new
@@ -16,10 +16,10 @@
class Note < PitchClass
attr_reader :alteration
ALTERATIONS = {
'b' => -1,
- '#' => 1
+ '#' => +1
}.freeze
def initialize(arg)
note_name = case arg
when String then arg