Hi David,

wow, that's easy to use, many thanks!
all the best, Peter

Am Montag, den 09.11.2015, 14:30 -0800 schrieb Flaming Hakama by Elaine:
[..]
> 
> 
> % Macro to print single slash
> rs = {
>   \once \override Rest #'stencil =
> #ly:percent-repeat-item-interface::beat-slash
>   \once \override Rest #'thickness = #0.48
>   \once \override Rest #'slope = #1.7
>   r4
> }
> 
> 
> % Function to print a specified number of slashes
> comp = #(define-music-function (parser location count) ( integer?)
>   #{
>     \override Rest #'stencil =
> #ly:percent-repeat-item-interface::beat-slash
>     \override Rest #'thickness = #0.48
>     \override Rest #'slope = #1.7
>     \repeat unfold $count { r4 }
>     \revert Rest #'stencil
>   #}
> )
> 
> 
> % Example use of slashes:
> \score {
>   \relative c' {
>     c4 d e f |
>     \rs \rs \rs \rs |
>     \comp #4 |
>   }
> }
> 
> 
> 
> 
> 
> 
> HTH,
> 
> David Elaine Alt
> 
> 415 . 341 .4954                                           "Confusion
> is highly underrated"
> 
> [email protected]
> 
> self-immolation.info
> skype: flaming_hakama
> Producer ~ Composer ~ Instrumentalist
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user



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

Reply via email to