geoffreybennett / alsa-scarlett-gui

alsa-scarlett-gui is a Gtk4 GUI for the ALSA controls presented by the Linux kernel Focusrite Scarlett2 Mixer Driver
609 stars 36 forks source link

Implement meter level display #7

Open geoffreybennett opened 2 years ago

geoffreybennett commented 2 years ago

The code for meter level display is commented out. It sort-of works, but the data returned from the ALSA driver is not in the right order and is wrong depending on the routing setup. This should be fixable, but it needs kernel changes.

szszoke commented 2 years ago

I also played around a bit and I was thinking that the maybe LED strips would work better than the round dials. (Something like the VU meter on the 18i20)

The window doesn't take up a lot of vertical space now, so that means the widgets could be taller than what they are now.

I'm wondering if you have an idea on what this window would look like eventually.

geoffreybennett commented 2 years ago

LED strips couldn't show as many steps as the round dials, but using more vertical space could help. I didn't have any particular further plans for changing the look of that window. Although, it would be nice to integrate it with the routing window somehow!

geoffreybennett commented 2 years ago

I've added meter/level support to the dev branch of alsa-scarlett-gui.

In order for it to work, you need at least the "Remap Level Meter values" commit from here: https://github.com/geoffreybennett/scarlett-gen2/commits/scarlett-gen3

Please test and provide feedback.

szszoke commented 2 years ago

I will try to test with your kernel and report back.

szszoke commented 2 years ago

I did some preliminarily testing and it seems to work well. I tested most of the analog, ADAT and mixer inputs.

One thing I noticed is that the level meters are quite jumpy, maybe a little bit of smoothing could be added.

I will do some more testing during my upcoming jam sessions to see if something weird comes up.

Is there a specific scenario that needs more scrutiny?

klausman commented 1 year ago

I have played with this as well (on a 4i4) and I agree with szszoke that the meters seem twitchy. They also seem to only be useful in the top 1/4 or so. I guess a log scale for them would help with both aspects.