@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.)
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them. Check out our Patreon to see our donations.