I’m looking for the smallest type of audio file for some javascript to work smoother.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Of those three,
Oggwould usually be smaller thanMP3. Both would be much smaller than the uncompressedWAV. Of course, there may be other factors that come into play for your site such as quality (not too much of a noticeable difference for most purposes) and browser support for each type.The file size will only affect the time it takes to download the file to the user’s machine. It won’t necessarily determine Javascript execution speed. There may be other things in your code causing the performance drops (unless you’ve narrowed it down to the file size of the audio files).