[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting score information
From: |
Knute Snortum |
Subject: |
Re: getting score information |
Date: |
Tue, 8 Oct 2019 06:47:16 -0700 |
This is a mailing list to report bugs. You want this mailing list instead:
address@hidden
---
Knute Snortum
(via Gmail)
On Mon, Oct 7, 2019 at 12:11 PM jaap de wolff <address@hidden> wrote:
> 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 = {}
>
>
>
> \musicxml \simplemusic
>
>
>
> And
>
>
>
> simplemusic = {}
>
>
>
> simplescore = \score (
>
> \simplemusic
>
> \layout {}
>
> }
>
> \musicxml \simplescore
>
>
>
> First question:
>
>
>
> I want to be able to do:
>
> simplemusic = {}
>
>
>
> \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 not 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
>
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>