Yup. Basically addresses are strings, so you can check them the way you check 
strings.

Cheers,
Mario

-- 
electronic musician, sound artist, creative coder, QA engineer
https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com 
https://github.com/mariobuoninfante https://bitbucket.org/mariobuoninfanteOn 8 
Jul 2020 20:12, Forrest Curo <treegest...@gmail.com> wrote:
>
> So you could have:
> if (message.address == "/thisstuff") {
>               [put the content into these variables]};
> else {
> //        message.address would instead be "/thatstuff"
>                [put it into those other variables];
> }
> ?
>
> On Wed, Jul 8, 2020 at 11:58 AM Mario Buoninfante 
> <mario.buoninfa...@gmail.com> wrote:
>>
>> Hi,
>>
>> You can have a look at this example
>>
>> https://github.com/ccrma/chuck/blob/6217b3b08c3b8bb561730fb112d1b3a204cd1834/examples/osc/osc_dump.ck
>>
>> Cheers,
>> Mario
>>
>> -- 
>> electronic musician, sound artist, creative coder, QA engineer
>> https://vimeo.com/creativecodingsalerno http://mbuoninfante.tumblr.com 
>> https://github.com/mariobuoninfante https://bitbucket.org/mariobuoninfante
>>
>> On 8 Jul 2020 19:52, Forrest Curo <treegest...@gmail.com> wrote:
>>>
>>> Is chuck limited to one osc address per port?
>>>
>>> If not, how to distinguish messages received at one address from those 
>>> received at another?
>>>
>>> Forrest Curo
>>> San Diego
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to