Advanced Mapping

Hi there,
I’d like to map a value to MIDIOUT like this:

source is between 0 and 400
destination is between 0 and 127

if source = 60: destination is 1
if source = 10: destination is 127

if source >60: destination is 0
if source <=10: destination is 127

“Inverted” Mapping works fine (source min=0 max=60 / destination min=127 max=0), but how to get the output = 0 for inputs > 60 and output = 127 for inputs <= 10?

Any help on this would be pleasant!
mo

try the clamp mode of the map node

such an easy solution! i love vvvv :)