Editor errors

Description


After editing a pedalboard, I often notice a particular error in the addressings.json file. There are often duplicate “page” entries, like the multiple “page”:0 entries here:

"/hmi/potentiometer6": [
        {
            "page": 3,
            "coloured": false,
            "subpage": null,
            "maximum": 127.0,
            "dividers": null,
            "label": "WAH AMT",
            "momentary": 0,
            "port": "DEPTH",
            "group": null,
            "instance": "/graph/awha",
            "tempo": false,
            "minimum": 0.0,
            "steps": 127
        },
        {
            "page": 4,
            "coloured": false,
            "subpage": null,
            "maximum": 10.0,
            "dividers": null,
            "label": "POW LEN",
            "momentary": 0,
            "port": "Control",
            "group": null,
            "instance": "/graph/mod_cv_control_3",
            "tempo": false,
            "minimum": 0.0,
            "steps": 33
        },
        {
            "page": 0,
            "coloured": false,
            "subpage": null,
            "maximum": 1.0,
            "dividers": null,
            "label": "SHI LVL",
            "momentary": 0,
            "port": "Volume",
            "group": null,
            "instance": "/graph/mod_volume_2x2_2",
            "tempo": false,
            "minimum": 0.0,
            "steps": 33
        },
        {
            "page": 0,
            "coloured": false,
            "subpage": null,
            "maximum": 1.0,
            "dividers": null,
            "label": "SHI LVL",
            "momentary": 0,
            "port": "Volume",
            "group": null,
            "instance": "/graph/mod_volume_2x2_2",
            "tempo": false,
            "minimum": 0.0,
            "steps": 33
        },
        {
            "page": 0,
            "coloured": false,
            "subpage": null,
            "maximum": 1.0,
            "dividers": null,
            "label": "SHI LVL",
            "momentary": 0,
            "port": "Volume",
            "group": null,
            "instance": "/graph/mod_volume_2x2_2",
            "tempo": false,
            "minimum": 0.0,
            "steps": 33
        },
        {
            "page": 1,
            "coloured": false,
            "subpage": null,
            "maximum": 0.90000000000000002,
            "dividers": null,
            "label": "SYN DST",
            "momentary": 0,
            "port": "distortion_crunch",
            "group": null,
            "instance": "/graph/amsynth",
            "tempo": false,
            "minimum": 0.0,
            "steps": 33
        }
    ],

as you can see, they are identical. i’ve been removing the duplicates and copying the file back to the device. perhaps there’s no harm in the presence of the duplicates, but it speaks to some underlying issues with the editor’s ability to keep things straight. might this sort of thing be connected to the occurrence of “pedalboard can’t be saved” messages and occasional problems placing plugins, or addressing parameters to controls?

How to reproduce


  1. do a bunch of edits in the pedalboard GUI, especially on a complicated pedalboard.
  2. ssh into the MOD unit, and examine the addressings.json file, looking for duplicate “page” entries.

Expected/suggested solution


the editor shouldn’t make errors! :wink:

Additional information


  • release: this has happened for a while, but i’m currently on the latest release (1.13.4)
    also, it happens with Duo, Dwarf, and DuoX, and when using the editor GUI in various browsers.
7 Likes