Lily# Studio From a recording — a song written down by Orecchiante, and the record to practise with (Preview)

01

What it does

Give it a recording of a song, and it writes the song down. Choose File › New File… → Lily# Score (.lys)… → Audio (MP3, WAV, …)…, or right-click an .mp3 or a .wav and choose Convert Audio to Lily# (.lys)…, and within a minute or so a score is open: the tempo, the key, the bar lines, the sections and the chord of every bar — and, where the recording has them, the bass line, the drums and the sung melody with its words.

Then it does what a chart on paper cannot. Press ▶ and the recording plays under the chart, the bar that sounds lit on the page. Click a bar and the record starts there. Loop four bars, slow them down without changing their pitch, and turn the band's parts on and off — the bass alone, or everything but the singing.

If you play in a band, you know both halves of this job: working out the chords of a song from the record, and playing along with it until you have it. Here they are one tool, and what you end up with is not a screen in an app but a chart you own — text you can correct, transpose, print and hand to the rest of the band.

Windows and macOS, and a preview: the reading is a first draft to correct, not a finished score. Everything runs on your own computer; no recording is sent anywhere.

02

Three steps

  1. ConvertChoose File › New File… → Lily# Score (.lys)… → Audio (MP3, WAV, …)… and pick the recording — or right-click it in VS Code's Explorer and choose Convert Audio to Lily# (.lys)… (Preview). The score is written beside it and opens with its preview.
  2. Listen and correctPlay the chart with the record. Where a chord is wrong, type the right one — or, where the reader itself was in doubt, try its second guess with one key.
  3. Practise, print, shareLoop the hard bars with your own part turned off. Transpose for the singer. Print a PDF for rehearsal, or export a video of the chart with the record in it.

03

A real example

To show a reading that anyone may check, this one was made from a piece whose answer is known: Evening Calm Bossa, the bossa nova on the songs page. Its score was played into a WAV file, a minute and a half long, and that file — only the sound — was given to the reader. Eighteen seconds later it had written this:

A chord chart of 48 bars in six sections, A to C2, in F major at 132: Fmaj7, Gm7, C, Am7, D7, and in section D B-flat major 7, B-flat minor 7, E-flat, F
The chart as it was written, untouched: 48 bars in 4/4 at 132, in F major, in six sections.

It never saw the score. Compare what it heard with what was written:

The reader foundThe score says
Tempo, meter, key132, 4/4, F major132, 4/4, F major — all three right
Bars and sections48 bars; sections of 4, 8, 8, 8, 8 and 12 bars48 bars; an intro of 4, then 8, 8, 8, 8, and 8 with a coda of 4 — every boundary where it is
The tune's first eight barsFmaj7 · Fmaj7 C · Gm7 · C · Am7 · D7 · Gm7 · CFmaj7 · Fmaj7 · Gm7 · C9 · Am7 · D7♭9 · Gm7 · C9
The second time, bar 6DmDm7 — it heard that the chord had changed from D7
The middle section's borrowed chordsB♭m7 · E♭ · FB♭m7 · E♭9 · Fmaj7 — the “backdoor” cadence, found
Where it went wrongC/E · Am7 (and asks: or Em7?)Em7♭5 · A7

So: the frame of the song — tempo, key, bars, form — is right, most chords have the right root and kind, the ninths and other colours are left for you to add, and a few bars are wrong. That is what to expect, and a recording of a real band is harder than this one was (the numbers are below).

Show the whole file
// read from Evening-Calm-Bossa.wav by dettato
title "Evening-Calm-Bossa"
tempo 4 = 132
time 4/4
key f major

// Shift+Ctrl+Up/Down on the font name switches the font
fonts { music "Petaluma" }

// Ctrl+. on a section's name offers Join Sections (with the next one, or all the sections selected)
section A {
  chords harmony {
    // Shift+Ctrl+Up/Down on a chord name shows its guitar chord diagram; on X@or(Y), swaps in Y and plays it
    F@or(Fm7) C@or(Csus4) | Gm7@or(C7) C7 | F@or(Fm) C@or(Csus4) | Gm7@or(C7) C7 | break
  }
}

section B {
  chords harmony {
    Fmaj7 | Fmaj7 C@or(Fmaj7) | Gm7 | C |
    Am7 | D7@or(Dm7) | Gm7 | C@or(Csus4) | break
  }
}

section C {
  chords harmony {
    Fmaj7 | Fmaj7 C@or(Fmaj7) | Gm7 | C |
    Am7 | Dm | Gm7 C7@or(Cm7) | F@or(C7) | break
  }
}

section D {
  chords harmony {
    Bbmaj7 F | Bb | Bbm7@or(Bb7) Eb@or(Ebsus4) | F C |
    C/E@or(Em7) Am7 | Dm | G | Gm7@or(G) C | break
  }
}

section B2 {
  chords harmony {
    Fmaj7 | Fmaj7 C@or(Fmaj7) | Gm7 | C |
    Am7 | D7@or(Dm7) | Gm7 | C7@or(Csus4) | break
  }
}

section C2 {
  chords harmony {
    Fmaj7 | Fmaj7@or(C) | Gm7 | C7 |
    Am7 | Dm7 | Gm7 C7@or(Cm7) | F@or(C7) |
    Fmaj7 | Bbm@or(Bbmaj7) F@or(Fsus4) | Fmaj7 | Fmaj7 | break
  }
}

form { A B C D B2 C2 }

score {
  chords harmony
}

Download Evening-Calm-Bossa-heard.lys

04

The chords it doubts are marked, with its second guess

A reader that is sometimes wrong is only useful if it says where it may be wrong. Where it could not decide between two chords it writes both:

Am7 | D7@or(Dm7) | Gm7 | C@or(Csus4) |

