palace
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.
Features
In some sense, what palace aimes to be to OpenAL Soft is what ModernGL is to OpenGL (except that all the heavy-lifting are taken are by alure):
- 3D positional sound rendering
- Environmental 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,withcontext manager, type annotation
Installation
Prerequisites
Palace requires Python 3.6+ for runtime and pip for installation.
Via PyPI
Palace can be install from the Python Package Index via simply
pip install palace
Wheel distributions are built exclusively for GNU/Linux on amd64. If you want to help packaging for other platforms, please reach out on our mailing list.
From source
Aside from the build dependencies listed in pyproject.toml, one will
additionally need compatible Python headers, alure, a C++14 compiler,
CMake 2.6+ (and probably git for fetching the source).
Palace can then be compiled and installed by running
pip install git+https://git.sr.ht/~cnx/palace
Usage
One may start with the examples for sample usage of palace.
For further information, Python's help is your friend and
the API is also available for online reference.
Contributing
Our documentation contains a brief guide which may help you get started with the development. We also think that you might find our design principles appealing as well.
License and Credits
Palace is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The full list of works bundled with palace and other credits can be found in our documentation.
Release files for palace 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| palace-0.2.5.tar.gz | 70.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| palace-0.2.5-cp39-cp39-manylinux_2_24_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.24+ x86-64 | Details |
| palace-0.2.5-cp38-cp38-manylinux_2_24_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.24+ x86-64 | Details |
| palace-0.2.5-cp37-cp37m-manylinux_2_24_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.24+ x86-64 | Details |
| palace-0.2.5-cp36-cp36m-manylinux_2_24_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.24+ x86-64 | Details |
Total release size: 34.0 MB
Release files / palace-0.2.5.tar.gz
| Download URL | palace-0.2.5.tar.gz |
|---|---|
| Size | 70.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f27706636a4652a002bbcf9d0931d2f4c570f7a60478c60bba469c0c78322b1e
|
|
BLAKE2b-256 checksum How to use checksums |
ed49038e3c982cedffe3433b465d09fc83798e43ed66299d8d7131862d325094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1+
|
Release files / palace-0.2.5-cp39-cp39-manylinux_2_24_x86_64.whl
| Download URL | palace-0.2.5-cp39-cp39-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.9 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
bd1c781f0d99adbf560909cfe99f4254ddad6130a0df37388801c8c21eaa3ab1
|
|
BLAKE2b-256 checksum How to use checksums |
123d0db292f4af1fd1a7699f39d408c564a61a100ec6c20305cb0ca9bc490570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / palace-0.2.5-cp38-cp38-manylinux_2_24_x86_64.whl
| Download URL | palace-0.2.5-cp38-cp38-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.8 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
805386fd22ffc9eff5afcdb2ebf42ccf2f42ac7eeef442712062e1373ac1b041
|
|
BLAKE2b-256 checksum How to use checksums |
22a046c7c9516deaa3d70fb4844ee718a6331cf936b586b6f4f6cd3153ef4e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / palace-0.2.5-cp37-cp37m-manylinux_2_24_x86_64.whl
| Download URL | palace-0.2.5-cp37-cp37m-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
26742885a106e162084a802b686508f9607592a78bf5bae9b87e7b926d6b331b
|
|
BLAKE2b-256 checksum How to use checksums |
7124eb0f080fcbb81dc45c4550d09590c0ba0c6106879b333bbdad6da24d1c72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / palace-0.2.5-cp36-cp36m-manylinux_2_24_x86_64.whl
| Download URL | palace-0.2.5-cp36-cp36m-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
e3c71d3951314804eae9cb016c01bcf5171b07b3a80308dea4c3bbfed1545f6a
|
|
BLAKE2b-256 checksum How to use checksums |
17f2a9e9c00679b28eab31ba413e5fb0bbd6b0b8d7c4657ce033acafc9208c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|