music-encoding / sibmei

Sibelius MEI Plugin
MIT License
39 stars 16 forks source link

set vu.height and spacing attributes #140

Closed rettinghaus closed 4 years ago

th-we commented 4 years ago

This raises a general question: Why do we have @vu.height on <scoreDef>, but not on <staffDef> in MEI? Different staff sizes can be used for different staffs, and staff size can even be changed between systems. Unfortunately, we don't have access to that information with ManuScript.

rettinghaus commented 4 years ago

Simple answer @vu.height gives the general "virtual unit" in MEI that is used for the whole document. Staff size usually is eight times vu. However, you may set different staff sizes with staffDef@scale.

rettinghaus commented 4 years ago

… and 'StaffSize' gives Sibelius' normal staff size, isn't it?

rettinghaus commented 4 years ago

@th-we Yes, StaffSize is the standard or Normalstaff size value you enter in the Layout section. Tested it, and it works as suspected.