Are you able to reproduce the following (I'm still using WebMapper 0.2). Invert destination min and max values (e.g., Source is 0 to 127; Destination 127 to 0). Save mappings. Erase all mapping and load saved mappings file. See example of results, below. Note, inverting values and also scaling correctly saves (e.g., Source is 0 to 127; Destination 64 to 10)
-----------This is what WebMapper saves
{
"sources": [
{
"name": "karlax.1/raw/twist",
"direction": "output",
"calibrating": false,
"bound_min": "none",
"minimum": 0,
"maximum": 127,
"bound_max": "none"
}
],
"destinations": [
{
"name": "haverfield.1/9_channel/control/01/GM/modwheel",
"direction": "input",
"calibrating": false,
"bound_max": "none",
"minimum": 127,
"maximum": 127,
"bound_min": "none"
}
],
"selected": false,
"hidden": false,
"id": "3873042460598862020",
"muted": false,
"num_inputs": 1,
"version": 0,
"expression": "dst=src[0]*-0+127",
"mode": "linear"
},
-----------This is what I need. Easily edited in the JSON, but time-consuming to do them all. Changed destination maximum, expression and mode.
{
"sources": [
{
"name": "karlax.1/raw/twist",
"direction": "output",
"calibrating": false,
"bound_min": "none",
"minimum": 0,
"maximum": 127,
"bound_max": "none"
}
],
"destinations": [
{
"name": "haverfield.1/9_channel/control/01/GM/modwheel",
"direction": "input",
"calibrating": false,
"bound_max": "none",
"minimum": 127,
"maximum": 0,
"bound_min": "none"
}
],
"selected": false,
"hidden": false,
"id": "3873042460598862020",
"muted": false,
"num_inputs": 1,
"version": 0,
"expression": "dst=src[0]*-1+127",
"mode": "expression"
},
-----------