Why Microtonality?
When musicians are first introduced to different tunings, they often respond "why bother"? The following are some of the most popular reasons to explore tuning.
For something new
99.9% of music heard in the western world has one thing in common: the same 12 notes, and, thus, the same available chords, chord progressions, and scales. Alternative tunings offer an infinite number of all those things, with as many (or as few) notes as you want, in whatever relationships to each other that you want. Using only 12-tone equal temperament in spite of so many other tunings is analogous to using only the major scale, in spite of other modes like Aeolian (i.e. natural minor scale), Mixolydian, and Dorian.
For harmonic consonance (or not)
For various historical and practical reasons, the standard western tuning is arguably "out of tune" (based on our perception of consonance). For example, the major third is 13.7 cents sharper than just, and the minor third is 15.6 cents flatter than just. There are also just intervals that 12 equal divisions of the octave does not even come close to approximating, intervals most people have never heard in or out of tune before. These purer, more in tune harmonies provide a desirable sonic quality (e.g. "buzziness"), and alternative tunings give you access to these pure harmonies. There are also much more dissonant intervals than those that exist in standard western tuning, and alternative tunings can give one access to those as well.
For new melodies
When writing melodies, musicians will most commonly use the modes of the diatonic scale or pentatonic scale. If you want, you can play in tunings that have structures similar to those in 12 equal divisions of the octave, but have them tuned differently so that, for instance, the difference between major and minor becomes more or less pronounced.
However, the scales available in 12 equal divisions of the octave are relatively few, since perfect fourths and fifths are the only non-chromatic intervals that can be used to cycle completely thtough all 12 notes. There are many other possible scales, and most of them are completely unsupported in 12 notes. While the diatonic scale is commonly defined using five "whole steps" and two "half steps", it may be better thought of as five long steps and two short steps instead, since "whole step and half step" is specific to 12-tone equal temperament and its multiples. There are countless other scales defined by any other combination of large and small step sizes—for example, 4 large and 3 small steps defines what's referred to as a Hanson scale, 2 large and 5 small steps defines what's referred to as a Mavila (or "anti-diatonic") scale, and 5 long steps and 4 short steps produces what is known as a semiquartal scale.
Some scales are not defined by numbers of step sizes at all, and instead are derived by including the most stable and in tune harmonies. These scales tend to have very irregular melodic spacing, which gives a completely different feel. Of course, these are just two of an infinite number of possible approaches to creating scales with new melodic structures, all of which would be impossible to play in 12-tone equal temperament.
For counterpoint
In 12 tones, it is not possible to lead the two voices forming a major third to a minor third by contrary motion. But this is possible in many tunings including 24, 27, 31, or 34 equal divisions of the octave.
For historical purposes
12-tone equal temperament only became mainstream beginning from the early 19th century. Before that, tuning was as much an artistic decision for a composer as any other. One could argue that music written in earlier time periods is most authentic when played in the tuning for which it was written, and that part of the music is lost when played in standard western tuning.
One example is a group of tunings known as "well temperaments", which have 12 notes per octave that are spaced slightly unevenly. These tunings give each key its own "flavor", and were the inspiration for Bach's "Well Tempered Clavier", where a piece was written in each key to show off its unique properties. A precursor to well temperament was the Meantone system, a method of tuning that, by varying the tuning of all fifths in the tuning, included tunings like 19, 31, or 43 equal divisions of the octave. Even before that, up until the end of the Middle Ages, there was Pythagorean tuning, whose major and minor thirds are even more out of tune than those in our current standard tuning. In the Middle Ages, thirds were used as restless dissonances that resolved to the more stable fourths, fifths, and octaves. As you go back in history, you find more and more systems of tuning that fit the music of the time period.
For cultural purposes
12-tone equal temperament is far from being standard everywhere in the world. Other cultures have developed their own tuning systems, many of which cannot be approximated by 12-edo. If one wants to authentically play the music of these other cultures, then one must emulate the tuning along with the instruments and style.
Arabic and Persian music, for example, use so-called "neutral" intervals that right in between the standard 12 notes, so 12 equal cannot represent them, but 24 equal and 31 equal do this very well. In Indonesian gamelan music, the two main tunings in use both deviate drastically from Western tuning—one of them, Slendro, is close to 5 equal divisions of the octave; the other, Pelog, is close to a seven-note subset of 9 equal divisions, and often times they use stretched octaves. Many African marimba-like instruments use a tuning that is well approximated by 7 equal divisions of the octave.
To temper out commas
In some cases, quirky tuning coincidences pop up. For instance, in standard western tuning, adding 3 major thirds gets you to an octave. We've already addressed that these thirds are "out of tune", but if you want three major thirds to equal an octave, then 12-edo is the tuning for you, because with pure thirds this would not be the case. There are many many other tuning coincidences that require tunings other than 12-edo. For example, if you want your minor third divided into two equal pieces, 12-edo doesn't do it, but 16-edo (among others) will.
These coincidences are most often described in terms of "Just Intonation", the classification of intervals by the ratio between the two frequencies they're made of. The major third in 12-edo can be described as a sharp version of the interval 5/4, and the octave can be described as a pure 2/1. When we say that 3 major thirds are equal to an octave, we are also saying the following:
[math](5/4)^3 \rightarrow 2/1[/math]
Which is the same as saying the following:
[math]128/125 \rightarrow 1/1[/math]
Small, close to 1/1 intervals like 128/125 are referred to as "commas". When one equates a comma with 1/1 (the unison), this is referred to as a "tempering out that comma". By tempering out a comma, you are equating all intervals that differ by that comma (like three major thirds and the octave in the case of 128/125.) After tempering out a comma, a sequence of intervals that normally takes you away from your tonic (either in Just Intonation or in another tuning that doesn't temper out your comma) can end on the same note you started on! This can be an inspiring compositional feature; and using it in this way is referred to as a "comma pump."