
On the afternoon of Saturday 14 November I heard Giovanni Ghizzani play a solo piano set at Club del Disco in Barcelona. Before one of his songs he told us it had been inspired by the city’s cockroaches, and that it is not their fault people don’t like them. I went home wanting to write music about the animals in our own city, so I started that evening. Five days later I had a complete jazz suite: four pieces, four short films, the scores, and a website in Catalan, English, and Spanish.
I have always played music and dabbled in creative uses of technology. I had never written or recorded anything serious, and I have no studio. But I had access to a harness, an LLM, and a whole lot of open source software. That made all the difference, and it is why I am writing a series of posts about it.
Four postcards
The suite is called Postcards of Barcelona. Each piece is a postcard of one place, told through the creature that lives there, and each is coloured by the voice of a Barcelona musician:
- Seagulls of Port Vell: an alto sax in the old harbour, with Tete Montoliu‘s bebop in the piano and a touch of rumba catalana.
- Cockroaches of the Eixample: a kitchen at night in the spirit of Iceberg, the 1970s Barcelona jazz-rock band, with the cockroaches’ feet as percussionists.
- A Rat in Sants: a baritone sax ballad after Federico Mompou, as one rat observes people come and go in the road outside the station just after midnight.
- Pigeons of Plaça Catalunya: clarinet and flute in five-four, settling into El cant dels ocells, the Catalan song Pau Casals always played at the end of his concerts in exile.
One tune runs through all four. I called it people going around town, and it changes with the neighbourhood: a bebop line for the seagulls, a chopped Phrygian riff for the cockroaches, a tired waltz of late-night passengers for the rat, and a five-beat strut for the pigeons.
The whole project was managed like software: in a git repository, so I know exactly how the five days went. The first commit landed at 21:41 that Saturday. Three pieces were drafted by half past one on Sunday morning and the fourth by mid-afternoon. The website went live that evening. Evenings Monday to Wednesday went on the films. The final renders went up on Wednesday night, 335 commits after the first. The following Tuesday, one more session gave the recordings the sound of a studio, and the films went back up with it.
The whole stack
When working with AI assistants, the model tends to get all the attention. In this case, it was just one layer among many, all equally essential:
- the harness: an AI agent running in my terminal, which drives an LLM and control my laptop, including installing software, run commands, read the results, and try again;
- the model: the LLM that proposed actions, wrote code, and worked out what I meant;
- notation: LilyPond, which turns music written as text into printed scores and MIDI;
- sound: FluidSynth for quick renders while composing, and sfizz, a sampler built from source, playing open sample libraries, from the Philharmonia Orchestra’s woodwinds to saxophones from Universitat Pompeu Fabra’s Music Technology Group;
- the studio: ffmpeg and a mixing script the agent wrote, for every mix and every loudness measurement, and in the end a studio of their own: a channel strip on each instrument, one room for the whole band with room mics placed where the players stand, the small noises real players make (breaths, key clicks, the piano’s pedal), and a touch of tape;
- pictures: three.js to draw each frame in a browser, Remotion to turn the frames into films, OpenStreetMap and national elevation data for the city, and openly licensed 3D models for the creatures, the people, and the props.
Almost all of it is open source, and most of it has been around for years. What was missing was a way for one person to wire it together without a degree and decade’s experience in each trade. The harness helped do the wiring: it installed the tools, compiled the sampler, found the libraries and models, checked their licences, and wrote the glue between them. My part was knowing what I wanted from each layer, and judging what came out. I think this is where the interesting work is now: pointing a collection of mature, open tools at an interesting problem you couldn’t have taken on alone, with an agent to help join them up.
Composed, not generated
There are AI models that will write you a jazz track from a sentence. I did not want that. The project had one rule from the first night: composition, not generation. Every note is written as text, and every note was either chosen by me or suggested by the agent and then accepted by me. Scripts are used to change how the written notes sound, never which notes are played. And the films follow the same rule: I sketched each postcard, developed its form, listened and watched every section, and decided what stayed, what changed, and what went.
Why I think this is worth reading
I think of this as evidence for something I have argued here before: as AI absorbs the execution, the scarce input becomes ambition: knowing what to aim the capacity at, and holding the bar. I have no formal training as a composer, a sound engineer, or an animator. I had a clear picture of what I wanted, the taste to tell when I had it, and the appetite and patience to try.
Most of what I read about AI and creativity is about generation: type a prompt, get a song. That route can produce relatively competent, average work, with none of you in it. The route I took allows you to put yourself in it, and also leaves you knowing more than you went in. I now understand metric modulation, voicings, and stage placement in a mix, and why a band only sounds like a band once its players share a room. On the film side I learnt where to put a camera and when to move it, how to light a night street, how a colour grade holds four films together, and how a 3D scene is set up, from a camera’s position and lens to the sun’s azimuth. Nobody becomes a centaur by delegating the thinking.
The series
Over the next week and a half I will take the project apart, one lesson per post:
- I Composed and Filmed a Jazz Suite in Five Days (this post): the story, the stack, and the results.
- Composition, Not Generation (Wed 2 December): the one rule, and why refusing the shortcut made the work better and mine.
- One Section at a Time (Fri 4 December): the working loop of draft, measure, listen, and decide, and what only a person can judge.
- Four Films of a Real Barcelona (Mon 7 December): open data, open models, and the score driving the picture.
- What a Jazz Suite Taught Me About Exploring With AI and Open Source (Wed 9 December): the method, and why it travels well beyond music.
Listen first, then read. Each postcard on the site plays its studio recording full screen, with stills from its film moving with the music, and the film and the score are one click away.

The website plays each postcard full screen, with a still from the film for every section of the music.
I went to a concert on a Saturday and came home wanting to write music. A few years ago that wish would have ended on Sunday morning, for want of a studio, a band, and ten years of training. This time, I created something.
Leave a Reply