When I run abc2ly on the following ABC file, it produces invalid
lilypond souce text. In particular, there are missing close-braces,
and a slurring ) is misplaced and has an invalid "-" prefixed.
When these problems are fixed, the beaming is wrong (it needs
a \partial 8 at the start).
X: 2
T: Th
Am Mittwoch, 17. März 2010 13:24:33 schrieb rog peppe:
> When I run abc2ly on the following ABC file, it produces invalid
> lilypond souce text. In particular, there are missing close-braces,
Yes, the alternatives are not correctly identified... That's still open.
> and a slurring ) is misplaced
Reinhold Kainhofer kainhofer.com> writes:
> Yes, the alternatives are not correctly identified... That's still open.
i've found the issue and applied a fix that works some of the
time. the difficulty is that you can have a :| |2 sequence
which isn't catered for in try_parse_bar()
it would be nic
Am Mittwoch, 17. März 2010 19:46:21 schrieb rog peppe:
> Reinhold Kainhofer kainhofer.com> writes:
> > Yes, the alternatives are not correctly identified... That's still open.
>
> i've found the issue and applied a fix that works some of the
> time. the difficulty is that you can have a :| |2 seq
Reinhold Kainhofer kainhofer.com> writes:
> Just exchange the handling of slurs with closing tuplets in try_parse_note:
>
> if slur_begin:
> voices_append ('-(' * slur_begin )
> if slur_end:
> voices_append ('-)' *slur_end )
> if parser_state.parsing_tuplet:
>
> "Reinhold" == Reinhold Kainhofer writes:
>> When these problems are fixed, the beaming is wrong (it needs
>> a \partial 8 at the start).
Reinhold> Yes, \partial is not yet supported by abc2ly...
I work around that by adding "%%LY voices \partial 8" before the ABC
notes.
--
L