fugalh / aeolus

Aeolus is a high quality pipe organ emulator using additive synthesis.
https://kokkinizita.linuxaudio.org/linuxaudio/aeolus/
GNU General Public License v3.0
27 stars 5 forks source link

Implement save/load presets from command line interface #1

Open jofemodo opened 6 years ago

jofemodo commented 6 years ago

If @fugalh could give some tips about the aeolus "message" system, it would a pleasure to extend the CLI with this feature: How must i create and send the needed messages for managing presets? I've been reading the code but i don't completely understand the way complex messages (like preset-related messages) are managed, so ... some little tips from the original developer will save a lot of hours of try/error ;-)

Thanks!

jerash commented 2 years ago

@jofemodo if you are using the -t option on startup, then the aeolus "text interface" handles all message parsing. It has very few options, but you easily add new in the Tiface::handle_mesg (ITC_mesg M) function. Add a case in the switch with the relevant MTIFC message (from messages.h) you want to handle, and create the associated handle_ifc_xxxx function I may have an example in a branch if necessary