Sha256: c011be0fead8fc41f3860720e259aa657cbac43987c47cf60603b4399e2e7d8c
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 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. select { |interval| interval.perfect? && interval.unison? }. map { |interval| HeadMusic::Style::Mark.for_all(interval.notes) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
head_music-0.19.0 | lib/head_music/style/annotations/always_move.rb |