Module: Musa::Neumas::Neuma::Serie

Includes:
Musa::Neumas::Neuma
Defined in:
lib/musa-dsl/neumas/neumas.rb

Overview

Serie neuma structure (monophonic).

Represents sequential musical events (single voice melody). Contains array of neuma objects in :serie key.

Examples:

Serie structure

{
  kind: :serie,
  serie: [neuma1, neuma2, neuma3]
}.extend(Musa::Neumas::Neuma::Serie)

Instance Method Summary collapse

Instance Method Details

#|(other) ⇒ Parallel Originally defined in module Musa::Neumas::Neuma

Creates parallel structure with another neuma.

Combines this neuma with another into parallel (polyphonic) structure. If already parallel, adds to existing parallel array.

Examples:

Create parallel from neumas

melody = "0 +2 +4".to_neumas
bass = "-7 -5 -3".to_neumas
harmony = melody | bass

Chain multiple parallels

satb = soprano | alto | tenor | bass

Raises:

  • (ArgumentError)

    if other cannot be converted