AudioLDM 2 icon

AudioLDM 2

Open weights
CUHK & Surrey

AudioLDM 2 is a unified audio generation framework developed by researchers at the Chinese University of Hong Kong and the University of Surrey, capable of producing music, sound effects, and speech from text descriptions within a single model.

Text to Audio

Key Highlights

Unified Audio Generation

Provides versatile audio generation with a universal Language of Audio (LOA) representation that unifies music, sound effects and speech in one model

Multi-Stage Architecture

Combines AudioMAE encoder, GPT-2 language model and latent diffusion model to capture both semantic meaning and acoustic detail

Broad Audio Domain Support

Handles text-to-music, text-to-sound-effect and text-to-speech tasks in a single pipeline without requiring separate specialized models

Benchmark Leader

Achieved state-of-the-art results on AudioCaps and MusicCaps datasets at the time of release, setting a reference point in audio generation quality

About

AudioLDM 2 is a unified audio generation framework developed by researchers at the University of Surrey and other academic institutions, capable of producing music, sound effects, and speech from text descriptions. Building on the original AudioLDM, version 2 introduces a universal audio representation layer that unifies multiple audio types previously requiring separate specialized models into a single architecture. Released in 2023, AudioLDM 2 demonstrated that a unifying approach to audio generation could be successfully implemented.

AudioLDM 2's technical architecture comprises three main components. First is the LOA (Language of Audio) system, a universal audio representation layer based on AudioMAE (Audio Masked Autoencoder). LOA represents music, speech, and sound effects in a shared semantic space, enabling different audio types to be processed by the same model. Second is the conditioning module incorporating CLAP and T5-based text encoders. Third is the latent diffusion model that performs high-quality audio generation from LOA representations. The model generates audio at 16 kHz sample rate and achieves a FAD score of 2.18 on the AudioCaps benchmark, representing a significant improvement over the first version's score of 4.18.

AudioLDM 2's greatest strength is its capacity to generate multiple audio types within a single model. It achieves melody and harmony coherence in music generation, realistic environmental sounds in sound effect synthesis, and natural prosody in speech generation. In terms of FAD metrics, the 2.18 score achieved on AudioCaps outperforms MusicGen's 3.80 score on MusicCaps. The model also delivers competitive CLAP scores, indicating strong text-audio alignment.

AudioLDM 2 finds applications in multimedia content creation, film and video post-production, game sound design, virtual reality environments, and accessibility applications. The ability of a single model to generate multiple audio types simplifies workflows and eliminates the need to load separate models for different audio requirements. In research contexts, it serves as a foundation for new work on universal audio representation concepts.

AudioLDM 2 is available as open-source through Hugging Face. Model weights and inference code are shared on GitHub. Built on PyTorch, it is optimized for NVIDIA GPUs. A Gradio-based demo interface enables quick experimentation directly through the browser.

AudioLDM 2 is a significant research contribution demonstrating the potential of unified architecture in audio generation. Compared to MusicGen and AudioGen operating as separate models, AudioLDM 2 presents an approach that consolidates all audio types under a single framework. This universal approach guides the design of future audio AI systems and reshapes the fundamental architectural paradigms of audio generation.

Looking more closely at AudioLDM 2's technical innovations, the fundamental difference of the LOA (Language of Audio) representation system from other approaches in the field is its ability to encode in a shared semantic space without distinguishing between audio types. This universal representation enables the model to transfer knowledge acquired from different audio types during training; for example, rhythm understanding gained from music training can also be utilized in sound effect generation. The AudioMAE-based encoder creates powerful representations that capture high-level features of audio signals through masked autoencoding. The combined use of CLAP and T5 encoders provides both audio-text alignment and rich text understanding capacity. Through its ability to transition between different audio types, the model can also be used to create mixed audio scenes; for instance, a soft piano melody can be layered over bird sounds in a forest. This flexibility makes AudioLDM 2 a versatile tool in multimedia production workflows, enabling creative sound design that was previously difficult to achieve with single-purpose models.

Use Cases

1

Multimedia Content Production

Generate various audio types including music, sound effects and narration for video projects from a single system

2

Audio AI Research

Conducting academic research on multi-modal audio generation, audio representation and language-audio relationships

3

Sound Design Prototyping

Creating quick sound effect prototypes and ambient sounds for film, game and media projects

4

Accessibility Applications

Developing accessibility tools and assistive technologies by generating audio, music and speech from text-based inputs

Pros & Cons

Pros

  • Combines text, audio, and music generation in a single model
  • Hybrid architecture based on AudioMAE and GPT-2
  • High-quality sound effect and music generation
  • Open source — free for research and development

Cons

  • Limited vocal quality — weak in speech and singing generation
  • Limited to 10-second audio output
  • High GPU requirements
  • Commercial use license unclear

Technical Details

Parameters

N/A

Architecture

Latent diffusion with AudioMAE + GPT-2 conditioning

Training Data

AudioCaps, AudioSet, and other audio-text paired datasets

License

Research Only

Features

  • Text-to-Music Generation
  • Text-to-Sound-Effect Generation
  • Text-to-Speech Generation
  • AudioMAE Semantic Encoding
  • GPT-2 Based Token Generation
  • Latent Diffusion Audio Synthesis

Benchmark Results

MetricValueCompared ToSource
FAD (AudioCaps)2.18AudioLDM 1: 4.18arXiv 2308.05734
Örnekleme Hızı16 kHzMusicGen: 32 kHzarXiv 2308.05734
OVL (Overall Quality)3.90 / 5.00TANGO: 3.70arXiv 2308.05734
KL Divergence (AudioCaps)1.16MusicGen: 1.22arXiv 2308.05734

Available Platforms

hugging face
replicate

Frequently Asked Questions

Related Models

AudioCraft icon

AudioCraft

Meta|N/A

AudioCraft is Meta AI's comprehensive open-source framework for generative audio research and applications, bringing together three specialized models under a single integrated platform: MusicGen for music generation, AudioGen for sound effect synthesis, and EnCodec for neural audio compression. Released in August 2023 under the MIT license, AudioCraft provides a unified codebase that simplifies working with state-of-the-art audio generation models through consistent APIs and shared infrastructure. The framework is built on a transformer-based architecture where audio signals are first compressed into discrete tokens by EnCodec, then generated autoregressively by task-specific language models. MusicGen handles text-to-music generation with melody conditioning support, while AudioGen specializes in environmental sounds, sound effects, and non-musical audio from text descriptions. EnCodec serves as the neural audio codec backbone, compressing audio at various bitrates while maintaining high perceptual quality. AudioCraft supports multiple model sizes, stereo generation, and provides extensive training and inference utilities. The framework includes pre-trained models for immediate use and tools for training custom models on user-provided datasets. As a Python library installable via pip, AudioCraft integrates seamlessly into existing machine learning and audio processing pipelines. It is widely used by researchers studying audio generation, developers building creative audio tools, content creators needing original music and sound effects, and game studios requiring dynamic audio systems. AudioCraft represents Meta's most significant contribution to open-source audio AI and has become the foundation for numerous community projects and commercial applications in the rapidly growing AI audio generation space.

Open weights
Bark icon

Bark

Suno AI|N/A

Bark is a transformer-based text-to-audio generation model developed by Suno AI that converts text into natural-sounding speech, music, and sound effects. Released as open source under the MIT license in April 2023, Bark goes far beyond traditional text-to-speech systems by generating not only spoken words but also laughter, sighs, music, and ambient sounds from text descriptions. The model uses a GPT-style autoregressive transformer architecture with EnCodec audio tokenizer to generate audio tokens that are then decoded into waveforms. Bark supports multiple languages including English, Chinese, French, German, Hindi, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, and Turkish, making it one of the most multilingual open-source audio generation models available. The model can clone voice characteristics from short audio samples, allowing users to generate speech in specific voices or speaking styles. Bark operates in a zero-shot manner, meaning it can produce diverse outputs without task-specific fine-tuning. Generation includes natural prosody, emotion, and intonation that closely mimics human speech patterns. The model generates audio at 24 kHz sample rate with reasonable quality for most applications. As a fully open-source project with pre-trained weights available on Hugging Face and GitHub, Bark is widely used by developers building voice applications, content creators producing multilingual audio, and researchers exploring generative audio models. The model is particularly valued for its versatility in handling diverse audio types within a single unified architecture and its accessibility for rapid prototyping of audio generation applications.

Open weights
MusicGen icon

MusicGen

Meta|3.3B

MusicGen is a single-stage transformer-based music generation model developed by Meta AI Research as part of the AudioCraft framework. Released in June 2023 under the MIT license, MusicGen uses a single autoregressive language model operating over compressed discrete audio representations from EnCodec, unlike cascading approaches that require multiple models. The model comes in multiple sizes ranging from 300M to 3.3B parameters, allowing users to balance quality against computational requirements. MusicGen generates high-quality mono and stereo music at 32 kHz from text descriptions, supporting a wide range of genres, instruments, moods, and musical styles. Users can describe desired music using natural language prompts specifying genre, tempo, instrumentation, and atmosphere, and the model produces coherent musical compositions that follow the specified characteristics. Beyond text-to-music generation, MusicGen supports melody conditioning where an existing audio clip guides the melodic structure of the generated output, enabling more controlled music creation. The model achieves strong results across both objective metrics and subjective listening evaluations, producing music that sounds natural and musically coherent for durations up to 30 seconds. As a fully open-source model with code and weights available on GitHub and Hugging Face, MusicGen has become one of the most widely adopted AI music generation tools in both research and creative communities. It integrates easily into existing audio production workflows through the Audiocraft Python library and various community-built interfaces. MusicGen is particularly popular among content creators, game developers, and musicians who need royalty-free background music generated on demand.

Open weights
MusicLM icon

MusicLM

Google|N/A

MusicLM is a text-to-music generation model developed by Google Research that generates high-fidelity music from text descriptions at 24 kHz. Published in January 2023 alongside a research paper, MusicLM was one of the first models to demonstrate that AI could generate coherent, high-quality music spanning multiple minutes from natural language descriptions alone. The model employs a hierarchical sequence-to-sequence architecture combining SoundStream for audio tokenization and w2v-BERT for audio representation learning, generating music tokens at multiple temporal resolutions that are then decoded into waveforms. MusicLM can produce music in diverse genres and styles based on text prompts describing instruments, tempo, mood, and musical characteristics, maintaining musical coherence and structural consistency across extended durations. The model also supports melody conditioning where users can hum or whistle a melody that guides the generated output, enabling more intuitive music creation workflows. MusicLM generates audio with rich timbral quality and natural-sounding dynamics that represent a significant improvement over earlier text-to-music approaches. As a proprietary Google model, MusicLM is not open source and was initially accessible only through the AI Test Kitchen experimental platform before being integrated into broader Google services. While newer models like MusicGen and Suno have since achieved wider adoption, MusicLM remains historically significant as a pioneering demonstration of high-quality text-to-music generation. The model influenced subsequent research and commercial developments in the AI music generation space and helped establish text-to-music as a viable and rapidly advancing field of AI research.

Proprietary

Quick Info

ParametersN/A
Typediffusion
LicenseResearch Only
Released2023-08
Architecture

Latent diffusion with AudioMAE + GPT-2 conditioning

CreatorCUHK & Surrey

Links

Tags

audioldm
universal
text-to-audio
Visit Website