Sha256: 474fb42d0f0643c4cd57985bfbd1654a4ef39bef44a34e742a43ac0f3ff5d7e6

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

module HeadMusic::Style::Annotations
end

class HeadMusic::Style::Annotations::StartOnTonic < HeadMusic::Style::Annotation
  MESSAGE = 'Start on the first scale degree.'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
head_music-0.17.0 lib/head_music/style/annotations/start_on_tonic.rb
head_music-0.16.2 lib/head_music/style/annotations/start_on_tonic.rb