OscIn gets values fromÂ an OSCÂ stream that matchesÂ the message specified in the input.
- Default OSC Message:Â /ntk/in/1
- Fixed port:Â 57190
You can simulate an input by moving the round visual “knob” on screen. This way, you can see what happens to other widgets when they get values from the sensor.
- OSC Message – Set theÂ OSC message you want to listen for by editing it in the more section of the widget.
- IP address – Your OSC sender must send to the local IP address of the device running the NTK server (127.0.0.1 if the same machine)
- Port – The sending app mustÂ send to portÂ 57190
Often the values coming from a inputÂ will not match what the rest of your project needs. So you may need to scale the inputÂ values.
- In: Â min and max – The input min/max allowsÂ you to matchÂ the incoming value range. For example, some OSC senders (TouchOSC) useÂ fractionalÂ numbers from 0-1. In this case, set the min to 0, and the max to 1 to match the sender range.
- Out: min and max – These settings allow you to scale the incoming values to your needs in the patch. For example, if the input value are going to drive a servo, you could set the min to 0, and the max to 180, which would give you the full 180 degree range of the servo.