Applying math formula to incoming OSC value to translate float

Hi, im needing to take an incoming float value ( 0.00 - 1.00 ) for BPM from Resolume and convert it to the BPM number by multiplying the float by x 500 ( 0 being 0 bpm, 480 being 500 BPM ). I figure i need to apply a formula to the incoming float number from the OSC adress, probably using the script property, but I can’t figure out how this is done and can’t see any clear examples of something similar.

Can anyone point me in the right direction?

thanks!

Using a script widget and a text widget you’d need to:

  • configure the script widget’s osc-related properties to make it receive the float value
  • set its script property to: set("text_widget_id", value * 500)

perfect, it works, thank you!