<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rudi Seitz</title>
	<atom:link href="http://rudiseitz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rudiseitz.com</link>
	<description>Music, Word, and Image</description>
	<lastBuildDate>Sun, 16 Jun 2013 14:22:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rudiseitz.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f5d967726d28f46bec48420d50d3799b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Rudi Seitz</title>
		<link>http://rudiseitz.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rudiseitz.com/osd.xml" title="Rudi Seitz" />
	<atom:link rel='hub' href='http://rudiseitz.com/?pushpress=hub'/>
		<item>
		<title>Necklace Counting (draft)</title>
		<link>http://rudiseitz.com/2013/06/09/necklace-counting/</link>
		<comments>http://rudiseitz.com/2013/06/09/necklace-counting/#comments</comments>
		<pubDate>Sun, 09 Jun 2013 06:05:19 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Mathy Stuff]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1317</guid>
		<description><![CDATA[The Problem A combinatorial necklace is an arrangement of colored beads on circle (or circular string). Imagine the necklace is lying flat on a table and you can&#8217;t pick it up to turn it over. Two necklaces are considered equivalent if there&#8217;s a way to rotate one necklace so that its beads align with those &#8230;<p><a href="http://rudiseitz.com/2013/06/09/necklace-counting/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1317&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h2>The Problem</h2>
<p>A <a href="http://en.wikipedia.org/wiki/Necklace_%28combinatorics%29">combinatorial necklace</a> is an arrangement of colored beads on circle (or circular string). Imagine the necklace is lying flat on a table and you can&#8217;t pick it up to turn it over. Two necklaces are considered equivalent if there&#8217;s a way to rotate one necklace so that its beads align with those of the other. (Another way to say this is that you could find positions on each necklace so that if you started at those positions and called out the bead colors in clockwise order, the two sequences of colors would be identical.)  <em>So, how many distinct 12-bead necklaces could you create if you had an unlimited supply of black and white beads</em>?  That&#8217;s the problem we&#8217;ll address in this post.</p>
<p>I&#8217;m interested in such black/white or <em>binary</em> necklaces because they correspond to musical constructs like chord types or scale families. If you want to know, for example, how many distinct chord types there are in 12-tone equal temperament (where a chord type may have any number of notes from 0 to 12), this turns out to be equivalent to the question we just posed about necklaces.</p>
<p>In mathematical discussions of musical chords and scales, when &#8220;the necklace question&#8221; comes up, it&#8217;s usually addressed in one of two ways. Some authors present an exhaustive list of necklaces/chords/scales obtained by brute force (presumably, the author wrote a computer program to generate all 2^12 binary strings and eliminate pairs of strings that represent equivalent necklaces). Other authors point out that you can obtain a count of the necklaces by invoking a piece of mathematical machinery called the Polya Enumeration Theorem.  Feed some numbers into Polya&#8217;s formula and we learn that there are 352 binary necklaces of size 12.</p>
<p>When I started thinking about necklaces I was looking for something that neither approach seemed to provide: I wanted to gain an<em> intuitive understanding of how the possibilities arise</em>. Where do those 352 necklaces &#8220;come from,&#8221; and why aren&#8217;t there more of them, or fewer of them, for that matter? Presumably, such intuition could be obtained by exploring the inner workings of the Polya Enumeration Theorem, but I was looking for a more direct path, <em>using only elementary mathematical concepts</em>, so I started trying to devise a method that would help me list all the necklaces by hand, without having to explore and eliminate duplicates. It turns out there are a number of algorithms for generating necklaces in the literature, including one due to Fredricksen, Kessler and Maiorana, and more recent work by Cattell, Ruskey, Sawada, and Serra. The method I came up with is different from approaches I&#8217;ve seen elsewhere, so I&#8217;ve decided to present it here in hopes that the right reader might find it interesting. In this post, I&#8217;m not aiming to present it as a general purpose algorithm for enumerating necklaces of arbitrary size (to do this would require some refinement) or to analyze its performance in contrast to the other algorithms &#8212; I&#8217;m just offering it as an interesting way to generate and/or categorize the possibilities for size-12 necklaces, a way that hopefully provides some intuition into the problem space, and that is amenable to execution by hand for those crazy enough to want to do it. That said, I&#8217;d be interested to collaborate with anyone who thinks this approach could be expanded into something more generally useful, or who could point out where it might already have been explored.</p>
<h2><b>The Idea</b></h2>
<p>The basic idea behind this approach is to view a size-12 binary necklace as an <i>interleaving </i>of two smaller necklaces built from <i>partitions</i> of two integers summing to 12. I&#8217;ll try to explain this by describing a process for assembling a necklace from scratch:</p>
<ol>
<li>First, decide how many white beads to include in your necklace. Call this <em>n</em>. Obviously, the number of black beads will be 12-<em>n</em>. (<em>n</em> and 12-<em>n</em> are the two numbers we&#8217;ll be partitioning later.)</li>
<li>Now decide how many separate &#8220;clumps&#8221; the white beads will fall into. I&#8217;m using the term &#8220;clump&#8221; to mean a sequence or strip of beads of one color (with no beads of the other color between them). Call the number of white clumps <em>c</em>. It&#8217;s possible to see that the number of black clumps must be the same as the number of white clumps, unless the necklace is all-black or all-white.</li>
<li>Now decide how many beads will go into each clump. For the white beads, this is the same as choosing an <a href="http://en.wikipedia.org/wiki/Partition_%28number_theory%29"><em>integer partition</em></a> of <em>n</em> with <em>c</em> parts (that is, a way of writing <em>n</em> as the sum of <em>c</em> positive integers). For the black beads, select an integer partition of 12-<em>n</em> with <em>c</em> parts.</li>
<li>Now treat each integer in the partitions from step 3 as a distinct type (or &#8220;color&#8221;) of bead, and arrange each partition into a necklace of <em>c</em> beads. The number of possibilities here will depend on the number of colors in each necklace, and how many beads there are of each color: later, we&#8217;ll refer to these two pieces of information together as the &#8220;necklace type.&#8221; At the end of this step, we have two necklaces, one of which will contribute all the white beads to our final necklace, and the other of which will contribute all the black beads.</li>
<li>Take the two <em>c</em>-bead necklaces from step 4 and <i>interleave</i> them. This means that you&#8217;ll create a single 2<em>c</em>-bead necklace by taking one bead from the first necklace, then one bead from the second, then one bead from the first, then one bead from the second, until you&#8217;ve used up all the beads in both necklaces. In doing this, you&#8217;ll need to choose a position on each necklace to start pulling the beads from, and you have to pull the beads from each necklace in a clockwise order.</li>
<li>Finally, take each integer-labeled bead in the interleaved necklace from step 5 and &#8220;expand&#8221; it into the corresponding number of black or white beads, giving a 12-bead binary necklace.</li>
</ol>
<h2>The Idea Illustrated</h2>
<p>Here&#8217;s an example of how the process works.  In Step 1, we choose how many white beads to include in our necklace.  Let&#8217;s go with six white beads, meaning there will also be six black beads:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample1.png"><img class="alignnone size-full wp-image-1366" alt="NecklaceExample1" src="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample1.png?w=545&#038;h=54" width="545" height="54" /></a></p>
<p>In Step 2, we choose a number of clumps (we&#8217;ll go with three), and in Step 3 we partition the white and black beads into that many clumps.  Here we&#8217;ll break the white beads into clumps of size 3, 2, and 1, and we&#8217;ll break the black beads into clumps of size 4, 1, and 1:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample2.png"><img class="alignnone size-full wp-image-1367" alt="NecklaceExample2" src="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample2.png?w=545&#038;h=58" width="545" height="58" /></a></p>
<p>In Step 4, we form necklaces from the clumps.  There are two distinct necklaces we can make from the white clumps, and there&#8217;s only one necklace we can make from the black clumps.  The arrow indicates the white necklace that we&#8217;ll choose:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample3.png"><img class="alignnone size-full wp-image-1368" alt="NecklaceExample3" src="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample3.png?w=545&#038;h=338" width="545" height="338" /></a></p>
<p>In Step 5, we interleave the white and black necklaces.  There are 3 distinct interleavings possible between the white necklace we selected above and the only black option; the arrow indicates which of those interleavings we&#8217;ll choose:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample4.png"><img class="alignnone size-full wp-image-1369" alt="NecklaceExample4" src="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample4.png?w=545&#038;h=425" width="545" height="425" /></a></p>
<p>In Step 6 we expand our fused beads back into individual beads, giving this particular one of the 352 possible binary necklaces of size 12:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample5.png"><img class="alignnone size-full wp-image-1370" alt="NecklaceExample5" src="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample5.png?w=545"   /></a></p>
<p>If you go back through these steps, it should be easy to verify that making any of our choices in a different way would necessarily have yielded a different necklace in the end.</p>
<h2><strong>The Idea Illustrated Backwards</strong></h2>
<p>Now let&#8217;s try the process in reverse. We&#8217;ll start with a binary necklace such as would be obtained in Step 6, and then we&#8217;ll break it apart into its pieces so as to unwind the previous steps.</p>
<p>Let&#8217;s consider a different necklace from before&#8211;we&#8217;ll use a necklace which corresponds to the major scale and its modes.  (If white represents a scale tone and black represents an excluded tone, the interval pattern here starting from 12 o&#8217;clock is whole-whole-semi-whole-whole-whole-semi):</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-1.png"><img class="alignnone size-full wp-image-1321" alt="necklace-counting-1" src="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-1.png?w=545"   /></a></p>
<p>First we&#8217;ll collapse each clump, reversing Step 6.  Here we&#8217;ll use numbered beads as opposed to rectangular &#8220;jumbo&#8221; beads like we did above, but the idea is the same:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-2.png"><img class="alignnone size-full wp-image-1322" alt="necklace-counting-2" src="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-2.png?w=545"   /></a></p>
<p>Now we&#8217;ll break the &#8220;interleaved&#8221; necklace above into two separate necklaces, reversing step 5:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-3.png"><img class="alignnone size-full wp-image-1323" alt="necklace-counting-3" src="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-3.png?w=545&#038;h=264" width="545" height="264" /></a></p>
<p>Finally we can see that our two necklaces 21211 and 11111 (formed in step 4) were based on partitions 2+2+1+1+1=7 and 1+1+1+1+1=5 (chosen in step 3), and of course we must have chosen c=5 (in step 2), and n=7 (in step 1).</p>
<h2><b>The Idea Iterated: Steps 1-3<br />
</b></h2>
<p>Now if we want to enumerate all possible size-12 binary necklaces, we just need to iterate Steps 1 through 6, making the choices at each step in every possible way; as we do this, we&#8217;ll see that it&#8217;s not hard to size up the full range of possibilities at each step. Furthermore, we&#8217;ll be able to &#8220;save&#8221; some of the work we do in Steps 4 and 5 and reuse it when we return to those steps the next time.</p>
<p>To save time, observe that we never need to explore necklaces with more than 6 white beads. Once we&#8217;re done generating all the necklaces with up to 6 white beads, we can find the necklaces with more than 6 white beads by simply taking the complements all of the necklaces with fewer than 6 white beads (here, &#8220;taking the complement&#8221; means swapping white beads with black, and vice versa). So, each necklace that we visit with &lt;6 white beads will contribute 2 to our total count (1 for the necklace itself, 1 for its complement); while each necklace with exactly 6 beads will only contribute 1 to the total count.</p>
<p>Now, looking at Step 1, we have the option to include 0, 1, 2, 3, 4, 5, or 6 white beads, and in Step 2 we can choose any number of clumps that&#8217;s less than or equal to the number of white beads. This table shows all of the possible partitions of n and 12-n into c parts, where 0&lt;n&lt;=6 and c&lt;=n. All of the choices that can be made in Steps 1 through 3 are represented in this table.</p>
<table>
<tbody>
<tr>
<td><strong># white beads + # black beads</strong></td>
<td><strong># clumps</strong></td>
<td><strong>possible white partitions</strong></td>
<td><strong>possible black partitions</strong></td>
</tr>
<tr>
<td>0+12</td>
<td>0/1</td>
<td></td>
<td>12</td>
</tr>
<tr>
<td>1+11</td>
<td>1</td>
<td>1</td>
<td>11</td>
</tr>
<tr>
<td>2+10</td>
<td>1</td>
<td>2</td>
<td>10</td>
</tr>
<tr>
<td>2+10</td>
<td>2</td>
<td>1+1</td>
<td>9+1, 8+2, 7+3, 6+4, 5+5</td>
</tr>
<tr>
<td>3+9</td>
<td>1</td>
<td>3</td>
<td>9</td>
</tr>
<tr>
<td>3+9</td>
<td>2</td>
<td>2+1</td>
<td>8+1, 7+2, 6+3, 5+4</td>
</tr>
<tr>
<td>3+9</td>
<td>3</td>
<td>1+1+1</td>
<td>7+1+1, 6+2+1, 5+3+1, 5+2+2, 4+3+2, 3+3+3</td>
</tr>
<tr>
<td>4+8</td>
<td>1</td>
<td>4</td>
<td>8</td>
</tr>
<tr>
<td>4+8</td>
<td>2</td>
<td>3+1, 2+2</td>
<td>7+1, 6+2, 5+3, 4+4</td>
</tr>
<tr>
<td>4+8</td>
<td>3</td>
<td>2+1+1</td>
<td>6+1+1, 5+2+1, 4+3+1, 4+2+2, 3+3+2</td>
</tr>
<tr>
<td>4+8</td>
<td>4</td>
<td>1+1+1+1</td>
<td>5+1+1+1, 4+2+1+1, 3+3+1+1, 3+2+2+1, 2+2+2+2</td>
</tr>
<tr>
<td>5+7</td>
<td>1</td>
<td>5</td>
<td>7</td>
</tr>
<tr>
<td>5+7</td>
<td>2</td>
<td>4+1, 3+2</td>
<td>6+1, 5+2, 4+3</td>
</tr>
<tr>
<td>5+7</td>
<td>3</td>
<td>3+1+1, 2+2+1</td>
<td>5+1+1, 4+2+1, 3+3+1, 3+2+2</td>
</tr>
<tr>
<td>5+7</td>
<td>4</td>
<td>2+1+1+1</td>
<td>4+1+1+1, 3+2+1+1, 2+2+2+1</td>
</tr>
<tr>
<td>5+7</td>
<td>5</td>
<td>1+1+1+1+1</td>
<td>3+1+1+1+1, 2+2+1+1+1</td>
</tr>
<tr>
<td>6+6</td>
<td>1</td>
<td>6</td>
<td>6</td>
</tr>
<tr>
<td>6+6</td>
<td>2</td>
<td>5+1, 4+2, 3+3</td>
<td>5+1, 4+2, 3+3</td>
</tr>
<tr>
<td>6+6</td>
<td>3</td>
<td>3+2+1, 4+1+1, 2+2+2</td>
<td>3+2+1, 4+1+1, 2+2+2</td>
</tr>
<tr>
<td>6+6</td>
<td>4</td>
<td>3+1+1+1, 2+2+1+1</td>
<td>3+1+1+1, 2+2+1+1</td>
</tr>
<tr>
<td>6+6</td>
<td>5</td>
<td>2+1+1+1+1</td>
<td>2+1+1+1+1</td>
</tr>
<tr>
<td>6+6</td>
<td>6</td>
<td>1+1+1+1+1+1</td>
<td>1+1+1+1+1+1</td>
</tr>
</tbody>
</table>
<p>Here&#8217;s the same information in a diagram:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/06/partitions1.png"><img class="alignnone size-full wp-image-1378" alt="partitions" src="http://rudiseitz1.files.wordpress.com/2013/06/partitions1.png?w=545"   /></a></p>
<h2></h2>
<h2>The Idea Iterated: Step 4</h2>
<p>In the previous section we looked at all the choices that can be made in Steps 1 through 3 of our procedure: all the ways of choosing a number of <em>n</em> of white beads, a number <em>c</em> of clumps, and a pair of integer partitions of <em>n</em> and 12-<em>n</em> into c parts each.  Now we&#8217;re going to consider all possible ways of taking those pairs of partitions, arranging each partition into a necklace (Step 4 of our procedure), and finally interleaving the necklaces (Step 5 of our procedure, covered in the next section).</p>
<p>The obvious way to proceed would be to consider all the pairs of white and black partitions that can be made from any single row of our table.  We could consider each pair separately (for example, let&#8217;s take the pair 4+1+1 and 3+2+1), create all possible necklaces for each member of that pair (eg. {411} and {<strong>321</strong>, <strong>312</strong>}), and then create all the interleavings of those necklaces (e.g. 4<strong>3</strong>1<strong>2</strong>1<strong>1</strong>, 4<strong>2</strong>1<strong>1</strong>1<strong>3</strong>, 4<strong>1</strong>1<strong>3</strong>1<strong>2</strong>, 4<strong>3</strong>1<strong>1</strong>1<strong>2</strong>, 4<strong>1</strong>1<strong>2</strong>1<strong>3</strong>, 4<strong>2</strong>1<strong>3</strong>1<strong>1</strong>), repeating this process until we&#8217;ve exhausted all the pairs.</p>
<p>However, we can save work by observing that the same <em>types</em> of necklaces, and hence the same types of necklace pairs, occur repeatedly in the table.  Once we&#8217;ve done the work of finding all interleavings of two particular necklace <em>types</em>, we can reapply that work wherever we encounter those same necklace types in a partition pair.</p>
<p>What exactly do we mean by <em>necklace type</em>?  A partition like 4+1+1 contains two distinct integers (4 and 1) which we can think of as two distinct bead colors. There&#8217;s 1 bead of the first color and 2 beads of the second color. So we&#8217;ll say any necklace formed from 4+1+1 would be a necklace of type 2/1.  (We&#8217;ll adopt a convention of writing the necklace type in order starting from the most frequent to the least frequent color, so we&#8217;ll write 2/1 here instead of 1/2.)  Can you find another partition in the table that falls into the 2/1 necklace type?  The partition 3+1+1 fits the bill, as again there are two distinct integers (this time 3 and 1) and there&#8217;s 1 of one kind and 2 of the other kind. You won&#8217;t see it in this table, but 200+25+25 would be another example fitting the 2/1 necklace type.  Going back to our example, we&#8217;ll call all the interleavings formed from necklaces of 4+1+1 and 3+2+1 a <em>type 2/1 x 1/1/1 interleaving (</em>or a type 2/1 x 1/1/1 necklace).</p>
<p>Here are the last two columns from the table of partitions above, with each partition now annotated with its necklace type in red:</p>
<table>
<tbody>
<tr>
<td><b>white partitions</b></td>
<td><b>black partitions</b></td>
</tr>
<tr>
<td></td>
<td>12 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>1 <span style="color:#ff0000;">(1)</span></td>
<td>11 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>2 <span style="color:#ff0000;">(1)</span></td>
<td>10 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>1+1 <span style="color:#ff0000;">(2)</span></td>
<td>9+1 <span style="color:#ff0000;">(1/1)</span>, 8+2 <span style="color:#ff0000;">(1/1)</span>, 7+3 <span style="color:#ff0000;">(1/1)</span>, 6+4 <span style="color:#ff0000;">(1/1)</span>, 5+5 <span style="color:#ff0000;">(2)</span></td>
</tr>
<tr>
<td>3 <span style="color:#ff0000;">(1)</span></td>
<td>9 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>2+1 <span style="color:#ff0000;">(1/1)</span></td>
<td>8+1 <span style="color:#ff0000;">(1/1)</span>, 7+2 <span style="color:#ff0000;">(1/1)</span>, 6+3 <span style="color:#ff0000;">(1/1)</span>, 5+4 <span style="color:#ff0000;">(1/1)</span></td>
</tr>
<tr>
<td>1+1+1 <span style="color:#ff0000;">(1/1/1)</span></td>
<td>7+1+1 <span style="color:#ff0000;">(2/1)</span>, 6+2+1 <span style="color:#ff0000;">(1/1/1)</span>, 5+3+1 <span style="color:#ff0000;">(1/1/1)</span>, 5+2+2 <span style="color:#ff0000;">(2/1)</span>, 4+3+2 <span style="color:#ff0000;">(1/1/1)</span>, 3+3+3 <span style="color:#ff0000;">(3)</span></td>
</tr>
<tr>
<td>4 <span style="color:#ff0000;">(1)</span></td>
<td>8 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>3+1 <span style="color:#ff0000;">(1/1)</span>, 2+2 <span style="color:#ff0000;">(2)</span></td>
<td>7+1 <span style="color:#ff0000;">(1/1)</span>, 6+2 <span style="color:#ff0000;">(1/1)</span>, 5+3<span style="color:#ff0000;"> (1/1)</span>, 4+4 <span style="color:#ff0000;">(2)</span></td>
</tr>
<tr>
<td>2+1+1 <span style="color:#ff0000;">(2/1)</span></td>
<td>6+1+1 <span style="color:#ff0000;">(2/1)</span>, 5+2+1 <span style="color:#ff0000;">(1/1/1)</span>, 4+3+1 <span style="color:#ff0000;">(1/1/1)</span>, 4+2+2 <span style="color:#ff0000;">(2/1)</span>, 3+3+2 <span style="color:#ff0000;">(2/1)</span></td>
</tr>
<tr>
<td>1+1+1+1 <span style="color:#ff0000;">(4)</span></td>
<td>5+1+1+1 <span style="color:#ff0000;">(3/1)</span>, 4+2+1+1 <span style="color:#ff0000;">(2/1/1)</span>, 3+3+1+1 <span style="color:#ff0000;">(2/2)</span>, 3+2+2+1 <span style="color:#ff0000;">(2/1/1)</span>, 2+2+2+2 <span style="color:#ff0000;">(4)</span></td>
</tr>
<tr>
<td>5 <span style="color:#ff0000;">(1)</span></td>
<td>7 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>4+1 <span style="color:#ff0000;">(1/1)</span>, 3+2 <span style="color:#ff0000;">(1/1)</span></td>
<td>6+1 <span style="color:#ff0000;">(1/1)</span>, 5+2 <span style="color:#ff0000;">(1/1)</span>, 4+3 <span style="color:#ff0000;">(1/1)</span></td>
</tr>
<tr>
<td>3+1+1 <span style="color:#ff0000;">(2/1)</span>, 2+2+1 <span style="color:#ff0000;">(2/1)</span></td>
<td>5+1+1 <span style="color:#ff0000;">(2/1)</span>, 4+2+1 <span style="color:#ff0000;">(1/1/1)</span>, 3+3+1 <span style="color:#ff0000;">(2/1)</span>, 3+2+2 <span style="color:#ff0000;">(2/1)</span></td>
</tr>
<tr>
<td>2+1+1+1 <span style="color:#ff0000;">(3/1)</span></td>
<td>4+1+1+1 <span style="color:#ff0000;">(3/1)</span>, 3+2+1+1 <span style="color:#ff0000;">(2/1/1)</span>, 2+2+2+1 <span style="color:#ff0000;">(3/1)</span></td>
</tr>
<tr>
<td>1+1+1+1+1 <span style="color:#ff0000;">(5)</span></td>
<td>3+1+1+1+1 <span style="color:#ff0000;">(4/1)</span>, 2+2+1+1+1 <span style="color:#ff0000;">(3/2)</span></td>
</tr>
<tr>
<td>6 <span style="color:#ff0000;">(1)</span></td>
<td>6 <span style="color:#ff0000;">(1)</span></td>
</tr>
<tr>
<td>5+1 <span style="color:#ff0000;">(1/1)</span>, 4+2 <span style="color:#ff0000;">(1/1)</span>, 3+3 <span style="color:#ff0000;">(2)</span></td>
<td>5+1 <span style="color:#ff0000;">(1/1)</span>, 4+2 <span style="color:#ff0000;">(1/1)</span>, 3+3 <span style="color:#ff0000;">(2)</span></td>
</tr>
<tr>
<td>3+2+1 <span style="color:#ff0000;">(1/1/1)</span>, 4+1+1 <span style="color:#ff0000;">(2/1)</span>, 2+2+2 <span style="color:#ff0000;">(3)</span></td>
<td>3+2+1 <span style="color:#ff0000;">(1/1/1)</span>, 4+1+1 <span style="color:#ff0000;">(2/1)</span>, 2+2+2 <span style="color:#ff0000;">(3)</span></td>
</tr>
<tr>
<td>3+1+1+1 <span style="color:#ff0000;">(3/1)</span>, 2+2+1+1 <span style="color:#ff0000;">(2/2)</span></td>
<td>3+1+1+1 <span style="color:#ff0000;">(3/1)</span>, 2+2+1+1 <span style="color:#ff0000;">(2/2)</span></td>
</tr>
<tr>
<td>2+1+1+1+1 <span style="color:#ff0000;">(4/1)</span></td>
<td>2+1+1+1+1 <span style="color:#ff0000;">(4/1)</span></td>
</tr>
<tr>
<td>1+1+1+1+1+1<span style="color:#ff0000;"> (6)</span></td>
<td>1+1+1+1+1+1 <span style="color:#ff0000;">(6)</span></td>
</tr>
</tbody>
</table>
<p>Looking at the table, we can see there are only 14 necklace types at play here, and each of them generates only a few simple necklace instances.  For example, if we consider the 2/1/1 necklace type, this means there are two beads of one color, call it X, one bead of another color, call it Y, and one bead of a third color, call it Z. There are only three ways of arranging these beads into distinct necklaces: XXYZ, XXZY, and XYXZ. (Here I&#8217;m representing a necklace as a string like XXYZ &#8212; you should imagine those beads on a circle from which you could also read them as XYZX, YZXX, ZXXY &#8212; all equivalent to XXYZ.) Here is a summary of the necklace types we&#8217;re dealing with, and their corresponding necklace instances in string form:</p>
<table>
<tbody>
<tr>
<td><b>necklace type</b></td>
<td><b>instances</b></td>
</tr>
<tr>
<td>1</td>
<td>X</td>
</tr>
<tr>
<td>2</td>
<td>XX</td>
</tr>
<tr>
<td>3</td>
<td>XXX</td>
</tr>
<tr>
<td>4</td>
<td>XXXX</td>
</tr>
<tr>
<td>5</td>
<td>XXXXX</td>
</tr>
<tr>
<td>6</td>
<td>XXXXXX</td>
</tr>
<tr>
<td>1/1</td>
<td>XY</td>
</tr>
<tr>
<td>2/1</td>
<td>XXY</td>
</tr>
<tr>
<td>3/1</td>
<td>XXXY</td>
</tr>
<tr>
<td>4/1</td>
<td>XXXXY</td>
</tr>
<tr>
<td>2/2</td>
<td>XXYY, XYXY</td>
</tr>
<tr>
<td>3/2</td>
<td>XXXYY, XYXYX</td>
</tr>
<tr>
<td>1/1/1</td>
<td>XYZ, XZY</td>
</tr>
<tr>
<td>2/1/1</td>
<td>XXYZ, XXZY, ZYXZ</td>
</tr>
</tbody>
</table>
<p>Looking back at our table of partitions, we can see that certain kinds of interleavings occur in our space of possibilities, while others don&#8217;t. For example, we&#8217;ve already seen that 4+1+1 and 3+2+1 make a type 2/1 x 1/1/1 interleaving, and so do 3+1+1 and 4+2+1.  But you won&#8217;t find any type 2/2 x 2/1/1 interleavings in the table.</p>
<h2>The Idea Iterated: Step 5</h2>
<p>Our next step will be to consider all of the interleaving types represented in our partition table and list all possible instances of each interleaving type.</p>
<p>For simple interleaving types, the instances are obvious.  For example, let&#8217;s consider the 3&#215;3 interleaving type.  There&#8217;s only one necklace of type 3, which we&#8217;ll write as XXX, and there&#8217;s only one way we can interleave it with another necklace of type 3, which we&#8217;ll write as AAA.  This single instance of 3 x 3 could be written as XAXAXA.  But, when the interleaving types get more complex, how can we find all the possibilities?  The brute force approach would to look at every pair of instances of the two necklace types, and apply the following procedure: keep one necklace fixed, and place the second necklace on top of it so that the beads of the second necklace fall into the gaps between the beads of the first; then rotate the second necklace clockwise in steps of one bead, until we&#8217;ve visited all possible positions around the circle.  Finally, eliminate interleavings that turn out to be rotationally equivalent.</p>
<p>Do we actually need to rotate the second necklace so it lands in <em>every possible</em> position, and then go through the elimination step?  No.  Let&#8217;s say first necklace can be decomposed into repeating blocks of a fixed size, like ABC (i.e. the entire necklace is ABCABCABC) while the second necklace cannot be decomposed into repeating blocks of a fixed size smaller than the necklace itself (say the necklace is XXXXXXXXY). You&#8217;d only need to rotate the second necklace through the length of one repeating block of the first necklace.  I will leave a discussion of this principle for a separate post.</p>
<p>Now, it turns out that there are 28 distinct interleaving types that occur in our partition table, listed below with all their instances, and all the partition pairs that fall into each type.  (Note: some of this table is currently TBD, but I think you&#8217;ll get the idea.)</p>
<table>
<tbody>
<tr>
<td><b>Interleaving Type</b></td>
<td><b>White Necklaces</b></td>
<td><b>Black Necklaces</b></td>
<td><b>Interleavings</b></td>
<td><b>Partition Pairs Of This Type</b></td>
</tr>
<tr>
<td>2/1 x 2/1</td>
<td>XXY</td>
<td>AAB</td>
<td>XAXAYB, XAXBYA, XBXAYA</td>
<td>(2+1+1, 6+1+1), (2+1+1, 4+2+2), (2+1+1, 3+3+2), (3+1+1, 3+1+1), (3+1+1, 3+3+1), (3+1+1, 3+2+2), (2+2+1, 5+1+1), (2+2+1, 3+3+1), (2+2+1, 3+2+2), (4+1+1, 4+1+1)</td>
</tr>
<tr>
<td>2/1 x 1/1/1</td>
<td>XXY</td>
<td>ABC, ACB</td>
<td>XAXBYC, XCXAYB, XBXCYA, XAXCYB, XBXAYC, XCXBYA</td>
<td>(3+1+1, 4+2+1) (2+2+1, 4+2+1), (4+1+1, 3+2+1), (2+1+1, 5+2+1), (2+1+1, 4+3+1)</td>
</tr>
<tr>
<td>1/1/1 x 2/1</td>
<td>XYZ, XZY</td>
<td>AAB</td>
<td>XAYAZB, XBYAZA, XAYBZA, XAZAYB, XBZAYA, XAZBYA</td>
<td>(3+2+1, 4+1+1)</td>
</tr>
<tr>
<td>4 x 3/1</td>
<td>XXXX</td>
<td>AAAB</td>
<td>XAXAXAXB</td>
<td>(1+1+1+1, 5+1+1+1)</td>
</tr>
<tr>
<td>4 x 2/1/1</td>
<td>XXXX</td>
<td>AABC</td>
<td>XAXAXBXC, XAXAXCXB</td>
<td>(1+1+1+1, 4+2+1+1), (1+1+1+1, 3+2+2+1)</td>
</tr>
<tr>
<td>4 x 2/2</td>
<td>XXXX</td>
<td>AABB, ABAB</td>
<td>XAXAXBXB, XAXBXAXB</td>
<td>(1+1+1+1, 3+3+1+1)</td>
</tr>
<tr>
<td>4 x 4</td>
<td>XXXX</td>
<td>AAAA</td>
<td>XAXAXA</td>
<td>(1+1+1+1, 2+2+2+2)</td>
</tr>
<tr>
<td>3/1 x 2/1/1</td>
<td>XXXY</td>
<td>AABC,AACB, ABAC</td>
<td>XAXAXBYC, XAXBXCYA, XBXCXAYA, XCXAXAYB, XAXAXCYB, XAXCXBYA, XCXBXAYA, XBXAXAYC, XAXBXAYC, XBXAXCYA, XAXCXAYB, XCXAXBYA</td>
<td>(2+1+1+1, 3+2+1+1)</td>
</tr>
<tr>
<td>3/1 x 3/1</td>
<td>XXXY</td>
<td>AAAB</td>
<td>XAXAXAYB, XAXAXBYA, XAXBXAYA, XBXAXAYA</td>
<td>(2+1+1+1, 4+1+1+1), (2+1+1+1, 2+2+2+1), (3+1+1+1, 3+1+1+1)</td>
</tr>
<tr>
<td>3/1 x 2/2</td>
<td>XXXY</td>
<td>AABB, ABAB</td>
<td>XAXAXBYB, XBXAXAYB, XBXBXAYA, XAXBXBYA, XAXBXAYB, XBXAXBYA</td>
<td>(3+1+1+1, 2+2+1+1)</td>
</tr>
<tr>
<td>2/2 x 3/1</td>
<td>XXYY, XYXY</td>
<td>AAAB</td>
<td>XAXAYAYB, XAYAYAXB, YAYAXAXB, YAXAXAYB, XAYAXAYB, YAXAYAXB</td>
<td>(2+2+1+1, 3+1+1+1)</td>
</tr>
<tr>
<td>5 x 4/1</td>
<td>XXXXX</td>
<td>AAAAB</td>
<td>XAXAXAXB</td>
<td>(1+1+1+1+1, 3+1+1+1+1)</td>
</tr>
<tr>
<td>5 x 3/2</td>
<td>XXXXX</td>
<td>AAABB, ABABA</td>
<td>XAXAXAXBXB, XAXBXAXBXA</td>
<td>(1+1+1+1+1, 2+2+1+1+1)</td>
</tr>
<tr>
<td>4/1 x 4/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>6 x 6</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>1/1/1 x 1/1/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>2/1 x 3</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>2/2 x 2/2</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>_ x 1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>1 x 1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>2 x 1/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>1/1 x 1/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>3 x 3</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>3 x 2/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>3 x 1/1/1</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>1/1/1 x 3</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>2 x 2</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
<td>&#8230;.</td>
</tr>
<tr>
<td>1/1 x 2</td>
<td>XY</td>
<td>AA</td>
<td>XAYA</td>
<td>(3+1, 4+4), (5+1, 3+3), (4+2, 3+3)</td>
</tr>
</tbody>
</table>
<h2><strong>The Idea Iterated: Step 6</strong></h2>
<p>The next step is to make all possible necklaces from each partition pair in the table above: we can do this by substituting the partition members into the precomputed necklaces of the appropriate type.  For example, let&#8217;s return to the pair (4+1+1, 3+2+1) that we considered before.  This pair is of type 2/1 x 1/1/1, and our table tells us the possible interleaved necklaces of that type are: XAXBYC, XCXAYB, XBXCYA, XAXCYB, XBXAYC, XCXBYA.  If we take X=1, Y=4, A=3, B=2, C=1 we get necklaces 1<strong>3</strong>1<strong>2</strong>4<strong>1</strong>, 1<strong>1</strong>1<strong>3</strong>4<strong>2</strong>, 1<strong>2</strong>1<strong>1</strong>4<strong>3</strong>, 1<strong>3</strong>1<strong>1</strong>4<strong>2</strong>, 1<strong>2</strong>1<strong>3</strong>4<strong>1</strong>, 1<strong>1</strong>1<strong>2</strong>4<strong>3</strong>. The requirement for setting up our substitutions is that if a letter X in occurs <em>m</em> times in each precomputed necklace, we need to map it to an integer that occurs <em>m</em> times in the partition it belongs to.</p>
<p>The final step is to unpack the integers in each necklace into the corresponding number of white or black beads.  Our necklace 1<strong>3</strong>1<strong>2</strong>4<strong>1</strong>, for example, would translate into white-black-black-black-white-black-black-white-white-white-white-black, or 100010011110.</p>
<p>If we go through this process for every partition pair in the table, and then add all the complements of necklaces with &lt;6 white beads, we&#8217;ll get all 352 binary necklaces of size 12.  I might post them here at some point when I&#8217;m feeling up to it, but now you know one way to find them yourself (and if you don&#8217;t want to go through the labor, you can get your free necklaces <a href="http://theory.cs.uvic.ca/gen/neck.html">here</a> or <a href="http://www.jasondavies.com/necklaces/">here</a>).  Well, I didn&#8217;t say this approach would make the enumeration easy or free from tedium, but I think it does provide a systematic process for doing it, along with a compact way of describing the structure of any necklace you encounter.</p>
<h2>Recap: Intuition?</h2>
<p>My main reason for going on this excursion was not that I had a pressing practical need to enumerate necklaces, but that I wanted a better intuitive understanding of the space of possibilities: I wanted to get a feel for how necklaces &#8220;arise&#8221; and how their structure can be analyzed.  Have I succeeded in obtaining, and hopefully sharing, such intuition?</p>
<p>Well, now if you see a necklace like 100110011100, you can view it as an &#8220;expansion&#8221; of the necklace 1<strong>2</strong>2<strong>2</strong>3<strong>2</strong>, which is built from the partition pair (1+2+3, 2+2+2), and you can observe that this pair is of type 1/1/1 x 3.  You could observe that there are in fact two interleavings of type 1/1/1 x 3 (they are XAYAZA and XAZAYA), and that 1<strong>2</strong>3<strong>2</strong>2<strong>2 </strong>(or 100111001100) is a &#8220;close relative&#8221; of the given necklace.  Finally you could observe that these two necklaces are special in that they happen to be the only interleavings of type 1/1/1 x 3 in the problem space.</p>
<h2>Followup Questions</h2>
<p>This section includes some followup questions which I&#8217;d like to address when I have time: hopefully soon, but quite possibly never.  I will be motivated to get around to them before never if you drop me a note letting me know what topics you&#8217;d like to see explored here, or how you think this post could be improved.</p>
<ol>
<li>Can this approach be made into a recursive algorithm for generating binary necklaces of arbitrary size?  The catch is that in Step 4, we need to find necklaces of more than two colors; in this post where we were specifically dealing with 12-bead necklaces, it was possible to build these component necklaces by hand.  If we wanted to do it with a recursive call to the procedure, we&#8217;d need to generalize the procedure to handle necklaces with an arbitrary number of colors.  Perhaps this could be done using an encoding scheme where binary necklaces of a larger size get mapped to necklaces with fewer beads and more colors?</li>
<li>How does this approach relate to other necklace algorithms in the literature and does it offer any advantages?</li>
<li>Is it possible to find some kind of conceptual mapping between the steps of this procedure and the things that happen &#8220;inside&#8221; the Polya Enumeration Theorem.</li>
<li>How can this approach be applied in the context of combinatorial music theory, if at all?</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1317&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/06/09/necklace-counting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample1.png" medium="image">
			<media:title type="html">NecklaceExample1</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample2.png" medium="image">
			<media:title type="html">NecklaceExample2</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample3.png" medium="image">
			<media:title type="html">NecklaceExample3</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample4.png" medium="image">
			<media:title type="html">NecklaceExample4</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklaceexample5.png" medium="image">
			<media:title type="html">NecklaceExample5</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-1.png" medium="image">
			<media:title type="html">necklace-counting-1</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-2.png" medium="image">
			<media:title type="html">necklace-counting-2</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/necklace-counting-3.png" medium="image">
			<media:title type="html">necklace-counting-3</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/06/partitions1.png" medium="image">
			<media:title type="html">partitions</media:title>
		</media:content>
	</item>
		<item>
		<title>Microtonal Notation and Playback In Finale</title>
		<link>http://rudiseitz.com/2013/05/14/microtonal-notation-and-playback-in-finale/</link>
		<comments>http://rudiseitz.com/2013/05/14/microtonal-notation-and-playback-in-finale/#comments</comments>
		<pubDate>Tue, 14 May 2013 04:45:14 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Tech Support]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1313</guid>
		<description><![CDATA[I&#8217;ve been searching for information on how to notate microtonal music in Finale and get it to play back properly.  Since it&#8217;s hard to find good documentation on this, I wanted to share my findings.  (As a side note, I&#8217;ve come across a number of forum posts by people saying they only want to do &#8230;<p><a href="http://rudiseitz.com/2013/05/14/microtonal-notation-and-playback-in-finale/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1313&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been searching for information on how to notate microtonal music in Finale <em>and</em> get it to play back properly.  Since it&#8217;s hard to find good documentation on this, I wanted to share my findings.  (As a side note, I&#8217;ve come across a number of forum posts by people saying they only want to do microtonal notation and they don&#8217;t care about playback.  <em>Really?</em>)  Here&#8217;s the easiest approach that I&#8217;ve found so far, working with Finale 2012:</p>
<p><strong>Step 1:</strong> Create a Nonstandard Key Signature with your preferred number of subdivisions of the octave, and assign accidental symbols as you like.  The best explanation of how to do this I&#8217;ve found is in <a href="http://www.erelievonen.eu/documents/microtonal/finale/microtonal_accidentals_in_Finale.pdf">this PDF by Ere Lievonen</a>.</p>
<p><strong>Step 2:</strong> Set up the Aria player that comes with Finale to use a <a href="http://www.huygens-fokker.org/scala/">Scala</a> file that defines your tuning.  For this, you&#8217;ll need a recent version of the Aria player, since Scala integration seems to be a newer feature.  The basic process is as follows:</p>
<ul>
<li>Set MIDI/Audio-&gt;Play Finale Through Audio Units</li>
<li>Open this dialog: MIDI/Audio-&gt;Audio Units Banks &amp; Effects</li>
<li>Click the pencil icon for Bank 1 to open the Audio Unit Viewer</li>
<li>Select Settings from the tabs on the right and look for the area labeled Tuning</li>
<li>Import your chosen Scala file</li>
</ul>
<p>That&#8217;s it (for this summary, at least).</p>
<p>Of course, if you only want to experiment with nonstandard tunings that have 12 notes per octave, you can skip Step 1 and go right to Step 2, selecting your Scale file in Aria Player.  There are a couple of Scala files included in the Aria installation, and you can download many more at the Scala site.  The neat thing is that if you do want more than 12 notes per octave, Step 1 and Step 2 work well together: if your nonstandard key signature has, say, 24 notes per octave and your Scala file has 24 notes, they&#8217;ll be matched during playback.  (This is how it should work, of course, but until I tested it tonight I wasn&#8217;t sure it actually <em>would</em> work.)  You can get any one of those 24 notes to play back properly by applying the appropriate accidental as you defined in Step 1.  It&#8217;s no longer necessary to use the <a href="http://wardbaxter.com/education/QuarterTones_Finale.php">older technique of creating pitch bend expressions</a>.</p>
<p>I&#8217;ve just begun playing with this and will update this post as I learn more.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1313&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/05/14/microtonal-notation-and-playback-in-finale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>
	</item>
		<item>
		<title>Twelve Glyph Challenge</title>
		<link>http://rudiseitz.com/2013/05/01/twelve-glyphs/</link>
		<comments>http://rudiseitz.com/2013/05/01/twelve-glyphs/#comments</comments>
		<pubDate>Thu, 02 May 2013 03:18:38 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Visual Design]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1306</guid>
		<description><![CDATA[Challenge: design glyphs to represent the numbers one through twelve. Consider the numbers arranged on a clock face.  Your glyph system should have the following properties: The glyphs for two numbers that are opposite on the clock face (like 12 and 6) should have some visual qualities that bind them together as a pair. If &#8230;<p><a href="http://rudiseitz.com/2013/05/01/twelve-glyphs/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1306&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Challenge: design glyphs to represent the numbers one through twelve.</p>
<p>Consider the numbers arranged on a clock face.  Your glyph system should have the following properties:</p>
<ol>
<li>The glyphs for two numbers that are opposite on the clock face (like 12 and 6) should have some visual qualities that bind them together as a pair.</li>
<li>If you look at the glyphs for any two numbers that are adjacent on the clock face (like 1 and 2), it should be easy to see which glyph represents the &#8220;lower&#8221; number in clockwise order, and which glyph represents the &#8220;higher&#8221; number.</li>
<li>The glyphs for any three numbers that form an even division of the clock face into three parts (like 12, 4, and 8) should have some common visual feature that makes them recognizable as a group.</li>
<li>The glyphs for any four numbers that form an even division of the clock face into four parts (like 12, 3, 6, and 9) should have some common visual feature that makes them recognizable as a group.</li>
<li>The parity of a number (whether the number is odd or even) should be somehow discernible from its glyph.</li>
</ol>
<p>Thinking of this problem in musical terms, the glyphs could represent the 12 notes of the octave (assuming 12TET).  Looking at any glyph, you should be able to quickly discern the following things about the note it represents: which of the four augmented triads does the note belongs to?  Which of three fully-diminished seventh chords does it belong to?  What is its tritone, and what is that tritone&#8217;s glyph? What are its upper and lower chromatic neighbors, and what are their glyphs?</p>
<p>I haven&#8217;t solved this.  But, to jog your imagination, here&#8217;s one of many glyph systems I&#8217;ve come up with while considering the problem.  Do you think it has any nice properties?  Can you do better?</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/05/12glyphs.png"><img class="alignnone size-full wp-image-1307" alt="12 Glyphs" src="http://rudiseitz1.files.wordpress.com/2013/05/12glyphs.png?w=545&#038;h=545" width="545" height="545" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1306&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/05/01/twelve-glyphs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/05/12glyphs.png" medium="image">
			<media:title type="html">12 Glyphs</media:title>
		</media:content>
	</item>
		<item>
		<title>Jam Session &#8212; 3/18/2013</title>
		<link>http://rudiseitz.com/2013/03/18/jam-session-3182013/</link>
		<comments>http://rudiseitz.com/2013/03/18/jam-session-3182013/#comments</comments>
		<pubDate>Tue, 19 Mar 2013 00:34:55 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1280</guid>
		<description><![CDATA[I asked my friend Dan Koff of New Relic Media to help me make a video about my photography.  We wanted to do our own soundtrack so we met today for our second jam session, which was lots of fun.  Some of this material will probably make it into the video, but we decided we &#8230;<p><a href="http://rudiseitz.com/2013/03/18/jam-session-3182013/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1280&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I asked my friend Dan Koff of <a href="http://newrelicmedia.com/">New Relic Media</a> to help me make a video about my photography.  We wanted to do our own soundtrack so we met today for our second jam session, which was lots of fun.  Some of this material will probably make it into the video, but we decided we just wanted to make some music and not force it to fit.  In these clips, Dan is playing in his own style on a dholak that Kathir and I got from a street vendor in Pondicherry a few years ago.  I&#8217;m playing on my Eastman archtop.  (Amplification is new for me, as I generally prefer completely &#8220;unplugged&#8221; playing, but the Acoustic Image Corus I&#8217;m using at a low level here is changing my mind and opening some new possibilities.)  Both clips are improvised without rehearsal, though the first one (15 minutes) is more structured &#8212; it explores the &#8220;Charupriya&#8221; concept that I&#8217;ve been developing recently:</p>
<span style='text-align:left;display:block;'><p>				<object id='wp-as-1280_1-flash' type='application/x-shockwave-flash' data='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' width='290' height='24'>
					<param name='movie' value='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' />
					<param name='FlashVars' value='bg=0xF8F8F8&amp;leftbg=0xEEEEEE&amp;lefticon=0x666666&amp;rightbg=0xCCCCCC&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0x9FFFB8&amp;soundFile=http%3A%2F%2Frudiseitz1.files.wordpress.com%2F2013%2F03%2Frudiseitzanddankoff-charupriya-3-18-2013.mp3' />
					<param name='quality' value='high' />
					<param name='menu' value='false' />
					<param name='bgcolor' value='#FFFFFF' />
					<param name='wmode' value='opaque' />
					Download: <a href="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-charupriya-3-18-2013.mp3">rudiseitzanddankoff-charupriya-3-18-2013.mp3</a><br />
				</object></p></span>
<p>This second clip (20 minutes) was pure experiment.  It takes a little while to get into a groove, but one of my favorite parts is the craziness that ensues between 3:00 and 4:00, and resurfaces again towards the end:</p>
<span style='text-align:left;display:block;'><p>				<object id='wp-as-1280_2-flash' type='application/x-shockwave-flash' data='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' width='290' height='24'>
					<param name='movie' value='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' />
					<param name='FlashVars' value='bg=0xF8F8F8&amp;leftbg=0xEEEEEE&amp;lefticon=0x666666&amp;rightbg=0xCCCCCC&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0x9FFFB8&amp;soundFile=http%3A%2F%2Frudiseitz1.files.wordpress.com%2F2013%2F03%2Frudiseitzanddankoff-freeimprov-march-18-2013.mp3' />
					<param name='quality' value='high' />
					<param name='menu' value='false' />
					<param name='bgcolor' value='#FFFFFF' />
					<param name='wmode' value='opaque' />
					Download: <a href="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-freeimprov-march-18-2013.mp3">rudiseitzanddankoff-freeimprov-march-18-2013.mp3</a><br />
				</object></p></span>
<p><span id="more-1280"></span></p>
<p><strong>Addendum</strong></p>
<p>Since photography was the context that brought Dan and me together to make this music, I&#8217;ll end this post with an amazing video by Charles and Ray Eames that&#8217;s been in my mind since I watched it this morning.  Perhaps in some way it inspired the jam.  It&#8217;s a documentary about the Polaroid SX-70 camera, and it manages to capture, either directly or through its general spirit, almost everything I find inspiring about photography.  I made a lot of noise (of the &#8220;Oooohhh&#8230;. Ahhh&#8230;.&#8221; variety) while watching it the first time.  Thanks to Carl Seglem for sending me the link!</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='545' height='337' src='http://www.youtube.com/embed/5jaiq_ZZ_eM?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1280/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1280&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/03/18/jam-session-3182013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-charupriya-3-18-2013.mp3" length="18139533" type="audio/mpeg" />
<enclosure url="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-charupriya-3-18-2013.mp3" length="18139533" type="audio/mpeg" />
<enclosure url="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-freeimprov-march-18-2013.mp3" length="23854081" type="audio/mpeg" />
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-charupriya-3-18-2013.mp3" medium="audio">
			<media:player url="http://rudiseitz.com/wp-content/plugins/audio-player/player.swf?soundFile=http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-charupriya-3-18-2013.mp3" />
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-freeimprov-march-18-2013.mp3" medium="audio">
			<media:player url="http://rudiseitz.com/wp-content/plugins/audio-player/player.swf?soundFile=http://rudiseitz1.files.wordpress.com/2013/03/rudiseitzanddankoff-freeimprov-march-18-2013.mp3" />
		</media:content>
	</item>
		<item>
		<title>cantu a tenore newsflash</title>
		<link>http://rudiseitz.com/2013/03/15/cantu-a-tenore-newsflash/</link>
		<comments>http://rudiseitz.com/2013/03/15/cantu-a-tenore-newsflash/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 03:31:32 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1272</guid>
		<description><![CDATA[I used to go to record stores&#8211;back when there still were record stores&#8211;with the sense that my life could change depending what I stumbled across.  One such moment was discovering cantu a tenore, a style of vocal music from Sardinia, which I first heard at a listening station in Tower Records in 1996: the album &#8230;<p><a href="http://rudiseitz.com/2013/03/15/cantu-a-tenore-newsflash/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1272&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I used to go to record stores&#8211;back when there still were record stores&#8211;with the sense that my life could change depending what I stumbled across.  One such moment was discovering <em>cantu a tenore</em>, a style of vocal music from Sardinia, which I first heard at a listening station in Tower Records in 1996: the album was <em>S&#8217;amore &#8216;e Mama</em> by Tenores di Bitti.  Of course, it wasn&#8217;t so much the particulars of my life that changed in hearing this (or any other powerful recording), as it was my ear, and my sense of possibility.  The guttural sonorities of cantu a tenore were unlike anything I had experienced in music before, although they reminded me of sounds I had heard in the natural world, in particular the bleating of sheep and the lowing of cows.  Sardinian singers evoke these ambient animal sounds in a way that is startling and beautiful.  I call it &#8220;startling&#8221; because, to a mainstream listener (I&#8217;ll punt on trying to define &#8220;mainstream&#8221; here) the sounds of livestock probably occupy a separate mental category from &#8220;music,&#8221; and if one is familiar with the loose concept of <em>bel canto</em> singing (an operatic style favoring smoothness or legato, lightness, and agility) the bleating of sheep could be seen as its diametrical opposite.  How interesting to consider that Italy, which gave us bel canto, also gave us cantu a tenore.  I call it &#8220;beautiful&#8221; not only because of the visceral appeal of its sonic &#8220;mass,&#8221; but also because the voices sustain a sort of rhythmic, melodic, and timbral contrast that gives me the same rush I get from more formal contrapuntal music: at times it&#8217;s like hearing a bit of Bach somehow waft up from the grounds of a farm.</p>
<p>After &#8217;96 I would always check for the &#8220;Sardinia&#8221; section whenever I stopped in a record store, and if I found such a section, it was usually stocked with the recording I already owned.  Through the sort of physical-world-sleuthing that was necessary in those days, I did gradually expand my collection to five or six albums, but at some point I had to concede that there just wasn&#8217;t much to do as an American fan of Sardinian polyphony: no new releases, no local performances, and practically no one in my circle of acquaintance who had heard of it.  So I stopped checking for &#8220;news.&#8221;  But just the other day some fortuitous web browsing led me the best Sardinian-polyphony news I&#8217;ve come across in a decade.   There&#8217;s a group of American singers, <em>Tenores de Aterúe</em>, who have taken the adventurous step of studying and performing traditional cantu a tenore, and their footage on YouTube sounds great.  (Where&#8217;s your website, guys?)  In reading a little about their background, I enjoyed the story of a 2008 ephiphany, when one member who had dreamed of learning Sardinian music found a video of Tenores di Bitti demonstrating how each voice part in <em>cantu a tenore</em> sounds by itself, and then in ensemble.  This video became a sort of Rosetta stone that exposed the workings of the music and opened the path for a group of experienced but non-Sardinian musicians to actually learn it.  I encourage you check out Tenores de Aterúe on YouTube and see if they might be performing near you (I&#8217;ll be doing the same).  Here, I wanted to post that revealing Tenores di Bitti video, as it&#8217;s probably the best short introduction to <em>cantu a tenore</em> one can find (replete with charming features like the onlooker who appears in the background near 3:50, and of course, some great singing).<br />
When I sent it to my classical voice teacher, she emailed back: &#8220;This just blew my mind.&#8221;  Specifically, she was amazed at how these musicians create &#8212; in a way that appears relaxed and free from vocal strain &#8212; a completely different set of sounds from those we work to produce in &#8220;mainstream&#8221; Western vocal practice.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='545' height='337' src='http://www.youtube.com/embed/mMddrMMqm00?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1272&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/03/15/cantu-a-tenore-newsflash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>
	</item>
		<item>
		<title>Janya Ragas: 34,776 or 26,864?</title>
		<link>http://rudiseitz.com/2013/03/15/janya-ragas-34776-or-26864/</link>
		<comments>http://rudiseitz.com/2013/03/15/janya-ragas-34776-or-26864/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 01:41:50 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1264</guid>
		<description><![CDATA[Prasanna mentioned to me that there are 34,776 theoretically possible janya ragas in the South Indian melakarta system and he asked if I could see how that number arises. I looked into the question and thought I&#8217;d post the details here for anyone who&#8217;s interested. Recall that a janya raga is one that is somehow &#8230;<p><a href="http://rudiseitz.com/2013/03/15/janya-ragas-34776-or-26864/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1264&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Prasanna mentioned to me that there are 34,776 theoretically possible <em>janya ragas</em> in the South Indian melakarta system and he asked if I could see how that number arises. I looked into the question and thought I&#8217;d post the details here for anyone who&#8217;s interested.</p>
<p>Recall that a janya raga is one that is somehow <i>derived</i> from one of the 72 melakarta ragas. The 34,776 figure refers to one specific class of janya ragas: those that are created by <i>omitting</i> notes from the parent. In forming such &#8220;varja&#8221; ragas, we can omit up to two notes from the arohanam (ascent), the avarohanam (descent), or both. (And it&#8217;s permissible to omit <em>different</em> notes in the ascent from those we omit in the descent.) We can&#8217;t apply other processes of derivation like reordering notes or borrowing notes from other ragas: these processes lead to many more possibilities!</p>
<p>So where does the number 34,776 come from?  Well, if we decide to omit one note from the arohanam of a melakarta raga, there are 6 ways to do it: any note besides sa is fair game for omission. If we&#8217;re going to omit two notes, there are (6 choose 2) = 15 possibilities. And of course, if we omit no notes, there&#8217;s only 1 way to do that. This gives 6+15+1=22 options. The same 22 options exist for the avarohanam, giving 22*22=484 ways of omitting notes from a parent raga to create a janya. Except, we don&#8217;t want to count the case where no notes are omitted in the arohanam and the avarohaman both, because this leaves us with the original raga. So, the total number of janya possibilities for each melakarta raga is actually 484-1 = 483. Multiplying this by the total number of melakarta ragas, we get 483*72 = <strong>34,776</strong>. But there&#8217;s a catch&#8230;</p>
<p>The process of omitting notes from two distinct parent ragas can give us <em>two janya ragas with the same notes</em>. For example, we can get S R2 G3 P D2 (Mohanam), by omitting M1 and N2 from S R2 G3 M1 P D2 N2 (Harikambhoji), or by omitting M2 and N3 from S R2 G3 M2 P D2 N3 (Kalyani). In Western terms, one would say you can get 1 2 3 5 6 (major pentatonic) by omitting 4 and b7 from 1 2 3 4 5 6 b7 (Mixolydian) or by omitting #4 and 7 from 1 2 3 #4 5 6 7 (Lydian). So, the 34,776 figure contains many janya ragas that actually have identical swaras. Now, if the parent raga (including its mood, characteristic phrases, ornamentation patterns, and additional swaras) is kept in mind when performing the derived raga, then two ragas derived from different parents might be perceived as distinct even though the derived ragas happen to have the same notes. In this way of looking at raga derviation, 34,776 is a plausible theoretical count. However, if we&#8217;re only interested in janya possibilities that are <em>distinct in their notes</em>, and we&#8217;re not considering attachments to parent ragas, then 34,776 is an overcount.</p>
<p>Enumerating the janya possibilities that are note-wise distinct is more complicated. The rest of the post describes an approach I came up with when I first started thinking about the problem.  After I published the post, I received a comment from Narayana Santhanam pointing out that the technique of generating functions from enumerative combinatorics is another, more compact approach to counting janyas; and, in searching further, I found a 2002 paper by K. Balasubramanian that uses this approach.  Finally, I learned that P. Sriram and V. N. Jambunathan had investigated this question and published similar findings in a 1991 paper in the Journal of the Madras Music Academy.  (See the notes and comments at the end of this post for more details.)  Although the approach I present here is more verbose than some of the others, I hope it will be interesting to readers looking for insight into how all the possibilities arise.</p>
<p>In what follows, I assume R2=G1, R3=G2, D2=N1, and D3=N2 even though one could say those swaras would be performed with different ornamentation and/or intonation.  In this count, for example, an arohanam of S R2 M1 P D2 S will be considered equivalent to S G1 M1 P D2 as since we treat R2=G1.</p>
<p>To organize our count, we&#8217;ll consider <em>how many notes occur in the union of the ascent and the descent</em> of a janya raga. This union might have 5, 6 or 7 notes.</p>
<p>If the <strong>union contains 5 notes</strong>, then the ascent and descent must contain those same 5 notes. To find the number of janya ragas of this kind, we need to consider all the ways of choosing 4 notes from 11 possibilities without violating the melakarta rules. Note that we&#8217;re choosing 4 notes out of 11, not 5 out of 12, because one note, sa, is mandated. Unfortunately, we can&#8217;t use a simple formula for (11 choose 4) because this would count &#8220;illegal&#8221; cases where there are two ma&#8217;s, or where there are more than two notes betwen sa and ma.  One way to count only the legal possibilities is to divide the scale above sa into four sections. The first section contains ri and ga. The second section contains ma. The third section contains pa. The fourth section contains da and ni. Now there are 6 ways of filling the first section (i.e. ri and ga can be R1/G1, R1/G2, R1/G3, R2/G2, R2/G3, or R3/G3), two ways of filling the second section (i.e. ma can be M1 or M2), one way of filling third section (pa is always Pa), and six ways of filling the fourth section.  (This is how we get 6*2*1*6 = 72 melakarta ragas.) If we omit some notes, then one or more of the scale sections will no longer be full. (In particular, if the first section has only one note in it, there are 4 possibilities for its identity: R1, R2=G1, R3=G2, or G3.) If we write 2|1|1|2 to indicate a scale with all sections full, then here are the possibilities distributions of sections sizes for a five-note derived scale where the sections are not all full: 2|1|1|0, 2|0|1|1, 2|0|0|2, 2|1|0|1, 1|1|1|1, 1|0|1|2, 1|1|0|2, 0|1|1|2. Taking this list and substituting the sections sizes with the number of ways of filling each section to the designated size, we get the following count: 6*2*1*1 + 6*1*1*4 + 6*1*1*6 + 6*2*1*4 + 4*2*1*4 + 4*1*1*6 + 4*2*1*6 + 1*2*1*6 = <strong>236</strong>.</p>
<p>Now if the <strong>union of the ascent and descent contains 6 notes</strong>, the respective sizes of the ascent/descent might be 6/6, 5/6, 6/5, or 5/5. The <strong>6/6 case</strong> is similar to above: we know the ascent and descent use the same six notes, and we need to consider the number of ways of choosing 5 out of 11 notes without violating the melakarta rules. Following the logic above, the possible distributions of section sizes are 1|1|1|2, 2|0|1|2, 2|1|0|2, and 2|1|1|1. This gives 4*2*1*6 + 6*1*1*6 + 6*2*1*6 + 6*2*1*4 = <strong>204</strong> possibilities. In the <strong>5/6 or 6/5 case</strong>, we can see that side containing 5 notes must be a proper subset of the side containing 6. The number of possibilities here can be calculated as (# ways of choosing 5 out of 11 notes legally)*(# ways of removing one of those 5 notes to create the smaller side) = 204*5 = 1020. Since we can make the smaller side the ascent or the descent, we multiply the last figure by two, giving <strong>2040</strong>. Finally, in the <strong>5/5 case</strong>, we can see that the ascent and descent must share precisely 4 notes including sa (each side contains a note that&#8217;s not in the other, creating a union of size 6). The number of possibilities can be calculated as (# ways of choosing 5 out of 11 notes legally, to create the 6-note union including Sa)*(# ways of picking 3 notes from those 5 to be shared by the ascent and descent)*(# ways of picking one of the remaining 2 notes to be in the ascent, while the other goes in the descent) = 204*(5 choose 3)*2 = <strong>4080</strong>.</p>
<p>The last situation is where the <strong>union of the ascent and descent contains 7 notes</strong>. Here, the respective sizes of the ascent/descent might be 5/5, 6/5, 5/6, 6/6, 5/7, 7/5, 6/7, or 7/6.  In the <strong>5/5 case</strong>, the intersection must contain 3 notes. The number of possibilities is: (# of ways of choosing 6 out of 11 notes following the melakarta rules, to create a 7-note parent raga including Sa)*(# ways of choosing 2 out of those 6, to create a 3-note intersection including Sa)*(# ways of picking two from outside the intersection to be in the ascent, while the other 2 go in the descent) = 72*(6 choose 2)*(4 choose 2) = 72*15*6 = <strong>6480</strong>. In the <strong>5/6 or 6/5 case</strong>, the intersection is size 4, and we can choose 3 out of six notes to form it. By similar logic to the previous case, the number of possibilities is 72*(6 choose 3)*(3 choose 2) = 72*20*3 = <strong>4320 for each case by itself</strong>.  In the <strong>6/6 case</strong> the intersection must be size 5, and the number of possibilities is 72*(6 choose 4)*2 = 72*15*2 = <strong>2160</strong>. In the <strong>5/7 and 7/5 cases</strong>, the smaller side of the scale must be a proper subset of the larger one, and we can form the smaller side by omitting two out of six notes from the larger. This gives 72*(6 choose 2) = <strong>1080 possibilities for each case</strong>. And in the <strong>6/7 and 7/6 cases</strong>, the smaller side again must be a proper subset of the larger one, so the number of possibilities is 72*(6 choose 1) = <strong>432 for each case</strong>.</p>
<p>Here&#8217;s a recap of the cases we considered and the possibilities that exist in each case:</p>
<p><strong>Union size 5.</strong>  Case 5/5: 236 possibilities.</p>
<p><strong>Union size 6.</strong>  Case 6/6: 204 possibilities. Cases 5/6 and 6/5: 2040 possibilities together. Case 5/5: 4080 possibilities.</p>
<p><strong>Union size 7.</strong>  Case 5/5: 6480 possibilities. Cases 5/6 and 6/5: 8640 possibilities together. Case 6/6: 2160 possibilities. Cases 5/7 and 7/5: 2160 possibilities together. Cases 6/7 and 7/6: 864 possibilities together.</p>
<p>The grand total is 236+204+2040+4080+6480+8640+2160+2160+864= <strong>26864</strong>.</p>
<p>Now, how can we be sure that 26864 correct? In fact, I made many calculation errors as I was working through this the first time, leaving me in a state of great suspicion.  However, after I spotted and corrected my mistakes, I gained further confidence by writing a Groovy script that generates all distinct janya possibilities by brute force, and also yields&#8230; 26864!  (Warning: this is script-style code, meant for one-time use and not designed to be maintainable or easy to read, but it gets the job done.)</p>
<pre class="brush: groovy; title: ; notranslate">
// this script is written in Groovy 2.1.0

// generate all melakarta ragas, representing each
// raga as a list of 11 ones and zeros
melakartas = []
for (riGa in [1,1,0,0].permutations()) {
    for (ma in [0,1].permutations()) {
        for (daNi in [1,1,0,0].permutations()) {
            melakartas.add(riGa + ma + [1] + daNi)
        }
    }
}
assert melakartas.size()==72

// generate all ways of deleting up to two notes from
// the ascent and descent of a raga
deletions = ([0..5,0..5].combinations()).collect( {it as Set} ) as Set
deletions.add([])
deletionPairs = [deletions,deletions].combinations()
deletionPairs.remove([[],[]])

// generate all possible janyas as ascending/descending scale pairs,
// by applying all possible deletions to each melakarta raga;
// keep the janyas in a set so that identical janyas will
// not be double-counted
janyas = [] as Set
for (mela in melakartas) {
    def noteIndices = (0..(mela.size()-1)).findAll({mela[it]==1})
    for (deletionPair in deletionPairs) {
        def ascending = mela.clone()
        def descending = mela.clone()
        deletionPair[0].each { ascending[noteIndices[it]]=0 }
        deletionPair[1].each { descending[noteIndices[it]]=0 }
        janyas.add([ascending, descending])
    }
}

println &quot;Number of Distinct Janyas: ${janyas.size()}&quot;
</pre>
<p><span id="more-1264"></span></p>
<p><strong>Notes:</strong></p>
<p>How many Janya ragas have actually been named and used in Carnatic music?  I came across <a href="http://www.dpattammal.com/raga-pravagam.php">Raga Pravaham</a>, a wonderful reference by musician, composer and musicologist D. Pattammal—the work includes over 5000 named ragas.  At the end of the text, there is an appendix that places the number of janya possibilities at 126936, without eliminating duplicates.  This count is so much larger than 34776 because it uses a looser definition of permissible janyas in which up to <em>five</em> notes may be deleted from the arohanam, avarohanam, or both.</p>
<p>See the comments by Narayana Santhanam below for an approach to counting janya ragas using generating functions.  Also see <a href="https://cs.uwaterloo.ca/journals/JIS/VOL5/Balasubramanian/bala6.pdf">Combinatorial Enumeration of Ragas by K. Balasubramanian</a>, published in Journal of Integer Sequences Vol. 5, 2002 and How Many Janya Ragas Are There? by P. Sriram and V. N. Jambunathan in the <a href="http://issuu.com/themusicacademy/docs/1991">Journal of the Madras Music Academy, 1991</a>, pp. 144-155.  See also a <a href="http://www.rasikas.org/forum/viewtopic.php?f=2&amp;t=21131">discussion of this topic at rasikas.org</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1264&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/03/15/janya-ragas-34776-or-26864/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>
	</item>
		<item>
		<title>A Musical Meditation</title>
		<link>http://rudiseitz.com/2013/03/01/a-musical-meditation/</link>
		<comments>http://rudiseitz.com/2013/03/01/a-musical-meditation/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 22:25:35 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1260</guid>
		<description><![CDATA[This clip is the outline or &#8220;seed&#8221; of a composition I&#8217;m working on.  The seed is nothing but a sequence of ascending and descending scales over a fixed bass, arranged in a cycle that returns to the starting point. I arrived at it through a fairly theoretical process (see my other posts with geometric diagrams &#8230;<p><a href="http://rudiseitz.com/2013/03/01/a-musical-meditation/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1260&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This clip is the outline or &#8220;seed&#8221; of a composition I&#8217;m working on.  The seed is nothing but a sequence of ascending and descending scales over a fixed bass, arranged in a cycle that returns to the starting point. I arrived at it through a fairly theoretical process (see my other posts with geometric diagrams of the octave to get a sense for the kind of stuff I&#8217;ve been up to). But for me, it&#8217;s one of those cases where an essentially mathematical idea, translated into sound, produces something that&#8217;s eerily compelling. For my ear this pattern is prism-like: it seems to unlock a whole spectrum of colors and moods, and at times it has held me in a trance. I&#8217;m posting it here for two reasons: first, even though it&#8217;s just a bare pattern, I hope you might find it interesting to listen to as a sort of musical meditation. Second, I&#8217;ve found that in many of my creative projects, when I get excited about an idea, I form great ambitions around it and keep it to myself until I feel I&#8217;ve done it justice. This has led to many cases in my life where I&#8217;ve poured effort and passion into a project but never released it because my goals were too big for me. So I&#8217;m trying a different approach, which is to share things early, especially when I come upon something that strikes me as a gem&#8211;something that I might otherwise get lost in polishing endlessly. So here is &#8220;Charupriya Cycle,&#8221; played on my steel string guitar a few hours after the idea came together the other day:</p>
<span style='text-align:left;display:block;'><p>				<object id='wp-as-1260_3-flash' type='application/x-shockwave-flash' data='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' width='290' height='24'>
					<param name='movie' value='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' />
					<param name='FlashVars' value='bg=0xF8F8F8&amp;leftbg=0xEEEEEE&amp;lefticon=0x666666&amp;rightbg=0xCCCCCC&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0x9FFFB8&amp;soundFile=http%3A%2F%2Frudiseitz1.files.wordpress.com%2F2013%2F03%2Fcharupriyacycle1.mp3' />
					<param name='quality' value='high' />
					<param name='menu' value='false' />
					<param name='bgcolor' value='#FFFFFF' />
					<param name='wmode' value='opaque' />
					Download: <a href="http://rudiseitz1.files.wordpress.com/2013/03/charupriyacycle1.mp3">charupriyacycle1.mp3</a><br />
				</object></p></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1260&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/03/01/a-musical-meditation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://rudiseitz1.files.wordpress.com/2013/03/charupriyacycle1.mp3" length="2351602" type="audio/mpeg" />
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/charupriyacycle1.mp3" medium="audio">
			<media:player url="http://rudiseitz.com/wp-content/plugins/audio-player/player.swf?soundFile=http://rudiseitz1.files.wordpress.com/2013/03/charupriyacycle1.mp3" />
		</media:content>
	</item>
		<item>
		<title>Melodic Minor Pentatonic</title>
		<link>http://rudiseitz.com/2013/03/01/melodic-minor-pentatonic/</link>
		<comments>http://rudiseitz.com/2013/03/01/melodic-minor-pentatonic/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 19:25:51 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1241</guid>
		<description><![CDATA[In this post I&#8217;d like to review some interesting properties of the familiar major and minor pentatonic scales, and then consider how to create a pentatonic version of the melodic minor scale. Major Pentatonic as a Scale Complement One of the neat the things about standard major pentatonic scale, which uses degrees {1, 2, 3, &#8230;<p><a href="http://rudiseitz.com/2013/03/01/melodic-minor-pentatonic/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1241&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In this post I&#8217;d like to review some interesting properties of the familiar major and minor pentatonic scales, and then consider how to create a pentatonic version of the melodic minor scale.</p>
<h2>Major Pentatonic as a Scale Complement</h2>
<p>One of the neat the things about standard major pentatonic scale, which uses degrees {1, 2, 3, 5, 6}, is that it can be seen as the <em>complement</em> of a full 7-note major scale: it contains all the notes that some major scale excludes.  For example, the black keys on the piano&#8211;all the notes that are not in C major&#8211;form Gb major pentatonic.  In general, if you take all the notes that a major scale excludes, you&#8217;ll have the major pentatonic scale rooted at its tritone.  We can visualize this with a clock-style diagram of the octave.  Here, the numbers are not hours but degrees of the major scale, and the red dots represent notes outside the scale.  In the leftmost diagram, the polygon formed by connecting the red dots represents the pentatonic scale rooted at #4 of the parent scale.  Transposing the scale up a semitone (rotating the polygon 30 degrees clockwise) gives the major pentatonic rooted at 5 of the parent scale.  Transposing it down a semitone gives the major pentatonic rooted at 4 of the parent scale.  And transposing it by a tritone (rotating it 180 degrees) gives the pentatonic rooted at 1 of the parent scale.  Notice how the pentatonics rooted at 1, 4, and 5 exist entirely within the parent scale, which is to say that none of the polygon vertices fall on any of the red dots.  The green circle indicates the root of the pentatonic scale, and the dotted line inside the polygon is its axis of symmetry.</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/03/majorpentatonic.png"><img class="alignnone size-full wp-image-1243" alt="Major Pentatonic" src="http://rudiseitz1.files.wordpress.com/2013/03/majorpentatonic.png?w=545&#038;h=176" width="545" height="176" /></a></p>
<p>§</p>
<h2>Major Vs. Minor Pentatonic: Comparing Definitions</h2>
<p>If the major pentatonic is built from degrees {1, 2, 3, 5, 6} it&#8217;s natural to wonder why we define the minor pentatonic as {1, b3, 4, 5, b7}.  Why not simply flatten 3 and 6 in the major pentatonic formula so that it fits inside a minor scale: {1, 2, b3, 5, b6}?  I don&#8217;t know the history of how the major and minor pentatonics evolved in various cultures over time, but I will comment on some abstract reasons why {1, b3, 4, 5, b7} might be more versatile as a scale than {1, 2, b3, 5, b6}.  First of all, it&#8217;s convenient to define our minor pentatonic so that it turns out as a <em>mode</em> of our major pentatonic.  This lets us shift from major to relative minor while staying in the same pool of notes.  Indeed C-major pentatonic (C D E G A) and the standard A-minor pentatonic (A C D E G) are modes of each other, or reorderings of the same set of notes.  But if we were to use the formula {1, 2, b3, 5, b6} to get an alternative A-minor pentatonic, it would be A B C E F, which doesn&#8217;t fully overlap with C-major pentatonic.  Another notable thing about the standard major and minor pentatonics are that they have no semitones, no tritones, and lots of perfect fourths and fifths, making them very &#8220;user-friendly&#8221; scales.  The same is not true of {1, 2, b3, 5, b6}, which has two semitones (2-b3 and 5-b6), one tritone (2-b6), and fewer perfect fourths and fifths.  This alternate scale might still be great to make music with, but it lacks the many of the convenient properties of the standard minor pentatonic.</p>
<p>§</p>
<h2>Melodic Minor Pentatonic</h2>
<p>With these observations in mind, let&#8217;s look at the question of how to create a pentatonic scale from the 7-note jazz melodic minor scale.  In sacrificing two notes, we want to preserve as much of the character of melodic minor as possible.  So, which two notes can we afford to lose?  We should probably keep 1 and 5!  To have a minor sound, we need to keep b3.  To have something different from a plain old minor scale, we need keep at least one of 6 or 7.  Now, as far as I know, there isn&#8217;t one universally accepted way to make the remaining choices; that&#8217;s to say, the idea of a melodic minor pentatonic hasn&#8217;t been standardized in the same way that the major and natural minor pentatonics have been.  I&#8217;ve seen melodic minor pentatonic defined alternatively as {1, 2, b3, 5, 6}, as {1, b3, 4, 5, 7}, and as {1, b3, 4, 5, 6}.  What I&#8217;d like to do here is explore some interesting qualities of that last definition, {1, b3, 4, 5, 6}.  First of all, it&#8217;s the only one of the lot that has no semitones.  In fact it&#8217;s a member of one of only three possible pentatonic families with that property (see my post on <a title="Pentatonics Without Semitones" href="http://rudiseitz.com/2013/02/17/pentatonics-without-semitones/">anhemitonic pentatonics</a>).  Second, it turns out to be a complement of the 7-note melodic minor scale, in the same way that the major pentatonic is a complement of the 7-note major scale!  And third, you can actually transpose the whole thing up a whole-step while remaining inside the 7-note melodic minor parent scale.  To experiment with this, start by playing C-melodic-minor: C D Eb F G A B. Now make up some phrases using {1, b3, 4, 5, 6} or C Eb F G A.  Now transpose your phrases up a whole-step, so you&#8217;re using the same {1, b3, 4, 5, 6} pattern rooted at D.  This will give you the notes D F G A B.  The nice thing is that after this whole-step transposition, you&#8217;re still playing inside the parent scale of C-melodic minor.  Now try doing that with the other versions of the melodic minor pentatonic and let me know how it works out.</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/03/melodicminorpentatonic.png"><img class="alignnone size-full wp-image-1244" alt="Melodic Minor Pentatonic" src="http://rudiseitz1.files.wordpress.com/2013/03/melodicminorpentatonic.png?w=545&#038;h=176" width="545" height="176" /></a></p>
<p>These diagrams show how the {1, b3, 4, 5, 6} pentatonic pattern originates as the complement of a parent melodic minor scale.  If we take the excluded notes of the parent scale (i.e. the red dots) and transpose them down a semitone, we get our {1, b3, 4, 5, 6} pentatonic rooted at 1 of the parent scale.  If we transpose the excluded notes up a semitone, we get the same pentatonic pattern rooted at 2, and still fitting entirely inside the parent.</p>
<p>§</p>
<h2>Mix and Match</h2>
<p>Notice that {1, b3, 4, 5, 6} is also a subset of the Dorian mode of the major scale, so we could call it a &#8220;Dorian pentatonic&#8221; as well as a &#8220;melodic minor pentatonic.&#8221;  There is a difference in how it functions in those two context though.  If you&#8217;re thinking of 7-note Dorian as your parent scale, you can only form this pentatonic on the Dorian root: any attempt to transpose it will put you outside the Dorian note set.  However, if you&#8217;re thinking of 7-note melodic minor as the parent, then as we just saw, you can transpose this pentatonic between 1 and 2.  It&#8217;s also worth noting that the standard minor pentatonic fits inside the full melodic minor scale&#8211;you can play it on 2&#8211;but you can&#8217;t transpose it anywhere else.  For example, if C-melodic-minor is your parent scale, you can play D minor pentatonic (D F G A C) and remain inside the parent.</p>
<p>In the diagram on the left below, you&#8217;ll see how the melodic minor pentatonic (as we&#8217;ve defined it) fits inside a major scale.  Here the pentatonic root is at positioned 2 of the major scale (or at 1 of the major scale&#8217;s Dorian mode).  In the diagram on the right, you&#8217;ll see how the standard minor pentatonic pattern fits inside a melodic minor scale.  Again, the pentatonic root is positioned at 2.  If we think of the same shape as representing a <em>major</em> pentatonic, its root would positioned at 4 of the enclosing scale.</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/03/pentatonicmixandmatch.png"><img class="alignnone size-full wp-image-1256" alt="Pentatonic Mix And Match" src="http://rudiseitz1.files.wordpress.com/2013/03/pentatonicmixandmatch.png?w=545&#038;h=176" width="545" height="176" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1241&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/03/01/melodic-minor-pentatonic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/majorpentatonic.png" medium="image">
			<media:title type="html">Major Pentatonic</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/melodicminorpentatonic.png" medium="image">
			<media:title type="html">Melodic Minor Pentatonic</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/03/pentatonicmixandmatch.png" medium="image">
			<media:title type="html">Pentatonic Mix And Match</media:title>
		</media:content>
	</item>
		<item>
		<title>Pentatonics Without Semitones</title>
		<link>http://rudiseitz.com/2013/02/17/pentatonics-without-semitones/</link>
		<comments>http://rudiseitz.com/2013/02/17/pentatonics-without-semitones/#comments</comments>
		<pubDate>Sun, 17 Feb 2013 07:53:35 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1203</guid>
		<description><![CDATA[Here&#8217;s a look at the complete set of possibilities for anhemitonic pentatonic scales&#8211;that is, five-note scales that don&#8217;t contain semitones.  Some of the most widely used scales in various musical traditions belong to this collection, including the major pentatonic (1, 2, 3, 5, 6) and the minor pentatonic (1, b3, 4, 5, b7).  While you &#8230;<p><a href="http://rudiseitz.com/2013/02/17/pentatonics-without-semitones/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1203&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s a look at the complete set of possibilities for <em>anhemitonic</em> pentatonic scales&#8211;that is, five-note scales that don&#8217;t contain semitones.  Some of the most widely used scales in various musical traditions belong to this collection, including the major pentatonic (1, 2, 3, 5, 6) and the minor pentatonic (1, b3, 4, 5, b7).  While you can build a dizzying array of pentatonic scales <em>with</em> semitones, it turns out there are only a few you can build <em>without</em> them&#8211;the possibilities boil down to fifteen scales belonging to only three modal families.  It&#8217;s not hard to see why the options are so limited.  If we&#8217;re building a pentatonic scale, we have to include five notes from the twelve available notes in the octave&#8211;let&#8217;s represent these &#8220;included&#8221; notes as white dots on the vertices of a pentagon:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/pentagon1.png"><img class="alignnone  wp-image-1204" alt="Constructing an Anhemitonic Pentatonic Scale: Step 1" src="http://rudiseitz1.files.wordpress.com/2013/02/pentagon1.png?w=300&#038;h=300" width="300" height="300" /></a></p>
<p>If our scale has no semitones, then there must be an excluded note between any two included ones.  We&#8217;ll represent these as red dots on the pentagon&#8217;s edges:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/pentagon2.png"><img class="alignnone  wp-image-1205" alt="tonic Pentatonic Scale: Step 2" src="http://rudiseitz1.files.wordpress.com/2013/02/pentagon2.png?w=300&#038;h=300" width="300" height="300" /></a></p>
<p>Without making any choices to &#8220;customize&#8221; our scale, we&#8217;ve already accounted for ten notes: there must be five excluded notes somewhere between the five included notes.  We only have two notes in the octave left to play with, and all we can do is decide which edge or edges of the pentagon to put them on.  Since we know that each edge has at least one excluded note, we might as well remove the corresponding red dots from our diagram and start with blank edges.  (All we&#8217;ll be doing from now on is adding more red dots, and the order in which we place multiple red dots on the <em>same</em> edge isn&#8217;t significant, so the first five red dots have no bearing on our upcoming choices.)</p>
<p>So how many different ways are there of positioning our two remaining dots on blank edges of a pentagon?  We&#8217;re looking for arrangements that are distinct in the sense that they can&#8217;t be rotated to match each other (in musical terms, this is the same as requiring that two scales can&#8217;t be transposed so their notes coincide).  There are only three distinct arrangements:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/threeanhemitonicpentagons.png"><img class="alignnone size-full wp-image-1206" alt="Three Anhemitonic Pentatonic Templates" src="http://rudiseitz1.files.wordpress.com/2013/02/threeanhemitonicpentagons.png?w=545&#038;h=180" width="545" height="180" /></a></p>
<p>For each of these arrangements, we can create five modes, depending on which white dot we choose as the root.  An edge with one red dot means there will be <em>two</em> excluded notes between the white endpoints (remember that we dropped one of those excluded notes to simplify the diagram), which means the endpoints will be separated by three semitones or a minor third (m3).  Similarly, an edge with two red dots represents a major third (M3).  An edge with no red dots represents a whole tone (M2).  Walking around the pentagon clockwise, you can extract the interval pattern for the scale as a sequence of whole tones, minor thirds, and major thirds.</p>
<p>Our first template (two red dots together on one edge) represents the interval pattern M2-M2-M3-M2-M2 and generates all of the five-note subsets of the whole-tone scale.  This is fascinating material, but not what comes to everyone&#8217;s mind they hear the word &#8220;pentatonic.&#8221;  Our second template (red dots on adjacent edges) represents the interval pattern m3-M2-M2-M2-m3 and also creates some uncommon pentatonics, although one of these (1, b3, 4, 5, 6) can be seen as a subset of the Dorian mode of the major scale, or as a subset of the melodic minor scale.  The third template (red dots separated by one edge on one side, and two on another) represents the interval pattern M2-M2-m3-M2-m3 and generates the familiar major and minor pentatonics.</p>
<p>The diagram below includes all fifteen possibilities.  The five modes of each of the three template are arranged around the points of three large pentagons.  As you move clockwise around one of the large pentagons, you&#8217;ll see that the root note in the small pentagon (the white dot labeled 1) shifts around, while the red dots remains in place.  The remaining vertices in each small pentagon are labeled as scale degrees relative to the given root.</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/anhemitonicpentatonics2.png"><img class="alignnone size-full wp-image-1207" alt="Anhemitonic Pentatonics Scales (In Three Modal Families)" src="http://rudiseitz1.files.wordpress.com/2013/02/anhemitonicpentatonics2.png?w=545&#038;h=516" width="545" height="516" /></a></p>
<p>[Note: I've proofread this diagram once, but please let me know if you spot any errors in the scale-degree labeling.]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1203&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/02/17/pentatonics-without-semitones/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/pentagon1.png" medium="image">
			<media:title type="html">Constructing an Anhemitonic Pentatonic Scale: Step 1</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/pentagon2.png" medium="image">
			<media:title type="html">tonic Pentatonic Scale: Step 2</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/threeanhemitonicpentagons.png" medium="image">
			<media:title type="html">Three Anhemitonic Pentatonic Templates</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/anhemitonicpentatonics2.png" medium="image">
			<media:title type="html">Anhemitonic Pentatonics Scales (In Three Modal Families)</media:title>
		</media:content>
	</item>
		<item>
		<title>Venn Circle Of Fifths</title>
		<link>http://rudiseitz.com/2013/02/16/venn-circle-of-fifths/</link>
		<comments>http://rudiseitz.com/2013/02/16/venn-circle-of-fifths/#comments</comments>
		<pubDate>Sun, 17 Feb 2013 00:13:47 +0000</pubDate>
		<dc:creator>rudiseitz</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://rudiseitz.com/?p=1191</guid>
		<description><![CDATA[Here&#8217;s a spin on the classic Circle Of Fifths from music theory.  The circle is usually presented with note names and key signatures for the 12 major (and corresponding relative minor) keys in the diatonic system, arranged clockwise in ascending perfect fifths.  What I&#8217;ve done here is to create a Venn diagram showing the relationship &#8230;<p><a href="http://rudiseitz.com/2013/02/16/venn-circle-of-fifths/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1191&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifths.png"><img class="alignnone size-full wp-image-1192" alt="Venn Circle Of Fifths" src="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifths.png?w=545&#038;h=447" width="545" height="447" /></a></p>
<p>Here&#8217;s a spin on the classic Circle Of Fifths from music theory.  The circle is usually presented with note names and key signatures for the 12 major (and corresponding relative minor) keys in the diatonic system, arranged clockwise in ascending perfect fifths.  What I&#8217;ve done here is to create a Venn diagram showing the relationship between any <em>three</em> adjacent keys in the Circle of Fifths, with special attention to the <em>pentatonic subsets</em> of each key.  As a musician, I&#8217;ve been working with the Circle of Fifths for a long time, but this diagram shows some aspects of the circle that only just dawned on me&#8211;I hope this way of seeing things might be interesting to others too.</p>
<p>All notes are labeled with respect to an arbitrary major key that we&#8217;ll treat as the home key or <strong>I</strong>.  Its notes are 1, 2, 3, 4, 5, 6, 7.  Stepping counterclockwise in the Circle of Fifths would take us to <strong>IV</strong> and stepping clockwise would take us to <strong>V</strong>.  To label the notes of those keys with respect to the home key, we also need b7 (flat seven) and #4.  You&#8217;ll see that the notes of all three keys appear in the diagram, left to right, in ascending fifths: b7, 4, 1, 5, 2, 6, 3, 7, #4.</p>
<p>Notice that all the notes of the home key appear inside the large blue oval (it contains everything but b7 and #4).  Within that oval, there are three circles representing the three major pentatonic scales based on <strong>IV</strong>, <strong>I</strong> and <strong>V</strong>.  The yellow circle on the left, containing {4, 1, 5, 2, 6}, represents <strong>IV</strong>-pentatonic.  (To play these notes <em>as</em> a pentatonic scale, you&#8217;d order them as 4, 5, 6, 1, 2.)  The red circle on the right, containing {5, 2, 6, 3, 7}, represents <strong>V</strong>-pentatonic (which you&#8217;d order as 5, 6, 7, 2, 3).  The circle wedged between the yellow and blue circles contains {1, 5, 2, 6, 3}: this is <strong>I</strong>-pentatonic, which you&#8217;d play as 1, 2, 3, 5, 6.</p>
<p>That&#8217;s a bunch of facts I just hadn&#8217;t realized before drawing this diagram: if you take C major as your home key, you can find the notes of F-pentatonic and G-pentatonic within it.  In fact, C major can be seen as the union of F- and G-pentatonic.  (Another way to say this is that if you take the pentatonics based on any two keys a whole tone apart, their union gives you the major key that falls right in between them on the Circle of Fifths.)  Why is that interesting?  Well, for one thing, it shows that if you stick to pentatonic scales, you can modulate between F, C, and G, all while staying <em>within </em>the seven notes of C major.  When I hear &#8220;modulation&#8221; I usually think either &#8220;accidentals&#8221; or &#8220;change of key signature,&#8221; but if we&#8217;re modulating between closely related pentatonics we can do it all inside the confines of one seven-note major scale.  How do you modulate between <strong>I</strong>-pentatonic and <strong>V</strong>-pentatonic?  Look at the diagram: you&#8217;re moving from the middle circle to the red circle on the right.  Just stop playing 1 and start playing 7.  Another way to say this is that shifting the root of a major pentatonic scale down a semitone gives you new pentatonic rooted a fifth above the original root. (In the seven note world, you modulate up a fifth by raising 4 to #4, which becomes the leading tone of the new key.  In the pentatonic world, there are no leading tones!  You modulate up a fifth by lowering the root!)</p>
<p>The full seven-note major keys based on <strong>IV</strong> and <strong>V</strong> are represented by the two large gray circles in the diagram.  The gray circle on the left represents <strong>IV</strong> and contains the yellow circle as its pentatonic subset&#8211;its two additional notes are the tritone b7-3.  The large gray circle on the right represents <strong>V</strong> and contains the red circle as its pentatonic subset&#8211;its two additional notes are the tritone 1-#4.  Notice that the small middle circle encloses all the notes in the intersection of the two large gray circles: {1, 5, 2, 6, 3}. What this means is that <strong>I</strong>-pentatonic consists of the notes in common between the two heptatonic major scales at <strong>IV</strong> and <strong>V</strong>.</p>
<p>It&#8217;s also interesting to observe that the notes 5, 2, and 6 (which we could interpret as a quartal chord on 6, or a sus2 chord on 5, or a sus4 chord on 2) are the most extensively shared notes in the diagram, being the intersection of <strong>I</strong>-pentatonic, <strong>IV</strong>-pentatonic, and <strong>V</strong>-pentatonic.</p>
<p>Here&#8217;s a look at some of the pieces you&#8217;ll find in the full diagram.  You can think of this as F major on the left, with its pentatonic in yellow; G major on the right, with its pentatonic in red, and C major in the middle, shown as the union of F-pentatonic and G-pentatonic&#8211;all labeled from the perspective of C.</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthsbreakdown.png"><img class="alignnone size-full wp-image-1193" alt="Venn Circle Of Fifths (Breakdown)" src="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthsbreakdown.png?w=545&#038;h=228" width="545" height="228" /></a></p>
<p>Here&#8217;s the main diagram again, with each circle labeled as Heptatonic or Pentatonic:</p>
<p><a href="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthswithlabels.png"><img class="alignnone size-full wp-image-1201" alt="Venn Circle Of Fifths With Labeles" src="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthswithlabels.png?w=545&#038;h=447" width="545" height="447" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rudiseitz1.wordpress.com/1191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rudiseitz1.wordpress.com/1191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rudiseitz.com&#038;blog=40765653&#038;post=1191&#038;subd=rudiseitz1&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rudiseitz.com/2013/02/16/venn-circle-of-fifths/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/101471d0464ffbcd99edfcf71238598b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rudiseitz</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifths.png" medium="image">
			<media:title type="html">Venn Circle Of Fifths</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthsbreakdown.png" medium="image">
			<media:title type="html">Venn Circle Of Fifths (Breakdown)</media:title>
		</media:content>

		<media:content url="http://rudiseitz1.files.wordpress.com/2013/02/venncircleoffifthswithlabels.png" medium="image">
			<media:title type="html">Venn Circle Of Fifths With Labeles</media:title>
		</media:content>
	</item>
	</channel>
</rss>
