2 years ago

#19863

test-img

Matth

Sync playback and record with AudioKit 5

I am trying to implement a simple recorder synced with a background track using AudioKit 5. Unfortunately I faces latency issue when playing back the recorded file, along with the background track.

The latency values returned by the AVAudioSession.sharedInstance() are around 0,01 sec for input and output, when running on the simulator of my macbook pro.

However, the latency measured between the background track and the recorded one is around 1.4 sec.

Do you have any idea of what could cause this huge latency ? And how to compute it with accuracy, so I can start the recorder late to compensate it ?

ios

swift

core-audio

audiokit

0 Answers

Your Answer

Accepted video resources