Class: HeadMusic::Rudiment::Solmization
- Inherits:
-
Object
- Object
- HeadMusic::Rudiment::Solmization
- Includes:
- Named
- Defined in:
- lib/head_music/rudiment/solmization.rb
Overview
A solmization is the rendering of scale degrees as syllables.
Constant Summary collapse
- DEFAULT_SOLMIZATION =
"solfège"- RECORDS =
YAML.load_file(File.("solmizations.yml", __dir__)).freeze
Instance Attribute Summary collapse
-
#syllables ⇒ Object
readonly
Returns the value of attribute syllables.
Attributes included from Named
Class Method Summary collapse
Methods included from Named
#ensure_localized_name, included, #localized_name, #localized_names, #name, #name=
Instance Attribute Details
#syllables ⇒ Object (readonly)
Returns the value of attribute syllables.
12 13 14 |
# File 'lib/head_music/rudiment/solmization.rb', line 12 def syllables @syllables end |
Class Method Details
.get(identifier = nil) ⇒ Object
14 15 16 |
# File 'lib/head_music/rudiment/solmization.rb', line 14 def self.get(identifier = nil) get_by_name(identifier) end |