Expand description
Where MuseScore is installed, and the numbered pages it writes when it
turns a score into PNG images: music21’s converter.museScore, less the
running of the program. It reads directories and nothing else.
Structs§
- Image
Request - How MuseScore is asked to write a score as an image.
- Page
Range - The number of the last page and how many digits each page’s number has.
Enums§
- Page
Error - Why a page could not be found or read, each with music21’s message.
Functions§
- default_
directories - The directories MuseScore is looked for in when none are given: the applications folders on a Mac, the program folders on Windows and the search path elsewhere.
- find
- MuseScore 3 or newer, found in the directories given, or nowhere: the
newest where several are, by the name of the path under its directory.
music21’s
findMuseScore. - first_
page - The first page MuseScore wrote for an image asked for at a path ending
in
.png:score-1.png,score-01.pngand so on, whichever is there. music21’sfindNumberedPNGPath. - image_
command - The command line that has MuseScore write
inputasoutput: music21’srunThroughMuseScore,-Tfor trimming and-rfor resolution. - is_
before_ three - Whether a name is of MuseScore 1 or 2, which cannot make the images:
music21’s
MuseScore ?[12]\b, any case. - last_
page - The last page MuseScore wrote beside a numbered one: for
abc-01.png, the lastabc-*.pngby name. music21’sfindLastPNGPath. - page_
range - How many pages MuseScore wrote and how many digits number them, from
the first page and the last: music21’s
findPNGRange. - patterns
- The executable inside each MuseScore installation, as a pattern under a directory it is installed in, newest naming first where a name does not say which version it is.