.ogg sounds do not work

#1

Playing .ogg files made in Audacity, either by code or by frame script, does not work. I verified that the sound file is valid (tested it in Groove Music) and that I typed the correct name. playSound("music_title.ogg"); I tried a .wav sound and it worked.
Edit: .mp3s also work.

Also, if you attach a sound to a Button’s 3rd frame, it will play its sound automatically (not what you want, since it’s a click sound) unless you run stop() on it in Default().

0 Likes

#2

Weird, howler.js should work fine with OGG. There’s probably something I’m forgetting to do when sounds are imported, will look into this…

1 Like