Hello, is there a way to access the Audio Matrix CLI externally?
Eg, does it expose a TCP server on a certain port or anything like that?
I would like to be able to control it from another program.
Thank you!
Matrix CLI
-
- Site Admin
- Posts: 2121
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Matrix CLI
Thanks Vincent!
However I am still a little confused. So once VBAN is on, it opens a UDP server on port 6980 correct?
And then I should be able to send packets to it using the TEXT type to send CLI commands?
Could you help me with an example packet? Once I get the first one I can go from there.
If I want to send the cli command Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0;
Would I send a packet as below:
VBANR\00\00\10Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0; //sent as ASCII
to port 6980 as UDP?
I am using packet sender (https://packetsender.com) to test, but if you could suggest something better that would be great!
However I am still a little confused. So once VBAN is on, it opens a UDP server on port 6980 correct?
And then I should be able to send packets to it using the TEXT type to send CLI commands?
Could you help me with an example packet? Once I get the first one I can go from there.
If I want to send the cli command Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0;
Would I send a packet as below:
VBANR\00\00\10Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0; //sent as ASCII
to port 6980 as UDP?
I am using packet sender (https://packetsender.com) to test, but if you could suggest something better that would be great!
-
- Site Admin
- Posts: 2121
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Matrix CLI
Basically yes, but if you don't program it, you may use MacroButtons (installed with any Voicemeeter).
and define you request like this for example:
SendText("vban1",Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0;);
see user manual page 54: https://vb-audio.com/Voicemeeter/Voicem ... Manual.pdf
and define you request like this for example:
SendText("vban1",Point(ASIO64A.IN[6],ASIO64A.OUT[3]).dBGain = 0.0;);
see user manual page 54: https://vb-audio.com/Voicemeeter/Voicem ... Manual.pdf
Re: Matrix CLI
Thanks Vincent, I have got this working now.
My problem was I didnt realise that VBAN stream 1-6 were audio, 7 was MIDI, and 8 was ascii.
Used the correct VBAN stream and have control now.
One more question. I can set all the commands I want, but is there a way to query the state of a command without changing it? So like can I read the current state of a point in the matrix?
Thank you!
My problem was I didnt realise that VBAN stream 1-6 were audio, 7 was MIDI, and 8 was ascii.
Used the correct VBAN stream and have control now.
One more question. I can set all the commands I want, but is there a way to query the state of a command without changing it? So like can I read the current state of a point in the matrix?
Thank you!
-
- Posts: 6
- Joined: Mon May 11, 2020 8:36 pm
Re: Matrix CLI
Here is a CLI program that can be used to send VBAN-TEXT instructions to Matrix. There is an example in the README.
https://github.com/onyx-and-iris/vbantxt-cli
If you're not sure how to build the program I've included executables in the repo's Releases section.
https://github.com/onyx-and-iris/vbantxt-cli
If you're not sure how to build the program I've included executables in the repo's Releases section.
Re: Matrix CLI
That is extremely helpful, onyx_online!onyx_online wrote: ↑Fri Jun 28, 2024 7:28 pm Here is a CLI program that can be used to send VBAN-TEXT instructions to Matrix. There is an example in the README.
https://github.com/onyx-and-iris/vbantxt-cli
If you're not sure how to build the program I've included executables in the repo's Releases section.
Can I repeat Andrew's question which was not answered as far as I can see - is this command channel strictly one way, or is it also possible to read parameters from Voicemeeter and Matrix?
Martin
-
- Posts: 6
- Joined: Mon May 11, 2020 8:36 pm
Re: Matrix CLI
The vbantxt-cli can only be used to send requests.
To receive data a client program must subscribe to the VBAN RT Packet service.
Vincent has provided an example of this in the vmr_streamer source code:
https://github.com/vburel2018/Voicemeet ... vban_cmd.c
As far as I know this is currently only possible for Voicemeeter, but not Matrix.
To receive data a client program must subscribe to the VBAN RT Packet service.
Vincent has provided an example of this in the vmr_streamer source code:
https://github.com/vburel2018/Voicemeet ... vban_cmd.c
As far as I know this is currently only possible for Voicemeeter, but not Matrix.