Skip to content

The AutoEq Device Manager is a Windows system-tray tool that allows for managing and switching playback devices and system-wide equalizer profiles.

License

Notifications You must be signed in to change notification settings

thomaseleff/AutoEq-Device-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoEq Device Manager

The AutoEq Device Manager integrates the Equalizer APO parametric equalizer for Windows with the AutoEq project, providing a system-tray tool to switch playback devices and apply audio device equalizer profiles. This tool is written in Windows PowerShell and utilizes the AudioDeviceCmdlets module to manage Windows playback devices.

AutoEq Device Manager Animation

Features

  • Ability to switch between any connected audio playback device
  • Ability to change or remove parametric equalizer profiles for any number of audio playback devices, configurable by device type ('Speaker' or 'Headphone')
  • Output window for viewing status of the application tasks
  • Dynamic tool-tip for the system-tray tool icon displaying the previously selected playback device and equalizer profile on mouse over
  • Narrator setting, allowing for enabling or disabling audio read-out of selections made in the system-try tool in the default Windows Narration voice
  • Notification setting, allowing for enabling or disabling balloon-tip notifications on application processes
  • Connectivity with Equalizer APO Configurator to easily install Equalizer APO for audio playback devices and with the Equalizer APO Editor to easily modify equalizer profiles.

Installation

Instructions for setting-up the AutoEq Device Manager.

Requirements

  • Windows Operating System (minimum Windows 10)

  • Equalizer APO (minimum v1.2.1)

  • PowerShell (minimum v5.1)

  • Internet Connection

    Minimum requirements are known working versions. Any previous version may also be working, but has not been verified.

Installing Equalizer APO

Equalizer APO is a system-wide Windows parametric equalizer, which allows for applying a single equalizer profile to a given playback device at a given time. Equalizer APO can be downloaded from SourceForge.

Once downloaded, follow the steps of the Setup Wizard to complete the installation. Once installation is complete, enable Equalizer APO to control any playback device you wish through the Configurator window.

  1. Within the Configurator window, check the selection box next to the Connector name in order to enable Equalizer APO for that playback device.
  2. Then, click on the Connector name, highlighting it. Next, check the selection box next to "Troubleshooting options (only use in case of problems)". An additional panel of settings should appear.
  3. Next, check the selection boxes for "Install APO" next to both "Pre-mix" and "Post-mix". In the dropdown selector, ensure "Install as SFX/EFX (experimental)" is selected.
  4. Repeat steps 1-3 for all playback devices you wish to enable Equalizer APO.
  5. Once these steps are completed for all desired playback devices, select "OK" and restart your computer.

At any time in the future, if you wish to configure a new playback device or disable Equalizer APO for an existing playback device, you can open and change settings within the configurator by running the following program. Default file path below.

C:/Program Files/EqualizerAPO/Configurator.exe

Verifying the Equalizer APO Installation

  1. To verify whether Equalizer APO was correctly installed, navigate to the audio settings in the system-tray and select a playback device that has Equalizer APO enabled.

  2. Next, navigate to the Equalizer APO install directory. Default directory below.

    C:/Program Files/EqualizerAPO
    
  3. Then, navigate to the /config folder and open config.txt.

    • config.txt contains the parameters that set the system-wide equalizer profile. These parameters can be manually edited, or they can be replaced with Parametric EQ profiles specific to a given audio device, like those created within the AutoEq project.
  4. Next, play audio from your computer.

  5. With config.txt open, delete the "-" character from the "Preamp" setting, then save. You should hear the audio become noticeably louder. If you do, you have successfully set up Equalizer APO.

  6. Repeat steps 1-5 for all playback devices you have enabled Equalizer APO.

