Loading a style file via command line with "-S" ?
Can anyone confirm that this is currently working? I'm trying to batch convert .mid files, and nothing I do seems to get the -S command line argument to work. I'm using -o to specify an output, I'm using midi import options with -M, but -S never affects the output. The style files are just XML, same as you get when you do Style -> Save Style.
Comments
I'm also having this issue.
I'm just converting one midi file into a .png
specifically, I'm trying to hide the instrument names (would be interested in any other approach too)
In reply to I'm also having this by robbykraft
And in normalmmode this works? Importing the MIDI, loading the Style, exporting png?
Can you share the mid and mss file?
In reply to And in normalmmode this by Jojo-Schmitz
oh good idea -
i tried it and it looks like the load style and save style doesn't appear to be working in the GUI app either.
i have a wealth of Bach midis, i've tried with multiple ones, here's one that i just tried - and the style .mss file was made by saving it from musescore directly
the result should make the text large (50pt) and white colored.
In reply to And in normalmmode this by Jojo-Schmitz
More info:
musescore loads and processes the style .mss files, but it appears to ignore the "TextStyle"
commands
for example one command that does work is "staffDistance"
i've been trimming .mss files and trying out just the commands i need.
a final test I just did was I moved the "TextStyle" commands to the top, and other commands to the bottom, and it still processed the other commands, so it's not a problem of failing and quitting the file, it's skipping over the TextStyle commands, or having some kind of problem with them
In reply to More info: musescore loads by robbykraft
Note that the fonts not loading is a known issue, which has a fix ready for review: #102716: Font doesn't automatically update itself after loading style
In reply to Note that the fonts not by jeetee
oh great! thanks Johan.
can you confirm one thing with me - because what I really want to do is remove the instrument names text from the final image of a command line midi to png conversion like: mscore music_trim.mid -o picture.png
is there no explicit way of doing this?
the hack i'm attempting is to just turn it white, as is the background, and crop it out.