fixed off by one bug in sounds.py