lib/head_music/pitch.rb in head_music-0.6.0 vs lib/head_music/pitch.rb in head_music-0.6.1
- old
+ new
@@ -78,10 +78,10 @@
def enharmonic?(other)
self.midi_note_number == other.midi_note_number
end
def +(value)
- Pitch.get(self.to_i + value.to_i)
+ HeadMusic::Pitch.get(self.to_i + value.to_i)
end
def -(value)
if value.is_a?(HeadMusic::Pitch)
# return an interval