![]() | This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages) (Learn how and when to remove this message)
|
Filename extension | .abc |
---|---|
Internet media type | text/vnd.abc |
Developed by | Chris Walshaw |
Initial release | January 1997; 28 years ago (1997-01) |
Latest release | 2.1 December 2011; 13 years ago (2011-12) |
Type of format | musical notation |
Open format? | Yes |
Website | abcnotation |
ABC notation is a shorthand form ofmusical notation for computers. In basic form it uses theletter notation witha
–g
,A
–G
, andz
, to represent the correspondingnotes and rests, along with other elements used to place added value on these –sharp, flat, raised or loweredoctave, thenote length,key, andornamentation. This form of notation began from a combination ofHelmholtz pitch notation and usingASCII characters to imitate standard musical notation (bar lines, tempo marks, etc.) that could facilitate the sharing of music online, and also added a new and simple language forsoftware developers, not unlike other notations designed for ease, such astablature andsolfège.
The earlier ABC notation was built on, standardized, and changed by Chris Walshaw to better fit the keyboard and anASCII character set, with the help and input of others. Originally designed to encodefolk and traditionalWestern European tunes (e.g., from England, Ireland, and Scotland) which are typically single-voice melodies that can be written instandard notation on a single staff line, the extensions by Walshaw and others has opened this up with an increased list of characters and headers in a syntax that can also support metadata for each tune.[1]
ABC notation beingASCII-based, any text editor can be used to create and edit the encoding. Even so, there are now many ABC notation software packages available that offer a wide variety of features, including the ability to read and process ABC notation intoMIDI files and as standard "dotted" notation. Such software is readily available for most computer systems, includingMicrosoft Windows,Unix /Linux,Macintosh,Palm OS, and web-based.[2]
Later third-party software packages have provided direct output, bypassing the TeX typesetter,[3] and have extended the syntax to supportlyrics aligned with notes,[4] multi-voice and multi-staff notation,[5]tablature,[6] andMIDI.[7]
ABC notation was in widespread use in the teaching of Irish traditional music in the late 1970s and most probably much earlier than that. In the 1980s Chris Walshaw began writing out fragments of folk / traditional tunes using letters to represent the notes before he learned standard Western music notation. Later he began usingMusicTeX
to notate French bagpipe music. To reduce the tedium of writing theMusicTeX
code, he wrote a front-end for generating theTeX commands, which by 1993 evolved into theabc2mtex
program.[8] For more details see Chris Walshaw's short history of ABC[9] and John Chambers's chronology of ABC notation and software.[10]
The most recent standard for ABC was released 21 December 2011.[11] It is a textual description of ABC syntax, cleaning up many of the ambiguities of the 2.0Draft Standard, which, in turn, was grown from the 1996User Guide of version 1.6 of Chris Walshaw's original"abc2mtex".
program. In 1997, Henrik Norbeck published aBackus–Naur form (BNF).[12]
In 1997, Steve Allen registered thetext/vnd.abc
MIME media type with theInternet Assigned Numbers Authority (IANA),[13] but registration as a top level MIME type would require a formalRequest for Comments (RFC).[14] In 2006 Phil Taylor reported that quite a few websites still serve ABC files astext/plain
.[15]
In 1999, Chris Walshaw started work on a new version of the ABC specification to standardize the extensions that had been developed in various third-party tools. After much discussion on the ABC users mailing list, a draft standard (nominal version 1.7.6) was eventually produced in August 2000, but was never officially released.[16] Thereafter, Chris stepped away for several years from actively developing ABC.[17]
Guido Gonzato later compiled a new version of the specification and published a draft of version 2.0. This specification is now maintained by Irwin Oppenheim. Henrik Norbeck has also published a corresponding BNF specification.[18]
After a surge of renewed interest in clarifying some ambiguities in the 2.0 draft and suggestions for new features, serious discussion of a new (and official) standard resumed in 2011, culminating in the release of ABC 2.1 as a new standard in late December 2011. Chris Walshaw has become involved again and is coordinating the effort to further improve and clarify the language, with plans for topics to be addressed in future versions to be known as ABC 2.2 and ABC 2.3 .
The following is an example of the use of ABC notation inMediaWiki.
<scorelang="ABC">X:1T:TheLegacyJigM:6/8L:1/8R:jigK:GGFGBAB|gfggab|GFGBAB|d2AAFD|GFGBAB|gfggab|ageedB|1dBAAFD:|2dBAABd|:efeedB|dBAABd|efeedB|gdBABd|efeedB|d2ddef|gfeedB|1dBAABd:|2dBAAFD|]</score>
Lines in the first part of the tune notation, beginning with a letter followed by a colon, indicate various aspects of the tune such as the index, when there is more than one tune in a file (X:
), the title (T:
), the time signature (M:
), the default note length (L:
), the type of tune (R:
) and the key (K:
). Lines following the key designation represent the tune. This example can be translated into traditional music notation using one of the ABC conversion tools. For example, theScore extension (usingLilyPond'sabc2ly
) code for the MediaWiki software renders this as:
While abcm2ps software produces output that looks like:
More examples can be found on Chris Walshaw's ABC examples page,[19] extensively displaying most ABC basic features, except rests, which would be denoted withz
.
Recently, ABC has been implemented as a means of composing and editing music in collaborative environments. Some Wiki environments that have been adapted to use ABC are:
Score
plugin forMediaWiki. This uses GNULilyPond as the underlying rendering engine. LilyPond comes packaged with a script,abc2ly
, that converts ABC notation to LilyPond. The extension calls abc2ly then LilyPond.MusicWiki
, a Python plugin implementation forMoinMoin wikisAbcMusic
for displaying ABC notation inPmWikiAbcMusic
plugingabc
notation, developed by theGregorio Project for transcriptions ofGregorian chant scoresabcm2ps
package as the rendering engine. It optionally usesabc2MIDI
(available from the ABC Plus Project) to produce MIDI audio output.EasyABC
is an ABC-editor that supports MIDI export and SVG rendering.abcjs
plugin for displaying ABC notation on any web page. This allows ABC to be stored as text on the server and rendered client-side.ABC
is anAndroid application combiningabcm2ps
,abc2midi
, and a bit ofabc4j
into a tool for composing.