“Dialogues with folk-rnn” at NIME 2018

Luca Turchet will be performing his composition, “Dialogues with folk-rnn”, at the June 5 concert of NIME 2018. A version of this work was premiered at the Nov. 20 2017 concert in London. He constructed this work from 19 transcriptions generated by folk-rnn, all available in the “folk-rnn v2 Session Book, volume 1 (of 10)“.

Related: the folk-rnn composition competition is currently running! Spread the word. Start generating and composing!


Softmax Polka, a folk-rnn (v2) original

The Tune of the Month for May at Melodeon.net is the Tip Top Polka. So I decided to learn the tune and see what folk-rnn v2 would generate when primed with its first four bars (but transposed to minor to contrast with the happy polka). After many trials (folk-rnn v2 doesn’t seem to like duple meter), I finally got something that was worth learning (using “thesession_with_repeats”, seed 687677, temperature 1, and prime tokens M:2/4 K:Cmin c /2 d /2 |: e e e f | c c c A /2 B /2 | c c c e | B 3):

B/2c/2|:dd de |BB BG/2A/2 |BB Bd |
A3c |dB de |fB BA |GA G>F |
G4 :||:d2 df|df d/2e/2d/2c/2 |B3c |
f2 ef/2e/2 |d2 df |df df |ec Ac |

Screen Shot 2018-05-26 at 16.14.50.png

Here I play it together with the Tip Top Polka on the Mean Green Machine Folk Machine.

folk-rnn composition competition!

Spread the news far and wide!

The aim of this competition is to explore an application of machine learning to music — in particular the online tool at folkrnn.org.

This model is an example of artificial intelligence trained on traditional tunes, mainly Irish and English. The web interface allows users to generate new melodies using a few parameters (There’s a video on the website that explains how it works). We are seeking works that make creative use of this tool to compose new pieces, which do not need to adhere to the idiom of the training material.

Submissions will be judged on their musical quality and their utilisation of outputs from folkrnn.org. The winning piece will be performed by a professional ensemble at a public concert in London, UK, in early October 2018. Professional recordings of the performance will be provided to composers, and with the permission of musicians and composers, made available on the project youtube channel: https://www.youtube.com/channel/UC7wzmG64y2IbTUeWji_qKhA

We welcome submissions from any composer without restriction of age or nationality. Attendance at the concert is not mandatory. There is no cost for submitting a work.

Rules for submitted works:

1. scored for any combination of the following instruments: flute, clarinet, violin, cello, and piano (only 1 each); no use of amplification or electronic instruments is allowed;

2. no longer than 10 minutes in duration;

3. must be derived in some way from material generated by the application at folkrnn.org;

4. must be accompanied by a written explanation of how the work comes about from the use of artificial intelligence through the folkrnn.org website. Composers can also accompany the text with illustrations (e.g. staff notation).

5. no restrictions on style, or the way the outputs from folkrnn.org are used;

Important dates:
– August 31 2018: Submission of PDF score and required accompanying material by email to competition@folkrnn.org
– September 15 2018: Notification
– September 25 2018: Performance materials due
– October 9 2018: Concert (London UK)

For more information about the technology, see the following:



If you have questions or comments, contact Dr. Oded Ben-Tal: o.ben-tal@kingston.ac.uk

Recording of the April machine folk session


As part of an outreach day at my university QMUL, I organised a group of musicians to play 7 sets of machine folk music. We played 14 tunes (5 of which are real traditional tunes). Here’s the set list:

  1. March to the mainframe (X:488, folk-rnn v2) with The Glas Herry Comment (folk-rnn v1)
  2. The Mal’s Copporim (folk-rnn v1) with Off to California (traditional)
  3. X:1166 (folk-rnn v2) with Rochdale Coconut Dance (traditional)
  4. Oats and Beans (traditional) with Optoly Louden (folk-rnn v1)
  5. Why are you and your 5,599,881 parameters so hard to understand? (folk-rnn v2) with Why are you still singing even when reduced to a 30-dimensional subspace? (folk-rnn v2 with dimension reduction of softmax layer parameters)
  6. The Portobello Hornpipe (traditional) with The 2714 Hornpipe (folk-rnn v2)
  7. Two Burner Brew No. 1 (folk-rnn v2) with The Hairpin Bend (traditional)
Musicians included: Bob Sturm (button accordion), Sandy Rogers (fiddle), Luca Turchet (mandolin), Emmanouil Benetos (piano accordion), Michael Mcloughlin (tin whistle), Dan Stowell (melodica and bones), and Cornelia Metzig (guitar).

Other sounds courtesy of East London Ambulance service and the QMUL clock tower (donging at 16h).