Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Simple audio

Reply
Thread Tools

Simple audio

 
 
Peter Chant
Guest
Posts: n/a
 
      10-20-2009
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


--
http://www.petezilla.co.uk

 
Reply With Quote
 
 
 
 
Simon Forman
Guest
Posts: n/a
 
      10-21-2009
On Tue, Oct 20, 2009 at 4:04 PM, Peter Chant <> wrote:
> 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.
 
Reply With Quote
 
 
 
 
Peter Chant
Guest
Posts: n/a
 
      10-21-2009
Simon Forman wrote:

> 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

--
http://www.petezilla.co.uk

 
Reply With Quote
 
AK Eric
Guest
Posts: n/a
 
      10-21-2009
Yep, you can run it without any kind of GUI to my knowledge.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how mix multi-audio file to a audio file? aeonsun Java 2 03-11-2007 06:07 AM
use audio device to play recieved partial audio data sick dick Javascript 0 04-03-2006 04:47 AM
cannot playback audio strem, audio not available or hardware not responding chieyenne Computer Support 2 05-19-2005 07:01 PM
copying audio extras on dvd to audio CD? Mad Scientist Jr DVD Video 2 10-07-2004 03:17 PM
Any way to take the audio from a concert DVD to make audio files? NOT TO BE USED FOR PIRACY. Ant DVD Video 8 06-24-2004 05:52 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57