What audio format shoul I use?

Hey folks

I added 4 music tracks (mp3, 128k) to my project and built an apk file. The file size went up from 17MB → 27.4MB. Is there any way to reduce the file size by tweaking the audio files? What format and bitrate should I use?

BTW, i’m using android standard

Thanks!

I am guessing you need to use external audio softwares like audacity to tweak your sounds. Or use a higher compression. I think mp3/ogg files are the smallest. And read this. Might help. There’s a compression setting. I think thats where you compress your audio files.

Should I use Decompress on load or compressed in memory? File sizes are about 2,5MB each

if the audio is 3 min in length thats to expect, you won’t get away any smaller without reducing the quality considerably
wav is 10 times as large, basically 10mb / min of audio, where as mp3 goes through at 1mb / min on “normal” bitrates

To answer your questions, according to the docs, decompress on load is used for smaller compressed sound so i think you use that. But still you got to try it on your android device just to be safe.

ok… Thank guys! I will try and see what I can get :slight_smile: