mark damerell wrote > pitch-semitones converts a pitch to semitones. Please does the inverse > function exist?
Hi Mark, As I understand it, what is called a "pitch" in LilyPond consists of three values: an octave, a note name/position within that octave (ABCDEFG), and an alteration (sharp, flat, natural, etc.). So that means there's no consistent way to go from semitones to a "pitch" (in the LilyPond sense) because the same semitone value could be mapped to multiple "pitches," an f-sharp and a g-flat in the same octave, for instance. But maybe you're interested in some different notion or understanding of "pitch"? -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Convert-semitones-to-pitch-tp165565p165597.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
