Json editor not saving changes

When I try changing the json on the preset I’m working on, it never seems to save. I can edit it, but if I change to the lua editor and then back to json, it shows the version prior to my edit.

Sending the json to the E1 doesn’t seem to make a difference, exiting the preset editor entirely also reverts back to the original version.

I started this template using the point & click editor. Does that always override the json ? Is there a way I can tell it not to ?

Changes are ignored. Have a read in the docs: Preset Editor | Electra One Documentation

That’s not how I interpret it..

“The work in the visual and JSON editor can be freely combined.”

That’s specifically for patch editing. For preset editing, changing the JSON will have no effect. The docs were confusing to me too. I’ve been editing the JSON in Cursor and then using sysex to upload it to the E-1. Or I just upload it after editing offline.

1 Like

ugh, thanks. That is really confusing. I wonder if some UI improvement could be made to make that more obvious.

I am finishing a new version of the editor. Quite some stuff is addressed there. This particular issue - editing the preset JSON (as whole) - I am still not sure about how to resolve that. The preset JSON format is not the native format that the editor uses internally. Preset JSON is designed so that it can be uploaded to the controller. That means that every change made in the editor would result in conversion to the editor-native format and back to preset JSON. That would be very clumsy. In the upcoming version of the editor, the preset JSON view is removed. I may also make it read-only… The individual bits of JSON, such as the lists definitions or patch related data share the same structure in editor and preset JSON, hence it is possible to edit them.

1 Like