lilypond-user
[Top][All Lists]
Advanced

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

Re: Pitch name change in the middle of a score


From: Mike Solomon
Subject: Re: Pitch name change in the middle of a score
Date: Fri, 7 Mar 2014 15:31:17 +0100

On Mar 7, 2014, at 3:25 PM, Phil Holmes <address@hidden> wrote:

I don't think many users use this feature, so you may not get help with it.  It might help if you explain what you're trying to do: there might be another way.

--
Phil Holmes
 
 
----- Original Message -----
Sent: Friday, March 07, 2014 4:56 AM
Subject: Pitch name change in the middle of a score

Hi all,
 
I would like to know how I can change the pitch name input during the middle of a score (it is to be used by only one Staff).
 
For example, I would like to change this
 
pitchnamesBagpipe = #`( 
(G . ,(ly:make-pitch 0 4 NATURAL))
(a . ,(ly:make-pitch 0 5 NATURAL))
(b . ,(ly:make-pitch 0 6 NATURAL))
(c . ,(ly:make-pitch 1 0 SHARP))
(cflat . ,(ly:make-pitch 1 0 FLAT))
(d . ,(ly:make-pitch 1 1 NATURAL))
(e . ,(ly:make-pitch 1 2 NATURAL))
(f . ,(ly:make-pitch 1 3 SHARP))
(fflat . ,(ly:make-pitch 1 3 FLAT))
(g . ,(ly:make-pitch 1 4 NATURAL))
(gflat . ,(ly:make-pitch 1 4 FLAT))
(A . ,(ly:make-pitch 1 5 NATURAL))
(B . ,(ly:make-pitch 1 6 NATURAL))
(C . ,(ly:make-pitch 2 0 SHARP))
)
pitchnames = \pitchnamesBagpipe
#(ly:parser-set-note-names parser pitchnames)

 

to this:

 

pitchnamesBreton = #`(
(G . ,(ly:make-pitch -1 5 FLAT))
(a . ,(ly:make-pitch -1 6 FLAT))
(b . ,(ly:make-pitch 0 0 NATURAL))
(c . ,(ly:make-pitch 0 1 NATURAL))
(cflat . ,(ly:make-pitch 0 1 FLAT))
(d . ,(ly:make-pitch 0 2 FLAT))
(e . ,(ly:make-pitch 0 3 NATURAL))
(f . ,(ly:make-pitch 0 4 NATURAL))
(fflat . ,(ly:make-pitch 0 4 FLAT))
(g . ,(ly:make-pitch 0 5 FLAT))
(gflat . ,(ly:make-pitch 0 5 DOUBLE-FLAT))
(A . ,(ly:make-pitch 0 6 FLAT))
(B . ,(ly:make-pitch 1 0 NATURAL))
(C . ,(ly:make-pitch 1 1 NATURAL))
)
pitchnames = \pitchnamesBreton
#(ly:parser-set-note-names parser pitchnames)

 

\with did not work.

 

A reply would be much appreciated.

 


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

When in doubt, hack the naturalMusic function to do any fancy pitch shiftery.
It has been of immense utility to me on innumerable occasions.

http://www.lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches#transpose

Cheers,
MS

reply via email to

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