Simple audio

P

Peter Chant

What are recommendations for simple audio playback? I want to play back on
linux (Slackware), which uses alsa. There seem to be many ways - but some
are a couple of years old and won't compile, like pymedia, or seem not
widely used and need pulseaudio (swmixer) which I have not installed. I
want to be able to play sounds from a numpy array and would like it to be
non-blocking so I can play sounds without locking out a pyQt front end.

Whats the current best way?

Pete
 
S

Simon Forman

What are recommendations for simple audio playback?  I want to play back on
linux (Slackware), which uses alsa.  There seem to be many ways - but some
are a couple of years old and won't compile, like pymedia, or seem not
widely used and need pulseaudio (swmixer) which I have not installed.  I
want to be able to play sounds from a numpy array and would like it to be
non-blocking so I can play sounds without locking out a pyQt front end.

Whats the current best way?

Someone else will probably give you better advice, but have you looked
at pygame? IIRC they have a pretty simple audio playback api.
 
P

Peter Chant

Simon said:
Someone else will probably give you better advice, but have you looked
at pygame? IIRC they have a pretty simple audio playback api.

I'm using pygame for something else. Will it work without the graphics side
being used? I suppose trying it is the best plan!

Pete
 

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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top