How to use sound files outside of snap

Hey so I have been trying to make fruit ninja and have 2 min music file and that is taking up to much space

I have considered using the URL() block to link it to an external source but it doesn't work. How do I use sound files outside Snap?

well .mp3 files take up less space than a .wav file

and in what way does the url block not work, is it because of CORS? or something else?

idk exactly why maybe it only supports text files not binary ones

and thanks for the info it really helped mp3 files only take up 800kb and allows snap to save and it works... Thanks!!!

yeah, .wav files store the raw audio data while .mp3s compress it, making it take up less space

look my project went from 11 mb all the way to about 2mb

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.