# Mass change to a preset; works indeed

**URL:** <https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605>\
**Category:** Developers\
**Tags:** web-editor\
**Created:** [December 27, 2023, 3:52pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605 "2023-12-27T15:52:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 27, 2023, 3:52pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/1 "2023-12-27T15:52:30Z")

</div>

Hi everone,

I’m creating a preset for the Korg 01RW. It is very similar to the Korg 03R/W which I already made.  
But there are 3 types of mass changes to perform. See below in the Topic.  
I can change this of course in the json of the preset, and upload this into the E1, but then I can no longer use the editor for maintaining that preset.

**=\> Is there a way I can perform the necessary mass changes, outside the editor and then load them back again into the editor ?**

The necessary changes are:

1 There is a bit sequence

```auto
              "42",
              {
                "type": "function",
                "name": "getChannelByte"
              },
              "30",
              "41",

```

I need to replace with

```auto
              "42",
              {
                "type": "function",
                "name": "getChannelByte"
              },
              "2B",
              "41",
              "00",

```

in hundreds of places.

1. I also need to reshuffle the multisound list, and provide other names for each sound in the list

```auto
       "value": 86,
          "label": "hardflute 2",
          "index": 86
        },
        {
          "value": 87,
          "label": "pan flute",
          "index": 87
        },
        {
          "value": 88,
          "label": "pan flute lp",
          "index": 88
        },
        {
          "value": 89,
          "label": "shakuhashi",
          "index": 89
        },
        {
          "value": 90,
          "label": "bottle",
          "index": 90
        },
        {
          "value": 91,
          "label": "bassoon",
          "index": 91
        },
        {
          "value": 92,
          "label": "oboe",
          "index": 92
        },

```

1. Last but not least, I need to offset certain parsing bytes with 4 to 8 bytes in the json like in the code below where 149 must become 153, 150 =\> 154 etc…

```auto
 "parameterBitPosition": 2
                },
                {
                  "parameterNumber": 1208,
                  "type": "virtual",
                  "byte": 149,
                  "bitWidth": 1,
                  "byteBitPosition": 1,
                  "parameterBitPosition": 3
                },
                {
                  "parameterNumber": 1208,
                  "type": "virtual",
                  "byte": 149,
                  "bitWidth": 1,
                  "byteBitPosition": 6,
                  "parameterBitPosition": 4
                },
                {
                  "parameterNumber": 1208,
                  "type": "virtual",
                  "byte": 149,
                  "bitWidth": 1,
                  "byteBitPosition": 2,
                  "parameterBitPosition": 5
                },
                {
                  "parameterNumber": 1208,
                  "type": "virtual",
                  "byte": 144,
                  "bitWidth": 1,
                  "byteBitPosition": 4,
                  "parameterBitPosition": 6
                },
                {
                  "parameterNumber": 1208,
                  "type": "virtual",
                  "byte": 149,
                  "bitWidth": 1,
                  "byteBitPosition": 3,
                  "parameterBitPosition": 7
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 4,
                  "parameterBitPosition": 0
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 0,
                  "parameterBitPosition": 1
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 5,
                  "parameterBitPosition": 2
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 1,
                  "parameterBitPosition": 3
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 6,
                  "parameterBitPosition": 4
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 2,
                  "parameterBitPosition": 5
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 144,
                  "bitWidth": 1,
                  "byteBitPosition": 5,
                  "parameterBitPosition": 6
                },
                {
                  "parameterNumber": 1237,
                  "type": "virtual",
                  "byte": 150,
                  "bitWidth": 1,
                  "byteBitPosition": 3,
                  "parameterBitPosition": 7
                },
                {
                  "parameterNumber": 1229,
                  "type": "virtual",
                  "byte": 151,
                  "bitWidth": 1,
                  "byteBitPosition": 4,
                  "parameterBitPosition": 0
                },
                {
                  "parameterNumber": 1229,
                  "type": "virtual",
                  "byte": 151,
                  "bitWidth": 1,
                  "byteBitPosition": 0,
                  "parameterBitPosition": 1

```

---

<div class="post-metadata">

**Author:** ![jhh](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/jhh/32/951_2.png) [@jhh](https://forum.electra.one/u/jhh)\
**Post date:** [December 28, 2023, 10:00am UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/2 "2023-12-28T10:00:49Z")

</div>

You can import the edits json back into the editor, no? At least that’s what I’ve done in the past.

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 28, 2023, 12:13pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/3 "2023-12-28T12:13:29Z")

</div>

That would be nice, how do you do that?

---

<div class="post-metadata">

**Author:** ![jhh](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/jhh/32/951_2.png) [@jhh](https://forum.electra.one/u/jhh)\
**Post date:** [December 28, 2023, 1:32pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/4 "2023-12-28T13:32:43Z")

</div>

The import project button button on the main page of the web editor 😉

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 28, 2023, 1:43pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/5 "2023-12-28T13:43:23Z")

</div>

thanks : I will try it out. Never too old to learn something in 2023 ! Better hurrry though 😃

---

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [December 28, 2023, 11:13pm UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/6 "2023-12-28T23:13:20Z")

</div>

it works, just don’t forget to upload the lua again afterwards in a separate step.

---

<div class="post-metadata">

**Author:** ![jhh](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/jhh/32/951_2.png) [@jhh](https://forum.electra.one/u/jhh)\
**Post date:** [December 29, 2023, 8:35am UTC](https://forum.electra.one/t/mass-change-to-a-preset-works-indeed/2605/7 "2023-12-29T08:35:10Z")

</div>

Ah yes, forgot to mention that.