Verifying Windows PowerShell

  1. To verify the version of Windows PowerShell installed on your computer, navigate to the search box in the Windows Taskbar.

  2. Search for "Windows PowerShell".

  3. When results appear, right-click on "Windows PowerShell" and select "Run as Administrator".

  4. In the Windows PowerShell window, run the following command.

    $PSVersionTable
    
  5. The Windows PowerShell version should be displayed to the right of the "PSVersion" parameter in the output.

To upgrade the version of PowerShell, follow the instructions in the "Upgrading existing Windows PowerShell" sub-section of the official Microsoft documentation, Installing Windows PowerShell.

Downloading AutoEq Device Manager

The AutoEq Device Manager consists of two components,

  1. AutoEq_DeviceManager.ps1
  2. autoeq_config.json

Navigate to AutoEq_DeviceManager.ps1, copying the contents into a ".ps1" file within the same directory as the Equalizer APO installation. Default directory below.

  • File name is not important.

    C:/Program Files/EqualizerAPO
    

Navigate to autoeq_config.json, copying the contents into a file named "autoeq_config.json" within the /config sub-directory of the Equalizer APO installation. Default directory below.

  • File name is important, the file must be named autoeq_config.json.

    C:/Program Files/EqualizerAPO/config
    

Usage

Configuring and running the AutoEq Device Manager.

Configuring AutoEq Equalizer Profiles

AutoEq equalizer profiles can be provided within autoeq_config.json, which contains the user-configured names of your audio devices and the corresponding URL path to the Parametric EQ profiles from AutoEq/results. Any number of devices and profiles can be configured within autoeq_config.json. The AutoEq Device Manager will validate all URL paths to ensure they source valid parametric EQ profiles and will download the profiles automatically into the /config sub-directory. Default sub-directory below.

C:/Program Files/EqualizerAPO/config

To modify autoeq_config.json,

  1. Open autoeq_config.json in a text editor.

  2. Modify existing entries or add new entries in or to autoeq_config.json for all audio devices you wish to specify unique Parametric EQ profiles for through Equalizer APO.

  3. Each entry requires two parameters, "device" and "parametricConfig", to be assigned values. Each parameter is described below.

    • device: Quoted string for the user-provided name of the audio device. Not required to match the name of the device from AutoEq/results.

    • parametricConfig: Quoted string for the URL path to the Raw Parametric EQ profile from AutoEq/results. This MUST be the URL path to a Parametric EQ profile pointing directly to the Raw file. Example URL path to the Parametric EQ profile for Sennheiser HD 600 below.

      https://raw.githubusercontent.com/jaakkopasanen/AutoEq/master/results/oratory1990/harman_over-ear_2018/Sennheiser%20HD%20600/Sennheiser%20HD%20600%20ParametricEQ.txt
      
      • The Raw file can be found by clicking the "Raw" button on the right-hand side of a given Parametric EQ file's options, highlighted below.

    Locating the Raw File URL Path

Configuring non-AutoEq Equalizer Profiles

Non-AutoEq equalizer profiles can be provided within the /config sub-directory and be created manually through the Equalizer APO editor or through Peace. Any equalizer profile with the following filename syntax will be automatically configured within the system-tray tool.

Parametric_EQ_*.txt

Note that the system-tray tool will not validate that the manually-created equalizer profiles contain valid configurations for Equalizer APO.

Running AutoEq Device Manager

AutoEq Device Manager can be run manually through a Windows PowerShell session or scheduled through the Windows Task Scheduler to run at log-on.

Running Manually Through a Windows PowerShell Session

