1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Question

Discussion in 'Building With Reaktor' started by sahwwqa, May 8, 2017.

  1. sahwwqa

    sahwwqa New Member

    Messages:
    3
    Is it possible to convert numbers to integers without rounding in Reaktor ? Their has been times I've needed to do this but could not figure out how to do so. I do know you can use the quantize or round macros to convert events or audio to integers but both macros round up.
     
  2. mosaic_

    mosaic_ Guest

    You mean like a floor function? You can subtract 0.5 from the input and then round.
     
  3. sahwwqa

    sahwwqa New Member

    Messages:
    3
    I'm not sure if it would be a floor function. I just want to get rid of any decimal values. When I try what you said in core it will not output the value of one when I move the knob to one. I may be doing it incorrectly, so feel free to correct me if I am. Here is what I did
     

    Attached Files:

    • INT.ens
      File size:
      7.8 KB
      Views:
      180
  4. sahwwqa

    sahwwqa New Member

    Messages:
    3
    It seems to be that the only way to accomplish this is to subtract by .49999 instead of .5. It wouldn't be perfect but close