vMix Forums
»
General
»
General Discussion
»
Input latency problem with ASIO sound card buffer size
Rank: Member
Groups: Registered
Joined: 4/22/2020(UTC) Posts: 23
Thanks: 4 times Was thanked: 10 time(s) in 8 post(s)
|
Hello! I am having a latency problem connecting a DJ booth to my focusrite 2i2 usb sound card. Seems that vmix is setting ASIO buffer size to something weird as soundcard driver shows it as *880* with asterisks, when normal buffer presets are without that. I see no option to set buffer size in input settings at vmix, so I changed the buffer size in card settings panel. This has been tested in a new empty project with only one audio input with the soundcard. I made a video showing this and comparing with FL Studio where buffer is handled without asterisks and staying in sync without latency sync problems. I also attach screenshots of stats and render time. https://imgur.com/a/BiHNuR8Anyone has had this problem and found solution? Thanks for your time reading!!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/28/2019(UTC) Posts: 351 Location: Santa Rosa Thanks: 1 times Was thanked: 53 time(s) in 51 post(s)
|
It’s out of sync because you are monitoring after VMix processing. The delay is proportional to the render time you see at the bottom of VMix’s screen. The more inputs you add, the more delay you will see. Yes, the buffer will play a role, but it’s normal. Even without it, you’ll have a 3ms delay at the very minimum. We use the same Focurite units and leave them at their 960 default. The lower, the more chances you’ll have dropouts..
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/22/2020(UTC) Posts: 23
Thanks: 4 times Was thanked: 10 time(s) in 8 post(s)
|
Originally Posted by: Vince Beck It’s out of sync because you are monitoring after VMix processing. The delay is proportional to the render time you see at the bottom of VMix’s screen. The more inputs you add, the more delay you will see. Yes, the buffer will play a role, but it’s normal. Even without it, you’ll have a 3ms delay at the very minimum. We use the same Focurite units and leave them at their 960 default. The lower, the more chances you’ll have dropouts.. Hello thanks for replying. I maybe explained myself bad. With out of sync I wanted to say "lot of latency" due to the buffer being so high. I used for the example 256 but I use to be at 512 when making music, thats around 12ms. The video explains the real latency between the source and the input is more than 500ms, that is a very lot. Dont know if you could check screenshots, vmix render time is 0ms.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/28/2019(UTC) Posts: 351 Location: Santa Rosa Thanks: 1 times Was thanked: 53 time(s) in 51 post(s)
|
Got it. So what about your sample rates, do they match all down the line?
Do you have a world click or are you set to internal.
You could also try removing the Scarlett software altogether and see if it improves.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 12/23/2017(UTC) Posts: 22 Location: Kiruna Sweden
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Same problem with umc 1820 card Vmix defaults buffer size to 1020 , crazy latency when monitoring with vst plugins.
Hope the fix this
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,208 Location: Gold Coast, Australia Was thanked: 4290 time(s) in 1520 post(s)
|
Hi,
The buffer vMix selects is high by design, as any time video is processed on a computer, buffers need to be larger in order to prevent dropouts, pops and other audio artefacts.
That said, even the highest ASIO buffer vMix selects is 20ms, so not a big delay. Additional vMix also delays the audio sync better with video, but again this is usually under 80ms all things considered.
So if you are hearing a slight delay in the audio that is all perfectly normal and by design. A large delay of half a second or more will be due to an issue somewhere else, as vMix does not have any buffers that high.
Regards,
Martin vMix
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/22/2020(UTC) Posts: 23
Thanks: 4 times Was thanked: 10 time(s) in 8 post(s)
|
Originally Posted by: admin Hi, That said, even the highest ASIO buffer vMix selects is 20ms, so not a big delay. Additional vMix also delays the audio sync better with video, but again this is usually under 80ms all things considered.
I am aware of low latency can cause pops and I set it with caution in my tools. In the project I am doing now I went crazy monitoring the live bc of this delay, so I thought on digging it and looking for an improvement was good idea :-) I made another test to try to find out the origin of this, with 880 samples in FL (the one used by vmix = 20ms), default is double buffer input/output in this app... latency heard is lower than vMix. Using triple buffer the latency is more noticeable but not as much as in vMix... So I guess vMix may be doing more than 2xbuffer input and 3xbuffer output? As is the far I can go in FL and its less latency. This screenshot explains well the total latency based on amount of samples and number of buffers. So selecting 880 samples equal to 20ms is not 20ms of sound latency, it multiplies with the amount of input and output buffers.https://imgur.com/a/yB5oFLoHaving a good pc and soundcard, could be possible to be able to config ASIO params in vmix? Like we can do with good GPUs in advanced setings, and like we can do in every music soft with asio support... Being able to select buffer size and some info in the amount of buffers used could bring some light in this internal sound latency input->output, so we know the real audio latency with that config. TL;DR; Adding ASIO settings to advanced settings in Audio panel would be great :-)Many thanks for reading!
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Input latency problem with ASIO sound card buffer size
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close