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.6.tar.gz
(7.5 kB
view hashes)
Built Distribution
igeSound-0.0.6-cp37-cp37m-win32.whl
(547.4 kB
view hashes)
Close
Hashes for igeSound-0.0.6-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41d8f1623d3c6e334c09e074e1393380f6fc4d35a17d5b44e46616b7214ef432 |
|
MD5 | 5e74fb9b1df658231d5eec228edd794b |
|
BLAKE2b-256 | a3719ef1a95c081a7209f16bf2782b4d0dbb1518a64eaf70f5782e932faaa4c7 |