lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tablature.ly - please test and comment


From: Marc Hohl
Subject: Re: tablature.ly - please test and comment
Date: Wed, 27 May 2009 10:28:22 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Julian schrieb:
[...]

i found the "\tweak #'style #'cross" works indide <  >
e.g:
   <f, \tweak #'style #'cross b e>4 d

Here, it would be possible to define versions for deadNotes and palmMute that
works inside < ... > constructs, i.e.

chordNoteDeadNote =
#(define-music-function (parser location note) (ly:music?)
 (set! (ly:music-property note 'tweaks)
       (acons 'style 'cross (ly:music-property note 'tweaks)))
 note)

chordNotePalmMute =
#(define-music-function (parser location note) (ly:music?)
 (set! (ly:music-property note 'tweaks)
       (acons 'style 'do (ly:music-property note 'tweaks)))
 note)

so you can write

< a \chordNoteDeadNote e' \chordNoteDeadNote a \chordNoteDeadNote c e >
< a \chordNotePalmMute e' \chordNotePalmMute a \chordNotePalmMute c e >

these definitions could be easily included, but I don't know (yet) to do the same
for tablature, because here - as you pointed out, the numbers still appear
(which is okay for palmMute, but not for a deadNote).

Marc
it only affect the score.. not sure if is there any way to change X instead of
number by style.

Cheers,
Julian



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

[Prev in Thread] Current Thread [Next in Thread]