send integer to Text Block ?

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
User avatar
SystemD
Hasn't felt like this about software in a long time
Posts: 122
Joined: Sun Jan 25, 2009 19:57
Location: Caen, France

send integer to Text Block ?

Post 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

yannick.fullrez
Met Resolume in a bar the other day
Posts: 3
Joined: Fri Jan 26, 2024 23:53
Location: Berlin, Germany

Re: send integer to Text Block ?

Post 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 :)

User avatar
SystemD
Hasn't felt like this about software in a long time
Posts: 122
Joined: Sun Jan 25, 2009 19:57
Location: Caen, France

Re: send integer to Text Block ?

Post by SystemD »

Thanks for your answer Yannick.
Finaly, i modified my Max patch to send the numbers with NDI.
It does the trick !

User avatar
Arvol
Might as well join the team
Posts: 2860
Joined: Thu Jun 18, 2015 17:36
Location: Oklahoma, USA

Re: send integer to Text Block ?

Post by Arvol »

With Python I usually do something like:

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

Post Reply