C++ extension Sound for 3D and 2D games.
Project description
igeSound
C++ extension Sound for 3D and 2D games.
You can install it using the PyPI:
pip install igeSound
Features
- (ogg , wav, mp3, flac) extension are supported
- Caching, preloading, streaming is supported
Functions
First, you need to import and init the sound system
from igeSound import sound
_sound = sound()
_sound.init()
Play the sound
# (sound_name , stream = False, loop = False)
_sound.play('sound/background.ogg', False, False)
# I highly recommend to use streaming for ogg background music
Release it when everything is done
_sound.release()
3D sound optional
-
Global
-
Local
Todo
- To support 3D sound
- Sound packing strucure
Reference
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
igeSound-0.0.2.tar.gz
(859.4 kB
view hashes)
Built Distribution
igeSound-0.0.2-cp37-cp37m-win32.whl
(574.6 kB
view hashes)
Close
Hashes for igeSound-0.0.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c0b740435cf3a77caddd6c6079c803262ba620f72ffec3e8f79c14340ba5bc |
|
MD5 | f448af656a16c60b8220f136aa1d3a2a |
|
BLAKE2b-256 | 2ccfb7fbc3bd64265279cf0b24019354ab77bb2476b25a5bb065324da248a2d1 |