# Music lab bug help

**URL:** <https://forum.code.org/t/music-lab-bug-help/40727>\
**Category:** All Courses: Pedagogy and Best Practices\
**Created:** [May 7, 2025, 3:24pm UTC](https://forum.code.org/t/music-lab-bug-help/40727 "2025-05-07T15:24:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GordonBrune](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gordonbrune/32/4752_2.png) [@GordonBrune](https://forum.code.org/u/GordonBrune)\
**Post date:** [May 7, 2025, 3:24pm UTC](https://forum.code.org/t/music-lab-bug-help/40727/1 "2025-05-07T15:24:51Z")

</div>

A student asked a question about his music lab project. Not sure whee to post it in this forum?? Anyway, right at the 4th measure of his “intro” loop he wants to play he “main beat” code. He tries to call it in the intro loop but it plays for too long. Right now he is using the “press 4” code but he wants it to happen automatically. Any ideas??

> **[Check out what I made](https://studio.code.org/projects/music/FG1WZXAQoJjcqpWrHK7NdVxWtpwrKZ1ET8bAJouWKo8)**
>
> I wrote the code myself with Code.org
