\version "2.19.80" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This file is part of openLilyLib, % % =========== % % the community library project for GNU LilyPond % % (https://github.com/openlilylib) % % ----------- % % % % Library: lilypond-export % % =============== % % % % export foreign file formats with LilyPond % % % % lilypond-export is free software: you can redistribute it and/or modify % % it under the terms of the GNU General Public License as published by % % the Free Software Foundation, either version 3 of the License, or % % (at your option) any later version. % % % % lilypond-export is distributed in the hope that it will be useful, % % but WITHOUT ANY WARRANTY; without even the implied warranty of % % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % % GNU General Public License for more details. % % % % You should have received a copy of the GNU General Public License % % along with openLilyLib. If not, see . % % % % openLilyLib is maintained by Urs Liska, address@hidden % % lilypond-export is maintained by Jan-Peter Voigt, address@hidden % % % % Copyright Jan-Peter Voigt, Urs Liska, 2017 % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.19.58" \include "oll-core/package.ily" \loadPackage lilypond-export music = << \relative { a'8 b16 a g8 a32 b c16 b16.. a64 g16 a32 g } \relative { a'8[ b16 a] g8[ a32 b c16] b16..[ a64 g16 a32 g] } >> opts.exporter = #exportMusicXML % or as a layout extension that is added to the layout \score { \music \layout { \FileExport #opts } }