# Connecting the Electra One MK2 to Tanzmaus(MIDI1) and Op-Z(MIDI2)

**URL:** <https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950>\
**Category:** Instruments\
**Created:** [May 25, 2024, 4:23pm UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950 "2024-05-25T16:23:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![boombipbass](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/boombipbass/32/3070_2.png) [@boombipbass](https://forum.electra.one/u/boombipbass)\
**Post date:** [May 25, 2024, 4:23pm UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/1 "2024-05-25T16:23:36Z")

</div>

Dear electra one mk2 owners(and ofc mk1),

I am quite new to midi mapping and I have quite some difficulties trying to map these two devices.

Basically I want to create a layout where I can send different program changes mapped under the same button aswell as for the Tanzmaus.(for the tanzmaus this is pattern + one of the steps) and the Op-Z(this is P + number + trackchannel).

I want to have a trackmute function screen for the Tanzmaus  
A trackmute function screen for the Op-Z(accessed via the mixer button on top and then selecting each track respectively for on/off)

A tape machine push section for the Op-Z(track 12)  
A push in fx section for the Op-Z(track 14)  
visual encoders & knobs for the Op-Z visuals(track16)  
light encoders & knobs for the Op-Z lightning track(track15)

For the tanzmaus the manual doesn;t make any sense as how to program this, could anybody shine some light on this?

page 35 is the midi information. I can see this in the manual:

MIDI Implementation  
MIDI Controller assignment  
MIDI\_CC\_BD\_ATT 2  
MIDI\_CC\_BD\_DECAY 64  
MIDI\_CC\_BD\_PITCH 65  
MIDI\_CC\_BD\_TUNE 3  
MIDI\_CC\_BD\_NOISE 4  
MIDI\_CC\_BD\_NOISE\_DEC 5  
MIDI\_CC\_BD\_DIST 6  
MIDI\_CC\_BD\_TRIGGER 66  
MIDI\_CC\_SD\_TUNE 11  
MIDI\_CC\_SD\_NOISE 13  
MIDI\_CC\_SD\_NOISE\_DEC 67  
MIDI\_CC\_SD\_TRIGGER 70  
MIDI\_CC\_SD\_DECAY\_TONE 71  
MIDI\_CC\_CP\_DECAY 75  
MIDI\_CC\_CP\_FILTER 18  
MIDI\_CC\_CP\_ATTACK 76  
MIDI\_CC\_CP\_TRIGGER 77  
MIDI\_CC\_TT\_TUNE 19  
MIDI\_CC\_TT\_DECAY 20  
MIDI\_CC\_TT\_TRIGGER 78  
MIDI\_CC\_TT\_ATTACK 79  
MIDI\_CC\_TT\_PITCH 82  
MIDI\_CC\_TT\_PAN 73  
MIDI\_CC\_SAMPLE1\_TUNE 84  
MIDI\_CC\_SAMPLE1\_DECAY 85  
MIDI\_CC\_SAMPLE1\_SAMPLE\_SELECT1 86  
MIDI\_CC\_SAMPLE1\_SAMPLE\_SELECT2 87  
MIDI\_CC\_SAMPLE1\_ATTACK 88  
MIDI\_CC\_SAMPLE2\_TUNE 89  
MIDI\_CC\_SAMPLE2\_DECAY 90  
MIDI\_CC\_SAMPLE2\_SAMPLE\_SELECT1 91  
MIDI\_CC\_SAMPLE2\_SAMPLE\_SELECT2 92  
MIDI\_CC\_SAMPLE2\_ATTACK 93  
The MIDI channel for controller data transfer is  
always the same as the channel of the corresponding instrument. It is selected with the MIDI  
Learn function.  
Tanzmaus responds to the following MIDI data:  
MIDI\_CLOCK  
MIDI\_START  
MIDI\_CONTINUE  
MIDI\_STOP  
MIDI\_NOTE\_OFF  
MIDI\_NOTE\_ON  
MIDI\_CONTROLLER  
MIDI\_PROG\_CHANGE: 0…63  
MIDI\_SYSEX  
MIDI\_SONG\_POSITION\_POINTER

( [https://media.djmania.net/manuales/pdf/Manual\_MFB\_Tanzmaus.pdf](https://media.djmania.net/manuales/pdf/Manual_MFB_Tanzmaus.pdf) )

but which midi channel is this?

And with the Op-Z I can find this in the manual:

[https://teenage.engineering/guides/op-z/midi](https://teenage.engineering/guides/op-z/midi)

I am just totally confused and am afraid that I have to program stuff in to Lua, but my liveshow is in 15 juni, and I am so scared it is not going to work out ☹

I hope somebody can put me in the right direction.

PS: So far it seems that when you put the Tanzmaus in manual mode instead of step mode it will react to incoming midi but when I put the tanzmaus in manual mode all preprogrammed knobs of the decay et all of the different analog drums will go to the value they are at in realtime on the machine, which isn;'t exactly what I want.) the only thing I really would want to control of the tanzmaus is the mute section of the tracks and the program changes.

Thanks so much

---

<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 26, 2024, 5:57am UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/2 "2024-05-26T05:57:39Z")

</div>

Hi @boombipbass, I read your message a few times, but I’m still finding it a bit difficult to determine where to start. Could you share your preset? You can start by just making the layout. Once you have the essential structure, we can look at individual controls, such as the program changes.

Based on what you’ve mentioned (two program change messages at the same time plus each control change number being a custom calculation), I think you’ll need to use Lua. Don’t be intimidated; it’s actually easier than it looks, and it allows you to do things that wouldn’t be possible otherwise.

Cheers

---

<div class="post-metadata">

**Author:** ![boombipbass](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/boombipbass/32/3070_2.png) [@boombipbass](https://forum.electra.one/u/boombipbass)\
**Post date:** [May 27, 2024, 2:42pm UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/3 "2024-05-27T14:42:48Z")

</div>

Thanks for your reply 🙂  
[https://app.electra.one/preset/L8xmJCSSy0YnpC1iYEpR](https://app.electra.one/preset/L8xmJCSSy0YnpC1iYEpR)  
Here is the preset file so far.

I have just made the buttons for the track mutes, the program changes need to be done yet. But for example I’d like combine a program change of the Op-Z to Prog + Kick + 1 and Tanzmaus Shift + Pattern and then Pattern + Step 3

The mutes are channel mutes accessable via the Op-Z by pressing the menu button on top. And via the tanzmaus via making sure the rec recording light is not lit and then pressing step 1 to 14.

The push in effects for the Op-Z are in noral idi settings on midi channel 15 and are received when pressing the CC notes of the keys of the Op-Z, so C-1 to C-3 so to say.

---

<div class="post-metadata">

**Author:** ![boombipbass](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/boombipbass/32/3070_2.png) [@boombipbass](https://forum.electra.one/u/boombipbass)\
**Post date:** [June 5, 2024, 11:34pm UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/4 "2024-06-05T23:34:30Z")

</div>

hey there, did you manage to see it?  
my main concern is that I’d like to map the first view to two midi sends.  
the tanzmaus is on midi 2 out and the op-z is on midi 1 out.  
the tanzmaus midi is supposed to be this midi command according to the manual:

MIDI\_PROG\_CHANGE: 0…63

and for the Op-Z it is

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/electraone/original/2X/4/448a77910ec7f8aef4f0346615ba74d39a9011c2.png)

---

<div class="post-metadata">

**Author:** ![boombipbass](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/boombipbass/32/3070_2.png) [@boombipbass](https://forum.electra.one/u/boombipbass)\
**Post date:** [June 5, 2024, 11:48pm UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/5 "2024-06-05T23:48:32Z")

</div>

How could I map two program changes to 1 button in the Electra One App?  
Do you happen to know how I could do this or could you do one example maybe in Lua and add it to the template?

I could copy the rest :))

Also the Op-Z mentions this in pre-configurable settings:

I can choose:  
-enable program change: in/out  
\*does this mean that when I choose “ïn” it will receive program changes?

It also has a midi.json I can choose true or false:

alt\_program\_change:  
-true: use bank 1–16 / program 1–16 to set active pattern.  
-false: pattern 1–160 is activated with bank 1 / program 1–128 and bank 2 / program 1–32  
\*I thought true would be the best, since it has 16 banks with each 16 patterns.

But since the tanzmaus says:  
MIDI\_PROG\_CHANGE: 0…63  
How would you send a midi command to the Op-Z?  
MIDI\_BANK\_CHANGE: 0…16 and MIDI\_PROG\_CHANGE: 0…16?

Would this mean you need 3 commands on 1 knob? I am really confused and the liveshow is the 14th of june ☹

This is one of the most important things to tackle for me.

---

<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:** [June 6, 2024, 6:02am UTC](https://forum.electra.one/t/connecting-the-electra-one-mk2-to-tanzmaus-midi1-and-op-z-midi2/2950/6 "2024-06-06T06:02:11Z")

</div>

> [@boombipbass](#):
>
> Do you happen to know how I could do this or could you do one example maybe in Lua and add it to the template?
> 
> I could copy the rest :))

Please take a look at [Send Multiple messages](https://app.electra.one/preset/DDMWs59fXV4xlLqkbafm) preset.

It is the simplest way to send two messages using a Pad or a Fader.

> [@boombipbass](#):
>
> I can choose:  
> -enable program change: in/out  
> \*does this mean that when I choose “ïn” it will receive program changes?

I guess it does. I’d suggest to give it a try.

> [@boombipbass](#):
>
> But since the tanzmaus says:  
> MIDI\_PROG\_CHANGE: 0…63  
> How would you send a midi command to the Op-Z?  
> MIDI\_BANK\_CHANGE: 0…16 and MIDI\_PROG\_CHANGE: 0…16?

Bank changes are done using CC #0 and CC #32.

so, say bank 3, program 10 could be done as:

```auto
midi.sendControlChange(PORT_1, 1, 0, 3)
midi.sendProgramChange(PORT_1, 1, 10)

```

A few remarks, the bank and program numbers can be shifted by 1. It means that value 0 might represent bank 1.

Also the above Lua code assumes that CC #0 is used for the bank change. If it does not work, you may want to try to use CC #32. More info on this: [Bank select](http://midi.teragonaudio.com/tech/midispec/bank.htm).
