Rests with stem tremolo cause LilyPond to fail silently

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Rests with stem tremolo cause LilyPond to fail silently

Trevor Bača-2
Hi,

While "c4:32" correctly expresses a quarter note stem tremolo slashes,
typing (badly-formed) "r4:32" probably only happens when a user is editing
a source file and changes a note to a rest without regard for the stem
tremolo suffix.

However, rather than raising some type of error or warning, Lily fails
silently on this type of badly-formed construction.

Rests shorter than the duration of a whole note cause LilyPond to fail
silently at system drawing:

%%% BEGIN 1 %%%

\version "2.19.83"
\new Staff { r4:32 }

%%% END %%%

Output:

GNU LilyPond 2.19.83
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
*[no more output]*

Longer rests cause Lily to fail even more laconically:

%%% BEGIN 2 %%%

\version "2.19.83"
\new Staff { r1:32 }

%%% END %%%

GNU LilyPond 2.19.83
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
*[no more output]*


Rather than failing silently, Lily should raise an error or warning:
imagine a large input file failing for no apparent reason and then having
to bisect the entire thing find a single instance of something like
"r4:32".

Thanks,

Trevor.

--
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: Rests with stem tremolo cause LilyPond to fail silently

Malte Meyn-3


Am 13.10.19 um 20:30 schrieb Trevor Bača:

> Hi,
>
> While "c4:32" correctly expresses a quarter note stem tremolo slashes,
> typing (badly-formed) "r4:32" probably only happens when a user is editing
> a source file and changes a note to a rest without regard for the stem
> tremolo suffix.
>
> However, rather than raising some type of error or warning, Lily fails
> silently on this type of badly-formed construction.
>
> […]
>
> Rather than failing silently, Lily should raise an error or warning:
> imagine a large input file failing for no apparent reason and then having
> to bisect the entire thing find a single instance of something like
> "r4:32".
>
> Thanks,
>
> Trevor.
>

This is now issue 5579:
https://sourceforge.net/p/testlilyissues/issues/5579/

_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond