16

I wasn't sure whether to post this on StackOverflow or here, but since the pros in MuseScore should be on this platform, here it goes:

I have a custom build system to create a pdf songbook using LaTeX and I want to include tablature there. I parse ASCII tablatures myself and just need to render them.

So my idea would be:

I export the tablature to a format that MuseScore can read (XML?), then call MuseScore from the command line to render it as a PDF or image, which I then include in my LaTeX page.

Does MuseScore support this?

1
  • 7
    As you're already using latex, are you aware of LilyPond? Commented Aug 27, 2019 at 7:22

2 Answers 2

12

MuseScore supports MusicXml, so if you can export to that, you're good.

According to the command line options of MuseScore, you can use the "-o" options to specify an output format, and it even has an example specifying input and output.

How to include it in your LaTeX page is of course beyond MuseScore, that's up to you.

0
18

Another option (if this could be allowed as an answer) is to read the XML in LilyPond, perhaps via musicxml2ly.

Since LaTeX and LilyPond can work relatively well together, you may have better luck that way. And done the right way (like with the lyluatex package) you could bypass creating the "output" altogether and have it immediately created in your file.

2
  • 2
    Seconded. MuseScore is first and foremost designed to be used graphically, LilyPond programmatically. Commented Aug 27, 2019 at 4:28
  • 2
    This sounds like the better option, +1. LilyPond seems to be designed for these kind of scenario's. Commented Aug 27, 2019 at 13:53

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.