I'm loving this program so much, but for some reason i'm getting a small delay when using my mic. I've tried using my XLR mic through my audio interface and I've also tried my mic that's connected to my headset, but it' s still happening. I've messed with the calibration settings, but I'm still getting some delay with my voice and the actual vocal track.
#(DC-11) Vocal Mic delay?
55 messages · Page 1 of 1 (latest)
I apologize for the inconvenience. This issue is known, and will be fixed soon. This is due to Unity's terrible mic system which will be switched out for a new one.
(DC-11) Vocal Mic delay?
ahh gotcha! Thanks for all your hard work, this program is awesome!
Thanks!
is this coming in engine rewrite?
The new audio engine has been a thing since v0.9.0b
Unfortunately, that's as low as we can get when it comes to latency as we are now hooking directly into windows
that's an annoyance :/ i'm getting about 40ms monitoring delay
any way it could run off of ASIO instead of windows sound? would help reduce latency for anyone with audio interfaces - the delay is noticable in harder vocal songs unfortunately
It may be possible to go to about 20ms at the cost of worse pitch detection
ah duh of course
as a workaround - don't run pitch detection on the monitored sound?
I believe we'd essentially be duplicating both the input and the output channels then, which isn't the most performant
Although, I assume it never hurts to try, but it isn't really a priority rn
yeah it's just quite annoying when you get thrown off from hearing yourself mid-word in fast songs :P turning monitoring volume to 0 has worked well enough for that
i figure the easiest way is just to perfectly replicate input sound to output sound for monitors and then run pitch correction after the player hears it but i'm not technical enough to know how possible that is
i'll have a look at the source code actually and see if i can sort that out
I'll give you a head start by saying that the code for the mic stuff is at Script/Audio/Bass/BassMicDevice.cs
Actually I take that back, it seems we do that for the stems anyways so it probably won't be as bad as I thought it would be
the monitoring isnt ran through anything besides a reverb filter (which would not add any noticeable latency). The monitoring channel is fed input data directly from the input stream
So it is as low as it can go
In which case does the RECORD_PERIOD_MILLIS here not matter?
whats the value of that constant
50
i cant remember which channel is which but which ever is for the monitoring you could half it
do you happen to own a mixer table? what I do is I mute ingame mic audio compeltly and have mixer to do output mic audio
it makes it sound like karaoke, highly recomended.
I never thought to try that, I usually prefer just keeping the in game audio monitoring off and deal with it
mixers don't usually play well with software is the sad part
i only brought up the issue because i know i can get super low latency in DAWs that interface directly with ASIO
but i recognize that's significant technical debt
what do you mean? you dont run any software to the mixer, just audio
all its gonna do is output mic audio to speakers, thats how I have it setup
yeah i know, you can just directly monitor from interface/mixer
but that functionally requires a mixer to get decent monitoring :P
yeah thats why I said if you already have one
and i know ASIO can get super low latency times but i don't know how feasible implementing ASIO support into YARG is
I have splitter adapter, RB mic is soldered into 6,3mm
correcting my past self - delay is closer to ~400ms (holy shit)
Old computers with older sound cards/chipsets tend to have a high latency problem too
For example, my other computer has like a 1 second delay I kid you not, and my main one has like a 60ms delay
i would understand that if i wasn't using a dedicated DAC for all my audio
Don't those tend to have high latency?
9ms doesn't seem that high
I'm not sure of your setup, but it's possible that that's before the DAC
that's me running it through FL, which returns it basically live when using the DAC's ASIO
using FL's ASIO instead, it's around 60ms of delay - significantly better than the 400ms i'm getting in yarg
hold on lemme check yarg's buffer size
Ah okay nvm