This Python script and Apogee Duet (USB) speak the same language 😄
The interface works great out of the box using ALSA for recording and playing. However, I didn't find a way to control the settings like I was able to do on macOS.
I will read about ALSA and ways to integrate directly with alsamixer
or something like that, but for the time being, the script works and solves the problem.
$ sudo apt install python3-usb python3-wxgtk4.0
It's organized in a similar way than the application for macOS. You have to reopen the application to see the last changes, if the change affected more than one control. It's not a big deal for me because I usually change the settings once (like change the input type to Instrument or something like that), but I understand that it may bother some users.
$ sudo ./take_control.py
- Update all the controls related to a setting that changed.
- Update controls when some setting is changed physically (using the knob or touchpads).
- Find a way to not require using
sudo
but without compromising the entire system (like adding the user to a group that disables the requirement ofsudo
for sensitive actions). - Add support for changing the assigned functions of the touchpads.