[Paper Review] Assisted Sound Sample Generation with Musical Conditioning in Adversarial Auto-Encoders
This paper proposes WAE-Fader, a lightweight, non-autoregressive generative model based on Wasserstein Auto-Encoders with musical conditioning via FiLM and adversarial training to enable real-time, expressive sound sample generation. It learns disentangled, continuous style controls for orchestral timbres and playing techniques, allowing intuitive mixing of attributes through latent space manipulation and enabling real-time DAW-integrated audio synthesis via a plugin.
Generative models have thrived in computer vision, enabling unprecedented image processes. Yet the results in audio remain less advanced. Our project targets real-time sound synthesis from a reduced set of high-level parameters, including semantic controls that can be adapted to different sound libraries and specific tags. These generative variables should allow expressive modulations of target musical qualities and continuously mix into new styles. To this extent we train AEs on an orchestral database of individual note samples, along with their intrinsic attributes: note class, timbre domain and extended playing techniques. We condition the decoder for control over the rendered note attributes and use latent adversarial training for learning expressive style parameters that can ultimately be mixed. We evaluate both generative performances and latent representation. Our ablation study demonstrates the effectiveness of the musical conditioning mechanisms. The proposed model generates notes as magnitude spectrograms from any probabilistic latent code samples, with expressive control of orchestral timbres and playing styles. Its training data subsets can directly be visualized in the 3D latent representation. Waveform rendering can be done offline with GLA. In order to allow real-time interactions, we fine-tune the decoder with a pretrained MCNN and embed the full waveform generation pipeline in a plugin. Moreover the encoder could be used to process new input samples, after manipulating their latent attribute representation, the decoder can generate sample variations as an audio effect would. Our solution remains rather fast to train, it can directly be applied to other sound domains, including an user's libraries with custom sound tags that could be mapped to specific generative controls. As a result, it fosters creativity and intuitive audio style experimentations.
Motivation & Objective
- Develop a fast, lightweight generative model for real-time audio synthesis that supports semantic control over musical attributes such as timbre, playing technique, and pitch.
- Address the lack of interpretable and controllable representations in existing audio generative models, especially for non-visual domains like music.
- Enable intuitive, fader-like mixing of multiple audio styles through continuous, disentangled latent variables learned from musical attributes.
- Provide a system that can be fine-tuned for real-time waveform generation and integrated into digital audio workstations (DAWs) for live performance and sound design.
- Extend the model to user-specific sound libraries by mapping custom tags to generative controls, enabling personalized audio synthesis.
Proposed method
- Train a Wasserstein Auto-Encoder (WAE) on Mel-spectrogram magnitudes of orchestral note samples to learn a disentangled, 3D latent representation.
- Condition the decoder using Feature-wise Linear Modulation (FiLM) to explicitly control note attributes such as pitch class, timbre domain, and extended playing techniques.
- Introduce a Fader latent discriminator to enforce attribute-invariant latent representations, promoting disentanglement and enabling continuous mixing of style controls.
- Use adversarial training to improve the expressiveness and disentanglement of style variables in the latent space while preserving reconstruction quality.
- Fine-tune the decoder with a pretrained Mel-spectrogram inversion network (MCNN) to enable real-time waveform generation from latent codes.
- Embed the full pipeline into a PureData plugin using LibTorch, enabling MIDI mapping and live DAW integration for interactive sound design.
Experimental results
Research questions
- RQ1Can a lightweight, non-autoregressive auto-encoder model learn disentangled, continuous style controls for orchestral sound samples using musical conditioning?
- RQ2How effective is adversarial training with a Fader discriminator in promoting attribute-invariant latent representations while enabling accurate attribute-conditional generation?
- RQ3To what extent can the learned latent space support intuitive, fader-like mixing of multiple musical attributes (e.g., timbre and playing technique) for hybrid sound effects?
- RQ4Can the model be adapted to user-specific sound libraries by mapping custom tags to generative controls without retraining from scratch?
- RQ5How well does the waveform reconstruction quality compare between Griffin-Lim and a fine-tuned neural inversion network in real-time settings?
Key findings
- The WAE-Fader model achieves high-quality reconstruction of Mel-spectrogram magnitudes with a test reconstruction loss that remains low, indicating strong generative performance.
- The ablation study confirms that musical conditioning via FiLM and adversarial training significantly improves attribute-conditional generation, outperforming baseline models without conditioning.
- Latent space visualization reveals clear clustering of attributes (e.g., timbre, playing technique) in the 3D latent space, validating disentanglement and interpretability.
- The model enables continuous mixing of style variables, allowing users to create hybrid timbres and effects by adjusting latent controls like faders.
- Fine-tuning the decoder with MCNN yields waveform quality nearly matching Griffin-Lim, enabling real-time audio rendering suitable for live performance.
- The plugin implementation supports real-time MIDI mapping and DAW integration, enabling interactive, expressive sound design with low-latency response.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.