RNBO on RaspPi: Built-In Audio always disabled

Nodanoma's icon

Hi RNBOs,

I have been trying to do the most basic thing: Play a loop through the built-in audio of a RNBO-patch on a Raspberry Pi and it simply does nothing, regardless of what has been tried.

The documentation states:

The Pi's external soundcard/hat is not enabled, but I really want to use the built-in audio, can I do that?

Un-commenting out the line dtparam=audio=on in /boot/config.txt to re-enable the built-in audio.

Well, that line is uncommented by default.
The only audio setting that enables audio is 'hw:0', but that outputs nothing.

speaker-test

performs as expected from the command line.

Where do I go from here without having to purchase an external soundcard for a very simple installation ?

Help MUCH appreciated! Thanks.

Javed Len's icon

If speaker-test works, then the Raspberry Pi's built-in audio is probably configured correctly. The issue is more likely that RNBO is not opening the same ALSA device that speaker-test is using.

I'd check which device RNBO is actually targeting and compare it with the output of aplay -l. Also verify that the RNBO runtime has permission to access the audio device and that no other process is locking it.

It might help to post your Pi model, OS version, RNBO export target, and any console/log output from the RNBO application. That should make troubleshooting much easier.