I am working on a web app that controls digital mixer X32 Behringer. I am using OSC with PHP, php-osc this is the link to the GitHub library https://github.com/frequenc1/php-osc I have managed to send commands to the device.
class OSCClientTest extends PHPUnit_Framework_TestCase
{
function setUp()
{
}
function testOSCClient()
{
$c = new OSCClient();
$c->set_destination("192.168.1.91", 10023);
$m1 = new OSCMessage("/dca/1/on");
$m1->add_arg(1, "i");
$c->send($m1);
}
}
$x = new OSCClientTest();
$x->testOSCClient();
I am having trouble getting data from the device. do I need to run a server?
the command to get data from the device is /info with no args