Sha256: 90747325ffb07bbbb2dd9a6a3a75335597a3a06d81c902bbbab7f5cde5428011

Contents?: true

Size: 997 Bytes

Versions: 21

Compression:

Stored size: 997 Bytes

Contents

# frozen_string_literal: true

# 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

21 entries across 21 versions & 1 rubygems

Version Path
head_music-0.27.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.26.3 lib/head_music/style/guides/first_species_melody.rb
head_music-0.26.2 lib/head_music/style/guides/first_species_melody.rb
head_music-0.26.1 lib/head_music/style/guides/first_species_melody.rb
head_music-0.26.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.25.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.5 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.4 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.3 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.2 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.1 lib/head_music/style/guides/first_species_melody.rb
head_music-0.24.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.23.4 lib/head_music/style/guides/first_species_melody.rb
head_music-0.23.3 lib/head_music/style/guides/first_species_melody.rb
head_music-0.23.2 lib/head_music/style/guides/first_species_melody.rb
head_music-0.23.1 lib/head_music/style/guides/first_species_melody.rb
head_music-0.23.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.22.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.20.0 lib/head_music/style/guides/first_species_melody.rb
head_music-0.19.2 lib/head_music/style/guides/first_species_melody.rb