Ripped, torn staff-lines

Here are some macros which can make a single staff appear as though its right side has been torn off. Two styles are available: the first "erases" the ends of individual staff- lines to different lengths; the second draws a zigzag line and erases everything to its right. Furthermore, the first type is capable of producing tear-patterns at random. Both work by temporarily modifying the BarLine stencil.

STYLE 1 PREFERENCES:

STYLE 2 PREFERENCES:

USAGE:

see the \score { } block at the end of the file.