Play a short sound...
Gerhard Häring
gh at ghaering.de
Sat Jun 7 13:30:21 EDT 2003
Manuel wrote:
>>No, only windows platforms
>
>
> :-(
>
> It's strange...no sound libraries under linux??
Of course there are, just not in the standard library.
Wait, there's even a Linux-specific module in the standard library:
'linuxaudiodev', but it's pretty low-level. This again is Linux-specific
and won't work on other Unix-like operating systems, like FreeBSD or
NetBSD, or Solaris, ...
Of course there are many third-party modules not in the standard library
that can be used for audio output. I only ever used the one in pygame
just for fun.
Many of these work cross-platform.
Perhaps snack is what you want:
http://www.speech.kth.se/snack/
"""
[...]
Multi-platform, same scripts usable on Windows 95/98/NT/2K/XP, Linux,
Macintosh, Sun Solaris, HP-UX, FreeBSD, NetBSD, and SGI IRIX.
[...]
"""
HTH,
-- Gerhard
More information about the Python-list
mailing list