Eureka
Inside Eureka · The software

Writing music

4 min read792 words2 sections

The Library#

What it is. The Library is where pieces of music wait for a musician to find them, hear them and reuse them.

It holds 1,024 pieces: 989 imported from 30 collections and 35 example works made for Eureka. Most come from freely available collections of old, traditional and popular music, among them Celtic, Balkan, klezmer and gospel tunes. Others are chord charts of jazz, Brazilian, blues and popular songs. Free to read does not mean free to share. Of the 30 collections, only one may leave the computer: the tunes entered by hand that are traditional or older than 1926. The others stay, under non-commercial terms, the GPL, or licences their sources do not declare. The Library keeps the pieces in rooms, with search and a card for each piece that plays it. Opening a piece starts a new work of the musician's own, made from a copy.

The Library shows each piece as a card, with its key, metre and tempo.

Music comes in from 13 formats: iReal Pro, Humdrum kern, MusicXML, MIDI, Guitar Pro, RomanText, Scala, the Weimar Jazz Database, SymbTr, Ome Swarlipi, Carnatic varnam, IEMP onsets and ABC. Each import says what it could not read. Music goes out as MusicXML and MIDI. Eureka cannot print a score or write it as a PDF yet.

Later, the musician will search inside the music, and not only by title. For example, a violinist will find every passage of arpeggios across the strings in the Library's concertos, and Eureka will open each one ready to practise.

The Editor#

What it is. The Editor is where a musician writes, changes and keeps a piece of music. Eureka calls that piece a work: the music together with its recordings, video, PDF, lyrics, chords and analyses.

The Editor shows a work as a piano roll, a score, a tablature or a song sheet. The musician writes in the roll, and in the other views they read, select and move. From the menus they can also transpose the music, re-time it or articulate it. They can transpose by an interval, by steps of the scale, or by whole periods of the tuning, such as octaves. They can also grow the music from a motif by repetition, sequence, inversion, retrograde, augmentation, diminution or fragmentation, and Eureka explains each step. Ask for the scales of a chord, and Eureka lists every scale that contains it, nearest to the key first. Beyond editing, the Editor also analyses music. An analysis finds chords, keys, phrases and cadences. It reads each chord as a Roman numeral over the key, and as tonic, predominant or dominant where it has such a function. A chromatic chord without one gets none. What an analysis finds waits beside the work until the musician accepts it.

The musician switches one guitar study between roll, score and tab.
Eureka reads each chord as a numeral over the key and says its function.

Attach a recording, and Eureka can line up the music with the sound. «Detect» places a point on each beat the recording's attacks mark. «Refine» moves each point to the nearest attack. «Adopt tempo» then turns the stretch between two points into a tempo of the work, so the music plays as the recording did, without changing a note. Eureka can also write into a piece the notes of an attached MIDI file, as played, or of a recording, as heard. A PDF edition, for its part, turns its pages with the bar that sounds.

The musician ties a recording to the score with two sync points.

The Editor and the Playground pass music both ways. The Editor keeps every step taken on a work as its history: a transposition, a slower tempo, a new rhythm. One command turns those steps into a patch that rebuilds the same music. So a teacher can hand students the process as a patch to play with, not only the result. In the other direction, a patch can generate music worth keeping, and «Keep as Work» saves it as a work and opens it in the Editor. Patches can also play works that already exist, such as a Bach chorale followed with its harmony.

The musician keeps a work's history as a patch and opens it in the Playground.