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.5.tar.gz
(860.1 kB
view hashes)
Built Distribution
igeSound-0.0.5-cp37-cp37m-win32.whl
(576.3 kB
view hashes)
Close
Hashes for igeSound-0.0.5-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ed9f7239cea7e1a172f570e551474232411bf3cd0b90ee7eca550c10b1b3f6e |
|
MD5 | 767a2974903f5f8cee123bdc781f3905 |
|
BLAKE2b-256 | 58d42f2d6f3a73483f972d2089f7d2d1309b69c98bec5b2df5a5302e2916d77f |