Reader small image

You're reading from  Hands-On Music Generation with Magenta

Product typeBook
Published inJan 2020
Reading LevelExpert
Publisher
ISBN-139781838824419
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Alexandre DuBreuil
Alexandre DuBreuil
author image
Alexandre DuBreuil

Alexandre DuBreuil is a software engineer and generative music artist. Through collaborations with bands and artists, he has worked on many generative art projects, such as generative video systems for music bands in concerts that create visuals based on the underlying musical structure, a generative drawing software that creates new content based on a previous artist's work, and generative music exhibits in which the generation is based on real-time events and data. Machine learning has a central role in his music generation projects, and Alexandre has been using Magenta since its release for inspiration, music production, and as the cornerstone for making autonomous music generation systems that create endless soundscapes.
Read more about Alexandre DuBreuil

Right arrow

Continuous latent space in VAEs

In Chapter 2, Generating Drum Sequences with the Drums RNN, we saw how we can use an RNN (LSTM) and a beam search to iteratively generate a sequence, by taking an input and then predicting, note by note, which next note is the most probable. That enabled us to use a primer as a basis for the generation, using it to set a starting melody or a certain key.

Using that technique is useful, but it has its limitations. What if we wanted to start with a primer and explore variations around it, and not just in a random way, but in a desired specific direction? For example, we could have a two-bars melody for a bass line, and we would like to hear how it sounds when played more as an arpeggio. Another example would be transitioning smoothly between two melodies. This is where the RNN models we previously saw fall short and where VAEs comes into play.

Before...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Music Generation with Magenta
Published in: Jan 2020Publisher: ISBN-13: 9781838824419

Author (1)

author image
Alexandre DuBreuil

Alexandre DuBreuil is a software engineer and generative music artist. Through collaborations with bands and artists, he has worked on many generative art projects, such as generative video systems for music bands in concerts that create visuals based on the underlying musical structure, a generative drawing software that creates new content based on a previous artist's work, and generative music exhibits in which the generation is based on real-time events and data. Machine learning has a central role in his music generation projects, and Alexandre has been using Magenta since its release for inspiration, music production, and as the cornerstone for making autonomous music generation systems that create endless soundscapes.
Read more about Alexandre DuBreuil