Greetings Martin, You could use the \tag command in a separate voice or staff block and so generate midi output but not visual output.
HTH, Hwaen Ch'uqi On 10/13/20, Martin Tarenskeen <[email protected]> wrote: > > Hi, > > I am typesetting a Piano solo score. > I want to add \sustainOn and \sustainOff stuff in my lilypond source only > for more realistic MIDI output, but I don't want to print the > pedalmarkings in my score. How to do this? If possible without the need to > have separate midi and layout versions of the same lilypond code for the > notes. > > -- > > MT > > >
