Play a short sound...
gh at ghaering.de
Sat Jun 7 19:30:21 CEST 2003
>>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:
Multi-platform, same scripts usable on Windows 95/98/NT/2K/XP, Linux,
Macintosh, Sun Solaris, HP-UX, FreeBSD, NetBSD, and SGI IRIX.
More information about the Python-list