Open thuhuwei opened 3 years ago
Ottava is only defined as a single symbol that stretches from !8va(!
to line end or !8va)!
, whichever comes first, and from line start or !8va(!
, whichever comes last, to !8va)!
.
It is not handled like a beam, only the notes in between opening and closing tags are shifted by an octave.
Sorry for this bug asks for too much development. It has been fixed in abc2svg (https://chiselapp.com/user/moinejf/repository/abc2svg).
For example, the 8va line cannot be seen in the 2-nd row. I found the same problem for long !trill(! lines too.
What's wrong?
the abc example:
X:1 Z:? L:1/4 Q:1/4=145 M:4/4 I:linebreak $ K:C V:1 treble V:1 (!8va(!e/d/ e/g/ | !2!d/e/4g/4 e/4d/4!1!c/ !3!A/G/ A/c/ | G) z!mf! (!3!e/d/ e/g/ | $ !2!d/e/4g/4 e/4d/4!1!c/ !3!A/G/ A/c/ | G) z/ z/4!f! (.a/4 .g/.c'/ .a/.g/ | .e/.a/ g/)!p!(e/ .g/.c'/ .a/.g/ | .e/.a/ g/)!f!(e/ g/4a/4g/4e/4 d/4e/4g/ | $ a/4g/4e/4d/4 c/e/ d/4e/4d/4c/4 A/c/!8va)! |