Making noise with Python

I am trying to get python to make noise when certain things happen. Preferably, I would like to play some kind of music, but some kind of distinctive sound would be enough, like an electronic timer. So far, I have been able to make the system sound using pywin32 Beep, however this just does not have the volume for my application.

Any ideas on how I can do this?

EDIT: I used PyAudiere for this, but unfortunately the package was left. Now I need an alternative.

+3
source share
3 answers

PyAudiere . MP3, .

0
+3

For windows, you can use the standard library winsound: http://docs.python.org/library/winsound.html

+2
source

Source: https://habr.com/ru/post/1739536/


All Articles