mapValue

mapValue()

Remap the incoming value of MIDI message data from 0-127 to a new range

Syntax #

midiData.mapValue(startRange, endRange)

Parameters #

startRange
Number, the lower bound of the value's target range.
endRange
Number, the upper bound of the value's target range.