Go to advanced search

by rbeck
Tue Jan 15, 2013 3:03 am
Forum: Python
Topic: Muting sound output using GPIO and Python
Replies: 5
Views: 3193

Re: Muting sound output using GPIO and Python

Thanks rst, I was close. The name was all that was missing in the alsaaudo.Mixer('PCM'). That however took me a little messing around to figure out the name. Whats funny is that when I go to unmute with m.setmute(0) the mixer the rpi crashes. I may try a fresh install. Anyway thank you for putting m...
by rbeck
Mon Jan 14, 2013 2:57 am
Forum: Python
Topic: Muting sound output using GPIO and Python
Replies: 5
Views: 3193

Re: Muting sound output using GPIO and Python

I believe shairport is playing the stream. I can also call the mixer from the command prompt. If I start the mixer I can adjust the master volume from my headless keyboard. Now I have to figure it out in python. I get very confused with the difference between pyalsa, alsaaudio??? Can I this be achiv...
by rbeck
Sun Jan 13, 2013 5:13 am
Forum: Python
Topic: Muting sound output using GPIO and Python
Replies: 5
Views: 3193

Muting sound output using GPIO and Python

Hello, I have just purchased my rpi and very new to python and linux in general. I have been able to get my audio to stream from my iPad using shairport to rpi. However I am having difficulties trying to control the volume/mute on the rpi from the GPIO inputs. Can this be done using python? I tried ...

Go to advanced search