mup(1)
π NAME π
mup β music publisher π
β¨ SYNOPSIS β¨
mup [-cN] [-C] [-dN] [-D MACRO[=macro_def]] [-e errfile] [-E] [-f
outfile] [-F] [-l] [-m midifile] [-M] [-o pagelist] [-pN] [-q] [-v] [-x
N[,M] [file...]
πΈ DESCRIPTION πΈ
okay so bestie, mup is literally a program for producing printed music πΌ. there's an optional companion program called Mupmate that gives you a more graphical user interface on top of Mup, but this manual page is all about the command line interface, periodt. you should consult the Mup User's Guide for details of the format of the input file. options include:
-c Nβ combine consecutive measures of all rests or spaces into multirests (multiple measures of rest printed as a single measure, with the number of measures of rest printed above the staff). any time there are N or more measures in a row that consist entirely of rests or spaces, they will be replaced by a multirest. the combining of measures stops when there is a visible staff that contains notes, lyrics, or other musical symbols, when there are parameter changes on a visible staff or in score context, or when there is a bar line other than an ordinary or invisible bar. this option is most likely to be useful when printing a subset of staffs, where the particular staff(s) you are printing have long periods of rests. (See the-soption.) π€-Cβ this option is only used in connection with the-Eoption. it specifies that comments are to be passed through rather than deleted. π¬-d Nβ print debugging information. N is a bitmap. lowkey nerdy but here's the breakdown:1β parse phase information2β high level parse phase tracing4β low level parse phase tracing8β reserved16β high level placement phase tracing32β low level placement phase tracing64β reserved128β contents of the main internal list256β high level print phase tracing512β low level print phase tracing
N can be specified in decimal, octal (by using a leading zero), or hex (by using a leading 0x). this information is intended for debugging of Mup itself and thus is not likely to be of use to the average user. π
-D MACRO[=macro_def]β define the macro MACRO. the macro name must consist of upper case letters, digits, and underscores, beginning with an upper case letter. the macro_def is optional, and gives the text of the macro. if it contains any white space or other special characters, it must be quoted (if quoting is supported by your operating system or shell). π€-e errfileβ place error messages into errfile instead of writing them to the standard error output stream. π-Eβ rather than produce PostScript or MIDI output, just expand macros and includes, and write the result to the standard output stream. comments in the input are deleted, unless the-Coption is also specified. β¨-f outfileβ place the output into outfile instead of writing it to the standard output. π-Fβ this is like the-foption, except the name of the output file is derived from the name of the Mup input file. if the name of the Mup input file ends with a.mupsuffix, the generated PostScript output file will end with a.pssuffix instead. if the name of the Mup input file ends with a.MUPsuffix, the PostScript file will end with a.PSsuffix. otherwise, a.pssuffix will be appended to the end of the Mup input file name. if multiple input files are listed, the last is used. if none are specified (input is read from standard input), the namestdin.pswill be used for the output file. π-lβ print the Mup license and exit. π-m midifileβ instead of generating PostScript output, generate standard MIDI (Musical Instrument Digital Interface) output, and put it in midifile. this option also causes the macroMIDIto become defined. πΉ-Mβ this is like the-moption, except the name of the MIDI file is derived from the name of the Mup input file. if the name of the Mup input file ends with a.mupsuffix, the generated MIDI file will end with a.midsuffix instead. if the name of the Mup input file ends with a.MUPsuffix, the MIDI file will end with a.MIDsuffix. otherwise, a.midsuffix will be appended to the end of the Mup input file name. if multiple input files are listed, the last is used. if none are specified (input is read from standard input), the namestdin.midwill be used for the MIDI file. πΆ-o pagelistβ print only the pages given in pagelist. the pagelist can be a commaβseparated list of numbers or ranges, where a range is two numbers separated by a dash. for example,-o1,7-9,12-14would print pages 1, 7, 8, 9, 12, 13, and 14. pages will be printed in the order given. they need not be in order, and a page number may be included more than once. alternately, the pagelist can be the special keyword"odd"or"even"which will cause all odd or even numbered pages to be printed. this may be useful if you have a printer that only makes singleβsided copies, but you wish to print Mup output doubleβsided. you could print oddβnumbered pages, then turn the paper over and feed the pages through again for the evenβnumbered pages. π-pNβ start numbering pages at N instead of at 1. if-oand-pare used together, the page numbers given in the-opagelistmust be the printed page numbers. for example, if you use-p10and want to print just the second page, you would need to specify-o11. π’-qβ quiet mode. omit printing the version number and Copyright notice on startup. π€«-sstafflistβ only print the staffs that are included in stafflist. this can be a commaβseparated list of staff numbers or ranges, such as"1,5"or"1-3,7-8". to further restrict to a single voice on a staff, addvNwhere N is the voice number (1, 2, or 3), after the staff, as in"2v1,5v2". you can't specify a list or range for voices; if you only want to make two out of three voices visible, you have to specify them separately, like"1v2,1v3". no spaces are allowed in the list. π΅-vβ print the Mup version number and exit. this manual page is for version 7.2. π-xM,Nβ extract measures M through N of the song. this allows you to print or play a part of a song. the comma and second value are optional; if not specified, the default is to go to the end of the piece. positive values specify the number of measures from the beginning of the piece, while negative values are relative to the end, with-1referring to the last measure of the song. so-x1,-1means the entire song, if the song doesn't have a pickup measure. if the song has a pickup measure, that is specified by0. so for a song with a pickup,-x0,-1would mean the entire song, and-x0,0would mean just the pickup measure. as other examples,-x-1,-1means just the final measure of the song,-x2means starting after the first full measure,-x3,4means only measures 3 and 4, and-x6,6means just measure 6. the starting measure is not allowed to be inside an ending. a common use for this option might be to generate a MIDI file for just a few measures. for example, if you were trying to tweak tempo values for a ritard in the last 2 measures of a song, you could use-x-2to listen to just those measures. βοΈ
the options, if any, can be followed by one or more files in Mup format. if no files are specified, standard input is read. if several files are listed, they are effectively concatenated together and treated as one big file. since there are some things (such as header and footer) that are only allowed to occur once, if you have several independent pieces, mup should be called on each individually rather than trying to print them all with one command. if a specified file does not exist, and its name does not already end with .mup or .MUP, then Mup will append .mup to the specified name and attempt to open that. π
on most systems, the environment variable MUPPATH can be set to a list of paths in which to look for 'include' files. the components are separated by a colon on Unix or Linux systems, and by a semicolon on systems with DOSβlike file naming conventions. π
for more debugging, in addition to the -d option, if the environment variable MUP_BB is set to "bcfghnsu" or any subset of those letters, the generated output will include "bounding boxes" for the things Mup internally calls bars (b), chords (c), feeds (f), grpsyls (g), header/footer and top/bottom (h), notes (n), staffs (s), and stuff (u). while this is intended for use in debugging Mup itself, it may also help you understand why Mup places things the way it does, since in general, Mup only allows bounding boxes to overlap according to specific rules. if viewed with a color PostScript viewer (not mupdisp), these boxes will be in color. π
π SEE ALSO π
gs(1), mkmupfnt(1), mupdisp(1), mupmate(1), mupprnt(1). Mup β Music Publisher User's Guide
and that's the whole vibe, bestie! this page was lovingly brought to you by Arkkra Enterprises, dated February 28, 2021, and it's the mup(1) manual. stay slaying π
β¨
π¦ where this page comes from
- epel 9: mup 7.2-1.el9 Β· Mup
- fedora 43: mup 7.2-2.fc43 Β· Mup
- fedora 44: mup 7.2-4.fc44 Β· Mup
- nixos 26.05: mup 7.2
- nixpkgs unstable: mup 7.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms