Re: Linux-audio-dev Digest, Vol 116, Issue 2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Linux-audio-dev Digest, Vol 116, Issue 2

Maurizio Berti
> I don't think you're missing anything. I believe to have hit the same wall in

> the past.
>
> How about not directly adding non-mixer to non-session-manager but a
> shell-script proxy (e.g. non-mixer-fixed) with your desired command line arguments?
>
> --- ~/bin/non-mixer-fixed-----------
> #!/usr/bin/bash
>
> exec \
>         -a non-mixer-fixed \
>         non-mixer --osc-port 9090 $*
> ------------------------------------

Thank you so much, I didn't think about a wrapper.
I just tested it and works fine.
Btw, I missed this message in the first place and in the meantime I created a python script using jackclient-python ( https://github.com/spatialaudio/jackclient-python/ ) to automate jack connections, since the only reason I needed nsm was to keep track of connections with jack clients that can become available or be closed at any time during a session.
This allows me to have a fixed "session", even when some jack clients listed in the setup are not available - using jackpatch I'd have to save a whole session with all clients connected and remember not to save it anymore.
Anyway, while your solution is the best for "closed" sessions, I still wander why there's no clean way to use OSC with nsm clients.
Unfortunally I only know about python, I can barely read C/C++, if not I'd suggest a patch that would allow nsm receive and relay messages to clients using the client's osc communication, something like /nsm/client/send; for example, with non-mixer it could be "/nsm/client/send Non-Mixer.aFOOB/strip/parameter/argument value" with nsm tracking down the client osc from the first part of the address. Anyway, this is just speculation at this moment, but it would be nice to see this implemented.

Thank you again for your tip.
Maurizio


_______________________________________________
Linux-audio-dev mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-dev