# Ending a routine with finished sound file

**URL:** <https://discourse.psychopy.org/t/ending-a-routine-with-finished-sound-file/25698>\
**Category:** Builder\
**Tags:** sound\
**Created:** [October 29, 2021, 9:40am UTC](https://discourse.psychopy.org/t/ending-a-routine-with-finished-sound-file/25698 "2021-10-29T09:40:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OndrejBocek](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/ondrejbocek/32/30996_2.png) [@OndrejBocek](https://discourse.psychopy.org/u/OndrejBocek)\
**Post date:** [October 29, 2021, 9:40am UTC](https://discourse.psychopy.org/t/ending-a-routine-with-finished-sound-file/25698/1 "2021-10-29T09:40:40Z")

</div>

Hello all!

I have a routine where I present a 3secs long sound file. Once the sound file ends, I would like the routine to end and another to start. However, while videos do have the “end routine” function, that does apply to sounds. In other words, how do I force the routine to end once the sound ends?

I would very much appreciate some help ^^

Thanks! 🙂
