Generative Music

Applied Machine Learning in Arts 🎨

Alexandre DuBreuil

What is generative music?

Cat Piano

"Generative art is an artwork partially or completely created by an autonomous system 🤖" - Music Generation with Magenta

But has nothing to do with code!

Back To the Future gif Lets take our time machine and come back to the 18th century.

Mozart music dice game In 1792, a guy named Mozard created the Musikalisches Würfelspiel (musical dice) game.

The result of a dice roll determines which measure to add to the generated composition

The system is autonomous, because you don't decide the outcome

That's it, that's generative music

So basically the system is working for (with) you to reach a common goal: great music

But the result is as good as the system that creates it 😬.

Fast forward in time (today!)

Time Swirl

Disney Books gifs Back in 2021, we're sitting on a pile of theorical knowledge about music, and lots of technology.

Generative Music Artists

Brian Eno, who coined the term "generative music", who created numerous infinite albums

Esoteric Languages

ORCA, one of many (esoteric) langages created for generative music.

Electronic Music Scene

Algorave, an underground music scene where the music is live-coded in front the audience (hence its name).


More information: Meet the female coders pushing electronic music into the future

As musicians

We have generative music tools to help us compose, produce, improvise, etc. 🚀

Limitations of algorithms

Algorithm gifs

Climat General (2017)

Claire Malrieux / Alexandre DuBreuil (skip to 11:00)

This generative artwork makes a relation between climate events (rain, tornados, etc.), the artist's drawings, and the music.

How generative can we go?

Generative text, generative voice, generative score (partition), generative audio, generative emotions!? 🤯

Using classical algorithm is HARD

Some things are hard to do using traditional algorithm like text generation, voice generation, audio generation, etc. So we need a way of training a machine on human data...

Machine learning to the rescue!

Robot gifs With machine learning, you can use human data, and let the machine predict / generate based on what it has learned.

DreamBank (2019)

Claire Malrieux / Alexandre DuBreuil (skip to 10:50)

The machine tells us about its dream: "The street of the dream, interpretation too, I was very surprised that first I had..."

DreamBank Generative System

Dreambank dude on the floor We go "full generative": generative dream text based on human dreams, analysing sentiments (sad, happy, etc.) of the text, generating speech, generating musical score...

Using neural nets for generating partitions

Music Generation with Magenta drumsrnn example

Generating score based on style (rock, jazz, classical, etc.), emotion (sad, happy, etc.), instrument (drum, piano, etc.). With different neural networks (Recurrent Neural Networks, RNNs).

Using neural nets for generating audio

Music Generation with Magenta gansynth example

Generating audio is HARD, but we can generate sounds
based on cat meow!

Neural networks everywhere

Neural Nets all the things Will neural networks take over the world?

No.

Remember: the generated music is only as good the generative system! And a generative system only reproduces what it knows.

Closing

Music Generation with Magenta

Music Generation with Magenta book cover Explore the role of deep learning in music generation and assisted music composition

Slides & More: alexandredubreuil.com/conferences

Thank you!