Pythonic Audio Library and Codecs Environment
Project description
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
,with
context 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.
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 Distributions
File details
Details for the file palace-0.2.5.tar.gz
.
File metadata
- Download URL: palace-0.2.5.tar.gz
- Upload date:
- Size: 70.0 kB
- Tags: Source
- Uploaded using 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+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27706636a4652a002bbcf9d0931d2f4c570f7a60478c60bba469c0c78322b1e |
|
MD5 | a80965ed117c0817e7a8b5a32d46227a |
|
BLAKE2b-256 | ed49038e3c982cedffe3433b465d09fc83798e43ed66299d8d7131862d325094 |
File details
Details for the file palace-0.2.5-cp39-cp39-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: palace-0.2.5-cp39-cp39-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd1c781f0d99adbf560909cfe99f4254ddad6130a0df37388801c8c21eaa3ab1 |
|
MD5 | bef470d1c9ef2fdbb8baaaefc534db85 |
|
BLAKE2b-256 | 123d0db292f4af1fd1a7699f39d408c564a61a100ec6c20305cb0ca9bc490570 |
File details
Details for the file palace-0.2.5-cp38-cp38-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: palace-0.2.5-cp38-cp38-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805386fd22ffc9eff5afcdb2ebf42ccf2f42ac7eeef442712062e1373ac1b041 |
|
MD5 | c041ec0c695aa1ec57b7029257a06c0f |
|
BLAKE2b-256 | 22a046c7c9516deaa3d70fb4844ee718a6331cf936b586b6f4f6cd3153ef4e16 |
File details
Details for the file palace-0.2.5-cp37-cp37m-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: palace-0.2.5-cp37-cp37m-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26742885a106e162084a802b686508f9607592a78bf5bae9b87e7b926d6b331b |
|
MD5 | f3e377e323aa29fb6c030a498097c3bb |
|
BLAKE2b-256 | 7124eb0f080fcbb81dc45c4550d09590c0ba0c6106879b333bbdad6da24d1c72 |
File details
Details for the file palace-0.2.5-cp36-cp36m-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: palace-0.2.5-cp36-cp36m-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 8.5 MB
- Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c71d3951314804eae9cb016c01bcf5171b07b3a80308dea4c3bbfed1545f6a |
|
MD5 | af83728ea5b8147d84781bde0950350d |
|
BLAKE2b-256 | 17f2a9e9c00679b28eab31ba413e5fb0bbd6b0b8d7c4657ce033acafc9208c58 |