Amphion (pronounced /æmˈfaɪən/) is an open-source audio, music, and speech generation toolkit hosted on GitHub under the open-mmlab organization. Its purpose is to support reproducible research and help junior researchers and engineers get started in the research and development of audio, music, and speech generation. A unique feature of Amphion is that it provides visualization of classic models or architectures, which helps junior researchers and engineers better understand the models.
Amphion's north star goal is to provide a platform for researching the conversion of arbitrary input into audio. It is designed to support independent generation tasks, including but not limited to: text-to-speech (TTS, supported), singing voice synthesis (SVS, supported), voice conversion (VC, supported), accent conversion (AC, supported), singing voice conversion (SVC, supported), text-to-audio (TTA, supported), and text-to-music (TTM, under development). In addition to specific generation tasks, Amphion also includes a variety of vocoders and evaluation metrics. Vocoders are important modules for producing high-quality audio signals, and evaluation metrics are essential for ensuring consistency of metrics in generation tasks. Furthermore, Amphion is committed to advancing audio generation in real-world applications, such as building large-scale speech synthesis datasets.
In terms of key capabilities, Amphion supports a variety of models and architectures. For TTS, it supports FastSpeech2, VITS, VALL-E, NaturalSpeech2, Jets, MaskGCT, Vevo-TTS, DualCodec-VALLE, and others. For VC, it supports Vevo, FACodec, Noro, and others. For AC, it supports Vevo-Style, enabling zero-shot accent conversion. For SVC, it supports Vevo2 and Vevo1.5, and supports content features from various pretrained models such as WeNet, Whisper, and ContentVec. For TTA, it supports text-to-audio based on latent diffusion models, with a design similar to AudioLDM, Make-an-Audio, and AUDIT. Amphion also supports a variety of neural vocoders, including GAN-based MelGAN, HiFi-GAN, NSF-HiFiGAN, BigVGAN, and APNet, flow-based WaveGlow, diffusion-based Diffwave, and autoregressive-based WaveNet and WaveRNN. In addition, it provides a multi-scale constant-Q transform discriminator'sOfficial implementation that can be used to enhance the training of any GAN-based vocoder architecture without changing the inference stage. Amphion also provides comprehensive objective evaluation, including metrics such as F0 modeling, energy modeling, intelligibility, spectrogram distortion, and speaker similarity.
In terms of usage, Amphion can be installed via an installer or a Docker image. The installer requires Docker, NVIDIA drivers, the NVIDIA Container Toolkit, and CUDA to be installed first, and then the corresponding commands to be run. When using Docker, mounting the dataset via the -v parameter is necessary. When used in Python, detailed instructions for different tasks are provided in the following recipes: text-to-speech (TTS), voice conversion (VC), accent conversion (AC), singing voice conversion (SVC), and text-to-audio (TTA).
Applicable scenarios include research and development in audio, music, and speech generation, especially scenarios that require reproducible experiments, model visualization, multi-task generation, and integration of vocoders and evaluation metrics. Amphion also unifies the preprocessing of multiple open-source datasets, including AudioCaps, LibriTTS, LJSpeech, M4Singer, Opencpop, OpenSinger, SVCC, VCTK, etc., and exclusively supports the Emilia dataset and its preprocessing pipeline Emilia-Pipe. Amphion provides visualization tools, currently supporting SingVisio for visualizing singing voice conversion diffusion models.
In terms of limitations, text-to-music (TTM) is still under development. Specific installation steps, usage commands, and dataset mounting details need to be referenced in the official documentation. Amphion is licensed under the MIT License and can be used freely for research and commercial purposes.