I’m doing an Android project. Following the documentation, I started off using audio.* for my sounds and music, but there’s an unacceptably high latency–it’s a puzzle game, and the sound for selecting a piece comes very noticeably later than the actual tap on screen. It feels way off.
So I switched to media.playEventSound, and although that took care of my latency problems, media.playSound handles background music very, very poorly. When I try to switch songs (these are mp3’s), the actual switch happens 5 to 10 seconds later! This is equally unacceptable.
Is it possible to use audio.* for streaming a background .mp3 while using media.* for low-latency event sounds? I got a crash when I tried it, but maybe I did something wrong. Or is there another solution people are using so that both sound effects and background music are responsive?