Skip to content

Thesis

Deconstructing Mozart: A GAN-style Approach to Raw Audio Processing and Generation

View the full text

Abstract

We propose a new system for raw audio processing and generation which combines the success of Generative Adversarial Networks (GANs) and WaveNet, a generative model created by DeepMind. This system will generate piano music using only sample piano audio files that are given to it. The use of GANs together with raw audio, rather than derived features, makes this project unique in the realm of machine learning. Most previous works that compose music through artificial means utilize representations of music, rather than raw audio, due to computational complexity, and previous works that use GANs often solve the problem of image synthesis. Current progress of the fully implemented system with WaveNet and GANs are able to nearly mimic the frequency domain characteristics of the inputted data.

Key takeaways

One of the most important graphs from the paper is pictured below - the spectra of the generated waveforms over iterations of the learning algorithm.

Single-sided amplitude spectrum over GAN iterations: later iterations concentrate at lower frequencies

As we can see, the audio produced by early iterations is evenly distributed over a large range of frequencies. However, after 700 - 900 iterations, we see that the learning algorithm produces audio that converge to lower frequencies. These lower frequencies are more characteristic of actual piano music (whereas higher frequencies tend to be interpreted by the ear as noise).

Unfortunately, the tendency was to produce just one frequency. This appears to be a frequency-domain version of the mode-collapse problem that occurs so frequently with Generative Adversarial Networks. The paper continues by proposing a number of solutions to this problem in the frequency spectrum. While the system was not ultimately successful in creating a piano-like waveform, it does show promising steps towards a feasible generative system.