(Japanese / English)

PMX

Introduction

+ Free of charge.
+ Easier than MusiXTeX.

Install

Install texlive-music.

Usage

This sample.
(sample)
Described by the following source code, written by NoteEdit (Source).

% nv,noinst,mtrnuml,mtrdenl,mtrnump,mtrdenp,xmtrnum0,isig,
   1    1      4      4        4      4        2      1
% npages,nsyst,musicsize,fracindent
    1    1      20       0.07
%

t
./
\\sepbarrules\
w170m
h250m

% Measure 1 - 4
rb2 Rl | rb0 | r4 g44 d g //
g44 a | b44 c d e | f45 g f g | /

% Measure 5 - 8

PMX to MusiXTeX.

pmxab samplep.pmx

MusiXTeX source.

\input musixtex
\input pmx
\input musixmad
\normalmusicsize%
\nopagenumbers
\tracingstats=2\relax
\hsize=482pt
\vsize709pt
\def\nbinstruments{1}
\setstaffs11
\setclef10
\setname1{ }
\generalsignature{ 1}%
\generalmeter{\meterfrac{4}{4}}%
\parindent 34pt
\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
\nostartrule
\readmod{samplep}
\sepbarrules%
\startmuflex\startpiece\addspace\afterruleskip%
\advance\barno by -1
\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
% Bar count 0
\pnotes{2.83}\sk\nextvoice\qu g\qu{'a}\en%
% Bar count 1
\setleftrepeat
\xbar
\pnotes{2.83}\sk\nextvoice\qu{'b}\qu c\qu d\qu e\en%
% Bar count 2
\xbar
\pnotes{2.83}\lower4\internote\qp\ql g\ql d\ql g\nextvoice\qu{'f}\qu g%
\qu f\qu g\en%
\Endpiece
\vfill\eject\endmuflex
\bye

TeX to dvi.

tex samplep.tex
musixflx samplep.mx1
tex samplep.tex

Link

Werner icking Music Archive



Back