|The ABC Plus Project|
One of my hobbies is music: I play folk and early music on a bunch of wind instruments. I find that the ABC music notation language is a wonderful tool to typeset sheet music. ABC is one of the best designed, easy to use, well-thought out, and nicely implemented notation formats I've ever seen. It's an excellent alternative to other good notation languages like GNU Lilypond, or MusiXTeX, or Philip's Music Writer. You can write music in a very simple ASCII format and convert it to MIDI, or typeset it to make professional-looking scores.
ABC was originally designed for simple melodies, but there have been efforts to extend the notation. The ABC Music Standard is now at version 2.2, and supports polyphony and lots of other features.
Some ABC applications implement most of the the ABC 2 language; low-level details (formatting and MIDI effects) are supported too. The purpose of the ABC Plus project is to provide software and documentation for this extended ABC release. This is an example of classical music written in ABC Plus; it sounds like this. What I informally call ABC Plus is, in practice, the current implementation of ABC 2.
All RPMs and .deb packages available on this site were built on a
Mint GNU/Linux 18.1 system. I built the RPM packages first, then I
made the .deb package using the alien converter.
A couple of notes.
First of all: please note that I am not the author of abcm2ps, abcmidi, and EasyABC. I wish I were such a great programmer! I just provide the packages or the links. Please refer to the authors for any questions.
Secondly: please refer to The ABC Notation software page for a full and quite long list of ABC software.
Finally: please, please, don't write to me asking how to do this or that. I've run out of time. I recommend that you join the abcusers mailing list, and ask questions there. Thanks!
I have written a manual that explains how to write music using ABC 2. It focuses on using abcm2ps, abc2svg, abcmidi, and the ABC/MusicXML translators, but most of the information it contains can be applied (at least to some extent) to all ABC applications. Many thanks to Norman Schmidt who helped me translate parts of the manual.
I release this manual under the GNU Free Documentation License 1.3. This basically means that it's free and that you can freely modify it, as long as you make your modifications publicly available.
Read the manual here or download the latest release (please report errors and omissions!):
I rely on your feedback to fix errors and omissions, and in general to make this manual more useful. Please feel free to make translations!
As a demonstration of the capabilities of ABC 2, I have prepared a few examples of choral sheet music. They're free to use and share. Please report bugs, should you find any.
Jacob Arcadelt (c. 1514-1557)
Nicolas Gombert (c. 1490-1560)
Giovanni Pierluigi da Palestrina (1525-1594)
"Ave Regina Coelorum"
Guillaume Dufay (c. 1400-1474)
Wolfgang Amadeus Mozart (1756-1791)
"Il bianco e dolce cigno"
Jacob Arcadelt (c. 1514-1557)
"Son questi i crespi crini"
Claudio Monteverdi (1567-1643)
"Coro della notte"
Pietro Alessandro Yon (1866-1943)
music by Johannes Brahms (1833-1897)
Philipp Heinrich Erlebach (1657-1714)
"Magnificat" (RV. 610 in Re minore)
Antonio Vivaldi (1678-1741)
"O sacrum convivium"
Andrea Gabrieli (c. 1510-1586)
"O vos omnes"
Carlo Gesualdo (c. 1561 - 1613)
"Otche nash" (Pater Noster)
Nikolai Kedrov Sr. (1871-1954)
Igor F. Stravinskij (1882-1971)
"Selig sind die Toten"
Heinrich Schutz (1585-1672)
Pierre Attaignant (c.1494 - c.1551)
Franz Schubert (1797-1828)
Prof. Enrico Gregorio (University of Verona, Italy) has written a LaTeX package for including ABC/ABC Plus music in LaTeX documents. Thanks a lot!
The package is available from all CTAN mirrors, e.g. http://www.ctan.org/tex-archive/macros/latex/contrib/abc/. Here's a local copy.
The following archives contain the latest abcm2ps, abcmidi, beep.exe, abcpp, and abc2prt binaries for ARM Android, Windows, and OS X:
Installing on Android is possible even on non-rooted devices; please refer to the included INSTALL.txt file.
Only SVG output is usable, since Ghostscript is not (yet) available on Android; so you'll want to typeset your ABC music using a command like:
$ abcm2ps -X -O= music.abc
and display the resulting music.xhtml file with Firefox or other browsers.
One of the best implementations of ABC is surely Jean-François Moine's abcm2ps, an adaptation of Michael Methfessel's abc2ps that can handle multiple voices per staff and many other extensions. In my view, abcm2ps is ABC done right - in addition to folk music, it can do a lot of classical music quite well! It's amazing to see how this little program can make professional-looking scores.
abcm2ps' author provides the software in source-only form. Here you can download binaries for Windows, Linux, and OS X:
|New stable release|
|abcm2ps-8.13.22-win32.zip||binary for Windows without Pango support.|
|abcm2ps-8.13.22-pango-win64.zip||binary for Windows with Pango support|
|abcm2ps-8.13.22||static 32-bit GNU/Linux binary, without Pango support. It should run on any GNU/Linux distribution.|
|abcm2ps_8.13.22-1_amd64.deb||binary for Debian|
|abcm2ps-8.13.22-osx.zip||Mac OS X x86_64 binary, without Pango support|
|abcm2ps-8.13.20-pango-osx.zip||Mac OS X x86_64 binary with Pango support|
Binaries for Sun Solaris are available here.
abcm2ps can include graphics in the score, but only in EPS format (the %%EPS command). An excellent program for turning JPG, PNG and other bitmaps into compact EPS files is bmeps. For convenience, the static Windows command-line executable is here: bmeps.exe
An exciting feature of abcm2ps and abc2svg is the possibility of writing extensions as PostScript or SVG code. Some of the ABC files included in the abcm2ps distribution include some examples of such extensions.
I have gathered some code and written a few .fmt files. I remind you that to use the code in external .fmt files one has to write this command line:
abcm2ps file.abc -F formatfile
where formatfile refers to the file formatfile.fmt. In addition to format files, one could also write so-called header files (extension .abh) that can be included in ABC sources using %%abc-include. Optimally, they could be used by both abcm2ps and abc2svg.
There you are a list of my .fmt files, which will grow as I finish writing and testing them.
Accompaniment chords using Italian note names (Do Re Mi).
Written by Jean-François Moine.
|guitarchords.fmt||Guitar chords diagrams, version 1.3.|
These maps work in abcm2ps, abc2svg, and abc2xml.
|deco-marks.fmt||Position marks. Obsolete: should be rewritten to make it work on both abcm2ps and abc2svg.||demo-marks.pdf|
|renaissance.fmt||Format file for Renaissance music, by Eric Forgeot||charlotte.pdf|
|thinlines.fmt||Draw thinner lines||n/a|
|ps.zip||Lots of new decorations and symbols, by David Lacroix||Symbols.pdf|
|Easy Notes||Easy notes: note heads including the note name. By Jeremy Cowgar.||easynotes.png|
I provide Win32, Linux, and Mac OS X binaries for this very important piece of software, whose original home page is http://abc.sourceforge.net/abcMIDI/. The latest version is available as source from http://ifdo.ca/~seymour/runabc/top.html.
|abcmidi_20180502-1_amd64.deb||binary for Debian|
|abcmidi-20180502-osx.zip||Mac OS X binaries|
Back to top -->
|EasyABC loading an ABC collection. Click to enlarge.|
EasyABC is an open source ABC editor for Windows, OS X and Linux. It uses abcm2ps and abc2midi, and it has a rich feature list. Most notably, it can import MusicXML files and export tunes in SVG format.
Kudos to Nils Liberg, original author, and to Seymour Shlien, current maintainer!
EasyABC sources and binaries for Windows and OS X can be downloaded from this page: http://sourceforge.net/projects/easyabc/files/
|easyabc_184.108.40.206-1_all.deb||binary for Debian. You'll also need python-wxgtk*, python-wxgtk-media*, python-pygame, and python-pyparsing.|
|easyabc-220.127.116.11-1.noarch.rpm||latest release for RPM-based distributions|
|A.k.a. ABC mode for Jed. Click to enlarge.|
|JedABC in index mode. Click to enlarge.|
JedABC is an extension to the Jed editor that turns it into a powerful and easy to use IDE (Integrated Development Environment) for ABC files, with full integration with preprocessors, converters, players and previewers. It's similar in concept to BarFly or runabc, with several advantages.
Warning: JedABC is meant for geeks, that is for people who are computer proficient and are comfortable editing files by hand.
To use JedABC, install the Jed editor first. Packages should exist for your platform or Linux distribution. Also, make sure you have GhostView and a MIDI player installed. Then download JedABC:
Put abc.sl and jedabc.txt where all the other .sl files reside (usually /usr/share/jed/lib), then edit the system-wide jed.rc (/etc/jed.d/05jed-common.sl on Debian) or .jedrc in your home directory to add these lines:
variable abc_encoding="utf8"; % Italian users only define variable abc_language = "it"; autoload ("abc_mode", "abc"); add_mode_for_extension ("abc", "abc"); % plain ABC add_mode_for_extension ("abc", "abp"); % ABC with abcpp macros
abcpp is a simple yet powerful preprocessor designed for, but not limited to, ABC music files. It provides conditional output, macros, symbol renaming, and file inclusion. I wrote it for two reasons: first, I wanted to overcome incompatibilities between ABC packages; secondly, I wanted to be able to write portable and more readable ABC files.
Inspired by the C and S-Lang ( http://www.s-lang.org) preprocessor, abcpp supports some directives that allow you to play a few tricks. You write your ABC music files with directives lines like #define or #ifdef, defining macros or excluding portions of text according to specific conditions. Then you preprocess your file with abcpp, producing an output file suitable for each ABC application or voice. Interestingly, abcpp is actively used with MusiXTeX-related programs.
In a nutshell, have your ABC cake and eat it too!
The archive also contains the documentation. Many thanks to the developers who sent me patches!
abc2prt is a simple tool to extract parts from multivoice ABC music files.
I wrote it because it's often desirable to give singers their own part in addition to the complete score. I know that Perl scripts exist that do the trick, and Unix users will be happy with them. However, installing Perl on a Windows machine only for running a script is quite an overkill.
abc2prt is a command line tool. Usage is
$ abc2prt -v voicename [inputfile] [outputfile]
If inputfile and outputfile are not specified, abc2prt will use standard input and standard output. An example is
$ abc2prt -v TII music.abc music-tii.abc
which will output the whole header and all the lines that belong to the voice defined as V:TII, including w: lines. At most five -v fields are allowed.
If there's enough request, I'll write a graphical version. The multivoice extensions were written by Matthew K. Junker, junker at alum dot mit dot edu. Many thanks, Matthew!
This site is maintained by Guido Gonzato, Ph.D.
For information, suggestions, etc, please drop me a line: guido.gonzato at gmail.com
My deeply felt sympathy to the Tibetan people