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: Thu, 18 Jun 2009 23:06:05 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

I think it is fair to say that in older Sacred Harp music, there are
never accidentals.  But they do happen occasionally.  It it is only in
minor keys that the 6th degree is raised half a step without the
accidental reporting it.

Btw, great Scheme hackery, I knew there must be something like that!

Mark, could I pay you $100 to implement something that fits the bill for
sacred harp minor keys?  If we need to negotiate, let's do it in private
email.  The major keys are as normal.

Ted

On Thu, Jun 18, 2009 at 10:59:51PM -0500, Jonathan Kulp wrote:
Mark Polesky wrote:
Are accidentals *ever* printed next to the notes in Sacred Harp?
If not, then all you need to do is this:

\version "2.13.1"

suppressAllAccidentals = \set Staff.autoAccidentals =
  #`(Staff ,(lambda (context pitch barnum position) '(#f . #f)))

\relative {
  \key d \minor
  \suppressAllAccidentals
  \sacredHarpHeads
  d e f g a b c d
}

If it's a hard and fast rule that there are never accidentals
except in the key-signature, I might propose that the
indiscriminate suppression of all accidentals be incorporated
into the \sacredHarpHeads command.

If accidentals are printed next to notes *some* of the time,
then it gets trickier. Let me know.


Thanks for this, Mark. I'm not a Sacret Harp guy and don't really know whether there are ever accidentals, but if they're not, then your solution above is good, with the exception that the key still (I think) has to be called by the relative major so that the shapes are applied to the right scale degrees. This code produces the right appearance and MIDI output (confirm this, Tim?):

\version "2.12.2"

suppressAllAccidentals =
\set Staff.autoAccidentals =
  #`(Staff ,(lambda (context pitch barnum position) '(#f . #f)))

\score {
  \relative c' {
    \sacredHarpHeads
    \suppressAllAccidentals
    \key f \major
    d e f g a b c d
  }
  \midi {}
  \layout {}
}


--
Jonathan Kulp
http://www.jonathankulp.com


_______________________________________________
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]