Include default-x and default-y for Rest note

• Sep 25, 2014 - 13:00
Type
Functional
Severity
S5 - Suggestion
Status
active
Project

Request to include both attributes musicxml format which are useful when the need to rendering precise positions accurately e.g. using Javascript.

Before:
< note >
< rest / >
< duration > 1 < / duration >
< voice > 1 < / voice >
< type > quarter < / type >
< / note >

to

< note default-x = " 70.00 " default-y = " 30.00 " >
< rest / >
< duration > 1 < / duration >
< voice > 1 < / voice >
< type > quarter < / type >
< / note >

Is the code related this function?
void ExportMusicXml::rest(Rest* rest, int staff)


Comments

Yes it's the right function. As I said on the forum, note that the vertical position of rest is already given by display-step and display-octave. I'm not sure how that should interact with default-x and default-y.