Stuck midi note (sounds continuously)

MusE is a DAW for Linux with both MIDI and Audio editing. https://muse-sequencer.github.io

Moderators: MattKingUSA, khz, spamatica

Post Reply
dftlm
Established Member
Posts: 42
Joined: Thu Sep 22, 2022 12:54 pm
Has thanked: 1 time

Stuck midi note (sounds continuously)

Post by dftlm »

When I play midi in MusE 4.1, I very often get a stuck note (sounds continuously) and I have to use the Panic button. It is frustrating.
I don't have xruns, the settings are ok....
Does anyone know what it could be?

User avatar
Impostor
Established Member
Posts: 1336
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Stuck midi note (sounds continuously)

Post by Impostor »

With a specific plugin or different ones? I sometimes get these stuck notes if I change presets while simultaneously playing on my midi keyboard. But that's not daw specific; I think it's the plugin (or myself) which misbehaves.

dftlm
Established Member
Posts: 42
Joined: Thu Sep 22, 2022 12:54 pm
Has thanked: 1 time

Re: Stuck midi note (sounds continuously)

Post by dftlm »

No plugins involved...
Just eight midi tracks... a drums track and a bass track with recorded notes.
I play with two keyboards, live, the other six tracks are empty (no recorded midi notes).
I made the settings once and they are saved.
After I start playing, I don't make any changes for presets or anything else.

Last edited by dftlm on Mon Feb 06, 2023 5:29 pm, edited 1 time in total.
User avatar
Impostor
Established Member
Posts: 1336
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Stuck midi note (sounds continuously)

Post by Impostor »

dftlm wrote: Mon Feb 06, 2023 5:07 pm

No plugins involved...

So either no note-off is received by MusE, or it isn't passed on by MusE, or it isn't respected by the hardware at the end of the chain?

dftlm
Established Member
Posts: 42
Joined: Thu Sep 22, 2022 12:54 pm
Has thanked: 1 time

Re: Stuck midi note (sounds continuously)

Post by dftlm »

I start to play, everything is ok, and at a certain point, I don't know to correlate with something specific, I have like a lag, then I have a continuous note-on... I have to press Panic.

Sometimes I manage to play the whole song, but most of the time, I do it with continuous note-on and Panic!

User avatar
Impostor
Established Member
Posts: 1336
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Stuck midi note (sounds continuously)

Post by Impostor »

Well, to make certain your keyboard properly sends note-off messages, you could run

Code: Select all

aseqdump -p 24:0 >> midilog.txt

Where 24:0 should be replaced with the midi port of the keyboard you're playing (find out with

Code: Select all

aconnect -i

.

When a stuck note occurs, quit aseqdump with ctl+c, and count the number of "on" and "off" appearances in midilog.txt (with ctl+f is advisable). If they are unequal, you've found the problem is probably your keyboard. Else, look further.

User avatar
Impostor
Established Member
Posts: 1336
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Stuck midi note (sounds continuously)

Post by Impostor »

Or your sustain pedal is acting up?

dftlm
Established Member
Posts: 42
Joined: Thu Sep 22, 2022 12:54 pm
Has thanked: 1 time

Re: Stuck midi note (sounds continuously)

Post by dftlm »

Ok, I'll test it. I don't use pedal în this case.

Tim E. Real
Established Member
Posts: 660
Joined: Sat Sep 15, 2012 12:36 am
Has thanked: 36 times
Been thanked: 105 times

Re: Stuck midi note (sounds continuously)

Post by Tim E. Real »

You can also run MusE with "muse4 -M -m" command line options.
This will print out all incoming and outgoing midi messages, in a terminal.
If you post the results, we can see all note on and note off messages.
Thanks.
Tim.

dftlm
Established Member
Posts: 42
Joined: Thu Sep 22, 2022 12:54 pm
Has thanked: 1 time

Re: Stuck midi note (sounds continuously)

Post by dftlm »

Thank you.
I'll do some tests, then we'll talk.

User avatar
Impostor
Established Member
Posts: 1336
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Stuck midi note (sounds continuously)

Post by Impostor »

Or, if you run MusE from an appimage, and starting it from the terminal may prove somewhat difficult, if you route the midi output of MusE via alsa midi-through* to your external gear, you can monitor the midi signal post-MusE with aseqdump just as before, using the port (in my case) 14:1.

*If you already use 14:0 in your chain you can add as many midi-through ports as you like:
create
/etc/modprobe.d/midithru.conf

with this line:
options snd-seq-dummy ports=n

For n midi-through ports, and reboot.

Attachments
alsamidi.png
alsamidi.png (90.64 KiB) Viewed 1081 times
Post Reply