txtmus
('text music', abbreviated as 'tm') is a fork of
abc2svg
that understands more text music notations, actually, ABC (indeed!), alda, BWW,
cmn (Carnatic Music notations), MEI, MNX (XML, prior JSON switch) and PAE.
MUP should come soon.
Switching from abc2svg to txtmus is mainly done by changing the version number of the scripts (the scripts are at the same location in my site). For instance, use
snd-2.jsinstead of
snd-1.js.
Note, the sets of scripts of both software are not compatible (you cannot mix 'xx-2.js' and 'xx-1.js'). Also some names have changed:
edit-2.html
tmweb-2.js
and tmweb1-2.js
tmcore-2.js
tmqjs
,
tmmjs
and tmnode
In the actual development state, txtmus can replace abc2svg with the same reliability (the bug fixes are cross reported), but switching from abc2svg to txtmus is interesting only if you need the new features.
The software is not yet under a VCS (version control system) because still in active development. You can get the source and the runable scripts of txtmus from my site:
source tarballThey are updated at least at the same time as a new release of abc2svg is out.
scripts tarball
Here is the entry page of the txtmus source.
%%autobar
can insert missing measure bars.
%%score
or %%staves
)
can contain labels to be drawn on the left side of the staff system.
These labels appear before a staff system item, either a voice ID,
or a group [..] or {..}. There can be two labels, one for the
first music line, and the second for the other music lines.%%staves "Violin" "V." V "Piano" "P" {P1 P2}
%%score
/%%staves
,
the old floating voice definitions
{1 2 3}
or {1 2 3 4}
create 3 or 4 staves.
text
is used to change
globally the font family of the texts.
With txtmus, the generic font is replaced by the two CSS standard
families ui-sans-serif
and ui-serif
.
X:1 P:AABB % no box with txtmus %%partsbox 1 K:C P:A % box .. notes .. P:B .. notes ..
|: A |1 B |2 C ]| D |3 E :| F |]is played
ABD ACD ADE F
P:
field in the tune header
has been extended according to a discussion in the ABC mailing list.
The problem was to select only one or more variants in parts with
repeated sequences.X:1 P:A[2BA K:C [P:A] C |1 D :|2 E || [P:B] F |is played
CE F CD CE.
%%concert-score
parameter.
tm
instead of abc2svg
.
It contains mus
instead of abc
as the music object.
The way to insert hooks inside the core has changed.
Some other ones have been added. They are
tomnx.js
toparsons.js
%%pagescale
) is done
by a SVG container (<g>) in each SVG image.[link_text](URL)
[txtmus documentation](http://moinejf.free.fr/abcm2ps-doc/tm-readme.html)
Last update: 2025-03-10 - Jean-François Moine