MCPcopy Create free account
hub / github.com/ICE27182/Python-3D-renderer / sound

Function sound

v1.0/example.py:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3def gunshot():
4 def sound():
5 import winsound
6 winsound.PlaySound("example\\pa.wav", winsound.SND_FILENAME)
7 shot[0] = False
8 import threading
9
10 threading.Thread(target=sound, daemon=True).start()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected