lilypond-user
[Top][All Lists]
Advanced

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

RE: Modified enharmonic.ly (from snippets)


From: Peter Gentry
Subject: RE: Modified enharmonic.ly (from snippets)
Date: Wed, 3 Dec 2014 20:25:59 -0000

Hi Kieren

I'm glad you find it useful. One of the main drivers for me was just to dip my 
toes into the wonderful world of Scheme (still not up
to the ankles yet!)

You could try it out by either saving the file in your includes folder and 
calling it (see below) by \naturalizeMusic in the score
file - my music is in the file "Bach Part Notes Test.ly".

\version "2.18.2"
% Bach Minuet from Partita No1
#(set-global-staff-size 23)
  \header {  title =   "Minuet from Partita No 1"
                 composer =  "J S Bach"   } 
\include "./ranges/enharmonic.ly"  %this is the scheme code
\score {
\naturalizeMusic
\include "Bach Part Notes Test.ly" } 

I don't know how to implement (#'obey-key-signature ?). I imagine that would 
need changes to the LilyPond code. If that was
envisaged I think my code would need to be refined.

>-----Original Message-----
>From: Kieren MacMillan [mailto:address@hidden 
>Sent: Wednesday, December 03, 2014 2:31 PM
>To: Peter Gentry
>Cc: Lilypond-User Mailing List; David Nalesnik
>Subject: Re: Modified enharmonic.ly (from snippets)
>
>Hi Peter,
>
>> Yes it will force accidentals to be same type as key 
>signature. Music 
>> in Keys with flats will only have flat accidentals and 
>similar for sharp keys just sharp accidentals.
>
>Ah! That is a nice feature.
>Perhaps there's a way (e.g., with David N.) to combine the two 
>functions into a single one, with a parameter 
>(#'obey-key-signature ?) to enable your enhancement?
>
>> I don't imagine this has general use
>
>Au contraire: in my musical theatre works, I could use it for 
>my multi-instrumentalist transpositions.  =)
>
>Thanks,
>Kieren.
>_______________________
>
>Kieren MacMillan, composer
>www:  <http://www.kierenmacmillan.info>
>email:  address@hidden
>




reply via email to

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