Announcement

Collapse
No announcement yet.

Convert OSC data (e.g. float to string)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert OSC data (e.g. float to string)

    Hello everyone,

    I was searching the forum before, but could not find any post. I was wondering if there is a way to convert or map incoming float values (OSC) to strings.

    Example:
    Code:
    /any/in 0.5f  -->  /any/out 'half'
    /any/in 0.0f  -->  /any/out 'zero'
    and also vice versa for feedback?

    any ideas?

  • #2
    Hi filmriss,

    I'm afraid I'm sorry, something like this would only work with integers.
    I guess I could extend the 'Demux' feature to handle floating numbers more properly but this is more or less one of the things I'd like to be able to do in the current rewrite of the application.

    You can convert a OSC number to a string though, but still this is pretty basic as it will merely output the number value and not a formatted output.

    Cheers,
    Cam

    Comment


    • #3
      Hi Cam,

      I see, thanks for clarification!

      Comment

      Working...
      X