Re: Listen for changes in variable (alsaaudio.Mixer(x, x).getvolume(x)

2012-10-24 Thread Tim Roberts
Muffinman 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 l

Re: Listen for changes in variable (alsaaudio.Mixer(x, x).getvolume(x)

2012-10-24 Thread David Hutto
On Wed, Oct 24, 2012 at 2:55 PM, Muffinman wrote: > Hello all, > > 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 th

Re: Listen for changes in variable (alsaaudio.Mixer(x, x).getvolume(x)

2012-10-24 Thread David Hutto
On Wed, Oct 24, 2012 at 2:55 PM, Muffinman wrote: > Hello all, > > 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 t

Re: Listen for changes in variable (alsaaudio.Mixer(x,x).getvolume(x)

2012-10-24 Thread Steven D'Aprano
On Wed, 24 Oct 2012 20:55:35 +0200, Muffinman wrote: > Hello all, > > 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. Wit

Listen for changes in variable (alsaaudio.Mixer(x,x).getvolume(x)

2012-10-24 Thread Muffinman
Hello all, 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. Can I