# GuitarMidi-lv2 version 2.0

**URL:** <https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108>\
**Category:** Software\
**Tags:** midi-controllers, midi\
**Created:** [May 6, 2026, 3:45pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108 "2026-05-06T15:45:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 6, 2026, 3:45pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/1 "2026-05-06T15:45:58Z")

</div>

Announcing GuitarMidi-lv2 version 2.0 for linux. This version is a massive upgrade incorporating a custom neural net Release on May the 8th on github:  
[https://github.com/geraldmwangi/GuitarMidi-LV2](https://github.com/geraldmwangi/GuitarMidi-LV2)  
Stay tuned

[![](https://img.youtube.com/vi/J7pngo04uuM/maxresdefault.jpg "GuitarMIDI-LV2 version 2.0") ](https://www.youtube.com/watch?v=J7pngo04uuM)

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 8, 2026, 7:21am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/2 "2026-05-08T07:21:24Z")

</div>

GuitarMidi-LV2 v2.0 for linux is out:

> **[Release Going Neural · geraldmwangi/GuitarMidi-LV2](https://github.com/geraldmwangi/GuitarMidi-LV2/releases/tag/v2.0)**
>
> Neural Net
> Added custom neural net that drastically improves detection. The net embodies how the guitar is built, with structures representing the strings, frets and chords.
> Current drawbacks
> 
> boun...

I highlighted the current drawbacks in the release notes. Happy testing

Here the announcement video:

[![](https://img.youtube.com/vi/J7pngo04uuM/maxresdefault.jpg "GuitarMIDI-LV2 version 2.0") ](https://www.youtube.com/watch?v=J7pngo04uuM)

---

<div class="post-metadata">

**Author:** ![maartmaart](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/maartmaart/32/12972_2.png) [@maartmaart](https://discourse.zynthian.org/u/maartmaart)\
**Post date:** [May 8, 2026, 8:40am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/3 "2026-05-08T08:40:31Z")

</div>

Hi @jimsondrift ,

I am very curious to try your plugin. Do you also have a AARCH64 (PI5 ARM8) version?

Cheers,  
Maarten

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 8, 2026, 8:42am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/4 "2026-05-08T08:42:51Z")

</div>

not yet

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 8, 2026, 8:46am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/5 "2026-05-08T08:46:00Z")

</div>

will start porting to the mod dwarf today. I think that it is under powered and i might need to add support for the Coral accelerator from google

---

<div class="post-metadata">

**Author:** ![system](https://discourse.zynthian.org/uploads/default/original/2X/5/51c65357824c78a27d84f530bae8ffe42055b2f1.png) [@system](https://discourse.zynthian.org/u/system)\
**Post date:** [May 8, 2026, 8:47am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/6 "2026-05-08T08:47:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://discourse.zynthian.org/uploads/default/original/2X/5/51c65357824c78a27d84f530bae8ffe42055b2f1.png) [@system](https://discourse.zynthian.org/u/system)\
**Post date:** [May 8, 2026, 8:51am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/7 "2026-05-08T08:51:02Z")

</div>



---

<div class="post-metadata">

**Author:** ![maartmaart](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/maartmaart/32/12972_2.png) [@maartmaart](https://discourse.zynthian.org/u/maartmaart)\
**Post date:** [May 8, 2026, 9:32am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/8 "2026-05-08T09:32:04Z")

</div>

Hi @jimsondrift ,

Great!! Looking forward to your lv2. 😃  
Meanwhile I am trying to compile it on my zynthian.  
I noticed that the compilation is done for “-mcpu=cortex-a72 -mtune=cortex-a72”.  
Would it be benifitial to optimize this time critical app per processor?

Thanks and cheers,  
Maarten

(PS PI5 = a76)

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 9, 2026, 10:44am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/10 "2026-05-09T10:44:01Z")

</div>

Hi. I couldnt reply since Im only allowed 5 messages a day. Have you managed to compile it on the zynthian? I want to compile it for my mod dwarf. I think you should turn on all arm cortex related optimizations especially those for XNNPack

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 9, 2026, 12:39pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/11 "2026-05-09T12:39:04Z")

</div>

I built this on a RPi5 but it does not work. Hosting with jalv: `jalv http://github.com/geraldmwangi/GuitarMidi-LV2` shows errors:

```auto
Loading plugin
Using butterworth filtersSetting up filterbank
Setting up filterbank with 148 filters and windowsize 256
DO NOT USE_ELLIPTIC_FILTERS
DO NOT USE_ELLIPTIC_FILTERS
... repeated many times...
Connecting MIDI OUTPUT PORT
Connecting MIDI OUTPUT PORT
Activating GuitarMidi-LV2 Plugin
ERROR: Could not open '/usr/lib/lv2/guitarmidi.lv2/guitarmidi.tflite'.
Error at /root/GuitarMidi-LV2/src/modelinferencer.cpp:42

```

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 9, 2026, 4:24pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/12 "2026-05-09T16:24:11Z")

</div>

can you build and install with

```auto
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/lib/lv2 ..
cmake --build .
cmake --install .

```

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 9, 2026, 5:45pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/13 "2026-05-09T17:45:32Z")

</div>

Yes, that is what I did. jalv loads the plugin but it then gives the warnings and errors I described and sits, consuming 100% of one core without actually finishing initialisation.

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 9, 2026, 6:38pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/14 "2026-05-09T18:38:05Z")

</div>

thats weird: I did the same on ubuntu 24.04:

GuitarMidi-LV2/build(master○) » cmake -G Ninja -DCMAKE\_BUILD\_TYPE=Release -DCMAKE\_INSTALL\_PREFIX=/usr/lib/lv2 ..

GuitarMidi-LV2/build(master○) » cmake --build .

GuitarMidi-LV2/build(master○) » sudo cmake --install .

start:

GuitarMidi-LV2/build(master○) » jalv [GitHub - geraldmwangi/GuitarMidi-LV2: A concept for guitar to midi as an lv2 plugin · GitHub](http://github.com/geraldmwangi/GuitarMidi-LV2)  
Plugin: [GitHub - geraldmwangi/GuitarMidi-LV2: A concept for guitar to midi as an lv2 plugin · GitHub](http://github.com/geraldmwangi/GuitarMidi-LV2)  
JACK Name: Guitar Midi  
Sample rate: 48000 Hz  
Block length: 256 frames  
MIDI buffers: 32768 bytes  
Comm buffers: 524288 bytes  
Update rate: 30.0 Hz  
Scale factor: 1.0  
Loading plugin  
Using butterworth filtersSetting up filterbank  
Setting up filterbank with 148 filters and windowsize 256  
DO NOT USE\_ELLIPTIC\_FILTERS  
DO NOT USE\_ELLIPTIC\_FILTERS  
DO NOT USE\_ELLIPTIC\_FILTERS  
DO NOT USE\_ELLIPTIC\_FILTERS

..

Connecting MIDI OUTPUT PORT

Connecting MIDI OUTPUT PORT  
onsetsmoothing = 0.500000  
offsetsmoothing = 0.500000  
onsetthr = 0.800000  
offsetthr = 0.100000  
Activating GuitarMidi-LV2 Plugin  
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.  
=== Pre-invoke Interpreter State ===  
Connecting MIDI OUTPUT PORT

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 9, 2026, 6:39pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/15 "2026-05-09T18:39:05Z")

</div>

> [@riban](#):
>
> `/usr/lib/lv2/guitarmidi.lv2/guitarmidi.tflite`

does that file exist and is it readable for the user starting jalv?

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 9, 2026, 6:40pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/16 "2026-05-09T18:40:10Z")

</div>

ls -l /usr/lib/lv2/guitarmidi.lv2  
total 9756  
-rw-r–r-- 1 root root 8988816 Mai 9 20:29 guitarmidi.so  
-rw-r–r-- 1 root root 984408 Mai 9 20:22 guitarmidi.tflite  
-rw-r–r-- 1 root root 2525 Mai 9 20:22 guitarmidi.ttl  
-rw-r–r-- 1 root root 325 Nov 13 20:46 manifest.ttl

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 17, 2026, 12:10pm UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/17 "2026-05-17T12:10:08Z")

</div>

New video released [https://www.youtube.com/watch?v=EQhcgh-e5gY](https://www.youtube.com/watch?v=EQhcgh-e5gY)  
I use GuitarMidi-LV2 to play the Protein synthesizer with my guitar  
Get the plugin for linux at

> **[Releases · geraldmwangi/GuitarMidi-LV2](https://github.com/geraldmwangi/GuitarMidi-LV2/releases)**
>
> A concept for guitar to midi as an lv2 plugin. Contribute to geraldmwangi/GuitarMidi-LV2 development by creating an account on GitHub.

You can donate to keep the development and the channel going:

> **[GitHub - geraldmwangi/GuitarMidi-LV2: A concept for guitar to midi as an lv2 plugin](https://github.com/geraldmwangi/GuitarMidi-LV2#donations)**
>
> A concept for guitar to midi as an lv2 plugin

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 18, 2026, 7:14am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/18 "2026-05-18T07:14:20Z")

</div>

Hi @jimsondrift!

This is some great work you are doing. In zynthian, we have fully integrated Aubionotes for audio to MIDI which can be enabled in the admin menu (although I have just noticed a regression that breaks this!!!) Aubionotes has some limitations, including the range of notes detected (not reaching the low E on a guitar). It would be great to integrate your GuitarMIDI as an input stage for zynthian but I don’t want to do that until it will work robustly with most/all zynthians.

Do you have a timescale for when you may resolve the fixed buffer size and samplerate, and is there anything we can do to assist?

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 18, 2026, 10:43am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/19 "2026-05-18T10:43:17Z")

</div>

Hi. Thanks for the kind words. I am targeting end of the year to produce a commercial VST version. That will include updating the lv2 to be flexible in terms of buffersize and samplerate. I could need help on the buffersize problem, that is 100% c++. The samplerate is imho a bigger issue since it necessitates producing models for the different standard samplerates, if one wants to avoid sr conversion. Im open to dev discussions, just dm me. However, i dont own a zynthian so I cant test any builds

---

<div class="post-metadata">

**Author:** ![jimsondrift](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jimsondrift/32/14437_2.png) [@jimsondrift](https://discourse.zynthian.org/u/jimsondrift)\
**Post date:** [May 18, 2026, 10:43am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/20 "2026-05-18T10:43:59Z")

</div>

I have a moddwarf though which I am targeting

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [May 19, 2026, 6:42am UTC](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108/21 "2026-05-19T06:42:13Z")

</div>

There will be people here (including me) happy to help test on zynthian. I think having 2 samplerates (48000 & 44100) may be advantageous and possibly sufficient to allow most zynthian users to use this. We could constain its use based on user’s samplerate, i.e. hide its integration if zynthian samplerate is not supported… so even a 48000 fps only processor could work. (The default samplerate for zynthian is 48000 fps.)

The buffer size would certainly be beneficial because users will want to adjust this to balance latency with performance / xruns.

> [@jimsondrift](#):
>
> produce a commercial VST

Good luck with this. I see the code is released under GPL so we could still use it in zynthian. I am not sure if the LV2 (with associated host, like jalv) or a standalone module would be best for us - I will take a look.

> [@jimsondrift](#):
>
> need help on the buffersize problem

I will try to find some time to take a look at the source code to see if I can offer some advice.

I want to do some test of performance to check the benefit vs resource balance… more time needed!!!

> [@jimsondrift](#):
>
> I have a moddwarf

This uses similar hardware to zynthian so is a resonable target to validate things _should_ work over here. 😄

[Next page](https://discourse.zynthian.org/t/guitarmidi-lv2-version-2-0/13108.md?page=2)
