# Change E1 Preset via MIDI

**URL:** <https://forum.electra.one/t/change-e1-preset-via-midi/686>\
**Category:** General discussion\
**Created:** [May 17, 2021, 10:10am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686 "2021-05-17T10:10:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapelierfou](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/chapelierfou/32/471_2.png) [@chapelierfou](https://forum.electra.one/u/chapelierfou)\
**Post date:** [May 17, 2021, 10:10am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/1 "2021-05-17T10:10:26Z")

</div>

Hi there, how do you remotely set up the Preset ?  
This seems to be lacking the info : [External MIDI control | Electra One Documentation](https://docs.electra.one/extcontrol.html#midi-message-assignments)

---

<div class="post-metadata">

**Author:** ![Flyweight](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/flyweight/32/342_2.png) [@Flyweight](https://forum.electra.one/u/Flyweight)\
**Post date:** [May 17, 2021, 9:47pm UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/2 "2021-05-17T21:47:49Z")

</div>

I think you need to upload a config file using [Electra One App](https://beta.electra.one/sandbox/)  
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](https://github.com/martinpavlas/electra.one/blob/master/configs/midicontrol.cfg)]

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
  }
   ]
}
```

---

<div class="post-metadata">

**Author:** ![studiobischof](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/studiobischof/32/430_2.png) [@studiobischof](https://forum.electra.one/u/studiobischof)\
**Post date:** [May 18, 2021, 10:30am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/3 "2021-05-18T10:30:24Z")

</div>

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

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

```auto
"midiMessage":"cc7",
"parameterNumber":1

```

To use a program change 1 from the CTRL port:

```auto
"midiMessage":"program",
"parameterNumber":1

```

See also this thread:

> [@How to load Electra One banks and pages via my Morningstar MC8?](https://forum.electra.one/t/how-to-load-electra-one-banks-and-pages-via-my-morningstar-mc8/345/3):
>
> Hi Matthias! I am not sure if it will fit your setup but let’s try. If needed, things can be adjusted. This feature was pretty much inspired by your setup anyways slight_smile To configure Electra’s MIDI control commands: go to [https://app.electra.one/sandbox](https://app.electra.one/sandbox) select “config” option paste the config file (as shown below) to the text window check that there is “VALID” text above the Upload button 5… press Upload Connect your MC8 to Electra’s Control port: Connect your MC8 with a USB cab…

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/martin/32/145_2.png) [@martin](https://forum.electra.one/u/martin)\
**Post date:** [May 18, 2021, 10:37am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/4 "2021-05-18T10:37:49Z")

</div>

hehe, I was writing a message about that 🙂 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.

---

<div class="post-metadata">

**Author:** ![studiobischof](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/studiobischof/32/430_2.png) [@studiobischof](https://forum.electra.one/u/studiobischof)\
**Post date:** [May 18, 2021, 10:56am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/5 "2021-05-18T10:56:29Z")

</div>

Ja, edited my half baked reply 😉

---

<div class="post-metadata">

**Author:** ![chapelierfou](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/chapelierfou/32/471_2.png) [@chapelierfou](https://forum.electra.one/u/chapelierfou)\
**Post date:** [May 18, 2021, 10:59am UTC](https://forum.electra.one/t/change-e1-preset-via-midi/686/6 "2021-05-18T10:59:55Z")

</div>

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)
