Skip to main content
AmbisonicsPy is a lightweight Python framework for producing spatial audio. It provides a robust set of classes and tools that give users the flexibility to generate ambisonic sound.

Quickstart

1

Install The Package

git clone https://github.com/notcolumbus/ambisonicPy.git
cd ambisonicPy
pip install -e .
2

Start Creating

from ambisonicPy import Speaker, SoundStage
import numpy as np

stage = SoundStage(output_format='binaural', ambi_order=1)
s1 = Speaker("Creep.mp3")
s1.add_effect((0, 30), {"type": "move", "start": (np.pi/2, np.pi/2, 1.0), "end": (np.pi * 1.5, np.pi/2, 1.0)})
stage.add_speaker(s1)
stage.render(output_path="output.wav")