The AI Music Generation Challenge 2020: Summary and Results

The AI Music Generation Challenge 2020 has now finished! The task for competitors was to build an artificial system that generates the most plausible double jigs, as judged against the 365 published in “The Dance Music of Ireland: O’Neill’s 1001” (1907). This collection was selected for a variety of reasons. First, it is recognized and well-studied, and many of the tunes are still played today. Second, the structure of these jigs is clear and consistent, and thus relatively well-defined. Finally, computer encodings of these tunes exist: a cleaned and corrected version of these jigs in ABC notation is here: http://www.norbeck.nu/abc/book. There really is no reason an AI system cannot learn to create plausible double jigs in this style.

There were six competitors in total. We will name the systems of these competitors after places in Ireland: Carrick, Connacht, Glendart, Killashandra, Shandon, and Tralibane. In addition, the benchmark was folk-rnn (v2), which was only seeded with the “M:6/8” token to produce each transcription.

Each competitor had to submit 10,000 transcriptions generated by their system in ABC or staff notation, MIDI, or mp3-compressed audio files. (An exception was made for Tralibane, who submitted only 1,000 transcriptions due to a slow sampling procedure.) Two systems (Carrick and Killashandra) produced ABC notation, which I rendered as staff notation in PDF. Two systems (Connacht, Tralibane) produced staff notation already rendered in PDF. The benchmark also produced staff notation in PDF. Two systems (Glendart, Shandon) produced MIDI, which I rendered as MP3 (timidity, piano, 120 bpm).

Here are 10,001 tunes generated by the benchmark. (Each tune was titled by a seq2seq network I trained for this purpose, but these titles were not included in the materials given to the judges.)

Initially, I expected many more systems, and so thought of an experimental design that spread the work over four judges. I would select five transcriptions at random from those generated by a system, and then assign two from each to each judge, such that each transcription was assessed by at least two judges. That only seven systems needed to be evaluated, I instead had every judge evaluate every transcription.

The four judges were Paudie O’Connor, Kevin Glackin, Jennikel Andersson, and Henrik Norbeck – all experts in Irish traditional dance music and its performance. Each judge was aware of the competition, and that they would be evaluating transcriptions generated by AI systems. Each judge received 35 transcriptions to evaluate, and an evaluation sheet to use for each. The transcription file names were the random numbers used to select them from the collections. The judges received no explicit information about the systems that generated the transcriptions, though it was clear which transcriptions were generated by the same system by their appearance (e.g., MIDI or idiosyncrasies in the staff notation).

In judging, a transcription is rejected from further review if it meets any of the following criteria:

  1. It is plagiarized (P) [this means that the generated tune is an existing tune, or a very close variant];
  2. Its rhythm is not close to that of a double jig, or cannot be played with such a rhythm (R);
  3. Its pitch range is not characteristic, and cannot be made so by transposition (T);
  4. Its mode and accidentals are not characteristic, and cannot be made so by transposition (M).

Transcriptions that pass these four criteria are then assessed by each judge on a scale of 1-5 (strongly disagree to strongly agree) along the following dimensions:

  1. The melody is characteristic of the double jigs in “1001”;
  2. The structure and coherence are characteristic of the double jigs in “1001”;
  3. The tune is playable on an Irish traditional instrument (fiddle, whistle, flute, accordion);
  4. The tune is memorable;
  5. The tune is interesting.

Here’s what a completed evaluation form looks like for transcription #6021:

(Some judges added up the scores to make a total.)

All selected transcriptions generated by Glendart and Shandon were rejected by all judges due to the rhythm criterion. This wasn’t the case because of my conversion from MIDI to audio. One judge remarked of the transcriptions from Shandon: “just random notes, have no rhythm at all”. Another judge remarked of the transcriptions generated by Glendart: “[they] have a rare rhythm that can at some parts be interpreted as a jig, with much goodwill, but as a whole they are not close to the rhythm of a double jig. For example, there are unnatural breaks, plus the parts are uneven and don’t make the double jig sense”. All other judges agreed with these assessments.

Four of the five selected transcriptions generated by Carrick were rejected due to plagiarism. The remaining transcription scored the following:

Scores for a transcription generated by Carrick

The small tally at the right shows the counts of each of the five possible scores from all judges in all five criteria. This transcription scored only 5 fives, and 2 fours, from all the judges.

Two of the five transcriptions generated by Killashandra were rejected due to plagiarism. The scores of the remaining three transcriptions are shown below:

Scores for transcriptions generated by Killashandra

Three judges rejected transcription #5102 for its rhythm (being closer to a slide than a double jig). The other two tunes had a diversity of scores.

All randomly selected transcriptions generated by Tralibane and Connacht passed the four rejection criteria. Here are the resulting scores for each:

Scores for transcriptions generated by Tralibane
Scores for transcriptions generated by Connacht

Finally, here are the results of the five randomly selected transcriptions generated by the benchmark:

Scores for transcriptions generated by the benchmark (folk-rnn v2)

Tune #1641 was rejected due to plagiarism. Judge D rejected tune #4101 due to its pitch range not being characteristic; the other judges rated it very low.

After the judges had completed their scoring of all transcriptions, we all met together and discussed favorites, and which transcriptions to award first and second prize. At this stage, the judges did not know about the systems and did not know how the others had rated the transcriptions.

Judge A said #8091 (Connacht) was their favorite. Judge B had three favorites: #8091 (Connacht), #7983 (benchmark), and #6021 (benchmark). The favorite of Judge C was #8091 (Connacht). Judge D mentioned all their favorites were unfortunately the plagiarized ones, but if they had to choose it would be #7983 (benchmark).

The judges agreed that the clear first place winner was transcription #8091 (Connacht). From the scores above, we see that this tune had 16 top scores in total. Here’s the transcription as the judges received it:

First Place: Transcription #8091 generated by Connacht

In the video below Paudie O’Connor plays the tune and gives it the title, “The AI Man”:

One minor change Paudie made to this transcription is to drop the second A in the first and fifth measures down to a G. A slightly more dramatic change is his drop of the C-sharp in the B part, making it natural throughout. The discussion among the judges on this change highlighted that either would be fine. (In fact, some styles involve substituting C-sharp for C-natural, or even playing in between.)

The judges agreed that the clear second place winning jig was transcription #7983 (benchmark). Here is that transcription as the judges received it:

Second Place: Transcription #7983 generated by benchmark (folk-rnn v2)

In the video below Jennikel Andersson plays the tune and gives it the title, “The Lonesome Fairy”:

The system Connacht was folk-rnn (v2), but sampling using beamsearch (a pair of tokens selected each step from among the 400 pairs with the largest probability mass) and then selecting from among the generated transcriptions using an artificial “critic”. The critic first rejects any transcription that does not have an appropriate structure with respect to O’Neill’s 365 double jigs. This was formed using features and criteria I researched earlier this year. The critic then rejects any transcription that is too close to any in the folk-rnn v2 training data or O’Neill’s collection. Finally, the critic assembles a collection by comparing accepted transcriptions to all others selected to that point so that no two are too similar. Here are the resulting 10001 transcriptions generated by Connacht.

There was a second stage of evaluation involving the judges looking at quality consistency. In this stage, four transcriptions selected at random from each of the four best performing systems (benchmark, Connacht, Killashandra and Tralibane) were presented to all judges one a time. They were asked to rate the quality of the output with respect to O’Neill’s collection. The three possible choices were low, mid, and high. It worked best at the stage for the judges to give thumbs up, thumbs down, or sideways thumb to denote their judgement. It took about an hour to rate all sixteen without discussion.

To summarize the results for each system, I count the number of its transcriptions that are awarded at least one thumbs up. Of the remainder, I count the transcriptions with at least one sideways thumb. Here are the totals:

Two transcriptions by Connacht received at least one thumbs up. At least two transcriptions generated by each system were rated unanimously as low quality. Combined with the five transcriptions of each system evaluated in more detail by the judges, this shows that the consistency of each of these systems is low – with possibly Connacht at the high end of that low.

These results show show just how far the field has yet to go, even for challenges such as this highly constrained one. For Irish traditional double jigs, even though one believes they are modeling a simple monophonic melodic line (because that’s how some notate it), there are all kinds of implicit characteristics that should be considered, including harmonic motion (some say this kind of music is decorated chord progressions), opportunities for ornamentation (including double stops), playability, variation, etc.

One of the criticisms of some of the judges about this challenge is that it would have been much easier to evaluate the submissions if they were audio files. This would be natural since Irish traditional music is an aural tradition. However, this would have entailed making very poor and inauthentic syntheses of the transcriptions missing most of the qualities of the performance of the music.

Another fine criticism by some of the judges is that the challenge should have started with a tutorial for competition participants about what is Irish traditional music, and what is a double jig. This would have made participants more aware of the qualities their systems should achieve to meet the challenge.

The AI Music Generation Challenge 2021 will be formally launched soon. It will consist of two different tasks:

  1. Build an artificial system that generates the most plausible Scandinavian polskas.
  2. Build an artificial system that generates a plausible second line to a given polska.

Participants can submit to either or both tasks. There will again be judges. We will record an introductory video about what a polska is, and what judges will be looking for in their evaluation. Awards will be given in both tasks. There will also be a final event where people will dance to selected polskas and vote for a winner!

Acknowledgments: The AI Music Generation Challenge 2020 was supported by the project Human Behaviour and Machine Inteligence (HUMAINT), and the project MUSAiC (ERC-2019-COG No. 864189).

Tunes from the Ai Frontiers

Since the summer of 2018, I have been intensively studying Irish traditional music and accordion. This has been motivated in large part by my research in Ai applied haphazardly to such music. I needed to gain a far deeper appreciation for what this music tradition is all about, where it comes from, how it is transmitted and how it is cared for. I wanted to become fluent in its practice.

After a year of self-study learning about 70 tunes, and establishing the Irish Music Learners of Stockholm, I attended the 2019 Joe Mooney traditional music summer school in Ireland. Working with a teacher from the tradition there made me realize I had to start all over. Though I was hitting the right notes, I was seriously deficient in playing fluidly with the necessary ornamentation. So I started lessons with a few wonderful teachers online, and started paying far closer attention to the playing of great Irish musicians like Jackie Daly, Johnny Connelly, Joe Burke, Sharon Shannon, Kevin Burke, Frankie Gavin, and Seamus Ennis.

I also decided I needed to change my box. The Mean Green Machine Folk Machine was an excellent accordion – indeed, the first one I didn’t have to fight to play – but it couldn’t accommodate the necessary ornamentation. So, I designed The Black Box, and then Bosca Dubh. My principal accordion teacher says the boxes look heavy – which they are – but in my case that is actually a good thing since the weight has tamed my playing.

Though it’s only been 10 months since I have been playing these boxes, I feel the instrument is becoming an extension of myself. I know what to do without thinking most of the time. Instinct is taking the pilot’s seat. Also, the syntax of Irish traditional dance music has found its seat somewhere in my implicit knowledge such that I don’t have to obsessively play the tunes I have learned to keep them in memory. Often they come back with ease, and sometimes they are changed with ornamentation or endings I hadn’t thought to use before.

I’m far better now learning by ear as well, and actually prefer it to reading from notes. Outside of imitating my teacher during lessons, I do this using Audacity, slowing the audio down if necessary, and playing along while looping each section until I feel convergence. I find that tunes take hold in my head easier when I learn by ear. A big plus with learning by ear is how naturally the rhythm and phrasing come. I notice too the time it takes to learn new tunes is shrinking. And my tempo control has improved. It’s no longer the out-of-control race to the finish as it once was. I feel comfortable taking my time and letting the ornaments do their work.

I now feel ready to tackle the following challenge: I will learn and interpret one machine folk tune each week for the duration of the MUSAiC project (ERC-2019-COG No. 864189). The tunes I choose to learn will be hand-selected, and adapted in ways according to my tastes, and played according to my abilities at the time. How much of a struggle will it be to find 260 tunes generated by Ai that I find worth learning? How will the growing collection impact my practice of Irish traditional music? By the end of it, how will my playing have changed? How will my interpretation of these tunes change as they sit in my head? When will I begin to sense a unique syntax in this collection and my embodiment of it?

You can join me in this adventure at Tunes from the Ai Frontiers. The first five tunes are posted, and they are all winners.

A necessary aside: my efforts in this challenge are not funded by MUSAiC; this is a purely personal and somewhat batty endeavor.

I chaired a virtual conference! A how-to

Since late 2019, we have been organizing The 2020 Joint Conference on AI Music Creativity. This was going to be a union of two other ventures in similar engineering and artistic domains, namely the annual Music Metacreation workshop (MuMe), and the annual Computer Simulation of Musical Creativity conference. It was also going to be the celebratory kick-off event for my ERC project, MUSAiC: Music at the Frontiers of Artificial Creativity and Criticism (ERC-2019-COG No. 864189).

The joint conference was going to be three days featuring papers delivered at KTH, concerts at the Royal Conservatory (KMH), and social events throughout Stockholm, but the global pandemic made that impossible. So, we decided not to cancel, but go virtual. Now, how can we do that in an appealing and accessible manner? It turned out not to be too difficult, quite inexpensive, and to have several advantages.

In April, I reviewed several helpful resources on virtual conferences. Richard Parncutt’s “Virtual socializing at academic conferences” is excellent, and motivated me to spread several events throughout the day (CEST) to meet a number of time-zones. The ACM also has a great guide on virtual conference best practices. See in particular section 2.5, “Carving out mental space”, motivating short virtual sessions. Also Sec 4.2.2 “Small Conference or Large Workshop” provides some helpful logistics for the size event I was organizing.

Due to a fantastic response in terms of paper submissions, and the interest of several invited speakers, we decided to spread the conference over an entire week. The final schedule features eight paper sessions (of 105 minutes each, plus 15 minutes extra to solve technical issues), nine spotlight talks of 30 minutes each (with Q&A), two hour-long keynotes (with Q&A), and four 90 minute panels (with Q&A). The first day features two tutorials, one of which is repeated to accommodate other time zones. There is also an online exhibition of selected musical works with pieces introduced by the artists in two separate sessions. Here’s the final schedule:

To reduce online fatigue, and accommodate several time zones, I spread the events as much as possible.

Now, how to do this in a virtual format? I followed some other virtual conferences to see how they worked. And I taught a class of 300 using zoom. This led me to several conclusions:

  1. We should use zoom. It has excellent reliability and the “original sound” feature is a big plus. Furthermore, one can record sessions automatically, and even stream them.
  2. Large zoom sessions can be unruly and insecure. It would be pandemonium trying to have a number of paper presentations with questions and answers. It would also make the recording of the presentations unpredictable. So, we should limit who uses zoom.
  3. The events should be viewable by the general public, but people who register should have something extra in terms of the conference experience.

Here was plan A:

My computer in Stockholm hosts secured zoom sessions with presenters, panelists and session chairs. I stream these sessions to YouTube, which is then viewed by the public and conference registrants. In cases where video is provided by presenters in lieu of a live presentation (internet connectivity might be poor), I stream the videos using Open Broadcaster Studio (OBS, free!). Conference registrants have access to a slack workspace dedicated to the conference, which has channels dedicated to each event and each paper where questions can be asked and topics discussed.

If YouTube decided to restrict my streaming ability, e.g., detecting copyright protected material in the stream and shutting it down, then Plan B was this:

All registrants would pile into Zoom, all would be muted except for the speaker, and questions would be posed on the conference slack workspace.

A big risk with both of these plans is the degree to which they rely on “Bob’s computer”, its connection to the internet, and its operator. If the computer breaks, gets disconnected, or Bob gets COVID-19, everything could topple. So Plan C was to make everything asynchronous: authors post videos of their presentations to slack, which are then discussed in non-real-time. Fortunately, we never had to deviate from plan A.

One major benefit of Plan A is that YouTube automatically records streams, so we didn’t need to record zoom sessions and then upload. They would automatically appear in the conference YouTube channel. There is even some online editing functions within YouTube Studio that can be used to make changes. (There were some funny behaviors, however — for instance a two hour stream appearing as 5 minutes. This seemed to happen when I switched from streaming video via OBS to streaming from zoom or vice versa. To correct it, I had to download the recorded stream and then upload again.)

Another nice thing about streaming to YouTube is I could watch engagement. Below is a screen shot of the streaming view in YouTube Studio at the conclusion of a paper session.

A drawback to using YouTube is its availability in all parts of the world, e.g., China. There are other possibilities, but by the time we had realized YouTube is blocked in China, it was too late.

Running the conference on Bob’s computer looked like this:

A paper is being presented in zoom to the other authors and chair of the session. This is being streamed “Live” to YouTube, where there is about a 5-second delay. The conference Slack workspace is shown at left. (purple) The YouTube Studio page is behind in the browser. And the OBS software is shown behind at right. It was a crowded workspace, but by the end of the first day I had the mechanics down.

On Tuesday morning after a brisk bike ride to work, and 30 minutes before the first session, I opened my laptop and watched the screen go haywire. Panic ensued, and I raced through my department to find an external monitor. Thankfully, the computer was fine but its screen was not usable. After the morning session ended, I took the computer back home on a careful bike ride, and positioned it on my desk where it remained the rest of the week. I also prepared my wife’s laptop to become a backup in case mine died.

During the conference, I kept a log of useful observations and best practices.

  • ASSIGN A CO-HOST for each and every zoom session. It was in the middle of a paper session that my zoom crashed. I restarted zoom, logged into the session, and noticed there were no interruptions because the co-host’s connection continued hosting the meeting as well as the live stream. (I hadn’t realized this great redundancy before. Good work zoom!)
  • Create a backup YouTube channel for streaming in case the main one gets taken down. During the streaming of one of the invited talks, I noticed a copyright violation:

In this case it just meant restricted monetization — which we aren’t doing anyway. But perhaps several such violations would cause a shutdown.

  • Have a totally different streaming option ready to go, e.g., Twitch.
  • Beware that running a virtual conference can cause your hands to get sweaty. This can lead to all kinds of unintended pointing and clicking using a trackpad mouse. One time I meant to point and click something other than the “End Live Stream” button. The unanticipated superfluidity of the interaction almost caused disaster! So take care with every point and click.
  • Some presenters might not have reliable connectivity. So in preparation, have them create and send a video of their presentation to use instead. Send it the day before because it takes time to download them!
  • Start each live stream session with a one minute introduction video. This gives you time to check on the health of the stream and prepares the presenters to go live.
  • Create a different slack channel for each paper. One colleague thought doing this was a disaster because it makes a real mess of the slack workspace; but it turned out to be a great way to organize things and facilitate discussions. Do this before people accept the slack invite, and make all such channels added by default.
  • Use free tools wherever possible. Github pages worked exceptionally well for the website and keeping it up to date. OBS worked flawlessly. YouTube streaming had some quirks, but it worked great. Slack turned out to be great.
  • Assign chairs for each session, and have them contact the participants with instructions about the presentation. Write a template email for the chairs to use for contacting authors and soliciting videos.
  • Give registration cost waivers for all paper reviewers that deliver, as well as all invited speakers.
  • When using EasyChair as the chair, DO NOT add conflicts of interest. Otherwise you cannot make assignments and decisions for papers hidden from your view.
  • Here are some tasks to delegate to students helping:
    • Confirmation of dates and times with all invited speakers and session chairs. Also, collecting biographies and abstracts from invited speakers. And sending connection details for presenting.
    • Creation of calendar invites to all conference events and distribution to registrants. (Make this adaptable to any time zone.)
    • Creation of slack workspace and its channels
    • Using social media (e.g., tweets) to publicize events during the conference
    • Updating the conference website with links to videos soon after each event ends, and adding relevant text to each video, including funding acknowledgments.

Reflecting a week after this event, I am totally satisfied with how things worked, and would happily do it again. Renting a presentation room, hiring A/V assistance, printing conference materials, and catering, would have required registration costs of about €200 pp for about 40 paying attendees. Then the cost of having nine in-person invited spotlight presentations, two keynotes, and two concerts, would have made that price rise far higher. Instead, we were able to do most of this (online exhibition instead of live-streamed concerts) at a very small registration fee of €25 pp. The remaining costs were covered by the ERC project MUSAiC: Music at the Frontiers of Artificial Creativity and Criticism (ERC-2019-COG No. 864189).

Also clear from the conference YouTube channel is that there has been continued viewing of the presentations:

We can see when the conference occurred, but there have been about 150 views each day since the conclusion.

Thinking of the future, I think hybrid conferences are the way forward. Having remote presentations opens up a lot of the world to attend and participate. It greatly reduces expense and the consumption of resources. Networking in person is of course one of the most important aspects of real-life conferences, but great impressions can be made just as well via remote presentations and discussing work in online forums. The next time I organize an in-person conference, it will certainly include remote presentations and attendance.

“Music from EDSAC” (circa 1960)

Today is the first day of my 5-year project MUSAiC – Music at the Frontiers of Artificial Creativity and Criticism (ERC-2019-COG No. 864189). To mark the occasion I am posting recordings of a unique music composition: “Music from EDSAC” (c. 1960). This is one of the first human-machine music collaborations, but very little is known about it.

I first learned about this work from a chapter in the 1970 book, The Computer and Music, H. B. Lincoln (ed.), (Cornell University Press). The chapter, “Music composed with computers – A historical survey”, is written by Lejaren A. Hiller, who in 1957 worked with the ILLIAC supercomputer to compose the string quartet, The Illiac Suite. In this chapter, Hiller refers to a technical report he wrote in 1961 about his trip to Europe to learn about the state of contemporary music there, and to discuss the state of contemporary music in America. The librarian of the University at Buffalo Music Library, where the Hiller estate is archived, helped me locate this technical report: “Report on Contemporary Experimental Music, 1961” (Tech. Report No. 4, 1962). At the very end (pg. 84-85), Hiller writes of meeting a Professor of economics at Cambridge University (UK) who is working on programming a computer to generate music:

Mr. D. G. Champernowne, Trinity College, Cambridge, is a member of the faculty of economics who has used the computer at Cambridge University for problems in economics. He has also become intrigued, as a side interest, in programming musical composition. In his spare time, he has developed two programs for musical composition that are quite sophisticated and effective within their sharply prescribed limitations. These are as follows:

(a) Synthesis of Victorian hymn tunes. After an inspection of typical hymn tunes, Champernowne developed a set of empirical rules for composition of such music. He then wrote a computer program that consists of four distinct parts: (1) The generation of random numbers. (2) The generation of the top melodic line. (3) The generation of harmonic support. (4) Printout in alphanumeric notation. He has provision for rhythmic variety, passing notes, neighbor notes, and appoggiaturas. Moreover, the program could also be used to harmonize given tunes, since part (2) of the program can be by-passed and independent melodic data could be used instead. Thus far, however, he can only generate one phrase at a time, so awkward transitions sometimes occurred between the end of the one phrase and the beginning of the next phrase. Mr. Champernowne gave me several representative examples of the computer output he obtains. These disclose that this programming has thus far been very successful in solving this highly restricted musical problem.

(b) Synthesis of Serial Music. Mr Champernowne has also written a program for the synthesis of a species of twelve-tone serial music in which a systematic permutation scheme permitted the production of a composition about 200 measures long. He applies some arbitrary rules that eliminate, I believe, certain dissonances. It is thus interesting to note that this music superficially, at least, bears a resemblance to that of Barbaud and Blanchard. This composition is scored for string quartet. Mr. Champernowne has promised to send us a copy of the score. It will be probably worthwhile to tape a performance of this music for documentation purposes.

Writing almost ten years later in his chapter for Lincoln’s book, Hiller echoes what he had written in his technical report, but adds that “Champernowne, apparently, has not yet written an article for publication describing his programming. This is too bad, since it would seem that what he did worked out quite successfully within the specified constraints on the compositional process.” He also writes that Champernowne:

… arranged a three-movement “composition” for string quartet out of these materials consisting of (a) a set of “Victorian [hymn] tunes,” (b) the serial piece that serves as a sort of middle-movement scherzo, and (c) a series of harmonization of well-known tunes like “Rule Britannia.” Because Champernowne was unable to induce a string quartet at Cambridge to play his music, we asked him to send us a set of performance parts from which we assembled a score and prepared a tape recording of a performance by a string quartet at the University of Illinois. I find sections of this Music from Edsac quite entertaining, particular the harmonizations in the last movement.

The score that Hiller assembled is in his estate at the University at Buffalo Music Library, but his recording is lost. So I obtained a copy of the score, and with permission from the Champernowne family hired a string quartet to perform and record “Music from EDSAC”. Below are the three movements.

A little extra information comes from Dr. Andrew Herbert (OBE, FREng) Chairman of Trustees, The National Museum of Computing, Manager,  The EDSAC Replica Project. Dr. Herbert has told me that the computer Champernowne used was actually the second version, EDSAC 2. “[The two versions] were quite distinct and very different in construction despite sharing a name.  The sort of computing required by Champernowne was beyond what the original EDSAC could have accomplished. His work on EDSAC 2 is consistent with the kind of algorithms that people working in the Cambridge Language Research Unit (CLRU) would have been familiar with and are in fact early examples of the kind of statistical machine learning which has lead the recent resurgence in AI.”

Gentilia Pop Kårfors, 1st violin
Kent Carlsson, 2nd violin
Ulf Larsson, viola
Per-Ola Claesson, violoncello
Sofia Winiarski, conductor

The First Machine Folk Music School!

I’m very excited to be offering the first “Machine Folk Music School” on Sep. 13 (15-16h CEST) as part of the 2020 Ars Electronica festival:

During this hour-long “school” (over zoom) I will teach participants a machine folk tune in the aural tradition. This involves me first performing the tune a few times through to give everyone a feeling for it. Then we work gradually phrase by phrase, playing slowly and with plenty of repetition. We link together the phrases to build up parts of the tune. Then we put all parts together and repeat the entire tune several times slowly. Finally, I discuss several possibilities for variation of the tune. Participants will also be given a short tunebook containing several other machine folk tunes.

Introducing Bosca Dubh!

The Bosca Dubh (circa 2020)

