[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
Re: sharping naturals, Hans Åberg, 2015/08/10
Re: sharping naturals, David Raleigh Arnold, 2015/08/13
Re: sharping naturals, David Raleigh Arnold, 2015/08/13
Re: sharping naturals,
David Raleigh Arnold <=
Re: sharping naturals, David Raleigh Arnold, 2015/08/13
Re: sharping naturals, David Raleigh Arnold, 2015/08/13
Re: sharping naturals, David Raleigh Arnold, 2015/08/13
Re: sharping naturals, David Raleigh Arnold, 2015/08/13