Sha256: c495c612a9400341792055add9cd0a46138ed1493bd9f0d8952d0d83001b8e46
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true # Module for Annotations. module HeadMusic::Style::Annotations; end # A counterpoint guideline class HeadMusic::Style::Annotations::AlwaysMove < HeadMusic::Style::Annotation MESSAGE = 'Always move to a different note.' def marks melodic_intervals.map.with_index do |interval, i| HeadMusic::Style::Mark.for_all(notes[i..i + 1]) if interval.shorthand == 'PU' end.compact end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
head_music-0.18.0 | lib/head_music/style/annotations/always_move.rb |