MSCORE3(1)
okay bestie, sit down, hydrate, because we're about to read the manual for mscore3(1) β straight out of the General Commands Manual β and it's literally the sheet music editor of your dreams. π
β¨ NAME β¨
mscore3, musescore3 β MuseScore 3 sheet music editor πΌ
πΈ SYNOPSIS πΈ
mscore3 [-deFfhIiLmnOPRstvw] [-a | --use-audio driver]
[-b | --bitrate bitrate] [-c | --config-folder pathname]
[-D | --monitor-resolution DPI]
[-E | --install-extension extension file] [-j | --job file.json]
[-M | --midi-operations file] [-o | --export-to file]
[-p | --plugin name] [-r | --image-resolution DPI]
[-S | --style style] [-T | --trim-image margin]
[-x | --gui-scaling factor] [--debug] [--diff] [--dump-midi-in]
[--dump-midi-out] [--experimental] [--export-score-parts]
[--factory-settings] [--force] [--help] [--layout-debug]
[--load-icons] [--long-version] [--new-score]
[--no-fallback-font] [--no-midi] [--no-synthesizer]
[--no-webview] [--raw-diff] [--revert-settings]
[--run-test-script] [--score-media] [--score-mp3]
[--score-parts-pdf] [--template-mode] [--test-mode] [--version]
[file ...]
π¦ DESCRIPTION π¦
MuseScore is a Free and Open Source WYSIWYG cross-platform multi-lingual music composition and notation software, released under the GNU General Public Licence (GPLv2). no cap, that's the whole vibe. π
Running mscore3 with zero extra options launches the full graphical MuseScore program and opens any files you dropped on the command line. just you, your score, and main character energy. β¨
The options are as follows:
-a|--use-audiodriver β pick your audio driver, bestie. one ofjack,alsa,portaudio,pulse.-b|--bitratebitrate β sets the MP3 output bitrate, measured in kbit/s.-c|--config-folderpathname β overrides the configuration and settings directory. your settings, your rules. π-D|--monitor-resolutionDPI β tells it your monitor resolution (overrides autodetection, because sometimes it just guesses wrong π).-d|--debugβ starts MuseScore in debug mode. detective era. π-E|--install-extensionextension file β installs an extension file. soundfonts get loaded by default unless-eis also specified. iykyk.-e|--experimentalβ turns on experimental features, like layers. living on the edge, fr fr. π§ͺ-F|--factory-settingsβ uses only the standard built-in presets ("factory settings") and deletes your user preferences. compare with the-Roption. be so careful with this one omg π-f|--forceβ ignores score corruption and version mismatch warnings in "converter mode". chaotic but valid.-h|--helpβ displays an overview of invocation instructions. the classic.-I|--dump-midi-inβ displays all MIDI input on the console.-i|--load-iconsβ loads icons from the filesystem; useful if you want to edit the MuseScore icons and preview the changes. custom icon era π-j|--jobfile.json β processes a conversion job (peep "EXAMPLES" below).-L|--layout-debugβ starts MuseScore in layout debug mode.-M|--midi-operationsfile β specifies the MIDI import operations file (peep "EXAMPLES" below).-m|--no-midiβ disables MIDI input.-n|--new-scoreβ starts with the New Score wizard, regardless of whether it's enabled or disabled in the user preferences. we love a fresh start π±-O|--dump-midi-outβ displays all MIDI output on the console.-o|--export-tofile β exports the given (or currently opened) file to the specified output file. the file type depends on the extension of the filename you give it. this option switches to "converter mode" and avoids the graphical user interface.-P|--export-score-partsβ when converting to PDF with the-ooption, appends each part's pages to the created PDF file. if the score has no parts, all default parts will temporarily be generated automatically. so generous of it π«Ά-p|--pluginname β executes the named plugin.-R|--revert-settingsβ uses only the standard built-in presets ("factory settings") but does not delete user preferences; compare with the-Foption. the gentle version, we stan.-r|--image-resolutionDPI β sets the image resolution for conversion to PNG files.- Default: 300 DPI (actually, the value of "Resolution" of the PNG option group in the Export tab of the preferences).
-S|--stylestyle β loads a style file first; useful for use with the-ooption.-s|--no-synthesizerβ disables the integrated software synthesiser.-T|--trim-imagemargin β trims exported PNG and SVG images to remove whitespace surrounding the score. the specified margin, in pixels, will be retained (use0for a tightly cropped image). when exporting to SVG, this option only works with single-page scores. crop it, slay it βοΈ-t|--test-modeβ sets the test mode flag for all files.-v|--versionβ displays the name and version of the application without starting the graphical user interface.-w|--no-webviewβ disables the web view component in the Start Centre.-x|--gui-scalingfactor β scales the score display and other GUI elements by the specified factor; intended for use with high-resolution displays. retina girlies rise π--diffβ prints a conditioned diff between the given scores.--long-versionβ displays the full name, version and git revision of the application without starting the graphical user interface.--no-fallback-fontβ don't use Bravura as fallback musical font.--raw-diffβ prints a raw diff between the given scores.--run-test-scriptβ runs script tests listed in the command line arguments.--score-mediaβ exports all media (except MP3) for a given score as a single JSON document to stdout.--score-mp3β generates an MP3 for the given score and exports it as a single JSON document to stdout.--score-parts-pdfβ generates parts data for the given score and exports it as a single JSON document to stdout.--template-modeβ saves files in template mode (e.g. without page sizes).
MuseScore supports the automatic Qt command line options (see below).
π Batch conversion job JSON format π
The argument to the -j option must be the pathname of a file comprised of a valid JSON document honouring the following specification. listen closely bestie, this part is structured:
- The top-level element must be a
JSONArray, which may be empty. - Each array element must be a
JSONObjectwith the following keys:inβ value is the name of the input file (score to convert), asJSONString.pluginβ value is the filename of a plugin (with the.qmlextension), which will be read from either the global or per-user plugin path and executed before the conversion output happens, asJSONString. optional, but at least one ofpluginandoutmust be given.outβ value is the conversion output target, as defined below. optional, but at least one ofpluginandoutmust be given.
- The conversion output target may be a filename (with extension, which decided the format to convert to), as
JSONString. - The conversion output target may be a
JSONArrayof filenames asJSONString, as above, which will cause the score to be written to multiple output files (in multiple output formats) sequentially, without being closed, re-opened and re-processed in between. efficiency icon β¨ - If the conversion output target is a
JSONArray, one or more of its elements may also be, each, aJSONArrayof twoJSONStrings (called first and second half in the following description). this will cause part extraction: for each such two-tuple, all extant parts of the score will be saved individually, with filenames being composed by concatenating the first half, the name (title) of the part, and the second half. the resulting string must be a valid filename (with extension, determining the output format). if a score has no parts (excerpts) defined, this will be silently ignored without error. no drama, no warning. - Valid file extensions for output are:
flacβ Free Lossless Audio Codec (compressed audio)metajsonβ various score metadata (JSON)midβ standard MIDI filemlogβ internal file sanity check log (JSON)mp3β MPEG Layer III (lossy compressed audio)mposβ measure positions (XML)mscxβ uncompressed MuseScore filemsczβ compressed MuseScore filemusicxmlβ uncompressed MusicXML filemxlβ compressed MusicXML fileoggβ OGG Vorbis (lossy compressed audio)pdfβ portable document file (print)pngβ portable network graphics (image)- Individual files, one per score page, with a hyphen-minus followed by the page number placed before the file extension, will be generated.
sposβ segment positions (XML)svgβ scalable vector graphics (image)wavβ RIFF Waveform (uncompressed audio)xmlβ uncompressed MusicXML file
See below for an example. (patience, bestie, it's coming π)
π ENVIRONMENT π
SKIP_LIBJACKβ set this (the value does not matter) to skip initialisation of the JACK Audio Connection Kit library, in case it causes trouble. πXDG_CONFIG_HOMEβ user configuration location; defaults to~/.configif unset.XDG_DATA_HOMEβ user data location; defaults to~/.local/shareif unset.XDG_DOCUMENTS_DIRβ location of works the user created with the application; defaults to~/Documents(or a localised version) and can be set in$XDG_CONFIG_HOME/user-dirs.dirs.
note that MuseScore also supports the normal Qt environment variables such asQT_QPA_GENERIC_PLUGINS,QT_QPA_PLATFORM,QT_QPA_PLATFORMTHEME,QT_QPA_PLATFORM_PLUGIN_PATH,QT_STYLE_OVERRIDE,DISPLAY, etc.
πΈ FILES πΈ
Bestie, here's where everything lives on your disk, so listen up π
/usr/share/mscore3-3.2/β this is the application support data home base. Inside you'll find demos, instruments, localisation, system-wide plugins, soundfonts, styles, chords, templates and wallpapers. All the good stuff π
Heads up tho: in the Debian packages, the system-wide soundfonts don't chill there β they get installed into/usr/share/sounds/sf2/,/usr/share/sounds/sf3/or/usr/share/sounds/sfz/, respectively, instead. iykyk π
Your per-user data (extensions, plugins, soundfonts, styles, templates) and files (images, scores) normally get installed into subdirectories under $XDG_DOCUMENTS_DIR/MuseScore3/ β but ngl, that can be changed in the configuration β¨
Important note fr fr: snapshot, alpha and beta versions useMuseScore3Developmentinstead ofMuseScore3in all of these paths. Don't get caught slipping π
$XDG_CONFIG_HOME/MuseScore/MuseScore3.iniβ this lil file holds your user preferences, the list of recently used files and their locations, window sizes and positions, etc. See above for development version paths π$XDG_DATA_HOME/MuseScore/MuseScore3/β and this one contains updated localisation files downloaded from within the program, plugin information, cached scores, credentials for the musescore.com community site, session information, synthesiser settings, custom key and time signatures and shortcuts. See above for development version paths π¦
β¨ EXAMPLES β¨
Okay so converting a score to PDF straight from the command line? Iconic, main character energy π
mscore3 -o 'My Score.pdf' 'My Score.mscz'
Wanna run a batch job converting multiple documents? Say less:
mscore3 -j job.json
This requires the file job.json in the current working directory to have content similar to the following:
[
{
"in": "Reunion.mscz",
"out": "Reunion-coloured.pdf",
"plugin": "colornotes.qml"
},
{
"in": "Reunion.mscz",
"out": [
"Reunion.pdf",
[ "Reunion (part for ", ").pdf" ],
"Reunion.musicxml",
"Reunion.mid"
]
},
{
"in": "Piece with excerpts.mscz",
"out": [
"Piece with excerpts (Partitura).pdf",
[ "Piece with excerpts (part for ", ").pdf" ],
"Piece with excerpts.mid"
]
}
]
The last part of the job would, for example, cause files like βPiece with excerpts (part for Violin).pdfβ to be generated alongside the conductor's partitura and a MIDI file with the full orchestra sound π β whereas the equivalent part of the Reunion conversion will be silently ignored (because the Reunion piece (a MuseScore demo) has no excerpts defined). Not a bug bestie, just how it is π
https://musescore.org/sites/musescore.org/files/midi_import_options_0.xml is a sample MIDI import operations file for the -M option. Bookmark it π
π DIAGNOSTICS π
The mscore3 utility exits 0 on success, and >0 if an error occurs. Simple as that π«Ά
π SEE ALSO π
fluidsynth(1),midicsv(1),timidity(1),qtoptions(7)https://musescore.org/handbookβ Online Handbook, full user manual πhttps://musescore.org/forumβ Support Forum π¬https://musescore.org/handbook/command-line-options-0β Further documentation of command line options βοΈhttps://musescore.org/handbook/revert-factory-settings-0β Reverting to factory settings (troubleshooting) π§https://musescore.org/project/issuesβ Project Issue Tracker π
Please check first to if the bug you're encountering has already been reported. If you just need help with something, then please use the support forum (see above) instead. Like, fr, don't file a bug when you just need a lil help bestie π
http://doc.qt.io/qt-5/qguiapplication.html#supported-command-line-optionsβ Documentation of automatic Qt command line options π§
β STANDARDS β
MuseScore attempts to implement the following standards (slay π ):
- MusicXML 3.1 (score interchange format)
- SF2 (SoundFont 2.01)
- SF3 (SoundFont with OGG Vorbis-compressed samples)
- SFZ (Sforzato soundfont)
- SMuFL (Standard Music Font Layout 1.20)
π°οΈ HISTORY π°οΈ
MuseScore was split off the MusE sequencer in 2002 and has since become the foremost Open Source notation software. Glow up of the century honestly π
π«Ά AUTHORS π«Ά
MuseScore is developed by Werner Schweer and others.
This manual page was written by mirabilos <tg@debian.org>.
π CAVEATS π
The automatic Qt command line options are removed from the argument vector before the application has a chance at option processing. This means that an invocation like
mscore3 -S -reverse
has no chance at working because the -reverse is removed by Qt first. RIP to that flag, it never even made it to the party π
π BUGS π
- MuseScore does not honour
/etc/papersize. - Probably some more; check the project's bug tracker (cf. βSEE ALSOβ).
And that's a wrap bestie!! π This page is from MuseScore's manual, dated March 20, 2019 β mscore3, version 3.2 era. Go forth and notate, you gorgeous genius you ππβ¨
π¦ where this page comes from
- debian bookworm: musescore3 3.2.3+dfsg2-16 Β· GPL-2.0-only
- ubuntu jammy: musescore3 3.2.3+dfsg2-11 Β· GPL-2.0-only
- ubuntu noble: musescore3 3.2.3+dfsg2-16build5 Β· GPL-2.0-only
- Copyright (c) 2018, 2019 mirabilos <m@mirbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms