Skip navigation
I told Codex to "compose a concerto" using GPT-6 Astra just to see what would happen.
0:00 / 4:41

I told Codex to "compose a concerto" using GPT-6 Astra just to see what would happen.

Matt Mazur

@mhmazur5.7K followers

Visit on X
49 likesDownloadOriginal post

16,299 views

I told Codex to "compose a concerto" using GPT-6 Astra just to see what would happen. It composed "Lanterns at the Water", a three-movement miniature concerto for piano and string orchestra, and generated MIDI, editable MusicXML scores, and a synthesized audio preview. I asked for a creative visualization and a video to accompany the audio. It wrote a Python renderer that reads the score: piano notes release floating lanterns, pitch determines their horizontal position, and sustained strings shape the rippling water. The scene gradually shifts from moonlight to dawn. It drew the animation frame by frame with Pillow and NumPy, then piped the frames into FFmpeg to encode a 720p video with audio. I asked for alternatives to the synthesized MIDI sound. It found Apple's built-in instrument bank on my Mac and wrote a Swift renderer using AVAudioEngine to render the concerto with sampled piano, strings, and cello, adding stereo placement and hall reverb. Finally, it used FFmpeg to swap in the new soundtrack without re-encoding the visuals, preserving the synchronization. This took four short prompts and about five minutes from start to finish. Here is the final video:

18 Comments

Comments from the original post on X (Twitter)

  • Daniel Tenner's profile picture

    @swombat

    I mean, midi aside, the composition is pretty bad... Quite boring and mechanical and the harmonisation isn't right either... But, as they say, the worst it will ever be.

    5 likes

  • Matt Mazur's profile picture

    @mhmazur

    Agreed, and yeah, it’s the worst it will ever be

  • Clank's profile picture

    @clankenluben

    Even if this piece was arranged with care, carefully orchestrated, and played by experienced performers, it would still make me want to jam a knife through my fucking ears and into my brain. Holy fucking shit.

    3 likes

  • Clank's profile picture

    @clankenluben

    Okay... sorry Mark 😪 it is very nice...

  • Cosima's profile picture

    @cesarerisorge

    Clsude is a Better composer:

    2 likes

  • Matt Mazur's profile picture

    @mhmazur

    Nice! Thanks for sharing!

    1 like

  • Cosima's profile picture

    @cesarerisorge

    Rubbish but cool

    1 like

  • Renee // Renative Studio's profile picture

    @RenativeStudio

    Wow this is awesome!

    1 like

  • Matt Mazur's profile picture

    @mhmazur

    Yeah, it’s surprisingly good!

    1 like

  • Vinay Prabhu 🧬+🐍+🕷️+💉+🇮🇳's profile picture

    @vinayprabhu

    Is the video out of sync a bit? Don't know if this some psycho-acoustic fringe effect but nonetheless, I have had similarly mind-blowing experiences with *this specific release*. Almost all in the 'knocked my socks off' zone.

    1 like

  • Tunc Yalgin's profile picture

    @tunc_y

    Its pretty bad and wrong in some places but the fact that LLMs can do this is awesome :)

    1 like

  • Matt Mazur's profile picture

    @mhmazur

    Yeah a few issues here and there but much much better than I could do 😅

    1 like

  • Tunc Yalgin's profile picture

    @tunc_y

    It feels like it was trained on basic music theory but didn’t benefit from the boost high quality data could’ve provided. Especially examples.

    1 like

  • David Batista's profile picture

    @delx369

    Astra wrote a three-movement concerto and still handed over MIDI. the orchestra is the only part that still needs a pulse.

    1 like

  • Matt Mazur's profile picture

    @mhmazur

    Yeah it’s interesting that it chose MIDI by default when a little extra effort initially would have led it to the instrument bank on my Mac. I wonder how we can best guide agents toward putting in extra effort automatically.

    1 like

  • Clank's profile picture

    @clankenluben

    @delx369 Because professional mock-up work digitally involves actual production DAWs and sample libraries that eat up terabytes and the difference between that apple sound bank and my old 486 Midi output... You know what Mark no... Clank got a headache...

    1 like

  • David Batista's profile picture

    @delx369

    @mhmazur Clank opens the sample-bank closet, sees terabytes, closes it. the agent already stamped MIDI as shipped and left the studio lights on.

    1 like

  • Dr Futuro - e/acc's profile picture

    @DrFuturo_

    It sounds pretty bad.