Music & Tech & Posts by José Luis Miralles

ChopAIn: His Nocturnes According to AI

Introduction

In this post, I decided to test and compare different generative audio AIs with some very simple tasks.

I asked them to:

  • Create a nocturne in the style of Chopin
  • Create a Chopin nocturne played by a progressive rock band
  • Create a Chopin nocturne in the style of Bach
  • Create a Chopin nocturne in the style of a classical Indian raga
  • Create a Chopin nocturne as if it were an opera

For all the AIs, I used the same prompt (in English) — the simple phrases above — to test their ability to recognize a composer’s style. I deliberately avoided crafting a more complex prompt where I would describe the characteristics of the composer myself. Some of these AIs also offered advanced options, but I chose not to use them, as the goal was to compare them “out of the box.”

The objectives were, on the one hand, to see if the AIs could recognize what a Chopin nocturne is and create an audio file where the characteristics of these pieces were recognizable, and on the other hand, to explore the interactions between the understanding of a Chopin nocturne and other styles.

For example, the use of a progressive rock band (a genre known for many “covers” of classical music) was to see how it could merge both styles.

Bach was one of Chopin’s influences, so I wanted to observe how the AI would “blend” Chopin’s style with that of an older historical period—essentially, an anachronistic experiment.

With the Indian classical music raga, the aim was to see how the AI mixed styles from different cultures.

And with the opera, the idea was to analyze how it handled transforming an intimate pianistic genre into a grand orchestral one (with the hope of seeing how Chopin’s lyrical piano writing would be translated into sung voices).

The AIs that were compared are:

  • LimeWire
  • MusicGEN (Meta)
  • MusicFX (Google)
  • StableAudio (Stability)
  • Suno
  • Udio

As you can see, I prioritized models from major companies (Meta, Google, and Stability) and then included LimeWire (due to its historical background, which could prove interesting) as well as Suno and Udio (as examples of commercial models that have been emerging recently). There are some other commercial examples (such as Beatoven and Aiva), but these generally generate results quite similar to those produced by Suno.

Chopin Nocturne (in the style of Chopin)

In this first series, we come face to face with what each AI understands about what Chopin is.

MusicGEN

Since I wasn’t sure about the limitations of the version and didn’t want to run out of “credits” for free creations, on the first try I generated a short one (20 seconds), and then I used other prompts to request longer versions (50 seconds). For that reason, there are two examples for each in MusicGEN: one “short” and one “long.”

Short

Not bad at all:

  • the piano is recognized as the main instrument.
  • Although the melody seems unsure of where to go, the cadential “ornaments” and “chromaticism” typical of Chopin do appear.

Long

Once again, Chopin is quite recognizable due to the same characteristics already described. We have more dotted rhythms, and the accompaniments are also relatively Chopin-like. In the middle, there is a rather “dizzy” moment without direction, and it seems like there is some orchestral sound in the background.

LimeWire

Right from the start, the type of chosen timbres is quite confusing. Moreover, Chopin is nowhere to be found (except maybe at 0:08).

Suno

Suno actually creates two versions for the same prompt, which is why there are two examples for each case in Suno.

Version 1

Seriously? Einaudi? Yiruma? Chopin is nowhere to be found.

It definitely has a commercial finish on several levels:

  • This certainly sounds more like a real piece compared to the previous examples.
  • There is a more or less present structure with its climax (around the 3-minute mark).
  • The music it generates is more “commercial” in style than what I asked for: Chopin.

Versi0n 2

We’re still in the same place… Neo-classical new-age. There’s even a sound entry (just before the first minute) of… a mini string orchestra? A synthesizer?

Stable Audio

The sound is still “tinny,” but there’s more Chopin here than in the previous Suno examples. The melody is accompanied, but the harmonic progressions aren’t in his style. There’s more chromaticism in the harmony than in the melody, although there are glimpses of attempts at a Chopin-like melody.

MusicFX

With MusicFX, two versions are also created by default.

Version 1

Maybe if I had asked for Satie, it would have fooled me.