I’ve been living with Bosca Dubh for a month now and learning about its unique personality. Bosca Dubh is the next generation of The Black Box, which is essentially a D/G diatonic accordion redesigned to allow traditional Irish ornamentation. Bosca Dubh began its life as a club accordion, apparently designed by Excelsior. There are no identification numbers anywhere on the box or inside. I contacted Excelsior for information about this box, but they have no idea about it other than it could be one of a few specimens of a test model. This makes it even more unique and mysterious.

Compared to The Black Box, Bosca Dubh has two more treble-side buttons (on the inner-most row), and four more bass-side buttons. Here’s the layout:

The green buttons are identical to those of The Black Box. The other buttons are new. Here are the ranges of the two boxes, also showing the rolls that are possible:

The range of Bosca Dubh is one semitone lower than The Black Box, and has the high f natural. Bosca Dubh also can do rolls on F3 and G3. Neither box allows a traditional-style roll on F4 — but a triplet suffices. Everything else is the same on the treble side.

The bass side of Bosca Dubh is expanded. Like The Black Box, all thirds are removed. But Bosca Dubh now has A and F# on the press, and F and C# on the draw. These add lovely color to tunes in the keys/modes common to Irish traditional dance music. The C# is useful for tunes in A, and the F# is useful for tunes in D. The F adds a nice modal flavor to tunes in G.

Like The Black Box, the Bosca Dubh has LMMMH reeds (L = octave below; M = middle; H = octave above); but it has more couplers. Here’s a picture of all the voicings available on Bosca Dubh. (The dots and their position denote which reeds are active.)

The coupler pressed is “ALL REEDS GO!”. One can also choose just L, or just M, or just H. Then there are four couplers that choose combinations of these. There are three couplers choosing combinations of the middle reeds — let’s call them Ml (middle low), Mm (middle middle), and Mh (middle high). “Traditional” Irish tuning makes the Mm reeds right on concert pitch and then the Ml and Mh are detuned relative to that by up to 15 cents, lower or higher, respectively. This makes a “wet” or warbly sound. (Some traditional players, like Jackie Daly, use very little to no detuning of these reeds.)

The Ml+Mm coupler selects the middle reeds located in a cassotto chamber. This is another unique aspect of Bosca Dubh over The Black Box. Cassotto makes for a very mellow sound. Here’s a picture of the treble side showing the reed batteries in the cassotto chamber (top):

The most odd feature of Bosca Dubh is the coupler isolating Ml+Mh. The expert that converted this accordion (Erik Simons, highly recommended!) believes this is a mistake of the manufacturer. I’ve never seen such a coupler before. BUT, I love the sound. I call it the “circus setting”. This “mistake” lends credence to the theory that this box was a test model.

Now for a demonstration of Bosca Dubh, including its “circus” setting:

How does Bosca Dubh compare with the typical B/C accordions played in Irish traditional music? Below are the ranges of Bosca Dubh compared with the standard B/C layout of the popular Paolo Soprani boxes:

We can see several things. Bosca Dubh doesn’t go as low as the B/C, but it does go higher. The longest chromatic run of notes on the B/C is two on the press and four on the draw; but on Bosca Dubh it is ten on the draw and five on the press (in the middle of the range). Each roll on the B/C can only be performed in one direction of the bellows, but on Bosca Dubh many rolls can be performed in both directions. The only rolls Bosca Dubh cannot perform that the B/C can are E3 and F4. The B/C cannot perform rolls on C# or F#.

Another typical system in Irish traditional accordion is C#/D, which is just tuned a semitone higher than the B/C. Thus it shares much of the same characteristics:

As for the B/C, Bosca Dubh doesn’t go as low as the C#/D. As for the B/C, the longest chromatic run of notes on the C#/D is two on the press and four on the draw. Each roll on the C#/D can only be performed in one direction of the bellows, but on Bosca Dubh many rolls can be performed in both directions. Unlike the B/C system, the C#/D can perform rolls on C# and F#, but not on F natural.

A big advantage of Bosca Dubh and The Black Box over B/C and C#/D accordions is the expanded harmonic possibilities on the treble side. Many more note combinations are possible, which makes them versatile instruments for accompaniment. Here’s a table showing several of the chords that can be played on the treble side: “M” is major, “m” is minor, “M7” is major with raised 7th, and “dim” is minor with diminished fifth.

rootMmM7dim
G
A
B
C
C#
D
E
F
F#

For a given root, the major 7 chord resolves to the IV, while the diminished chord resolves to the V. So in Irish traditional music, several of these wouldn’t be useful, e.g., C#dim, Adim, B7 and Bdim. More often, however, intervals of octaves, fifths and fourths are used on Irish accordion.

In conclusion, the expanded bass on the Bosca Dubh is the biggest and most useful change from The Black Box. The two additional buttons on the treble side aren’t really that useful. The cassotto on Bosca Dubh is very nice, as is the organ/melodeon sound. The circus setting is a fun unique one. If I were to look toward the next design, I might trade some of the high notes for the low ones available on B/C and C#/D, e.g., remove everything from the Eb6 up and add in the B2 to D3. This however would make the box have a sixth button start, shifting my hand position down one, which might actually be beneficial ergonomically.

Coming soon …

At left is The Black Box. It has been perfect! My design of the keyboard has worked out so well. The left hand side, however, is a bit limited. I really miss the F/F# that is on The Mean Green Machine Folk Machine (now sold to a new loving family). So, enter the box at right (so far unnamed). The treble side has two more buttons, but the bass side has four. It’s now in the shop being converted to my new design! Details coming soon…

An analysis of the 365 double jigs in O’Neill’s, pt. 10

This is part 10 of my live blogging analysis of the 365 double jigs in O’Neill’s 1001. In the last part, I revise and tune the procedure by which I extract time-pitch series from the collection, and then analyze several examples. The part before that reviews where I have been.

While reading O’Neill’s “Irish minstrels and musicians: with numerous dissertations on related subjects” (1918), I found the following quoted from “A History of Music in England” by English composer Earnest Walker (1907). I believe it really encapsulates  implicit and explicit properties of Irish traditional music:

Few musicians have been found to question the assertion that Irish folk-music is, on the whole, the finest that exists; it ranges with wonderful ease over the whole gamut of human emotion from the cradle to the battlefield, and is unsurpassed in poetical and artistic charm. If musical composition meant nothing more than tunes sixteen bars long, Ireland could claim some of the very greatest composers that have ever lived; for in their miniature form the best Irish folk-tunes are gems of absolutely flawless lustre, and though of course some of them are relatively undistinctive, it is very rare to meet with one entirely lacking in character. (pg. 335)

I wonder if the convention of Irish tunes being sixteen bars long relates to physical limits of human memory, and the aural transmission of tunes?

