Subsections

Introduction

MusiXTeX, created by Daniel Taupin, Andreas Egler and Ross Mitchell, is software that uses a typesetting system called TeX to typeset music. To use it, one produces a text file describing the music to be typeset; then the software processes the input file and eventually produces the typeset music as a PDF or other printable format. In fact, MusiXTeX processing requires three passes: MusixTeX itself, followed by a program called MusiXflx, followed by MusixTeX again; then, it is usually necessary to convert the resulting file to a suitable format, such as Postscript or PDF.

To simplify the inputting of instrumental music, a pre-processor PMX by Don Simons can be used. Inputs to PMX are considerably simpler than those for MusiXTeX itself because PMX makes many typesetting decisions itself, and then produces a file suitable for processing by MusiXTeX. An auxiliary program scor2prt in the PMX package makes parts from a multi-part score. PMX can make a MIDI file of your score. For vocal music, a pre-preprocessor called M-Tx by Dirk Laurie is available; its output is suitable for pre-processing by PMX.

The autosp pre-processor by Bob Tennent simplifies input of instrumental music for MusiXTeX without requiring the user to learn a completely different input language. MusiXTeX itself requires a user to specify horizontal-spacing commands, which can be rather complicated, especially for multi-instrument scores. The autosp pre-processor automates the generation of horizontal-spacing commands for MusiXTeX, allowing a user to input notes for a part without concern for note-spacing changes within the part or spacing requirements of other parts; compare quod.tex and quod2.aspc.

A script that automates use of these pre-processors and the multiple passes is available; for example, the single command

musixtex mymusic
will process a file mymusic.mtx and produce mymusic.pdf, calling in turn the M-Tx pre-processor prepmx, the PMX preprocessor pmxab, and the three passes of MusiXTeX itself; finally, the output is converted to PDF and intermediate files are deleted. Usually, users need not know anything about the details.

It is possible to create inputs for MusiXTeX, PMX, M-Tx or autosp using any text editor, such as notepad or vi or emacs. Currently there is no graphical user interface for generating input files, other than TeX-oriented integrated graphical development environments such as TeXWorks.


Small Examples

MusiXTeX

Quodlibet by J. S. Bach (1685-1750)

PMX

Adagio by Francesco Barsanti (1690-1772)

M-Tx

Net soos ek is, English lyrics ("Just as I am") by Charlotte Elliott (1789-1871)

Autosp

Quodlibet by J. S. Bach (1685-1750)

Primary Documentation for MusiXTeX, PMX, M-Tx and autosp

Additional and more specialized documentation is available here.

Bob Tennent