# Looping the music

**URL:** <https://forum.kirupa.com/t/looping-the-music/3179>\
**Category:** programming\
**Created:** [February 16, 2001, 6:42am UTC](https://forum.kirupa.com/t/looping-the-music/3179 "2001-02-16T06:42:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 16, 2001, 6:42am UTC](https://forum.kirupa.com/t/looping-the-music/3179/1 "2001-02-16T06:42:46Z")

</div>

I can’t figure out what values to enter to make a loop continue indefinitely unless someone hits a “stop sound” button.  
I know that I have to add a loop to a keyframe and then assign the loop action to the frame but what do I enter in the “if” or conditions?

Help please and thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 16, 2001, 2:40pm UTC](https://forum.kirupa.com/t/looping-the-music/3179/2 "2001-02-16T14:40:58Z")

</div>

Hello,  
You can right click on the frames with the sound loop, and specify the number of loops you would like. I believe you should right click on the frequency chart on the timeline and click on the Sounds tab. From the Sound tab, simply specify the number of times you would like to have a sound file loop.

I hope that helped. If you have any further questions or comments or, please don’t hesitate to reply back or post at the [kirupa.com](http://kirupa.com) message board.

Regards,  
Kirupa Chinnathambi  
[kirupa@kirupa.com](mailto:kirupa@kirupa.com)
