RNBO doesn't compile with raspberry and some interface (tonex pedal)
Bruno
2月 28 2023 | 8:56 午後
Hello,
I'm trying to use rnbo with an ik multimedia tonex pedal (it works as class compliant interface) but I get this error: "rnbo cmd response error: {"code":5,"message":"cannot activate audio"}".
Reading on the forum this error happens when you select the internal headphones out.
With everything else RNBO compiles fine, I tried rme interfaces motu8a and a fractal FM3.
Thank you for the support,
Bruno.
edit: I tried also different samplerate and buffer.
Bruno
2月 28 2023 | 9:26 午後
SOLVED! It was the USB2 port (the pedal is usb2 too), with the USB3 port it works :D
Really strange but I'm happy!
edit: not solved
Bruno
3月 01 2023 | 7:15 午後
No, it was random: it worked for two hours and after it gave me the same error (even on usb3 port).
Today I have only the error :(
Alex Norman
3月 08 2023 | 9:59 午後
So the built in headphone jack just plain doesn't work on the RPI with Jack (which is what we use for audio). I spent some time debugging it and never figured that out.
It sounds like you're saying you're having issues with some other interfaces as well?
I gave some advice in this thread that might be useful for you: https://cycling74.com/forums/rnbo-randomly-goes-blank-on-rpi-3#reply-6409012b22b97700132617b2
Julien Bayle
5月 16 2024 | 9:11 午前
Hey Alex, I'm sorry to unburry this one.
did you get a workaround to make the headphone jack working ?
Alex Norman
5月 16 2024 | 6:52 午後
Yeah, I believe I've suggested a workaround on the forum somewhere but basically.. for now, you have to start jackd manually before you start the rnbo runner as you need to provide some arguments to jackd that the rnbo runner doesn't yet expose.
I have plans to allow for providing these arguments in a future rnbo release but if you're eager to use the headphone out you can ssh to your pi and do this:
sudo service rnbooscquery stop
jackd -d alsa -d hw:Headphones -r 44100 -i 0 -o 2
then in another terminal, ssh to the pi again and do
sudo service rnbooscquery start
and if you need to have this work after a reboot, you can create a systemd service that starts jack for you before the runner starts.
Stuart James
8月 05 2024 | 1:59 午前
Thanks for the heads up on that.
I've been reading about ways to get audio out of GPIO pins 12 and 13, is this something that is possible with RNBO, or would it require some additional hackery? The reason I ask is I'm keen to extend the Pi with analog electronics too (audio circuits specifically).
Alex Norman
8月 05 2024 | 2:12 午後
The runner uses Jack for audio so you'd have to get your GPIO audio setup to present itself as a device that jack can use, which would likely mean writing an alsa driver.
BTW, the latest version of RNBO includes "extra" args that you can supply to jack. These let me use the headphone out without any external configuration. Just provide the "extra" args -i 0 -o 2 and also set the buffer size to 512