Okay, I think I got it, thanks! On Wed, Jul 8, 2020 at 12:16 PM Mario Buoninfante < mario.buoninfante@gmail.com> wrote:
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/mariobuoninfante On 8 Jul 2020 20:12, Forrest Curo
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.buoninfante@gmail.com> wrote:
Hi,
You can have a look at this example
https://github.com/ccrma/chuck/blob/6217b3b08c3b8bb561730fb112d1b3a204cd1834...
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
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