Abstract: Deep generative models applied to audio have improved by a large margin the state-of-the-art in many speech and music related tasks. However, as raw waveform modelling remains an inherently difficult task, audio generative models are either computationally intensive, rely on low sampling rates, are complicated to control or restrict the nature of possible signals. Among those models, Variational AutoEncoders (VAE) give control over the generation by exposing latent variables, although they usually suffer from low synthesis quality. In this paper, we introduce a Realtime Audio Variational autoEncoder (RAVE) allowing both fast and high-quality audio waveform synthesis. We introduce a novel two-stage training procedure, namely representation learning and adversarial fine-tuning. We show that using a post-training analysis of the latent space allows a direct control between the reconstruction fidelity and the representation compactness. By leveraging a multi-band decomposition of the raw waveform, we show that our model is the first able to generate 48kHz audio signals, while simultaneously running 20 times faster than real-time on a standard laptop CPU. We evaluate synthesis quality using both quantitative and qualitative subjective experiments and show the superiority of our approach compared to existing models. Finally, we present applications of our model for timbre transfer and signal compression. All of our source code and audio examples are publicly available.
Given the high compression applied to the input waveform when encoded into a latent representation, we demonstrate that RAVE can be used to perform timbre transfer.
original | reconstructed |
---|---|
original | reconstructed |
---|---|
One of the main advantages of using VAEs compared to other generative frameworks is that one can alter the reconstruction of a sample manipulating its latent representation, effectively transforming high-level attributes of the data.
Here, we show how modifying the first two dimensions of RAVE trained on darbouka impacts high-level attributes of the signal. Alteration 1 (resp. 2) has its first (resp. second) dimension set to a ramp linearly increasing from -2 to 2 over time.
Source | Audio |
---|---|
Original audio | |
Reconstruction | |
Alteration 1 | |
Alteration 2 |
We learn the prior distribution of RAVE trained on different datasets with a Wavenet inspired model. This allow to generate 48kHz audio unconditionally faster than realtime on CPU. Stereo generation is obtained by decoding two latent trajectories sampled from the same posterior distribution and mapping the obtained signals to the left and right channels.
Dataset | Generation |
---|---|
Darbouka (stereo) | |
VCTK (mono) |
We show the influence of the fidelity parameter f on the reconstructed samples.
original | f: 0.99 | f: 0.9 | f: 0.8 |
---|---|---|---|
original | f: 0.99 | f: 0.9 | f: 0.8 |
---|---|---|---|
original | f: 0.99 | f: 0.9 | f: 0.8 |
---|---|---|---|
original | f: 0.99 | f: 0.9 | f: 0.8 |
---|---|---|---|
SOON AVAILABLE
WARNING - POTENTIAL BREACH OF ANONYMITY
Since its release, RAVE has been used by several artists all around the world to create original pieces, and we report some of their creations.