MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / play_audio_stop

Function play_audio_stop

Exercise-Timer/exercise_cli.py:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 pygame.time.wait(int(start_audio.get_length() * 1000))
13
14def play_audio_stop():
15 stop_audio = pygame.mixer.Sound("beep_stop.mp3")
16 stop_audio.play()
17 pygame.time.wait(int(stop_audio.get_length() * 1000))
18
19
20@click.command()

Callers 1

exerciseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected