Skip to content
The AI Database
Screenshot of MMAudio

MMAudio

github.com

MMAudio is an open-source model for generating synchronized audio from video and text inputs, developed by researchers from the University of Illinois Urbana-Champaign and Sony AI. It is released under the MIT license and includes a demo script and a Gradio interface.

Visit website (opens in a new tab)

At a glance

Category
Audio & Voice

GitHub - hkchengrex/MMAudio: Taming Multimodal Joint Training for High-Quality Video-to-Audio Synthesis

Overview

The MMAudio project, developed by a team from the University of Illinois Urbana-Champaign and Sony AI, focuses on generating synchronized audio outputs from video and text inputs. The core innovation of this repository is the introduction of multimodal joint training, which enables the model to learn from a diverse range of audio-visual and audio-text datasets effectively.

Key Features

Multimodal Joint Training

MMAudio utilizes a synchronization module that aligns audio production with corresponding video frames, which enhances the quality of the synthesized audio. This technique allows for greater accuracy in generating sound that matches visual inputs, a significant step forward in video-to-audio synthesis.

Demonstrated Capabilities

The algorithm has been tested on various video-based tasks, showcasing its ability to produce synchronized audio from different sources. These successful demonstrations are available through provided links, allowing users to explore the performance of the model across various datasets.

Installation Instructions

To set up the MMAudio on Ubuntu, follow these steps:

  1. Install prerequisites:

    • Use a miniforge environment with Python 3.9+ and PyTorch 2.5.1 or higher.
    • To install PyTorch, use the command:
      pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 --upgrade
      
  2. Clone the repository:

    git clone https://github.com/hkchengrex/MMAudio.git
    
  3. Install MMAudio: Change directory and run the installation:

    cd MMAudio
    pip install -e .
    
  4. Run the demo: MMAudio simplifies the usage with a demo script. You can execute the following command to start the video-to-audio synthesis:

    python demo.py --duration=8 --video=<path to video> --prompt "your prompt"
    

Demo Options

MMAudio also offers a Gradio interface for user-friendly interaction. This interface allows for both video-to-audio and text-to-audio synthesis, enabling users to experiment with various media inputs easily.

Application Guidelines

MMAudio is designed for a range of applications in media production, content creation, and accessibility. Here are some potential use cases:

  • Content Creators: Individuals and teams creating videos can use MMAudio to produce high-quality audio tracks that are in sync with visual components, enhancing the overall production value.

  • Accessibility: This technology can significantly aid in making content more accessible for individuals with hearing impairments by generating relevant audio descriptions from visual media.

  • Research & Development: Academics and industry researchers can utilize this project to explore further advancements in multimedia synthesis technologies.

Limitations and Performance Considerations

While MMAudio demonstrates impressive capabilities, some limitations are noted:

  1. The model may generate unintelligible speech-like sounds.
  2. Without specific training, generated background music may lack quality.
  3. It struggles with unfamiliar concepts or sounds lacking in training data.

Performance may also vary depending on hardware configurations, CUDA versions, and model input specifications. Users may experience differences based on testing environments.

Licensing and Collaboration

MMAudio is open-sourced under the MIT license, allowing users to modify and distribute the code. The development team appreciates contributions and feedback from the community to enhance the model’s functionality continually.

Citation

For those looking to reference this work in research, please use the following citation format:

@inproceedings{cheng2024taming,
  title={Taming Multimodal Joint Training for High-Quality Video-to-Audio Synthesis},
  author={Cheng, Ho Kei and Ishii, Masato and Hayakawa, Akio and Shibuya, Takashi and Schwing, Alexander and Mitsufuji, Yuki},
  booktitle={arXiv},
  year={2024}
}

Conclusion

The MMAudio project is a significant advancement in the field of audio synthesis, bridging the gap between video and audio processing. The model's ability to utilize multimodal training presents promising opportunities for enhancing various media applications. As it continues to evolve, MMAudio holds the potential to redefine standards in video-to-audio synthesis, benefiting a diverse audience from creators to researchers.

Ready to try it? Visit github.com (opens in a new tab)

  • Screenshot of AudioX

    AudioX

    zeyuet.github.io
    Category
    Audio & Voice
    What it does
    AudioX is a Diffusion Transformer model for generating sound effects and music from text, video, images, and existing audio. It was trained with a multi-modal masked training strategy and datasets of audio and music captions.
  • Screenshot of OuteTTS-0.3-1B

    OuteTTS-0.3-1B

    huggingface.co
    Category
    Audio & Voice
    What it does
    OuteTTS-0.3-1B is an open-source text-to-speech model from OuteAI, built on the OLMo-1B base model. It supports English, Japanese, Korean, Chinese, French and German, and is used through the outetts Python package.
  • Screenshot of Kokoro-82M

    Kokoro-82M

    huggingface.co
    Category
    Audio & Voice
    What it does
    Kokoro-82M is an open-weight text-to-speech model with 82 million parameters, released by hexgrad on Hugging Face under an Apache 2.0 license. It converts written text into spoken American and British English audio and offers several selectable voicepacks.
  • Screenshot of iRocket

    iRocket

    irocketx.com
    Category
    Audio & Voice
    What it does
    iRocket is a company offering software for digital privacy. Its products include LocSpoof, which changes GPS location on iOS and Android, VoxTalker, an AI voice generator and dubbing tool, and iCreaVoice, a real-time voice changer.