Desperate: Linux Sound Module

Gerrit Holl gerrit.holl at pobox.com
Fri Jan 14 07:29:31 EST 2000


Dominic Binks wrote on 947837423:
> > Hello,
> > > I'm really desperate: I can't find any module for playing sounds on > a Linux system! I already searched everywhere: google, python.org, > parnassus.  I just want to play .au or .wav, but even edna can't > *play* *play* *PLAY*
> > an mp3!
> > > I don't have solaris, I don't use Windows. Can't I play sounds?
> >
> > regards,
> > Gerrit.
> 
> There are two things that spring to mind here.
> 
> 1. Does your linux have a sound driver installed?  This used to be one of the most troublesome parts of building the Linux kernel since there seemed to be no useful documentation on what was required.

Yes.

> 2. If you do have a correctly configured sound driver for your kernel, then simply open the .au and copy it into the /dev/audio device.  You can do this as:
> 
> cat file.au > /dev/audio

No.

I have es1373, and that's not supported. You should use 'play', but
unfortunately, 'play' isn't everywhere.

> If you want to play .wav's you'll probably need to convert them to .au.  In this case you will almost certainly need sox.

Is sox guaranteed to be everywhere?

regards,
Gerrit.

-- 
Please correct any bad English you encounter in my mail!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----




More information about the Python-list mailing list