lib/rb-music/note.rb in motion-music-0.0.4 vs lib/rb-music/note.rb in motion-music-0.0.5

- old
+ new

@@ -56,10 +56,10 @@ end alias_method :enharmonically_equivalent_to?, :enharmonic? def midi_note_number # see http://www.phys.unsw.edu.au/jw/notes.html - 12 * Math.log2(frequency / 440) + 69 + @note_number ||= (12 * Math.log2(frequency / 440) + 69).round end def scale(name, octaves = 1) NoteSet.from_scale(Scale.new(latin, name), octave, octaves) end