[Top][All Lists]

[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 (X11/20070716)

PálBenkő wrote:
Kieren MacMillan <kieren_macmillan <at>> 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


lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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