Allowing integers for /control/outputs (float) message

Welcome Forums Help Allowing integers for /control/outputs (float) message

This topic contains 0 replies, has 1 voice, and was last updated by  ringodu74 1 month, 2 weeks ago.

  • Author
    Posts
  • #632

    ringodu74
    Participant

    Dear Rebecca & wekinator coders,

    I had a hard time fixing several implicit conversions from float to int to make sure that the control messages are send with floating point numbers only from Max/MSP.

    The initial problem in Max (and JS code) is that Max does some conversions from JS floating point numbers to integers. However, Wekinator only can process floating point numbers, so I had to trick max a bit (following https://cycling74.com/forums/make-sure-js-outputs-a-floating-point-number-it-seems-to-mix-floats-and-int/).

    I just wondered if wekinator could not at the first place, accept integers (and floats) for that control message. I just find a bit weird to expect only natural numbers (other values are “illegal”) while forcing the data representation to be floats.

    Arthur

You must be logged in to reply to this topic.

  •  
  •  
  •  
  •