Muffinman <news**REMOVETHIS**@koster.tk> wrote: > >I'm new to Python (running 2.6.6 but if necessary 3.x should also be >fine). I have a little idea I hope to accomplish with Python. I want to >listen for changes in Alsa sound volume level and base some actions on >that. With the few lines below I can check the current volume level. ... > >volumes = mixer.getvolume(1)
Now, do you understand that this is just fetching the current setting of the volume control for the microphone? It's not telling you anything about the actual level of the sounds being captured. The fact that you're talking about real-time response makes me think you might be misunderstanding this. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list