2
$\begingroup$

Generative Adversarial Networks can generate realistic photos of people, such as thispersondoesnotexist.com. I wonder whether one can train an artificial intelligence on a batch of plain solo melodies (no instruments) and ask it to produce a new and similar one.

This article suggests the techniques require a lot of work and are still young:

We have explored and evaluated the generation of music using a Generative Adversarial Network as well as with an alternative method in the form of an N-gram model. Our GAN is able to capture some of the structure of single track music. We have accomplished our goal of identifying structural similarities shared across music compositions. However, the music we created lacks coherent melodies and needs improvement.

What is the state of the art in melody generation?

$\endgroup$
2

1 Answer 1

2
$\begingroup$

you do not need ai for that, just a little bit of math / statistics:

audio: https://m.soundcloud.com/user-919775337/sets/algorithmic-reinterpretation

method: https://stats.stackexchange.com/questions/541044/a-new-method-for-processing-music-scores

source code: https://github.com/githubuser1983/algorithmic_python_music/blob/main/12RootOf2.py

$\endgroup$
2
  • $\begingroup$ Although the method is interesting and intriguing, it generates a new melody from a single melody, not from multiple melodies. $\endgroup$
    – emonigma
    Commented Sep 1, 2021 at 12:48
  • 2
    $\begingroup$ @miguelmorin: It can be easily adapted to mix for example two melodies: soundcloud.com/user-919775337/sets/algorithmic-reinterpretation Please let me know if you are interested in the source code. $\endgroup$ Commented Sep 2, 2021 at 13:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .