Sha256: a39318cfdfd099cb0e01ca30929ac149a797932510538491f105c3ce7459e506

Contents?: true

Size: 359 Bytes

Versions: 21

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

# Module for style guidelines.
module HeadMusic::Style::Guidelines; end

# A counterpoint guideline
class HeadMusic::Style::Guidelines::StartOnTonic < HeadMusic::Style::Annotation
  MESSAGE = 'Start on the first scale degree.'

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
head_music-0.19.1 lib/head_music/style/guidelines/start_on_tonic.rb