[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tablature.ly - please test and comment
From: |
Carl D. Sorensen |
Subject: |
Re: tablature.ly - please test and comment |
Date: |
Thu, 28 May 2009 16:51:54 -0600 |
On 5/28/09 7:22 AM, "Julian" <address@hidden> wrote:
>> But still not within the tablature staff
>> At the moment, I don't know how to manage this.
>
> I found it,
>
> <
> % Dead Note
> \tweak #'stencil #ly:note-head::print
> \tweak #'glyph-name #"2cross"
> \tweak #'style #'special
> f'\1
> % End of Dead Note
> f\4
>> 4
>
> Dead note is applied only to "f'\1" as we expect, and "X" is displayed on
> both,
> staff and tabStaff.
>
> Now i don't have idea how to make it in a lilypond function :) to use
> \chordNoteDead instead of add all tweaks lines...
> however it don't matters, now we know that it is possible to show X in tab too
> by notes instead of chord.
Here's one way to do it:
deadNote =
#(define-music-function (parser location note) (ly:music?)
(set! (ly:music-property note 'tweaks)
(acons 'stencil ly:note-head::print
(acons 'glyph-name "2cross"
(acons 'style 'special (ly:music-property note 'tweaks)))))
note)
{
<f\4 \deadNote f'\1>
}
Marc, feel free to add this to tablature.ly if you want to.
HTH,
Carl
>
> Thanks for your patience.
>
>
>
>
- Re: tablature.ly - please test and comment, (continued)
- Re: tablature.ly - please test and comment, Julian, 2009/05/25
- Re: tablature.ly - please test and comment, Carl D. Sorensen, 2009/05/25
- Re: tablature.ly - please test and comment, Julian, 2009/05/26
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/27
- Re: tablature.ly - please test and comment, Julian, 2009/05/27
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/27
- Re: tablature.ly - please test and comment, Julian, 2009/05/28
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/28
- Re: tablature.ly - please test and comment, Julian, 2009/05/28
- Re: tablature.ly - please test and comment,
Carl D. Sorensen <=
- Re: tablature.ly - please test and comment, David Stocker, 2009/05/28
- Re: tablature.ly - please test and comment, Carl D. Sorensen, 2009/05/28
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/29
- Re: tablature.ly - please test and comment, Carl D. Sorensen, 2009/05/29
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/29
- Re: tablature.ly - please test and comment, Grammostola Rosea, 2009/05/29
- Re: tablature.ly - please test and comment, Julian, 2009/05/28
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/29
- Re: tablature.ly - please test and comment, Carl D. Sorensen, 2009/05/29
- Re: tablature.ly - please test and comment, Marc Hohl, 2009/05/29