MIDI Note On/Off and CC from QWERTY keyboard

Hi! Congrats on V5.1! Can’t wait to get my hands on it.
I have a silly little project where I use my computer keyboard as an instrument. I use a custom Python script with pygame module I made a few years ago, that just converts key presses to MIDI, which I use to control external gear.
Now I’m thinking that Zynthian could easily do that job of converting keys to MIDI, while also working as a sound generator. That would be such a relief - I wouldn’t have to setup everything for gigs, just hook my keyboard to Zynthian and voila!
I’m not a programmer, my knowledge of this stuff is limited, so I’m confused on where to start.

My question is this: is it possible to use qwerty keyboard to send MIDI channel messages, such as note on and off, as well as CC? There is an option for Keyboard binding in Webconf, so I believe that this is not far off.

Hi @srl0 !

Welcome to zynthianland!!
Sending MIDI notes with the qwerty is not currently supported, sorry.

Regards,

If your keyboard happens to have the QMK firmware, it now supports sending MIDI directly. If it is a “normal” keyboard, chances are that it will not… :weary:

Yeah, it definitely doesn’t have QMK firmware. It’s kind of a special model, made to be visually attractive for gigs, but it’s actually just a regular usb keyboard.

Thank you for the welcome!
I’m sorry to hear that it can’t be done officially.
I really want my idea to work, so I was tinkering a bit with python in terminal. I actually managed to do it by using pynput module. Midi data is sent through default virtual port (MIDI Through) and it works just the way I want it to!
However, I have few questions that I couldn’t get the answers to just by searching wiki and this forum. I hope it’s not too much to ask for a few pointers.
My primary problem is with MIDI Through - it’s not listed in midi options anywhere. I only found it by running njconnect in terminal. This could be a solution, but when I make changes in njconnect, they don’t stay saved when I reboot. It would be nice if MIDI Through port was accessible as option in gui.