example.mp4
AutoFocus is a tool designed to automate the process of changing Sample Rate and Buffer Size in the Focusrite Notifier device settings. I made it because a lot of different programs change those settings when launched and then you have to manually change them back to prevent crackling in VoIP software (e.g. Discord).
- Windows (only tested on 11)
- Focusrite Notifier (comes bundled with Focusrite Control)
- make sure you have it set to launch at startup
Download the latest version from Releases.
You can use AutoFocus via the command-line interface. Here is a basic example:
AutoFocus.exe -s 48000 -b 128
This command sets the Sample Rate to 48000 Hz and Buffer Size to 128 (default).
-s, --sample-rate <rate>
: Set the sample rate (in Hz). Default is "48000".-b, --buffer-size <size>
: Set the buffer size. Default is "128".-n, --notifier-path <path>
: Absolute path to 'Focusrite Notifier.exe'. Default is"C:\\Program Files\\Focusrite\\Drivers\\Focusrite Notifier.exe"
.-a, --notifier-args <args>
: Arguments to pass when launching 'Focusrite Notifier.exe'. Default is "40000".-f, --from-tray
: Try launching Focusrite Notifier using the tray icon. Default is false.-t, --check-tray
: Check for Focusrite Notifier icon in non-hidden tray icons. Default is false.-x, --check-hidden-tray
: Check for Focusrite Notifier icon in hidden tray icons. Default is true.
-w, --waitAfterSample
, How long to wait after changing Sample Rate (Notifier often freezes). Default is 500.
Debug logs are stored in %LOCALAPPDATA%/AutoFocus/Logs/*.txt
- .NET Core 7 (C#) for good Windows integration
- FlaUI (UIA3) for UI automation
- CliFx for CLI functionality
- Serilog for logging
Licensed under the MIT License. See LICENSE.md for details.
Thank you:
- Authors of the packages I used
- Stack Overflow
- Focusrite for making great audio products, please don't sue me 🙏.