Sha256: 59d607096c2415a08d5ee1b1fb3f33ebab01dce960626cd874d34c205a7582ca

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

module HeadMusic::Style::Rulesets
end

class HeadMusic::Style::Rulesets::FirstSpeciesMelody
  RULESET = [
    HeadMusic::Style::Annotations::OneToOne,
    HeadMusic::Style::Annotations::NotesSameLength,
    HeadMusic::Style::Annotations::SingableIntervals,
    HeadMusic::Style::Annotations::StartOnPerfectConsonance,
    HeadMusic::Style::Annotations::EndOnPerfectConsonance,
    HeadMusic::Style::Annotations::StepUpToFinalNote,
  ]

  def self.analyze(voice)
    RULESET.map { |rule| rule.new(voice) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
head_music-0.11.9 lib/head_music/style/rulesets/first_species_melody.rb