Class: HeadMusic::Style::Guidelines::StartOnTonic

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

Overview

A counterpoint guideline

Constant Summary collapse

MESSAGE =
"Start on the first scale degree."

Instance Method Summary collapse

Constructor Details

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

Instance Method Details

#marksObject



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

def marks
  HeadMusic::Style::Mark.for(first_note) if first_note && !starts_on_tonic?
end