[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nifty trick with tags and \shape
From: |
SoundsFromSound |
Subject: |
Re: Nifty trick with tags and \shape |
Date: |
Tue, 24 Jun 2014 07:03:19 -0700 (PDT) |
James Harkins-2 wrote
> If you ever need the score and a transposed part to have a different slur
> shape in places... this does it :)
>
> Just had to share -- actually I wasn't entirely sure this would work, but
> it's perfect!
>
> hjh
>
> \version "2.18.2"
> \language "english"
>
> music = \relative c' {
> \tupletSpan 1*6/8
> \tuplet 4/3 {
> cs4
> \tag #'scoreOnly { \shape #'((0 . 0) (0 . 0) (0 . 1.2) (0 . -0.5))
> Slur
> }
> \tag #'partOnly { \shape #'((-0.5 . 1.5) (0 . 0) (0 . 0) (0 . 1.0))
> Slur }
> f,! ( d' e cs' b'2 g,4 ) }
> \tupletSpan \default
> }
>
> \score {
> \new Staff {
> \time 12/8
> % from score in C
> \keepWithTag #'scoreOnly \music
> \bar "||"
> % transposed part with the same slur shape adjustment, VERY ugly
> \keepWithTag #'scoreOnly \transpose a c' \music
> \bar "||"
> % fixed
> \keepWithTag #'partOnly \transpose a c' \music
> \bar "||"
> }
> }
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@
> https://lists.gnu.org/mailman/listinfo/lilypond-user
Interesting! I'll check this out tonight, that's pretty sweet! Thanks!
-----
composer | sound designer
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Nifty-trick-with-tags-and-shape-tp163576p163602.html
Sent from the User mailing list archive at Nabble.com.