the original abcm2ps is a C program which converts music tunes from the ABC music notation to PostScript or SVG.
This lib branch is a fork that aims to:
- compile as a library instead of a program
- workaround some SVG bad renderers such as QSvgRenderer.
Based on abc2ps, the Postscript generator for ABC music notation by Michael Methfessel, it was first developped to print barock organ scores that have independant voices played on one or many keyboards and a pedal-board (the 'm' of abcm2ps stands for many or multi staves/voices). Since this time, it has evolved so it can render many more music kinds.
The features of abcm2ps are based on the ABC draft 2.2 (February 2013). The differences are listed in the abcm2ps/abc2svg documentation.
To build the static library libabcm2ps.a with default settings run
qmake
make
Basically, the library API is:
abcm2ps(int argc, char** argv)
where argv is of [options] file1 [file1_options] file2 [file2_options] ...
where argc is the number of argv strings.
where file1, file2, .. are the ABC input files.
This will generate a Postscript file (default name: Out.ps
).
-
abcm2ps.rst describes all command-line options.
-
the features and format parameters are described in http://moinejf.free.fr/abcm2ps-doc/index.html
Original author of abcm2ps page: http://moinejf.free.fr/
To know more about the ABC music notation, have a look at http://abcnotation.com/