Page 1 of 1

send integer to Text Block ?

Posted: Tue Apr 09, 2024 14:30
by SystemD
I'd like to send numbers to the OSC text generator in order to create a counter.
Messages are sent via MaxMsp. Resolume Arena version 7.19.2
I can send text without any problem via the command: /composition/layers/1/clips/2/video/source/blocktextgenerator/text/params/lines
But with numbers, it doesn't work.
I see in the panel that the value "OSC-string" is received for text and the argument "int32" when I send integers.

Is this normal? Is there a way to display numbers in this block?

Thank you

Re: send integer to Text Block ?

Posted: Tue Apr 09, 2024 16:32
by yannick.fullrez
The text parameter only accepts String arguments, you can see this under OSC Type Tag when you go into the OSC shortcuts and select the parameter. So before sending the numbers you have to convert them to a String :)

Re: send integer to Text Block ?

Posted: Thu Apr 11, 2024 17:56
by SystemD
Thanks for your answer Yannick.
Finaly, i modified my Max patch to send the numbers with NDI.
It does the trick !

Re: send integer to Text Block ?

Posted: Fri Apr 12, 2024 18:22
by Arvol
With Python I usually do something like:

str("xxx") with xxx being the int(operator)