I have finally managed to get my audio to work but now there is only one problem left, its the audio delay.
I have read online that it might be to do with compression but I don’t understand how to prevent this. Here is a picture of one of my sound files:
Its a .wav file I got from http://www.bfxr.net/
Is there anything I can do?