Class: HeadMusic::Style::Guidelines::NotesSameLength

Inherits:
Annotation
  • Object
show all
Defined in:
lib/head_music/style/guidelines/notes_same_length.rb

Overview

A counterpoint guideline

Constant Summary collapse

MESSAGE =
"Use consistent rhythmic unit."

Instance Attribute Summary

Attributes inherited from Annotation

#voice

Instance Method Summary collapse

Methods inherited from Annotation

#adherent?, #end_position, #fitness, #initialize, #message, #notes?, #start_position

Constructor Details

This class inherits a constructor from HeadMusic::Style::Annotation

Instance Method Details

#marksObject



8
9
10
# File 'lib/head_music/style/guidelines/notes_same_length.rb', line 8

def marks
  HeadMusic::Style::Mark.for_each(all_wrong_length_notes)
end