Class: HeadMusic::Style::Guidelines::ConsonantClimax

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

Overview

A counterpoint guideline

Constant Summary collapse

MESSAGE =
"Peak on a consonant high or low note one time or twice with a step between."

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



10
11
12
# File 'lib/head_music/style/guidelines/consonant_climax.rb', line 10

def marks
  HeadMusic::Style::Mark.for_each(highest_notes) unless adherent_climax?
end