iGetIt! Music

Online music education courseware for non-musicians who want to learn how to write their own rock songs.

My Photo
Name: Jim Plamondon
Location: Austin, Texas, United States

This blog documents the development of JIMS iGetIt! Music System (JIMS). JIMS' goal is to help you Understand Music in 24 Hours™, if you are (a) a non-musician (b) who wants to learn how to write your own rock songs. Requiring no instrument other than your own computer, and without using traditional notation, JIMS is being designed to deliver a deep understanding of tonal structure...in just 24 hours.

Thursday, August 27, 2009

Help! Voronoi expert wanted

If you know anything about the mathematics of Voronoi diagrams, I need your help.

The Isomorphic Conspiracy (Andy Milne, Bill Sethares, and myself, with various single-paper collaborators) has published three peer-reviewed journal papers so far, and a bunch of conference papers, on isomorphic keyboards and their unique musical capabilities. In that work, we have, so far, used an approach that tied the notions of "note-layout" and "button-arrangement" inextricably together.

For example, consider the Wicki-note-layout, mapped to a perfectly-regular hexagonal button-arrangement. If you squish the rows of the button-arrangement to be a smidgeon closer together (as the Thummer does), then the result wouldn't be the Wicki note-layout anymore, under our original definition, because the button-arrangement was no longer strictly hexagonal. It would be something else, albeit something closely related, but we had way to describe the relationship mathematically.

We're hot on the trail of a new approach that separates note-layouts from button-arrangements. The mathematics of Voronoi diagrams are central to the new approach, because they can help us define the conditions under which one button is adjacent to another, as a regular lattice of buttons is systematically deformed away from perfect regularity. We're making pretty good progress, but the work would procede much faster if we could bring someone into the Conspiracy, for this one paper at least, who knew Voronoi mathematics inside-out.

If you know a Voronoi-math expert, preferably one who also has an interest music, please let me know.

Labels: , , ,

Thummer design docs

Are here: http://www.thummer.com/OpenSource/DesignDocs.zip.

Labels:

Monday, August 17, 2009

Modulation

If JIMS'staff notates music using "Moveable Do with a La-based minor," how does it notate modulations? How does one execute such modulations on a JIMS-compatible keyboard?

Here's a link to a forum post on that topic. It refers to a hand-written document that I whipped up for the purpose, which I probably shoud have taken more time to draw up carefully.

Labels: , , ,

Why La-based minor?

[Note: This post is wrong.  See this update.]

SHORT ANSWER

Movable Do with a Do-based minor provides an invariant mapping of solfa names to mode degrees.

Movable Do with a La-based minor, on the other hand, provides an invariant mapping of tonic solfa names to the positions of notes in a stack of tempered perfect fifths, which—combined with octaves—gives a unique name to each point in a two-dimensional tuning space [a space which includes standard 12-tone equal temperament tuning, and many other historically and culturally important tunings, too].

Using the "La-based minor" note-naming system allows any tonal structure (that is, any sequence or combination of tonal intervals) to retain its "shape" on each of JIMS geometric elements—that is, JIMS' staff, keyboard, and tonnetz—in every octave, key, and tuning . Using the "Do-based minor" naming system would change the shapes of these tonal structures with every mode. Hence, JIMS uses the "movable Do with a La-based minor" note-naming system, to keep its shapes invariant.

LONG ANSWER

