## The problem
When I changed over to using a DSLR as a webcam and a fancy [[Rødecaster Pro|audio mixer]] as a microphone, I experienced issues where my video was slower than my audio. This is probably due to the degradation in signal from the [[Canon M50]] as it goes through the [[Blackmagic Atem Mini]].
To combat this, I wanted to run all audio and video through [[OBS]], because OBS lets me add delays to the audio.
## The setup
### Figure out how much delay you need
With your video input and microphone input selected in OBS, do a recording. Open it up in an editing program like [[Final Cut Pro X|FCPX]] and detach the audio.
Move around the audio until the audio and video are synced (it helps if you clap during the recording, so that you can match up the audio and visual components). Once you're satisfied they're synced, go to the very beginning of the timeline and press the right arrow to skip one frame at a time, counting how many frames it took to hit the beginning of the audio.
Calculate how many milliseconds of delay you need based on the number of frames you counted and the fps you're recording in. You'll need this number later.
### Install a [[Virtual cable]]
A virtual cable is a bit of software that lets you take sound from one application and use it in another. I used [[VB-Audio Virtual Audio Device]]. It's a free app for Windows and Mac.
### Enable monitoring in [[OBS]]
Monitoring
Within OBS, go to Settings > Audio > Advanced and in *Monitoring Device*, select `VB-Cable`. Click OK.
Now, within your OBS scene, click the cog icon next to the microphone input and click Advanced Audio Properties.
Then, in the *Audio Monitoring* column, select *Monitor and Output*.
![[obs_monitoring.png]]
Add the delay you measured earlier in *Sync Offset* for the microphone.