Page 1 of 1

Matrix CLI

Posted: Fri Jan 19, 2024 1:35 am
by Andew212
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!

Re: Matrix CLI

Posted: Fri Jan 19, 2024 6:44 am
by Vincent Burel
by VBAN-TEXT request only for the moment.

see second message:
viewtopic.php?t=588

Re: Matrix CLI

Posted: Fri Jan 19, 2024 7:29 am
by Andew212
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!

Re: Matrix CLI

Posted: Fri Jan 19, 2024 9:37 am
by Vincent Burel
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

Re: Matrix CLI

Posted: Sun Jan 21, 2024 6:14 am
by Andew212
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!