lilypond-user
[Top][All Lists]
Advanced

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

Re: flats as sharps and sharp as flats


From: Mats Bengtsson
Subject: Re: flats as sharps and sharp as flats
Date: Fri, 24 Apr 2009 10:48:41 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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