Ejemplo n.º 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            ip = TBIp.Text;
            port = int.Parse(TBPort.Text);
            oscm = new OSC(ip, port);

            OSCbundle obu = new OSCbundle();
            OSCmsg omess = new OSCmsg("/test bundel 1");
            omess.addValue(357);
            omess.addValue(25.75f);
            obu.addOSCmsg(omess);

            OSCmsg omess2 = new OSCmsg("/test bundel 2");
            omess2.addValue(85);
            omess2.addValue(0.3f);
            obu.addOSCmsg(omess2);
            oscm.sendOSCBundle(obu);
        }