Skip to main content

Pythonic Audio Library and Codecs Environment

Project description


Palace is a Python 3D audio API wrapping around alure. To quote alure's README,

It uses OpenAL for audio rendering, and provides common higher-level features such as file loading and decoding, buffer caching, background streaming, and source management for virtually unlimited sound source handles.


In some sense, what palace aimes to be to OpenAL is what ModernGL is to OpenGL (except that all the heavy-lifting are taken are by alure):

  • 3D sound rendering
  • Environmental audio effects: reverb, atmospheric air absorption, sound occlusion and obstruction
  • Binaural (HRTF) rendering
  • Out-of-the-box audio decoding of FLAC, MP3, Ogg Vorbis, Opus, WAV, AIFF, etc.
  • Modern Pythonic API: snake_case, @property, with context manager, type annotation


Via PyPI

Palace requires Python 3.6+ and alure. Given these dependencies satisfied, palace could be installed using pip via

pip install palace

Currently only GNU/Linux is supported. If you want to help package for other operating systems, please head to issue #1.

From source

To build from source, one will also need to have Python headers, Cython, and a C++11 compiler (and probably git for fetching the source) installed. Palace can then be compiled and installed by running

git clone
cd palace
python install --user


One may start with the examples for sample usage of palace. For further information, Python's help is your friend.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for palace, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size palace-0.0.2.tar.gz (94.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page