Change E1 Preset via MIDI

Hi there, how do you remotely set up the Preset ?
This seems to be lacking the info : External MIDI control | Electra One Documentation

I think you need to upload a config file using Electra One App
Haven’t tried it yet.

@martin could you perhaps give an example how to use midiMessage: control change (CC) or program change?

Below I got from Martins github: [electra.one/midicontrol.cfg at master · martinpavlas/electra.one · GitHub]

The first entry is to switch a Page to page 1 with midi note 36.
The rest event names are well named and it should be obvious what they do. switch to the next page, a specific page, a specific preset or the next preset.

  {
     "event":"switchPage",
     "eventParameter":1,
     "midiMessage":"note",
     "parameterNumber":36
  },

Here is the full file [midicontrol.cfg] .
Edit it to your need and give it a try.

{
   "version":1,
   "midiControl":[
  {
     "event":"switchPage",
     "eventParameter":1,
     "midiMessage":"note",
     "parameterNumber":36
  },
  {
     "event":"switchPage",
     "eventParameter":2,
     "midiMessage":"note",
     "parameterNumber":37
  },
  {
     "event":"switchPage",
     "eventParameter":3,
     "midiMessage":"note",
     "parameterNumber":38
  },
  {
     "event":"switchPageNext",
     "midiMessage":"note",
     "parameterNumber":39
  },
  {
     "event":"switchPreset",
     "eventParameter":1,
     "midiMessage":"note",
     "parameterNumber":48
  },
  {
     "event":"switchPresetNext",
     "midiMessage":"note",
     "parameterNumber":49
  },
  {
     "event":"switchPresetPrev",
     "midiMessage":"note",
     "parameterNumber":50
  }
   ]
}
2 Likes

I found this info in the dev documentation helpful:
https://docs.electra.one/developers/confformat.html#top-level-objects

To use CC 7, Value 1 from the CTRL port just type:

"midiMessage":"cc7",
"parameterNumber":1

To use a program change 1 from the CTRL port:

"midiMessage":"program",
"parameterNumber":1

See also this thread:

1 Like

hehe, I was writing a message about that :slight_smile: but just discarded it.

Yes, that that thread describes how to upload the config and the document @studiobischof mentioned provides full info on the Configuration file format.

2 Likes

Ja, edited my half baked reply :wink:

1 Like

Thank you !
It seems easy to get it working. (although, that could be much more user friendly to set this up from the web editor)

1 Like