I am tying to use zynaddsubfx with qjackctl and MIDI. I have it connected, and the configurations are set. This is what I see when I open zynaddsubfx:
Default I/O did not initialize. Defaulting to NULL backend.
What does this mean and how do I fix this?
I got this problem fixed by working with jack. Once I got jackctl set up, the problem disappeared. One of the biggest helps I found with qjackctl is this one here Ubuntu wiki How to JACK Configuration.
I think this had to do with the Frames/Period. Basically this is the buffer for qjackctl as explained on the wiki. Working with the settings on this and a few other settings helped tremendously.
I can't comment due to low rep. I had the exact same message "zynaddsubfx default io did not initialize defaulting to NULL backend." right after before installing Qjackctl, when executing zynaddsubfx. So it is not neccesary to have qjackctl installed to have the bug. But there is a "jack" thing that controls midi that probably is that what you are talking about (sorry for being imprecise, midi in linux is difficult)
Ubuntu 20.04
I tried a bunch of random things from the web on my Ubuntu 20.04 ZynAddSubFX 3.0.5, one of them worked and I get sounds out of the virtual keyboard, I'm just not sure which:
run as:
Without
-O alsa
, I don't get any sounds still, so that option at least is crucial.and log out and log in.
After taking those actions, the error message does not show up anymore even without
-O alsa -I alsa
. But I get no sound without-O alsa
.The message "default I/O did not initialize" is about default audio hardware initialization. It happens in three major cases:
You should check system current default audio hardware by
The first list item is your system default (if any). You can set default device manually in
/etc/asound.conf
:Corresponding to list item number discussed upper.
In my case it was enough to disconnect usb midi-keyboard and restart alsa. Because somehow midi-keyboard became default audio.