# How to play a sound or tone when a program ends?

**URL:** <https://discourse.julialang.org/t/how-to-play-a-sound-or-tone-when-a-program-ends/41239>\
**Category:** General Usage\
**Tags:** sound\
**Created:** [June 12, 2020, 2:39am UTC](https://discourse.julialang.org/t/how-to-play-a-sound-or-tone-when-a-program-ends/41239 "2020-06-12T02:39:48Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 12, 2020, 7:05pm UTC](https://discourse.julialang.org/t/how-to-play-a-sound-or-tone-when-a-program-ends/41239/13 "2020-06-12T19:05:34Z")

</div>

> [@anon94023334](#):
>
> println(“\007”)

Works on Windows.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-play-a-sound-or-tone-when-a-program-ends/41239)._
