kmein / vu-meter

Python VU (Volume Unit) Meter
GNU General Public License v3.0
22 stars 6 forks source link

Nifty Volume Meter #1

Open WinEunuuchs2Unix opened 3 years ago

WinEunuuchs2Unix commented 3 years ago

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

kmein commented 3 years ago

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?

WinEunuuchs2Unix commented 3 years ago

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 commented 3 years ago

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.

Fluffkin commented 3 years ago

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! *_*

WinEunuuchs2Unix commented 3 years ago

@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.