Closed erikdubbelboer closed 3 years ago
Hi @erikdubbelboer ! Sorry I took so long to get around to pulling this (hiatus + i'm bad at emails + been stressed this past month). I didn't even know about the .opus file format, thanks for the tip for this & future projects!
When passing multiple sounds to Howl it will automatically pick the first supported one [1]. Most browsers support .opus (Howl also does [2]) which is by far the smallest audio format. This reduces the audio from 1.8MB to 0.66MB. Safari doesn't support .opus so we can use .m4a (AAC) for this. This still reduces the audio to 1.33MB.
Commands to generate files: Convert
.mp3
to.wav
:Convert
.wav
to.opus
:Convert
.wav
to.m4a
: