Skip to contentSkip to conversation

alsaloop doesn't pass sound with libsamplerate on raspberry pi 5

DISCUSSION GitHub issues - opened 1 participant 1 message Feb 10, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-utils issue #291 was opened from willangley:

Hi alsa-utils team!

I'm using alsaloops on a Raspberry Pi 5 as part of a slightly ridiculous signal chain:

* Yamaha P-525 keyboard
* USB C-to-A cable
* Raspberry Pi 5
* USB A-to-B cable
* ESI U24XL
* SPDIF in/out
* Focusrite Clarett+ 4Pre
* ...
* MacBook Pro

[Why? The analog Aux In/Aux Out on the keyboard have an always on loopback connection, which is undesirable when playing to a video meeting. The USB port has user controllable loopback.]

Two alsaloop processes run on the Pi, one moving sound from the computer to the piano, one moving sound from the piano to the computer. Both run under supervisord.

I've got them running at acceptable latency — RTL Utility says 40ms from my MacBook Pro.

But I haven't been able to get any of the high quality resampling options working -- everything other than add/drop stops passing sound within a few seconds. I'm surprised; this Pi should be powerful enough to handle this. Any ideas how to troubleshoot it?

Thank you!
Will

Issue URL : https://github.com/alsa-project/alsa-utils/issues/291
Repository URL: https://github.com/alsa-project/alsa-utils