Anyhow, in this part I investigate extracting a feature complementary to time-pitch series: one describing rhythmic aspects of a transcription. Let’s consider jig #201 (“Biddy’s wedding”):

Screen Shot 2020-03-27 at 18.08.18.png

We see notes of four different durations. From shortest to longest: semiquaver, quaver, dotted quaver, and crotchet. In the entire collection, there are notes of three other durations: triplet semiquaver, triplet quaver, and dotted crotchet. One way to describe the rhythm of any transcription in this collection is by expressing it as a sequence of encoded durations where. Let’s try a simple one: 1 means a triplet semiquaver, 2 means a semiquaver, …, and 7 means a dotted crotchet. So the series describing “Biddy’s wedding” starts: 5, 2, 6, 4, 4, 4, 4, 4, 4, …

Even better would be an encoding that directly describes time. Dividing each quaver of a 6/8 measure into 6 segments (Fs = 6 segments/quaver) results in a triplet semiquaver lasting 2 segments, a semiquaver lasting 3, a triplet quaver lasting 4, a quaver lasting 6, a dotted quaver lasting 9, a crotchet lasting 12, and a dotted crotchet lasting 18. Hence, such a series extracted from “Biddy’s wedding” starts: 9, 3, 12, 6, 6, 6, 6, 6, 6, … In this way we can easily isolate measures, and accumulate the values of the series to create a series of onset times, i.e., for “Biddy’s wedding”: 0, 9, 12, 24, 30, 36, 42, 48, 52, 58, … Call this indexed series O.

The problem with both of these approaches is that the length of a series is equal to the number of notes in a transcription. I want a feature that facilitates the comparison of transcriptions and their parts. This can be done by making all series the same length. Hence, I create the onset-time series of length Fs*6*8 = 288 according to the following:

o = 1_{O}(n) : n \in [1,288]

using the indicator function. So the onset-time series is just a series of 288 ones and zeros. For “Biddy’s wedding” the onset-time series looks like:

201

Each spike shows an onset. Those of the A part are shown in blue and orange, and those of the B part are shown in green and red. It’s hard to differentiate between the series, so let’s view these in an alternative way:

201.png

Series 1 and 2 are from part A and 3 and 4 are from part B. Time in each sequence is going along the x-axis, six steps for each quaver, six quavers for each measure, and 8 measures for each series. Series-time in each tune is going along the y-axis, where each part contributes two series since there are repetitions. There is a change in pixel value where an onset occurs.

Let’s have a look at some others. Below is the onset-time series for jig #24 (“The maid at the well”):

24.png

This shows each part is built from two measures with the same rhythm: 10 quavers and a crotchet. Here’s the dots:

Screen Shot 2020-04-04 at 11.36.06.png

The onset-time series below shows a sequence of 22 quavers and a crotchet:

32.png

This is from jig #32 (“The basket of Turf”):

Screen Shot 2020-04-04 at 11.40.14.png

And here we see quavers all the way:

125.png

Those are the onset-time series of jig #125 (“Wasn’t she fond of me?”):

Screen Shot 2020-04-04 at 11.47.40.png

The pickup doesn’t appear in the onset-time series (or any of the other series) because it does not occur in any repetitions. Its existence is seen in the time-interval series, however (start of blue line):

125

Here’s a strange pattern of onset times:

357.png

That’s from jig #357 (“The Hibernian jig”). The dots show what is going on:

Screen Shot 2020-04-04 at 14.22.52.png

For some reason, O’Neill has explicitly notated an exaggerated jig rhythm. The transcription could also be notated with straight quavers and interpreted in the manner above.

How many jigs in this collection have such exaggerated jig rhythms? Only 14 of the 365 notate the dotted quaver semiquaver rhythm at least 8 times: #8, 76, 101, 148, 181, 201, 212, 222, 229, 256, 257, 294, 322, and 357. Jig #101 (“The idle road”) is one of these I looked at in part 5, which is played by Joe Burke with an unbroken rhythm.

Here’s another interesting one:

95.png

This is of jig #95 (“The sheep on the mountains”). This is the only jig in the collection with a structure different from all the others: ABAB, where each part is 16 measures long:

Screen Shot 2020-03-14 at 15.05.12.png

Here’s another, of jig #200 (“Daniel of the sun”):

200.png

The B part of this tunes looks to be more syncopated than the other two parts. The transcription shows plenty of broken rhythms, including Scotch snaps, in these parts:

Screen Shot 2020-04-10 at 13.36.29.png

The below are the onset-time series for jig #226 (“Tim Hogan’s jig”):

226.png

It appears that the parts become more and more dense with notes. Here’s the transcription:

Screen Shot 2020-04-10 at 19.35.54.png

We see the crotchets of the A part are notated as trilled, or rolled. The B part features mostly quavers. Then the C part has semiquaver passing tones.

Here’s another unusual one:

361.png

That is for jig #361 (“The Drogheda weavers”). There appears to be a flourish of notes starting each four measure section of the B part. Here’s the transcription showing what is happening in that part.

Screen Shot 2020-04-10 at 19.40.52.png