Version 2

Here there’s “a bit more of Chopin,” although it sounds like the soundtrack to a romantic movie from the first half of the last century. But it still has the same timbre as before, with plucked strings.

Udio

Udio also creates two versions by default.

Version 1

Here we do get a sense of Chopin, although somewhat unfocused, as if he were improvising rather than playing a clearly defined piece. However, the atmosphere, accompaniment, progressions, and melody; practically everything is Chopin.

Version 2

Surprise! The right hand is a cello! Though perhaps what impresses me most is how the model has internalized the (physical) breaths of the cellist as part of the music, and you can hear them at different moments. And while it breathes more often than would normally be expected, it does so in places where it would naturally occur (at the end of some phrases or just before the start of new impulses).

Chopin Nocturne played by a progressive rock band

Now that we know what each AI understands as Chopin, let’s see how successful (or unsuccessful) they are in transforming Chopin into a cover by a progressive rock band.

MusicGen

Short

We arrive right at the climax and the end of the piece. The problem is that Chopin is missing. It’s definitely a progressive rock band, and we even have that typical “final coda” often used.

Long

This is darker (nocturnal?). It gets interesting around the 0:20 mark, and although it falls into a bit of a loop, you can faintly hear some timidly Chopin-esque “cries.”

LimeWire

Once again, we’ve reached the end of the piece. Could it be that for many AIs, the most significant aspect of progressive rock is these improvisation/transition moments between tracks? Perhaps in the final chord progression, you can vaguely sense some typical Chopin cadential process, but I think it’s more because I’m looking for it than because it’s really there.

Suno

Version 1

Neither you nor I were expecting what was going to happen after 0:10. Yes, it’s our first truly “cantabile” nocturne, but not in the style we were expecting. Once again, the ending is well done as a piece, but it belongs to another genre.

Version 2

A bit more “screamo” added, but it follows the same path as before.

Clearly, the progressive rock genre has completely swallowed up Chopin.

Version 3

Although the first notes seem to promise a departure from progressive rock, it feels like we’ve ended up with something more akin to Evanescence and similar bands.

Version 4

Yes, I got a bit carried away and accidentally hit the button a few more times, which is why I ended up with four versions. But hey, in this one, the lyrics are about the piano and the “moon.”

Stable Audio

If I had asked for Bach in progressive rock, maybe…

MusicFX

Version 1

Everyone seems to be waiting for the guitarist to finish his solo, but it looks like he’s lost and doesn’t know where he’s going. Maybe he was trying to create more Chopin-like melodies while keeping the more static harmony typical of rock?

Version 2

I think I’ve heard this guy playing on the street near my house!

Udio

Once again, I got a bit trigger-happy—I thought they weren’t created, but they were, and I ended up with four versions. But it was worth it!

Version 1

We’ve got the rock band, a melody on the synthesizer that “wants” to do something, but the static nature of the harmony won’t let it.

Version 2

Goodbye to the rock band. A somewhat angrier Chopin has returned. The moment at 0:11 is quite Chopin-like (and the AI liked it so much that it repeated the motif once more—it would feel proud). At 0:17, there are also some Chopin-esque elements. And at 0:29, the repeated notes are very interesting (I can perfectly imagine the pianist’s hand gesture here). But hey! We already know you can do Chopin in Chopin’s style—now we want Chopin in a rock version!

Version 3

It starts with Chopin, but gradually becomes more “Scriabinesque.” And what’s that at 0:10? Quite interesting and even a bit foreshadowing. At 0:15, we realize the pianist was actually Uri Caine, and by 0:21, it seems like it’s trying to create something “nocturnal” (in the dark sense) with octaves in the bass.

Version 4

Chopin meets Gershwin! Still not rock, but in the repeated notes starting at 0:30, you can sense how the “pianist” makes a wrist gesture, accentuating the second note.

Chopin Nocturne in the Style of Bach

MusicGen

Short

