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

Nifty Volume Meter #1

Open
WinEunuuchs2Unix opened this issue Jan 24, 2021 · 5 comments
Open

Nifty Volume Meter #1

WinEunuuchs2Unix opened this issue Jan 24, 2021 · 5 comments

Comments

@WinEunuuchs2Unix
Copy link

WinEunuuchs2Unix commented Jan 24, 2021

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
Copy link
Owner

kmein commented Jan 24, 2021

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
Copy link
Author

WinEunuuchs2Unix commented Jan 24, 2021

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
Copy link
Author

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
Copy link

Fluffkin commented Sep 5, 2021

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 added a commit to WinEunuuchs2Unix/mserve that referenced this issue Sep 5, 2021
@WinEunuuchs2Unix
Copy link
Author

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

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

3 participants