PálBenkő wrote:
Kieren MacMillan <kieren_macmillan <at> sympatico.ca> writes:

Hi Stefan,

Is it possible to define another function, that shows an written "dis"
as an "es" and vice versa?
The \transpose function already does this! Simply use the enharmonic transposition:

\version "2.12.2"
sharpMusic = \relative { cis' dis fis gis ais }
\score {
        <<
                \new Staff \sharpMusic
                \new Staff \transpose cis des \sharpMusic
        >>
}

but this turns e to fes, doesn't it?
I think Stefan's problem is that some programs (devices) send a G-major scale as
g a b c d e ges g
and he wants to turn only the ges to fis.
Then, you can combine Keiren's solution with http://lsr.dsi.unimi.it/LSR/Item?id=266

  /Mats
p



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [email protected]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to