Brian Gryder wrote:
There is a noticeable lag between the key press events and the sound changes.
Have you tried reducing the size of the sound buffer? It seems that the pygame mixer can only start a sound on a buffer boundary, so for accurate sound timing you need quite a small buffer size. -- Greg