[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Selecting Audio output device... how?



hi,

you can't really select output audio device with pygame/SDL.  It is supposed to be in SDL forever (aka SDL 1.3)... but don't hold your breath.

If you really need this... check out pyaudio... you can select different audio outputs with that:
    http://people.csail.mit.edu/hubert/pyaudio/

cu!


On Wed, May 26, 2010 at 7:26 AM, <benjamin@xxxxxxxxxxxxxx> wrote:
Greetings all,

Glad to have found this mailing group. Never new it existed! Someone at www.pyedpypers.org recommended it. Looks like a great group.

Can anyone help with this one...?!?

I have programmed a little audio mixing tool using python, WXpython (for the interface) and pygame (for audio mixing and output).

You can see it at:
www.syrinscape.com
...if you want to get an idea of how it works etc...

Some of my users have asked me to add the capability to select which audio device (sound card) to output the audio to. I see that pymedia can do this...

Can pygame do this?

I am using channels to mix together different sound effects (channel.play).

Can anyone help?

Most appreciatively in advance,

Benjamin