Example #1
0
    public void SendOscMessage(string content)
    {
        string text = string.IsNullOrEmpty(address) ? content : address + " " + content;

        OscMessage msg = Osc.StringToOscMessage(text);

        oscHandler.Send(msg);

        SenderPrinter.Invoke(text);
    }
Example #2
0
 private void Update()
 {
     if (oscMessage != lastMessage)
     {
         UpdateAddressEvent(oscMessage);
         RecieverPrinter.Invoke(string.Format("{0} {1}", oscMessage.Address, ArrayListToString(oscMessage.Values)));
         lastMessage = oscMessage;
     }
 }