Put in an organ sound and it’s Bach? It seems that’s enough for this AI. However, this Chopin feels more like the one from his orchestral works than from his nocturnes.

Long

Once again, Chopin is quite recognizable (with some fragments almost “copied”). I’m not sure if the AI understands the Baroque style as simply “adding more ornamentation,” because that’s what it seems like.

LimeWire

Completely lost.

Suno

Version 1

Here, I decided to use the “instrumental music” option, since for Suno, music includes a vocalist by default unless specified otherwise. But neither Chopin nor Bach are present. It seems the AI “assigns a style,” like contemporary minimalist neo-classical, and sticks to that, regardless of the words Chopin or Bach.

Version 2

Same thing again, it could be something more like a “prelude” at the beginning, but the AI veers off course. Yes, it wants to show its ability to understand form and variation based on a generative element. But that’s not the game we’re playing today.

Stable Audio

Bach for Halloween? It could work as the intro to a Tim Burton movie—it comes pretty close!

MusicFX

Versión 1

It seems this AI has been trained with a lot of MIDI music and doesn’t have much skill in generating sound textures that match the request. We’re still stuck with plucked strings, but neither Bach nor Chopin (unless we make a huge effort to find any resemblance to them).

Versión 2

A very simplistic version of Studio Ghibli soundtracks, but with no trace of Chopin or Bach.

Udio

Version 1

We start in the climax of a section with dotted rhythms and octaves, accompanied by something quite Chopin-esque. At 0:07, there’s a cadential transition clearly inspired by Chopin (but remember, we’re looking for Bach’s influence, which still hasn’t appeared). Then, at 0:15 (despite the ornamentation at 0:17, which is very appropriate within Chopin’s style), we find ourselves with a Disney-like Chopin played by Lang Lang.

Version 2

This is more like Chopin from the Ballades, but instead of Bach showing up, we get a glimpse of Rachmaninoff. Once again, we find elements that seem to add “humanity” to the audio, like the octaves that aren’t perfectly played at the same time at 0:13 (almost 0:14); or how the series of octaves at 0:23 have phrasing and direction (as a good performer would), rather than being played strictly in time as they would be written in the score. Also impressive is the “intelligent” use of the right pedal, holding the resonance of the note from 0:26 until the new melody enters at 0:30, and only then changing the pedal just before the bass of the new harmony comes in. But none of this has anything to do with Bach.

Chopin Nocturne in the Style of an Indian Classical Raga

MusicGen

Short

Indeed, the timbres of the “instruments” are more characteristic of India; however, instead of hearing a raga, it feels more like a bulería.

Long

This example is much better. You can clearly appreciate the blend between Chopin and Indian classical music, as well as the mix of timbres between the piano and sitar. It’s neither one nor the other entirely, but both Chopin and a hint of raga are definitely present in the first five seconds. After that, it starts to get a bit lost with scales going up and down.

LimeWire

I’m starting to think it’s confusing Chopin with Satie, because the Indian part is recognizable, but Chopin seems to be missing.

Suno

Version 1

We’re still dealing with the same issue here. You tell me what the changes at 0:14 or 0:28 have to do with Chopin or ragas. It’s like a music “churro-making” machine, just doing its own thing.

Version 2

The beginning of this piece is exactly the kind that, as a piano teacher for teenagers, when you quietly enter the classroom and your student is already sitting at the piano, you catch them playing.

Stable Audio

Finally! The beginning of Chopin’s Nocturne Op. 48 No. 1, raga style. However, it sounds like it’s being played by someone for whom the piece is a bit too challenging, with missed notes starting at 0:22. Still, it manages to capture the motivic essence of the invention to bring the piece to a close at the end.

MusicFX

Version 1

You’re visiting a big city, and you come across an Indian musician on the street playing some kind of electric sitar. To one side, there’s a speaker with his “minus one” backing track, and on the other, a stack of cassette tapes (yes, cassettes) for sale, with images of landscapes and waterfalls on the covers.

Version 2

After dinner, you walk down the same street as before. 

Udio

Version 1

