Skip to content

Creating an empty staff #3747

Answered by craigsapp
adamspagge asked this question in Q&A
Discussion options

You must be logged in to vote

Or is it possible only with hacks like hidden placeholder notes?

Yes, you can add <space> elements on the staff, with enough duration to fill the desired width of the system with one measure. You also need to set spacingNonLinear and spacingLinear options to the maximum value of 1.0 to have the measure spread as wide as possible.

Here I have created measures with half-note invisible rests which force the measure to fill the system with the maximum spacing parameters:

[View in VHV]

Note that I also made the barlines invisible if you want it totally blank.

Click to view MEI data for above example
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schem…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lpugin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants