While setting up latency compensation is clearly described in the Audacity manual, it can be quite tricky to know which way to adjust the setting, and is particularly difficult for blind Audacity users.
To try and address these issues, I have written a macro which automates most of the process.
Set the recording level quite high so that the maximum recording level will be close to full track height (0 dB)
Then, in an empty project, run the macro.
While the macro runs, you should hear 5 loud clicks as it runs the test.
If all goes well, it should automatically set latency compensation correctly.
Note that with consumer grade audio hardware it is normal for latency to be a bit different on each run, but should be within about +/-1 millisecond. This macro takes the average of 5 runs and sets latency compensation accordingly.
I’ve only tested on my own (Linux) computer, and for me it works very reliably. If it works well for others I’ll suggest to the dev team that the add it to the next release. Please try it and post your results / reviews here.
Hi, Steve. I imported the macro from message #2. When I apply it in a new project, it looks like it creates the track, then gives an error dialog:
Internal error at debug/audacity/audacity-Audacity-3.7.7/libraries/lib-wave-track/WaveTrack.cpp line 1232.
Please inform the Audacity team at https://forum.audacityteam.org/.
Just to confirm that the macro does work with Audacity 3.7.8. Note that on the Track behaviors page of Preferences, the Solo combo box needs to be set to Simple for the macro to work.