streaming audio with standard modules?

M

Marc Shapiro

I am running Python 2.3 on Linux.

I am trying to write a program to simulate a hardware mixer to play
theatrical sound cues. I need to be able to play multiple sound
channels at once, controlling volume by channel as well as globally. I
also need to be able to pan a channel through left and right speakers.
I would prefer if the sound files could be ogg, mp3, or wav, and if they
could be streamed, instead of having to load each file completely before
playing it.

I have been using pygame.mixer and pygame.mixer.music, but pygame.mixer
is not streaming, and pygame.mixer.music has only a single channel.

Is there a way to do any reasonable amount of what I am looking for with
standard modules? If not, is there a module(s) that I can download
somewhere that will do the trick?

Marc
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,069
Latest member
SimplyleanKetoReviews

Latest Threads

Top