Skip to content

Frequency and other visual enhancements #625

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

Open
Scary-Guy opened this issue Feb 23, 2025 · 2 comments
Open

Frequency and other visual enhancements #625

Scary-Guy opened this issue Feb 23, 2025 · 2 comments

Comments

@Scary-Guy
Copy link

It'd be neat to be able to pick the color of the text used to display the frequency levels, and also to optionally overlap that text onto the bars themselves at the bottom (even if it's just setting a background for it that is the same as the lowest level of the color for the bars themselves, but overlapping would give one more character's worth of resolution (which if zoomed in could be very nice.)

It would also be nice to have a volume bar for the average of the left/right channel in the middle/at either side.

@karlstav
Copy link
Owner

custom color for the frequency labels should be doable.

text on the bars will not work when the bars are under 1 whole line height. in the terminal cava uses this special characters to increase resolution:

https://www.unicode.org/charts/PDF/U2580.pdf

as you can see from the screenshot the bar is lower then the number and I can't figure out how you could put the bar under as a background then.

Image

if however you have very wide bars you could have the label "inside" . I could do a check and if there are more than 6 charachters wide bars it makes sense maybe to put the label inside.

the average thing would only make sense it if stood out from the other bars right? with some extra spacing. or if the labels where on and it could be labeled "avg" or "all"?

@Scary-Guy
Copy link
Author

Ah, you're right about the line height. It's really not that big of a deal since setting the lowest level as #000000 blends in. Though setting a custom color for the text/background would be ideal then.

Yeah the average thing would make sense if it stood out (possibly with an alternate color/gradient.) It's really not that necessary though and was just a thought that I probably should have made a separate issue for but I already made another one this week and didn't want to clutter the queue.

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