Sha256: ace439dfc1ee0e1b647183575e312ba792a7491ca4cf6ca348d248da1ba86208
Contents?: true
Size: 408 Bytes
Versions: 8
Compression:
Stored size: 408 Bytes
Contents
module HeadMusic::Style::Annotations end class HeadMusic::Style::Annotations::LimitOctaveLeaps < HeadMusic::Style::Annotation MESSAGE = "Use a maximum of one octave skip." def marks if octave_leaps.length > 1 octave_leaps.map do |leap| HeadMusic::Style::Mark.for_all(leap.notes) end end end private def octave_leaps melodic_intervals.select(&:octave?) end end
Version data entries
8 entries across 8 versions & 1 rubygems