resonance-audio / resonance-audio-unity-sdk

Resonance Audio SDK for Unity
https://resonance-audio.github.io/resonance-audio/develop/unity/getting-started
Other
297 stars 38 forks source link

Resonance audio, IOS 12.2, Latency #57

Open BVauer opened 5 years ago

BVauer commented 5 years ago

unity 2018.3.12.f1 iOS 12.2 Xcode 10.2.1 iphone7

Hi all, I am leaving a message here because cannot find information anywhere about that. I am currently working on a location based audio game that involves GPS tracking (with Mapbox) and 3D audio with Resonance Audio.

When I position objects in space and use head tracking on the unity editor, it runs smoothly and everything is ok. However, when I build the app on an iPhone I experience audible latency in the head tracker (around 500ms). I expect it could come from resonance audio, but I am not sure about that.

Did anyone experience the same thing ? Is there a way to decrease the audio latency of the resonance audio on iOS if it is the case ?

Many thanks for your help ! Valentin

bcjordan commented 5 years ago

What audio device are you listening through? I've found some bluetooth headphones introduce quite a significant amount of latency (see reports e.g. here)

You could see if it is the same when using wired headphones, or e.g. adding a button / tap that plays a sound through native Unity audio to rule that out if you suspect Resonance.