Sound questions

  1. How can I play specific frequency sound (for example: 314 Hz, 4 seconds)
  2. How can I increase sound pitch (for example: by 10%)

The Panda sound interface doesn’t allow you to do this programmatically, but you can pre-generate a wav file with the appropriate pitch in it and play that wav file.

For anything else, you’ll need to use some other sound library. Perhaps pygame supports that kind of thing?


You could pre-generate one file and then generate the others: … ython.html

…if you can live with separate sound files. Beyond that, as drwr said, “some other sound library”. A quick google found: