Janek Warchoł writes:
I have a piece written in es minor, which contains a lot of sharps and naturals (along with passages of flat notes). I'd like to "transpose it enharmonically" so that sharp notes become flat notes a scale step above, natural notes become double-flatted notes, but regular passages of flat notes aren't affected.
Benkő Pál writes :
- \naturalizeMusic is far closer to your needs, it just have to be enhanced to know the key in the spirit of modal transposition
That is a very good idea. We can 1) transpose from E-flat minor to A minor (no accidentals in the key signature) 1a) so that foreign notes now have large alterations, then 2) apply \naturalizeMusic, and 3) transpose back to E-flat minor. ==8<== % Include naturalizeMusic from Reference Manual section 1.1.2 % or from http://lsr.dsi.unimi.it/LSR/Item?id=266 music = \relative c' { \key es\minor es a bes e | es2 cis4 b } { \music } \transpose a es \naturalizeMusic \transpose es a { \music } % Janek said he also wanted to convert some natural notes into double-flats; % to do this, we transpose a couple steps further around the circle of fifths \transpose b es \naturalizeMusic \transpose es b { \music }
<<attachment: naturalize.png>>
_______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
