[Tutor] Make sound with python? Cross platform?

Wesley Brooks wesbrooks at gmail.com
Sun Mar 9 15:29:51 CET 2008


Thanks very much. Not quite sure why I didn't find those earlier! I'll
have a look now.

Cheers,

Wesley.

On 09/03/2008, Kent Johnson <kent37 at tds.net> wrote:
> Wesley Brooks wrote:
>  > Dear Users,
>  >
>  > I've been digging around to try and find a way to make python make
>  > sound. I would either like to sound out a string of musical notes
>  > including rests or simply have something that I set the frequency and
>  > duration then sound and repeat for the number of notes.
>  >
>  > If possible I would prefer a solution that is cross platform, and
>  > standard library but would settle for Linux only solutions that can be
>  > downloaded - which preferably don't need compiling.
>
>
> pygame and pyglet+avbin both play sounds, are cross-platform and have
>  binaries available for Windows, Mac and Linux.
>
>  The "Playing and creating sound" section of this page looks promising:
>  http://wiki.python.org/moin/PythonInMusic
>
>
>  Kent
>


More information about the Tutor mailing list