Script python to play .au (unix audio) file
#1
Big Grin 
hello,

i want to help someone to write a script that can play an .au audio file on the xbox

someone have an idea how to do that ? with an external dll or anything else

thanks you much for you help
#2
this file is encoded in ulaw 8000 khz like this one:
http://deathdigger.free.fr/message.pl.au

we have tried to read it by mplayer but it crashes (theorically the ulaw format is supported), so there is two possibilities :
- find the correct codec of mplayer
- using "audioop" python librairy to encode the file in another format compatible.
we have progressed in the second way, but the sound isn't clear enough. could anyone give us some help on how to add the right codec, because that seems to be the easiest way to play thoses files.
thanks

ps: thanks deathdigger for this little update Smile
#3
the gui cpio77 wants to help is myself...

we have a phone provider that can send us answerring machine messages for download on a website. i made the script to catch the message but xbmc just can't read it....

the file is sun format (.snd magic word)
i can translate it into .wav format which can be read by xbmc. but the translation .au --> .wav can't be done under python xbmc as the audioop lib is missing....

so i really hop someone could help us !
see ya

Logout Mark Read Team Forum Stats Members Help
Script python to play .au (unix audio) file0