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

Erratic when waveform activated #558

Open
Kellsen opened this issue Apr 8, 2024 · 2 comments
Open

Erratic when waveform activated #558

Kellsen opened this issue Apr 8, 2024 · 2 comments

Comments

@Kellsen
Copy link

Kellsen commented Apr 8, 2024

Heya all,

I built cava today from latest release, all working as expected but when I activate waveform instead bars the display becomes totally erratic and that can't be changed with any config settings. I tried it all.

Setting it back to bars it's smooth and looks nice.

The upper one is with waveform enabled, bar spacing=0, the lower one is an older, cached instance with waveform deactivated and bar spacing=1. It runs in a urxvt subwindow with devilspie2 handling it so it looks like it's embedded in my Conky, which it is not. But it wouldn't make a difference either way.
I played around with all the settings in the cava config that would occur to me but nothing helps.
I hope it makes sense.

System is LMDE 6 (Faye), Kernel 6.1.0-18-amd64, Graphics GeForce 3060Ti with 550.67 Driver, DE is Cinnamon 6.0.4, cava output is default

ezgif-3-97ced99b36

@karlstav
Copy link
Owner

karlstav commented Apr 8, 2024

hi @Kellsen,

The waveform visualization is very raw as it is now. Just draws each sample as a bar in the terminal (adds up left+right if it is stereo). So it will be very erratic. If you have a lot of bars it looks slightly better, but not great. Here is same song with a lot of bars 512 maybe i think is max:

file

strangely the gif conversion made it look better.

I think I could make it smoother by adding some filters, but haven't gotten around to it yet.

@Kellsen
Copy link
Author

Kellsen commented Apr 8, 2024

Ah, alright. So it isn't just me 👍
Yes, when I converted to gif at a lower framerate it actually looked quite alright, too. I tried to reduce the framerate in the conf but to no avail.
ezgif-3-38aabb015c

I'm using DeadBeef which has a spectrum plugin that looks nice. Hence I wanted to implement it in my Conky (which it actually isn't. It's just a script superimposed to my conky handled by devislpie2)
https://github.com/cboxdoerfer/ddb_musical_spectrum

But thanks so far for that cool app! Looking forward to what's coming :) 👍

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

2 participants