I'm assuming by ws you mean winsound?
Check the docs: https://docs.python.org/3.7/library/winsound.html
winsound.MessageBeep(type=MB_OK)
Call the underlying MessageBeep() function from the Platform API. This
plays a sound as specified in the registry. The type argument specifies which
Assuming ws is winsound, MessageBeep(-1) produces a "simple beep".
MessageBeep(1) doesn't seem to actually exist so it might fall back to
that same "simple beep". The possible values are -1, MB_ICONASTERISK,
MB_ICONEXCLAMATION, MB_ICONHAND, MB_ICONQUESTION, and MB_OK, all of
which are defined in