lilypond-user
[Top][All Lists]
Advanced

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

Re: sharping naturals


From: David Raleigh Arnold
Subject: Re: sharping naturals
Date: Thu, 13 Aug 2015 18:39:54 -0400

On Sat, 25 Jul 2015 09:35:44 +0200
Malte Meyn <address@hidden> wrote:

> 
> 
> Am 25.07.2015 um 01:32 schrieb Kieren MacMillan:
> > I’m no Scheme expert, of course… but it seems there should be
> > a relatively easy way to code a music function which says
> > “take all pitches [entered as ’naturals’] and add any
> > accidentals which exist in the corresponding key signature
> > entry for that pitch class”, no? i.e., if the input is ‘c’,
> > and there’s a C# in the key signature, output cis; if the
> > input is ‘d’, and there’s a Db in the key signature, output
> > des; etc.
> > 
> 
> What you can do is something like
> 
> bmajoraccidentals = { c cis d dis f fis g gis a ais }
> \modalTranspose c cis \bmajoraccidentals \relative {
>     \key b \major
>     b c d e f g a b
> }
> 
> So you don’t even need a new function. But that’s very
> unflexible as it doesn’t allow you to enter pitches other than
> b cis dis e fis gis ais, bis, eis, and all the flats. But you
> won’t get it much more flexible even with a new function.

\key a Major ... \follow gs cs ff {...

More flexible, but insane in the example. 
Kindest regards, Rale

-- 
Guitar teaching materials and original music for all styles and
levels. Site: http://www.openguitar.com (()) eMail:
address@hidden Contact:
http://www.openguitar.com/contact.html





reply via email to

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