Saving settings, standalone.
-
We have a standalone app that does not need presets, but it would need to save the user selected midi interface. Preferably on app close.
So user opens app, selects midi interface and on close it would save those settings, maybe in a hidden preset manager ?
Any thoughts?
-
@lalalandsynth AFAIK, the MIDI input selection is stored in the GeneralSettings.xml (or DeviceSettings.xml) file already alongside the audio settings and other stuff.
-
@Christoph-Hart How can I get the midi interface to show up in the settings?
-
@lalalandsynth There's a dedicated floating tile for the midi input (
MidiSources
). You can change the appearance by giving it a custom LAF and override thedrawToggleButton
method). -
@Christoph-Hart found it , thanks .