Linux script for midi interface

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

Moderators: MattKingUSA, khz

Post Reply
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: 1716
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 172 times
Been thanked: 479 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: 38
Joined: Tue Sep 21, 2021 4:47 pm
Has thanked: 1 time
Been thanked: 17 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: 1669
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland (Europe)
Has thanked: 904 times
Been thanked: 168 times

Re: Linux script for midi interface

Post by Linuxmusician01 »

Post Reply