Class: HeadMusic::Style::Guidelines::AvoidCrossingVoices

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

Overview

A counterpoint guideline

Constant Summary collapse

MESSAGE =
"Avoid crossing voices. Maintain the high-low relationship between voices."

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
13
14
# File 'lib/head_music/style/guidelines/avoid_crossing_voices.rb', line 10

def marks
  crossings.map do |crossing|
    HeadMusic::Style::Mark.for_all(crossing.notes)
  end
end