Sha256: 8b0d37e10a32373bb904f4a297f7a5de93d3dbf0165f55e1389c0ffb8ce71da3

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

# Module for Annotations.
module HeadMusic::Style::Annotations; end

# A counterpoint guideline
class HeadMusic::Style::Annotations::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

2 entries across 2 versions & 1 rubygems

Version Path
head_music-0.19.0 lib/head_music/style/annotations/start_on_tonic.rb
head_music-0.18.0 lib/head_music/style/annotations/start_on_tonic.rb