3 Aug
                
                    2021
                
            
            
                3 Aug
                
                '21
                
            
            
            
        
    
                12:12 p.m.
            
        folkert@oensoens:~$ aplaymidi -l ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied Cannot open sequencer - Permission denied
???
Hrm, that's unexpected.
New system, account was not in the audio-group.
Meanwhile, I reconsidered the fix and a better idea came after the sleep. Below is the new fix patch. Could you give it a try instead of the previous one?
Works fine as well: 7 concurrent script-instances for half an hour and nothing logged in dmesg.