We hear the piano—it could be Chopin—but the space left between the notes, the idea of exploration in that descending scale, has an air of raga.

Version 2

Although the first notes transport us to Rachmaninoff’s Suite No. 1, Op. 5, from 0:03 we return to Chopin, with a nod to Gershwin at 0:17. But the raga is completely absent.

Opera in the Style of a Chopin Nocturne

MusicGen

Short

It could be somewhat operatic (you can distinguish the “solo voice” from the “orchestral apparatus”), and although the first few seconds don’t lead anywhere, from 0:13 onward (though very blurred), you can discern some Chopin-like melodic turns.

Long

We arrive in the middle of the action. Two characters are in conflict (we can distinguish them), and the orchestra provides dramatic accompaniment in a typical 3/4 operatic style. A Chopin-like melodic twist appears at 0:12 and in other scattered fragments. At 0:52-0:53, we hear the high note from the singer in this section.

LimeWire

Who on earth convinced me to choose this AI for this comparison?

Suno

Version 1

Neither Chopin nor Opera—but we’ve got a musical! At least the lyrics are related to elements of the night.

Version 2

Once again, it chooses its own style and sticks with it, regardless of the request.

Stable Audio

We are clearly in the dramatic soprano’s aria, with orchestral accompaniment in 4/4 (with a rest on the third beat). However, the melodies are not in Chopin’s style.

MusicFX

Versión 1

Completely off from everything that was requested.

Versión 2

It remains exactly the same.

Udio

Versión 1

We’re still with the piano, but perhaps the exaggeration of the melody stems from having requested “opera”? In some passages, the pianist definitely needs to articulate a bit more, as the notes are getting muddled together.

Versión 2

A calm Chopin, but an Opera that’s nonexistent.

Conclusions

And as a final bonus experiment, we asked Claude 3.5 to provide its conclusions on the experiment based on all the previous outputs. The conclusions were quite accurate, and we only made slight adjustments to a couple of lines.

Conclusions by Model:

MusicGEN:

  • Shows a relatively good understanding of Chopin’s style across several categories.
  • Achieves moderate success in blending styles, especially in the category of Chopin with Indian raga.
  • Its results improve in the “long” versions, suggesting that it benefits from more time to develop musical ideas.

LimeWire:

  • Has the worst overall performance, with results that rarely match the request.
  • Struggles particularly to interpret and combine different musical styles.

Suno:

  • Tends to produce music in a more commercial or contemporary style, regardless of the request.
  • Shows some ability to create coherent musical structures but often ignores the specific styles requested.

Stable Audio:

  • Offers mixed results, with some notable successes (such as in the category of Chopin in the style of Raga).
  • Demonstrates some ability to capture stylistic elements, though not always consistently.

MusicFX:

  • Has significant limitations in the variety of instrumentation, often resorting to plucked string sounds.
  • Struggles to produce results that meet specific requests in most categories.

Udio:

  • Excels at generating piano music that captures Chopin’s style, including subtle interpretive details.
  • Shows some ability to blend styles, though it often favors Chopin’s style over others.

Conclusions by Category:

Chopin Nocturne (original style):

  • MusicGEN and Udio deliver the best results, capturing characteristic elements of Chopin.
  • Other AIs tend to produce generic piano music or stray into other styles.

Chopin played by a progressive rock band:

  • Most AIs struggle to effectively merge these styles.
  • Some AIs focus solely on the progressive rock aspect, losing Chopin’s elements in the process.

Chopin in the style of Bach:

  • No successful results were found in this category.

Chopin in the style of a classical Indian raga:

  • MusicGEN delivers the best result in this category, achieving a recognizable fusion of both styles.
  • Most other AIs tend to favor one style over the other or produce something entirely different.

Chopin Nocturne as if it were an opera:

  • MusicGEN and Stable Audio manage to add operatic elements.
  • The rest of the AIs fail to capture operatic elements or keep the music focused on the piano.

Next Post

Previous Post

Leave a Reply

© 2024 BEYOND THE PIANO