[chuck-users] Oscin addAddress query

Michael Heuer heuermh at gmail.com
Fri Jul 6 10:05:46 EDT 2018


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 at 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20180706/9c3cbe9b/attachment.html>


More information about the chuck-users mailing list