Linux script for midi interface

Mission statement, forum posting guides, and our vision for LM.

Moderators: MattKingUSA, khz

Post Reply
Topic Starter
palibatir
Posts: 1
Joined: Wed Jan 01, 2025 11:16 am

Linux script for midi interface

Post by palibatir »

Hey,
I am looking for someone to write a script for midi control. I am a Linux Mint user.

The problem: I want a "note off" message to go out immediately after the midi "note on" message. I would like to make MuseScore not wait for the key to be released, but immediately move to the next note value. Many people struggle with this, and MuseScore doesn't want to deal with it.

Many thanks!

User avatar
Impostor
Established Member
Posts: 1917
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 185 times
Been thanked: 569 times

Re: Linux script for midi interface

Post by Impostor »

Maybe you can cook up something with midish?
https://midish.org/manual.html

jean-emmanuel
Established Member
Posts: 51
Joined: Tue Sep 21, 2021 4:47 pm
Been thanked: 18 times

Re: Linux script for midi interface

Post by jean-emmanuel »

This (somewhat rudimentary) python script should do the job : https://gist.github.com/jean-emmanuel/1 ... 639dbf7012.
It requires python3-pyalsa in default mode (alsa midi), you can also make it use jack midi with the --jack flag (requires python3-jack-client).

User avatar
Linuxmusician01
Established Member
Posts: 1831
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland (Europe)
Has thanked: 1112 times
Been thanked: 213 times

Re: Linux script for midi interface

Post by Linuxmusician01 »

MarcVonWindscooting
Established Member
Posts: 43
Joined: Fri Oct 10, 2025 4:30 pm
Location: 17km North of Ulm, Germany
Has thanked: 9 times
Been thanked: 14 times
Contact:

Re: Linux script for midi interface

Post by MarcVonWindscooting »

Impostor wrote: Wed Jan 01, 2025 9:30 pm Maybe you can cook up something with midish?
https://midish.org/manual.html
Wow, that looks cool! I'm having a closer look at that right now.
Post Reply