Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
willangley opened this issue Feb 10, 2025 · 0 comments

Comments

@willangley
Copy link

willangley commented Feb 10, 2025

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?

I didn't see errors in logs at the default log level.

Thank you!
Will

@willangley willangley changed the title alsaloop doesn't pass sound with libsamplerate on raspberry pi 5 alsaloop doesn't pass sound with libsamplerate resampling on raspberry pi 5 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant