report_mapping
Teach the catalogue which MIDI message a control really sends: after the user moved one control on the device (see relay_listen), give the driver address it is (from list_routes) — or, for a control the driver lacks, its panel label — and the CC, NRPN or note it sent, with the firmware and the device's Identity Reply when you have them. When several accounts observe the same thing on one firmware the mapping is learned; get_trust shows learned mappings and where they differ from the driver.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| note | No | ||
| label | No | The control's panel label, when the driver has no address for it. | |
| device | Yes | Driver id or slug. | |
| address | No | The driver's OSC address for the control. | |
| channel | No | ||
| user_id | No | Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional. | |
| firmware | No | ||
| nrpn_lsb | No | ||
| nrpn_msb | No | ||
| identity_hex | No | The device's reply to the MIDI Identity Request, in hex. |