a1
\key a \major
a1
\key fis \minor
fis1
\key ees \major
ees1
\key c \minor
c'1
\key c \dorian
c1
\key c \phrygian
c1
\key c \lydian
c1
\key c \mixolydian
c1
\key c \locrian
c1
}
\header {
title = #(string-append "Title Text, " key-name)
}
--
in context:
http://lilypond.1069038.n5.nabble.com/Custom-key-signature-stencils-differentiating-major-and-minor-keys-tp136158p154614.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu
On Dec 5, 2012, at 5:58 PM, Thomas Morley wrote:
> Sorry to send this again, forgot to cc the list.
>
> 2012/12/5 Thomas Morley :
>> 2012/12/5 Paul Morris :
>>> On Dec 4, 2012, at 7:27 PM, Thomas Morley
>>> wrote:
>> [...]
May I ask, if you could add a commented 2.16-version of it?
A
Sorry to send this again, forgot to cc the list.
2012/12/5 Thomas Morley :
> 2012/12/5 Paul Morris :
>> On Dec 4, 2012, at 7:27 PM, Thomas Morley
>> wrote:
> [...]
>>> May I ask, if you could add a commented 2.16-version of it?
>>> Although your code will work for 2.16.1 up to 2.17.6 (so far I
>
2012/12/4 Paul Morris :
> I've uploaded a revised version of my snippet:
>
> Automatically display key names above key signatures
> http://lsr.dsi.unimi.it/LSR/Item?u=1&id=856
>
> What's new?
> - handles modes (dorian, phrygian, lydian, etc.)
> - never prints key names above key cancellatio
I've uploaded a revised version of my snippet:
Automatically display key names above key signatures
http://lsr.dsi.unimi.it/LSR/Item?u=1&id=856
What's new?
- handles modes (dorian, phrygian, lydian, etc.)
- never prints key names above key cancellations (this was inconsistent
before)
-
On Nov 18, 2012, at 7:26 AM, Thomas Morley
wrote:
> 2012/11/18 Paul Morris :
> [...]
>> I do have some small changes I made to my local copy that I'd like to add.
>> They are for the accidental signs in the text -- better spacing and putting
>> them into a LilyPond variable for less repetitio
2012/11/18 Paul Morris :
[...]
> I do have some small changes I made to my local copy that I'd like to add.
> They are for the accidental signs in the text -- better spacing and putting
> them into a LilyPond variable for less repetition. I won't be able to get to
> this until Wednesday at the
ilinglist
>
> Sent: Friday, November 16, 2012 7:50:17 PM
> Subject: Re: Custom key signature stencils, differentiating major and minor
> keys
>
> 2012/11/14 Paul Morris :
> > Hi Ming, I took another look at this and since there's only one key
> > signature wh
On Nov 16, 2012, at 7:50 PM, Thomas Morley
wrote:
> 2012/11/14 Paul Morris :
>> Hi Ming, I took another look at this and since there's only one key
>> signature where the accidentals do not extend above the staff (F major / D
>> minor) I just added extra padding for those keys. Now the key nam
2012/11/14 Paul Morris :
> Hi Ming, I took another look at this and since there's only one key
> signature where the accidentals do not extend above the staff (F major / D
> minor) I just added extra padding for those keys. Now the key names always
> appear above the staff, regardless of the clef
Paul,
Thank you.
Blessing in+,
Ming.
>
> From: Paul Morris
>To: MING TSANG
>Cc: lilypond-usermailinglist
>Sent: Wednesday, November 14, 2012 12:13:44 AM
>Subject: Re: Custom key signature stencils, differentiating major and minor
>k
Hi Ming, I took another look at this and since there's only one key signature
where the accidentals do not extend above the staff (F major / D minor) I just
added extra padding for those keys. Now the key names always appear above the
staff, regardless of the clef.
The sizing of the acciden
list
>Sent: Tuesday, November 13, 2012 11:49:57 AM
>Subject: Re: Custom key signature stencils, differentiating major and minor
>keys
>
>On Nov 13, 2012, at 7:26 AM, MING TSANG wrote:
>
>> Hi, Paul: I apply the change, it pushes the display above the staff. However
>
ed
either. Not sure how to work around that.
-Paul
>
> Here is the .png and .ly file.
>
> Thank you again.
>
> Blessing in+,
> Ming.
> From: Paul Morris
> To: MING TSANG
> Sent: Monday, November 12, 2012 10:54:56 PM
> Subject: Re: Custom key signature
On Nov 12, 2012, at 2:42 PM, MING TSANG wrote:
> Hi, Paul:
>
> I try to use custon-key-signature in my lilypond score and I did not get the
> alternative key printed above the traditional key signature. What is missing
> in the code below? I have "\Staff \consists \Custom_key_sig_engraver" i
Here is another revision (hopefully the last?!). The previous version would
include the key name over a key cancellation[1], but it would often be an
incorrect/unrelated key name (!).
This version does not include the name of the key above a key-cancellation,
unless the tonic note is the sam
Here is an improved version. It works the same as the last,
but with much more streamlined and concise code.
-Paul
\version "2.16.0"
#(define Custom_key_sig_engraver
(make-engraver
(acknowledgers
((key-signature-interface engraver grob source-engraver)
(let* (
On Nov 11, 2012, at 7:38 AM, MING TSANG wrote:
> Hi, Paul: Thank you for the custom key signature. I have been dreaming this
> for sometime, but hesitate to ask lilypond user community. I have been using
> circle of fifths to identify the key signature.
Hi Ming, I'm glad you find it useful
Hi, Paul:
Thank you for the custom key signature. I have been dreaming this for
sometime, but hesitate to ask lilypond user community. I have been using
circle of fifths to identify the key signature.
You mention this custom key signature can be adapted to print above the clef
sign. I am no
Ok, I figured out a way to differentiate between major and minor keys. I
followed the example of this snippet which shows how to access the tonic note
of the current key:
http://lsr.dsi.unimi.it/LSR/Item?id=818
By combining the tonic note with the type and position of the right-most
accidental
Greetings everyone,
I am trying to override the key signature stencil with a custom stencil whose
appearance and position will depend on the key. So far I can determine the key
by looking at the "alteration-alist" property of the key-signature-interface
[1] with the KeySignature grob [2]. B
22 matches
Mail list logo