Add helper functions for sound positions and lengths in MS

Right now the conversions use a constant 32khz because that is the
hardware sampling rate.  Sounds should probably be converted to 32khz
when loaded in to ensure that they playback at the correct rate.