It is recommended to first run the AutoEq Device Manager manually in order to verify set-up was completed successfully.

  1. Navigate to the search box in the Windows Taskbar.

  2. Search for "Windows PowerShell".

  3. When results appear, right-click on "Windows PowerShell" and select "Run as Administrator".

  4. When a new session window opens, run AutoEq_DeviceManager.ps1. Default command below is based on the default directory and filename.

    PowerShell -File "C:/Program Files/EqualizerAPO/AutoEq_DeviceManager.ps1"
    
  5. Accept all prompts to install the required AudioDeviceCmdlets module.

  6. To verify that the AutoEq Device Manager is running successfully, review the icons in the system-tray. Among your other system-tray applications, you should also see the Windows Equalizer icon from the Segoe MDL2 Assets. This is the AutoEq Device Manager, which can be right-clicked to swap between devices and apply any of the user-configured parametric equalizer profiles. See the following Navigating AutoEq Device Manager section for more information on using the system-tray tool.

    Asset Description Unicode
    Equalizer_Icon Equalizer E9E9

Scheduling Through Windows Task Scheduler to Run at Log-On

Once the AutoEq Device Manager is verified to be working successfully, create a new task in the Windows Task Scheduler to automatically run the AutoEq Device Manager at log-on.

  1. Navigate to the search box in the Windows Taskbar.

  2. Search for "Task Scheduler".

  3. When results appear, open "Task Scheduler".

  4. When the application window appears, click "Create Task" within the "Actions" panel on the right-hand side of the window.

  5. Within the "General" tab of the pop-up window, enter a "Name" for the task and select "Run only when user is logged on."

  6. Within the "Triggers" tab of the pop-up window, select "New".

  7. Within the "New Trigger" pop-up window, select "At log on" from the "Begin the task" drop-down options.

  8. Click "OK".

  9. Within the "Actions" tab of the pop-up window, select "New".

  10. Within the "New Action" pop-up window, enter the following into the "Program/script" field.

    PowerShell
    
  11. Then, enter the following into the "Add arguments (optional)" field.

    -File "C:/Program Files/EqualizerAPO/AutoEq_DeviceManager.ps1" -WindowStyle Hidden
    
  12. Click "OK".

  13. Within the "Settings" tab of the pop-up, un-check the selection box next to the "Stop the task if it runs longer than" field.

  14. Click "OK".

  15. The newly created task should now appear within the Task Scheduler Library, and can be run manually by selecting the task, then by clicking Run within the "Actions" panel on the righ-hand side of the window.

  16. To verify that the newly created task was setup correctly, log-off and on again. Once logged-on, AutoEq Device Manager should be running in the system-tray.

Navigating AutoEq Device Manager

Within the AutoEq Device Manager, there is a primary menu containing the tool operation tasks as well as the list of all connected playback devices. Additionally, for each connected playback device, there is a secondary sub-menu for selecting one of the user-configured parametric equalizer profiles.

Switching Playback Devices and Parametric Equalizer Profiles

  1. Navigate to the system-tray and right-click on the Equalizer icon (this is the AutoEq Device Manager).
  2. In the pop-up menu, click on the playback device you wish to switch to.
    • If the desired playback device is not available within the list, click on "Refresh", which will re-fresh the menu with the latest connected devices.
  3. Within the sub-menu of the selected playback device, click on the audio device parametric equalizer profile you wish to enable, or select "None" to switch devices and remove any parametric equalizer profile.

Checking the Task Status

  1. In case of any unexpected behavior within the AutoEq Device Manager, navigate to the system-tray and right-click on the Equalizer icon (this is the AutoEq Device Manager).
  2. In the pop-up menu, click on "Output", which will open the output window showing the status of all executed tasks within a given session of the AutoEq Device Manager.
    • A new session is always created when the AutoEq Device Manager initially runs, or when "Refresh" is clicked.

    • In addition to reviewing the status of all executed tasks within the "Output" window, you can also access output.txt within the /config sub-directory of the Equalizer APO installation. Default file path below.

      C:/Program Files/EqualizerAPO/config/output.txt
      

Attribution

Windows PowerShell scripting methods for creating system-tray tools were sourced from the following two articles from https://www.systanddeploy.com:

About

The AutoEq Device Manager is a Windows system-tray tool that allows for managing and switching playback devices and system-wide equalizer profiles.

Topics

Resources

License

Stars

Watchers

Forks