Hey *,
As you may have seen, I've recently offered to help various projects
support the NSM session manager.
Thijs has approached me, and shown interest in adding NSM to Hydrogen.
I've just built Hydrogen from git, and am grepping the source to get to
into it:
The NSM support should be in Core (since cli / gui usage shouldn't matter
to session management).
It looks like the AudioOutput base class will need some way to set the JACK
client name,
and that the Open / Save routines need to be called from the NSM open/save
callbacks instead of GUI triggered.
That's all there is to it really. Some details of course, but that's the
idea.
The cli / gui have seperate main() functions (i see the LASH / jack_session
stuff implemented twice). I'll assume that's the way to go for NSM too.
On startup we check for NSM_URL, and if active we should grey out Open/Save
(since this is a session, we know where to open from & save to).
We need the actual invocation name of the program (so NSM can launch
Hydrogen when starting a session), which we can grab from argv[0].
Then AudioEngine::create_instance() is called from audioengine_init(),
which we would need to pass the NSM JACK client name etc to.
I'd value the opinion of somebody more experienced with the codebase here:
how can we best move some info to where we instantiate JACK and load a
session file into hydrogen.
Finally, a callback is needed to check if there are pending OSC messages.
Best is to set this up in main, and then wait until we are told to load a
session.
I look forward to your advice and opinions!
Cheers, -Harry
OpenAV Productions
www.openavproductions.com
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel