@neauoire @eel @npisanti @Lutrinus Orca-c now saves and loads a configuration file automatically. it will save your MIDI device automatically. https://github.com/hundredrabbits/Orca-c/commit/c60f7a557cf24544a5d4048eb10bb8f5948ded9f
@npisanti @neauoire @eel @Lutrinus Unless you can think of another way to accomplish the same thing? Having two ways to set the same stuff adds a significant amount of code to orca-c. Maybe something like, you can pass the config file as a string instead of having it use the file? (And that would let you set the PortMidi device by name using the commandline.)
@neauoire @npisanti @eel @Lutrinus actually, since I coded orca-c to respect the FreeDesktop config dirs thing, you can sort of already do it. Set XDG_CONFIG_HOME environment variable to use an alternate directory path for config files. which should let you keep several alternate config files around for specific setups
@neauoire @npisanti @eel @Lutrinus sorry, by removing the portmidi stuff, I meant just minimizing the number of ways it can be initialized and used. the alternate code path for the commandline flags to list the devices and exit, or to initial-start with a specific device ID, adds a decent chunk of code (and makes the usage help string pretty long.)
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.