swmixer | index /home/nwhitehe/Projects/SoundTools/swmixer/swmixer.py |
Advanced Realtime Software Mixer
This module implements an advanced realtime sound mixer suitable for
use in games or other audio applications. It supports loading sounds
in uncompressed WAV format. It can mix several sounds together during
playback. The volume and position of each sound can be finely
controlled. The mixer can use a separate thread so clients never block
during operations. Samples can also be looped any number of times.
Looping is accurate down to a single sample, so well designed loops
will play seamlessly. Also supports sound recording during playback.
Copyright 2008, Nathan Whitehead
Released under the LGPL
Modules | ||||||
|
Classes | ||||||||||||||||||
|
Functions | ||
|
Data | ||
gchannels = 1 gchunksize = 1024 gid = 1 ginit = False glock = <thread.lock object at 0xb7d2a0b0> gmic = False gmicdata = None gmicstream = None gmixer_srcs = [] gpyaudio = None gsamplerate = 22050 gsamplewidth = 2 gstereo = True gstream = None |