Nguyễn Gia Phong
||2 years ago|
|.ci||2 years ago|
|.github||2 years ago|
|docs||2 years ago|
|examples||2 years ago|
|src||2 years ago|
|tests||2 years ago|
|.appveyor.yml||2 years ago|
|.gitignore||2 years ago|
|.travis.yml||2 years ago|
|CMakeLists.txt||2 years ago|
|LICENSE||2 years ago|
|MANIFEST.in||2 years ago|
|README.md||2 years ago|
|pyproject.toml||2 years ago|
|setup.cfg||2 years ago|
|setup.py||2 years ago|
|tox.ini||2 years ago|
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.
- 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:
withcontext manager, type annotation
Palace requires Python 3.6+ for runtime and pip for installation.
Palace can be install from the Python Package Index via simply
pip install palace
Wheel distributions are built exclusively for amd64. Currently, only GNU/Linux and macOS are properly supported. If you want to help packaging for Windows, please see GH-1 on our issues tracker on GitHub.
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://github.com/McSinyx/palace
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.
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.