craigsapp/website-polish-scores

Barlines through text

Closed this issue · 1 comments

It is preferable to not have connecting barlines through lyrics.

Screenshot 2024-02-11 at 16 29 48

https://polishscores.org/?id=17xx:1975&con=CsMsOc

Create a configuration option called "Disconnect staff barlines" (or something better) that will not connect barlines between staves.

Ideally the digital scores would not have the connecting barlines in such cases, but a configuration option should good enough for now. This option could be enhanced in the future to only apply to staves with text, although that would be more complicated to implement (probablyl best in humlib). Simple method to remove all connecting barlines on the system can be done with the shed filter:

shed -e "s/(^system-decoration.*)[()]/$1/gR"

Which means to remove all parentheses from reference records starting with "system-decoration" (Parentheses indicate bar groupings).

https://polishscores.org/?id=17xx:1975&con=CsMsOcFi{shed%20-e%20%22s/(system-decoration.*)[()]/$1/gR%22}

Screenshot 2024-02-11 at 16 35 18

Implemented in commit #279

Example:

https://polishscores.org/?id=17xx:1975&con=BbCsMsOc

Screenshot 2024-02-11 at 16 45 54

The configuration code for the con parameter in the URL is Bb for "Break barlines".