Hi all,

I am trying to use C++ to send an OSC message with four floats as arguments. Could someone point me towards documentation or help me with the syntax for this? Here is a snippet of my code.

float G; float D; float A; float E;
G = analogRead(context, 0, 0);
D = analogRead(context, 0, 1);
A = analogRead(context, 0, 2);
E = analogRead(context, 0, 3);
oscSender.newMessage("/myMessage").send();

I would like to pass G,D,A, and E with myMessage. Any help would be greatly appreciated! Thank you for reading 🙂

oscSender.newMessage("/myMessage").add(G).add(D).add(A).add(E).send();;