A library for soundscape synthesis using spatial impulse responses derived from ray-traced room scans
Project description
AudibleLight
A Controllable, End-to-End API for Soundscape Synthesis Across Ray-Traced & Real-World Measured Acoustics
⚠️ WARNING: This project is currently under heavy development. We have done our due diligence to ensure that it works as expected. However, if you encounter any errors, please open an issue and let us know.
Contents
What is AudibleLight?
AudibleLight is a unified API for soundscape synthesis supporting ray-traced, real-world, and parametric RIR generation. It enables flexible microphone array modeling and dynamic, fully annotated source trajectories within a single workflow. It is built upon SpatialScaper, SoundSpaces and Pyroomacoustics for scalable soundscape generation with unprecedented acoustic diversity.
AudibleLight is developed by researchers at the Centre for Digital Music, Queen Mary University of London in collaboration with Meta Reality Labs.
Installation:
Prerequisites
python3.10or above (tested up topython3.12)- A modern Linux distro: current versions of
UbuntuandRed Hathave been tested and confirmed to work.- Using another OS? Let us know so we can add it here!
If you're looking to develop AudibleLight, you'll also need:
gitpoetrymake
Install via pypi
For non-development installs, the simplest way to install AudibleLight is via pypi:
sudo apt install -y libsox-dev libsox-fmt-all freeglut3-dev pandoc
pip install audiblelight
Install via the command line
git clone https://github.com/AudibleLight/AudibleLight.git
cd AudibleLight
make install
Download datasets
We provide several helper scripts to download and prepare data (3D meshes, sofa files, audio files) that may be useful in AudibleLight. To run these:
make download
For further information, see scripts/download_data/README.md.
Usage
See the quickstart guide for help getting started with dataset generation in AudibleLight
Script
We include scripts to generate large datasets for common tasks relating to spatial soundscape synthesis.
To generate a dataset for sound event localization and detection (SELD) that conforms with the DCASE2023 task 3 format, run:
poetry run python scripts/seld/generate_dataset.py
To see the available arguments that this script takes, add the --help argument
If you want to generate custom datasets (or want to implement AudibleLight in a larger pipeline), please see the quickstart, tutorials, and API documentation.
Contributions
... are welcome! Please make a PR or take a look at the open issues.
Running the tests
Before making a PR, ensure that you run the pre-commit hooks and tests:
make fix
make tests
Roadmap
- Spatial audio augmentations (from https://arxiv.org/abs/2101.02919)
- HRTF support
- Directional microphone capsules support
- Increased visualisation options
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audiblelight-0.1.0.post4.tar.gz.
File metadata
- Download URL: audiblelight-0.1.0.post4.tar.gz
- Upload date:
- Size: 137.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
952fc83ebdf0283353f8fd711b436960e28ad6f0b27deeb67a5b55f1a7da885c
|
|
| MD5 |
5fc9b5a6285074ed6a6591c2abcd1d90
|
|
| BLAKE2b-256 |
6801f2b8f0ec37fa40834642770332fb99874c450373a365a0f939546af732f7
|
File details
Details for the file audiblelight-0.1.0.post4-py3-none-any.whl.
File metadata
- Download URL: audiblelight-0.1.0.post4-py3-none-any.whl
- Upload date:
- Size: 152.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c450f31e1e381b9b55ada2056a8a9aca677b7baed85e5c3c9a0664ff523a7c
|
|
| MD5 |
571d0e6620bffb5c695d02342fffbecb
|
|
| BLAKE2b-256 |
61b3573af8feb8e9e2c33c85b33650330d5b8267d73fa9ad67ce384b47aa6368
|