Created a simple resampler, will be implemented in the sound system next commit