All musical notational systems must provide naming systems for three separate concepts, one way or the other:


  • Absolute pitch


  • Mode degree


  • Locus: the unique position of a given note within the constellation of tonal intervals (called proprietas by Guido d'Arezzo, inventor of the musical staff, c. 1020).

Locus
I can't find an English word that means what Guido meant by proprietas—that is, "the unique position of a given note within the constellation of tonal intervals"—so I'm declaring locus to have that meaning. (Neither "function" nor "role" is quite right; worse, each of these alternatives already has far too many musical meanings.) In both Latin and English, locus means "place," which is evocative of "position in tonal space," which is ultimately what locus is all about. I'm going to italicize locus throughout this document, but only because this new musical meaning of locus is novel to this document. In subsequent postings & documents, I won’t italicize it, nor should you.
To hold one of these concepts to be invariant in a notational system , the other two must be allowed to vary. For example, the traditional staff holds the notation of pitch invariant. An A4 is notated in just one location on the treble clef, for example. One can determine the locus of that A4 from the key signature, but the tonic of that key, and hence A's mode degree, cannot be determined directly from the traditional staff or its key signature. That is, traditional notation barely notates locus at all.
Each of the three above-listed concepts is held invariant by one of the three versions of solfege:

  • Absolute pitch is held invariant by Fixed Do (Do == C)


  • Mode degree is held invariant by Movable Do with a Do-based minor (Do == tonic)


  • Locus is held invariant by Movable Do with a La-based minor (Do == the note that is a major second below Re)

"Re" is the only diatonic note around which the diatonic scale is symmetrical, so it is the reasonable point of reference for defining the locus of diatonic notes, and by chromatic extension, of all other notes.

The idea that "Re is the only note in the diatonic scale around which the diatonic scale is symmetrical" captures the essence of locus: that one can describe notes in terms of their relationships to the other notes of the diatonic scale, and by extension, to those notes' chromatic alterations, independently of their octave, key, mode, scale, or tuning.

WHAT IS A "NOTE"?

In JIMS, a note is a unique point in two-dimensional tuning space. Any given note N can be described by a two-dimensional point [j, k]. The origin note is the point [0, 0]. A reference frequency is associated with the origin note. The frequency of the note [j, k] is j*P8 + k*P5 cents higher than the pitch of the reference frequency, where P8 = the width of the tempered perfect octave, and P5 = the width of the tempered perfect fifth.

In the discussion below, I'll calculate intervals widths under the assumption that P8 = 1200 cents and P5 = 700 cents, which is equivalent to 12-tone equal temperament.
With these definitions,

- One executes a "key change" by changing the reference frequency.
- One executes a "tuning bend" by changing the width of P5 (and/or P8).

DO-BASED MINOR

Ask yourself this question: "What is the interval between Re and Mi in Do-based minor? Specifically, is it a minor second, or a major second? "

(I pause, while you actually ask & answer this question.....Are you done answering it? OK, moving on...)

The answer is, "It depends on the mode.


  • In major/Ionian, the Re-Mi interval is [-1, 2] (that is, (-1)*P8 + 2*P5 = (-1)*1200 + 2*700 = -1200 + 1400 = 200 = a major second), but


  • in minor/Aeolian, the Re-Mi interval is [3, -5] (that is, 3*P8 - 5*P5 = 3*1200 - 5*700 = 3600 – 3500 = 100 = a minor second)."

Now, look at Figure 8 in the Spectral Tools paper. It shows "the coordinates [j, k] of the Thummer's button lattice, when using its default Wicki note layout."

Looking at that figure, ask yourself, "which buttons should be labeled 'Mi'?" More specifically, using the numbering system shown in the figure,


  • should the buttons [j, 2] (for any j) be labeled "Mi", indicating that Mi is a major second higher than Re? Or


  • should the buttons [j, -5] be labeled "Mi," indicating that Mi is a minor second higher than Re?

The answer is, again, that "it depends on the mode." In Do-based minor, the naming of mode degrees is invariant, but the naming of [j, k] notes varies. In Do-based minor, Do means 1st degree, Re means 2nd degree, Mi means 3rd degree, and so on. The "Mi" label would have to move from one button to another every time the mode changed, in order to keep Mi's scale degree constant.

In short, for the Do-based minor note-naming system to hold mode degree invariant, it must allow the locus of a mode degree to vary.

LA-BASED MINOR

Looking again at Figure 8 from the Spectral Tools paper, and comparing it to Figure 3 in the Perception paper, we can see that


  • all of the notes labeled [j, 2] (for any j) in SpecTools' Figure 8 are labeled "Mi" in Perception's Figure 3, and


  • all of the notes labeled [j, -5] in SpecTools are labeled "Me" in Perception.




What, then, is La-based minor holding invariant?


  • Not pitch, which differs among keys.


  • Not degree, which differs among modes.


  • Not interval width, which differs among tunings.

Instead, the one and only thing that La-based minor holds invariant – despite changes to octave, key, mode, scale, and tuning – is the mapping between note-names and [j, k] points in tuning space.

Alternatively put, what "movable Do with a La-based minor" holds invariant is locus.

For example, in La-based minor, Mi is always a major second higher (that is, [-1, 2]) than the same octave's Re. Mi is never [3, -5] higher than Re. The note that's a minor second higher (that is, [3, -5]) than Re is Me (with an 'e'), not Mi (with an 'i'). The relationship between Re and Mi is invariant in La-based minor. The same is true for any other pair of note-names when using La-based minor: the relationship between them is invariant, no matter what changes might occur in key, mode, tuning, etc.

In short, for the La-based minor note-naming system to hold locus invariant, it must allow the mode degree of a given locus to vary.

JIMS

In designing JIMS, my guiding principle has been – as Guido d'Arezzo's was – that locus was the most important property of tonal music, so it should hold locus to be invariant.

If JIMS holds locus invariant, then everything else must be allowed to vary. Therefore,




  • When you change mode, the tonic "moves" to another keyboard button, staff location, and tonnetz location.


  • When you change key, the pitch of each note "moves" to another button, staff location, and tonnetz location.


  • When you change tuning (i.e., the width of the tempered P5),


  • the pitches of all notes (except the tonic) change, and


  • the widths of the intervals between all non-octave note-pairs changes.


To paraphrase the guiding principle of Western jurisprudence, "Let locus be invariant, though the heavens fall."

In JIMS' case, the "fall of the heavens" takes the form of incompatibility with traditional instruments. JIMS is great for isomorphic keyboards and the voice, but incompatible with essentially all other musical instruments. However, given the widespread availability of both vocal chords and the standard computer keyboard, both of which are entirely compatible with JIMS, there is considerable opportunity to benefit from JIMS' use.

Going back to the issue of notating the three separate concepts in music, JIMS uses three separate naming systems:


  • Absolute pitch: Traditional pitch names (A4 = 440Hz)


  • Mode degree: Arabic numerals (1 = 1st degree, 2 = 2nd degree, etc.)


  • Locus: Movable Do with a La-based minor (Re == the diatonic scale's note of symmetry)

Whereas traditional staff notation notates pitches directly, JIMS notates locus directly. However, JIMS provides much more context, including a stack of scale dots indicating the current scale, and an indication of the tonic's position within that scale (i.e., the current mode).

LOCUS AND THE ORIGINAL MUSICAL STAFF

When Guido d'Arezzo invented the musical staff c. 1020 C.E., he did not use it to notate absolute pitches (A4=440Hz) as we do today. Rather, he used it to notate locus (which he called proprietas, which is Latin for "properties"). Guido intended his staff to be used only by singers; it was the use of his staff by instrumentalists, later, that forced its switch from notating locus to notating pitch.
JIMS can be seen as a return to Guido's locus-based notation, with the addition of isomorphic keyboards and the tonnetz, both of which were invented centuries after Guido's death.



Sunday, August 2, 2009

A Neurological basis for tonal space

I recently thought of a rough hypothesis for the neurological basis of tonal music: the application of place cells and grid cells to the navigation of tonal space. A lack of relevant hits on the hypothesis' key phrases using Google suggests that it has not previously been proposed.

To simplify egregiously, place cells, found in the hippocampus, remember a "place" in the spatial environment, while grid cells, found in the entorhinal cortex, form a hexagonal grid, and remember the relationships among objects in the spatial environment.

From an evolutionary perspective, having good spatial memory confers a considerable survival advantage on an individual, so it's no surprise that humans have neurological hardware that is optimized for this purpose. Such optimized hardware is often borrowed for related task. I hypothesize that the mind borrows this spatial-memory hardware to process musical information, thereby enabling music to be processed as "movement through tonal space."

Tonal space can also be represented as hexagonal grid, for example as a isomorphic keyboard, of which a subset of notes form a hexagonal tonnetz. If such a tonnetz is tied to specific pitches, then it maps to a pitch space.

However, only one fixed pitch is necessary to map a interval-based tonal space to a pitch space. Consider, for example, the hexagonal isomorphic note-layouts (keyboards) described in the spreadsheet JIMS_Note.xls. These all describe intervals, not pitches. To describe pitches, the origin note [0, 0] needs to be associated with a specific reference frequency (e.g., 440Hz).

With a grid cell describing an isomorphic interval-layout, any given interval, sequence of intervals (melody), or stack of intervals (chord) could be described/recognized by a specific pattern of points on that grid. If any one such point were associated with a specific frequency via a place cell, then the same interval-pattern could be described/recognized by the same grid cells, despite its transposition by octave, key, or tuning.

I have no evidence whatsoever for this hypothesis, nor any counter-evidence. I only thought of it earlier this week.

Many studies have shown that musical training stimulates the development of those parts of the brain dedicated to spatial-temporal processing. The grid & place cell system may be the mechanism by which this stimulation is effected.

But, what do I know? ;-)

Labels:

Note-layout spreadsheet

I just posted, to the iGetItMusic.com website, a spreadsheet that's useful for exploring isomorphic note-layouts: JIMS_Note.xls. There has been some discussion of isomorphic note-layouts in the Music Notation Project's forums, which prompted this blog posting.

The spreadsheet workbook starts with a "Variables" sheet, which contains six highlighted cells (variables):
Alpha (Period)
Beta (Generator)
H_Alpha
V_Alpha
H_Beta
V_Beta

Some years ago, I posted a document that described isomorphic note-layouts in terms of the adjacency intervals H & V. That document defined H and V in semitones. That's fine for 12-tone equal temperament (12-tet), but the "semitone" has no musical meaning outside of that one tuning. ("Augmented unison" has meaning; "minor second" has meaning; but the "semitone" is, in 12-tet, a conflation of those two meaningful terms into one meaningless artifact.)

To make the description of adjacency intervals more general, the JIMS_Note spreadsheet defines adjacency intervals as vectors [a, b], where a is the number of alphas, and b is the number of betas. The interval [a, b] is ((a*alpha) + (b*beta)) cents wide. Alpha and beta are the two intervals that define a rank-2 tuning of p-limit just intonation. In the syntonic temperament, alpha is the tempered octave (c. 1200 cents), and beta is the tempered perfect fifth (c. 702 cents). 12-tet is just one specific tuning of the syntonic temperament, in which alpha is exactly 1200 cents and beta is exactly 700 cents.

Every note in such a rank-2 temperament can be defined as a note[a, b] where both a and b are integers. This two-dimensional definition of notes is a good fit with two-dimensional hexagonal-grid keyboards, exactly as the one-dimensional (i.e., stack of semitones) definition of notes is a good fit with the one-dimensional piano-style keyboard.

In the JIMS_Note spreadsheet, one can
- specify values for alpha and beta (thus specifying the tuning), and also
- specify the adjacency intervals H & V using the generalized [a, b] intervals rather than semitone counts.

Using this spreadsheet, you can plug any adjacency intervals you like into the "Variable" sheet's definitions of H & V, and see the resulting isomorphic note-layouts.

The "Variables" sheet also contains a table of adjacency intervals for common isomorphic keyboards, including the Wicki, Janko, Chromatic Button Accordion (both type B and type C), Wesley, and Triad (aka Harmonic Table).

When plugging new values into the spreadsheet, it helps to know how to express common tonal intervals in [a, b] form.
A1: [-4, 7]
m2: [ 3, -5]
M2: [-1, 2]
m3: [ 2, -3]
M3: [-2, 4]
d4: [ 5, -8]
P4: [ 1, -1]
A4: [-3, 6]
d5: [ 4, -6]
P5: [ 0, 1]
A5: [-4, 8]
...and P8: [1, 0]

Many of these intervals are enharmonic in 12-tet, such as A1/m2, d4/M3, and A4/d5. However, that's an artifact of 12-tet; in all other tunings, these pairs are NOT enharmonic. Defining these intervals using the [a, b] approach makes Dynamic tonality possible.

Labels: