简体   繁体   中英

music21: displaying lyrics on rests

I want to write lyrics on music21 on both notes and rests (to show different metrical levels). I need both objects having a similar layout, but notes' lyrics position is different that rests'.

Even more, some environments like lilypond don't even support lyrics on rests. I'm ok with that but I need some way to get a nice display for those lyrics.

As a reference, I'm trying to make an example like this one in the user guide来自用户指南第 55 章的示例

But if we look at the rest on measure 5, the lyric is displayed a little lower than the others. That's what I'm trying to fix.

You can use TextBox to display lyrics in locations that you can't otherwise put them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM