auzxb / SoundStorm-pytorch-1

Google's SoundStorm: Efficient Parallel Audio Generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SoundStorm: Efficient Parallel Audio Generation

Work In Progress ...

SoundStorm is a model for efficient, non-autoregressive audio generation. SoundStorm receives as input the semantic tokens of AudioLM, and relies on bidirectional attention and confidence-based parallel decoding to generate the tokens of a neural audio codec.

Pre-processing and Training Scripts:

Filelist : train.txt or valid.txt looks like this:

audiofilename1.wav|
audiofilename2.wav|
audiofilename3.wav|
...

Start Training:

python train.py --path ./data --train train.txt --ratio 2

Semantic token path: ./data/semantic_code

Acoustic token path: ./data/codec_code

ratio: acoustic_frame_rate / semantic_frame_rate # Add should be a integer

References :

About

Google's SoundStorm: Efficient Parallel Audio Generation

License:MIT License


Languages

Language:Python 100.0%