-
Notifications
You must be signed in to change notification settings - Fork 230
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
No moving bars for cava with alsa #534
Comments
I am running cava using alsa, I read through the readme for it and followed the instructions (the loopback suggestion inside the asound.conf is really good). In any case I try to run the program, the bars appear but do not move. I used the default cava config, after having built it from source using the following make flags
My asound.conf is as follows:
This is the output of aplay -l
I use OS: VoidLinux x86_64, kernal version 6.5.11_1
while commenting out all other audio capturing methods. |
hi @reluekiss, if you are able to record your system audio through in your example above of the cava config you still have the semi colons in front of the config options, you will have to remove them for the setting to take effect, like so:
(i have to check, a lot of people fall in to this trap) |
Thank you for your quick reply, @karlstav I removed the semicolons and later found the comment in the config file to do so regardless. However the bars still don't seem to move while playing. I thought more information couldn't hurt and I use st as my terminal emulator. And that when allowing pulseaudio it would work on this machine. (between these tries I installed and uninstalled pulseaudio as well so there wouldn't be conflicts) |
could you test some other source devices in the cava config? like your mic? or set some random device just to make sure it reads the config at all. |
it seems to read the config (i double checked and used the -p flag) but I did as you suggested and tried using my mic as input and it did indeed pick up on it with the bars moving. it just seems as if it doesn't pick up on the system audio. this is quite possibly an issue with the asound.conf setup? as i retested what i did with ffmpeg and i was actually using 'default' as the input method which would actually be taking the duplex as the input rather than the loopback. as i tried to specify it to use the loopback device, which then didn't work. |
Makes sense, but I am confused, if you already have a device that you can record system audio from with ffmpeg, why not also use this device with cava? I remember playing around with dsnoop and dmix stuff when first making cava years ago, but I was never able to understand the inner workings of alsa configuration. There is a layer of abstraction there that I simply can't wrap my head around. The loopback/combined solution was just something I copied from stackoverflow |
ok, after some fiddeling it now works, it was just an issue with my alsa config, if anyone would like some inspiration, its here:
remember to activate using
if you wish to activate it on startup, create a file in /etc/modules-load.d/snd-aloop.conf with
Also, thank you @karlstav for your help. I will now be closing this issue. |
boop |
no problem, this is nice stuff. I'll add your config to the example files and also add a note about it in the readme |
No description provided.
The text was updated successfully, but these errors were encountered: