[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: slashes and percent
From: |
Peter Berlau |
Subject: |
Re: slashes and percent |
Date: |
Tue, 10 Nov 2015 08:24:51 +0100 |
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"
>
> address@hidden
>
> self-immolation.info
> skype: flaming_hakama
> Producer ~ Composer ~ Instrumentalist
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: slashes and percent, Flaming Hakama by Elaine, 2015/11/09
Re: slashes and percent,
Peter Berlau <=