[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Piano/Xylophone key diagrams
From: |
David Kastrup |
Subject: |
Re: Piano/Xylophone key diagrams |
Date: |
Sun, 13 Oct 2013 16:22:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Phil Holmes" <address@hidden> writes:
>>> Starting off would be on
>>> <URL:http://code.google.com/p/lilypond/issues/detail?id=3563#c4>. Check
>>> its output. This is basically what you need, except that you need to
>>> replace the C-Griff function which uses filled and non-filled circles in
>>> a three-row arrangement with a more tedious rectangular arrangement.
>>>
>>> The c-griff function here only does the formatting and would need to be
>>> completely replaced. In contrast, the stuff in define-scheme-function
>>> could be kept unchanged.
>>
>> Or maybe
>> http://lsr.dsi.unimi.it/LSR/Item?id=791
>> might give some inspiration.
>>
>> Cheers,
>> Harm
>
> Thanks to David and Harm for their suggestions. For now I've gone
> with adapting what Harm suggested - I've tidied the code a little and
> added a scaling parameter that varies the width of the keys and the
> size of the dot. Example output is attached, together with the file
> used to create this.
> \textLengthOn
> b4^\markup\keys #'(b) #1 r r2 r1
> b4^\markup\keys #'(b) #1.5 r r2 r1
> b4^\markup\keys #'(b) #key_scale r r2 r1
> a4^\markup\keys #'(a) #2.5 r r2 r1
> bes4^\markup\keys #'(bes) #3 r r2
Ah, but you need to type every note/chord yourself. The part to be
taken from my suggestion was supposed to automate that effort, making
the whole thing typo-proof.
--
David Kastrup
- Piano/Xylophone key diagrams, Phil Holmes, 2013/10/12
- Re: Piano/Xylophone key diagrams, David Kastrup, 2013/10/12
- Re: Piano/Xylophone key diagrams, Thomas Morley, 2013/10/12
- Re: Piano/Xylophone key diagrams, David Kastrup, 2013/10/12
- Re: Piano/Xylophone key diagrams, Phil Holmes, 2013/10/13
- Re: Piano/Xylophone key diagrams, Simon Bailey, 2013/10/13
- Re: Piano/Xylophone key diagrams,
David Kastrup <=
- Re: Piano/Xylophone key diagrams, Phil Holmes, 2013/10/13
- Re: Piano/Xylophone key diagrams, Ed Gordijn, 2013/10/13
- Message not available
- Re: Piano/Xylophone key diagrams, Ed Gordijn, 2013/10/13