lib/head_music.rb in head_music-4.0.1 vs lib/head_music.rb in head_music-5.0.0

- old
+ new

@@ -1,7 +1,5 @@ -# frozen_string_literal: true - module HeadMusic GOLDEN_RATIO = (1 + 5**0.5) / 2.0 GOLDEN_RATIO_INVERSE = 1 / GOLDEN_RATIO PENALTY_FACTOR = GOLDEN_RATIO_INVERSE SMALL_PENALTY_FACTOR = GOLDEN_RATIO_INVERSE**0.5 @@ -32,18 +30,22 @@ # modules require "head_music/named" # rudiments +require "head_music/alteration" require "head_music/chromatic_interval" require "head_music/circle" require "head_music/clef" require "head_music/consonance" require "head_music/diatonic_interval" require "head_music/harmonic_interval" require "head_music/instrument_family" require "head_music/instrument" +require "head_music/instrument/pitch_configuration" +require "head_music/instrument/staff_configuration" +require "head_music/instrument/staff" require "head_music/interval_cycle" require "head_music/key_signature" require "head_music/letter_name" require "head_music/melodic_interval" require "head_music/meter" @@ -61,10 +63,9 @@ require "head_music/rhythm" require "head_music/rhythmic_unit" require "head_music/scale" require "head_music/scale_degree" require "head_music/scale_type" -require "head_music/sign" require "head_music/solmization" require "head_music/sonority" require "head_music/spelling" require "head_music/staff" require "head_music/tuning"