How are enharmonic notes supposed to be treated in such a function?

Le 28.03.23 à 00:08, Paul Hodges a écrit :
I have been asked to take a piece of music (which I already have in LilyPond), and mirror it vertically.  That's to say, to take each note which is n semitones above middle c and replace it with the note n semitones below middle c, and vice versa.

Before I start trying to write a function to do this, I thought I'd ask if anyone has or is aware of a snippet which can already do this?

Thanks,
Paul


--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <https://perso.silvain-dupertuis.org>

Reply via email to