On 2023-12-12 11:26, Werner LEMBERG
wrote:
One thing occurred to me. If the original \score did not have a \midi block, would it be possible to ask lilypond to produce midi output without modifying the input file?No, this is not currently possible, although it would be a nice addition.Stefano, please file an issue for this in our tracker!
Sounds tricky to implement such a features that does what the
user expects in all different situations, especially for files
that contain several \score blocks and especially if the user
already has made separate \score blocks for the typeset version
and the MIDI version, in which case you don't want to add another
MIDI version.
/Mats