By way of summary, let’s look at the ways in which we can describe the characteristics of a give transcription from O’Neill’s 1001. Let’s consider one of my favorite jigs, “Scatter the Mud” (#187). Here’s the ABC notation:

M:6/8
K:Am
d|eAA B>(cB/A/)|eAA ABd|eAA B>(cB/A/)|dBG GBd|
eAA B>(cB/A/)|eAA AGE|GAB Bge|dBA A2:|
|:d|eaa egg|dBA ABd|eaa egg|dBG GBd|
ea^f ({a}g2)e|dBA AGE|GAB Bge|dBA A2:|

And here’s the dots:

Screen Shot 2020-04-12 at 09.08.49.png

Here’s the onset time series of “Scatter the Mud”:

187.png

Here’s the time-pitch series:

187

As is convention, the B part goes higher in pitch than the A part. And the two parts echo each other in the middle and end. Here’s the time-interval series:

187

And finally, here’s the circular autocorrelation of the time-interval series:

187

We see the A part is has high self similarity at lags of one measure, and the greatest value at four measures (other than zero lag). The B part has more self-similarity with a lag of  two measures.

In the next part, I think I will look at clustering transcriptions according to their onset time series.

Seán Ó Riada on the Accordion in Irish Traditional Music

Seán Ó Riada is one of the most important Irish composers of the 20th century, and a key figure in the revival of Irish traditional music. In 1960, he assembled a group of traditional Irish musicians, named “Ceoltóirí Chualann“, to present traditional music in a classical music concert setting. They gave several influential concerts, and the group is considered a precursor to one of the greatest modern Irish music groups, The Chieftains, who have had 18 Grammy Award nominations.

In 1963, Ó Riada recorded a series for Raidió Éireann called “Our Musical Heritage”, in which he introduces and discusses Irish traditional music and its elements. In one of these he discussed the button accordion. I can’t find any transcription of his commentary online, but I love it so much I will transcribe it here.

Ó Riada prefaces his commentary with the following:

First of all, it needs to be emphasized over and over again, that Irish traditional instrumental music is a very close relation of Irish vocal music; that is, sean-nós [old-style] singing. The instruments which suit Irish music best are therefore those that most closely approach the personal expression of the human voice.

The fiddle is ideal. The player is in contact – in complete contact – with his instrument. The notes do not exist until he makes them; and his tone is a completely individual thing, differing from another fiddle player’s tone as much as one voice differs from another. This is also true to varying extents of the uilleann pipes, the flute, and the whistle.

Irish music is entirely a matter of solo expression, and not of group activity. It is the direct expression of the individual musician or singer. It is again very much a matter of personality. Whether that personality exists or not outside the music. That is to say, a singer, a piper, or a fiddler may be quite an unpleasant person when not performing but when performing it is his music personality which counts, which impresses us – the direct expression of his musical personality. Everything that comes in the way of that direct expression beclouds and confuses it.

Now, the most direct means of expression in music in the human voice. Next, in varying degrees, as I said, come the uilleann pipes, fiddle, flute, and whistle. In each of these the player makes the notes himself. He is in control. The notes do not exist  until he makes them. The fiddle player and the piper make the notes with their hands. The flute player and whistle player, with their mouth and hands. They are at all times directly in contact with the actual notes they make. And as a result, they are the masters of the notes. They control them. Varying their loudness and their softness. Their tone quality, and even their intonation.

Then Ó Riada is ready to render his judgement:

This, the accordion player cannot do. He does not make the notes – they are already there before him. Ready to sound at the pressing of a button, produced in an almost entirely mechanical fashion. Thus, he has not the control over his instrument that the others have. He has only to press a button and pull or push the bellows and the note sounds for him. The tone and even the intonation have already been decided for him by the maker. Because of this, individual musical expression becomes extremely difficult, if not impossible for him. For this reason, if not for any other, the use of the accordion as a solo instrument in Irish traditional music is to be greatly deplored.

Most accordion players are so hampered by their choice of instrument as to be unable to produce anything but a faint, wheezy imitation of what Irish music should be. And the most unfortunate part of it is, that this instrument, designed by foreigners for the use of peasants who had neither the time, inclination or application to learn a more worthy instrument – this instrument is not just losing favor, but gaining vast popularity throughout the country. The reason for this is mainly, I think, the laziness which afflicts us as a nation at the moment.

We would all like to be musicians, but we don’t want to take the trouble. It is easier to play notes which are already made for us, than to make our own notes. Accordions, bigger and better accordions, and eventually the greatest abomination of all – the piano accordion – nothing could be farther from the spirit of Irish traditional music.

However, I’m afraid this has been a rather long digression. As I said, very few accordion players in this country can surmount the difficulties inherent in their instrument. Most feel on the other hand that something must be done to enable them to produce more expression on the accordion. As this can’t be done by means of varying the tone, and so forth, they have turned to the one thing which it is possible to exploit, namely ornamentation. And it is precisely with regard to ornamentation that accordion players have committed their greatest crimes. In recent years, a technique and style of chromatic ornamentation, utterly alien from the spirit of Irish music, has grown up.

But before I describe it, let me mention briefly the two basic principles of ornamentation. And incidentally, I did not invent these principles. These principles are based on practice – the practice of the best players under the best circumstances. They are not invented principles, they are merely observed principles.

And the first is: generally speaking, no ornament should go outside the mode of the song or tune in which it occurs. And the second is: no ornament should, by its position, draw attention to an irrelevant note in the phrase in which it occurs. As by doing so it destroys the basic shape of the phrase.

At this point, Ó Riada uses the piano to illustrate permissible and impermissible ornamentation. He then caricatures the chromatic ornamentation he was hearing performed by the very influential Irish accordion players of the time, i.e., Paddy O’Brien and Joe Burke (though he does not name names). These players “throw in as many semitones” as they can. Eventually, Ó Riada renders a simple tonal phrase in the key of G into an unrecognizable chromatic mess [QED]. He continues:

The worst feature of it, to my mind, is not so much the incidental semitones, as is the dreadful habit they’ve got of using the downward semitone-inflected mordent, where you begin on a note, go to the semitone below and back to the note. Funnily enough, it is far more common than the upward-inflected mordent, where you begin on the note and go to the next note above it.

So the main downfall of the present day accordion players is the downward-semitone inflected mordent. This kind of thing is of course complete and utter rubbish; and it is up to the musical public to make their disapproval felt.

As I said, there are very few accordion players in this country who can sufficiently overcome the disabilities and limitations of their instrument. So as to make what they play sound like Irish music. But one of these few players is Sonny Brogan of Dublin. He is a man who understands the limitations of his instrument, but who strives to counteract these not in a mishmash of wrongly placed ornamentation, but by emphasizing the most traditional elements in the tunes he plays. His ornamentation is simple usually confined to the single cut, or grace note, and the roll.

Ó Riada then plays recordings of Brogan playing the reels “Repeal of the Union”, “The hut in the bog” and “Gordon’s reel”, and finally the jig “Morrison’s”. He highlights Brogan’s use of variation.

To sum up then, the accordion has been played in this country – the two row button accordion, that is – for upwards of 40 years. And I’m afraid that it has come to stay. However, while I have emphasized its unsuitability for solo playing, it can be a most  useful instrument in a band – something about which I am going talk next week. As a proverb says, it’s an ill wind. If only most Irish accordion players would try to fit in with the tradition instead of flying in the face of it, something would be achieved.

And one last word about the accordion: I wish, and indeed I wish again, that all Irish accordion players would drown, muffle, destroy, subdue or in some other fashion, silence the bass of their instrument. I haven’t yet heard an accordion player who knew the right bass to play, and it’s far better to play no bass anyway. It only interferes with the tune and confuses it.

Ó Riada continues his programme by talking about the concertina, which he finds to be superior to the accordion for Irish traditional music (e.g., “it’s not one tenth as unwieldy as the accordion”), and laments its decline.

One repercussion of my research in applying AI to model transcriptions of Irish traditional dance music is that I have become a dedicated student of Irish accordion. But I take no offense to any of Ó Riada’s verdicts and criticisms. Some of them are clearly laughable, such as peasants too busy to learn a “more worthy” instrument, and his nation “afflicted” with laziness. Some are uncomfortably nationalistic, such as those instrument-making foreigners. Some are contradictory, such as when he lauds the concertina over the accordion while overlooking that concertinas and accordions were being made by the same foreigners, and that the concertina involves the exact same mechanics as the accordion. And some are curiously unfair, such as overlooking the great expression that can be accomplished with the bellows. At least the accordion can produce dynamics like the human voice, which is not possible on the uilleann pipes – a more “worthy” instrument for Ó Riada. I am however persuaded by his opinion on some approaches to  playing bass on the accordion. I think sparse is the best approach, and only if it fits harmonically.

Ó Riada’s main argument with the fashion of accordion playing at his time is focused on music theory: the “great crime” of downward semitone-inflected mordents. Therein lies Ó Riada’s great crime: using a music theory that is in and of itself foreign to Irish traditional music to castigate contemporary practices of Irish traditional musicians.

I see Ó Riada’s programme on the accordion as a wonderful time capsule from just before Irish traditional music began its transformation into a major economic resource for Ireland – something that is due in large part to Ó Riada. The accordion would soon become a principal instrument of Irish traditional music. Controversy around the accordion would be replaced with controversy around the guitar and the bodhran, group playing, and eventually commercialization – the latter of which was as vigorously denounced by more modern “gate keepers” as Ó Riada denounces the accordion, e.g., Tony MacMahon in his wonderful 1996 essay, “The Language of Passion“.

An analysis of the 365 double jigs in O’Neill’s, pt. 9

This is part 9 of my live blogging analysis of the 365 double jigs in O’Neill’s 1001. The last part reviews where I have been. In this part I look at the time-pitch series of the collection. I create these series by single nearest neighbor regression on tuples of pitch and time observations extracted from a transcription. As an example, here is jig #201 (“Biddy’s wedding”):

Screen Shot 2020-03-27 at 18.08.18.png

Its four pitch-time series appear like so:

201
This feature has a clear relationship to the transcription because it shows which pitch occurs at what time over 8-measure segments. I can extract a time-interval series from these series by moving stepwise along time and finding and holding subsequent differences. The time-interval series for “Biddy’s wedding” appears like so:

201

The step of 5 semitones for series 2-4 come from the G pitch at the end of each line. I am making the first interval of the first series always be zero.

Here is the transcription I found at the center of a multidimensional scaling of the collection of transcriptions, jig #134 (“Young Tim Murphy”):

Screen Shot 2020-03-13 at 16.01.47.png

And here is its time-pitch series:

134

The two parts appear quite different save for the last two measures. Here is the time-interval series I extract from this:

134

In terms of intervals, we see the two parts are similar in measure 4 as well.

One difference between the two jigs above is the anacrusis. This in effect shifts to the right each series of #134 with respect to those of #201. If I am comparing only the series extracted from one transcription, there’s no problem since they all have the same shift. But if I want to compare series across transcriptions, some with an anacrusis and others without, I need to account for the shifts, i.e., align the measures. This will be important to consider when looking at tunes as sequences of measures.

The music21 library provides an easy way to detect an anacrusis, so I have rewritten my feature extraction code such that all series are aligned by measure. Let’s continue looking at the time-pitch series of the collection.

The dots of jig #17 (“The eavesdropper”) are:

Screen Shot 2020-03-27 at 12.39.51.png

and results in the following time-pitch series:

17

Note that middle C is pitch 60, but I have transposed all jigs in this collection to have a root of C. Here is the time-interval series I extract from the time-pitch series:

17
One major difference in extracting the time-interval series from the time-pitch series as to how I was doing it before is that this new approach considers repeated pitches as one. So the run of B quavers in the first measure are grouped together in an interval of 4 semitones over 3 quavers. I think this is preferable from the standpoint of considering melody. Playing 3 quavers in place of a dotted crotchet does not change the melody other than its rhythmic characteristic.

(This motivates extracting a “time-duration” series from a transcription to describes its rhythmic characteristics. Instead looking at what pitch is playing when, look at what duration is playing when. Ignoring graces, rolls, and trills, the collection has only pitches of seven durations. From shortest to longest these are triplet semiquaver, semiquaver, triplet quaver, quaver, dotted quaver, crotchet, and dotted crotchet. I will explore this additional feature at a later time… but keep in mind that the features I am extracting are not exemplary of how these tunes are experienced in performance. These are just the bones of the tune as it was in someone’s hand in the early 20th century, without any meat, flesh or movement.)

In the time-pitch series for “The eavesdropper”, we also see how its B part departs from the A part by going higher in pitch, and then descends back to join it. A typical feature of two-part jigs in this collection is that the B part sits above the A part in pitch. To get an idea of how typical it is, let us sum the set of differences between time-pitch series 3 and 1, and of 4 and 2 for each two-part jig in the collection (N=291), and make a histogram of them:

Screen Shot 2020-04-02 at 12.03.28.png

A positive difference means part B of a tune spends more time at pitches higher than part A. I find 268 of the 291 two-part jigs (>92%) have a positive difference. The two-part jig that has the largest difference is #190 (“O’Mahony’s frolics”):

Screen Shot 2020-04-02 at 12.18.09.png

Here are its time-pitch series:

190
Notice how the first ending of the B part stays high, and the second ending takes the melody down back home.

Of the 23 two-part jigs with a negative difference, the most negative one is #57 (“The blazing turf fire”):

Screen Shot 2020-04-02 at 12.20.04.png

Here are its time-pitch series:

57

What happens in jigs with more than two parts? Here’s the time-pitch series of the four-part jig #286 (“Strop the razor (2nd setting)”):

286

We see the melody goes highest in penultimate part (series 5&6). we see the same in the three-part jig #320 (“The piper’s welcome”):

320
This is not the case in the three-part jig #344 (“The stolen purse”):

344

Another interesting feature I see in some tunes is contrary motion of the parts, e.g., jig #223 (“The rambler from Clare”):

Screen Shot 2020-04-02 at 13.52.29.png

The time-pitch series show this “mirror image” effect:

223

This is probably not an accidental feature, but done consciously or planned in composition. Jig #237 (“The Fardown farmer”) has the same kind of construction:

237

Here are its dotsScreen Shot 2020-04-02 at 14.43.42.png

The A part of this jig and the A part of “The rambler from Clare” are so similar it makes me wonder if the Fardown farmer was the that rambler from Clare

Other tunes have similar intervalic motion in their parts. Here’s jig #249 (“The flitch of Bacon”):Screen Shot 2020-04-02 at 14.51.22.png

And here’s the corresponding time-pitch series

249
This also shows how I disregard rests in my extraction of the time-pitch series, just extending the duration of the pitch preceding it.