Lilypond - how to hide some attributes to be shown

I would like to hide -for instance- tempo marking, when I export a performance to score.
how to achieve it?

So, this should be easier.

In general, if you’re trying to do any post-processing on the score notation (and you’re using the abjad/lilypond to pdf pipeline, rather than the XML output), you’d need to do that in abjad.

Say you have a score object, via score = perf.to_score(). You can then call abjad_lilypond_file = score.to_abjad() to get an abjad LilyPondFile object. To access the main score block, you can then call abjad_score = abjad_lilypond_file.score_block.items[0]. And then you have access to the main score object, which you can do whatever you want with.

To be honest, I’m not sure how remove all the tempo markings in abjad, but I’m sure there’s a way. You might look through the documentation at https://abjad.github.io.

I’ll try to find a better answer to this! I know that’s kind of a pain.

1 Like