# QMidiArp testing

**URL:** <https://discourse.zynthian.org/t/qmidiarp-testing/3639>\
**Category:** Software\
**Created:** [January 1, 2020, 11:03pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639 "2020-01-01T23:03:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [January 1, 2020, 11:03pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/1 "2020-01-01T23:03:41Z")

</div>

I’ve been having a go at getting QMidiArp going in my Zynth and today I found something that works rather well.

Now, I’m afraid here things sketchy because I can’t remember how I installed them. I’m pretty sure I downloaded it from [Sourceforge](https://sourceforge.net/projects/qmidiarp/files/) compile as per the README. The fiddly bit is you then need to copy the appropriate .o files from `qmidiarp-0.6.5/src/.libs/` into the relevant lv2 dirs, and then copy the resulting `qmidiarp_{arp,lfo,seq}.lv2` folders to /zynthian/zynthain-my-plugins/lv2 and enable them in the web-ui.

The directory trees should end up like

```auto
qmidiarp_arp.lv2
├── manifest.ttl
├── qmidiarp_arp.so
├── qmidiarp_arp.ttl
├── qmidiarp_arp_ui.so
└── qmidiarp_arp_ui.ttl
qmidiarp_lfo.lv2
├── manifest.ttl
├── qmidiarp_lfo.so
├── qmidiarp_lfo.ttl
├── qmidiarp_lfo_ui.so
└── qmidiarp_lfo_ui.ttl
qmidiarp_seq.lv2
├── manifest.ttl
├── qmidiarp_seq.so
├── qmidiarp_seq.ttl
├── qmidiarp_seq_ui.so
└── qmidiarp_seq_ui.ttl

```

There isn’t a MIDI layer for adding these plugins using the zynth-ui so I got creative and used MOD-UI

 ![Screenshot from 2020-01-01 22-32-20](https://discourse.zynthian.org/uploads/default/original/2X/e/e082b0034f54d18396df280e93919f92635f8125.png)  
The connections go from My USB keyboard in on the left to the Zynthian Main out on the right. If you hover the socket it should tell you which is which.

Qmidiarp listens on all midi channels, and by default outputs on Ch#1. So I set my keyboard to Ch#2, and loaded in a synth engine listening on Ch#1.

Once you save the mod-ui pedalboard you can load it using the zynthian-ui, it also exposes the arps as presets you can switch between. You can use the same methodology for qmidiarp\_lfo and qmidiarp\_seq.

[https://discourse.zynthian.org/uploads/default/original/2X/e/ed8c44068c43370a73974b9a46e614cceb007e1a.ogg](https://discourse.zynthian.org/uploads/default/original/2X/e/ed8c44068c43370a73974b9a46e614cceb007e1a.ogg)

---

<div class="post-metadata">

**Author:** ![Dithered42](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/d/e56c9b/32.png) [@Dithered42](https://discourse.zynthian.org/u/Dithered42)\
**Post date:** [January 2, 2020, 1:28am UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/2 "2020-01-02T01:28:14Z")

</div>

Nice work! Looks very promising!

---

<div class="post-metadata">

**Author:** ![hal80](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hal80/32/3876_2.png) [@hal80](https://discourse.zynthian.org/u/hal80)\
**Post date:** [March 13, 2020, 12:24pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/3 "2020-03-13T12:24:49Z")

</div>

Hi @Baggypants that’s nice. Tried to figure it out. After some issues with qt4 and qt5 dependencies, I was able to generate the files as mentioned and copied them to the appropriate folders. However, when I try to load them in the MOD UI browser interface, there comes an error message, “Error adding effect”.

Update: now I know what causes the error - qmidiarp needs to be compiled directly on the Raspberry.

---

<div class="post-metadata">

**Author:** ![hal80](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hal80/32/3876_2.png) [@hal80](https://discourse.zynthian.org/u/hal80)\
**Post date:** [March 15, 2020, 12:46pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/4 "2020-03-15T12:46:12Z")

</div>

Ok, seems to work now within MOD UI, but editing the patterns seems only possible in the \*.ttl files.  
I tried another way, i.e. to launch qmidiarp via X11 connection to zynthian.  
On the Zynthian, I installed qmidiarp from repositories (apt-get install qmidiarp).  
However, I cannot figure out how to route the midi signals to and from qmidiarp and what settings on the zynthian might affect it.  
My setup is as follows: I have an external midi keyboard, attached via USB, sending on midi channel 2. Then, I have a small synth attached to the 5 pin “Midi Out” socket, listening on channel 1. Accordingly, in qmidiarp, I set Output Channel to 1 and Input to Channel 2. But nothing happens. Event log stays empty.  
In Zynthian admin menu, i have unchecked single channel mode. Don’t know if that matters. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [March 15, 2020, 1:54pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/5 "2020-03-15T13:54:07Z")

</div>

You need to plug the things together yourself. Install `apt install patchage` and run it through the X Forwarding.

---

<div class="post-metadata">

**Author:** ![hal80](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hal80/32/3876_2.png) [@hal80](https://discourse.zynthian.org/u/hal80)\
**Post date:** [March 15, 2020, 5:40pm UTC](https://discourse.zynthian.org/t/qmidiarp-testing/3639/6 "2020-03-15T17:40:51Z")

</div>

That was the missing piece 😀! Thank you!
