AMBIT model checkpoint

Code and instructions · Demo · Paper

AMBIT supports text-guided First-Order Ambisonics (FOA) generation and editing. Editing additionally takes reference FOA audio.

One unified model supports both generation and editing. AR and DiT share the same Transformer backbone. All necessary model assets are included in the download.

Use

Requires Python 3.10+, Linux, and a CUDA GPU with bfloat16 support. Install the matching inference code, then download this repository:

git clone https://github.com/WJM-George/AMBIT.git
cd AMBIT
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
hf download WJM-George/AMBIT --local-dir models/AMBIT

Generation:

python -m ambit.infer generate --bundle models/AMBIT \
  --prompt 'Compose a ten-second spatial audio clip with two sources. The first sound is a sound effect described as "A loud car engine revs as it drives past." Have it move from in front of me to my right. The second sound is a sound effect described as "A dog barking." It should remain still on my left. Use only these sources.' \
  --output outputs/generated.wav --seed 42

Editing:

python -m ambit.infer edit --bundle models/AMBIT \
  --source outputs/generated.wav \
  --prompt 'Set the new stationary position of the sound described as "A dog barking." to azimuth -90 degrees, elevation 0 degrees and distance 3 meters. Keep the car engine revving and moving from in front of me to my right.' \
  --output outputs/edited.wav --seed 42

Both commands save FOA audio and the generated ScenePlan. Editing uses a 44.1 kHz, four-channel ACN/SN3D FOA reference in W, Y, Z, X order.

Files

  • model.safetensors: shared Transformer, AR head, conditioning and AMBIT CLAP weights.
  • vae.safetensors: FOA audio encoder/decoder.
  • bundle.json, renderer.json, vae.json: inference configurations.
  • codec/: ScenePlan tokenization assets.
  • planner_encoder/, text_encoder/: text encoders and tokenizers.

License and attribution

AMBIT is distributed under the MIT license. Included third-party components retain their respective licenses; see LICENSES/. AMBIT builds on stable-audio-tools.

Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for WJM-George/AMBIT