"""Beeps, because the console is behind Roblox when it matters.""" from __future__ import annotations try: import winsound except ImportError: # not Windows; every call below becomes a no-op winsound = None def _beep(frequency: int, milliseconds: int) -> None: if not winsound: return try: winsound.Beep(frequency, milliseconds) except Exception: pass def started() -> None: _beep(880, 60) _beep(1320, 60) def stopped() -> None: _beep(880, 60) _beep(560, 60) def tick() -> None: _beep(1500, 45) def alarm() -> None: _beep(400, 120)