Subject: Re: flats as sharps and sharp as flats

2009-04-26 Thread Stefan Thomas
Dear community, with Your hints I made success with my idea of changing the enharmonic context. But, what I did doesn't still work like I expect it. Here is an example with short comments on it: \version 2.13.0 #(define (naturalize-pitch p) (let* ((o (ly:pitch-octave p)) (a (* 4

Re: flats as sharps and sharp as flats

2009-04-24 Thread Mats Bengtsson
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

Re: flats as sharps and sharp as flats

2009-04-23 Thread PálBenkő
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 =

flats as sharps and sharp as flats

2009-04-19 Thread Stefan Thomas
Dear community, I have a question about the great naturalize music function, I found at http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Pitches#Pitches Is it possible to define another function, that shows an written dis as an es and vice versa? I'm thinking of something like \showFlats

Re: flats as sharps and sharp as flats

2009-04-19 Thread Kieren MacMillan
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 {