VU Meter in Linux

Linux specific forum
Alex
User
User
Posts: 41
Joined: Fri Aug 19, 2005 8:14 pm

VU Meter in Linux

Post by Alex »

Does anyone know how to write a VU meter in Linux? It doesn't need to do much, simply watch the sound input and output and show signal strength. I don't need a graphical component at this point, just a simple program that will watch the audio and give me some kind of numbers.

Thanks
"How is it possible to bring order out of memory? I should like to begin at the beginning, patiently, like a weaver at his loom. I should like to say, 'This is the place to start, there can be no other.'

-Beryl Markham
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

...
Last edited by flaith on Thu Dec 21, 2006 4:31 pm, edited 1 time in total.
“Fear is a reaction. Courage is a decision.” - WC
the_off_topic_guy
User
User
Posts: 24
Joined: Fri Dec 08, 2006 5:15 pm
Location: Off Topic

Post by the_off_topic_guy »

Through ALSA this is quite easy. I don't have code right now, but the project Kamix might be interesting: http://kamix.sourceforge.net/

If you are familiar with C, you could try to sneak out the VU Meter code and convert that to PureBasic.
Also, if you have ever heard of GKrellM, there is a plugin for it to display a VU Meter which might also interest you: http://freshmeat.net/projects/gkrellmss/

Again, if you are familiar with C, you could try to sneak out the code you need. But be careful of licenses when you sneak code out.

Good luck.
Post Reply