moonlight
moonlight copied to clipboard
Export stem directions in MusicXML
We have the stem coordinates for each notehead. We should determine whether it's an "up" or "down" stem based on whether more of the stem is above or below the note center y. Then, we should add a <stem>up</stem> or <stem>down</stem> to the <note> element.