Hello Scott,

The "if" argument is the OSC Type Tag String, which specifies the argument types sent to that address.  In this case, one int32 (i) and one float32 (f).

http://opensoundcontrol.org/spec-1_0

    michael


On Fri, Jul 6, 2018 at 8:51 AM, Scott Hewitt <witt0191@gmail.com> wrote:
Hi,

I was moving some code away from using OscRecv and OscSend to make use
of OscIn/OscOut and OscMsg. I found the versions file (under 1.3.4.0)
useful in doing this.

The example r.ck within the OSC examples was also useful. I did find
something that I was unclear about though within it.

What is the purpose of the if within line 15?

9: OscIn oin;

14: // create an address in the receiver
15: oin.addAddress( "/foo/notes, if" );

https://github.com/ccrma/chuck/blob/master/examples/osc/r.ck

All the best

Scott
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users