Sha256: 7a8e3911fc439af03d54cb57ca143367d73f28e44e78b5851386a90f6dfcb79f

Contents?: true

Size: 965 Bytes

Versions: 9

Compression:

Stored size: 965 Bytes

Contents

# Module for guides
module HeadMusic::Style::Guides; end

# Rules for first species melodies
class HeadMusic::Style::Guides::FirstSpeciesMelody
  RULESET = [
    HeadMusic::Style::Guidelines::ConsonantClimax,
    HeadMusic::Style::Guidelines::Diatonic,
    HeadMusic::Style::Guidelines::EndOnTonic,
    HeadMusic::Style::Guidelines::FrequentDirectionChanges,
    HeadMusic::Style::Guidelines::LimitOctaveLeaps,
    HeadMusic::Style::Guidelines::MostlyConjunct,
    HeadMusic::Style::Guidelines::NoRests,
    HeadMusic::Style::Guidelines::NotesSameLength,
    HeadMusic::Style::Guidelines::PrepareOctaveLeaps,
    HeadMusic::Style::Guidelines::SingableIntervals,
    HeadMusic::Style::Guidelines::SingableRange,
    HeadMusic::Style::Guidelines::StartOnPerfectConsonance,
    HeadMusic::Style::Guidelines::StepOutOfUnison,
    HeadMusic::Style::Guidelines::StepUpToFinalNote
  ].freeze

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
head_music-7.0.5 lib/head_music/style/guides/first_species_melody.rb
head_music-7.0.4 lib/head_music/style/guides/first_species_melody.rb
head_music-7.0.3 lib/head_music/style/guides/first_species_melody.rb
head_music-7.0.2 lib/head_music/style/guides/first_species_melody.rb
head_music-7.0.1 lib/head_music/style/guides/first_species_melody.rb
head_music-7.0.0 lib/head_music/style/guides/first_species_melody.rb
head_music-6.0.1 lib/head_music/style/guides/first_species_melody.rb
head_music-6.0.0 lib/head_music/style/guides/first_species_melody.rb
head_music-5.0.0 lib/head_music/style/guides/first_species_melody.rb