I have an idea: I want to convert an audio signal into MIDI CC so that I can control MIDI instruments—like strings or piano—using my guitar. Here is where I stand so far:
Audio, MIDI, and MOD are all new to me. When I saw the MOD Desktop environment, I wanted to give it a try. I don’t yet know how to compile the code for the MOD device itself; right now, I’m still experimenting with pitch detection, guitar attack sensitivity, and determining exactly when to trigger “note-off” messages.
If anyone has ideas on how to improve this process, or advice on compiling and installing it for the MOD platform, I’d really appreciate the input.
You should use mod-plugin-builder to build plugins for mod devices. Once your docker image is built with a local folder linked, type “source local.env moddwarf-new” (or another available target), then build your plugin.
Thanks, I’ll give that a try sometime soon.
If anyone has any other ideas on how to debug a plugin, that would also help me fix my remaining bugs (related to detection and transmission). It runs on an external device—or as a plugin instance—so I unfortunately can’t use IDE debugging the way I’m used to with standard programs. Or am I mistaken about that?
I just looked at your repo. Years ago I also used aubio until i developed my own approach. If you want you can contribute to my guitarmidi-lv2. It its fully polyphonic and realtime down to the lowest string/note. Thats where aubio fails
The build system is broken for me. It attempts to use a kernel version that no longer exists on kernel.org. When I have more time, I will address this issue with MOD Audio via a GitHub issue; that way, it is properly documented and helps others set up a build system.
The kernel part works that way, but other problems keep cropping up, and I have no idea what else might come up next. Right now, I’m stuck on Python; Python 3.12 is too new—I think I need to install an older Linux version in a VM, or how do you guys build your plugins?
Are running the bootstrap.sh directly or are you trying t build the docker image? I would recommend the use of docker, but the docker file in the mod-audio repo will also face the kernel 4.x issue.
I did bootstraping directly on a debian 12 once quite some time ago, i don’t really remember what came up, but i built the docker image for modDuoX 17 days ago (to be very precise!) on macOS and I didn’t encountered the kernel 4.x issue back then and beside a few typos in the command line given in the wiki everything went fine.
I’ve rewritten the Dockerfile so that it no longer performs a git clone and instead uses my local changes. I’ve included your Bootstrap fix, and the build is currently still running. I’ll let you know once it’s finished.
Docker Result
EDIT:
2051.6 WARNING: no hash file for kxstudio-lv2-extensions-8b5f6cb9cd75e300958c9aacac253d44c964e80b.tar.gz
2051.6 svn: E170013: Unable to connect to a repository at URL ‘svn - Revision 4625: /libgig/trunk’
2051.6 svn: E000110: Error running context: Connection timed out
2051.6 --2026-07-04 16:49:44-- http://sources.buildroot.net/libgig-2855.tar.gz
2051.6 Resolving sources.buildroot.net (sources.buildroot.net)… 172.67.72.56, 104.26.0.37, 104.26.1.37, …
2051.6 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80… connected.
2051.6 HTTP request sent, awaiting response… 404 Not Found
2051.6 2026-07-04 16:49:44 ERROR 404: Not Found.
2051.6
2051.6 make: *** [package/pkg-generic.mk:115: /root/mod-workdir/moddwarf-new/build/libgig-2855/.stamp_downloaded] Error 1
EDIT END
@jon Do you happen to have the SVN Trunk local? I can’t get SVN because of timeout. Does this repo still exist? Could you create a copy of GitHub if you have files locally?
Greeting
Update:
I took a closer look at the build. Regarding libgig (the SVN and download servers are either gone or broken): it is a hard system dependency, yet I couldn’t find any plugin that actually uses it. That is why I disabled it in my fork, which allowed me to set up the appropriate environment.
Since I wanted to use Docker, I made a few minor adjustments to the Dockerfile to simplify things. Now, the GitHub URL and so on can be controlled via an ENV file.
It’s being built locally on my machine now.
I have a few gigs coming up over the next two weeks, so I haven’t dared to test this on my own hardware yet. I’ll get around to that once the gigs are over.
Now I can check whether the plugins can theoretically be compiled.
As far as I’m aware, the documentation for the development stuff on the wiki is here and there outdated. I should fix it, but as I’m not into the MOD software and plugins development (and I guess that my developer skills are too low for most of the MOD stuff), any help from you guys in order to fix the documentation would be awesome! In summary, 2 things would be great for me:
point out what is written there and doesn’t work
if you happen to find a solution, let me know what it was so I can update it on the wiki materials
Okay, I couldn’t resist running a test after all.
I was feeling pretty bold today
First, I installed the alabs-mod-custom-images custom image, then compiled my plugin and transferred it to the Dwarf. After a lot of debugging, I finally got it working.