Sha256: ad32a821ea39aebfdaa65cce195cdd717d9e4c1779a7224a120131b0fbad3eb5
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
module HeadMusic::Style::Rulesets end class HeadMusic::Style::Rulesets::FuxCantusFirmus RULESET = [ HeadMusic::Style::Annotations::AlwaysMove, HeadMusic::Style::Annotations::AtLeastEightNotes, HeadMusic::Style::Annotations::ConsonantClimax, HeadMusic::Style::Annotations::Diatonic, HeadMusic::Style::Annotations::EndOnTonic, HeadMusic::Style::Annotations::FrequentDirectionChanges, HeadMusic::Style::Annotations::LimitOctaveLeaps, HeadMusic::Style::Annotations::MostlyConjunct, HeadMusic::Style::Annotations::NoRests, HeadMusic::Style::Annotations::NotesSameLength, HeadMusic::Style::Annotations::RecoverLargeLeaps, HeadMusic::Style::Annotations::SingableIntervals, HeadMusic::Style::Annotations::SingableRange, HeadMusic::Style::Annotations::StartOnTonic, HeadMusic::Style::Annotations::StepDownToFinalNote, HeadMusic::Style::Annotations::UpToFourteenNotes, ] def self.analyze(voice) RULESET.map { |rule| rule.new(voice) } end end
Version data entries
3 entries across 3 versions & 1 rubygems