Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Issue 1659041: Lilypond-book: Implement musicxml support in lilypond-book (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Reinhold
Modified:
12 years, 8 months ago
Reviewers:
pkx166h, colinpkcampbell, lemzwerg, carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Lilypond-book: Implement musicxml support in lilypond-book This patch adds support for including MusicXML files into documents processed by lilypond-book. In particular: -) HTML: <musicxmlfile options>filename.xml</musicxmlfile> -) TeX: \musicxmlfile[options]{filename.xml} -) Texinfo: @musicxmlfile[options]{filename.xml} Since MusicXML is so verbose, it doesn't make much sense to support inline MusicXML. The snippets are first processed by musicxml2ly and then treated like a normal lilypond snippet in lilypond-book. The only difference is that the original .xml file is linked in the output rather than the intermediary .ly file. I have mainly implemented this so that the MusicXML test suite can directly link to the .xml file files rather than the lilypond files, which are not relevant for xml anyway. I have also extended lilypond-book to allow additional formatters, so the MusicXML test suite can override the formatting of the MusicXML snippets in the output (e.g. because I want to add some to other renderings in the future, too).

Patch Set 1 #

Patch Set 2 : Clean up, add regtests, add documentation, use in MusicXML test suite #

Total comments: 8

Patch Set 3 : Cleanup, better progress output, etc. #

Patch Set 4 : Fix docs as suggested #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -43 lines) Patch
M Documentation/usage/lilypond-book.itely View 1 2 3 4 chunks +99 lines, -22 lines 4 comments Download
A input/regression/lilypond-book/html-musicxml-file.htmly View 1 chunk +6 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/html-musicxml-file-compressed.htmly View 1 1 chunk +6 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/html-musicxml-file-options.htmly View 1 1 chunk +6 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/include.mxl View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A input/regression/lilypond-book/include.xml View 1 2 Binary file 0 comments Download
A input/regression/lilypond-book/tex-musicxml-file.lytex View 1 chunk +5 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/tex-musicxml-file-options.lytex View 1 chunk +5 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/texinfo-musicxml-file.tely View 1 chunk +12 lines, -0 lines 0 comments Download
A input/regression/lilypond-book/texinfo-musicxml-file-options.tely View 1 chunk +12 lines, -0 lines 0 comments Download
M input/regression/musicxml/GNUmakefile View 1 1 chunk +5 lines, -4 lines 0 comments Download
A input/regression/musicxml/book-musicxml-testsuite.py View 1 1 chunk +64 lines, -0 lines 0 comments Download
M python/book_base.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M python/book_docbook.py View 1 1 chunk +1 line, -1 line 0 comments Download
M python/book_html.py View 1 4 chunks +11 lines, -2 lines 0 comments Download
M python/book_latex.py View 1 1 chunk +11 lines, -0 lines 0 comments Download
M python/book_snippets.py View 1 2 8 chunks +111 lines, -9 lines 0 comments Download
M python/book_texinfo.py View 1 3 chunks +11 lines, -2 lines 0 comments Download
M scripts/build/lys-to-tely.py View 1 2 3 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 11
Colin Campbell
If this is still alive, Reinhold, I'd like to give it an entry on the ...
12 years, 10 months ago (2011-06-25 19:32:49 UTC) #1
Reinhold
On 2011/06/25 19:32:49, Colin Campbell wrote: > If this is still alive, Reinhold, I'd like ...
12 years, 10 months ago (2011-06-25 19:42:38 UTC) #2
pkx166h
On 2011/06/25 19:42:38, Reinhold wrote: > On 2011/06/25 19:32:49, Colin Campbell wrote: > > I ...
12 years, 10 months ago (2011-06-25 21:50:08 UTC) #3
Reinhold
On 2011/06/25 21:50:08, J_lowe wrote: > On 2011/06/25 19:42:38, Reinhold wrote: > > On 2011/06/25 ...
12 years, 10 months ago (2011-06-25 22:01:05 UTC) #4
lemzwerg
LGTM (without testing). http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely File Documentation/usage/lilypond-book.itely (right): http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode207 Documentation/usage/lilypond-book.itely:207: @item the @code{\lilypond@{...@}} command, where you ...
12 years, 9 months ago (2011-07-26 15:49:50 UTC) #5
pkx166h
A few minor syntax and doc policy issues http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely File Documentation/usage/lilypond-book.itely (right): http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode206 Documentation/usage/lilypond-book.itely:206: @itemize ...
12 years, 9 months ago (2011-07-26 21:38:00 UTC) #6
Reinhold
Of course, all comments for the docs apply to HTML/LaTeX/Texinfo as well. http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely File Documentation/usage/lilypond-book.itely ...
12 years, 9 months ago (2011-07-27 14:20:53 UTC) #7
pkx166h
http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely File Documentation/usage/lilypond-book.itely (right): http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode226 Documentation/usage/lilypond-book.itely:226: @end example On 2011/07/27 14:20:57, Reinhold wrote: > On ...
12 years, 9 months ago (2011-07-27 19:20:45 UTC) #8
Reinhold
On 2011/07/26 21:38:00, J_lowe wrote: > A few minor syntax and doc policy issues I ...
12 years, 8 months ago (2011-08-10 17:16:55 UTC) #9
pkx166h
minor stuff. http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely File Documentation/usage/lilypond-book.itely (right): http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely#newcode225 Documentation/usage/lilypond-book.itely:225: In the input file, music is specified ...
12 years, 8 months ago (2011-08-10 21:38:49 UTC) #10
Carl
12 years, 8 months ago (2011-08-10 21:47:15 UTC) #11
LGTM.  Thanks!

Carl

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond...
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond...
Documentation/usage/lilypond-book.itely:225: In the input file, music is
specified with any of the following commands
I think a colon is better than a comma in these situations.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b