[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] OSCdef for more osc messages
marcello.lussana@xxxxxxxxxxxx writes:
> hi all,
>
> I would like to handle more osc messages in one OSCdef function, is that
> possible?
> Are there any other way to do that?
>
> Let's assume I have the following list of OSC messages:
> var myOSCList = ["/osc1", "/osc2", "/osc3"]
>
> How can I catch all of them in one receiver?
Is is supposed to work with the newMatching class method of OSCFunc and
OSCdef.
OSCdef(\match, {|...args| args.postln}, '/osc[1-3]')
However, it is currently broken. I just submitted PR #4687 to fix it.
--
CYa,
⡍⠁⠗⠊⠕
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/