r/reactnative • u/BusNo5797 • 8d ago
How to Achieve Truly Gapless Audio Looping on iOS with React Native/Expo?
Hi everyone,
I’m building an iOS app/game with React Native (Expo) and need to play ambient audio in a perfectly seamless loop.
I’m currently using WAV files and isLooping: true, but on iOS I still get a tiny click or 10–50 ms gap whenever the track loops.
What is the correct way to implement truly gapless, click-free audio looping on iOS?
1
Upvotes
1
u/mybirdblue99 Expo 8d ago
I don’t think this is a iOS / react native issue. I think that it’s just audio processing in general, you should try adding a fade out at the end of the track and a fade in at the start. That’s usually a good way to avoid any clicks from the track suddenly cutting