Hey all,
I'm deeply in need of and want to add some scripting capabilities to
Hydrogen. In my case something like 'enable Jack transport', 'set
Hydrogen as timebase master', 'add a tempo marker' etc. This make
development involving external programs much more easier and allows for
more complex testing as e.g. most bugs reported can not be turned into
unit tests right now.
Quite a number of functionalities are already provided as OSC commands
and since recently we have new ones such as 'create a new song' or 'quit
the application'. But whenever the GUI is involved this leads to the
creation of yet another event for the `EventQueue`. For commands
involving just the toggling of a single button this becomes unfeasible.
I do like the separation between the core and the GUI and are a little
reluctant to blur the line between them (also because it will increase
the inconsistency of the code even more). But how about having a third
entity holding a shared state, like static member variables in the
`CoreActionController` and both the OSC command and GUI callback execute
the same core action function?
What do you think? Is this me overthinking some functionalities or might
this a direction to proceed further in?
Cheers,
Phil
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel