Digitale bierlijst

sound.py 329B

12345678910111213141516
  1. """
  2. Provides functions related to playing sounds.
  3. """
  4. import pathlib
  5. SOUND_PATH = pathlib.Path(__file__).parent / "sounds"
  6. """ Contains the absolute path to the sounds directory. """
  7. PLOP_PATH = SOUND_PATH / "plop.wav"
  8. """ Path to the "plop" sound. """
  9. UNDO_PATH = SOUND_PATH / "undo.wav"
  10. """ Path to the "undo" sound". """