lilypond-user
[Top][All Lists]
Advanced

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

Re: SacredHarpHeads: possible solution to major/minor problem


From: Ted Walther
Subject: Re: SacredHarpHeads: possible solution to major/minor problem
Date: Tue, 16 Jun 2009 16:32:14 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

Neil, great work on Sacred Harp stuff.

In minor keys, the sixth degree is played half a step higher than is
written.  Can you alter the minor mode so that when I correctly write
the sixth degree half a step higher, it doesn't show the sharp sign?

Ted

On Wed, Apr 23, 2008 at 10:09:36PM +0100, Neil Puttock wrote:
On 23/04/2008, Adrian Mariano <address@hidden> wrote:
I think your approach is reasonable.  (It should handle the dorian mode
properly.)  I tested it in minor mode and dorian mode on some stuff I have
handy and everything looked good.  As it happens, I have nothing typed in in
the major, so I did a less rigorous test there and didn't see any problems.

I've tested it on every key, swapping between major and minor, without
encountering any problems; it seems to work fine even for outlandish
keys with double flats and sharps.

 I did have one problem initially where I got random (?) shape assignments.

That's a bit worrying. Can you post a minimal example for this?

As I mentioned in the limitations, the only situation I've seen where
it won't work is something like this:

\relative c' {
% no explicit Staff context, so default tonic not set
 \sacredHarps
% shapeNoteStyles not set, standard glyphs used for note heads
 c d e f g a b c
}

This was because the \sacredHarps command appeared before the \key command
so (presumably) no tonic was defined.  It definitely does seem like an error
message would be good.   It appears that the main disadvantage of this
approach over the two commands approach is the need to position the command
more carefully.

If the limitation with MIDI can be overcome, then an error message
would certainly be desirable; it might be a good idea to set the major
sacred harp head style as a default at the same time.

I'm afraid the positioning limitation is unavoidable since there's no
callback involved in setting shapeNoteStyles; it would have to be
hard-coded in the engraver to overcome this.

Regards,
Neil


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

--
           There's a party in your skull.  And you're invited!

Name:    Ted Walther
Phone:   604-755-7732
Skype:   tederific
Email:   address@hidden
Address: 1755 246 St, LANGLEY BC  V2Z1G4




reply via email to

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