Class: String
- Defined in:
- lib/musa-dsl/neumas/string-to-neumas.rb,
lib/musa-dsl/neumas/string-to-neumas.rb,
lib/musa-dsl/neumas/string-to-neumas.rb,
lib/musa-dsl/neumas/string-to-neumas.rb,
lib/musa-dsl/neumas/string-to-neumas.rb,
lib/musa-dsl/neumas/string-to-neumas.rb
Instance Method Summary collapse
-
#n(decode_with: nil, debug: nil) ⇒ Object
Short alias for
to_neumas. -
#neumas(decode_with: nil, debug: nil) ⇒ Object
Alias for
to_neumas. -
#nn(decode_with: nil, debug: nil) ⇒ Object
Short alias for
to_neumas_to_node. -
#to_neumas(decode_with: nil, debug: nil) ⇒ Serie, Array
Parses neuma notation string to structured neumas.
-
#to_neumas_to_node(decode_with: nil, debug: nil) ⇒ Node
Parses neuma notation and converts to generative node.
-
#|(other) ⇒ Hash
Creates parallel neuma structure.
Instance Method Details
#n(decode_with: nil, debug: nil) ⇒ Object
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Short alias for to_neumas.
226 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 226 class ::String; end |
#neumas(decode_with: nil, debug: nil) ⇒ Object
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Alias for to_neumas.
216 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 216 class ::String; end |
#nn(decode_with: nil, debug: nil) ⇒ Object
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Short alias for to_neumas_to_node.
236 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 236 class ::String; end |
#to_neumas(decode_with: nil, debug: nil) ⇒ Serie, Array
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Parses neuma notation string to structured neumas.
Uses Neumalang parser to convert text notation into GDVD (differential) neuma objects that can be decoded to GDV events.
161 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 161 class ::String; end |
#to_neumas_to_node(decode_with: nil, debug: nil) ⇒ Node
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Parses neuma notation and converts to generative node.
Combines parsing with node conversion for use in generative grammars.
182 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 182 class ::String; end |
#|(other) ⇒ Hash
This method is added to String via refinement. Requires using Musa::Extension::Neumas.
Creates parallel neuma structure.
Combines two neuma strings into parallel (polyphonic) structure. Both voices are parsed and wrapped in parallel container.
206 |
# File 'lib/musa-dsl/neumas/string-to-neumas.rb', line 206 class ::String; end |