lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write a custom backend?


From: Mathieu Demange
Subject: Re: Write a custom backend?
Date: Tue, 20 Sep 2016 16:38:20 +0200 (CEST)

> The latter seem to be dealt with sufficiently by working with Midi and
> external tool chains: after all, the main point of LilyPond is turning a
> music description to an equivalent output. Though _if_ outputs can
> reasonably easy be defined in Scheme, being able to control most of the
> external tool chain from inside a LilyPond file in a manner synchronized
> to the music might make for a nicer interface.

That's my motivation. I don't want to turn LilyPond into what it has not been 
intended to be, but by simply having a more meaningful output, it could really 
help external tools. I'm heavily focused on the SVG output, here. Paul made a 
great contribution to lilypond-html-live-score by re-implementing the whole 
timing calculation in scheme and now I'm simply looking for a way to put extra 
attributes in <g> tags. I tried to (re)define start-enclosing-node-id but id 
doesn't work as I believe backend scheme code might be loaded after input files 
have been processed. Thus my question about custom backends. But if someone 
knows how to redefine a backend scheme function, please let me know :)

Cheers,

Mathieu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]