Module: HeadMusic::Notation::LilyPond

Defined in:
lib/head_music/notation/lily_pond.rb,
lib/head_music/notation/lily_pond/writer.rb,
lib/head_music/notation/lily_pond/preflight.rb,
lib/head_music/notation/lily_pond/key_mapper.rb,
lib/head_music/notation/lily_pond/render_plan.rb,
lib/head_music/notation/lily_pond/string_text.rb,
lib/head_music/notation/lily_pond/pitch_writer.rb,
lib/head_music/notation/lily_pond/duration_writer.rb

Overview

A namespace for LilyPond-notation rendering helpers

Defined Under Namespace

Modules: StringText Classes: DurationWriter, KeyMapper, PitchWriter, Preflight, RenderError, RenderPlan, Writer

Class Method Summary collapse

Class Method Details

.render(composition, **options) ⇒ Object

Renders a composition as a complete LilyPond source string. No rendering options exist yet; keywords will be added with the first one.



5
6
7
# File 'lib/head_music/notation/lily_pond.rb', line 5

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