figaro icon indicating copy to clipboard operation
figaro copied to clipboard

>= 1 second lag in piping audio through Figaro

Open sidroopdaska opened this issue 2 years ago • 0 comments

Describe the bug I'm observing a ~1second latency/lag being introduced by Figaro. When I pipe my voice through: Airpods > Figaro > VB-Cable > Discord (mic-test) > Airpods, there is a 1second latency being introduced.

Note: I'm not using any filters with Figaro, just the vanilla plain voice is being piped through.

Timings:

  • Discord loopback mic-test (Airpods > Discord > Airpods) has a ~0.60s latency
  • With Figaro (Airpods > Figaro > VB Cable > Discord > Airpod), the same phrase takes ~1.60 seconds to be heard back

I'm unsure whether this lag is being introduced by Figaro or VB-Cable. How best can I debug and fix this?

To Reproduce Steps to reproduce the behaviour:

  1. Launch the GUI by running cd lib/gui/web & npm run dev & ./gui.sh
  2. When the Electron app launches, set Airpods as input and VB-Cable as output for the Figaro tool
  3. Login into Discord > Voice & Video > Set input (as VB-Cable) and output (as Airpods)
  4. Test the mic

Expected behaviour Only a few tens of ms latency when using the Figaro platform

Screenshots I can share a Loom recording if that help?

image Setting a Latency < 1536smp doesn't work, i.e. the audio never gets heard. Is this setting for the VB-Cable correct?

Desktop (please complete the following information): MacOS Big Sur 11.2.1

sidroopdaska avatar Dec 01 '21 17:12 sidroopdaska