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?
Stuck midi note (sounds continuously)
Moderators: MattKingUSA, khz, spamatica
Stuck midi note (sounds continuously)
- Impostor
- Established Member
- Posts: 1390
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 365 times
Re: Stuck midi note (sounds continuously)
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.
Re: Stuck midi note (sounds continuously)
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.
- Impostor
- Established Member
- Posts: 1390
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 365 times
Re: Stuck midi note (sounds continuously)
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?
Re: Stuck midi note (sounds continuously)
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!
- Impostor
- Established Member
- Posts: 1390
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 365 times
Re: Stuck midi note (sounds continuously)
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.
- Impostor
- Established Member
- Posts: 1390
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 365 times
-
- Established Member
- Posts: 669
- Joined: Sat Sep 15, 2012 12:36 am
- Has thanked: 40 times
- Been thanked: 110 times
Re: Stuck midi note (sounds continuously)
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.
- Impostor
- Established Member
- Posts: 1390
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 365 times
Re: Stuck midi note (sounds continuously)
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 (90.64 KiB) Viewed 1099 times