class HeadMusic::Style::Guidelines::StartOnPerfectConsonance
marks the voice if the first note is not the first or fifth scale degree of the key.
Constants
- MESSAGE
Public Instance Methods
marks()
click to toggle source
# File lib/head_music/style/guidelines/start_on_perfect_consonance.rb, line 10 def marks return unless first_note && ((bass_voice? && !starts_on_tonic?) || !starts_on_perfect_consonance?) HeadMusic::Style::Mark.for(first_note) end
Private Instance Methods
starts_on_perfect_consonance?()
click to toggle source
# File lib/head_music/style/guidelines/start_on_perfect_consonance.rb, line 18 def starts_on_perfect_consonance? diatonic_interval_from_tonic(first_note).perfect_consonance?(:two_part_harmony) end