AudSysMode: A tool for setting system modes for low latency audio.

This is a tool to be used with jackdbus. I have set up my system so that Jackdbus (AKA jackd2 with the dbus extension) runs as the main audio backend for all audio in the session. This tool changes latency on the fly as well as starting or stopping the pulse audio bridge, setting the CPU governor to ondemand or performance and stopping the cron service so that software updates do not automatically happen.

I have set four different modes:

  1. Desktop: High latency, PulseAudio feeds Jack, Ondemand CPU governor and Cron is running.
  2. Phone: Lower latency for use with Skype or other phone Software. Pulseaudio is connected so that this mode may work well for "Radio" work. Cpu governor set to Performance and cron is on in case the radio software needs it.
  3. Mixdown: Medium latency so that effects have lots of DSP headroom to run. Pulse is disconnected and cron is off. The CPU runs in performance mode.
  4. Live: This is the lowest latency the user's audio interface can run at in a stable manner. For when the computer is used as a live effect or synth. CPU is in performance, cron off and pulse is not connected either.

The settings are not solid and each of the four settings can be changed for each mode as the user desires.

Desktop config screen Phone config screen Mixdown config screen Live config screen Any change made in the config dialog screen will take effect as soon as ok is selected if the change was made to the current mode.

The tool runs as a systray application. The icon in the systray reflects the current mode as a visual indication to the user. A context click (normally right click) on the icon gives a menu that will start the configuration dialog or exit the application. Perhaps a help button should be added too.

Context menu

A normal click (usually left click), gives a menu to choose modes. The menu has the icon beside the choices so the user knows what the tray icon means.

Desktop selected Phone mode selected. Mixdown Mode selected Live Mode selected The extra open windows show the effects of the selected mode.