Command Line Interface

• Aug 12, 2019 - 15:26

Hi

I'm using v2.3.2 and use the CLI quite a lot to convert xml's to pdf, mp3 or svg files.
I play mandolin and really like musescore's facility for adding mandolin tabs to the scores!
I have a mandolin tab template that I use when I open single xml files.

What I would like to be able to do is use the CLI mode 'mscore -o f1 f2' with my mandolin template so that I can get pdf's or svg's with the TAB included. I have an extensive collection of files that I would like to process.

I've checked mscore --help but can't see an option to specify a template.

Anything I've missed? Any help would be great!

Dave


Comments

In reply to by Marc Sabatella

Correct me if I'm wrong but style files govern the layout of the score: page settings (and maybe fonts colours etc)
Nothing to do with instruments or staves etc?

My source files are mostly ABC files. I use abc2xml.py first to convert them to xml and then ...

But thanks for your response.

Musescore is the BEST

Dave

In reply to by Dave Rawson

You're not wrong in saying that. But then I'm confused as to what you meant when you said you have a template you using opening XML files - that's the part that doesn't make sense. You can apply a style file when opening a file, but not a template, so it's not clear to me what you really mean there.

In reply to by Marc Sabatella

Yes I guess I was confused also in describing my use of a template.

However I solved my problem. I wrote a python script which modified the ABC files and adds a second voice - tablature with (mandolin) strings defined.

I can then process these files with abc2xml.py.
A shell script then calls mscore CLI to generate required svg files from these xml’s. I have 1800+ ABC files!

Thanks again

Dave

Do you still have an unanswered question? Please log in first to post your question.