The chart shows and plays the first, D7; the other waits in the @or.

  • One key tries the other. With the caret on the chord, Ctrl+Shift+Up / Down swaps the two and plays the chord.
  • Hear it in the music. Ctrl+Shift+PageUp / PageDown swaps them and plays the whole bar — the recording's bar and the chart's chord together, so your ear decides.
  • Any chord can be typed. The chart is text: write D7-9 over D7 and it is so. How chords are written →

05

Bass, drums, the melody and its words

The chords are the frame. Where the recording has them, the converter writes the parts on their own staves under the chart, read from the band taken apart (below):

It writesFromHow well, on recorded pop songs
a bass staffthe separated bass79% of the notes start on the right sixteenth, 68% with the right pitch too
a drum part: hi-hat, snare and bass drum as a step chart, each groove written oncethe separated drumsa first try, not yet measured
the sung melodythe separated vocals73% of the notes start on the right sixteenth
the words under the melody, a syllable a notethe song's lyrics (Japanese and English)83% (Japanese) and 72% (English) of the notes start on the right sixteenth

The words. Before it converts, Lily# Studio asks whether to fetch the song's words from LRCLIB, a free, open lyrics database, and only when you say yes. It is the only site anything goes to, and it gets only the song's title and artist (the recording's tags, else its file name), its length in seconds, the words you type to search for it, and Orecchiante's name and version (its User-Agent). You choose among the songs it finds (a cover or a live take is a different entry), search again with other words, give a file of your own (.lrc, or a .txt with a line per line), or go on without words. Lay the words on the melody and Lily# Studio can sing them, too.

Like the chords, these are drafts to correct by ear — the way you would copy a song by hand, only faster.

06

The band, one part at a time

While it reads the chords, the converter also takes the recording apart. Six parts are written beside the chart — vocals, guitar, piano, other, bass and drums — and each gets a line in the preview's mixer, with a switch, a fader and a pan knob.

  • Hear one part alone. Turn the others off, or press its S: the bass line you are trying to work out, with nothing over it.
  • Take one part out. Turn off the part you play, and the rest of the band is your backing track.
  • Bass players: an octave up. Low notes are hard to tell apart. Octave raises the recording an octave, at the same speed, and the line is suddenly easy to hear.
  • Nothing is lost when all are on. With every part on and every fader at 0dB you hear the original recording itself, not the parts added up again.

The separation is done by a published model, on your machine. It is good enough to hear a line and to practise against; it is not a clean studio stem.

07

Practise with the record

Because the chart knows when each bar begins in the recording, everything the preview does with a score it does with the record too.

You want toDo this
start from a placeclick the bar; Play starts there
repeat a passageselect its bars and turn Repeat on — with a bar of count-in before each round, if you like
slow it downthe Tempo key's fader, down to half speed; the pitch stays where it was
play it in another keywrite transpose in the chart: the chords change, and the recording is shifted to match
hear one bar againAlt+M plays the bar the caret is in, with the recording
hear the chart against the recordturn both on: the chart's chords, or any part you add to it, sound with the recording, bar for bar

The chart follows the band, not a metronome: each bar of the chart is stretched or squeezed to the bar of the recording, so a drummer who pushes the chorus stays in step with the page. More on practice playback →

08

A chart that is yours

What the converter writes is an ordinary Lily# file: the chords, bar by bar, under their section names, and the staves it could read under them — and everything Lily# Studio does is open to it.

For rehearsal

Print it as a PDF. Rename the sections Verse and Chorus. Add guitar or ukulele diagrams over the names, or a capo. Chords and chord diagrams →

To build on

Add the melody, the words, a bass line or the kicks the band must hit — by hand, or by asking AI. The chart becomes a lead sheet, then a score, from the same file.

To share

Export as MP4 writes the chart with the recording in it, each chord name lit while it sounds. WAV and MP3 take the recording too, with the parts as you set them.

A chart you already have

Attach Audio… ties a recording to a chart you wrote yourself, so it plays with yours. And if you convert a song you have already charted, the new reading can be written beside yours, to compare.

The recording itself is never copied or changed, and nothing about it is written into the chart: a small file beside the chart remembers where the recording is and when each bar begins.

09

What to expect

Measured on 100 studio recordings of pop songs with a band and singing (the RWC Popular Music Database):

It gets rightHow often
the bar lines94%
the chord's root (the C of Cm7)87% of the time
the root, and major or minor82% of the time
  • It is a first draft. Roughly one chord in six has the wrong root or the wrong major or minor. The finer colours — sevenths, ninths, altered notes — need your ear more often still.
  • Not yet handled: songs whose tempo changes a great deal, and bars with no chord at the start of a song.
  • The notes are rougher than the chords. The bass line, the drums and the melody are a start to correct, not a transcription to print as it stands (the numbers).

10

What you need

  1. Windows (x64) or macOS (Apple silicon or Intel), and Lily# Studio.
  2. The Orecchiante extension (Orecchiante Music Transcriber on the Marketplace), which holds the reader and its models. Lily# Studio has the menu; the first time you choose Audio (MP3, WAV, …)… or Convert Audio to Lily# (.lys)… without it, you are offered the install. Orecchiante is free and open source, under the Apache License 2.0 (its repository), and a separate program, as Cantoria is for singing.
  3. A recording of five seconds or more: MP3, WAV, FLAC, M4A, MP4 or AAC, and WMA on Windows.

A three-and-a-half-minute song takes under a minute on a fast PC, longer on a slower one. The score, the small file of bar times and a folder of the six parts are written to the folder you choose; the parts of a five-minute song take a few tens of megabytes.

The music is someone's. Working out a song for your own practice is one thing; publishing a chart of it, or a video with the recording in it, is another, and needs the rights holder's leave. The piece in the example above was written for this site.