Audio comes out HDMI rather than IQaudio

I’m trying to use an RPi 4B with no Zynth hardware. I have an IQ Audio HAT equivalent. Running under Raspberry Pi OS, it works with the following command:

jackd -R -d alsa -=d hw:IQaudioIODAC -n 2 -p 128 –rate 48000

I have IQaudio selected in webconf (that seems to appear automatically.) I believe I got this working on an earlier SD card that I’ve since replaced, but I don’t recall exactly what magic did the trick.

Any tips?

Which outputs can you set in the main or specific chain?

1 Like

The Direct Outputs are

  • Output 1 (01)
  • Output 2 (02)
  • Outputs 1+2 (stereo)

but, now it’s working. This is with a fresh SD card load. This time the defaults shown in Webconf were different, the first Soundcard (V5 ADAC), some options I don’t recall, and Soundcard Device showing “No device detected” or something like that. But I selected the Soundcard and Soundcard Device for Iqaudio DAC, saved and rebooted, and now it works. Perhaps before if I just set the selections and saved and rebooted it’d have worked.

Thanks!

1 Like

Indeed - zynthian would not auto select that soundcard. There is a field below this called “Soundcard Device” which lists the detected soundcards and may be used to select a soundcard if for example your soundcard is not in the list of supported soundcards. Maybe you saw that and thought it had been selected?

Is your config line different to what you originally posted?

Originally, Soundcard Device was correct without my setting it. When I did it again with a fresh SD card (same steps, as far as I can recall, and having done it only an hour earlier) the Soundcard Device was “No device detected.”

The quoted jackd line was what I used without Zynthian. It’s not exactly what I got when it worked, but close enough and for obvious reasons (sample size, rate.) I think -R was missing but I also think it’s the default.

I’ll be loading fresh SD cards a few times, trying to address the upgrade-to-vangelis issue, Clicking on chain name locks up UI · Issue #1585 · zynthian/zynthian-issue-tracking · GitHub . If there’s anything you’d like me to take care to notice and record, please just LMK.

In any case, it’s working and I know how to make it work in the future.

The only difference I recall between the two runs is that in one case I set up Wifi before creating the audio chain, versus after. I doubt that’s significant.

1 Like

Just another idea about the HDMI audio: I guess the hdmi audio which is selectable is the one initiated by connecting a display via hdmi to the pi? You could deactivate this one in case you don’t plan to use it by adding

dtoverlay=vc4-kms-v3d,noaudio

in the display configuration.

3 Likes