Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when a long decoration acrosses more than two rows #107

Open
thuhuwei opened this issue Nov 25, 2021 · 2 comments
Open

Problem when a long decoration acrosses more than two rows #107

thuhuwei opened this issue Nov 25, 2021 · 2 comments

Comments

@thuhuwei
Copy link

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)! |
2021-11-25 13-41-35 的屏幕截图

@hkiel
Copy link
Contributor

hkiel commented Nov 25, 2021

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.

@moinejf
Copy link
Collaborator

moinejf commented Nov 25, 2021

Sorry for this bug asks for too much development.
It has been fixed in abc2svg (https://chiselapp.com/user/moinejf/repository/abc2svg).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants