Transposing pitches with minimum accidentals (“smart” transpose): Difference between revisions
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 13: | Line 13: | ||
In this manner, the most natural enharmonic notes are chosen. | In this manner, the most natural enharmonic notes are chosen. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
#(define (naturalize-pitch p) | #(define (naturalize-pitch p) | ||
(let ((o (ly:pitch-octave p)) | (let ((o (ly:pitch-octave p)) | ||