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.3.tar.gz
(859.4 kB
view hashes)
Built Distribution
igeSound-0.0.3-cp37-cp37m-win32.whl
(574.6 kB
view hashes)
Close
Hashes for igeSound-0.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f032a0a6a4d0656a4704c3608e370f5a9fa870a8d4846ddb9c442616c60151e4 |
|
MD5 | 6a406ef1a1512aa898f4e5cb0d2039d3 |
|
BLAKE2b-256 | 7878afb0bc2f6365e86f39e9bce2c0e30bd4f9c462f9df4c9753cb98e7a9dd32 |