Module: HeadMusic::Notation::MusicXML

Defined in:
lib/head_music/notation/music_xml.rb,
lib/head_music/notation/music_xml/writer.rb,
lib/head_music/notation/music_xml/xml_text.rb,
lib/head_music/notation/music_xml/divisions.rb,
lib/head_music/notation/music_xml/preflight.rb,
lib/head_music/notation/music_xml/key_mapper.rb,
lib/head_music/notation/music_xml/note_writer.rb,
lib/head_music/notation/music_xml/render_plan.rb,
lib/head_music/notation/music_xml/beam_grouper.rb,
lib/head_music/notation/music_xml/lyric_writer.rb,
lib/head_music/notation/music_xml/pitch_writer.rb,
lib/head_music/notation/music_xml/duration_writer.rb,
lib/head_music/notation/music_xml/attributes_writer.rb

Overview

A namespace for MusicXML-notation rendering helpers

Defined Under Namespace

Modules: XmlText Classes: AttributesWriter, BeamGrouper, Divisions, DurationWriter, KeyMapper, LyricWriter, NoteWriter, PitchWriter, Preflight, RenderError, RenderPlan, Writer

Class Method Summary collapse

Class Method Details

.render(flow, **options) ⇒ Object

work_title: names the whole this flow is a movement of and movement_number: its place in it; alone, a flow names only itself.

transposed: says the flow's pitches are already the written ones, so that each part prints its own key and a naming what it sounds.



8
9
10
# File 'lib/head_music/notation/music_xml.rb', line 8

def self.render(flow, **options)
  Writer.new(flow, **options).to_s
end