Staircase aliasing is filtered out using linear interpolation. Source code now included.
KDM supports 16 simultaneous sounds in both the left and right speakers. It supports SB, SBPRO, SB16, PAS16, and PC speaker. PC speaker will crash if you set the rate too high for your computer.