vu-meter icon indicating copy to clipboard operation
vu-meter copied to clipboard

Nifty Volume Meter

Open WinEunuuchs2Unix opened this issue 4 years ago • 5 comments

Just wanted to post a complement on how elegant your python solution is. I adapted it to tkinter GUI (configure rectangle height on canvas on frame on toplevel) with a slight modification to add volume decay to smooth sound drop off:

mserve vu meter2

Unfortunately .gif displayed in github doesn't faithfully reproduce at 30 frames per second like it does in real life.

Here's another attempt with ffmpeg passed to peek:

mserve vu meter3

WinEunuuchs2Unix avatar Jan 24 '21 00:01 WinEunuuchs2Unix

Thank you very much, wow! I honestly was not expecting anyone to use this program which I wrote 5 years ago. I see you've put it to good use. Have you by any chance published your tkinter code somewhere?

kmein avatar Jan 24 '21 11:01 kmein

My music player is still too new to publish. it has a long list of features that need to be written and it lacks user configuration file for font names and sizes. When it is ready I will upload it to github though!

I just updated your program for left and right channels and after some tweaking I'll fork your code and update it:

mserve vu meter stereo

WinEunuuchs2Unix avatar Jan 24 '21 15:01 WinEunuuchs2Unix

OK Finally had time to tweak volume meter display for more realistic LED display. Unfortunately .gif lags and doesn't reflect real-time display accurately:

ezgif com-optimize

Hopefully soon I'll have a beta version of mserve good enough to post in github.

WinEunuuchs2Unix avatar Feb 01 '21 01:02 WinEunuuchs2Unix

Would be interested to see how you split to stereo. Have tried. Know it's interleaved data but keep hitting data type errors. Being a bit drunk on a Sat night probably isn't helping. But throw me a hint! *_*

Fluffkin avatar Sep 05 '21 02:09 Fluffkin

@Fluffkin My head is a little fuzzy this AM too! I uploaded the full program: https://github.com/WinEunuuchs2Unix/mserve Probably best to post any new questions there. Thanks.

WinEunuuchs2Unix avatar Sep 05 '21 13:09 WinEunuuchs2Unix