On Thu, Apr 4, 2013 at 7:16 AM, Pawel <[email protected]> wrote:

> Hi,
>
> My friend Jordan tell me about non-session-manager and this mailist.
>
> I'm the author of FSTHost (which is successor of FST - host for Win32
> VST). I read a little about NSM and it seems to be quiet easy. For now I
> know nothing about OSC :( Can I expect your help in this area ?
> I have already support for Lash and JackSession (which was my choice for a
> long time).
>

Fortunately, you don't have to understand OSC at all in order to implement
NSM support. Just copy the (permissively licensed) file 'nonlib/nsm.h' from
the Non repository into your project's source tree and use its interface.
It completely hides OSC from you.



> I'm curious about using NSM for "song" change . i.e. change presets in all
> plugins (fsthost instances) at once. As I understand it is what fast
> session switch want to cover. It is possible to change project by MIDI
> message ?
>
> For now I'm building some external app that connect to all FSTHost
> instances via MIDI, but this bring me mess in MIDI connections (all fsthost
> instances must be connected to this control app).
>

Yes! Because the NSM daemon can also accept control messages via OSC, NSM
can do this. All you have to do is convert from MIDI to the right OSC
messages. This can be accomplished easily with a mididings script such as
the one described here: http://non.tuxfamily.org/wiki/UsingMidiWithNon

You would be sending '/nsm/server/open' messages with the session name as
an (hardcoded) argument.

Reply via email to