Downloads · 30 days
41
29% of all-time downloads
francislabounty/stereo2spatial-v2-binaural
stereo2spatial-v2-binaural is a audio-to-audio model from francislabounty. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
stereo2spatial-v2-binaural converts mono or stereo music directly into two-channel binaural audio at 48 kHz. It is a raw-waveform conditional flow model and does not use EAR-VAE or a separate HRTF rendering stage like…
Downloads · 30 days
41
29% of all-time downloads
All-time downloads
142
Public
Parameters
285M
1.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 100%
From the Hugging Face model README
stereo2spatial-v2-binaural converts mono or stereo music directly into two-channel
binaural audio at 48 kHz. It is a raw-waveform conditional flow model and does
not use EAR-VAE or a separate HRTF rendering stage like v1.
The model is intended for use with the stereo2spatial training and inference repository or the Stereo2Spatial Windows app.
SpatialDiT waveform model284,605,328step_0660000480002 (stereo; mono input is duplicated by the runtime)FL, FR200 samples89612143210The bundle defaults to RES6S with four steps, 10-second windows, 2-second overlap, and timestep-major traversal. Timestep-major inference carries model memory across every window at a shared solver timestep before advancing the solver, matching the long-audio training schedule.
This release contains 660,000 total training updates:
Both stages used 10-second model windows with 2-second overlap, EMA with a
decay of 0.999, and no adversarial loss. Mix-style conditioning used a 20%
dropout probability, so the model supports both conditioned and unconditioned
generation.
Mix-style conditioning is optional. Omitting a mix-style argument performs an
unconditioned generation. The balanced preset is a conditioned neutral vector
and is not the same as unconditioned generation.
For this direct-binaural model, the ten normalized conditioning dimensions are:
center_focuscenter_lockfront_widthsurround_amountambience_amountplacement_sharpnessspatial_contrastchorus_expansionlead_bloommotion_amountFrom a local checkout of stereo2spatial:
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
python -m pip install -U "huggingface_hub[cli]"
hf download francislabounty/stereo2spatial-v2-binaural --local-dir checkpoints/stereo2spatial-v2-binaural
python infer.py --checkpoint checkpoints/stereo2spatial-v2-binaural --input-audio path\to\input.wav --output-audio path\to\output_binaural.wav --device cuda --show-progress
The command uses the sampler, step count, window, overlap, seed, and
timestep-major traversal stored in config.json.
To use a conditioned preset:
python infer.py --checkpoint checkpoints/stereo2spatial-v2-binaural --input-audio path\to\input.wav --output-audio path\to\output_binaural.wav --device cuda --mix-style-preset balanced --show-progress
List the available presets with:
python infer.py --list-mix-style-presets
stereo2spatial-v2-binaural/
|-- config.json
|-- model.safetensors
|-- README.md
`-- LICENSE
This model is intended for:
It is not a replacement for professional mastering, broadcast authoring, or formal delivery-quality control.
The model weights and bundle metadata are released under the Apache License 2.0. See LICENSE.
Compute for the stereo2spatial-v2 training run was provided by SERP, which supplied two NVIDIA RTX A6000 GPUs for approximately 20 days of training: about 10 days for Stage 1 and 10 days for Stage 2. Special thanks to SERP Apps, SERP AI, and Devin Schumacher for supporting the project.