Electra one : translate json format to integers, some problems.


    May 13 2022 | 9:30 am
    Hi, I'm trying to send sysex messages to my Electra One controller in order to change control names. According to https://docs.electra.one/developers/midiimplementation.html#control-update the control names have to be inserted in the sysex string and respect the json formatting. So I assume it's a matter of respecting the carriage returns and the spaces. Still, it doesn't work. Any ideas ?

    • May 13 2022 | 12:55 pm
      Best bet would be to analyze the sysex sent by an Electra Editor. On a Mac, you could use MIDI Monitor - maybe MIDI View on Mac/Windows (never tried this last one). If you can't do that, maybe try avoiding the '13' character:
    • May 13 2022 | 1:08 pm
      Thanks for the reply. Still doesn't work, and I can't analyze the sysex sent by the Electra Editor, because (I think) the names are settable and not gettable. In your patch the word name should be "name" (with the quotes). For some reason it disappears when you type it.
    • May 13 2022 | 2:20 pm
      The app "MIDI Monitor" enables you to monitor any MIDI data sent by any app to any external MIDI: for instance, you can spy on the sysex MIDI the Electra Editor is sending to your Electra. Do you mean that it doesn't work for you? Did you try this app (if you're on Mac) or another one?
    • May 13 2022 | 2:29 pm
      I use MIDI Monitor frequently. I spied the sysex going to the Electra One, but I don't think it's relevant : the Electra Editor does send a sysex message when I change the name of a control, but it doesn't look like the description that you can find on the link above. It should be straightforward according to this description, but I have trouble translating it to the actual sysex message. Not sure how I'm supposed to "translate" the json format into integers.
    • May 13 2022 | 3:16 pm
      I see. It seems like it's a question for the Electra One team: in addition to the docs where they show the json excerpts, they could provide the exact sysex they expect. That said, it's strange that they ask to transmit a json text as sysex: it's not a compact way of carrying information, even when you want to keep it human-readable. Maybe when they do it, they go for something more compact (like using one character for name vs color vs visible, etc.) I'll let other Electra One users chip in.
    • May 13 2022 | 7:50 pm
      Thanks, I'll try to get at least one example from the developper.