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
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 2: The opening and first vocal passage, with the singer and trumpet together.
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.