tseaver / scarlett_yaml

Dump / load Scarlett mixer configuration to / from YAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scarlett_yaml

Script for dumping a Focusrite Scarlett's internal mixer configuration to YAML, and loading it back again.

This is important on Linux for two reasons:

  • one cannot run Focusrite's MixControl app (even under Wine or in a Windows VM)
  • the configuration changes made via ALSA's amixer are not persisted to the interface's flash storage, which means the configuration is reset to the factory / last saved values on a power cycle.

Usage

Dump to standard output:

Dump to a file

Load from a file:

TODOs

  • [ ] Normalize command-line handling for the script (e.g., add an
    arg parser, support dumping to a file directly, support loading from standard input, etc.)
  • [ ] Capture additional ALSA information (e.g., output gain channel names,
    parameter read-write / read-only status, etc.) See the output of amixer -cUSB contents.
  • [ ] Extract the data model from the script into a separate, importable
    module.
  • [ ] Write some kind of GUI? Probably YAGNI for me: the dumped YAML
    is enough for my usecases (I'd rather edit text than use the mouse to tweak hundreds of sliders / knobs, e.g. in qasmixer.

About

Dump / load Scarlett mixer configuration to / from YAML

License:MIT License


Languages

Language:Python 100.0%