Sha256: 98c3e37ba7684f9eaa84495b14ddca02525f64192caa6332b4cdd66acb952518
Contents?: true
Size: 715 Bytes
Versions: 21
Compression:
Stored size: 715 Bytes
Contents
# frozen_string_literal: true # Module for guides module HeadMusic::Style::Guides; end # Rules for first species harmony class HeadMusic::Style::Guides::FirstSpeciesHarmony RULESET = [ HeadMusic::Style::Guidelines::ApproachPerfectionContrarily, HeadMusic::Style::Guidelines::AvoidCrossingVoices, HeadMusic::Style::Guidelines::AvoidOverlappingVoices, HeadMusic::Style::Guidelines::ConsonantDownbeats, HeadMusic::Style::Guidelines::NoUnisonsInMiddle, HeadMusic::Style::Guidelines::OneToOne, HeadMusic::Style::Guidelines::PreferContraryMotion, HeadMusic::Style::Guidelines::PreferImperfect, ].freeze def self.analyze(voice) RULESET.map { |rule| rule.new(voice) } end end
Version data entries
21 entries across 21 versions & 1 rubygems