KODI (Until When?) album artwork for The Limited Selection, showing a vintage jazz club scene with a trumpet player, singer, and the band's name.

The finished 29-second jazz recording by The Limited Selection.

Sometimes a ridiculous sentence deserves its own song. In this case, I was describing the rather limited selection of television shows and films available through KODI when I wrote:

Also the KODI has a highly reduced selection temporally (until when, Iโ€™m not sure)

I thought it would sound good as a jazz number. So I asked OpenAI ChatGPT to turn it into musical notation, initially for trumpet or flugelhorn, and like usual things got a little out of hand. The result is KODI (Until When?), a 29-second jazz song by my entirely fictional band, The Limited Selection. Quite an appropriate name, really!

Making Some Music

The arrangement started with a brass melody before expanding into a small jazz band with piano, walking double bass, guitar, and drums. ChatGPT helped generate Python scripts using pretty_midi and FluidSynth, with the TimGM6mb SoundFont providing the instruments.

I then decided it needed vocals. The first attempts sounded like a computer having a difficult afternoon, so I switched to OpenUtau and the free Nishiren Gard DiffSinger v2.1 voicebank.

The first OpenUtau project crashed with a System.NullReferenceException. After fixing the missing pitch and vibrato data, I finally had something resembling a singer!

Somewhere along the way, the trumpet also disappeared from the arrangement. I had to bring it back because I wanted the brass and vocals performing together, rather than taking turns.

Getting the Notes Right

I also showed some of the early sheet music to someone who actually has skill and can play brass like the trumpet and flugelhorn. Their assessment of the opening two bars was:

those first 2 bars are noted so badly it hurts, iโ€™m sorry

Original KODI (Until When?) sheet music for Bโ™ญ trumpet or flugelhorn, showing the treble-clef melody and its two-sharp key signature before revision.

The original trumpet/flugelhorn score, including the opening bars that earned that feedback.

Well deserved, because there was so much more to do! The notation was corrected, rhythmic groupings revamped, and a quick tidy up the spacing around the key signature. The finished sheet music includes a separate Bโ™ญ trumpet or flugelhorn part, written in D major.

Page 1 of the KODI (Until When?) jazz duet score, showing musical staves for voice and Bโ™ญ trumpet, with notes, lyrics, and jazz chord symbols.

Page 1 of 2: The opening and first vocal passage, with the singer and trumpet together.

Page 2 of the KODI (Until When?) jazz duet score, continuing the voice and Bโ™ญ trumpet notation through the repeated lyrics and closing bars.

Page 2 of 2: The rest of the duet, including the ending.

One Small Problem

After all that work, I noticed Iโ€™d made a mistake in the original sentence. Iโ€™d written โ€œtemporallyโ€ when I actually meant โ€œtemporarilyโ€.

So Iโ€™d managed to compose a jazz number, arrange a backing band, synthesise a singer, before realising Iโ€™d got the lyrics wrong thanks to a typo on Discord. Correcting it would mean adjusting the vocal timing and musical notation, then exporting everything again. For now, the recording still proudly sings the original typo, twice.

At least the trumpet doesnโ€™t need to know how to spell. :)

Tools and Resources

The project was created with OpenAI ChatGPT (GPT-6), Python, pretty_midi, FluidSynth, TimGM6mb, OpenUtau, and Nishiren Gard DiffSinger v2.1. FFmpeg was used for MP3 encoding, while MusicXML was used to prepare the printable sheet music.

The Nishiren singing voicebank was created by Gardanana and is credited in accordance with its terms of service.