Hello,

 

At this moment I am in the process of creating a lilypond musicxml module.

The module is written in scheme, and at this moment the module is able to
handle simple music.

 

At this moment I am able to handle both 

 

simplemusic = {valid music}

 

\musicxml \simplemusic

 

And

 

simplemusic = { valid music}

 

simplescore = \score (

                \simplemusic

                \layout {}

                }

\musicxml \simplescore

 

First question:

 

I want to be able to do:

simplemusic = {valid music}

 

\score (

                \simplemusic

                \layout {}

                \musicxml {}

                \midi {}

                }

 

Can anyone give a hint how to do this?

 

Second question:

 

When doing \musicxml \simplescore the scheme function gets an object of the
type ly:score.

 

By digging in code I found out that from this score music can be extracted
using ly:score-music 

Also header can be extracted using ly:score-header and output-defs using
ly:score-output-defs 

 

The extracted music can be used without a problem.

However I can't figure out how to use the extracted header and output-defs.

 

I want to be able to extract information like composer and title to put in
musicxml

 

Does anyone have suggestions?

 

Jaap de Wolff

 

 

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to