<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>abc notation blog &#187; How to &#8230;</title>
	<atom:link href="http://abcnotation.com/blog/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://abcnotation.com/blog</link>
	<description>occasional musings on the world of abc ...</description>
	<lastBuildDate>Tue, 10 Jan 2012 13:03:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How to understand abc (the basics)</title>
		<link>http://abcnotation.com/blog/2010/01/31/how-to-understand-abc-the-basics/</link>
		<comments>http://abcnotation.com/blog/2010/01/31/how-to-understand-abc-the-basics/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 18:14:30 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[How to ...]]></category>
		<category><![CDATA[abc]]></category>
		<category><![CDATA[abc tune]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[tune]]></category>

		<guid isPermaLink="false">http://abcnotation.com/blog/?p=159</guid>
		<description><![CDATA[<p>[the second in a series of articles on using and understanding abc]</p>
<p></p>



Contents:</p>

The structure of an abc tune
The header
The notes:- note lengths; bar lines; beams
Putting it all together
Further reading





<p>OK. So let&#8217;s suppose you&#8217;ve just come across abc and you want to know a little more about how it works before delving deeper.</p>
<p>Or maybe you&#8217;ve already started using <span style="color:#777"> . . . &#8594; Read More: <a href="http://abcnotation.com/blog/2010/01/31/how-to-understand-abc-the-basics/">How to understand abc (the basics)</a></span>]]></description>
			<content:encoded><![CDATA[<p>[the second in a series of <a href="/blog/how-to/"><strong>articles</strong></a> on using and understanding abc]</p>
<p><span id="more-159"></span></p>
<table border="1">
<tbody>
<tr>
<td><strong>Contents</strong>:</p>
<ul>
<li><a href="#structure">The structure of an abc tune</a></li>
<li><a href="#tuneheader">The header</a></li>
<li><a href="#notes">The notes</a>:- <a href="#lengths">note lengths</a>; <a href="#barlines">bar lines</a>; <a href="#beams">beams</a></li>
<li><a href="#alltogether">Putting it all together</a></li>
<li><a href="#further">Further reading</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>OK. So let&#8217;s suppose you&#8217;ve just come across abc and you want to know a little more about how it works before delving deeper.</p>
<p>Or maybe you&#8217;ve already started using abcs you&#8217;ve found on websites and now you want to understand them, perhaps to try modifying them slightly.</p>
<p>In this short article we&#8217;re going to look at the basics of the notation itself.</p>
<h2><a name="structure"></a>The structure of an abc tune</h2>
<p>Typically a tune consists of two parts &#8211; the <strong>header</strong>, containing background information, and the <strong>notes</strong>, containing &#8230; the notes.</p>
<p>In this first example, the header is the first 5 lines &#8211; each line containing a different type of information &#8211; and the notes are contained in the last 3 lines.</p>
<pre class="larger">X:1
T:Paddy O'Rafferty
C:Trad.
M:6/8
K:D
dff cee|def gfe|dff cee|dfe dBA|dff cee|def gfe|faf gfe|1 dfe dBA:|2 dfe dcB|]
~A3 B3|gfe fdB|AFA B2c|dfe dcB|~A3 ~B3|efe efg|faf gfe|1 dfe dcB:|2 dfe dBA|]
fAA eAA|def gfe|fAA eAA|dfe dBA|fAA eAA|def gfe|faf gfe|dfe dBA:|</pre>
<p>We will now look at all the elements of this tune in more detail.</p>
<h2><a name="tuneheader"></a>The header</h2>
<p>First, notice that each line of the header starts with a different letter telling you what information it contains &#8211; the first line, &#8220;X:1&#8243;, is just a reference number (see below), then the line beginning T: contains the <strong>T</strong>itle of the tune and the line beginning C: contains the <strong>C</strong>omposer (in this case it&#8217;s a traditional one &#8211; the composer&#8217;s name has been lost in the mists of time).</p>
<p>In abc-speak, these lines are sometimes known as <strong>fields </strong>- you may hear people talking about the &#8220;T field&#8221; or the &#8220;C field&#8221; &#8211; they just mean the <strong>title </strong>or the <strong>composer</strong>.</p>
<p>Each tune can contain a lot of background information so there are fields to cover almost every eventuality. For now, however, the only other fields you need to know about are X, M &amp; K for the header and the L field which we will look at below.</p>
<p>M: and K: are straightforward and define the <strong>meter </strong>and the <strong>key </strong>of the tune &#8211; the example above is a 6/8 tune (a jig) in D (two sharps). If you leave out the M: field, most abc software will assume you want common time &#8211; i.e. M:C. However, you must include the K: field which also tells abc software where the header ends and the notes start.</p>
<p>Finally the X: field just contains a <strong>reference </strong>number. This is not so important now that there&#8217;s loads of good <strong><a href="/software">software</a></strong> that allows you to pick tunes with the click of a mouse, but in the early days of abc it was useful for selecting specific tunes from a file.</p>
<p>Note that some people choose to store each tune in a separate file and so you may sometimes encounter tunes without an X: field. However, not all abc software recognises these as tunes so it&#8217;s best, especially if you want to share tunes with friends, to always include an X: field, even if you only ever use X:1.</p>
<p>The only other thing you need know is the <strong>order </strong>- each tune should start with an X: field, followed by a T: field and the header then ends at the K: field.</p>
<p>Apart from that you can put the other fields (e.g. the C: and M: fields in the example above) in any order.  You can also have as many as you want. We will cover other fields and how to use them in a subsequent article &#8211; see the links at the bottom of this article.</p>
<h2><a name="notes"></a>The notes</h2>
<p>The notes of the tune start after the first K: field.</p>
<p>Each note is written as a separate letter and &#8211; surprise, surprise &#8211; the letter C represents the note C, D represents D, and so on.</p>
<p>Upper case (capital) letters, CDEFGAB, are used to denote the bottom octave (C represents middle C, on the first leger line below the treble stave), continuing with lower case letters for the top octave, cdefgab (b is the one above the first leger line above the stave).</p>
<p>To go down an octave, just put a comma after the letter and to go up an octave use an apostrophe.</p>
<p>Here are four octaves shown both in abc notation and staff notation:</p>
<pre class="larger">X:1
T:Notes
M:C
L:1/4
K:C
C, D, E, F,|G, A, B, C|D E F G|A B c d|e f g a|b c' d' e'|f' g' a' b'|]</pre>
<p><span style="text-decoration: line-through;"><img class="alignnone" title="example - notes" src="/images/examples/Notes.gif" alt="" width="432" height="99" /></span></p>
<p>Notice one other thing about this example &#8211; the L: field, which sets the <strong>basic note length</strong> and in this case, L:1/4 tells abc software that each letter in the notes section represents a crotchet or quarter note.</p>
<p>This brings us to the next topic &#8230;</p>
<h3><a name="lengths"></a>Note lengths</h3>
<p>Now we know how to pitch notes, the other important thing is their length.</p>
<p>Firstly, you can set a basic note length for every note via the L: field &#8211; so that L:1/16 would mean that each letter in the notes section represents a semi-quaver or sixteenth note and similarly L:1/8 implies that they are quavers or eighth notes.</p>
<p>If you leave out the L: field, most abc software will assume you want the basic note length to be eighth notes (although some software sets the basic note length according to the meter, so if in doubt, include an L: field).</p>
<p>Having set the basic length you can modify the length of an individual note by putting a number after it. For example, in the second line of the tune Paddy Rafferty given above, the first four bars are:</p>
<pre class="larger">~A3 B3|gfe fdB|AFA B2c|dfe dcB|</pre>
<p>So here, since the basic note length is eighth notes (quavers), the B2 in the third bar represents a quarter note (crotchet) &#8211; i.e. 2 times as long as an eighth note, whilst the A3 and B3 in the first bar represent dotted quarter notes &#8211; i.e. 3 times as long as an eighth note.</p>
<p>If the note is above or below the stave then the note length comes after the comma or apostrophe &#8211; e.g. c&#8217;4 is a half note (minim) on high C.</p>
<p>To shorten the length of a note, just follow it by a / and the appropriate length &#8211; e.g. if A is an eighth note, then A/2 is a sixteenth (semi-quaver). You can also use a / as shorthand for /2  so that A/ also represents a sixteenth note.</p>
<p>Finally, you can change the basic note length at any point in a tune. The following example demonstrates all the different note length possibilities (some pretty uncommon) for 3 different values of the basic note length:</p>
<pre class="larger">X:1
T:Note lengths and default note length
M:C
K:C
L:1/16
A/2 A/ A A2 A3 A4 A6 A7 A8 A12 A15 A16|]
L:1/8
A/4 A/2 A/ A A2 A3 A4 A6 A7 A8 A12 A15|]
L:1/4
A/8 A/4 A/2 A/ A A2 A3 A4 A6 A7|]</pre>
<p><img class="alignnone" title="example - note lengths" src="/images/examples/Note-lengths.gif" alt="" width="432" height="175" /></p>
<h3><a name="barlines"></a>Bar lines</h3>
<p>Bar lines are easily inserted with a | symbol and you can use || for a double bar line or |] for a thin-thick double bar line.</p>
<p>Similarly |: represents the start of a repeated section and :| represents the end.</p>
<p>Where one repeated section ends and a new one starts, use :||: or :: for short.</p>
<p>Alternate repeats are represented by [1 and [2 and, if these are adjacent to a bar line, the [ can be omitted, so that |1 is short for |[1.</p>
<h3><a name="beams"></a>Beams</h3>
<p>To put two or more eighth or sixteenth notes together under a beam, just put them next to each other with no space in between.</p>
<p>The following example show various choices of beaming:</p>
<pre class="larger">X:1
T:Beams
M:C
K:C
A B c d AB cd|ABcd ABc2|]</pre>
<p><img class="alignnone" title="example - beams" src="/images/examples/Beams.gif" alt="" width="432" height="64" /></p>
<h2><a name="alltogether"></a>Putting it all together</h2>
<p>Although there's plenty more to learn, with the information contained in this article you should be able to figure out 90% of most tunes.</p>
<p>However, to finish off, we just need to know that the ~ (tilde) symbol represents an ornament, such as a roll or turn in Irish music.</p>
<p>We now have all the tools required to interpret the abc of Paddy O'Rafferty shown above. Here it is again, with the staff notation underneath:</p>
<pre class="larger">X:1
T:Paddy O'Rafferty
C:Trad.
M:6/8
K:D
dff cee|def gfe|dff cee|dfe dBA|dff cee|def gfe|faf gfe|1 dfe dBA:|2 dfe dcB|]
~A3 B3|gfe fdB|AFA B2c|dfe dcB|~A3 ~B3|efe efg|faf gfe|1 dfe dcB:|2 dfe dBA|]
fAA eAA|def gfe|fAA eAA|dfe dBA|fAA eAA|def gfe|faf gfe|dfe dBA:|</pre>
<p><img class=" alignnone" title="example - Paddy O'Rafferty" src="/images/examples/Jigs.gif" alt="example - Paddy ORafferty" width="433" height="352" /></p>
<h2><a name="further"></a>Further reading</h2>
<p>Probably the best way to carry on from here is just to try some playing around with and perhaps modifying some examples. There are  plenty of tunes to try out in the <strong><a href="/search">abc tune search</a></strong> and the <strong><a href="/blog/2009/12/23/how-to-get-started-with-abc-notation/">previous article</a></strong> in this series has a link to an online converter so you can see how changes you make affect the music.</p>
<p>You could also read another article in this series [more to follow]:</p>
<ul>
<li>Previous article - "<strong><a href="/blog/2009/12/23/how-to-get-started-with-abc-notation/">How to get started with abc notation</a></strong>"</li>
<li>Next article - [to follow shortly]</li>
</ul>
<p>Finally, there are plenty other pages which can help to explain abc, such as the <strong><a href="/examples">examples</a></strong> page on this website, Steve Mansfield's excellent <strong><a href="http://www.lesession.co.uk/abc/abc_notation.htm">tutorial</a></strong> and John Chambers' <strong><a href="http://trillian.mit.edu/~jc/music/abc/ABC-FAQ.html">FAQ</a></strong>.</p>
<p>Have fun!</p>
<p>Chris Walshaw</p>
]]></content:encoded>
			<wfw:commentRss>http://abcnotation.com/blog/2010/01/31/how-to-understand-abc-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get started with abc notation</title>
		<link>http://abcnotation.com/blog/2009/12/23/how-to-get-started-with-abc-notation/</link>
		<comments>http://abcnotation.com/blog/2009/12/23/how-to-get-started-with-abc-notation/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 12:14:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[How to ...]]></category>
		<category><![CDATA[abc]]></category>
		<category><![CDATA[abc tune]]></category>
		<category><![CDATA[notation]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[tune]]></category>
		<category><![CDATA[tune search]]></category>

		<guid isPermaLink="false">http://abcnotation.com/blog/?p=108</guid>
		<description><![CDATA[<p>[the first in a series of articles on using and understanding abc]</p>
<p></p>



Contents:</p>

Finding the dots to a tune
Viewing and/or listening to abc notation
Further reading





<p>So you&#8217;ve heard about abc notation and you&#8217;re intrigued enough to want to find out more.</p>
<p>Or maybe someone has sent you a tune in abc notation and you want to hear what it sounds <span style="color:#777"> . . . &#8594; Read More: <a href="http://abcnotation.com/blog/2009/12/23/how-to-get-started-with-abc-notation/">How to get started with abc notation</a></span>]]></description>
			<content:encoded><![CDATA[<p>[the first in a series of <strong><a href="/blog/how-to/">articles</a></strong> on using and understanding abc]</p>
<p><span id="more-108"></span></p>
<table border="1">
<tbody>
<tr>
<td>Contents:</p>
<ul>
<li><a href="#search">Finding the dots to a tune</a></li>
<li><a href="#viewing">Viewing and/or listening to abc notation</a></li>
<li><a href="#further">Further reading</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>So you&#8217;ve heard about abc notation and you&#8217;re intrigued enough to want to find out more.</p>
<p>Or maybe someone has sent you a tune in abc notation and you want to hear what it sounds like.</p>
<p>Or perhaps you&#8217;re not interested in the notation itself, but you  want to find the dots for a tune.</p>
<p>Well, the good news is, it&#8217;s easy to do all three.</p>
<h2><a name="search"></a>Finding the dots to a tune</h2>
<p>For example, if you&#8217;re just looking for the dots to a traditional tune, try the <strong><a href="http://abcnotation.com/search">abc tune search</a></strong>. At the time of writing (December 2009) there are well over 50,000 tunes available with many historical collections (such as Playford &amp; O&#8217;Neill&#8217;s) represented.</p>
<p>The search results allow you to see the first line of the tune and click on a midi player which will play a sound file through your computer&#8217;s speakers.</p>
<p>Once you&#8217;ve located the tune you want, just click on the &#8220;tune page&#8221; link to take you to the full tune and links to the collection where it originated, plus the midi player again and the abc version of the tune (which often contains additional notes about the tune).</p>
<p>The tune search is not case-sensitive and you can search for a title or just a fragment of a word &#8211; for example, <strong><a href="http://abcnotation.com/searchTunes?q=Speed+the+Plough&amp;f=c&amp;o=a">click here</a></strong> to search for the tune &#8220;Speed the Plough&#8221; or <strong><a href="http://abcnotation.com/searchTunes?q=jig&amp;f=c&amp;o=a">here</a></strong> to do a search for the word &#8220;jig&#8221; (which also finds slip jigs, single jigs, double jigs &#8211; any tune where the word jig is mentioned in fact) or <a href="http://abcnotation.com/searchTunes?q=6%2F8&amp;f=c&amp;o=a"><strong>here</strong></a> to do a search for tunes in the time signature &#8220;6/8&#8243;.</p>
<p>Note that, like most search engines, adding spaces between words broadens the search. For example, searching for &#8220;<a href="http://abcnotation.com/searchTunes?q=slipjig&amp;f=c&amp;o=a"><strong>slipjig</strong></a>&#8221; will only find tunes with &#8220;slipjig&#8221; as a single word, whereas searching for &#8220;<a href="http://abcnotation.com/searchTunes?q=slip+jig&amp;f=c&amp;o=a"><strong>slip jig</strong></a>&#8221; would also find tunes containing phrases such as &#8220;slipjig&#8221;, &#8220;jig (slip)&#8221;, and even &#8220;this jig slips along nicely&#8221;.</p>
<p>And if you can&#8217;t find the tune you want, this is not the only abc search engine &#8211; try the others further down the <a href="http://abcnotation.com/search"><strong>search page</strong></a>.</p>
<h2><a name="viewing"></a>Viewing and/or listening to abc notation</h2>
<p>If you want to take things a bit further &#8211; perhaps if someone&#8217;s sent you some abc notation in an email &#8211; but you don&#8217;t want to install any software on your computer, then there are a couple of handy web forms that allow you to do just that.</p>
<p>The abc <strong><a href="http://www.concertina.net/tunes_convert.html">convert-a-matic</a></strong> at concertina.net is perhaps the best known and is very simple to use &#8211; just paste in the abc notation and click on the submit button.</p>
<p>However, if you want to transpose the tune too, the <a href="http://www.folkinfo.org/songs/abcconvert.php"><strong>abc converter</strong></a> at folkinfo.org is excellent and gives you a lot more options.</p>
<h2><a name="further"></a>Further reading</h2>
<p>If this has whetted your appetite and you want to start using abc notation yourself then there are plenty of options.</p>
<p>You can read another article in this series [more to follow]:</p>
<ul>
<li>Next article &#8211; &#8220;<a href="/blog/2010/01/31/how-to-understand-abc-the-basics/"><strong>How to understand abc (the basics)</strong></a>&#8220;</li>
</ul>
<p>Alternatively, you could take a look at the <strong><a href="http://abcnotation.com/learn">learn abc</a></strong> page for examples and tutorials or the <a href="http://abcnotation.com/software"><strong>abc software</strong></a> page to find software to install (my favourite package is ABCexplorer, but there are plenty of other excellent packages).</p>
<p>Enjoy!</p>
<p>Chris Walshaw</p>
]]></content:encoded>
			<wfw:commentRss>http://abcnotation.com/blog/2009/12/23/how-to-get-started-with-abc-notation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

