Open iacore opened 1 year ago
Hi @iacore , thanks for reporting this. Unfortunately, I don't have any strong theories about what might be the cause of the issue. Everything in the logs you posted looks normal, and the alda doctor
checks passing would suggest that it's not an issue with the player processes starting or the MIDI system failing to start, etc.
My best guess is that this is some kind of Pulseaudio-related issue. Just as a point of reference, I have been using Alda for years with no issues on my Ubuntu laptops (16.04, 20.04, 22.04) with Pulseaudio.
Out of curiosity, what Linux distro are you using?
And as a sanity check: is audio working for you, in general? For example, can you hear YouTube videos?
My Linux distro is Artix.
Every other application has sound.
I found a workaround to the problem
alda-player run -p 27278
ALDA_DISABLE_SPAWNING=yes alda -v 2 play -p 27278 -c 'piano: c e g'
Very interesting! So it seems like maybe sound isn't being produced when the processes are spawned in the background, but it works when the process is running in the foreground :thinking:
Now the workaround doesn't work...
Same symptom. Using foreground alda-player does not fix this either. Distro is NixOS 24.05.
🐞 Bug report 🐞
Description
alda play
has no sound. No new audio source in Pulseaudio.Steps to Reproduce
alda -v2 play -c "piano: c12 e g > c4"
Does the problem happen consistently?
Yes
Expected Behavior
It should make some sound, at least.
Actual Behavior
alda doctor
says everything is fine.Environment
Operating system and version: Linux
Alda version:
Health check:
Logs: