Sha256: 3fbf1a058cfdae289fc2d002566c4913b36b790361ab2c823f270bfce8cf0f6f
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
# Module for style guidelines. module HeadMusic::Style::Guidelines; end # A counterpoint guideline class HeadMusic::Style::Guidelines::AlwaysMove < HeadMusic::Style::Annotation MESSAGE = "Always move to a different note." def marks melodic_intervals .select { |interval| interval.perfect? && interval.unison? } .map { |interval| HeadMusic::Style::Mark.for_all(interval.notes) } end end
Version data entries
9 entries across 9 versions & 1 rubygems