[Tutor] Make sound with python? Cross platform?

Luciano Ramalho luciano at ramalho.org
Sun Mar 9 15:05:32 CET 2008


On Sun, Mar 9, 2008 at 10:57 AM, Wesley Brooks <wesbrooks at gmail.com> wrote:
>  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 [...]

Wesley, take a look at PyGame [1]. PyGame is a Python wrapper on top
of SDL [2], a multi-platform multimedia library.

[1] http://www.pygame.org/news.html
[2] http://www.libsdl.org/

Cheers,

Luciano


On Sun, Mar 9, 2008 at 10:57 AM, Wesley Brooks <wesbrooks at gmail.com> 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.
>
>  Thanks for any suggestions.
>
>  Yours Faithfully,
>
>  Wesley Brooks
>  _______________________________________________
>  Tutor maillist  -  Tutor at python.org
>  http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list